@opencode/core 0.0.0-dev-87 → 0.0.0-dev-91

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 (828) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/tool-00ve6mdn.js +18 -0
  8. package/dist/chunks/{generate-2azy8kv6.js → tool-0ahs07zn.js} +4 -4
  9. package/dist/chunks/{generate-p2tkcgx5.js → tool-0c8f71n7.js} +19 -19
  10. package/dist/chunks/{generate-hf1hr246.js → tool-0fwfag3t.js} +9 -9
  11. package/dist/chunks/{generate-e828w2e7.js → tool-0j4991a9.js} +17 -17
  12. package/dist/chunks/{generate-yd4fy85j.js → tool-0j8sypb1.js} +29 -29
  13. package/dist/chunks/{generate-818gekyj.js → tool-0qbg5y1h.js} +85 -85
  14. package/dist/chunks/{generate-mhdbmyw1.js → tool-0ryed6y5.js} +17 -17
  15. package/dist/chunks/{generate-x8nvjgx0.js → tool-11hfp36g.js} +4 -4
  16. package/dist/chunks/{generate-yr7x8ded.js → tool-14g07qkw.js} +25 -25
  17. package/dist/chunks/{generate-r55wb87a.js → tool-1cp227ey.js} +17 -17
  18. package/dist/chunks/{generate-0tmz53w6.js → tool-1ftdw7h3.js} +20 -20
  19. package/dist/chunks/{generate-gnrr882k.js → tool-1gbxvym9.js} +8 -8
  20. package/dist/chunks/{generate-t32ymm9y.js → tool-1ggxchhs.js} +16 -16
  21. package/dist/chunks/{generate-1kn6jdkn.js → tool-1kn6jdkn.js} +1 -1
  22. package/dist/chunks/{generate-jd96tgqq.js → tool-1pnwdb4n.js} +32 -32
  23. package/dist/chunks/{generate-b46zkj5d.js → tool-1q93rhva.js} +13 -13
  24. package/dist/chunks/{generate-btwfb7t4.js → tool-1svbn1jm.js} +4 -4
  25. package/dist/chunks/{generate-d1k9066s.js → tool-1t618e4c.js} +51 -51
  26. package/dist/chunks/{generate-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{generate-5zrxpy3q.js → tool-1yq9hg58.js} +5 -5
  28. package/dist/chunks/{generate-16y4e4a2.js → tool-1zfa644b.js} +35 -35
  29. package/dist/chunks/{generate-204s3925.js → tool-204s3925.js} +1 -1
  30. package/dist/chunks/{generate-cqe6vd9h.js → tool-230veacn.js} +12 -12
  31. package/dist/chunks/{generate-1ep2p91f.js → tool-27w5k9zf.js} +2 -2
  32. package/dist/chunks/{generate-wyh1p29c.js → tool-28v09jk4.js} +9 -9
  33. package/dist/chunks/{generate-s7kyse9r.js → tool-2kg89srt.js} +4 -4
  34. package/dist/chunks/{generate-2pkq6szf.js → tool-2kxyfk53.js} +1 -1
  35. package/dist/chunks/{generate-nmyhvz06.js → tool-2rvkjrha.js} +8 -8
  36. package/dist/chunks/{generate-z4vzxt5p.js → tool-2x2ke6ta.js} +20 -20
  37. package/dist/chunks/{generate-vg0erq9k.js → tool-2zp5a6yg.js} +3 -3
  38. package/dist/chunks/{generate-1c8y2w1q.js → tool-305xqwqt.js} +28 -33
  39. package/dist/chunks/{generate-sznyev98.js → tool-38adaqc0.js} +5 -5
  40. package/dist/chunks/{generate-0jzmh3a6.js → tool-3a164vj7.js} +16 -16
  41. package/dist/chunks/{generate-ayjs7tqn.js → tool-3cbjf1nt.js} +2 -2
  42. package/dist/chunks/{generate-qts7zgd1.js → tool-3dqda9j1.js} +56 -56
  43. package/dist/chunks/{generate-991qk5jk.js → tool-3e3jqjep.js} +7 -7
  44. package/dist/chunks/{generate-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{generate-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
  46. package/dist/chunks/{generate-v3pw954j.js → tool-3ran0gcz.js} +4 -4
  47. package/dist/chunks/{generate-89abfd8b.js → tool-3vschx9t.js} +4 -4
  48. package/dist/chunks/{generate-rzpt8mef.js → tool-3xf4gmea.js} +33 -33
  49. package/dist/chunks/{generate-w2eysc6j.js → tool-40za9wsf.js} +9 -9
  50. package/dist/chunks/{generate-78y6m8dk.js → tool-46hcmk88.js} +88 -88
  51. package/dist/chunks/{generate-j159kvx1.js → tool-4h4e17dv.js} +42 -42
  52. package/dist/chunks/{generate-fzkz23w5.js → tool-4jxvx69e.js} +3 -3
  53. package/dist/chunks/{generate-7x8jfkmr.js → tool-4mfe4fpk.js} +3 -3
  54. package/dist/chunks/{generate-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
  55. package/dist/chunks/{generate-4v008n1t.js → tool-4v008n1t.js} +1 -1
  56. package/dist/chunks/{generate-4drphn98.js → tool-4xer52tg.js} +9 -9
  57. package/dist/chunks/{generate-0dpxnw4q.js → tool-517jtzaa.js} +6 -6
  58. package/dist/chunks/{generate-2g20sybe.js → tool-52b9nvdb.js} +13 -13
  59. package/dist/chunks/{generate-rkjz549p.js → tool-5571esjp.js} +23 -23
  60. package/dist/chunks/{generate-hc2ycws5.js → tool-5849hgw0.js} +17 -17
  61. package/dist/chunks/{generate-9gdvrvfc.js → tool-5fn6dbwx.js} +5 -5
  62. package/dist/chunks/{generate-rfak1rzh.js → tool-5k73ne16.js} +21 -21
  63. package/dist/chunks/{generate-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{generate-zwz3fy33.js → tool-5phnv3yb.js} +6 -6
  65. package/dist/chunks/{generate-67vtrwg2.js → tool-5wj60p4s.js} +11 -11
  66. package/dist/chunks/{generate-64zkmzsq.js → tool-5y20gt8q.js} +3 -3
  67. package/dist/chunks/{generate-bjhzkqyk.js → tool-61ennm6n.js} +4 -4
  68. package/dist/chunks/{generate-59193z7h.js → tool-61q2c8gp.js} +2 -2
  69. package/dist/chunks/{generate-6kgtq8xg.js → tool-68x0q3w1.js} +31 -31
  70. package/dist/chunks/{generate-f82ew3ak.js → tool-698qh926.js} +11 -11
  71. package/dist/chunks/{generate-fjk0zdw3.js → tool-69xqjxg7.js} +8 -8
  72. package/dist/chunks/{generate-86q398xn.js → tool-6b8745b8.js} +15 -15
  73. package/dist/chunks/{generate-6esdw8yj.js → tool-6esdw8yj.js} +1 -1
  74. package/dist/chunks/{generate-qamv2m5k.js → tool-6fx7ap1b.js} +19 -19
  75. package/dist/chunks/{generate-rjh02mhk.js → tool-6g0tafez.js} +18 -18
  76. package/dist/chunks/{generate-3sd2gr1e.js → tool-6khygjy4.js} +22 -22
  77. package/dist/chunks/{generate-zwy5xyev.js → tool-6wkw62dq.js} +18 -18
  78. package/dist/chunks/{generate-2hqf8r92.js → tool-72nd48f3.js} +16 -16
  79. package/dist/chunks/{generate-yjerzzbx.js → tool-74zhyzb7.js} +6 -6
  80. package/dist/chunks/{generate-d7vsngc8.js → tool-75c6t5n2.js} +43 -43
  81. package/dist/chunks/{generate-76cb1hcw.js → tool-76cb1hcw.js} +1 -1
  82. package/dist/chunks/{generate-770pw0s1.js → tool-770pw0s1.js} +1 -1
  83. package/dist/chunks/{generate-c455t25p.js → tool-7aawz9ta.js} +11 -11
  84. package/dist/chunks/{generate-tbeb6h6m.js → tool-7aerd0dr.js} +7 -7
  85. package/dist/chunks/{generate-mhvba134.js → tool-7aq6rx75.js} +50 -50
  86. package/dist/chunks/{generate-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{generate-vnhacxac.js → tool-7ddp8ank.js} +22 -22
  88. package/dist/chunks/{generate-arh45t57.js → tool-7enbyk8v.js} +15 -15
  89. package/dist/chunks/{generate-gm5dcth4.js → tool-7ez3gjeb.js} +15 -15
  90. package/dist/chunks/{generate-fmqd5ezs.js → tool-7heva7vf.js} +15 -15
  91. package/dist/chunks/{generate-sngd0g0b.js → tool-7jz89kf0.js} +5 -5
  92. package/dist/chunks/{generate-bqrtctjr.js → tool-7mjr8a8n.js} +48 -48
  93. package/dist/chunks/{generate-7pj4wqt5.js → tool-7nbypc4n.js} +10 -10
  94. package/dist/chunks/{generate-s0pffs2s.js → tool-7spmdhhv.js} +12 -12
  95. package/dist/chunks/{generate-h3y9bj94.js → tool-7t6vbzys.js} +29 -29
  96. package/dist/chunks/{generate-fwkt2j9j.js → tool-7w0d3x1p.js} +35 -35
  97. package/dist/chunks/{generate-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
  98. package/dist/chunks/{generate-4v04ms9s.js → tool-852b9zb5.js} +26 -26
  99. package/dist/chunks/{generate-p2thmtjd.js → tool-860bwv8p.js} +10 -10
  100. package/dist/chunks/{generate-absbpnym.js → tool-8vdz7xys.js} +11 -11
  101. package/dist/chunks/{generate-kqsaryg6.js → tool-8wdz4h3x.js} +26 -26
  102. package/dist/chunks/{generate-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
  103. package/dist/chunks/{generate-90zstvax.js → tool-90zstvax.js} +1 -1
  104. package/dist/chunks/{generate-k47s3wnw.js → tool-91gn8tjy.js} +14 -14
  105. package/dist/chunks/{generate-t9ybhp1q.js → tool-9ctmy678.js} +35 -35
  106. package/dist/chunks/{generate-0xme6znc.js → tool-9pneywy4.js} +8 -8
  107. package/dist/chunks/{generate-61c8yr0p.js → tool-9qcg53ez.js} +9 -9
  108. package/dist/chunks/{generate-m4qbnc51.js → tool-9w4n3zkz.js} +6 -6
  109. package/dist/chunks/{generate-jf5akgkh.js → tool-9yr7e8hg.js} +17 -17
  110. package/dist/chunks/{generate-034tev2y.js → tool-aj7mw0zk.js} +2 -2
  111. package/dist/chunks/{generate-k5g3zbfj.js → tool-av2yj9c6.js} +11 -11
  112. package/dist/chunks/{generate-36zfs5jy.js → tool-awnpzmr9.js} +15 -15
  113. package/dist/chunks/tool-axtqa2m2.js +26 -0
  114. package/dist/chunks/{generate-x4swjz8b.js → tool-axy5ptv8.js} +14 -17
  115. package/dist/chunks/{generate-b6vsg801.js → tool-b6vsg801.js} +2 -2
  116. package/dist/chunks/{generate-cbbd8wae.js → tool-ba26w197.js} +2 -2
  117. package/dist/chunks/{generate-3ec56k2d.js → tool-beyjcx72.js} +2 -2
  118. package/dist/chunks/{generate-wm4h87ch.js → tool-bq6jjxqp.js} +27 -27
  119. package/dist/chunks/{generate-xd9cc171.js → tool-bstexjd6.js} +5 -5
  120. package/dist/chunks/{generate-6bwjnpkg.js → tool-bw4r357a.js} +6 -6
  121. package/dist/chunks/{generate-30q4jaxv.js → tool-by8ezbee.js} +7 -7
  122. package/dist/chunks/{generate-kgn3zbqp.js → tool-c4x8pk91.js} +3 -3
  123. package/dist/chunks/{generate-4cge8fea.js → tool-c50m1jnq.js} +18 -18
  124. package/dist/chunks/{generate-ts45p5da.js → tool-c9c3vcvh.js} +6 -6
  125. package/dist/chunks/{generate-8rgb2cvr.js → tool-cmwydw43.js} +9 -9
  126. package/dist/chunks/{generate-940k53ws.js → tool-cqw9ekvn.js} +9 -9
  127. package/dist/chunks/{generate-j5g81aj1.js → tool-cs175ng9.js} +36 -36
  128. package/dist/chunks/{generate-9me4kjev.js → tool-ct12tdge.js} +77 -77
  129. package/dist/chunks/{generate-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
  130. package/dist/chunks/{generate-2w5fjxjh.js → tool-d05zg70t.js} +24 -24
  131. package/dist/chunks/{generate-srjr8tp2.js → tool-d24g109n.js} +4 -4
  132. package/dist/chunks/{generate-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
  133. package/dist/chunks/{generate-zmg6vytx.js → tool-dcanc5rs.js} +11 -11
  134. package/dist/chunks/{generate-7w0hvkcz.js → tool-dp2cvfdy.js} +31 -31
  135. package/dist/chunks/{generate-s3hnj3sh.js → tool-draeheqz.js} +12 -12
  136. package/dist/chunks/{generate-p7f9amnf.js → tool-drvbhkez.js} +6 -6
  137. package/dist/chunks/{generate-f01y088k.js → tool-ds7r37yp.js} +5 -5
  138. package/dist/chunks/{generate-dt77769w.js → tool-dt77769w.js} +1 -1
  139. package/dist/chunks/{generate-rehf1aas.js → tool-e1mb4rnk.js} +6 -6
  140. package/dist/chunks/{generate-e834z07m.js → tool-e834z07m.js} +1 -1
  141. package/dist/chunks/{generate-b8dj6a54.js → tool-ee45cksz.js} +14 -14
  142. package/dist/chunks/{generate-mpck3vvq.js → tool-emmmyxzw.js} +22 -22
  143. package/dist/chunks/{generate-gg8p9cgs.js → tool-ep59zg61.js} +3 -3
  144. package/dist/chunks/{generate-3sx2qntx.js → tool-ep9ghbrk.js} +11 -11
  145. package/dist/chunks/{generate-y3nv4ez5.js → tool-ex547tfp.js} +24 -24
  146. package/dist/chunks/{generate-88mc9j9w.js → tool-f3yfea70.js} +1 -1
  147. package/dist/chunks/{generate-8xhzaz53.js → tool-f97eyc81.js} +5 -5
  148. package/dist/chunks/{generate-wd4z6ete.js → tool-fcdhbwna.js} +11 -13
  149. package/dist/chunks/{generate-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
  150. package/dist/chunks/{generate-fg9p65nk.js → tool-fg9p65nk.js} +2 -2
  151. package/dist/chunks/{generate-fr7md461.js → tool-fhq3mczf.js} +17 -17
  152. package/dist/chunks/{generate-w687dnns.js → tool-fznmdakp.js} +4 -4
  153. package/dist/chunks/{generate-qkggpte4.js → tool-gbzp4egg.js} +18 -18
  154. package/dist/chunks/{generate-8nc8rjna.js → tool-gcmr6tz2.js} +25 -25
  155. package/dist/chunks/{generate-5a1mkymt.js → tool-gk277ckk.js} +2 -2
  156. package/dist/chunks/{generate-j42fhrkd.js → tool-gn34jygc.js} +21 -21
  157. package/dist/chunks/{generate-6wz31r82.js → tool-gp067yzn.js} +11 -11
  158. package/dist/chunks/{generate-q7fhnth2.js → tool-gr5kqd9r.js} +25 -25
  159. package/dist/chunks/{generate-4tqs0jzk.js → tool-h3b857xk.js} +4 -4
  160. package/dist/chunks/{generate-9b9797hz.js → tool-h57pbter.js} +13 -13
  161. package/dist/chunks/{generate-hdfrs5mg.js → tool-hdfrs5mg.js} +2 -2
  162. package/dist/chunks/{generate-j2j8je9q.js → tool-hed2thzz.js} +13 -13
  163. package/dist/chunks/{generate-hfgk9wzg.js → tool-hfgk9wzg.js} +1 -1
  164. package/dist/chunks/{generate-hf19evcz.js → tool-hghxj8gh.js} +26 -26
  165. package/dist/chunks/{generate-5x26af84.js → tool-hj8dv2fv.js} +4 -4
  166. package/dist/chunks/tool-hknrdqqs.js +257 -0
  167. package/dist/chunks/{generate-rvk59cr0.js → tool-hn0gtwg2.js} +5 -5
  168. package/dist/chunks/{generate-hpg1pkwy.js → tool-hpg1pkwy.js} +1 -1
  169. package/dist/chunks/{generate-f7d0b8ry.js → tool-hq4hw89f.js} +22 -22
  170. package/dist/chunks/{generate-w0rj9p92.js → tool-hqz3v7ac.js} +6 -6
  171. package/dist/chunks/{generate-zzaj8j6e.js → tool-hvb7rpxf.js} +15 -15
  172. package/dist/chunks/{generate-5yz609yq.js → tool-hwp1rwn1.js} +16 -16
  173. package/dist/chunks/{generate-52sy2wcq.js → tool-j1568g2c.js} +9 -9
  174. package/dist/chunks/{generate-m82x15zv.js → tool-j5cqker3.js} +4 -4
  175. package/dist/chunks/{generate-ztph5cdk.js → tool-j8rqras6.js} +7 -7
  176. package/dist/chunks/{generate-7xy7a1h3.js → tool-j9z4bav5.js} +36 -36
  177. package/dist/chunks/{generate-n6v2b7cw.js → tool-ja63h2sr.js} +5 -5
  178. package/dist/chunks/{generate-cvp0wny2.js → tool-jem635sa.js} +7 -7
  179. package/dist/chunks/{generate-jfaecv01.js → tool-jfaecv01.js} +1 -1
  180. package/dist/chunks/{generate-8ap1sysz.js → tool-jh6e5x5q.js} +24 -24
  181. package/dist/chunks/{generate-qt1tmgng.js → tool-jtj22pb2.js} +15 -15
  182. package/dist/chunks/{generate-jtnps1zs.js → tool-jtnps1zs.js} +2 -2
  183. package/dist/chunks/{generate-dh7hd762.js → tool-jx64hzqx.js} +17 -17
  184. package/dist/chunks/{generate-pbp9p02f.js → tool-k65b2vst.js} +27 -27
  185. package/dist/chunks/{generate-k814nvkf.js → tool-k814nvkf.js} +1 -1
  186. package/dist/chunks/{generate-z6nazckk.js → tool-k86ss76b.js} +14 -14
  187. package/dist/chunks/{generate-dc3k7rmc.js → tool-k8dvdjfn.js} +4 -4
  188. package/dist/chunks/{generate-gmp42p7z.js → tool-k91y97gc.js} +14 -14
  189. package/dist/chunks/{generate-e07q2w5p.js → tool-k9zkdd2y.js} +4 -4
  190. package/dist/chunks/{generate-0rvj68xf.js → tool-kfjnvpza.js} +2 -2
  191. package/dist/chunks/{generate-83y8w05q.js → tool-kpm58pge.js} +27 -27
  192. package/dist/chunks/{generate-jcrvejfm.js → tool-krv0p5sn.js} +11 -11
  193. package/dist/chunks/{generate-7yect7x1.js → tool-ks317rcp.js} +2 -2
  194. package/dist/chunks/{generate-kt3bjfbg.js → tool-kt3bjfbg.js} +1 -1
  195. package/dist/chunks/{generate-c710zz1y.js → tool-kx5zbgb5.js} +18 -18
  196. package/dist/chunks/{generate-7zkkbwvc.js → tool-m0jwy07f.js} +30 -30
  197. package/dist/chunks/{generate-m1714858.js → tool-m1714858.js} +1 -1
  198. package/dist/chunks/{generate-9e0cpdz3.js → tool-m6s8mxr7.js} +10 -10
  199. package/dist/chunks/{generate-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  200. package/dist/chunks/{generate-qvt710z0.js → tool-ma572n1c.js} +5 -5
  201. package/dist/chunks/{generate-dvbbkw5b.js → tool-mfvvktb5.js} +36 -71
  202. package/dist/chunks/{generate-hejbcmkq.js → tool-mkxa71wh.js} +25 -25
  203. package/dist/chunks/{generate-wgvnftve.js → tool-mpe6qr53.js} +8 -8
  204. package/dist/chunks/{generate-4rmhy327.js → tool-mwg5k7zj.js} +30 -30
  205. package/dist/chunks/{generate-ewr5k9wg.js → tool-n3bkb5q1.js} +8 -8
  206. package/dist/chunks/{generate-a20trqj4.js → tool-n3eppyw3.js} +28 -28
  207. package/dist/chunks/{generate-nj2tkpbg.js → tool-nad4mkqt.js} +8 -8
  208. package/dist/chunks/{generate-d78wxmc5.js → tool-ndtrv5vn.js} +32 -32
  209. package/dist/chunks/{generate-czrgpaxw.js → tool-ngbav3vd.js} +39 -39
  210. package/dist/chunks/{generate-hqskcfk9.js → tool-njyr3yz2.js} +152 -152
  211. package/dist/chunks/{generate-37b1yngk.js → tool-nk68y23q.js} +1 -1
  212. package/dist/chunks/{generate-p015t6z3.js → tool-p015t6z3.js} +2 -2
  213. package/dist/chunks/{generate-qt4dfm0j.js → tool-pg5ky8fn.js} +6 -6
  214. package/dist/chunks/{generate-7g6x95rm.js → tool-pjzajrbc.js} +54 -54
  215. package/dist/chunks/{generate-pknna89w.js → tool-pknna89w.js} +1 -1
  216. package/dist/chunks/{generate-26m29gst.js → tool-pqyr85nv.js} +30 -30
  217. package/dist/chunks/{generate-jhf76er4.js → tool-pvjefvaz.js} +19 -19
  218. package/dist/chunks/{generate-py366xq1.js → tool-py366xq1.js} +3 -3
  219. package/dist/chunks/{generate-pqymy2f2.js → tool-q2j9e0vw.js} +33 -33
  220. package/dist/chunks/{generate-vgt7797x.js → tool-q3v7sg8t.js} +16 -16
  221. package/dist/chunks/{generate-h9dnh5h3.js → tool-q3xtnt1c.js} +11 -11
  222. package/dist/chunks/{generate-e8d90cjd.js → tool-q4vfmnms.js} +29 -29
  223. package/dist/chunks/{generate-8c3av2v0.js → tool-q8fk1046.js} +32 -32
  224. package/dist/chunks/{generate-kejwhkvj.js → tool-q9z0p7gh.js} +18 -18
  225. package/dist/chunks/{generate-vd6hx57c.js → tool-qb7a72fd.js} +13 -13
  226. package/dist/chunks/{generate-qk9496nf.js → tool-qg14jn6v.js} +21 -21
  227. package/dist/chunks/{generate-xcypbb09.js → tool-qgtqwdmb.js} +12 -12
  228. package/dist/chunks/{generate-yara3q77.js → tool-qkw2jr9b.js} +2 -2
  229. package/dist/chunks/{generate-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
  230. package/dist/chunks/{generate-r0yr0wbs.js → tool-r0yr0wbs.js} +1 -1
  231. package/dist/chunks/{generate-r542h3bh.js → tool-r542h3bh.js} +1 -1
  232. package/dist/chunks/{generate-ra34yqmw.js → tool-ra34yqmw.js} +1 -1
  233. package/dist/chunks/{generate-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
  234. package/dist/chunks/{generate-wpwj3xyb.js → tool-rj977cyr.js} +23 -23
  235. package/dist/chunks/{generate-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
  236. package/dist/chunks/{generate-tjjeexw4.js → tool-s36045k5.js} +26 -26
  237. package/dist/chunks/{generate-1xp23f31.js → tool-s4g3e7mz.js} +26 -26
  238. package/dist/chunks/{generate-sbvcw7gr.js → tool-s631gf5j.js} +24 -24
  239. package/dist/chunks/{generate-h1vdv31k.js → tool-s8gnseh8.js} +323 -329
  240. package/dist/chunks/{generate-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
  241. package/dist/chunks/{generate-j581asrx.js → tool-sar0kh51.js} +16 -16
  242. package/dist/chunks/{generate-ggf6q6xq.js → tool-scjxmssc.js} +11 -11
  243. package/dist/chunks/{generate-sqjzf8x2.js → tool-sqjzf8x2.js} +1 -1
  244. package/dist/chunks/{generate-ssfehs1z.js → tool-ssfehs1z.js} +1 -1
  245. package/dist/chunks/{generate-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
  246. package/dist/chunks/{generate-5q7eqyw1.js → tool-sweqe2a6.js} +13 -13
  247. package/dist/chunks/{generate-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
  248. package/dist/chunks/{generate-dj0ndjwf.js → tool-tn29j0fz.js} +8 -8
  249. package/dist/chunks/{generate-twssxy5n.js → tool-twssxy5n.js} +2 -2
  250. package/dist/chunks/{generate-0syn0ek0.js → tool-tzr3pa0w.js} +9 -9
  251. package/dist/chunks/{generate-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
  252. package/dist/chunks/{generate-g6y6gxmp.js → tool-v8t9vyt9.js} +30 -30
  253. package/dist/chunks/{generate-wevr71gn.js → tool-v9m2ypfg.js} +14 -14
  254. package/dist/chunks/{generate-fyxqncs3.js → tool-vaq1yek0.js} +6 -6
  255. package/dist/chunks/{generate-veqvce7d.js → tool-veqvce7d.js} +1 -1
  256. package/dist/chunks/{generate-dyn968e0.js → tool-vkd92t59.js} +38 -38
  257. package/dist/chunks/{generate-jm2sbvr9.js → tool-vnxqy2jq.js} +26 -26
  258. package/dist/chunks/{generate-bgm817xr.js → tool-vrcsa8qx.js} +9 -9
  259. package/dist/chunks/{generate-vpm8vpz0.js → tool-vtgxp655.js} +2 -2
  260. package/dist/chunks/{generate-c201zrjy.js → tool-vz02t2s9.js} +41 -41
  261. package/dist/chunks/{generate-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{generate-zfnetmcr.js → tool-w5w2ye0s.js} +3 -3
  263. package/dist/chunks/{generate-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
  264. package/dist/chunks/{generate-wd87259q.js → tool-wd87259q.js} +1 -1
  265. package/dist/chunks/{generate-wd88qh38.js → tool-wm8ps0kb.js} +22 -22
  266. package/dist/chunks/{generate-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
  267. package/dist/chunks/{generate-5q37s2hn.js → tool-wtjwwyta.js} +12 -12
  268. package/dist/chunks/{generate-6gbxzgzx.js → tool-wxf92x0x.js} +1 -1
  269. package/dist/chunks/{generate-y8evj2ev.js → tool-wzcyht23.js} +44 -44
  270. package/dist/chunks/{generate-8eady601.js → tool-wzdbde40.js} +26 -26
  271. package/dist/chunks/{generate-7pe3f7pj.js → tool-x0fjpjwd.js} +24 -24
  272. package/dist/chunks/{generate-8p48baww.js → tool-x1a7cwfg.js} +7 -7
  273. package/dist/chunks/{generate-et5g250t.js → tool-x1wax2tm.js} +5 -5
  274. package/dist/chunks/{generate-62gytg6z.js → tool-x5xx62h0.js} +14 -14
  275. package/dist/chunks/{generate-s7ctmszj.js → tool-xrzs0xn3.js} +8 -8
  276. package/dist/chunks/{generate-0yg1zctd.js → tool-xstj61st.js} +14 -14
  277. package/dist/chunks/{generate-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{generate-asmrtfxn.js → tool-yc35554n.js} +4 -4
  279. package/dist/chunks/{generate-zyq2yvn6.js → tool-yc9w3422.js} +13 -13
  280. package/dist/chunks/{generate-ydsespw1.js → tool-ydsespw1.js} +1 -1
  281. package/dist/chunks/tool-ymz7p2c9.js +31 -0
  282. package/dist/chunks/{generate-tnjzcqkq.js → tool-yqdh10qg.js} +10 -10
  283. package/dist/chunks/{generate-m6s56nmp.js → tool-ysxqaady.js} +23 -23
  284. package/dist/chunks/{generate-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{generate-qrfynh1r.js → tool-z2e75qjb.js} +18 -18
  286. package/dist/chunks/{generate-z38nccrw.js → tool-z38nccrw.js} +1 -1
  287. package/dist/chunks/{generate-2qdh4yh9.js → tool-z56aywt7.js} +16 -16
  288. package/dist/chunks/{generate-yzqrvcme.js → tool-zbqcyxaa.js} +19 -19
  289. package/dist/chunks/{generate-e5htnxnn.js → tool-zg3zhf3v.js} +28 -28
  290. package/dist/chunks/{generate-9z9tayqc.js → tool-zgd8t41s.js} +9 -9
  291. package/dist/chunks/{generate-zgkm4kzm.js → tool-zgkm4kzm.js} +3 -3
  292. package/dist/chunks/{generate-6n0gdry0.js → tool-zkmce7rg.js} +11 -11
  293. package/dist/chunks/{generate-kc6p9w6d.js → tool-zpdhy3rs.js} +23 -23
  294. package/dist/chunks/{generate-yqveydy6.js → tool-ztf6n3de.js} +4 -4
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +3 -3
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +85 -85
  300. package/dist/config/discovery.js +90 -90
  301. package/dist/config/integration.js +3 -3
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +123 -123
  305. package/dist/config/plugin/command.js +221 -221
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +121 -121
  313. package/dist/config/plugin/mcp.js +130 -130
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +121 -121
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +1 -1
  320. package/dist/config/plugin/skill.js +145 -145
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +124 -124
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +120 -120
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +126 -126
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +87 -87
  332. package/dist/database/database.js +78 -78
  333. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  334. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +15 -15
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +16 -16
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +98 -98
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +375 -376
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +3 -3
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -101
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +101 -101
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +3 -3
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +80 -80
  428. package/dist/file-access.js +148 -148
  429. package/dist/file-mutation.js +102 -102
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +86 -86
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +228 -228
  438. package/dist/filesystem/protected.js +1 -1
  439. package/dist/filesystem/search.js +107 -107
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +11 -11
  442. package/dist/filesystem.js +108 -108
  443. package/dist/form.js +86 -86
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +95 -95
  446. package/dist/generate.js +115 -115
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +107 -107
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon-normalize.js +1 -1
  468. package/dist/image/photon-worker.js +1 -1
  469. package/dist/image/photon.js +4 -4
  470. package/dist/image.js +6 -6
  471. package/dist/instance/service.js +1 -1
  472. package/dist/instance.js +368 -369
  473. package/dist/instruction-discovery.js +88 -88
  474. package/dist/instructions/builtins.js +95 -95
  475. package/dist/instructions/index.js +1 -1
  476. package/dist/integration/connection.js +3 -3
  477. package/dist/integration.js +91 -91
  478. package/dist/job.js +84 -84
  479. package/dist/kv/sql.js +2 -2
  480. package/dist/kv.js +79 -79
  481. package/dist/location-activity.js +166 -166
  482. package/dist/location-lifecycle.js +142 -142
  483. package/dist/location-service-map.js +94 -94
  484. package/dist/location-services.js +369 -370
  485. package/dist/location.js +93 -93
  486. package/dist/managed-policy.js +5 -11
  487. package/dist/mcp/client.js +99 -99
  488. package/dist/mcp/index.js +117 -117
  489. package/dist/mcp/instructions.js +166 -166
  490. package/dist/mcp/oauth.js +84 -84
  491. package/dist/mcp/socket-client.js +1 -1
  492. package/dist/mcp/stdio.js +98 -98
  493. package/dist/mime.js +1 -1
  494. package/dist/modal/models.js +107 -107
  495. package/dist/model-resolver.js +107 -107
  496. package/dist/model-retry.js +1 -1
  497. package/dist/model.js +108 -108
  498. package/dist/models-dev/v1.js +1 -1
  499. package/dist/models-dev.js +110 -110
  500. package/dist/oauth/page.js +1 -1
  501. package/dist/permission/saved.js +86 -86
  502. package/dist/permission/sql.js +5 -5
  503. package/dist/permission.js +143 -143
  504. package/dist/persistent-pty/binary.bun.js +1 -1
  505. package/dist/persistent-pty/daemon.js +1 -1
  506. package/dist/persistent-pty/index.js +96 -96
  507. package/dist/persistent-pty/pty-binding.js +1 -1
  508. package/dist/persistent-pty.js +81 -81
  509. package/dist/plugin/agent.js +82 -82
  510. package/dist/plugin/command.js +110 -110
  511. package/dist/plugin/hooks.js +5 -5
  512. package/dist/plugin/host.js +227 -227
  513. package/dist/plugin/identity.js +5 -5
  514. package/dist/plugin/instance.js +1 -1
  515. package/dist/plugin/internal.js +342 -343
  516. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  517. package/dist/plugin/models-dev.js +105 -105
  518. package/dist/plugin/module.js +121 -121
  519. package/dist/plugin/optimize.js +4 -4
  520. package/dist/plugin/plan.js +138 -138
  521. package/dist/plugin/promise.js +1 -1
  522. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  523. package/dist/plugin/provider/azure.js +121 -121
  524. package/dist/plugin/provider/cerebras.js +1 -1
  525. package/dist/plugin/provider/chatgpt.js +121 -121
  526. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  527. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  528. package/dist/plugin/provider/cohere.js +2 -2
  529. package/dist/plugin/provider/configured.js +117 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +101 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/factory.js +1 -1
  534. package/dist/plugin/provider/github-copilot.js +103 -103
  535. package/dist/plugin/provider/gitlab.js +101 -101
  536. package/dist/plugin/provider/google-vertex.js +118 -118
  537. package/dist/plugin/provider/kilo.js +1 -1
  538. package/dist/plugin/provider/llmgateway.js +84 -84
  539. package/dist/plugin/provider/lmstudio.js +130 -130
  540. package/dist/plugin/provider/local.js +127 -127
  541. package/dist/plugin/provider/modal.js +100 -100
  542. package/dist/plugin/provider/neon.js +1 -1
  543. package/dist/plugin/provider/nvidia.js +1 -1
  544. package/dist/plugin/provider/ollama.js +130 -130
  545. package/dist/plugin/provider/openai-context-caps.js +98 -98
  546. package/dist/plugin/provider/openai.js +123 -123
  547. package/dist/plugin/provider/opencode.js +124 -127
  548. package/dist/plugin/provider/openrouter.js +99 -99
  549. package/dist/plugin/provider/perplexity.js +2 -2
  550. package/dist/plugin/provider/poe.js +85 -85
  551. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  552. package/dist/plugin/provider/sap-ai-core.js +99 -99
  553. package/dist/plugin/provider/sdk-factory.js +1 -1
  554. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  555. package/dist/plugin/provider/vercel.js +98 -98
  556. package/dist/plugin/provider/vllm.js +130 -130
  557. package/dist/plugin/provider/xai.js +99 -99
  558. package/dist/plugin/provider/zenmux.js +1 -1
  559. package/dist/plugin/provider.js +175 -178
  560. package/dist/plugin/sdk.js +78 -78
  561. package/dist/plugin/service.js +3 -3
  562. package/dist/plugin/skill.js +141 -141
  563. package/dist/plugin/source-directory.js +1 -1
  564. package/dist/plugin/supervisor.js +357 -358
  565. package/dist/plugin/tool-input-repair.js +4 -4
  566. package/dist/plugin/update.js +6 -6
  567. package/dist/plugin/vcs/git.js +94 -94
  568. package/dist/plugin/vcs/hg.js +94 -94
  569. package/dist/plugin/verbosity.js +101 -101
  570. package/dist/plugin/warming.js +119 -119
  571. package/dist/plugin/websearch/exa.js +7 -7
  572. package/dist/plugin/websearch/firecrawl.js +8 -8
  573. package/dist/plugin/websearch/index.js +9 -9
  574. package/dist/plugin/websearch/mcp.js +6 -6
  575. package/dist/plugin/websearch/parallel.js +6 -6
  576. package/dist/plugin/websearch/tavily.js +6 -6
  577. package/dist/plugin/websearch/tinyfish.js +8 -8
  578. package/dist/plugin.js +232 -232
  579. package/dist/project/icon.js +5 -5
  580. package/dist/project/schema.js +2 -2
  581. package/dist/project/sql.js +4 -4
  582. package/dist/project.js +92 -92
  583. package/dist/provider.js +105 -105
  584. package/dist/pty/protocol.js +1 -1
  585. package/dist/pty/ticket.js +1 -1
  586. package/dist/pty.js +92 -92
  587. package/dist/reference/instructions.js +94 -94
  588. package/dist/reference.js +96 -96
  589. package/dist/repository-cache.js +88 -88
  590. package/dist/repository.js +3 -3
  591. package/dist/ripgrep/binary.js +2 -2
  592. package/dist/ripgrep.js +103 -103
  593. package/dist/rpc.js +94 -94
  594. package/dist/schema.js +1 -1
  595. package/dist/session/affinity.js +1 -1
  596. package/dist/session/blob.js +120 -120
  597. package/dist/session/command.js +80 -80
  598. package/dist/session/compaction.js +164 -164
  599. package/dist/session/context.js +188 -188
  600. package/dist/session/diff.js +96 -96
  601. package/dist/session/environment.js +5 -5
  602. package/dist/session/error.js +5 -5
  603. package/dist/session/event.js +1 -1
  604. package/dist/session/execution/restart.js +231 -231
  605. package/dist/session/execution.js +152 -152
  606. package/dist/session/generate.js +190 -190
  607. package/dist/session/history.js +127 -127
  608. package/dist/session/inbox.js +136 -136
  609. package/dist/session/info.js +3 -3
  610. package/dist/session/instruction-entry.js +85 -85
  611. package/dist/session/instruction-state.js +8 -8
  612. package/dist/session/instructions.js +132 -132
  613. package/dist/session/message-updater.js +2 -2
  614. package/dist/session/message.js +1 -1
  615. package/dist/session/model-request.js +155 -155
  616. package/dist/session/model-transport.js +9 -9
  617. package/dist/session/move.js +156 -156
  618. package/dist/session/projector.js +134 -134
  619. package/dist/session/prompt.js +140 -140
  620. package/dist/session/recent-text.js +1 -1
  621. package/dist/session/revert.js +130 -130
  622. package/dist/session/run-coordinator.js +1 -1
  623. package/dist/session/runner/index.js +3 -3
  624. package/dist/session/runner/llm.js +238 -238
  625. package/dist/session/runner/max-steps.js +1 -1
  626. package/dist/session/runner/model.js +108 -108
  627. package/dist/session/runner/publish-llm-event.js +141 -141
  628. package/dist/session/runner/retry.js +5 -5
  629. package/dist/session/runner/step.js +154 -154
  630. package/dist/session/runner/to-llm-message.js +128 -128
  631. package/dist/session/schema.js +3 -3
  632. package/dist/session/session.js +170 -170
  633. package/dist/session/shell.js +135 -135
  634. package/dist/session/skill.js +139 -139
  635. package/dist/session/sql.js +5 -5
  636. package/dist/session/stats.js +81 -81
  637. package/dist/session/store.js +133 -133
  638. package/dist/session/stored.js +2 -2
  639. package/dist/session/subagent-completion.js +1 -1
  640. package/dist/session/subagent-job.js +219 -219
  641. package/dist/session/system-prompt.js +1 -1
  642. package/dist/session/title.js +192 -192
  643. package/dist/session/to-session-error.js +140 -140
  644. package/dist/session/transfer.js +228 -228
  645. package/dist/session/usage.js +1 -1
  646. package/dist/session.js +221 -221
  647. package/dist/shell/parse.js +6 -6
  648. package/dist/shell/result.js +1 -1
  649. package/dist/shell/scan.js +1 -1
  650. package/dist/shell/select.js +13 -13
  651. package/dist/shell.js +137 -137
  652. package/dist/skill/discovery.js +6 -6
  653. package/dist/skill/instructions.js +141 -141
  654. package/dist/skill.js +148 -148
  655. package/dist/snapshot.js +99 -99
  656. package/dist/state.js +1 -1
  657. package/dist/tool/html-markdown.js +1 -1
  658. package/dist/tool/http-body.js +1 -1
  659. package/dist/tool/mcp.js +167 -167
  660. package/dist/tool/plugin/edit.js +156 -156
  661. package/dist/tool/plugin/file-diff.js +1 -1
  662. package/dist/tool/plugin/glob.js +160 -160
  663. package/dist/tool/plugin/grep.js +160 -160
  664. package/dist/tool/plugin/mcp-resource.js +154 -154
  665. package/dist/tool/plugin/opencode.js +153 -153
  666. package/dist/tool/plugin/patch.js +156 -156
  667. package/dist/tool/plugin/question.js +140 -140
  668. package/dist/tool/plugin/read.js +161 -161
  669. package/dist/tool/plugin/shell.js +222 -222
  670. package/dist/tool/plugin/skill.js +149 -149
  671. package/dist/tool/plugin/subagent.js +226 -226
  672. package/dist/tool/plugin/todo.js +145 -145
  673. package/dist/tool/plugin/webfetch.js +149 -149
  674. package/dist/tool/plugin/websearch.js +145 -145
  675. package/dist/tool/plugin/write.js +154 -154
  676. package/dist/tool/read-filesystem.js +110 -110
  677. package/dist/tool/runtime.js +1 -1
  678. package/dist/tool-output.js +7 -7
  679. package/dist/tool.js +14 -14
  680. package/dist/types/config/plugin/policy.d.ts +1 -2
  681. package/dist/types/managed-policy.d.ts +2 -20
  682. package/dist/types/plugin/internal.d.ts +2 -3
  683. package/dist/types/plugin/module.d.ts +1 -2
  684. package/dist/types/plugin/provider/opencode.d.ts +1 -2
  685. package/dist/usage-limits.js +95 -95
  686. package/dist/util/error-summary.js +1 -1
  687. package/dist/util/git-executable.js +3 -3
  688. package/dist/util/lazy.js +1 -1
  689. package/dist/util/slug.js +1 -1
  690. package/dist/util/token.js +1 -1
  691. package/dist/util/which.js +1 -1
  692. package/dist/util/wildcard.js +1 -1
  693. package/dist/v1/config/agent.js +5 -5
  694. package/dist/v1/config/command.js +3 -3
  695. package/dist/v1/config/mcp.js +4 -4
  696. package/dist/v1/config/migrate.js +100 -100
  697. package/dist/v1/config/permission.js +3 -3
  698. package/dist/v1/config/plugin.js +3 -3
  699. package/dist/v1/config/provider-options.js +1 -1
  700. package/dist/v1/config/provider.js +4 -4
  701. package/dist/variant.js +99 -99
  702. package/dist/vcs/patch.js +1 -1
  703. package/dist/vcs.js +97 -97
  704. package/dist/voice.js +86 -86
  705. package/dist/websearch.js +92 -92
  706. package/dist/wellknown/plugin.js +82 -82
  707. package/dist/wellknown.js +87 -87
  708. package/dist/workspace/driver.js +7 -7
  709. package/dist/workspace/sql.js +1 -1
  710. package/dist/workspace.js +88 -88
  711. package/dist/worktree/directory.js +2 -2
  712. package/dist/worktree/git.js +11 -11
  713. package/dist/worktree/sql.js +5 -5
  714. package/dist/worktree/strategies.js +97 -97
  715. package/dist/worktree.js +106 -106
  716. package/package.json +8 -8
  717. package/dist/chunks/generate-6zjm2phc.js +0 -18
  718. package/dist/chunks/generate-a933qt5h.js +0 -257
  719. package/dist/chunks/generate-bq741ffa.js +0 -171
  720. package/dist/chunks/generate-yjkqh27f.js +0 -26
  721. package/dist/chunks/generate-zk2jkd91.js +0 -59
  722. package/dist/plugin/provider/opencode-legacy.js +0 -119
  723. package/dist/types/plugin/provider/opencode-legacy.d.ts +0 -69
  724. /package/dist/chunks/{generate-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  725. /package/dist/chunks/{generate-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  726. /package/dist/chunks/{generate-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  727. /package/dist/chunks/{generate-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  728. /package/dist/chunks/{generate-1jakw16s.js → tool-1jakw16s.js} +0 -0
  729. /package/dist/chunks/{generate-24dcb14g.js → tool-24dcb14g.js} +0 -0
  730. /package/dist/chunks/{generate-2710q6r3.js → tool-2710q6r3.js} +0 -0
  731. /package/dist/chunks/{generate-2bv980vf.js → tool-2bv980vf.js} +0 -0
  732. /package/dist/chunks/{generate-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  733. /package/dist/chunks/{generate-359p4xyc.js → tool-359p4xyc.js} +0 -0
  734. /package/dist/chunks/{generate-3asan66x.js → tool-3asan66x.js} +0 -0
  735. /package/dist/chunks/{generate-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  736. /package/dist/chunks/{generate-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  737. /package/dist/chunks/{generate-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  738. /package/dist/chunks/{generate-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  739. /package/dist/chunks/{generate-4m86bj6y.js → tool-4m86bj6y.js} +0 -0
  740. /package/dist/chunks/{generate-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  741. /package/dist/chunks/{generate-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  742. /package/dist/chunks/{generate-53557ph1.js → tool-53557ph1.js} +0 -0
  743. /package/dist/chunks/{generate-550bvhaj.js → tool-550bvhaj.js} +0 -0
  744. /package/dist/chunks/{generate-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
  745. /package/dist/chunks/{generate-6prwharc.js → tool-6prwharc.js} +0 -0
  746. /package/dist/chunks/{generate-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  747. /package/dist/chunks/{generate-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  748. /package/dist/chunks/{generate-7m9af43g.js → tool-7m9af43g.js} +0 -0
  749. /package/dist/chunks/{generate-822emrt2.js → tool-822emrt2.js} +0 -0
  750. /package/dist/chunks/{generate-84wd9syh.js → tool-84wd9syh.js} +0 -0
  751. /package/dist/chunks/{generate-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  752. /package/dist/chunks/{generate-8n3pysct.js → tool-8n3pysct.js} +0 -0
  753. /package/dist/chunks/{generate-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  754. /package/dist/chunks/{generate-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  755. /package/dist/chunks/{generate-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  756. /package/dist/chunks/{generate-a058387c.js → tool-a058387c.js} +0 -0
  757. /package/dist/chunks/{generate-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  758. /package/dist/chunks/{generate-af5trqkr.js → tool-af5trqkr.js} +0 -0
  759. /package/dist/chunks/{generate-afrmfg78.js → tool-afrmfg78.js} +0 -0
  760. /package/dist/chunks/{generate-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  761. /package/dist/chunks/{generate-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  762. /package/dist/chunks/{generate-beh6qq61.js → tool-beh6qq61.js} +0 -0
  763. /package/dist/chunks/{generate-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  764. /package/dist/chunks/{generate-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  765. /package/dist/chunks/{generate-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  766. /package/dist/chunks/{generate-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
  767. /package/dist/chunks/{generate-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  768. /package/dist/chunks/{generate-d9fn303g.js → tool-d9fn303g.js} +0 -0
  769. /package/dist/chunks/{generate-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  770. /package/dist/chunks/{generate-dajrwvna.js → tool-dajrwvna.js} +0 -0
  771. /package/dist/chunks/{generate-dap0rakb.js → tool-dap0rakb.js} +0 -0
  772. /package/dist/chunks/{generate-df08tz66.js → tool-df08tz66.js} +0 -0
  773. /package/dist/chunks/{generate-dy18nga0.js → tool-dy18nga0.js} +0 -0
  774. /package/dist/chunks/{generate-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  775. /package/dist/chunks/{generate-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  776. /package/dist/chunks/{generate-ec1grn59.js → tool-ec1grn59.js} +0 -0
  777. /package/dist/chunks/{generate-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  778. /package/dist/chunks/{generate-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  779. /package/dist/chunks/{generate-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  780. /package/dist/chunks/{generate-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  781. /package/dist/chunks/{generate-faypxj3z.js → tool-faypxj3z.js} +0 -0
  782. /package/dist/chunks/{generate-fd410y7t.js → tool-fd410y7t.js} +0 -0
  783. /package/dist/chunks/{generate-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
  784. /package/dist/chunks/{generate-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  785. /package/dist/chunks/{generate-g86h250q.js → tool-g86h250q.js} +0 -0
  786. /package/dist/chunks/{generate-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  787. /package/dist/chunks/{generate-gftt206x.js → tool-gftt206x.js} +0 -0
  788. /package/dist/chunks/{generate-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  789. /package/dist/chunks/{generate-hk9envan.js → tool-hk9envan.js} +0 -0
  790. /package/dist/chunks/{generate-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  791. /package/dist/chunks/{generate-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  792. /package/dist/chunks/{generate-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  793. /package/dist/chunks/{generate-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  794. /package/dist/chunks/{generate-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  795. /package/dist/chunks/{generate-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
  796. /package/dist/chunks/{generate-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  797. /package/dist/chunks/{generate-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  798. /package/dist/chunks/{generate-m18g726c.js → tool-m18g726c.js} +0 -0
  799. /package/dist/chunks/{generate-mp448xyj.js → tool-mp448xyj.js} +0 -0
  800. /package/dist/chunks/{generate-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  801. /package/dist/chunks/{generate-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  802. /package/dist/chunks/{generate-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  803. /package/dist/chunks/{generate-ncqqe42p.js → tool-ncqqe42p.js} +0 -0
  804. /package/dist/chunks/{generate-njntx4h6.js → tool-njntx4h6.js} +0 -0
  805. /package/dist/chunks/{generate-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
  806. /package/dist/chunks/{generate-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  807. /package/dist/chunks/{generate-q74kybfr.js → tool-q74kybfr.js} +0 -0
  808. /package/dist/chunks/{generate-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  809. /package/dist/chunks/{generate-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  810. /package/dist/chunks/{generate-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  811. /package/dist/chunks/{generate-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  812. /package/dist/chunks/{generate-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  813. /package/dist/chunks/{generate-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  814. /package/dist/chunks/{generate-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  815. /package/dist/chunks/{generate-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  816. /package/dist/chunks/{generate-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  817. /package/dist/chunks/{generate-w803qqfp.js → tool-w803qqfp.js} +0 -0
  818. /package/dist/chunks/{generate-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  819. /package/dist/chunks/{generate-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  820. /package/dist/chunks/{generate-wtztk69x.js → tool-wtztk69x.js} +0 -0
  821. /package/dist/chunks/{generate-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  822. /package/dist/chunks/{generate-x61499pn.js → tool-x61499pn.js} +0 -0
  823. /package/dist/chunks/{generate-y44na4kk.js → tool-y44na4kk.js} +0 -0
  824. /package/dist/chunks/{generate-y8f7s663.js → tool-y8f7s663.js} +0 -0
  825. /package/dist/chunks/{generate-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  826. /package/dist/chunks/{generate-ym463w8f.js → tool-ym463w8f.js} +0 -0
  827. /package/dist/chunks/{generate-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  828. /package/dist/chunks/{generate-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./generate-vd6hx57c.js";
2
+ Service75,
3
+ node79
4
+ } from "./tool-qb7a72fd.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./generate-gftt206x.js";
7
+ } from "./tool-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./generate-vpm8vpz0.js";
10
+ } from "./tool-vtgxp655.js";
11
11
  import {
12
12
  __export
13
- } from "./generate-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service47,
20
- make: () => make19,
21
- node: () => node49
19
+ Service: () => Service50,
20
+ make: () => make20,
21
+ node: () => node53
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service47 extends Context.Service()("@opencode/Job") {
51
+ class Service50 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
83
83
  next.set(sessionID, count - 1);
84
84
  return next;
85
85
  }
86
- var make19 = Effect.gen(function* () {
87
- const kv = yield* Service79;
86
+ var make20 = Effect.gen(function* () {
87
+ const kv = yield* Service75;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -343,7 +343,7 @@ var make19 = Effect.gen(function* () {
343
343
  next.delete(entry[0]);
344
344
  return next;
345
345
  })));
346
- return Service47.of({
346
+ return Service50.of({
347
347
  get,
348
348
  start,
349
349
  wait,
@@ -356,7 +356,7 @@ var make19 = Effect.gen(function* () {
356
356
  completeBackground
357
357
  });
358
358
  });
359
- var layer = Layer.effect(Service47, make19);
360
- var node49 = makeGlobalNode({ service: Service47, layer, deps: [node83] });
359
+ var layer = Layer.effect(Service50, make20);
360
+ var node53 = makeGlobalNode({ service: Service50, layer, deps: [node79] });
361
361
 
362
- export { Service47, make19, node49, exports_job };
362
+ export { Service50, make20, node53, exports_job };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./generate-z5v4ffb3.js";
4
+ } from "./tool-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service85,
9
- node89
10
- } from "./generate-5q37s2hn.js";
8
+ Service84,
9
+ node88
10
+ } from "./tool-wtjwwyta.js";
11
11
  import {
12
- Service83,
13
- node87
14
- } from "./generate-wevr71gn.js";
12
+ Service82,
13
+ node86
14
+ } from "./tool-v9m2ypfg.js";
15
15
  import {
16
16
  create3
17
- } from "./generate-204s3925.js";
17
+ } from "./tool-204s3925.js";
18
18
  import {
19
19
  __export
20
- } from "./generate-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service52,
25
+ Error: () => Error5,
26
+ ID: () => ID16,
27
+ Service: () => Service81,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node54,
29
+ node: () => node85,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID16 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service52 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service81 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service52, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service85;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service83;
52
+ const location = yield* Service82;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID5.make(tree);
99
+ return ID16.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service52.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service81.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node54 = makeLocationNode({
158
- service: Service52,
157
+ var node85 = makeLocationNode({
158
+ service: Service81,
159
159
  layer,
160
- deps: [FSUtil.node, node89, Global.node, node87]
160
+ deps: [FSUtil.node, node88, Global.node, node86]
161
161
  });
162
- var noopLayer3 = Layer.succeed(Service52, Service52.of({
162
+ var noopLayer3 = Layer.succeed(Service81, Service81.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service52, Service52.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error3 && cause.operation === operation)
171
+ if (cause instanceof Error5 && cause.operation === operation)
172
172
  return cause;
173
- return new Error3({
173
+ return new Error5({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID5, Error3, Service52, node54, noopLayer3, exports_snapshot2 };
180
+ export { ID16, Error5, Service81, node85, noopLayer3, exports_snapshot2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./generate-ts45p5da.js";
3
+ } from "./tool-c9c3vcvh.js";
4
4
  import {
5
5
  apply3
6
- } from "./generate-zfnetmcr.js";
6
+ } from "./tool-w5w2ye0s.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
13
13
  __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options9,
16
- Service: () => Service87,
16
+ Service: () => Service86,
17
17
  configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
- layer: () => layer29,
19
+ layer: () => layer28,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node91
21
+ node: () => node90
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -32,9 +32,9 @@ var Options9 = Schema.Struct({
32
32
  path: Schema.optional(Schema.String)
33
33
  });
34
34
 
35
- class Service87 extends Context.Service()("@opencode/storage/Database") {
35
+ class Service86 extends Context.Service()("@opencode/storage/Database") {
36
36
  }
37
- var databaseLayer = (lock) => Layer.effect(Service87, Effect.gen(function* () {
37
+ var databaseLayer = (lock) => Layer.effect(Service86, Effect.gen(function* () {
38
38
  const db = yield* makeDatabase;
39
39
  if (supportsTuningPragmas) {
40
40
  yield* db.run("PRAGMA journal_mode = WAL");
@@ -58,7 +58,7 @@ function lockFor(filename) {
58
58
  locks.set(filename, lock);
59
59
  return lock;
60
60
  }
61
- function layer29(options = { path: ":memory:" }) {
61
+ function layer28(options = { path: ":memory:" }) {
62
62
  return Layer.unwrap(Effect.gen(function* () {
63
63
  const provide = (filename) => databaseLayer(filename === ":memory:" ? Semaphore.make(1) : Effect.succeed(lockFor(filename))).pipe(Layer.provide(sqliteLayer({ filename })));
64
64
  const filename = options.path ?? ":memory:";
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
82
82
  }
83
83
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
84
84
  function configured13(options) {
85
- return makeGlobalNode({ service: Service87, layer: layer29(options), deps: [Global.node] });
85
+ return makeGlobalNode({ service: Service86, layer: layer28(options), deps: [Global.node] });
86
86
  }
87
87
  function configuredClient2(client) {
88
88
  return makeGlobalNode({
89
- service: Service87,
89
+ service: Service86,
90
90
  layer: layerFromClient2.pipe(Layer.provide(client)),
91
91
  deps: [Global.node]
92
92
  });
93
93
  }
94
- var node91 = configured13({ path: ":memory:" });
94
+ var node90 = configured13({ path: ":memory:" });
95
95
 
96
- export { Options9, Service87, layer29, layerFromClient2, configured13, configuredClient2, node91, exports_database };
96
+ export { Options9, Service86, layer28, layerFromClient2, configured13, configuredClient2, node90, exports_database };
@@ -2,18 +2,18 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  compatibleModel2
5
- } from "./generate-dt77769w.js";
5
+ } from "./tool-dt77769w.js";
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./generate-e8d90cjd.js";
9
+ } from "./tool-q4vfmnms.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./generate-g6y6gxmp.js";
13
+ } from "./tool-v8t9vyt9.js";
14
14
  import {
15
15
  __export
16
- } from "./generate-9rqn6x4v.js";
16
+ } from "./tool-9rqn6x4v.js";
17
17
 
18
18
  // src/v1/config/migrate.ts
19
19
  var exports_migrate = {};
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./generate-x8nvjgx0.js";
3
+ } from "./tool-11hfp36g.js";
4
4
  import {
5
- Service86,
6
- node90
7
- } from "./generate-j581asrx.js";
5
+ Service85,
6
+ node89
7
+ } from "./tool-sar0kh51.js";
8
8
  import {
9
- Event16,
10
- Service76,
11
- node80
12
- } from "./generate-yd4fy85j.js";
9
+ Event18,
10
+ Service79,
11
+ node83
12
+ } from "./tool-0j8sypb1.js";
13
13
  import {
14
- Service83,
15
- node87
16
- } from "./generate-wevr71gn.js";
14
+ Service82,
15
+ node86
16
+ } from "./tool-v9m2ypfg.js";
17
17
  import {
18
- Service51,
19
- node53
20
- } from "./generate-sbvcw7gr.js";
18
+ Service69,
19
+ node72
20
+ } from "./tool-s631gf5j.js";
21
21
  import {
22
22
  ID15,
23
- Service77,
24
- node81
25
- } from "./generate-hc2ycws5.js";
23
+ Service80,
24
+ node84
25
+ } from "./tool-5849hgw0.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./generate-204s3925.js";
29
+ } from "./tool-204s3925.js";
30
30
  import {
31
31
  ID13,
32
32
  MethodID2,
33
- Service75,
34
- node79
35
- } from "./generate-tjjeexw4.js";
33
+ Service78,
34
+ node82
35
+ } from "./tool-s36045k5.js";
36
36
  import {
37
37
  __export
38
- } from "./generate-9rqn6x4v.js";
38
+ } from "./tool-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service34,
52
+ Service: () => Service39,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured3,
56
- layer: () => layer15,
57
- node: () => node37
55
+ configured: () => configured4,
56
+ layer: () => layer18,
57
+ node: () => node42
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
104
104
  var endpointLoads = makeUnsafe2();
105
105
  var cloneConfig = (config) => structuredClone(config);
106
106
 
107
- class Service34 extends Context.Service()("@opencode/MCP") {
107
+ class Service39 extends Context.Service()("@opencode/MCP") {
108
108
  }
109
- var Options3 = Schema.Struct({
109
+ var Options4 = Schema.Struct({
110
110
  clientInfo: Schema.optional(Schema.Struct({
111
111
  name: Schema.String,
112
112
  version: Schema.String
113
113
  }))
114
114
  });
115
- var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
116
- const location = yield* Service83;
117
- const environment = yield* Service51;
118
- const bus = yield* Service86;
119
- const forms = yield* Service77;
120
- const integration = yield* Service75;
121
- const credentials = yield* Service76;
115
+ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
116
+ const location = yield* Service82;
117
+ const environment = yield* Service69;
118
+ const bus = yield* Service85;
119
+ const forms = yield* Service80;
120
+ const integration = yield* Service78;
121
+ const credentials = yield* Service79;
122
122
  const root = yield* Effect.scope;
123
123
  const fork = yield* FiberSet.makeRuntime();
124
124
  const servers = yield* Scope.fork(root, "parallel");
@@ -149,7 +149,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
149
149
  method: { id: methodID, type: "oauth", label: name },
150
150
  authorize: () => Effect.gen(function* () {
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
152
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
153
153
  })
154
154
  });
155
155
  }).pipe(Scope.provide(scope));
@@ -157,14 +157,14 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
157
157
  const requireServer = Effect.fnUntraced(function* (name) {
158
158
  const entry = entries.get(name);
159
159
  if (!entry)
160
- return yield* new NotFoundError3({ server: name });
160
+ return yield* new NotFoundError4({ server: name });
161
161
  return { name, entry };
162
162
  });
163
163
  const connectProvider = Effect.fnUntraced(function* (entry) {
164
164
  if (entry.config.type !== "remote" || !entry.integrationID)
165
165
  return;
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
167
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
168
168
  });
169
169
  const elicitation = {
170
170
  create: (input) => Effect.gen(function* () {
@@ -272,7 +272,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
272
272
  entry.scope = scope;
273
273
  const authProvider = yield* connectProvider(entry);
274
274
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
275
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service51, environment), Scope.provide(scope));
275
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope));
276
276
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
277
277
  if (Exit.isSuccess(result)) {
278
278
  entry.client = result.value.connection;
@@ -373,7 +373,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
373
373
  let closed = false;
374
374
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
375
375
  closed = true;
376
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service51, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
376
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
377
377
  const register = Effect.gen(function* () {
378
378
  if (closed) {
379
379
  yield* Scope.close(scope, Exit.void);
@@ -452,7 +452,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
452
452
  yield* startServer(name, entry);
453
453
  }).pipe(locks.withLock(name));
454
454
  });
455
- fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
455
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
456
456
  const state = create3({
457
457
  name: "mcp",
458
458
  initial: () => ({
@@ -478,7 +478,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
478
478
  }),
479
479
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
480
480
  });
481
- return Service34.of({
481
+ return Service39.of({
482
482
  transform: state.transform,
483
483
  reload: state.reload,
484
484
  servers: Effect.fn("MCP.servers")(function* () {
@@ -611,14 +611,14 @@ function mergeCatalogs(catalogs) {
611
611
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
612
612
  });
613
613
  }
614
- function configured3(options) {
614
+ function configured4(options) {
615
615
  return makeLocationNode({
616
- service: Service34,
617
- layer: layer15(options),
618
- deps: [node87, node53, node90, node81, node79, node80]
616
+ service: Service39,
617
+ layer: layer18(options),
618
+ deps: [node86, node72, node89, node84, node82, node83]
619
619
  });
620
620
  }
621
- var node37 = configured3();
621
+ var node42 = configured4();
622
622
  function toElicitationField(key, property, required) {
623
623
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
624
624
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
669
669
  }
670
670
  }
671
671
 
672
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service34, Options3, layer15, configured3, node37, exports_mcp4 };
672
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service39, Options4, layer18, configured4, node42, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options6,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options6 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options6, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };