@opencode/core 0.0.0-dev-549 → 0.0.0-dev-552

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 (926) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +238 -238
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{location-hn64gcjm.js → tool-output-01b0j58p.js} +21 -21
  9. package/dist/chunks/{location-29wct24j.js → tool-output-05havjry.js} +59 -59
  10. package/dist/chunks/{location-yjkezv03.js → tool-output-08fyh1z2.js} +4 -4
  11. package/dist/chunks/{location-9wafm76a.js → tool-output-09e75zjw.js} +10 -10
  12. package/dist/chunks/{location-vek77fn1.js → tool-output-0c7bpw4e.js} +4 -4
  13. package/dist/chunks/{location-sqjzf8x2.js → tool-output-0j7gp832.js} +4 -4
  14. package/dist/chunks/{location-0ma9gw4f.js → tool-output-0ma9gw4f.js} +2 -2
  15. package/dist/chunks/{location-0mgprbja.js → tool-output-0mgprbja.js} +4 -4
  16. package/dist/chunks/{location-1aqsckx4.js → tool-output-1aqsckx4.js} +1 -1
  17. package/dist/chunks/{location-1p1ex4nm.js → tool-output-1qr1y771.js} +32 -32
  18. package/dist/chunks/{location-zs6zb2d6.js → tool-output-1sfa5jwh.js} +11 -11
  19. package/dist/chunks/{location-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{location-yts2a8qm.js → tool-output-1x7bzasz.js} +4 -4
  21. package/dist/chunks/{location-f35f93zp.js → tool-output-1yq9hg58.js} +5 -5
  22. package/dist/chunks/{location-v2bkhstg.js → tool-output-1zh2cyjj.js} +5 -5
  23. package/dist/chunks/{location-xqgj3cf1.js → tool-output-227cq8f8.js} +31 -31
  24. package/dist/chunks/{location-qwxddvhv.js → tool-output-2397d0qs.js} +37 -37
  25. package/dist/chunks/{location-24k5xjpd.js → tool-output-25txcz08.js} +18 -18
  26. package/dist/chunks/{location-27w5k9zf.js → tool-output-27w5k9zf.js} +2 -2
  27. package/dist/chunks/{location-672s6p6h.js → tool-output-297c7bxc.js} +6 -6
  28. package/dist/chunks/{location-mqe7nf5n.js → tool-output-2cdjxzfg.js} +3 -3
  29. package/dist/chunks/{location-26k5zxwd.js → tool-output-2ertqy85.js} +37 -37
  30. package/dist/chunks/{location-1bcn4m06.js → tool-output-2hjzj56h.js} +36 -36
  31. package/dist/chunks/{location-ztf6n3de.js → tool-output-2m2g9ynh.js} +4 -4
  32. package/dist/chunks/{location-2p60zmnr.js → tool-output-2p60zmnr.js} +2 -2
  33. package/dist/chunks/{location-pd7x5rvr.js → tool-output-2ydcfzqs.js} +26 -26
  34. package/dist/chunks/{location-22awn32v.js → tool-output-2z8avw8y.js} +13 -13
  35. package/dist/chunks/{location-qfdvj3xm.js → tool-output-31avdb49.js} +11 -11
  36. package/dist/chunks/{location-dkyhnhrn.js → tool-output-33ex1g0t.js} +4 -4
  37. package/dist/chunks/{location-1xrr95rh.js → tool-output-356qfvw9.js} +16 -16
  38. package/dist/chunks/{location-mys1h67c.js → tool-output-39vz30en.js} +11 -11
  39. package/dist/chunks/{location-3cbjf1nt.js → tool-output-3cbjf1nt.js} +2 -2
  40. package/dist/chunks/{location-m0wf7vk9.js → tool-output-3fsd14xc.js} +6 -6
  41. package/dist/chunks/{location-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{location-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
  43. package/dist/chunks/{location-86bhhzhr.js → tool-output-3nw1k2zv.js} +6 -6
  44. package/dist/chunks/{location-tjmjwb41.js → tool-output-3sf7zae1.js} +15 -15
  45. package/dist/chunks/{location-a90jbrtj.js → tool-output-3smm4zxf.js} +10 -10
  46. package/dist/chunks/{location-aw410gph.js → tool-output-3ya61fkd.js} +5 -5
  47. package/dist/chunks/{location-w6v6zcjs.js → tool-output-40echsds.js} +9 -9
  48. package/dist/chunks/{location-40y6dtc2.js → tool-output-40y6dtc2.js} +1 -1
  49. package/dist/chunks/{location-s4ey0d1y.js → tool-output-419yqr3a.js} +26 -26
  50. package/dist/chunks/{location-jesems5z.js → tool-output-44fdwxvc.js} +10 -10
  51. package/dist/chunks/{location-44pmzq9c.js → tool-output-44pmzq9c.js} +2 -2
  52. package/dist/chunks/{location-ye5hdwv9.js → tool-output-46jrjpv7.js} +4 -4
  53. package/dist/chunks/{location-61j2dr2k.js → tool-output-4766k6e2.js} +14 -14
  54. package/dist/chunks/{location-qpz6rgpp.js → tool-output-4b6bkt24.js} +6 -6
  55. package/dist/chunks/{location-4dx1dgte.js → tool-output-4dx1dgte.js} +1 -1
  56. package/dist/chunks/{location-a5s2mgkk.js → tool-output-4e52v30t.js} +6 -6
  57. package/dist/chunks/{location-r542h3bh.js → tool-output-4f25tdd0.js} +5 -5
  58. package/dist/chunks/{location-d4ptbbme.js → tool-output-4n037qb1.js} +83 -83
  59. package/dist/chunks/{location-4pyp9zr9.js → tool-output-4pyp9zr9.js} +1 -1
  60. package/dist/chunks/{location-anp5wpvc.js → tool-output-4svr3wg6.js} +9 -9
  61. package/dist/chunks/{location-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
  62. package/dist/chunks/{location-qbf871ye.js → tool-output-4vy82jrr.js} +31 -31
  63. package/dist/chunks/{location-b14gg4sh.js → tool-output-4x5tdhd6.js} +8 -8
  64. package/dist/chunks/{location-nb49vfmx.js → tool-output-4xea06mt.js} +16 -16
  65. package/dist/chunks/{location-zk2nje20.js → tool-output-511df5en.js} +3 -3
  66. package/dist/chunks/{location-m5brqekz.js → tool-output-51tbvpgh.js} +9 -9
  67. package/dist/chunks/{location-00g1md0g.js → tool-output-5224ax61.js} +8 -8
  68. package/dist/chunks/{location-bngqrr2y.js → tool-output-5cyrnk8k.js} +13 -13
  69. package/dist/chunks/{location-kwvb3wvp.js → tool-output-5dth6py4.js} +14 -14
  70. package/dist/chunks/{location-mndk49kg.js → tool-output-5j6j0hr6.js} +15 -15
  71. package/dist/chunks/{location-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{location-496zx028.js → tool-output-5n28m5gf.js} +3 -3
  73. package/dist/chunks/{location-xceh9wya.js → tool-output-5qe1xh8p.js} +2 -2
  74. package/dist/chunks/{location-yy84cna2.js → tool-output-5v7h90mf.js} +15 -15
  75. package/dist/chunks/{location-4pw98qd4.js → tool-output-5w1mdqt7.js} +4 -4
  76. package/dist/chunks/{location-5whx36p1.js → tool-output-5whx36p1.js} +1 -1
  77. package/dist/chunks/{location-88addkp8.js → tool-output-5z7n15dj.js} +11 -11
  78. package/dist/chunks/{location-t8erkws8.js → tool-output-61qraad9.js} +5 -5
  79. package/dist/chunks/{location-c32zfq3f.js → tool-output-64eehrrp.js} +8 -8
  80. package/dist/chunks/{location-yef4qhdn.js → tool-output-6636asvx.js} +20 -20
  81. package/dist/chunks/{location-hrhp5jj2.js → tool-output-6e5728cn.js} +10 -10
  82. package/dist/chunks/{location-ep6pe98a.js → tool-output-6edbc7zm.js} +5 -5
  83. package/dist/chunks/{location-s86xkqp4.js → tool-output-6jyhcee2.js} +14 -14
  84. package/dist/chunks/{location-24wmtb0v.js → tool-output-6n2jnh2t.js} +9 -9
  85. package/dist/chunks/{location-h362tsex.js → tool-output-6nsvh2h7.js} +13 -13
  86. package/dist/chunks/{location-g6x407r8.js → tool-output-6rwcqwd2.js} +7 -7
  87. package/dist/chunks/{location-b3rnm8z6.js → tool-output-6v6fe6sh.js} +16 -16
  88. package/dist/chunks/{location-hf1k9qq1.js → tool-output-71q6t58q.js} +15 -15
  89. package/dist/chunks/{location-9mg34vhp.js → tool-output-742ey3d3.js} +19 -19
  90. package/dist/chunks/{location-g7pr83p9.js → tool-output-746ye5r9.js} +8 -8
  91. package/dist/chunks/{location-gpyr6xh8.js → tool-output-75f0sdph.js} +28 -28
  92. package/dist/chunks/{location-80mg3ag8.js → tool-output-775hqbnd.js} +3 -3
  93. package/dist/chunks/{location-wvr8xscb.js → tool-output-79k544d0.js} +7 -7
  94. package/dist/chunks/{location-eava8vrw.js → tool-output-7beb7bc3.js} +32 -32
  95. package/dist/chunks/{location-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  96. package/dist/chunks/{location-ys8aadwj.js → tool-output-7bpvqsty.js} +2 -2
  97. package/dist/chunks/{location-asq1rgrp.js → tool-output-7e38491a.js} +21 -21
  98. package/dist/chunks/{location-ja2hdmbx.js → tool-output-7ke2z32d.js} +6 -6
  99. package/dist/chunks/tool-output-7stn477s.js +26 -0
  100. package/dist/chunks/{location-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
  101. package/dist/chunks/{location-7weczvnd.js → tool-output-7weczvnd.js} +1 -1
  102. package/dist/chunks/{location-4rv8rzzq.js → tool-output-808kdw85.js} +53 -53
  103. package/dist/chunks/{location-db7k8z7c.js → tool-output-81c4mprs.js} +9 -9
  104. package/dist/chunks/{location-vhe66tjb.js → tool-output-86j4j7q4.js} +5 -5
  105. package/dist/chunks/{location-c8t8aq99.js → tool-output-877hnd4d.js} +1 -1
  106. package/dist/chunks/{location-mkms6vrd.js → tool-output-88q83wze.js} +21 -21
  107. package/dist/chunks/{location-89287pr7.js → tool-output-89287pr7.js} +1 -1
  108. package/dist/chunks/{location-25h84942.js → tool-output-8b3vzgkx.js} +4 -4
  109. package/dist/chunks/tool-output-8jekr1x5.js +265 -0
  110. package/dist/chunks/{location-tzjz6n71.js → tool-output-8r2dge1w.js} +12 -12
  111. package/dist/chunks/{location-8t99kr38.js → tool-output-8t99kr38.js} +1 -1
  112. package/dist/chunks/{location-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
  113. package/dist/chunks/{location-e3dxhb1y.js → tool-output-8yzstaxc.js} +3 -3
  114. package/dist/chunks/{location-8z6m94af.js → tool-output-8z6m94af.js} +3 -3
  115. package/dist/chunks/{location-sf9y72b7.js → tool-output-90ct6wq4.js} +4 -4
  116. package/dist/chunks/{location-90zstvax.js → tool-output-90zstvax.js} +1 -1
  117. package/dist/chunks/{location-tsberxcb.js → tool-output-9104gxsx.js} +9 -9
  118. package/dist/chunks/{location-0mtp185z.js → tool-output-963hk181.js} +9 -9
  119. package/dist/chunks/{location-ty5d88js.js → tool-output-96jnrges.js} +6 -6
  120. package/dist/chunks/{location-gs2np24p.js → tool-output-99ndk95c.js} +50 -50
  121. package/dist/chunks/{location-6h8vcvjm.js → tool-output-9f3jsh1d.js} +9 -9
  122. package/dist/chunks/{location-27mnyv39.js → tool-output-9nxvacx1.js} +13 -13
  123. package/dist/chunks/{location-dab5xxk2.js → tool-output-9rwqds7z.js} +22 -22
  124. package/dist/chunks/{location-p73183mt.js → tool-output-9zvshgbm.js} +19 -19
  125. package/dist/chunks/{location-2hc2yyeh.js → tool-output-a1qwck5h.js} +8 -8
  126. package/dist/chunks/{location-pq3kcgdg.js → tool-output-a2g8vcfk.js} +20 -20
  127. package/dist/chunks/{location-g7hdff6r.js → tool-output-a7nd66ya.js} +16 -16
  128. package/dist/chunks/{location-2n3gv0gf.js → tool-output-a8zv29m9.js} +10 -10
  129. package/dist/chunks/{location-eqphgmwc.js → tool-output-aagh67vb.js} +32 -32
  130. package/dist/chunks/{location-jd0gtgnk.js → tool-output-aebzzn9x.js} +12 -12
  131. package/dist/chunks/{location-aj7mw0zk.js → tool-output-aj7mw0zk.js} +2 -2
  132. package/dist/chunks/{location-5n1pdvk8.js → tool-output-apvw25zg.js} +3 -3
  133. package/dist/chunks/{location-gdqaa4j1.js → tool-output-awbze0rg.js} +16 -16
  134. package/dist/chunks/{location-1bdjvbg3.js → tool-output-azbn3vy4.js} +9 -9
  135. package/dist/chunks/{location-49z9ts7r.js → tool-output-b2kea4tc.js} +28 -28
  136. package/dist/chunks/{location-5nnwax6m.js → tool-output-b6vsg801.js} +5 -5
  137. package/dist/chunks/{location-bb3mmwvh.js → tool-output-bb3mmwvh.js} +2 -2
  138. package/dist/chunks/{location-3cess0ak.js → tool-output-bd6rrxn7.js} +21 -21
  139. package/dist/chunks/{location-az0zdj3z.js → tool-output-be9ybc1c.js} +19 -19
  140. package/dist/chunks/{location-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
  141. package/dist/chunks/{location-88x184bh.js → tool-output-c08bfn7h.js} +35 -35
  142. package/dist/chunks/{location-6khbp5y7.js → tool-output-c1cpy8r7.js} +1 -1
  143. package/dist/chunks/{location-ntd6mt7g.js → tool-output-c4g24ry4.js} +2 -2
  144. package/dist/chunks/{location-229tvxdn.js → tool-output-c5zvymhv.js} +4 -4
  145. package/dist/chunks/{location-m8w1tk0z.js → tool-output-c9b6dnwv.js} +16 -16
  146. package/dist/chunks/{location-2f7nmn6j.js → tool-output-cbj9m4kh.js} +15 -15
  147. package/dist/chunks/{location-8sw5jvf7.js → tool-output-cdx6pxh3.js} +16 -16
  148. package/dist/chunks/{location-y32h7nsn.js → tool-output-cjdeqwb6.js} +32 -32
  149. package/dist/chunks/{location-pg16dvms.js → tool-output-cpmgjma2.js} +30 -30
  150. package/dist/chunks/{location-j3f8hyeg.js → tool-output-cpvd08na.js} +4 -4
  151. package/dist/chunks/{location-t1y05ej8.js → tool-output-cqrw4292.js} +4 -4
  152. package/dist/chunks/{location-bk155q1p.js → tool-output-csbbbnjb.js} +4 -4
  153. package/dist/chunks/{location-cwrgdav8.js → tool-output-cwrgdav8.js} +2 -2
  154. package/dist/chunks/{location-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
  155. package/dist/chunks/{location-y8h6g2sg.js → tool-output-d58vy9zx.js} +4 -4
  156. package/dist/chunks/tool-output-d77dj7jw.js +18 -0
  157. package/dist/chunks/{location-sa4nqxt2.js → tool-output-dakaherw.js} +20 -20
  158. package/dist/chunks/{location-9nkjg9qd.js → tool-output-dbccrw1t.js} +6 -6
  159. package/dist/chunks/{location-tw0ytpwg.js → tool-output-ddz6aytf.js} +13 -13
  160. package/dist/chunks/{location-sb19dvwd.js → tool-output-deyg1g1a.js} +3 -3
  161. package/dist/chunks/{location-b2a6g2nk.js → tool-output-dpptc56n.js} +10 -10
  162. package/dist/chunks/{location-dt77769w.js → tool-output-dt77769w.js} +1 -1
  163. package/dist/chunks/{location-kaqpkrxc.js → tool-output-e49pnydj.js} +4 -4
  164. package/dist/chunks/{location-e834z07m.js → tool-output-e834z07m.js} +1 -1
  165. package/dist/chunks/{location-0rasd5pw.js → tool-output-ec2jnhv3.js} +4 -4
  166. package/dist/chunks/{location-tpew8ywd.js → tool-output-eewc3e51.js} +47 -47
  167. package/dist/chunks/{location-6sxv3xyg.js → tool-output-egt9m3ps.js} +148 -148
  168. package/dist/chunks/{location-1h2pfbzg.js → tool-output-emcam472.js} +12 -12
  169. package/dist/chunks/{location-gfqmq9ve.js → tool-output-eqa15cwh.js} +6 -6
  170. package/dist/chunks/{location-qkze4vyw.js → tool-output-eqktdfrb.js} +2 -2
  171. package/dist/chunks/{location-eqw4pqj1.js → tool-output-eqw4pqj1.js} +2 -2
  172. package/dist/chunks/{location-xz6wjjxj.js → tool-output-etk0n51b.js} +13 -13
  173. package/dist/chunks/{location-byg4vm5c.js → tool-output-exa9x16m.js} +9 -9
  174. package/dist/chunks/{location-3098yrch.js → tool-output-ezx2vz2q.js} +4 -4
  175. package/dist/chunks/{location-mv7w0mfd.js → tool-output-f1kgf4pk.js} +7 -7
  176. package/dist/chunks/{location-nt907s04.js → tool-output-f341sazs.js} +3 -3
  177. package/dist/chunks/{location-s1dp4f9m.js → tool-output-f61ga2an.js} +12 -12
  178. package/dist/chunks/{location-1q5te1bf.js → tool-output-f63d2psk.js} +8 -8
  179. package/dist/chunks/{location-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
  180. package/dist/chunks/{location-prq7xxp2.js → tool-output-fg9p65nk.js} +6 -6
  181. package/dist/chunks/{location-5an73ftn.js → tool-output-fpqm0zgb.js} +10 -10
  182. package/dist/chunks/{location-vk3sbvx6.js → tool-output-fvqbnn4y.js} +36 -36
  183. package/dist/chunks/{location-s3s7ywdx.js → tool-output-fx0pgg4r.js} +7 -7
  184. package/dist/chunks/{location-weqc7sb9.js → tool-output-fyfzbt3s.js} +2 -2
  185. package/dist/chunks/{location-1er8j9h7.js → tool-output-fzhbrffk.js} +31 -31
  186. package/dist/chunks/{location-wr3re1en.js → tool-output-fznmdakp.js} +4 -4
  187. package/dist/chunks/{location-pvw83gd8.js → tool-output-g4qh6hbr.js} +16 -16
  188. package/dist/chunks/{location-dy4cmv3t.js → tool-output-g5cyjhfe.js} +16 -16
  189. package/dist/chunks/{location-c1qw8qm5.js → tool-output-g7gmzqmx.js} +85 -85
  190. package/dist/chunks/{location-6dqyy18z.js → tool-output-g8gy8cqb.js} +4 -4
  191. package/dist/chunks/{location-8r1t7fjh.js → tool-output-g9g2km6e.js} +7 -7
  192. package/dist/chunks/{location-jfy3wmtj.js → tool-output-gbd7jt70.js} +5 -5
  193. package/dist/chunks/{location-gbjdnr5j.js → tool-output-gbjdnr5j.js} +2 -2
  194. package/dist/chunks/{location-m5trwfa1.js → tool-output-gc902kk9.js} +22 -22
  195. package/dist/chunks/{location-krry6xc9.js → tool-output-gcqh1q4y.js} +42 -42
  196. package/dist/chunks/{location-0g3r6f93.js → tool-output-ggp6gwx4.js} +33 -33
  197. package/dist/chunks/{location-9xb2zfd0.js → tool-output-gh8kdreh.js} +15 -15
  198. package/dist/chunks/{location-sjjnm6tw.js → tool-output-ghpsxst0.js} +31 -31
  199. package/dist/chunks/{location-g442wsqe.js → tool-output-gjnqq892.js} +11 -11
  200. package/dist/chunks/{location-q85c6t22.js → tool-output-gkk6awwg.js} +38 -38
  201. package/dist/chunks/{location-kze6nzna.js → tool-output-gmemj5zs.js} +7 -7
  202. package/dist/chunks/{location-nw5eecxx.js → tool-output-gnkmn8c6.js} +1 -1
  203. package/dist/chunks/{location-gv58d16x.js → tool-output-gpe365jb.js} +12 -12
  204. package/dist/chunks/{location-mqh88k61.js → tool-output-gr6d1ch0.js} +27 -27
  205. package/dist/chunks/{location-mxdrg681.js → tool-output-h47320y1.js} +9 -9
  206. package/dist/chunks/{location-9zkqpytn.js → tool-output-h6xk36xd.js} +9 -9
  207. package/dist/chunks/{location-3gbg9zyz.js → tool-output-hj83ejt3.js} +15 -15
  208. package/dist/chunks/{location-n9nxrj97.js → tool-output-hk8ww777.js} +21 -21
  209. package/dist/chunks/{location-7nqkf5r1.js → tool-output-hmhcwfpk.js} +8 -8
  210. package/dist/chunks/{location-pwdwey2m.js → tool-output-hp1gbgrg.js} +14 -14
  211. package/dist/chunks/{location-c79r39j2.js → tool-output-hqgk1342.js} +19 -19
  212. package/dist/chunks/{location-vzpmfw81.js → tool-output-hrpg1pdd.js} +7 -7
  213. package/dist/chunks/{location-mcr4dfm9.js → tool-output-ht2asm0r.js} +9 -9
  214. package/dist/chunks/tool-output-hw19qxz6.js +563 -0
  215. package/dist/chunks/{location-53c3zvhr.js → tool-output-j35c50pr.js} +20 -20
  216. package/dist/chunks/{location-3rx2wvpy.js → tool-output-j565xrd9.js} +36 -36
  217. package/dist/chunks/{location-ze75qvmd.js → tool-output-j9nxzz3g.js} +3 -3
  218. package/dist/chunks/{location-qsdghx1p.js → tool-output-jg11hrrc.js} +4 -4
  219. package/dist/chunks/{location-t3qgac3j.js → tool-output-jkyac8e3.js} +5 -5
  220. package/dist/chunks/{location-dttk3hyr.js → tool-output-jx9660ex.js} +9 -9
  221. package/dist/chunks/{location-7gesxgma.js → tool-output-jy893b30.js} +15 -15
  222. package/dist/chunks/{location-3w8bmz7a.js → tool-output-k0pcsrds.js} +18 -18
  223. package/dist/chunks/{location-51hmv0n2.js → tool-output-k0r21p40.js} +19 -19
  224. package/dist/chunks/{location-yfgb1r8w.js → tool-output-k3ezbk9y.js} +10 -10
  225. package/dist/chunks/{location-svxffzph.js → tool-output-k4k63fqr.js} +14 -14
  226. package/dist/chunks/{location-cy0qxgnz.js → tool-output-k7txa80t.js} +17 -17
  227. package/dist/chunks/{location-kh8gdsej.js → tool-output-kh8gdsej.js} +1 -1
  228. package/dist/chunks/{location-ddvn7d3w.js → tool-output-kmzgegqq.js} +8 -8
  229. package/dist/chunks/{location-jdye0830.js → tool-output-kp8mwpe2.js} +6 -6
  230. package/dist/chunks/{location-mee3xqxk.js → tool-output-kqb1ppz6.js} +28 -28
  231. package/dist/chunks/{location-kt3bjfbg.js → tool-output-kt3bjfbg.js} +1 -1
  232. package/dist/chunks/{location-hhcannk5.js → tool-output-kxcskwx8.js} +20 -20
  233. package/dist/chunks/{location-kzczzf4v.js → tool-output-kzczzf4v.js} +1 -1
  234. package/dist/chunks/{location-cf0xxfvt.js → tool-output-kzynbv05.js} +3 -3
  235. package/dist/chunks/{location-m1714858.js → tool-output-m1714858.js} +1 -1
  236. package/dist/chunks/{location-zx0gvdrx.js → tool-output-m3zg2dtg.js} +11 -11
  237. package/dist/chunks/{location-kk4ftmpj.js → tool-output-m7hsyhkh.js} +10 -10
  238. package/dist/chunks/{location-82rsrcxe.js → tool-output-m8zx2yvr.js} +3 -3
  239. package/dist/chunks/{location-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  240. package/dist/chunks/{location-ysw2y4rw.js → tool-output-mafkzc8x.js} +7 -7
  241. package/dist/chunks/{location-6ca5gq91.js → tool-output-mnzcnazm.js} +41 -41
  242. package/dist/chunks/{location-wpx1vxmw.js → tool-output-mqayxavw.js} +26 -26
  243. package/dist/chunks/{location-msd2a3qm.js → tool-output-msd2a3qm.js} +4 -4
  244. package/dist/chunks/{location-2hr8wh7g.js → tool-output-n22ne341.js} +29 -29
  245. package/dist/chunks/{location-cneqv1e4.js → tool-output-n3znqw40.js} +17 -17
  246. package/dist/chunks/{location-wxfvd4xx.js → tool-output-n58dd7nb.js} +16 -16
  247. package/dist/chunks/{location-fnm34e0k.js → tool-output-nchw3v9s.js} +5 -5
  248. package/dist/chunks/{location-jpb0ceh1.js → tool-output-nf9m8bvx.js} +3 -3
  249. package/dist/chunks/{location-vctewhgk.js → tool-output-njtaczab.js} +4 -4
  250. package/dist/chunks/{location-pwz4za8m.js → tool-output-njxqg05y.js} +19 -19
  251. package/dist/chunks/{location-wb3dtbhd.js → tool-output-nksxf08n.js} +4 -4
  252. package/dist/chunks/{location-qzadthsm.js → tool-output-nq73cb6s.js} +11 -11
  253. package/dist/chunks/{location-2v0m0jqf.js → tool-output-nwqz334c.js} +16 -16
  254. package/dist/chunks/{location-nx4vzyjd.js → tool-output-nx4vzyjd.js} +2 -2
  255. package/dist/chunks/{location-axq5kvf5.js → tool-output-p02vdpga.js} +9 -9
  256. package/dist/chunks/{location-7cyyvkg3.js → tool-output-p6whrcvg.js} +8 -8
  257. package/dist/chunks/{location-sak91mvs.js → tool-output-pamdx7wx.js} +6 -6
  258. package/dist/chunks/{location-cjmczvka.js → tool-output-pe2g2s61.js} +7 -7
  259. package/dist/chunks/{location-rnd3b2xd.js → tool-output-pg3ntrnn.js} +21 -21
  260. package/dist/chunks/{location-fez79j33.js → tool-output-ph3tbhez.js} +41 -41
  261. package/dist/chunks/{location-pknna89w.js → tool-output-pknna89w.js} +1 -1
  262. package/dist/chunks/{location-vycakrba.js → tool-output-pnyg3p33.js} +38 -38
  263. package/dist/chunks/{location-k26qzjcn.js → tool-output-prykw90a.js} +3 -3
  264. package/dist/chunks/{location-vbjgpwzc.js → tool-output-pse34fzg.js} +24 -24
  265. package/dist/chunks/{location-ekhvmsd2.js → tool-output-qa8wq1bx.js} +9 -9
  266. package/dist/chunks/{location-8f5grysg.js → tool-output-qe0yxm02.js} +3 -3
  267. package/dist/chunks/{location-vmqe41cb.js → tool-output-qfz6bxfd.js} +4 -4
  268. package/dist/chunks/{location-2etvp3wj.js → tool-output-qh6ynv16.js} +11 -11
  269. package/dist/chunks/{location-qp7r0hxv.js → tool-output-qp7r0hxv.js} +1 -1
  270. package/dist/chunks/{location-7g9t2g4r.js → tool-output-qq4a6y1a.js} +22 -22
  271. package/dist/chunks/{location-tvssxyt8.js → tool-output-qw2t3dzn.js} +6 -6
  272. package/dist/chunks/{location-4ehf0h4n.js → tool-output-r3ktkn7y.js} +32 -32
  273. package/dist/chunks/{location-w2eysc6j.js → tool-output-r41sfy63.js} +6 -6
  274. package/dist/chunks/{location-xghzbwcq.js → tool-output-r84m51n9.js} +9 -9
  275. package/dist/chunks/{location-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
  276. package/dist/chunks/{location-85kbv84c.js → tool-output-rfetd9kc.js} +39 -39
  277. package/dist/chunks/{location-rgc9cx3e.js → tool-output-rgc9cx3e.js} +2 -2
  278. package/dist/chunks/{location-ng8mw9tj.js → tool-output-rs43y10t.js} +16 -16
  279. package/dist/chunks/{location-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
  280. package/dist/chunks/{location-40qvad7a.js → tool-output-s3pmgk5v.js} +10 -10
  281. package/dist/chunks/{location-zscg4md0.js → tool-output-s4j07fm3.js} +25 -25
  282. package/dist/chunks/{location-v18wyzmg.js → tool-output-s6ewk60r.js} +33 -33
  283. package/dist/chunks/{location-14xva1bm.js → tool-output-s7e2q7r1.js} +39 -39
  284. package/dist/chunks/{location-wemtpfsb.js → tool-output-s8y13th6.js} +11 -11
  285. package/dist/chunks/{location-sa3fpqfw.js → tool-output-sa3fpqfw.js} +2 -2
  286. package/dist/chunks/{location-sbya78hr.js → tool-output-sbya78hr.js} +1 -1
  287. package/dist/chunks/{location-ghrv1g9c.js → tool-output-sdt5j0rm.js} +4 -4
  288. package/dist/chunks/{location-5e320d1d.js → tool-output-sp29r20v.js} +33 -33
  289. package/dist/chunks/{location-7sztb6xg.js → tool-output-sth9zcg7.js} +10 -10
  290. package/dist/chunks/{location-svcy3p9a.js → tool-output-svcy3p9a.js} +1 -1
  291. package/dist/chunks/{location-50fc5w3v.js → tool-output-sx632ymh.js} +40 -40
  292. package/dist/chunks/{location-3adw4bt5.js → tool-output-sx8acyer.js} +9 -9
  293. package/dist/chunks/{location-yf354g2s.js → tool-output-sz694gh2.js} +8 -8
  294. package/dist/chunks/{location-szwm4crx.js → tool-output-szwm4crx.js} +4 -4
  295. package/dist/chunks/{location-ptfpayb5.js → tool-output-t4yq194d.js} +3 -3
  296. package/dist/chunks/{location-kczttyx7.js → tool-output-t5cmg6d3.js} +22 -22
  297. package/dist/chunks/{location-t62dywgn.js → tool-output-t62dywgn.js} +1 -1
  298. package/dist/chunks/{location-28te7a42.js → tool-output-tcac46dq.js} +32 -32
  299. package/dist/chunks/{location-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
  300. package/dist/chunks/{location-tg7s7b5t.js → tool-output-tg7s7b5t.js} +1 -1
  301. package/dist/chunks/{location-9yhd652z.js → tool-output-thqxtn4m.js} +11 -11
  302. package/dist/chunks/{location-tr8x705m.js → tool-output-tr8x705m.js} +1 -1
  303. package/dist/chunks/{location-tvtps2q9.js → tool-output-tvtps2q9.js} +1 -1
  304. package/dist/chunks/{location-pqvrscc6.js → tool-output-twdycxtj.js} +9 -9
  305. package/dist/chunks/{location-twssxy5n.js → tool-output-twssxy5n.js} +2 -2
  306. package/dist/chunks/{location-2kg89srt.js → tool-output-v0t96s7a.js} +4 -4
  307. package/dist/chunks/{location-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
  308. package/dist/chunks/{location-qgjrqfzw.js → tool-output-v2xh9bjj.js} +49 -49
  309. package/dist/chunks/{location-vjf35v1f.js → tool-output-vjf35v1f.js} +1 -1
  310. package/dist/chunks/{location-njx9gg5k.js → tool-output-vmxsyvj6.js} +4 -4
  311. package/dist/chunks/{location-7dv5yvw2.js → tool-output-w00hgye2.js} +11 -11
  312. package/dist/chunks/{location-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  313. package/dist/chunks/{location-jkb5ry9r.js → tool-output-wa694ata.js} +13 -13
  314. package/dist/chunks/{location-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
  315. package/dist/chunks/{location-yfdv9gmh.js → tool-output-wd83k364.js} +4 -4
  316. package/dist/chunks/{location-wd87259q.js → tool-output-wd87259q.js} +1 -1
  317. package/dist/chunks/{location-rhm6bsed.js → tool-output-wfdx687j.js} +23 -23
  318. package/dist/chunks/{location-mj1vn29f.js → tool-output-wgvnftve.js} +8 -8
  319. package/dist/chunks/{location-wnhgecwx.js → tool-output-wnhgecwx.js} +1 -1
  320. package/dist/chunks/{location-awdze267.js → tool-output-wz6ge0x3.js} +10 -10
  321. package/dist/chunks/{location-4nqk0hsk.js → tool-output-x1ee036e.js} +6 -6
  322. package/dist/chunks/tool-output-x3c9tvtc.js +16 -0
  323. package/dist/chunks/{location-21m3rdz8.js → tool-output-x41fzh3r.js} +21 -21
  324. package/dist/chunks/{location-jbvfs4em.js → tool-output-x62yngd4.js} +15 -15
  325. package/dist/chunks/{location-zzc8w7zq.js → tool-output-x6q8nf7j.js} +14 -14
  326. package/dist/chunks/{location-twpr6wwv.js → tool-output-xbdy7879.js} +11 -11
  327. package/dist/chunks/{location-tmsew0nk.js → tool-output-xcgbppnz.js} +78 -78
  328. package/dist/chunks/{location-nad3qcx8.js → tool-output-xjr6c8m4.js} +7 -7
  329. package/dist/chunks/{location-c6bcwanj.js → tool-output-xqjexrw9.js} +27 -27
  330. package/dist/chunks/{location-y88s9s95.js → tool-output-xx6b04ef.js} +8 -8
  331. package/dist/chunks/{location-sdgq9cyd.js → tool-output-xzbsafy3.js} +41 -41
  332. package/dist/chunks/{location-m5f7arcv.js → tool-output-y540derg.js} +12 -12
  333. package/dist/chunks/{location-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
  334. package/dist/chunks/{location-ann72nrn.js → tool-output-yck1kvm9.js} +7 -7
  335. package/dist/chunks/{location-aa5gs0ma.js → tool-output-yg6xkjrk.js} +25 -25
  336. package/dist/chunks/{location-gxfxt5pf.js → tool-output-ynyj9jtp.js} +30 -30
  337. package/dist/chunks/{location-80ptpaf2.js → tool-output-yp3ceknm.js} +21 -21
  338. package/dist/chunks/{location-yr705xyq.js → tool-output-yr705xyq.js} +1 -1
  339. package/dist/chunks/{location-yvtc2x31.js → tool-output-yvtc2x31.js} +1 -1
  340. package/dist/chunks/{location-j80pfzfz.js → tool-output-yvzyxwec.js} +19 -19
  341. package/dist/chunks/{location-ep55863c.js → tool-output-yy93s4r5.js} +36 -36
  342. package/dist/chunks/{location-55g2q5p5.js → tool-output-z0c26qk4.js} +2 -2
  343. package/dist/chunks/{location-1fj7g4kf.js → tool-output-z52jmq82.js} +19 -19
  344. package/dist/chunks/{location-pzt2qzsv.js → tool-output-z71echd8.js} +18 -18
  345. package/dist/chunks/{location-n1yjejen.js → tool-output-zan07mqm.js} +24 -24
  346. package/dist/chunks/{location-by8ty0bx.js → tool-output-zpdbqgja.js} +4 -4
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +5 -5
  349. package/dist/codemode/fetch.js +145 -145
  350. package/dist/codemode/instructions.js +11 -11
  351. package/dist/codemode/tool.js +151 -151
  352. package/dist/command.js +94 -94
  353. package/dist/config/discovery.js +97 -97
  354. package/dist/config/integration.js +1 -1
  355. package/dist/config/managed.js +1 -1
  356. package/dist/config/markdown.js +1 -1
  357. package/dist/config/normalize.js +112 -112
  358. package/dist/config/plugin/agent.js +133 -133
  359. package/dist/config/plugin/command.js +236 -236
  360. package/dist/config/plugin/compaction.js +171 -171
  361. package/dist/config/plugin/compatibility.js +150 -150
  362. package/dist/config/plugin/entry-observer.js +1 -1
  363. package/dist/config/plugin/formatter.js +131 -131
  364. package/dist/config/plugin/image.js +130 -130
  365. package/dist/config/plugin/instruction.js +130 -130
  366. package/dist/config/plugin/location-watcher.js +132 -132
  367. package/dist/config/plugin/mcp.js +143 -143
  368. package/dist/config/plugin/policy.js +130 -130
  369. package/dist/config/plugin/provider.js +132 -132
  370. package/dist/config/plugin/reference.js +132 -132
  371. package/dist/config/plugin/shell.js +132 -132
  372. package/dist/config/plugin/skill-file.js +146 -146
  373. package/dist/config/plugin/skill-scan.js +1 -1
  374. package/dist/config/plugin/skill.js +153 -153
  375. package/dist/config/plugin/snapshot.js +130 -130
  376. package/dist/config/plugin/source.js +132 -132
  377. package/dist/config/plugin/tool-output.js +131 -131
  378. package/dist/config/plugin/websearch.js +131 -131
  379. package/dist/config/plugin/worktree.js +132 -132
  380. package/dist/config/variable.js +1 -1
  381. package/dist/config/watch.js +1 -1
  382. package/dist/config.js +131 -131
  383. package/dist/console-access.js +1 -1
  384. package/dist/credential/sql.js +2 -2
  385. package/dist/credential.js +94 -94
  386. package/dist/database/database.js +77 -77
  387. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  388. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  389. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  390. package/dist/database/drizzle/index.js +13 -13
  391. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  394. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  396. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  397. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  402. package/dist/database/drizzle.js +14 -14
  403. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  404. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  405. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  406. package/dist/database/migration/20260225215848_workspace.js +1 -1
  407. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  408. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  409. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  410. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  411. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  412. package/dist/database/migration/20260323234822_events.js +1 -1
  413. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  414. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  415. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  416. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  417. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  418. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  419. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  420. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  421. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  422. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  423. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  424. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  425. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  426. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  427. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  428. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  429. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  430. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  431. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  432. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  433. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  434. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  435. package/dist/database/migration/20260611035744_credential.js +1 -1
  436. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  437. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  438. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  439. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  440. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  441. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  442. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  443. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  444. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  445. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  446. package/dist/database/migration/20260812213948_worktree.js +1 -1
  447. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  448. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  449. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  450. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  451. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  452. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  453. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  454. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  455. package/dist/database/migration/20261025123711_blob.js +1 -1
  456. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  457. package/dist/database/migration/20261026223005_schedule.js +1 -1
  458. package/dist/database/migration/20261029002625_session_part.js +1 -1
  459. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  460. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  461. package/dist/database/migration/20261030054400_job.js +1 -1
  462. package/dist/database/migration.gen.js +60 -60
  463. package/dist/database/migration.js +62 -62
  464. package/dist/database/path.js +2 -2
  465. package/dist/database/schema.gen.js +1 -1
  466. package/dist/database/schema.sql.js +1 -1
  467. package/dist/database/v1-migration.bun.js +105 -105
  468. package/dist/database/v1-migration.js +1 -1
  469. package/dist/effect/app-node-builder.js +437 -437
  470. package/dist/effect/app-node-platform.js +2 -2
  471. package/dist/effect/keyed-mutex.js +1 -1
  472. package/dist/effect/websocket-constructor.js +1 -1
  473. package/dist/environment/driver.js +1 -1
  474. package/dist/environment/environment.js +105 -105
  475. package/dist/environment/exec-defaults.js +2 -2
  476. package/dist/environment/files.js +1 -1
  477. package/dist/environment/index.js +109 -109
  478. package/dist/environment/local.js +2 -2
  479. package/dist/environment/memory.js +2 -2
  480. package/dist/environment/unavailable.js +3 -3
  481. package/dist/event/sql.js +1 -1
  482. package/dist/event-logger.js +81 -81
  483. package/dist/file-access.js +157 -157
  484. package/dist/file-mutation.js +108 -108
  485. package/dist/file-retention.js +1 -1
  486. package/dist/file-write.js +161 -161
  487. package/dist/filesystem/fff.bun.js +2 -2
  488. package/dist/filesystem/fff.js +1 -1
  489. package/dist/filesystem/fff.node.js +2 -2
  490. package/dist/filesystem/fff.workerd.js +2 -2
  491. package/dist/filesystem/file-watch.js +84 -84
  492. package/dist/filesystem/location-watcher-policy.js +6 -6
  493. package/dist/filesystem/location-watcher.js +249 -249
  494. package/dist/filesystem/protected.js +3 -3
  495. package/dist/filesystem/search.js +113 -113
  496. package/dist/filesystem/watcher-binding.js +1 -1
  497. package/dist/filesystem/watcher.js +7 -7
  498. package/dist/filesystem.js +118 -118
  499. package/dist/form.js +91 -91
  500. package/dist/formatter/builtins.js +4 -4
  501. package/dist/formatter.js +100 -100
  502. package/dist/generate.js +112 -112
  503. package/dist/git.js +11 -11
  504. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  505. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  506. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  507. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  508. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  509. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  510. package/dist/github-copilot/copilot-provider.js +17 -17
  511. package/dist/github-copilot/models.js +104 -104
  512. package/dist/github-copilot/openai-compatible-error.js +1 -1
  513. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  514. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  515. package/dist/github-copilot/responses/openai-error.js +1 -1
  516. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  517. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  518. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  519. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  520. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  521. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  522. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  523. package/dist/image/notice.js +3 -3
  524. package/dist/image/photon-normalize.js +1 -1
  525. package/dist/image/photon-worker.js +1 -1
  526. package/dist/image/photon.js +4 -4
  527. package/dist/image.js +6 -6
  528. package/dist/instance/service.js +5 -5
  529. package/dist/instance.js +428 -428
  530. package/dist/instruction-discovery.js +97 -97
  531. package/dist/instructions/builtins.js +100 -100
  532. package/dist/instructions/index.js +1 -1
  533. package/dist/integration/connection.js +3 -3
  534. package/dist/integration.js +94 -94
  535. package/dist/job/list.js +5 -5
  536. package/dist/job/recovery.js +2 -2
  537. package/dist/job/sql.js +2 -2
  538. package/dist/job.js +90 -90
  539. package/dist/kv/sql.js +2 -2
  540. package/dist/kv.js +84 -84
  541. package/dist/location-activity.js +176 -176
  542. package/dist/location-lifecycle.js +150 -150
  543. package/dist/location-service-map.js +99 -99
  544. package/dist/location-services.js +425 -425
  545. package/dist/location.js +100 -100
  546. package/dist/managed-policy.js +3 -3
  547. package/dist/mcp/client.js +105 -105
  548. package/dist/mcp/connection.js +106 -106
  549. package/dist/mcp/index.js +122 -122
  550. package/dist/mcp/instructions.js +183 -183
  551. package/dist/mcp/oauth.js +89 -89
  552. package/dist/mcp/socket-client.js +1 -1
  553. package/dist/mcp/stdio.js +104 -104
  554. package/dist/mime.js +1 -1
  555. package/dist/modal/models.js +104 -104
  556. package/dist/model-resolver.js +112 -112
  557. package/dist/model-retry.js +1 -1
  558. package/dist/model.js +109 -109
  559. package/dist/models-dev/v1.js +1 -1
  560. package/dist/models-dev.js +121 -121
  561. package/dist/oauth/page.js +1 -1
  562. package/dist/permission/saved.js +91 -91
  563. package/dist/permission/sql.js +5 -5
  564. package/dist/permission.js +149 -149
  565. package/dist/persistent-pty/binary.bun.js +1 -1
  566. package/dist/persistent-pty/daemon.js +1 -1
  567. package/dist/persistent-pty/index.js +97 -97
  568. package/dist/persistent-pty/pty-binding.js +1 -1
  569. package/dist/persistent-pty.js +86 -86
  570. package/dist/plugin/agent.js +87 -87
  571. package/dist/plugin/command.js +117 -117
  572. package/dist/plugin/goal.js +3 -3
  573. package/dist/plugin/hooks.js +5 -5
  574. package/dist/plugin/host.js +240 -240
  575. package/dist/plugin/identity.js +5 -5
  576. package/dist/plugin/instance.js +5 -5
  577. package/dist/plugin/internal.js +406 -406
  578. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  579. package/dist/plugin/models-dev.js +110 -110
  580. package/dist/plugin/module.js +129 -129
  581. package/dist/plugin/optimize.js +4 -4
  582. package/dist/plugin/plan.js +146 -146
  583. package/dist/plugin/promise.js +1 -1
  584. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  585. package/dist/plugin/provider/azure.js +131 -131
  586. package/dist/plugin/provider/cerebras.js +1 -1
  587. package/dist/plugin/provider/chatgpt.js +133 -133
  588. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  589. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  590. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  592. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  593. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  594. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  595. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  596. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  597. package/dist/plugin/provider/claude-agent/index.js +148 -148
  598. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  599. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  600. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  602. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  603. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  604. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  605. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  606. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  607. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  608. package/dist/plugin/provider/claude-agent/session.js +112 -112
  609. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  610. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  611. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  612. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  613. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  615. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  616. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  617. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  618. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  619. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  620. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  621. package/dist/plugin/provider/configured.js +126 -126
  622. package/dist/plugin/provider/credential-settings.js +88 -88
  623. package/dist/plugin/provider/databricks.js +1 -1
  624. package/dist/plugin/provider/digitalocean.js +109 -109
  625. package/dist/plugin/provider/dynamic.js +2 -2
  626. package/dist/plugin/provider/github-copilot.js +111 -111
  627. package/dist/plugin/provider/gitlab.js +109 -109
  628. package/dist/plugin/provider/google-vertex.js +127 -127
  629. package/dist/plugin/provider/kilo.js +1 -1
  630. package/dist/plugin/provider/llmgateway.js +89 -89
  631. package/dist/plugin/provider/lmstudio.js +140 -140
  632. package/dist/plugin/provider/local.js +137 -137
  633. package/dist/plugin/provider/modal.js +108 -108
  634. package/dist/plugin/provider/neon.js +1 -1
  635. package/dist/plugin/provider/nvidia.js +1 -1
  636. package/dist/plugin/provider/ollama.js +140 -140
  637. package/dist/plugin/provider/openai-context-caps.js +106 -106
  638. package/dist/plugin/provider/openai.js +135 -135
  639. package/dist/plugin/provider/opencode.js +157 -157
  640. package/dist/plugin/provider/openrouter.js +104 -104
  641. package/dist/plugin/provider/poe.js +90 -90
  642. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  643. package/dist/plugin/provider/refresh.js +87 -87
  644. package/dist/plugin/provider/sap-ai-core.js +104 -104
  645. package/dist/plugin/provider/sdk-factory.js +1 -1
  646. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  647. package/dist/plugin/provider/vllm.js +140 -140
  648. package/dist/plugin/provider/xai.js +104 -104
  649. package/dist/plugin/provider/zenmux.js +1 -1
  650. package/dist/plugin/provider.js +235 -235
  651. package/dist/plugin/sdk.js +87 -87
  652. package/dist/plugin/service.js +3 -3
  653. package/dist/plugin/skill.js +149 -149
  654. package/dist/plugin/source-directory.js +1 -1
  655. package/dist/plugin/supervisor.js +416 -416
  656. package/dist/plugin/tool-input-repair.js +4 -4
  657. package/dist/plugin/update.js +6 -6
  658. package/dist/plugin/vcs/git.js +99 -99
  659. package/dist/plugin/vcs/hg.js +99 -99
  660. package/dist/plugin/verbosity.js +106 -106
  661. package/dist/plugin/warming.js +130 -130
  662. package/dist/plugin/websearch/exa.js +8 -8
  663. package/dist/plugin/websearch/firecrawl.js +7 -7
  664. package/dist/plugin/websearch/index.js +10 -10
  665. package/dist/plugin/websearch/mcp.js +4 -4
  666. package/dist/plugin/websearch/parallel.js +7 -7
  667. package/dist/plugin/websearch/provider.js +5 -5
  668. package/dist/plugin/websearch/tavily.js +7 -7
  669. package/dist/plugin/websearch/tinyfish.js +7 -7
  670. package/dist/plugin.js +247 -247
  671. package/dist/project/icon.js +5 -5
  672. package/dist/project/schema.js +8 -8
  673. package/dist/project/sql.js +4 -4
  674. package/dist/project.js +105 -105
  675. package/dist/provider.js +108 -108
  676. package/dist/pty/protocol.js +1 -1
  677. package/dist/pty/ticket.js +1 -1
  678. package/dist/pty.js +109 -109
  679. package/dist/reference/instructions.js +101 -101
  680. package/dist/reference.js +101 -101
  681. package/dist/repository-cache.js +93 -93
  682. package/dist/repository.js +1 -1
  683. package/dist/ripgrep/binary.js +2 -2
  684. package/dist/ripgrep.js +111 -111
  685. package/dist/rpc.js +99 -99
  686. package/dist/schedule/check.js +245 -245
  687. package/dist/schedule/sql.js +6 -6
  688. package/dist/schedule.js +259 -259
  689. package/dist/schema.js +1 -1
  690. package/dist/session/affinity.js +1 -1
  691. package/dist/session/background.js +3 -3
  692. package/dist/session/blob.js +129 -129
  693. package/dist/session/command.js +85 -85
  694. package/dist/session/compaction.js +173 -173
  695. package/dist/session/context.js +200 -200
  696. package/dist/session/diff.js +101 -101
  697. package/dist/session/environment.js +5 -5
  698. package/dist/session/error.js +5 -5
  699. package/dist/session/event.js +1 -1
  700. package/dist/session/execution/restart.js +247 -247
  701. package/dist/session/execution.js +165 -165
  702. package/dist/session/generate.js +200 -200
  703. package/dist/session/history.js +136 -136
  704. package/dist/session/inbox.js +147 -147
  705. package/dist/session/info.js +3 -3
  706. package/dist/session/instruction-entry.js +90 -90
  707. package/dist/session/instruction-state.js +8 -8
  708. package/dist/session/instructions.js +143 -143
  709. package/dist/session/message-updater.js +4 -4
  710. package/dist/session/message.js +1 -1
  711. package/dist/session/model-request.js +166 -166
  712. package/dist/session/model-transport.js +7 -7
  713. package/dist/session/move.js +167 -167
  714. package/dist/session/projector.js +143 -143
  715. package/dist/session/prompt.js +148 -148
  716. package/dist/session/recent-text.js +1 -1
  717. package/dist/session/revert.js +139 -139
  718. package/dist/session/run-coordinator.js +3 -3
  719. package/dist/session/runner/index.js +3 -3
  720. package/dist/session/runner/llm.js +254 -254
  721. package/dist/session/runner/max-steps.js +1 -1
  722. package/dist/session/runner/model.js +113 -113
  723. package/dist/session/runner/publish-llm-event.js +149 -149
  724. package/dist/session/runner/retry.js +5 -5
  725. package/dist/session/runner/step.js +163 -163
  726. package/dist/session/runner/to-llm-message.js +137 -137
  727. package/dist/session/schema.js +3 -3
  728. package/dist/session/session.js +184 -184
  729. package/dist/session/shell.js +145 -145
  730. package/dist/session/skill.js +147 -147
  731. package/dist/session/sql.js +5 -5
  732. package/dist/session/stats.js +84 -84
  733. package/dist/session/store.js +142 -142
  734. package/dist/session/stored.js +4 -4
  735. package/dist/session/subagent-completion.js +3 -3
  736. package/dist/session/subagent-job.js +233 -233
  737. package/dist/session/system-prompt.js +5 -5
  738. package/dist/session/title.js +204 -204
  739. package/dist/session/to-session-error.js +148 -148
  740. package/dist/session/transfer.js +239 -239
  741. package/dist/session/usage.js +3 -3
  742. package/dist/session.js +237 -237
  743. package/dist/shared-cache.js +5 -5
  744. package/dist/shell/parse.js +6 -6
  745. package/dist/shell/result.js +1 -1
  746. package/dist/shell/scan.js +1 -1
  747. package/dist/shell/select.js +15 -15
  748. package/dist/shell.js +145 -145
  749. package/dist/skill/discovery.js +6 -6
  750. package/dist/skill/instructions.js +151 -151
  751. package/dist/skill.js +152 -152
  752. package/dist/snapshot.js +104 -104
  753. package/dist/state.js +1 -1
  754. package/dist/tool/html-markdown.js +1 -1
  755. package/dist/tool/http-body.js +1 -1
  756. package/dist/tool/mcp.js +182 -182
  757. package/dist/tool/plugin/artifact.js +232 -232
  758. package/dist/tool/plugin/edit.js +167 -167
  759. package/dist/tool/plugin/file-diff.js +1 -1
  760. package/dist/tool/plugin/glob.js +171 -171
  761. package/dist/tool/plugin/grep.js +170 -170
  762. package/dist/tool/plugin/image-generate.js +243 -243
  763. package/dist/tool/plugin/mcp-resource.js +164 -164
  764. package/dist/tool/plugin/opencode.js +163 -163
  765. package/dist/tool/plugin/patch.js +168 -168
  766. package/dist/tool/plugin/question.js +148 -148
  767. package/dist/tool/plugin/read.js +172 -172
  768. package/dist/tool/plugin/schedule.js +251 -251
  769. package/dist/tool/plugin/shell.js +239 -239
  770. package/dist/tool/plugin/skill.js +157 -157
  771. package/dist/tool/plugin/subagent.js +240 -240
  772. package/dist/tool/plugin/todo.js +153 -153
  773. package/dist/tool/plugin/webfetch.js +153 -153
  774. package/dist/tool/plugin/websearch.js +155 -155
  775. package/dist/tool/plugin/write.js +166 -166
  776. package/dist/tool/read-filesystem.js +116 -116
  777. package/dist/tool/runtime.js +1 -1
  778. package/dist/tool/search.js +109 -109
  779. package/dist/tool-output.js +7 -7
  780. package/dist/tool.js +161 -161
  781. package/dist/usage-limits.js +96 -96
  782. package/dist/util/error-summary.js +1 -1
  783. package/dist/util/git-executable.js +3 -3
  784. package/dist/util/lazy.js +1 -1
  785. package/dist/util/slug.js +1 -1
  786. package/dist/util/token.js +1 -1
  787. package/dist/util/which.js +1 -1
  788. package/dist/util/wildcard.js +1 -1
  789. package/dist/v1/config/agent.js +7 -7
  790. package/dist/v1/config/command.js +3 -3
  791. package/dist/v1/config/mcp.js +4 -4
  792. package/dist/v1/config/migrate.js +105 -105
  793. package/dist/v1/config/permission.js +3 -3
  794. package/dist/v1/config/plugin.js +3 -3
  795. package/dist/v1/config/provider-options.js +1 -1
  796. package/dist/v1/config/provider.js +4 -4
  797. package/dist/variant.js +106 -106
  798. package/dist/vcs/patch.js +1 -1
  799. package/dist/vcs.js +102 -102
  800. package/dist/voice.js +95 -95
  801. package/dist/websearch.js +101 -101
  802. package/dist/wellknown/plugin.js +87 -87
  803. package/dist/wellknown.js +88 -88
  804. package/dist/workspace/driver.js +5 -5
  805. package/dist/workspace/sql.js +1 -1
  806. package/dist/workspace.js +93 -93
  807. package/dist/worktree/directory.js +2 -2
  808. package/dist/worktree/git.js +11 -11
  809. package/dist/worktree/sql.js +5 -5
  810. package/dist/worktree/strategies.js +102 -102
  811. package/dist/worktree.js +111 -111
  812. package/package.json +8 -8
  813. package/dist/chunks/location-4m6g1g4q.js +0 -16
  814. package/dist/chunks/location-dcjv76an.js +0 -563
  815. package/dist/chunks/location-twk4hq1b.js +0 -26
  816. package/dist/chunks/location-z355x5yr.js +0 -18
  817. package/dist/chunks/location-zkxvtvhq.js +0 -265
  818. /package/dist/chunks/{location-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  819. /package/dist/chunks/{location-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  820. /package/dist/chunks/{location-108x4f4w.js → tool-output-108x4f4w.js} +0 -0
  821. /package/dist/chunks/{location-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  822. /package/dist/chunks/{location-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  823. /package/dist/chunks/{location-1kah00gy.js → tool-output-1kah00gy.js} +0 -0
  824. /package/dist/chunks/{location-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  825. /package/dist/chunks/{location-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  826. /package/dist/chunks/{location-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
  827. /package/dist/chunks/{location-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  828. /package/dist/chunks/{location-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  829. /package/dist/chunks/{location-3af0jn4w.js → tool-output-3af0jn4w.js} +0 -0
  830. /package/dist/chunks/{location-3asan66x.js → tool-output-3asan66x.js} +0 -0
  831. /package/dist/chunks/{location-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  832. /package/dist/chunks/{location-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  833. /package/dist/chunks/{location-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  834. /package/dist/chunks/{location-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  835. /package/dist/chunks/{location-4qk9sjk2.js → tool-output-4qk9sjk2.js} +0 -0
  836. /package/dist/chunks/{location-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  837. /package/dist/chunks/{location-53557ph1.js → tool-output-53557ph1.js} +0 -0
  838. /package/dist/chunks/{location-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  839. /package/dist/chunks/{location-5w3e23ze.js → tool-output-5w3e23ze.js} +0 -0
  840. /package/dist/chunks/{location-6agm2x70.js → tool-output-6agm2x70.js} +0 -0
  841. /package/dist/chunks/{location-6prwharc.js → tool-output-6prwharc.js} +0 -0
  842. /package/dist/chunks/{location-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
  843. /package/dist/chunks/{location-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  844. /package/dist/chunks/{location-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  845. /package/dist/chunks/{location-822emrt2.js → tool-output-822emrt2.js} +0 -0
  846. /package/dist/chunks/{location-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
  847. /package/dist/chunks/{location-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  848. /package/dist/chunks/{location-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  849. /package/dist/chunks/{location-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
  850. /package/dist/chunks/{location-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  851. /package/dist/chunks/{location-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  852. /package/dist/chunks/{location-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  853. /package/dist/chunks/{location-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  854. /package/dist/chunks/{location-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  855. /package/dist/chunks/{location-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  856. /package/dist/chunks/{location-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  857. /package/dist/chunks/{location-beh6qq61.js → tool-output-beh6qq61.js} +0 -0
  858. /package/dist/chunks/{location-bhmrqjy3.js → tool-output-bhmrqjy3.js} +0 -0
  859. /package/dist/chunks/{location-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  860. /package/dist/chunks/{location-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  861. /package/dist/chunks/{location-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  862. /package/dist/chunks/{location-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
  863. /package/dist/chunks/{location-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  864. /package/dist/chunks/{location-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  865. /package/dist/chunks/{location-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  866. /package/dist/chunks/{location-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  867. /package/dist/chunks/{location-df08tz66.js → tool-output-df08tz66.js} +0 -0
  868. /package/dist/chunks/{location-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  869. /package/dist/chunks/{location-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  870. /package/dist/chunks/{location-ean2d8b5.js → tool-output-ean2d8b5.js} +0 -0
  871. /package/dist/chunks/{location-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  872. /package/dist/chunks/{location-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  873. /package/dist/chunks/{location-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  874. /package/dist/chunks/{location-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  875. /package/dist/chunks/{location-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  876. /package/dist/chunks/{location-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  877. /package/dist/chunks/{location-fkpq3x5p.js → tool-output-fkpq3x5p.js} +0 -0
  878. /package/dist/chunks/{location-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  879. /package/dist/chunks/{location-g86h250q.js → tool-output-g86h250q.js} +0 -0
  880. /package/dist/chunks/{location-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  881. /package/dist/chunks/{location-gftt206x.js → tool-output-gftt206x.js} +0 -0
  882. /package/dist/chunks/{location-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
  883. /package/dist/chunks/{location-hk9envan.js → tool-output-hk9envan.js} +0 -0
  884. /package/dist/chunks/{location-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  885. /package/dist/chunks/{location-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  886. /package/dist/chunks/{location-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  887. /package/dist/chunks/{location-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  888. /package/dist/chunks/{location-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  889. /package/dist/chunks/{location-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
  890. /package/dist/chunks/{location-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  891. /package/dist/chunks/{location-m18g726c.js → tool-output-m18g726c.js} +0 -0
  892. /package/dist/chunks/{location-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  893. /package/dist/chunks/{location-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  894. /package/dist/chunks/{location-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  895. /package/dist/chunks/{location-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  896. /package/dist/chunks/{location-nh4v3znn.js → tool-output-nh4v3znn.js} +0 -0
  897. /package/dist/chunks/{location-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  898. /package/dist/chunks/{location-p71gwv9c.js → tool-output-p71gwv9c.js} +0 -0
  899. /package/dist/chunks/{location-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  900. /package/dist/chunks/{location-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  901. /package/dist/chunks/{location-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  902. /package/dist/chunks/{location-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  903. /package/dist/chunks/{location-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  904. /package/dist/chunks/{location-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  905. /package/dist/chunks/{location-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  906. /package/dist/chunks/{location-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  907. /package/dist/chunks/{location-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  908. /package/dist/chunks/{location-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  909. /package/dist/chunks/{location-syrav9an.js → tool-output-syrav9an.js} +0 -0
  910. /package/dist/chunks/{location-t03h4f5z.js → tool-output-t03h4f5z.js} +0 -0
  911. /package/dist/chunks/{location-ty7weeps.js → tool-output-ty7weeps.js} +0 -0
  912. /package/dist/chunks/{location-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
  913. /package/dist/chunks/{location-vtarvj67.js → tool-output-vtarvj67.js} +0 -0
  914. /package/dist/chunks/{location-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  915. /package/dist/chunks/{location-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  916. /package/dist/chunks/{location-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  917. /package/dist/chunks/{location-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  918. /package/dist/chunks/{location-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  919. /package/dist/chunks/{location-x61499pn.js → tool-output-x61499pn.js} +0 -0
  920. /package/dist/chunks/{location-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  921. /package/dist/chunks/{location-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  922. /package/dist/chunks/{location-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  923. /package/dist/chunks/{location-z0h12gs8.js → tool-output-z0h12gs8.js} +0 -0
  924. /package/dist/chunks/{location-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
  925. /package/dist/chunks/{location-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
  926. /package/dist/chunks/{location-zxpyjp51.js → tool-output-zxpyjp51.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service91
3
- } from "./location-cf0xxfvt.js";
3
+ } from "./tool-output-kzynbv05.js";
4
4
  import {
5
- Service71
6
- } from "./location-m5brqekz.js";
5
+ Service46
6
+ } from "./tool-output-51tbvpgh.js";
7
7
  import {
8
8
  detect2
9
- } from "./location-4pyp9zr9.js";
9
+ } from "./tool-output-4pyp9zr9.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./location-z355x5yr.js";
12
+ } from "./tool-output-d77dj7jw.js";
13
13
  import {
14
- Service67
15
- } from "./location-2hc2yyeh.js";
14
+ Service70
15
+ } from "./tool-output-a1qwck5h.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./location-ja2hdmbx.js";
19
+ } from "./tool-output-7ke2z32d.js";
20
20
  import {
21
21
  Ref2,
22
22
  refHash2
23
- } from "./location-prq7xxp2.js";
23
+ } from "./tool-output-fg9p65nk.js";
24
24
  import {
25
25
  read4
26
- } from "./location-vctewhgk.js";
26
+ } from "./tool-output-njtaczab.js";
27
27
  import {
28
28
  prepare3,
29
- Service51
30
- } from "./location-1xrr95rh.js";
29
+ Service44
30
+ } from "./tool-output-356qfvw9.js";
31
31
  import {
32
32
  __export
33
- } from "./location-9rqn6x4v.js";
33
+ } from "./tool-output-9rqn6x4v.js";
34
34
 
35
35
  // src/session/prompt.ts
36
36
  var exports_prompt = {};
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
48
48
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
49
49
  const fs = yield* FSUtil.Service;
50
50
  yield* awaitActivation2;
51
- const hooks = yield* Service67;
51
+ const hooks = yield* Service70;
52
52
  const event = yield* hooks.trigger("session", "prompt", {
53
53
  sessionID: request.session.id,
54
54
  messageID: request.messageID,
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
67
67
  const selected = yield* Effect.gen(function* () {
68
68
  if (!requested?.length)
69
69
  return;
70
- const skillService = yield* Service51;
70
+ const skillService = yield* Service44;
71
71
  const prepared = new Map;
72
72
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
73
73
  const name = prepared.get(attachment.id);
@@ -142,7 +142,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
142
142
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
143
143
  if (!RESIZABLE_IMAGE_MIMES.has(mime))
144
144
  return { data: Base64.make(data), mime };
145
- const image = yield* Service71;
145
+ const image = yield* Service46;
146
146
  const label = attachmentLabel(input);
147
147
  const content = { uri: label, content: data, encoding: "base64", mime };
148
148
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./location-rb9dy4dg.js";
10
+ } from "./tool-output-rb9dy4dg.js";
11
11
  import {
12
- Service84
13
- } from "./location-ng8mw9tj.js";
12
+ Service87
13
+ } from "./tool-output-rs43y10t.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./location-rnd3b2xd.js";
16
+ } from "./tool-output-pg3ntrnn.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./tool-output-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin38,
24
+ Plugin: () => Plugin20,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin38 = define({
33
+ var Plugin20 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service84;
36
+ const location = yield* Service87;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin38, exports_hg };
201
+ export { Plugin20, exports_hg };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service91,
3
3
  node94
4
- } from "./location-cf0xxfvt.js";
4
+ } from "./tool-output-kzynbv05.js";
5
5
  import {
6
6
  Service90,
7
7
  node93
8
- } from "./location-dkyhnhrn.js";
8
+ } from "./tool-output-33ex1g0t.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-pknna89w.js";
11
+ } from "./tool-output-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-m1714858.js";
14
+ } from "./tool-output-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./tool-output-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
- ID: () => ID19,
26
- Info: () => Info28,
25
+ ID: () => ID18,
26
+ Info: () => Info26,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service83,
29
+ Service: () => Service79,
30
30
  Value: () => Value2,
31
- node: () => node85
31
+ node: () => node81
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
39
  import { EffectFlock } from "@opencode/util/effect-flock";
40
- var ID19 = Credential.ID;
40
+ var ID18 = Credential.ID;
41
41
  var OAuth3 = Credential.OAuth;
42
42
  var Key4 = Credential.Key;
43
43
  var External2 = Credential.External;
44
44
  var Value2 = Credential.Value;
45
- var Event19 = Credential.Event;
45
+ var Event18 = Credential.Event;
46
46
 
47
- class Info28 extends Schema.Class("Credential.Info")({
48
- id: ID19,
47
+ class Info26 extends Schema.Class("Credential.Info")({
48
+ id: ID18,
49
49
  integrationID: Integration.ID,
50
50
  label: Schema.String,
51
51
  value: Value2
52
52
  }) {
53
53
  }
54
54
 
55
- class Service83 extends Context.Service()("@opencode/Credential") {
55
+ class Service79 extends Context.Service()("@opencode/Credential") {
56
56
  }
57
- var layer = Layer.effect(Service83, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
58
58
  const db = (yield* Service91).db;
59
59
  const bus = yield* Service90;
60
60
  const flock = yield* EffectFlock.Service;
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
64
64
  const stored = (row) => {
65
65
  if (!row.integration_id)
66
66
  return;
67
- return new Info28({
67
+ return new Info26({
68
68
  id: row.id,
69
69
  integrationID: row.integration_id,
70
70
  label: row.label,
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
83
83
  yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
84
84
  });
85
85
  const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
86
- return Service83.of({
86
+ return Service79.of({
87
87
  lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
88
88
  const current = pending.get(id);
89
89
  if (current)
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
99
99
  return row ? stored(row) : undefined;
100
100
  }),
101
101
  create: Effect.fn("Credential.create")(function* (input) {
102
- const credential = new Info28({
103
- id: input.id ?? ID19.create(),
102
+ const credential = new Info26({
103
+ id: input.id ?? ID18.create(),
104
104
  integrationID: input.integrationID,
105
105
  label: input.label ?? "default",
106
106
  value: input.value
@@ -130,9 +130,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
130
130
  type: credential.value.type,
131
131
  active: activated
132
132
  });
133
- yield* bus.publish(Event19.Updated, {}, { global: true });
133
+ yield* bus.publish(Event18.Updated, {}, { global: true });
134
134
  if (activated)
135
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
135
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
136
136
  return credential;
137
137
  }),
138
138
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
148
148
  })).pipe(logFailure("credential activate failed", { credentialID: id }));
149
149
  if (integrationID) {
150
150
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
151
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
151
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
152
152
  }
153
153
  }),
154
154
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
173
173
  labelChanged: updates.label !== undefined && updates.label !== credential.label
174
174
  });
175
175
  if (updates.label !== undefined && updates.label !== credential.label)
176
- yield* bus.publish(Event19.Updated, {}, { global: true });
176
+ yield* bus.publish(Event18.Updated, {}, { global: true });
177
177
  }),
178
178
  remove: Effect.fn("Credential.remove")(function* (id) {
179
179
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -201,12 +201,12 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
201
201
  active: removed.switched,
202
202
  ...removed.switched ? { replacementID: removed.credentialID } : {}
203
203
  });
204
- yield* bus.publish(Event19.Updated, {}, { global: true });
204
+ yield* bus.publish(Event18.Updated, {}, { global: true });
205
205
  if (removed.switched)
206
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
206
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
207
207
  })
208
208
  });
209
209
  }));
210
- var node85 = makeGlobalNode({ service: Service83, layer, deps: [node94, node93, EffectFlock.node] });
210
+ var node81 = makeGlobalNode({ service: Service79, layer, deps: [node94, node93, EffectFlock.node] });
211
211
 
212
- export { ID19, OAuth3, Key4, External2, Value2, Event19, Info28, Service83, node85, exports_credential };
212
+ export { ID18, OAuth3, Key4, External2, Value2, Event18, Info26, Service79, node81, exports_credential };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./location-gftt206x.js";
3
+ } from "./tool-output-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./tool-output-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -22,7 +22,7 @@ var projectTerminalSnapshot = (draft, event) => {
22
22
  files: event.data.files ? Array.from(event.data.files) : undefined
23
23
  };
24
24
  };
25
- function update3(adapter, event) {
25
+ function update2(adapter, event) {
26
26
  const created = DateTime.makeUnsafe(event.created);
27
27
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
28
28
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -403,4 +403,4 @@ function update3(adapter, event) {
403
403
  return project(event);
404
404
  }
405
405
 
406
- export { update3, exports_message_updater };
406
+ export { update2, exports_message_updater };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ProjectTable2
3
- } from "./location-aj7mw0zk.js";
3
+ } from "./tool-output-aj7mw0zk.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./tool-output-9rqn6x4v.js";
7
7
 
8
8
  // src/project/icon.ts
9
9
  var exports_icon = {};
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make32,
5
5
  listUpdate2
6
- } from "./location-t62dywgn.js";
6
+ } from "./tool-output-t62dywgn.js";
7
7
  import {
8
8
  evaluate3
9
- } from "./location-qwxddvhv.js";
9
+ } from "./tool-output-2397d0qs.js";
10
10
  import {
11
- Service41,
12
- node44
13
- } from "./location-qgjrqfzw.js";
11
+ Service34,
12
+ node37
13
+ } from "./tool-output-v2xh9bjj.js";
14
14
  import {
15
15
  namespace2,
16
- name16
17
- } from "./location-vk3sbvx6.js";
16
+ name15
17
+ } from "./tool-output-fvqbnn4y.js";
18
18
  import {
19
19
  __export
20
- } from "./location-9rqn6x4v.js";
20
+ } from "./tool-output-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions5 = {};
24
- __export(exports_instructions5, {
25
- McpInstructions: () => exports_instructions5,
26
- Service: () => Service33,
27
- layer: () => layer12,
28
- node: () => node37
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service31,
27
+ layer: () => layer13,
28
+ node: () => node34
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = listUpdate2({
57
57
  }
58
58
  });
59
59
 
60
- class Service33 extends Context.Service()("@opencode/McpInstructions") {
60
+ class Service31 extends Context.Service()("@opencode/McpInstructions") {
61
61
  }
62
- var layer12 = Layer.effect(Service33, Effect.gen(function* () {
63
- const mcp = yield* Service41;
64
- return Service33.of({
62
+ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
63
+ const mcp = yield* Service34;
64
+ return Service31.of({
65
65
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
66
66
  const source = (value) => make32({
67
67
  key: Key3.make("core/mcp-guidance"),
@@ -80,7 +80,7 @@ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
80
80
  const visible = instructions.flatMap((item) => {
81
81
  const owned = tools.filter((tool) => tool.server === item.server);
82
82
  const codemode = canExecute && owned[0]?.codemode !== false;
83
- if (!owned.some((tool) => evaluate3(name16(tool.server, tool.name), "*", permissions).effect !== "deny"))
83
+ if (!owned.some((tool) => evaluate3(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
84
84
  return [];
85
85
  return [
86
86
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -90,6 +90,6 @@ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
90
90
  })
91
91
  });
92
92
  }));
93
- var node37 = makeLocationNode({ service: Service33, layer: layer12, deps: [node44] });
93
+ var node34 = makeLocationNode({ service: Service31, layer: layer13, deps: [node37] });
94
94
 
95
- export { Service33, layer12, node37, exports_instructions5 };
95
+ export { Service31, layer13, node34, exports_instructions4 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./location-dkyhnhrn.js";
4
+ } from "./tool-output-33ex1g0t.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./tool-output-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,30 +12,30 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID18,
19
+ ID: () => ID19,
20
20
  Info: () => Info27,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError12,
24
24
  Reply: () => Reply3,
25
- Service: () => Service82,
25
+ Service: () => Service80,
26
26
  State: () => State3,
27
27
  When: () => When3,
28
- layer: () => layer25,
29
- node: () => node84,
28
+ layer: () => layer27,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event18 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID18 = Form.ID;
38
+ var ID19 = Form.ID;
39
39
  var Info27 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID18
48
+ id: ID19
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID18
56
+ id: ID19
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID18
64
+ id: ID19
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID18,
72
+ id: ID19,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service82 extends Context.Service()("@opencode/Form") {
82
+ class Service80 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service82, Effect.gen(function* () {
84
+ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
85
85
  const bus = yield* Service90;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service82, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID18.create();
93
+ const id = input.id ?? ID19.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service82, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service82.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service80.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node84 = makeLocationNode({ service: Service82, layer: layer25, deps: [node93] });
167
+ var node82 = makeLocationNode({ service: Service80, layer: layer27, deps: [node93] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID18, Info27, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer25, node84, validateAnswer2, validateFields2, exports_form, Event18 };
319
+ export { ID19, Info27, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer27, node82, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./location-z5v4ffb3.js";
3
+ } from "./tool-output-z5v4ffb3.js";
4
4
  import {
5
- Service84
6
- } from "./location-ng8mw9tj.js";
5
+ Service87
6
+ } from "./tool-output-rs43y10t.js";
7
7
  import {
8
- Service58
9
- } from "./location-sa4nqxt2.js";
8
+ Service85
9
+ } from "./tool-output-dakaherw.js";
10
10
  import {
11
11
  InvalidPatternError2,
12
- Service52
13
- } from "./location-3w8bmz7a.js";
12
+ Service84
13
+ } from "./tool-output-k0pcsrds.js";
14
14
  import {
15
15
  DEFAULT_SEARCH_LIMIT2,
16
16
  GrepInput2,
17
17
  Entry2,
18
18
  Match2
19
- } from "./location-4ehf0h4n.js";
19
+ } from "./tool-output-r3ktkn7y.js";
20
20
  import {
21
21
  invocation2,
22
- Service64
23
- } from "./location-qwxddvhv.js";
22
+ Service67
23
+ } from "./tool-output-2397d0qs.js";
24
24
  import {
25
- Service22
26
- } from "./location-aa5gs0ma.js";
25
+ Service66
26
+ } from "./tool-output-yg6xkjrk.js";
27
27
  import {
28
28
  pathType2,
29
29
  bounded2
30
- } from "./location-jpb0ceh1.js";
30
+ } from "./tool-output-nf9m8bvx.js";
31
31
  import {
32
32
  __export
33
- } from "./location-9rqn6x4v.js";
33
+ } from "./tool-output-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input8,
40
- Output: () => Output6,
41
- Plugin: () => Plugin28,
42
- name: () => name8,
43
- toModelContent: () => toModelContent4
39
+ Input: () => Input2,
40
+ Output: () => Output2,
41
+ Plugin: () => Plugin2,
42
+ name: () => name2,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name8 = "grep";
49
- var Input8 = Schema.Struct({
48
+ var name2 = "grep";
49
+ var Input2 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -66,8 +66,8 @@ var Input8 = Schema.Struct({
66
66
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
67
67
  })
68
68
  });
69
- var Output6 = Schema.Array(Match2);
70
- var toModelContent4 = (matches, truncated = false) => {
69
+ var Output2 = Schema.Array(Match2);
70
+ var toModelContent2 = (matches, truncated = false) => {
71
71
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
72
72
  let current = "";
73
73
  for (const match of matches) {
@@ -84,25 +84,25 @@ var toModelContent4 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin28 = {
87
+ var Plugin2 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service58;
91
- const ripgrep = yield* Service52;
92
- const location = yield* Service84;
93
- const access = yield* Service22;
94
- const permission = yield* Service64;
90
+ const environment = yield* Service85;
91
+ const ripgrep = yield* Service84;
92
+ const location = yield* Service87;
93
+ const access = yield* Service66;
94
+ const permission = yield* Service67;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name8,
96
+ name: name2,
97
97
  options: { codemode: false },
98
98
  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.",
99
- input: Input8,
100
- output: Output6,
99
+ input: Input2,
100
+ output: Output2,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name8,
105
+ action: name2,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -139,7 +139,7 @@ var Plugin28 = {
139
139
  };
140
140
  }).pipe(Effect.map((result) => ({
141
141
  output: result.matches,
142
- content: toModelContent4(result.matches.map((match) => ({
142
+ content: toModelContent2(result.matches.map((match) => ({
143
143
  ...match,
144
144
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
145
145
  })), result.truncated),
@@ -149,4 +149,4 @@ var Plugin28 = {
149
149
  })
150
150
  };
151
151
 
152
- export { name8, Input8, Output6, toModelContent4, Plugin28, exports_grep };
152
+ export { name2, Input2, Output2, toModelContent2, Plugin2, exports_grep };