@opencode/core 0.0.0-dev-20334 → 0.0.0-dev-20335

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  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/{vcs-awv95mqd.js → repository-0d42ryz0.js} +5 -5
  8. package/dist/chunks/{vcs-1zqzw3br.js → repository-0d66s06f.js} +19 -19
  9. package/dist/chunks/{vcs-rhjbct0v.js → repository-0gdmqesm.js} +4 -4
  10. package/dist/chunks/{vcs-h78xxny7.js → repository-0k2n229t.js} +28 -28
  11. package/dist/chunks/{vcs-9b1cam74.js → repository-0mcex0vm.js} +26 -26
  12. package/dist/chunks/{vcs-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{vcs-z4n6550m.js → repository-0zxndn7z.js} +17 -17
  14. package/dist/chunks/{vcs-bw02v0jt.js → repository-14deg24w.js} +8 -8
  15. package/dist/chunks/{vcs-88vq6jx2.js → repository-15rs1j4r.js} +15 -15
  16. package/dist/chunks/{vcs-d5kn232k.js → repository-16vz77rp.js} +11 -11
  17. package/dist/chunks/{vcs-k7gc26zy.js → repository-177x5hfm.js} +20 -20
  18. package/dist/chunks/{vcs-ghte986y.js → repository-1bbp1d6c.js} +1 -1
  19. package/dist/chunks/{vcs-3zfdkf60.js → repository-1c5jrzvp.js} +16 -16
  20. package/dist/chunks/{vcs-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{vcs-k1gkpfdk.js → repository-1gfgk62c.js} +8 -8
  22. package/dist/chunks/{vcs-aw20npjr.js → repository-1nhg81ky.js} +17 -17
  23. package/dist/chunks/{vcs-qjbfxdfa.js → repository-1sev21en.js} +4 -4
  24. package/dist/chunks/{vcs-d4r6bf00.js → repository-1wb0x8n3.js} +8 -8
  25. package/dist/chunks/{vcs-3v65wvvj.js → repository-1wwpvd1c.js} +19 -19
  26. package/dist/chunks/{vcs-0nc7c8jg.js → repository-1xpch1h6.js} +6 -6
  27. package/dist/chunks/{vcs-21r38tys.js → repository-21r38tys.js} +1 -1
  28. package/dist/chunks/{vcs-0mm9aq32.js → repository-25kp255n.js} +13 -13
  29. package/dist/chunks/{vcs-29x78va6.js → repository-29x78va6.js} +2 -2
  30. package/dist/chunks/{vcs-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{vcs-zbjeptwf.js → repository-2hqp8s59.js} +12 -12
  32. package/dist/chunks/{vcs-dyj34840.js → repository-2jb0f4sx.js} +4 -4
  33. package/dist/chunks/{vcs-7dqw4kz8.js → repository-2k8khapm.js} +5 -5
  34. package/dist/chunks/{vcs-xsxzmn3v.js → repository-2p8k3371.js} +6 -6
  35. package/dist/chunks/{vcs-h5w29vws.js → repository-3556dn8t.js} +1 -1
  36. package/dist/chunks/{vcs-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{vcs-qy7chpjw.js → repository-3gxz2t13.js} +35 -35
  38. package/dist/chunks/{vcs-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{vcs-6fvhqekt.js → repository-3hwhnchq.js} +10 -10
  40. package/dist/chunks/{vcs-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{vcs-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{vcs-x3zqwmch.js → repository-3v0sd91a.js} +22 -22
  43. package/dist/chunks/{vcs-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{vcs-9pg9yh83.js → repository-44cd2caf.js} +26 -26
  45. package/dist/chunks/{vcs-2c6shbwg.js → repository-4652gtcq.js} +26 -26
  46. package/dist/chunks/{vcs-87972gfc.js → repository-4crnhx2x.js} +8 -8
  47. package/dist/chunks/{vcs-r1w74d6m.js → repository-4enn4tzn.js} +9 -9
  48. package/dist/chunks/{vcs-p31v0gj9.js → repository-4j4dq07s.js} +8 -8
  49. package/dist/chunks/{vcs-dh6d6547.js → repository-4j6xyef2.js} +27 -27
  50. package/dist/chunks/{vcs-kpvz85tg.js → repository-4szb5sg6.js} +9 -9
  51. package/dist/chunks/{vcs-t899d7vy.js → repository-4z2cpt3j.js} +14 -14
  52. package/dist/chunks/{vcs-5dkn69vz.js → repository-4z58m4b4.js} +4 -4
  53. package/dist/chunks/{vcs-nx8ggh41.js → repository-50d9sfsv.js} +16 -16
  54. package/dist/chunks/{vcs-54ma36ye.js → repository-54ma36ye.js} +1 -1
  55. package/dist/chunks/{vcs-1ygqh575.js → repository-56gdpj1q.js} +9 -9
  56. package/dist/chunks/{vcs-57ez7d0k.js → repository-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{vcs-97ydf025.js → repository-588n7640.js} +5 -5
  58. package/dist/chunks/{vcs-6kgc56n8.js → repository-5amwhyk8.js} +6 -6
  59. package/dist/chunks/{vcs-5daktx2q.js → repository-5daktx2q.js} +1 -1
  60. package/dist/chunks/{vcs-3feczvy4.js → repository-5hcyjm69.js} +8 -8
  61. package/dist/chunks/{vcs-t72j4zw8.js → repository-5kembwtx.js} +18 -18
  62. package/dist/chunks/{vcs-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{vcs-17j7xjjx.js → repository-5t80mpw4.js} +19 -19
  64. package/dist/chunks/{vcs-w6x651eg.js → repository-5vh6m982.js} +28 -28
  65. package/dist/chunks/{vcs-vsp1fds9.js → repository-5wtwrezn.js} +4 -4
  66. package/dist/chunks/{vcs-ptzxwrkk.js → repository-5xq3t6w1.js} +78 -78
  67. package/dist/chunks/{vcs-669tq793.js → repository-669tq793.js} +1 -1
  68. package/dist/chunks/{vcs-eb1e8gar.js → repository-6agef5e8.js} +2 -2
  69. package/dist/chunks/{vcs-csqrn7a8.js → repository-6asekhfp.js} +15 -15
  70. package/dist/chunks/{vcs-rzsaep27.js → repository-6cdq8sz3.js} +48 -48
  71. package/dist/chunks/{vcs-j0qe0af1.js → repository-6cnesaz1.js} +32 -32
  72. package/dist/chunks/{vcs-k2yzvxgs.js → repository-6g6nehze.js} +22 -22
  73. package/dist/chunks/{vcs-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{vcs-p9z8jh8h.js → repository-6qgczjnx.js} +48 -48
  75. package/dist/chunks/{vcs-9hb3wz9g.js → repository-7awdj4ds.js} +8 -8
  76. package/dist/chunks/{vcs-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{vcs-81yj1zj9.js → repository-7gdfpyqw.js} +6 -6
  78. package/dist/chunks/{vcs-jss641gn.js → repository-7mksp0wg.js} +18 -18
  79. package/dist/chunks/{vcs-ftadth4t.js → repository-7rkyr6sz.js} +12 -12
  80. package/dist/chunks/{vcs-xkhfjrgz.js → repository-7w99qc9d.js} +3 -3
  81. package/dist/chunks/{vcs-v3340t34.js → repository-7wcp0dp1.js} +9 -9
  82. package/dist/chunks/{vcs-txtbj48a.js → repository-7x182g3c.js} +13 -13
  83. package/dist/chunks/{vcs-1q5awywt.js → repository-7xyrrtj6.js} +5 -5
  84. package/dist/chunks/{vcs-73tb2d7t.js → repository-7yh4e7ss.js} +3 -3
  85. package/dist/chunks/{vcs-0gaj4617.js → repository-7yqjxrmz.js} +4 -4
  86. package/dist/chunks/{vcs-73gmm198.js → repository-806j49yq.js} +4 -4
  87. package/dist/chunks/{vcs-84txncab.js → repository-84txncab.js} +1 -1
  88. package/dist/chunks/{vcs-7yn8cp0p.js → repository-86m3yb96.js} +26 -26
  89. package/dist/chunks/{vcs-8qh6anns.js → repository-87deq66t.js} +6 -6
  90. package/dist/chunks/{vcs-0bt028bs.js → repository-8b0rfz7c.js} +1 -1
  91. package/dist/chunks/{vcs-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{vcs-zz39n6j9.js → repository-8gtajd2c.js} +29 -29
  93. package/dist/chunks/{vcs-z4zaedpe.js → repository-8hgfhrm0.js} +8 -8
  94. package/dist/chunks/{vcs-7ysams8v.js → repository-8q2kdvn6.js} +22 -22
  95. package/dist/chunks/{vcs-d858xzj7.js → repository-8tsdq50x.js} +4 -4
  96. package/dist/chunks/{vcs-jv8egdf5.js → repository-91869f37.js} +25 -25
  97. package/dist/chunks/{vcs-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
  98. package/dist/chunks/{vcs-6kb5nayr.js → repository-95w30yp9.js} +20 -20
  99. package/dist/chunks/{vcs-yth77m6w.js → repository-9cvjrp9p.js} +4 -4
  100. package/dist/chunks/{vcs-p3t4a9dj.js → repository-9y6gpmex.js} +15 -15
  101. package/dist/chunks/{vcs-8ww8exwk.js → repository-9yegeevc.js} +8 -8
  102. package/dist/chunks/{vcs-prq7hedt.js → repository-a3ftg8j6.js} +9 -9
  103. package/dist/chunks/{vcs-aaet6srn.js → repository-aaet6srn.js} +2 -2
  104. package/dist/chunks/{vcs-fmqw8cxe.js → repository-adpk0erv.js} +67 -67
  105. package/dist/chunks/{vcs-e30mydyk.js → repository-ah7atdab.js} +12 -12
  106. package/dist/chunks/{vcs-xsgxn7h5.js → repository-ah8v3g6t.js} +11 -11
  107. package/dist/chunks/{vcs-qjbnh5k0.js → repository-amrnnyta.js} +10 -10
  108. package/dist/chunks/{vcs-z5y17b97.js → repository-an4zz5am.js} +13 -13
  109. package/dist/chunks/{vcs-g6fwv5kp.js → repository-aqryd466.js} +22 -22
  110. package/dist/chunks/{vcs-26kt6rhw.js → repository-arn5xykm.js} +2 -2
  111. package/dist/chunks/repository-b02qhphd.js +252 -0
  112. package/dist/chunks/{vcs-xvp1j2dc.js → repository-b4p19tx4.js} +5 -5
  113. package/dist/chunks/{vcs-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{vcs-r1htaf9c.js → repository-b78x4hqs.js} +3 -3
  115. package/dist/chunks/{vcs-ha0kh7py.js → repository-bfm303mw.js} +4 -4
  116. package/dist/chunks/{vcs-90kmczhd.js → repository-bjcxr48j.js} +26 -26
  117. package/dist/chunks/{vcs-vpfzym8t.js → repository-bjpa3xan.js} +17 -17
  118. package/dist/chunks/{vcs-ee4t0ep0.js → repository-bkgqdper.js} +26 -26
  119. package/dist/chunks/{vcs-dz14cmaq.js → repository-bnhgcfss.js} +15 -15
  120. package/dist/chunks/{vcs-c3pz5err.js → repository-bnzngw4e.js} +39 -39
  121. package/dist/chunks/{vcs-xqhx4jgm.js → repository-bwnx15mf.js} +40 -40
  122. package/dist/chunks/{vcs-cwa6csj7.js → repository-c765mh8b.js} +9 -9
  123. package/dist/chunks/{vcs-59xx2ca3.js → repository-c91ayza2.js} +24 -24
  124. package/dist/chunks/{vcs-gn7xagw0.js → repository-ccmf13nx.js} +15 -15
  125. package/dist/chunks/{vcs-dg3h7qmn.js → repository-ccqvcrpm.js} +18 -18
  126. package/dist/chunks/{vcs-54tcyq79.js → repository-ckecvw8r.js} +2 -2
  127. package/dist/chunks/{vcs-ak879dmn.js → repository-cp1npnye.js} +27 -27
  128. package/dist/chunks/{vcs-v481zamz.js → repository-cp7v009q.js} +3 -3
  129. package/dist/chunks/{vcs-rh9mbwcq.js → repository-cw8972wq.js} +13 -13
  130. package/dist/chunks/{vcs-rr5jes33.js → repository-d3bs9tdw.js} +7 -7
  131. package/dist/chunks/{vcs-3w1s0g20.js → repository-dkbdvgew.js} +5 -5
  132. package/dist/chunks/{vcs-dnxkq42g.js → repository-dnxkq42g.js} +1 -1
  133. package/dist/chunks/{vcs-d87ppnb3.js → repository-dqmwfghx.js} +5 -5
  134. package/dist/chunks/{vcs-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
  135. package/dist/chunks/{vcs-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{vcs-zxv822en.js → repository-eft2fq7z.js} +33 -33
  137. package/dist/chunks/{vcs-qzv3kn2w.js → repository-efz4qfm7.js} +9 -9
  138. package/dist/chunks/{vcs-s2hz1kr4.js → repository-eg45xm7b.js} +12 -12
  139. package/dist/chunks/{vcs-vm7w724s.js → repository-ehmk2s93.js} +10 -10
  140. package/dist/chunks/{vcs-mn7havxm.js → repository-ej670j8y.js} +7 -7
  141. package/dist/chunks/{vcs-06x8he3q.js → repository-embw8kgh.js} +4 -4
  142. package/dist/chunks/{vcs-5k130xag.js → repository-enhmk9nd.js} +310 -310
  143. package/dist/chunks/{vcs-sew39fqd.js → repository-epd18y3s.js} +6 -6
  144. package/dist/chunks/{vcs-j3db3ybt.js → repository-epnzmdpm.js} +3 -3
  145. package/dist/chunks/{vcs-v7z2bvyd.js → repository-espax8zg.js} +4 -4
  146. package/dist/chunks/{vcs-z0s2kx6j.js → repository-esvq6ems.js} +1 -1
  147. package/dist/chunks/{vcs-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{vcs-ywd0xnxg.js → repository-f136476x.js} +12 -12
  149. package/dist/chunks/{vcs-zp64n39g.js → repository-f19qfh98.js} +7 -7
  150. package/dist/chunks/{vcs-v501w5tf.js → repository-f6hq4jm4.js} +43 -43
  151. package/dist/chunks/{vcs-yqqw0v8e.js → repository-fdkzaggf.js} +16 -16
  152. package/dist/chunks/{vcs-sb7d9p7d.js → repository-fp6c7zsr.js} +18 -18
  153. package/dist/chunks/{vcs-bjaap57j.js → repository-frwzdz0p.js} +2 -2
  154. package/dist/chunks/{vcs-2336b01z.js → repository-gc135ar8.js} +8 -8
  155. package/dist/chunks/{vcs-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{vcs-v9g4r50y.js → repository-ge62tnff.js} +14 -14
  157. package/dist/chunks/{vcs-09ymrm59.js → repository-gjcmh5na.js} +28 -28
  158. package/dist/chunks/{vcs-gfaekswr.js → repository-gmq1kaeg.js} +15 -15
  159. package/dist/chunks/{vcs-yd58c7k2.js → repository-grmhakfb.js} +34 -34
  160. package/dist/chunks/{vcs-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{vcs-6dpb430c.js → repository-gwzjmqr0.js} +3 -3
  162. package/dist/chunks/{vcs-fjvydvzm.js → repository-gzbkpp9m.js} +4 -4
  163. package/dist/chunks/{vcs-c602bgff.js → repository-h6qw6arq.js} +17 -17
  164. package/dist/chunks/{vcs-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{vcs-qte5z7bc.js → repository-hcz3zddy.js} +5 -5
  166. package/dist/chunks/{vcs-tfq99j1t.js → repository-hfdq9xfh.js} +41 -41
  167. package/dist/chunks/{vcs-vswsk95g.js → repository-hm1b0gbb.js} +22 -22
  168. package/dist/chunks/{vcs-0xjjk5b6.js → repository-hstvm2rm.js} +21 -21
  169. package/dist/chunks/{vcs-j56e64zr.js → repository-j56e64zr.js} +1 -1
  170. package/dist/chunks/{vcs-888bdhzw.js → repository-j77nvagq.js} +20 -20
  171. package/dist/chunks/{vcs-np2nb0tx.js → repository-jevn6b1b.js} +20 -20
  172. package/dist/chunks/{vcs-5yz86fj5.js → repository-jfz7kgha.js} +10 -10
  173. package/dist/chunks/{vcs-fykmemb9.js → repository-jkzkeyzq.js} +3 -3
  174. package/dist/chunks/{vcs-ykvd5j0p.js → repository-jpa7cehe.js} +14 -14
  175. package/dist/chunks/repository-jqh9b0xq.js +18 -0
  176. package/dist/chunks/{vcs-9vsjd1qn.js → repository-jrpxshtx.js} +30 -30
  177. package/dist/chunks/{vcs-7jekz0sf.js → repository-jrvxvghc.js} +15 -15
  178. package/dist/chunks/{vcs-a5qbg7vh.js → repository-k2mvq2xf.js} +3 -3
  179. package/dist/chunks/{vcs-nzks3jc8.js → repository-k3c624dm.js} +3 -3
  180. package/dist/chunks/{vcs-p50j01q6.js → repository-k8ard8cz.js} +83 -83
  181. package/dist/chunks/{vcs-bqq1gwvm.js → repository-kbrbwa51.js} +1 -1
  182. package/dist/chunks/{vcs-beagn649.js → repository-kgf2e1tk.js} +6 -6
  183. package/dist/chunks/{vcs-3faa98at.js → repository-kye418mf.js} +8 -8
  184. package/dist/chunks/{vcs-9m0b2epc.js → repository-kz2hxhwe.js} +23 -23
  185. package/dist/chunks/{vcs-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{vcs-jdrazh6s.js → repository-m7153hwt.js} +30 -30
  187. package/dist/chunks/{vcs-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{vcs-8zgg7vh0.js → repository-mj08mqq8.js} +7 -7
  189. package/dist/chunks/{vcs-qfybyazx.js → repository-msvxw073.js} +33 -33
  190. package/dist/chunks/{vcs-k1qrnqst.js → repository-mxr1v1s0.js} +8 -8
  191. package/dist/chunks/{vcs-73p1106n.js → repository-my042x6s.js} +24 -24
  192. package/dist/chunks/{vcs-xakhm4tn.js → repository-mzrbxmyd.js} +11 -11
  193. package/dist/chunks/{vcs-9g87yrc5.js → repository-n0snsaj8.js} +11 -11
  194. package/dist/chunks/{vcs-1smgh9n6.js → repository-n1p8stbd.js} +11 -11
  195. package/dist/chunks/{vcs-9ty0dtba.js → repository-n26pg8f3.js} +12 -12
  196. package/dist/chunks/{vcs-4mpncgky.js → repository-n9kzwy15.js} +8 -8
  197. package/dist/chunks/{vcs-mc33kzj8.js → repository-ng5pw36k.js} +8 -8
  198. package/dist/chunks/{vcs-yfrfdky7.js → repository-njp7nbsm.js} +11 -11
  199. package/dist/chunks/{vcs-g2yz86wh.js → repository-nng2ktcm.js} +2 -2
  200. package/dist/chunks/{vcs-yr6kv76e.js → repository-npkye8kr.js} +129 -129
  201. package/dist/chunks/{vcs-pnv527nz.js → repository-nq7qbqzc.js} +9 -9
  202. package/dist/chunks/{vcs-ey1pw6q6.js → repository-nrsb7t6v.js} +32 -32
  203. package/dist/chunks/{vcs-8w7wh2t6.js → repository-nsdxmg59.js} +39 -39
  204. package/dist/chunks/{vcs-mtft99cd.js → repository-nxhqveyz.js} +5 -5
  205. package/dist/chunks/{vcs-0m1283ft.js → repository-p3t27j1r.js} +15 -15
  206. package/dist/chunks/{vcs-p37cw4rj.js → repository-p42hj8p8.js} +8 -8
  207. package/dist/chunks/{vcs-h40sfsrg.js → repository-p540ebbs.js} +18 -18
  208. package/dist/chunks/{vcs-rbzcmxc9.js → repository-ph4v5nv3.js} +10 -10
  209. package/dist/chunks/{vcs-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{vcs-pknna89w.js → repository-pknna89w.js} +1 -1
  211. package/dist/chunks/{vcs-7fkffz83.js → repository-py3kkmfq.js} +4 -4
  212. package/dist/chunks/{vcs-9bksq1g1.js → repository-qesg53n6.js} +20 -20
  213. package/dist/chunks/{vcs-1x3v6h42.js → repository-qnqdsnqy.js} +16 -16
  214. package/dist/chunks/{vcs-maxnyjw6.js → repository-qpedwap1.js} +20 -20
  215. package/dist/chunks/{vcs-qsdy395h.js → repository-qsdy395h.js} +1 -1
  216. package/dist/chunks/{vcs-6gj5awe5.js → repository-qx2z80z2.js} +6 -6
  217. package/dist/chunks/{vcs-pyajmvxg.js → repository-qy7g33vm.js} +5 -5
  218. package/dist/chunks/{vcs-3j8sdtpz.js → repository-r98e92ep.js} +4 -4
  219. package/dist/chunks/{vcs-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{vcs-d8x1pm9j.js → repository-rgzws67g.js} +19 -19
  221. package/dist/chunks/{vcs-wjq7t41n.js → repository-rr68r3wr.js} +2 -2
  222. package/dist/chunks/{vcs-prs5dgzg.js → repository-rscpm148.js} +7 -7
  223. package/dist/chunks/{vcs-crpnb3tq.js → repository-s0wrr388.js} +5 -5
  224. package/dist/chunks/{vcs-62t14kdm.js → repository-s3525we2.js} +11 -11
  225. package/dist/chunks/{vcs-s4enseaf.js → repository-s4enseaf.js} +2 -2
  226. package/dist/chunks/{vcs-8z2rcb83.js → repository-s7ftbfps.js} +6 -6
  227. package/dist/chunks/{vcs-4jqr2b2y.js → repository-s7ts0s5b.js} +32 -32
  228. package/dist/chunks/{vcs-nd82pmrw.js → repository-smb3a1vy.js} +13 -13
  229. package/dist/chunks/{vcs-wmnjdatz.js → repository-spzctr33.js} +30 -30
  230. package/dist/chunks/{vcs-g437nraw.js → repository-sr1f61nh.js} +23 -23
  231. package/dist/chunks/{vcs-yz3fv4p6.js → repository-ss8nxy6a.js} +35 -35
  232. package/dist/chunks/{vcs-x4d5q8t7.js → repository-swxh916n.js} +9 -9
  233. package/dist/chunks/{vcs-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{vcs-d8cw0a7r.js → repository-tazp3vs0.js} +4 -4
  235. package/dist/chunks/{vcs-vqfzq50h.js → repository-tcay1cqt.js} +6 -6
  236. package/dist/chunks/{vcs-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{vcs-jnxkj5z7.js → repository-td8xq64f.js} +26 -26
  238. package/dist/chunks/{vcs-tdstcens.js → repository-tdstcens.js} +1 -1
  239. package/dist/chunks/{vcs-1j2jwavt.js → repository-tft3ktne.js} +10 -10
  240. package/dist/chunks/{vcs-nm2ve9qd.js → repository-tjp7nbbc.js} +1 -1
  241. package/dist/chunks/{vcs-zxfxywrx.js → repository-tjtpwfd8.js} +11 -11
  242. package/dist/chunks/{vcs-nmjwjdz3.js → repository-tvqfpfee.js} +6 -6
  243. package/dist/chunks/{vcs-tvtrv512.js → repository-tvtrv512.js} +1 -1
  244. package/dist/chunks/{vcs-4wwqnvbr.js → repository-tx92n959.js} +4 -4
  245. package/dist/chunks/{vcs-xsfmm66d.js → repository-tygebkv4.js} +20 -20
  246. package/dist/chunks/{vcs-byk2kb5w.js → repository-v72s44yw.js} +11 -11
  247. package/dist/chunks/{vcs-5csd2dzg.js → repository-vctgtqyk.js} +8 -8
  248. package/dist/chunks/{vcs-veqvce7d.js → repository-veqvce7d.js} +1 -1
  249. package/dist/chunks/{vcs-zta4ze2y.js → repository-vmzvv6jk.js} +11 -11
  250. package/dist/chunks/{vcs-607q5haz.js → repository-vy4zg7qh.js} +5 -5
  251. package/dist/chunks/{vcs-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{vcs-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{vcs-vpa4aasm.js → repository-w01ghv19.js} +14 -14
  254. package/dist/chunks/{vcs-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{vcs-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
  256. package/dist/chunks/{vcs-wd87259q.js → repository-wd87259q.js} +1 -1
  257. package/dist/chunks/{vcs-ppjhm20f.js → repository-wfnh7d6s.js} +11 -11
  258. package/dist/chunks/{vcs-mqsshzbw.js → repository-wpy48h4a.js} +8 -8
  259. package/dist/chunks/{vcs-p4crwqdd.js → repository-wr7z7pm1.js} +12 -12
  260. package/dist/chunks/{vcs-hwg0j3cs.js → repository-wwwg9xe9.js} +13 -13
  261. package/dist/chunks/{vcs-w8br9f4a.js → repository-wzwyn12v.js} +8 -8
  262. package/dist/chunks/{vcs-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{vcs-skcqx5gn.js → repository-x3drdvdf.js} +6 -6
  264. package/dist/chunks/{vcs-r51ay0vc.js → repository-x5sf7ath.js} +1 -1
  265. package/dist/chunks/{vcs-w1g80d9f.js → repository-xew1cczc.js} +21 -21
  266. package/dist/chunks/{vcs-qqeeq2t9.js → repository-xfkkasph.js} +7 -7
  267. package/dist/chunks/{vcs-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{vcs-a7kgcqrw.js → repository-xs9p6a56.js} +5 -5
  269. package/dist/chunks/repository-xxzmwayv.js +26 -0
  270. package/dist/chunks/{vcs-82y02698.js → repository-y0arntg5.js} +7 -7
  271. package/dist/chunks/{vcs-q0raz0xt.js → repository-y16p1w2y.js} +9 -9
  272. package/dist/chunks/{vcs-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{vcs-dpkg50ah.js → repository-y71avatq.js} +4 -4
  274. package/dist/chunks/{vcs-zr5gmss4.js → repository-yarqv08n.js} +3 -3
  275. package/dist/chunks/{vcs-gweyv2dv.js → repository-ymz6mr5d.js} +33 -33
  276. package/dist/chunks/{vcs-3kr4fhtq.js → repository-ynaczmmt.js} +16 -16
  277. package/dist/chunks/{vcs-f2n192rq.js → repository-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{vcs-wbxssg5z.js → repository-yqs7fwh1.js} +6 -6
  279. package/dist/chunks/{vcs-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{vcs-c83erg16.js → repository-ytsv5nsm.js} +26 -26
  281. package/dist/chunks/{vcs-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
  282. package/dist/chunks/{vcs-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{vcs-x1kk24fb.js → repository-z21br254.js} +11 -11
  284. package/dist/chunks/{vcs-dr3mn59c.js → repository-zbttfwdc.js} +6 -6
  285. package/dist/chunks/{vcs-w1q4avx6.js → repository-zcxn7avd.js} +15 -15
  286. package/dist/chunks/{vcs-wvgd2jmw.js → repository-zd30eb5w.js} +5 -5
  287. package/dist/chunks/{vcs-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{vcs-v7qqwbza.js → repository-zjddxd3j.js} +12 -12
  289. package/dist/chunks/{vcs-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{vcs-91p1v22t.js → repository-zvjhkatg.js} +4 -4
  291. package/dist/chunks/{vcs-30p433p7.js → repository-zx9zy5mt.js} +19 -19
  292. package/dist/chunks/{vcs-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +77 -77
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +370 -370
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +91 -91
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +91 -91
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +97 -97
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +72 -72
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +99 -99
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +81 -81
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +130 -130
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +84 -84
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +103 -103
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +96 -96
  483. package/dist/model.js +90 -90
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +105 -105
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +80 -80
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +93 -93
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +93 -93
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +129 -129
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +3 -3
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +215 -215
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +219 -219
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +136 -136
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +212 -212
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +3 -3
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/vcs-0hjz4wff.js +0 -26
  701. package/dist/chunks/vcs-4v7qdvcn.js +0 -18
  702. package/dist/chunks/vcs-cjfqmng4.js +0 -252
  703. /package/dist/chunks/{vcs-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{vcs-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{vcs-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{vcs-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{vcs-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{vcs-24dcb14g.js → repository-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{vcs-2710q6r3.js → repository-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{vcs-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{vcs-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{vcs-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{vcs-359p4xyc.js → repository-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{vcs-3asan66x.js → repository-3asan66x.js} +0 -0
  715. /package/dist/chunks/{vcs-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{vcs-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{vcs-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{vcs-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{vcs-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{vcs-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{vcs-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{vcs-53557ph1.js → repository-53557ph1.js} +0 -0
  723. /package/dist/chunks/{vcs-550bvhaj.js → repository-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{vcs-6prwharc.js → repository-6prwharc.js} +0 -0
  725. /package/dist/chunks/{vcs-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{vcs-7m9af43g.js → repository-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{vcs-822emrt2.js → repository-822emrt2.js} +0 -0
  728. /package/dist/chunks/{vcs-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{vcs-8n3pysct.js → repository-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{vcs-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{vcs-922hggd3.js → repository-922hggd3.js} +0 -0
  732. /package/dist/chunks/{vcs-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{vcs-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{vcs-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{vcs-af5trqkr.js → repository-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{vcs-afrmfg78.js → repository-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{vcs-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{vcs-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{vcs-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{vcs-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{vcs-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{vcs-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{vcs-d9fn303g.js → repository-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{vcs-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{vcs-dajrwvna.js → repository-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{vcs-dap0rakb.js → repository-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{vcs-df08tz66.js → repository-df08tz66.js} +0 -0
  748. /package/dist/chunks/{vcs-dy18nga0.js → repository-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{vcs-e3qxr5gk.js → repository-e3qxr5gk.js} +0 -0
  750. /package/dist/chunks/{vcs-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{vcs-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{vcs-ec1grn59.js → repository-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{vcs-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{vcs-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{vcs-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{vcs-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{vcs-faypxj3z.js → repository-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{vcs-fd410y7t.js → repository-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{vcs-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{vcs-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{vcs-g86h250q.js → repository-g86h250q.js} +0 -0
  762. /package/dist/chunks/{vcs-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{vcs-gftt206x.js → repository-gftt206x.js} +0 -0
  764. /package/dist/chunks/{vcs-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{vcs-hk9envan.js → repository-hk9envan.js} +0 -0
  766. /package/dist/chunks/{vcs-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{vcs-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{vcs-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{vcs-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{vcs-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{vcs-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{vcs-mp448xyj.js → repository-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{vcs-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{vcs-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{vcs-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{vcs-njntx4h6.js → repository-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{vcs-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{vcs-q74kybfr.js → repository-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{vcs-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{vcs-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{vcs-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{vcs-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{vcs-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{vcs-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{vcs-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{vcs-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{vcs-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{vcs-w803qqfp.js → repository-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{vcs-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{vcs-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{vcs-wtztk69x.js → repository-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{vcs-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{vcs-x61499pn.js → repository-x61499pn.js} +0 -0
  794. /package/dist/chunks/{vcs-y44na4kk.js → repository-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{vcs-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{vcs-y8f7s663.js → repository-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{vcs-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{vcs-ym463w8f.js → repository-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{vcs-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./vcs-607q5haz.js";
7
+ } from "./repository-vy4zg7qh.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./vcs-84txncab.js";
13
+ } from "./repository-84txncab.js";
14
14
  import {
15
- Service72,
16
- node76
17
- } from "./vcs-qjbnh5k0.js";
15
+ Service80,
16
+ node84
17
+ } from "./repository-amrnnyta.js";
18
18
  import {
19
19
  __export
20
- } from "./vcs-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service36,
33
+ Service: () => Service60,
34
34
  isError: () => isError2,
35
- node: () => node39,
35
+ node: () => node62,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service36 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service60 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service36, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service72;
110
- return Service36.of({
109
+ const kv = yield* Service80;
110
+ return Service60.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node39 = makeGlobalNode({
171
- service: Service36,
170
+ var node62 = makeGlobalNode({
171
+ service: Service60,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node76]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node84]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service36, isError2, validateBranch2, node39, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service60, isError2, validateBranch2, node62, exports_repository_cache };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./vcs-ha0kh7py.js";
4
+ } from "./repository-bfm303mw.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./vcs-84txncab.js";
11
+ } from "./repository-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./vcs-922hggd3.js";
14
+ } from "./repository-922hggd3.js";
15
15
  import {
16
- Service36,
17
- node39
18
- } from "./vcs-vpfzym8t.js";
16
+ Service60,
17
+ node62
18
+ } from "./repository-bjpa3xan.js";
19
19
  import {
20
20
  create3
21
- } from "./vcs-rdw6cm16.js";
21
+ } from "./repository-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./vcs-9rqn6x4v.js";
24
+ } from "./repository-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event6,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info5,
31
+ Info: () => Info7,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service35,
35
- Source: () => Source4,
36
- node: () => node38
34
+ Service: () => Service42,
35
+ Source: () => Source3,
36
+ node: () => node45
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event6 } from "@opencode/schema/reference";
42
+ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source4 = Reference.Source;
46
- var Info5 = Reference.Info;
45
+ var Source3 = Reference.Source;
46
+ var Info7 = Reference.Info;
47
47
 
48
- class Service35 extends Context.Service()("@opencode/Reference") {
48
+ class Service42 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service35, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service83;
53
- const cache = yield* Service36;
53
+ const cache = yield* Service60;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info5.make({ ...info, path: source.path })];
63
+ return [Info7.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info5.make({
75
+ Info7.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service35.of({
107
+ return Service42.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node38 = makeLocationNode({
116
- service: Service35,
115
+ var node45 = makeLocationNode({
116
+ service: Service42,
117
117
  layer,
118
- deps: [Global.node, node87, node39]
118
+ deps: [Global.node, node87, node62]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info5, Service35, node38, exports_reference2, Event6 };
121
+ export { LocalSource2, GitSource2, Source3, Info7, Service42, node45, exports_reference2, Event7 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./vcs-ha0kh7py.js";
4
+ } from "./repository-bfm303mw.js";
5
5
  import {
6
6
  create3
7
- } from "./vcs-rdw6cm16.js";
7
+ } from "./repository-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent3 = {};
@@ -15,12 +15,12 @@ __export(exports_agent3, {
15
15
  Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
17
  Event: () => Event11,
18
- ID: () => ID8,
19
- Info: () => Info11,
18
+ ID: () => ID9,
19
+ Info: () => Info13,
20
20
  Name: () => Name3,
21
21
  Service: () => Service59,
22
22
  defaultID: () => defaultID2,
23
- node: () => node62
23
+ node: () => node61
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
30
30
  import { Event as Event11 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID8 = Agent.ID;
33
+ var ID9 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID8.make("build");
35
+ var defaultID2 = ID9.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info11 = Agent.Info;
37
+ var Info13 = Agent.Info;
38
38
 
39
39
  class Service59 extends Context.Service()("@opencode/Agent") {
40
40
  }
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info11.default(id);
60
+ const defaults = Info13.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID8.make("build")));
82
+ const build = selectable(data.agents.get(ID9.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID8.make(id));
99
+ return state.get().agents.get(ID9.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID8.make(id);
104
+ const selected = ID9.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node62 = makeLocationNode({ service: Service59, layer, deps: [node87, Global.node] });
119
+ var node61 = makeLocationNode({ service: Service59, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID8, Name3, defaultID2, Color2, Info11, Service59, node62, exports_agent3, Event11 };
121
+ export { ID9, Name3, defaultID2, Color2, Info13, Service59, node61, exports_agent3, Event11 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID8,
2
+ ID9,
3
3
  Service59
4
- } from "./vcs-dz14cmaq.js";
4
+ } from "./repository-bnhgcfss.js";
5
5
  import {
6
6
  Ref2,
7
7
  Service74
8
- } from "./vcs-s2hz1kr4.js";
8
+ } from "./repository-eg45xm7b.js";
9
9
  import {
10
10
  latest2,
11
- Service69
12
- } from "./vcs-8w7wh2t6.js";
11
+ Service68
12
+ } from "./repository-nsdxmg59.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./vcs-xkhfjrgz.js";
15
+ } from "./repository-7w99qc9d.js";
16
16
  import {
17
- Service43
18
- } from "./vcs-c602bgff.js";
17
+ Service62
18
+ } from "./repository-h6qw6arq.js";
19
19
  import {
20
20
  evaluate2,
21
21
  Service56
22
- } from "./vcs-xqhx4jgm.js";
22
+ } from "./repository-bwnx15mf.js";
23
23
  import {
24
- Service21
25
- } from "./vcs-p50j01q6.js";
24
+ Service29
25
+ } from "./repository-k8ard8cz.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./vcs-x1ezjp6w.js";
28
+ } from "./repository-x1ezjp6w.js";
29
29
  import {
30
- make9
31
- } from "./vcs-ppjhm20f.js";
30
+ make5
31
+ } from "./repository-wfnh7d6s.js";
32
32
  import {
33
33
  __export
34
- } from "./vcs-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input6,
40
- Output: () => Output5,
41
- Plugin: () => Plugin24,
39
+ Input: () => Input9,
40
+ Output: () => Output7,
41
+ Plugin: () => Plugin9,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description3,
44
- name: () => name6
43
+ description: () => description5,
44
+ name: () => name9
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name6 = "subagent";
48
+ var name9 = "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 Input6 = Schema.Struct({
59
+ var Input9 = 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 Input6 = 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 Output5 = 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 description3 = [
80
+ var description5 = [
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 description3 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin24 = {
89
+ var Plugin9 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service21;
93
- const jobs = yield* Service43;
92
+ const sessions = yield* Service29;
93
+ const jobs = yield* Service62;
94
94
  const agents = yield* Service59;
95
- const config = yield* Service69;
95
+ const config = yield* Service68;
96
96
  const permission = yield* Service56;
97
97
  const models = yield* Service74;
98
- const subagents = yield* make9;
98
+ const subagents = yield* make5;
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 Plugin24 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name6,
118
+ name: name9,
119
119
  options: { codemode: false },
120
- description: description3,
121
- input: Input6,
122
- output: Output5,
120
+ description: description5,
121
+ input: Input9,
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 Plugin24 = {
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: name6,
142
+ action: name9,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin24 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID8.make(input.agent),
171
+ agent: ID9.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 !== name6 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name9 || !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[name6];
233
+ const tool = event.tools[name9];
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(name6, 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(name9, 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 { name6, Input6, Output5, description3, Plugin24, exports_subagent };
256
+ export { name9, Input9, Output7, description5, Plugin9, exports_subagent };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./vcs-ha0kh7py.js";
4
+ } from "./repository-bfm303mw.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./vcs-v7qqwbza.js";
6
+ Service78,
7
+ node82
8
+ } from "./repository-zjddxd3j.js";
9
9
  import {
10
- ID8,
10
+ ID9,
11
11
  Service59,
12
- node62
13
- } from "./vcs-dz14cmaq.js";
12
+ node61
13
+ } from "./repository-bnhgcfss.js";
14
14
  import {
15
- NotFoundError7
16
- } from "./vcs-skcqx5gn.js";
15
+ NotFoundError8
16
+ } from "./repository-x3drdvdf.js";
17
17
  import {
18
- Service58,
19
- node61
20
- } from "./vcs-ykvd5j0p.js";
18
+ Service57,
19
+ node59
20
+ } from "./repository-jpa7cehe.js";
21
21
  import {
22
22
  match2
23
- } from "./vcs-y1fvbwt7.js";
23
+ } from "./repository-y1fvbwt7.js";
24
24
  import {
25
- Service57,
25
+ Service58,
26
26
  node60
27
- } from "./vcs-1x3v6h42.js";
27
+ } from "./repository-qnqdsnqy.js";
28
28
  import {
29
- Service68,
30
- node72
31
- } from "./vcs-k1gkpfdk.js";
29
+ Service67,
30
+ node69
31
+ } from "./repository-1gfgk62c.js";
32
32
  import {
33
33
  __export
34
- } from "./vcs-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission = {};
@@ -43,8 +43,8 @@ __export(exports_permission, {
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
45
  Event: () => Event10,
46
- ID: () => ID6,
47
- NotFoundError: () => NotFoundError6,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError7,
48
48
  Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
@@ -55,7 +55,7 @@ __export(exports_permission, {
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node59
58
+ node: () => node58
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
@@ -64,7 +64,7 @@ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission"
64
64
  import { Event as Event10 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID6 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID6.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID8.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID6,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID6,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID6
113
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -129,11 +129,11 @@ class Service56 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
130
  var layer = Layer.effect(Service56, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service80;
132
+ const location = yield* Service78;
133
133
  const agents = yield* Service59;
134
- const sessions = yield* Service58;
135
- const saved = yield* Service57;
136
- const hooks = yield* Service68;
134
+ const sessions = yield* Service57;
135
+ const saved = yield* Service58;
136
+ const hooks = yield* Service67;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError7({ sessionID });
159
+ return yield* new NotFoundError8({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID6.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID6.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError6({ requestID: input.requestID });
245
+ return yield* new NotFoundError7({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -299,10 +299,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
299
299
  });
300
300
  return Service56.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node59 = makeLocationNode({
302
+ var node58 = makeLocationNode({
303
303
  service: Service56,
304
304
  layer,
305
- deps: [node87, node84, node62, node61, node60, node72]
305
+ deps: [node87, node82, node61, node59, node60, node69]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service56, node59, exports_permission, Rule2, Ruleset2, Event10 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service56, node58, exports_permission, Rule2, Ruleset2, Event10 };