@opencode/core 0.0.0-dev-19843 → 0.0.0-dev-19845

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{model-resolver-06dxphr1.js → tool-output-06dxphr1.js} +1 -1
  8. package/dist/chunks/{model-resolver-1eqqj5b6.js → tool-output-0ctfqbfs.js} +22 -22
  9. package/dist/chunks/{model-resolver-x9159bxd.js → tool-output-0ebpwq5w.js} +50 -50
  10. package/dist/chunks/{model-resolver-xgsfyewx.js → tool-output-0j4e08ab.js} +4 -4
  11. package/dist/chunks/{model-resolver-7dqw4kz8.js → tool-output-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{model-resolver-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{model-resolver-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{model-resolver-fvh6y88j.js → tool-output-0t92tgkg.js} +16 -16
  15. package/dist/chunks/{model-resolver-2r8ft4tw.js → tool-output-0tzgc68b.js} +5 -5
  16. package/dist/chunks/{model-resolver-vyqn3nqs.js → tool-output-10jtetaj.js} +4 -4
  17. package/dist/chunks/{model-resolver-hz39a88h.js → tool-output-11abf4nd.js} +21 -21
  18. package/dist/chunks/{model-resolver-z491n86c.js → tool-output-16crv7a5.js} +3 -3
  19. package/dist/chunks/{model-resolver-2evyaa68.js → tool-output-179189h4.js} +4 -4
  20. package/dist/chunks/{model-resolver-rq9sfwah.js → tool-output-18pxec54.js} +20 -20
  21. package/dist/chunks/{model-resolver-1acjjqhc.js → tool-output-1acjjqhc.js} +1 -1
  22. package/dist/chunks/{model-resolver-eq1pz5kg.js → tool-output-1bbkgx8g.js} +3 -3
  23. package/dist/chunks/{model-resolver-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{model-resolver-6fmyjk66.js → tool-output-1j263eaf.js} +21 -21
  25. package/dist/chunks/{model-resolver-43ahs7k8.js → tool-output-1mft72er.js} +3 -3
  26. package/dist/chunks/{model-resolver-pnnqzn53.js → tool-output-1qkp9pgm.js} +8 -8
  27. package/dist/chunks/{model-resolver-21r38tys.js → tool-output-21r38tys.js} +1 -1
  28. package/dist/chunks/{model-resolver-2402vzrj.js → tool-output-2402vzrj.js} +1 -1
  29. package/dist/chunks/{model-resolver-mddgbemq.js → tool-output-298hvbsz.js} +26 -26
  30. package/dist/chunks/{model-resolver-7hjq573z.js → tool-output-299vedwh.js} +15 -15
  31. package/dist/chunks/{model-resolver-y8r1zn9y.js → tool-output-29svvmb9.js} +3 -3
  32. package/dist/chunks/{model-resolver-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{model-resolver-133zv6hb.js → tool-output-2ecqap47.js} +1 -1
  34. package/dist/chunks/{model-resolver-enwhvmwb.js → tool-output-2egw2h4q.js} +2 -2
  35. package/dist/chunks/{model-resolver-5bvvre9n.js → tool-output-2p4a0wrd.js} +6 -6
  36. package/dist/chunks/{model-resolver-5qsdg0y7.js → tool-output-2pmgnsye.js} +24 -24
  37. package/dist/chunks/{model-resolver-rayjs69j.js → tool-output-2tzcf3n6.js} +17 -17
  38. package/dist/chunks/{model-resolver-3syvqavp.js → tool-output-2xx6zsf3.js} +9 -9
  39. package/dist/chunks/{model-resolver-qqrtcnkc.js → tool-output-2xz9fsyh.js} +24 -24
  40. package/dist/chunks/{model-resolver-1ygqh575.js → tool-output-33w4ejhs.js} +6 -6
  41. package/dist/chunks/{model-resolver-b7rmz7dj.js → tool-output-38ps540c.js} +18 -18
  42. package/dist/chunks/{model-resolver-wk759sqm.js → tool-output-3bq6e3kw.js} +33 -33
  43. package/dist/chunks/{model-resolver-3w0fmcng.js → tool-output-3cfzdc8e.js} +5 -5
  44. package/dist/chunks/{model-resolver-xs8wfhd6.js → tool-output-3erfa1xx.js} +14 -14
  45. package/dist/chunks/{model-resolver-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{model-resolver-k7822xv0.js → tool-output-3fnpgzn5.js} +22 -22
  47. package/dist/chunks/{model-resolver-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{model-resolver-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{model-resolver-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{model-resolver-cf1x67r7.js → tool-output-42wmm055.js} +3 -3
  51. package/dist/chunks/{model-resolver-s2ebsh4k.js → tool-output-4asjw5xf.js} +18 -18
  52. package/dist/chunks/{model-resolver-1qr453ff.js → tool-output-4b894mw3.js} +78 -78
  53. package/dist/chunks/tool-output-4k6bgpa7.js +26 -0
  54. package/dist/chunks/{model-resolver-atw7h3x9.js → tool-output-4n7sxd34.js} +8 -8
  55. package/dist/chunks/{model-resolver-5bdbc12f.js → tool-output-4ns3h2re.js} +6 -6
  56. package/dist/chunks/{model-resolver-9ag5djza.js → tool-output-4v5efhad.js} +5 -5
  57. package/dist/chunks/{model-resolver-3xxdkst7.js → tool-output-4yepsfvz.js} +11 -11
  58. package/dist/chunks/{model-resolver-e66w66e0.js → tool-output-50q487e9.js} +20 -20
  59. package/dist/chunks/{model-resolver-2fgn2we9.js → tool-output-57ez7d0k.js} +9 -9
  60. package/dist/chunks/{model-resolver-5c4hm403.js → tool-output-5c4hm403.js} +3 -3
  61. package/dist/chunks/{model-resolver-1fgfndcs.js → tool-output-5chtqh4v.js} +12 -12
  62. package/dist/chunks/{model-resolver-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
  63. package/dist/chunks/{model-resolver-442kn1aa.js → tool-output-5dndv3ms.js} +22 -22
  64. package/dist/chunks/{model-resolver-3gjeg5xr.js → tool-output-5hn2rzbs.js} +11 -11
  65. package/dist/chunks/{model-resolver-k1c74kvt.js → tool-output-5m4v41fc.js} +29 -29
  66. package/dist/chunks/{model-resolver-v0y6s5p7.js → tool-output-5mtjp6jd.js} +44 -44
  67. package/dist/chunks/{model-resolver-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{model-resolver-gg802qrt.js → tool-output-5vvygm16.js} +11 -11
  69. package/dist/chunks/{model-resolver-hz1mhzfh.js → tool-output-5wm1xxad.js} +6 -6
  70. package/dist/chunks/{model-resolver-x5860ntt.js → tool-output-60z3ws0z.js} +43 -43
  71. package/dist/chunks/{model-resolver-669tq793.js → tool-output-669tq793.js} +1 -1
  72. package/dist/chunks/{model-resolver-n810d9f4.js → tool-output-6e2rzpgk.js} +11 -11
  73. package/dist/chunks/{model-resolver-302aywek.js → tool-output-6m4cmbhe.js} +22 -22
  74. package/dist/chunks/{model-resolver-cf2zwr71.js → tool-output-6mh3cfgg.js} +22 -22
  75. package/dist/chunks/{model-resolver-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{model-resolver-nn97278r.js → tool-output-6mv24n1m.js} +15 -15
  77. package/dist/chunks/{model-resolver-6frsr8qs.js → tool-output-6pcm4e8x.js} +17 -17
  78. package/dist/chunks/{model-resolver-gchrb8vs.js → tool-output-6wdfmdvs.js} +5 -5
  79. package/dist/chunks/{model-resolver-8tcwmm4z.js → tool-output-6xsfpsaq.js} +10 -10
  80. package/dist/chunks/{model-resolver-0m0tvs7x.js → tool-output-6xwcf1a8.js} +4 -4
  81. package/dist/chunks/{model-resolver-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{model-resolver-vw3e9fxe.js → tool-output-7ephwp7v.js} +8 -8
  83. package/dist/chunks/{model-resolver-9rjxcf4s.js → tool-output-7gk96wx5.js} +9 -9
  84. package/dist/chunks/{model-resolver-r8v8adjt.js → tool-output-7yysym46.js} +24 -24
  85. package/dist/chunks/{model-resolver-h5cj5dem.js → tool-output-842ne6kv.js} +25 -25
  86. package/dist/chunks/{model-resolver-agym5kke.js → tool-output-86gpt4jk.js} +47 -47
  87. package/dist/chunks/{model-resolver-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{model-resolver-efgaas88.js → tool-output-8t4ymjd2.js} +32 -32
  89. package/dist/chunks/{model-resolver-w48fcq56.js → tool-output-8vmbwak9.js} +17 -17
  90. package/dist/chunks/{model-resolver-f3r6a36m.js → tool-output-8vzzn56d.js} +23 -23
  91. package/dist/chunks/{model-resolver-v27m40rm.js → tool-output-948vpjdp.js} +30 -30
  92. package/dist/chunks/{model-resolver-e5xpd6yj.js → tool-output-97fmyryk.js} +6 -6
  93. package/dist/chunks/{model-resolver-k31ypr3h.js → tool-output-9fzck1jq.js} +6 -6
  94. package/dist/chunks/{model-resolver-xcd0eash.js → tool-output-9gea571p.js} +6 -6
  95. package/dist/chunks/{model-resolver-b09hzw3k.js → tool-output-9kmbd9mt.js} +2 -2
  96. package/dist/chunks/{model-resolver-smp5hqs3.js → tool-output-9m1t8hdw.js} +8 -8
  97. package/dist/chunks/{model-resolver-cavhxt7x.js → tool-output-9qr22qer.js} +25 -25
  98. package/dist/chunks/{model-resolver-70y17xeh.js → tool-output-9w4ppqge.js} +5 -5
  99. package/dist/chunks/{model-resolver-3fxkvrnp.js → tool-output-9zjzvbv6.js} +13 -13
  100. package/dist/chunks/{model-resolver-pecb0brz.js → tool-output-a1a50ys5.js} +5 -5
  101. package/dist/chunks/{model-resolver-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
  102. package/dist/chunks/{model-resolver-vjf65k2b.js → tool-output-agq0v9q9.js} +11 -11
  103. package/dist/chunks/{model-resolver-7j2qha59.js → tool-output-ahd542yp.js} +8 -8
  104. package/dist/chunks/{model-resolver-hw5aqd1g.js → tool-output-anj18jyj.js} +7 -7
  105. package/dist/chunks/{model-resolver-n93j4s2c.js → tool-output-aze75by4.js} +17 -17
  106. package/dist/chunks/{model-resolver-yndsq8dt.js → tool-output-b1pekgz3.js} +38 -38
  107. package/dist/chunks/{model-resolver-qxfgkbem.js → tool-output-b23vczq1.js} +8 -8
  108. package/dist/chunks/{model-resolver-ppte1p09.js → tool-output-b5e2qkdg.js} +23 -23
  109. package/dist/chunks/{model-resolver-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{model-resolver-fjccm0sw.js → tool-output-bc3fwvwz.js} +22 -22
  111. package/dist/chunks/{model-resolver-13q063b0.js → tool-output-bep0w5gt.js} +13 -13
  112. package/dist/chunks/{model-resolver-z4fy0qdv.js → tool-output-bg7bk5jn.js} +17 -17
  113. package/dist/chunks/{model-resolver-xnyqt6gv.js → tool-output-bsqpmkwg.js} +9 -9
  114. package/dist/chunks/{model-resolver-636gmhwa.js → tool-output-bxcf9bp1.js} +40 -40
  115. package/dist/chunks/{model-resolver-t85xqwrf.js → tool-output-byrgtvq8.js} +8 -8
  116. package/dist/chunks/{model-resolver-bz85s9hh.js → tool-output-bz85s9hh.js} +1 -1
  117. package/dist/chunks/{model-resolver-4rbr99e5.js → tool-output-c1xp69en.js} +4 -4
  118. package/dist/chunks/{model-resolver-pqbcvpxd.js → tool-output-c3nej1j1.js} +13 -13
  119. package/dist/chunks/{model-resolver-scgm85f3.js → tool-output-c488s98d.js} +12 -12
  120. package/dist/chunks/{model-resolver-50mzsvk4.js → tool-output-cavr175a.js} +4 -4
  121. package/dist/chunks/{model-resolver-q29b2gah.js → tool-output-cf9fh20f.js} +1 -1
  122. package/dist/chunks/{model-resolver-rk9t7fxt.js → tool-output-cp0d9x4t.js} +8 -8
  123. package/dist/chunks/{model-resolver-8e6v1gzw.js → tool-output-cpm7w1h6.js} +26 -26
  124. package/dist/chunks/{model-resolver-n9w42s1q.js → tool-output-cr1t41be.js} +11 -11
  125. package/dist/chunks/{model-resolver-xe6cmgbq.js → tool-output-cvgayg76.js} +6 -6
  126. package/dist/chunks/{model-resolver-ef861y8h.js → tool-output-cxt9nj17.js} +19 -19
  127. package/dist/chunks/{model-resolver-xkmv5agz.js → tool-output-d92p8dbg.js} +17 -17
  128. package/dist/chunks/{model-resolver-yw50seq0.js → tool-output-ddc2dhww.js} +21 -21
  129. package/dist/chunks/{model-resolver-dj2t23y0.js → tool-output-dj2t23y0.js} +2 -2
  130. package/dist/chunks/{model-resolver-qqeeq2t9.js → tool-output-drwq78ky.js} +7 -7
  131. package/dist/chunks/{model-resolver-8gxqpgph.js → tool-output-e2hjzebn.js} +4 -4
  132. package/dist/chunks/{model-resolver-jw14ppbh.js → tool-output-eb500h05.js} +18 -18
  133. package/dist/chunks/{model-resolver-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{model-resolver-nf80skmj.js → tool-output-egjcgzyn.js} +16 -16
  135. package/dist/chunks/{model-resolver-rzd1prf9.js → tool-output-emwaxmsr.js} +27 -27
  136. package/dist/chunks/{model-resolver-erw5rpbs.js → tool-output-erw5rpbs.js} +2 -2
  137. package/dist/chunks/{model-resolver-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{model-resolver-srv6jbph.js → tool-output-evr5wpk5.js} +4 -4
  139. package/dist/chunks/{model-resolver-16xb7hp4.js → tool-output-f6qn8qx5.js} +26 -26
  140. package/dist/chunks/{model-resolver-1t9c4b87.js → tool-output-f7camdp9.js} +24 -24
  141. package/dist/chunks/{model-resolver-x4zwv76m.js → tool-output-fd5ygrzr.js} +4 -4
  142. package/dist/chunks/{model-resolver-b7vycytf.js → tool-output-fjw2kq1t.js} +16 -16
  143. package/dist/chunks/{model-resolver-zqx8wcya.js → tool-output-fkjmw100.js} +8 -8
  144. package/dist/chunks/{model-resolver-0q9638wm.js → tool-output-fkkzbwec.js} +27 -27
  145. package/dist/chunks/{model-resolver-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{model-resolver-9hn6k4tm.js → tool-output-g0445xdp.js} +8 -8
  147. package/dist/chunks/{model-resolver-05bpx1t2.js → tool-output-g0nvv8aa.js} +16 -16
  148. package/dist/chunks/{model-resolver-1g7epwpd.js → tool-output-g8d3gcyj.js} +4 -4
  149. package/dist/chunks/{model-resolver-nbzsj80d.js → tool-output-g8jasmdt.js} +8 -8
  150. package/dist/chunks/{model-resolver-x87aptrd.js → tool-output-gb6nf032.js} +12 -12
  151. package/dist/chunks/{model-resolver-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{model-resolver-wkn3809p.js → tool-output-gee9nz04.js} +10 -10
  153. package/dist/chunks/{model-resolver-cyhsea0k.js → tool-output-gft05b0a.js} +8 -8
  154. package/dist/chunks/{model-resolver-xpax8x5w.js → tool-output-gny4z5fd.js} +7 -7
  155. package/dist/chunks/{model-resolver-30846h32.js → tool-output-gs3s1a1g.js} +8 -8
  156. package/dist/chunks/{model-resolver-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{model-resolver-4dgbcxzg.js → tool-output-h6r3nrb9.js} +4 -4
  158. package/dist/chunks/{model-resolver-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{model-resolver-hdnk95c8.js → tool-output-hdnk95c8.js} +2 -2
  160. package/dist/chunks/{model-resolver-rjy92yfz.js → tool-output-hr1py8cc.js} +13 -13
  161. package/dist/chunks/{model-resolver-5h6w6v98.js → tool-output-hyzbt47e.js} +23 -23
  162. package/dist/chunks/{model-resolver-330b90y3.js → tool-output-j3tjvm70.js} +25 -25
  163. package/dist/chunks/{model-resolver-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
  164. package/dist/chunks/{model-resolver-qc51xf0a.js → tool-output-j7djrdz3.js} +26 -26
  165. package/dist/chunks/{model-resolver-0v8afgdk.js → tool-output-jw552sfg.js} +17 -17
  166. package/dist/chunks/{model-resolver-5hssebmz.js → tool-output-jx2qd1c8.js} +11 -11
  167. package/dist/chunks/{model-resolver-1mqp8f91.js → tool-output-jy9nrdqr.js} +21 -21
  168. package/dist/chunks/{model-resolver-nzks3jc8.js → tool-output-k3c624dm.js} +3 -3
  169. package/dist/chunks/{model-resolver-npba7pfw.js → tool-output-ka4rcrkh.js} +20 -20
  170. package/dist/chunks/{model-resolver-qxpavsr8.js → tool-output-kf5kp5mk.js} +64 -64
  171. package/dist/chunks/{model-resolver-vvjdmnc6.js → tool-output-kfap4x0b.js} +16 -16
  172. package/dist/chunks/{model-resolver-m0jqrx5p.js → tool-output-m0jqrx5p.js} +2 -2
  173. package/dist/chunks/{model-resolver-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{model-resolver-bg3244xz.js → tool-output-m4eepma1.js} +15 -15
  175. package/dist/chunks/{model-resolver-fgq6rdwq.js → tool-output-m8y9hb2k.js} +5 -5
  176. package/dist/chunks/{model-resolver-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{model-resolver-y6f0p4jw.js → tool-output-mf9m2v67.js} +2 -2
  178. package/dist/chunks/{model-resolver-e1q5pbg3.js → tool-output-mkk5r95x.js} +24 -24
  179. package/dist/chunks/{model-resolver-6m8f443c.js → tool-output-mnzjajcq.js} +7 -7
  180. package/dist/chunks/{model-resolver-xvw3exqc.js → tool-output-mwzkew1k.js} +13 -13
  181. package/dist/chunks/{model-resolver-zejyxjry.js → tool-output-n1v3qg02.js} +35 -35
  182. package/dist/chunks/{model-resolver-qye67he0.js → tool-output-n4nqgmdm.js} +12 -12
  183. package/dist/chunks/{model-resolver-vbfgae2j.js → tool-output-nb9p6b26.js} +4 -4
  184. package/dist/chunks/{model-resolver-5hxd3nfe.js → tool-output-nf925zhj.js} +5 -5
  185. package/dist/chunks/{model-resolver-c4wqv7k3.js → tool-output-nkw3ejtv.js} +33 -33
  186. package/dist/chunks/{model-resolver-xs1r8498.js → tool-output-nw6wgtsp.js} +13 -13
  187. package/dist/chunks/{model-resolver-dcqzdpn7.js → tool-output-nxfrxvv0.js} +11 -11
  188. package/dist/chunks/{model-resolver-p28j5sbe.js → tool-output-p28j5sbe.js} +2 -2
  189. package/dist/chunks/{model-resolver-d4j0zdza.js → tool-output-p5qm3gp3.js} +14 -14
  190. package/dist/chunks/{model-resolver-49r2655e.js → tool-output-pdhr04yd.js} +8 -8
  191. package/dist/chunks/{model-resolver-cah21tc8.js → tool-output-pfbcw4k6.js} +10 -10
  192. package/dist/chunks/tool-output-phz3h32g.js +18 -0
  193. package/dist/chunks/{model-resolver-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{model-resolver-b9kdhzyq.js → tool-output-pke2h1dx.js} +13 -13
  195. package/dist/chunks/{model-resolver-pknna89w.js → tool-output-pknna89w.js} +1 -1
  196. package/dist/chunks/{model-resolver-p7nftz6b.js → tool-output-pphk0kja.js} +31 -31
  197. package/dist/chunks/{model-resolver-pfzrvarp.js → tool-output-ppkep8fy.js} +4 -4
  198. package/dist/chunks/tool-output-prse655p.js +492 -0
  199. package/dist/chunks/{model-resolver-ye6dhg8n.js → tool-output-pwng45mh.js} +28 -28
  200. package/dist/chunks/{model-resolver-c44r8hhs.js → tool-output-pwqr4ghy.js} +17 -17
  201. package/dist/chunks/{model-resolver-pyejz7ph.js → tool-output-py4qxy13.js} +15 -15
  202. package/dist/chunks/{model-resolver-z0f6wna2.js → tool-output-pyg2tpx1.js} +11 -11
  203. package/dist/chunks/{model-resolver-rztfdspk.js → tool-output-q4ebtpf0.js} +17 -17
  204. package/dist/chunks/{model-resolver-nbxdrwjw.js → tool-output-qdf9s1rc.js} +47 -47
  205. package/dist/chunks/{model-resolver-115tzmsk.js → tool-output-qect7kdv.js} +6 -6
  206. package/dist/chunks/{model-resolver-krawv8h4.js → tool-output-qgm3x6bw.js} +18 -18
  207. package/dist/chunks/{model-resolver-afjpdfdw.js → tool-output-qgx2d5sc.js} +9 -9
  208. package/dist/chunks/{model-resolver-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
  209. package/dist/chunks/{model-resolver-cwa6csj7.js → tool-output-r2m716tb.js} +9 -9
  210. package/dist/chunks/{model-resolver-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{model-resolver-qdbakdjh.js → tool-output-reg6q42h.js} +5 -5
  212. package/dist/chunks/{model-resolver-qg0jgkcp.js → tool-output-rhafb4aa.js} +9 -9
  213. package/dist/chunks/{model-resolver-rhjbct0v.js → tool-output-rhjbct0v.js} +1 -1
  214. package/dist/chunks/{model-resolver-0wqmnehs.js → tool-output-rjqrwyyz.js} +11 -11
  215. package/dist/chunks/{model-resolver-hyf7bjak.js → tool-output-rjtsaaxh.js} +21 -21
  216. package/dist/chunks/{model-resolver-sqnsaxnr.js → tool-output-rmm3qdq2.js} +23 -23
  217. package/dist/chunks/{model-resolver-qn9jv2jm.js → tool-output-rqs2hjm2.js} +26 -26
  218. package/dist/chunks/{model-resolver-21mj3dgx.js → tool-output-rsvjr92d.js} +37 -37
  219. package/dist/chunks/{model-resolver-wqedn24d.js → tool-output-s1ekbybe.js} +9 -9
  220. package/dist/chunks/{model-resolver-phqer4q0.js → tool-output-s9jmwvjg.js} +32 -32
  221. package/dist/chunks/{model-resolver-821by267.js → tool-output-sd4bk822.js} +7 -7
  222. package/dist/chunks/{model-resolver-kwxm6asy.js → tool-output-snfvj9kv.js} +4 -4
  223. package/dist/chunks/{model-resolver-d9bx1agn.js → tool-output-sr17v8dg.js} +4 -4
  224. package/dist/chunks/tool-output-srgmx9yy.js +252 -0
  225. package/dist/chunks/{model-resolver-e9197vrp.js → tool-output-svgxwh3h.js} +36 -36
  226. package/dist/chunks/{model-resolver-a0858690.js → tool-output-szr3gftz.js} +11 -11
  227. package/dist/chunks/{model-resolver-47hapfj2.js → tool-output-t0dvfr7r.js} +18 -18
  228. package/dist/chunks/{model-resolver-8p8fqdjb.js → tool-output-t852h53b.js} +6 -6
  229. package/dist/chunks/{model-resolver-pga14111.js → tool-output-ta9z4cry.js} +9 -9
  230. package/dist/chunks/{model-resolver-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{model-resolver-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{model-resolver-985n0a3v.js → tool-output-td2xyjdn.js} +8 -8
  233. package/dist/chunks/{model-resolver-tdstcens.js → tool-output-tdstcens.js} +1 -1
  234. package/dist/chunks/{model-resolver-dmsqs59m.js → tool-output-thmxwjwq.js} +5 -5
  235. package/dist/chunks/{model-resolver-3q1d0z61.js → tool-output-tnyz8ww6.js} +6 -6
  236. package/dist/chunks/{model-resolver-5ge5ntkv.js → tool-output-tq5zwqfy.js} +2 -2
  237. package/dist/chunks/{model-resolver-f0x0s4x5.js → tool-output-tsdakzmx.js} +3 -3
  238. package/dist/chunks/{model-resolver-0xghfzx7.js → tool-output-ttmhcw5g.js} +11 -11
  239. package/dist/chunks/{model-resolver-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
  240. package/dist/chunks/{model-resolver-3w4ewrwk.js → tool-output-ty2n0sby.js} +9 -9
  241. package/dist/chunks/{model-resolver-8gw7hntm.js → tool-output-v4yjtdtk.js} +13 -13
  242. package/dist/chunks/{model-resolver-btxmggav.js → tool-output-v86zhtje.js} +44 -44
  243. package/dist/chunks/{model-resolver-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
  244. package/dist/chunks/{model-resolver-ve4pfa0n.js → tool-output-vncycja5.js} +4 -4
  245. package/dist/chunks/{model-resolver-vstc3933.js → tool-output-vwh2k8vs.js} +16 -16
  246. package/dist/chunks/{model-resolver-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{model-resolver-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{model-resolver-6eqynsgf.js → tool-output-w4qjf6jj.js} +30 -30
  249. package/dist/chunks/{model-resolver-4d6kgwwt.js → tool-output-w6n7nat8.js} +5 -5
  250. package/dist/chunks/{model-resolver-2h84f8r1.js → tool-output-w9w5w4b9.js} +1 -1
  251. package/dist/chunks/{model-resolver-fab8hzt3.js → tool-output-wcge806m.js} +4 -4
  252. package/dist/chunks/{model-resolver-wd87259q.js → tool-output-wd87259q.js} +1 -1
  253. package/dist/chunks/{model-resolver-w52zt19p.js → tool-output-wjcd3aje.js} +43 -43
  254. package/dist/chunks/{model-resolver-0x7w7yjj.js → tool-output-wr8b92bk.js} +80 -80
  255. package/dist/chunks/{model-resolver-2bkr1xer.js → tool-output-wvtz0szs.js} +54 -54
  256. package/dist/chunks/{model-resolver-ss4xmamw.js → tool-output-wxd4brq3.js} +10 -10
  257. package/dist/chunks/{model-resolver-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{model-resolver-11dqjexa.js → tool-output-x2aynqqh.js} +9 -9
  259. package/dist/chunks/{model-resolver-zccdra3h.js → tool-output-x5jg6qqq.js} +6 -6
  260. package/dist/chunks/{model-resolver-r841few8.js → tool-output-xb57afqb.js} +9 -9
  261. package/dist/chunks/{model-resolver-rejt6bp0.js → tool-output-xbwfk08e.js} +32 -32
  262. package/dist/chunks/{model-resolver-ahhj99d2.js → tool-output-xdj4rk2r.js} +11 -11
  263. package/dist/chunks/{model-resolver-r0tjgr50.js → tool-output-xdssxgw6.js} +19 -19
  264. package/dist/chunks/{model-resolver-pz7a6r4w.js → tool-output-xsymymvd.js} +5 -5
  265. package/dist/chunks/{model-resolver-1g07qj94.js → tool-output-xwjax07d.js} +35 -35
  266. package/dist/chunks/{model-resolver-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{model-resolver-vxkc1n72.js → tool-output-y5km9ccv.js} +32 -32
  268. package/dist/chunks/{model-resolver-dpkg50ah.js → tool-output-y71avatq.js} +4 -4
  269. package/dist/chunks/{model-resolver-r33ff4dw.js → tool-output-y8nmaz64.js} +4 -4
  270. package/dist/chunks/{model-resolver-r04fb0ma.js → tool-output-yase533t.js} +19 -19
  271. package/dist/chunks/{model-resolver-av47bmrc.js → tool-output-ycmv3hzt.js} +22 -22
  272. package/dist/chunks/{model-resolver-ssv7vh4d.js → tool-output-ye64be0r.js} +10 -10
  273. package/dist/chunks/{model-resolver-yjptyezs.js → tool-output-yjptyezs.js} +2 -2
  274. package/dist/chunks/{model-resolver-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{model-resolver-9bzvwb7r.js → tool-output-yrx1cgkb.js} +10 -10
  276. package/dist/chunks/{model-resolver-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
  277. package/dist/chunks/{model-resolver-c48cwedc.js → tool-output-ys9tvfdj.js} +5 -5
  278. package/dist/chunks/{model-resolver-tmvpfzkm.js → tool-output-z0126vss.js} +5 -5
  279. package/dist/chunks/{model-resolver-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{model-resolver-cgm9r2q3.js → tool-output-z1jtrpe4.js} +20 -20
  281. package/dist/chunks/{model-resolver-fnq9tzhn.js → tool-output-z4mzhy3k.js} +30 -30
  282. package/dist/chunks/{model-resolver-60as4dx3.js → tool-output-z5vyvvwh.js} +20 -20
  283. package/dist/chunks/{model-resolver-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
  284. package/dist/chunks/{model-resolver-nc9v3jx5.js → tool-output-z6b8ny61.js} +167 -167
  285. package/dist/chunks/{model-resolver-1n6eeek5.js → tool-output-zc3g4y8x.js} +13 -13
  286. package/dist/chunks/{model-resolver-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{model-resolver-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{model-resolver-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +138 -138
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +141 -141
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +123 -123
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +81 -81
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +100 -100
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +101 -101
  473. package/dist/mcp/instructions.js +123 -123
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +95 -95
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +77 -77
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +108 -108
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +130 -130
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +69 -69
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +347 -347
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +4 -4
  553. package/dist/plugin/websearch/parallel.js +6 -6
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +222 -222
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +87 -87
  560. package/dist/provider.js +98 -98
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +88 -88
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +131 -131
  575. package/dist/session/context.js +149 -149
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +125 -125
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +87 -87
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +76 -76
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +114 -114
  592. package/dist/session/model-transport.js +5 -5
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +1 -1
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +1 -1
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +3 -3
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +5 -5
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +216 -216
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +215 -215
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +109 -109
  630. package/dist/snapshot.js +90 -90
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +122 -122
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +121 -121
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +117 -117
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +12 -12
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +3 -3
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +2 -2
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +90 -90
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +81 -81
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +8 -8
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +84 -84
  692. package/dist/worktree.js +89 -89
  693. package/package.json +8 -8
  694. package/dist/chunks/model-resolver-epegjq71.js +0 -252
  695. package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
  696. package/dist/chunks/model-resolver-tjen3va7.js +0 -492
  697. package/dist/chunks/model-resolver-yzmdswv1.js +0 -26
  698. /package/dist/chunks/{model-resolver-0mesazry.js → tool-output-0mesazry.js} +0 -0
  699. /package/dist/chunks/{model-resolver-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{model-resolver-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{model-resolver-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{model-resolver-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{model-resolver-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{model-resolver-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{model-resolver-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{model-resolver-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{model-resolver-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{model-resolver-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{model-resolver-3asan66x.js → tool-output-3asan66x.js} +0 -0
  710. /package/dist/chunks/{model-resolver-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{model-resolver-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{model-resolver-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{model-resolver-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{model-resolver-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{model-resolver-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{model-resolver-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{model-resolver-53557ph1.js → tool-output-53557ph1.js} +0 -0
  718. /package/dist/chunks/{model-resolver-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{model-resolver-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{model-resolver-6prwharc.js → tool-output-6prwharc.js} +0 -0
  721. /package/dist/chunks/{model-resolver-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{model-resolver-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{model-resolver-822emrt2.js → tool-output-822emrt2.js} +0 -0
  724. /package/dist/chunks/{model-resolver-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{model-resolver-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{model-resolver-922hggd3.js → tool-output-922hggd3.js} +0 -0
  727. /package/dist/chunks/{model-resolver-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{model-resolver-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{model-resolver-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{model-resolver-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{model-resolver-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{model-resolver-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{model-resolver-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{model-resolver-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{model-resolver-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{model-resolver-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{model-resolver-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{model-resolver-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{model-resolver-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{model-resolver-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{model-resolver-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{model-resolver-df08tz66.js → tool-output-df08tz66.js} +0 -0
  743. /package/dist/chunks/{model-resolver-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{model-resolver-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{model-resolver-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{model-resolver-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{model-resolver-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{model-resolver-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{model-resolver-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{model-resolver-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{model-resolver-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{model-resolver-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{model-resolver-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{model-resolver-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{model-resolver-g86h250q.js → tool-output-g86h250q.js} +0 -0
  756. /package/dist/chunks/{model-resolver-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{model-resolver-gftt206x.js → tool-output-gftt206x.js} +0 -0
  758. /package/dist/chunks/{model-resolver-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{model-resolver-hk9envan.js → tool-output-hk9envan.js} +0 -0
  760. /package/dist/chunks/{model-resolver-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{model-resolver-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{model-resolver-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{model-resolver-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{model-resolver-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{model-resolver-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{model-resolver-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{model-resolver-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{model-resolver-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{model-resolver-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{model-resolver-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{model-resolver-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{model-resolver-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{model-resolver-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{model-resolver-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{model-resolver-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{model-resolver-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{model-resolver-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{model-resolver-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{model-resolver-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{model-resolver-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{model-resolver-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{model-resolver-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{model-resolver-x61499pn.js → tool-output-x61499pn.js} +0 -0
  789. /package/dist/chunks/{model-resolver-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{model-resolver-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{model-resolver-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{model-resolver-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{model-resolver-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{model-resolver-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./model-resolver-2a5m3afh.js";
3
+ } from "./tool-output-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./model-resolver-922hggd3.js";
6
+ } from "./tool-output-922hggd3.js";
7
7
  import {
8
- Service77
9
- } from "./model-resolver-d4j0zdza.js";
8
+ Service78
9
+ } from "./tool-output-p5qm3gp3.js";
10
10
  import {
11
- Service61
12
- } from "./model-resolver-qqrtcnkc.js";
11
+ Service72
12
+ } from "./tool-output-2xz9fsyh.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service20
16
- } from "./model-resolver-b7rmz7dj.js";
15
+ Service71
16
+ } from "./tool-output-38ps540c.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./model-resolver-16xb7hp4.js";
23
+ } from "./tool-output-f6qn8qx5.js";
24
24
  import {
25
- Service64
26
- } from "./model-resolver-x9159bxd.js";
25
+ Service61
26
+ } from "./tool-output-0ebpwq5w.js";
27
27
  import {
28
- Service17
29
- } from "./model-resolver-jw14ppbh.js";
28
+ Service16
29
+ } from "./tool-output-eb500h05.js";
30
30
  import {
31
31
  __export
32
- } from "./model-resolver-9rqn6x4v.js";
32
+ } from "./tool-output-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input3,
38
+ Input: () => Input6,
39
39
  Output: () => Output3,
40
- Plugin: () => Plugin20,
41
- name: () => name3,
42
- toModelContent: () => toModelContent2
40
+ Plugin: () => Plugin7,
41
+ name: () => name6,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name3 = "grep";
48
- var Input3 = Schema.Struct({
47
+ var name6 = "grep";
48
+ var Input6 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -66,7 +66,7 @@ var Input3 = Schema.Struct({
66
66
  })
67
67
  });
68
68
  var Output3 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin20 = {
86
+ var Plugin7 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service61;
90
- const ripgrep = yield* Service20;
91
- const location = yield* Service77;
92
- const access = yield* Service17;
93
- const permission = yield* Service64;
89
+ const environment = yield* Service72;
90
+ const ripgrep = yield* Service71;
91
+ const location = yield* Service78;
92
+ const access = yield* Service16;
93
+ const permission = yield* Service61;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name3,
95
+ name: name6,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input3,
98
+ input: Input6,
99
99
  output: Output3,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name3,
105
+ action: name6,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin20 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin20 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name3, Input3, Output3, toModelContent2, Plugin20, exports_grep };
157
+ export { name6, Input6, Output3, toModelContent3, Plugin7, exports_grep };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service82
3
- } from "./model-resolver-xgsfyewx.js";
3
+ } from "./tool-output-0j4e08ab.js";
4
4
  import {
5
- Service77
6
- } from "./model-resolver-d4j0zdza.js";
5
+ Service78
6
+ } from "./tool-output-p5qm3gp3.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service33
10
- } from "./model-resolver-btxmggav.js";
9
+ Service29
10
+ } from "./tool-output-v86zhtje.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./tool-output-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command = {};
17
17
  __export(exports_command, {
18
18
  CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin15
19
+ Plugin: () => Plugin25
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin15 = define({
196
+ var Plugin25 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service77;
200
- const mcp = yield* Service33;
199
+ const location = yield* Service78;
200
+ const mcp = yield* Service29;
201
201
  const bus = yield* Service82;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin15, exports_command };
283
+ export { Plugin25, exports_command };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./model-resolver-rdw6cm16.js";
3
+ } from "./tool-output-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./model-resolver-qaymkmh1.js";
6
+ } from "./tool-output-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./tool-output-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service47,
14
+ Options: () => Options10,
15
+ Service: () => Service51,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured7,
18
+ configured: () => configured10,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node50,
24
+ node: () => node55,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service47 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service51 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list3(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service47.of({
202
+ return Service51.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list3(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured7(options) {
210
- return makeLocationNode({ service: Service47, layer: layer(options), deps: [Global.node] });
209
+ function configured10(options) {
210
+ return makeLocationNode({ service: Service51, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node50 = configured7();
212
+ var node55 = configured10();
213
213
 
214
- export { Options7, Service47, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured7, node50, exports_select };
214
+ export { Options10, Service51, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list3, configured10, node55, exports_select };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID13,
3
- Service74
4
- } from "./model-resolver-h5cj5dem.js";
2
+ ID14,
3
+ Service76
4
+ } from "./tool-output-842ne6kv.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service74;
12
+ const integrations = yield* Service76;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID13.make(item.provider.id)))
22
+ if (!configured.has(ID14.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./model-resolver-2a5m3afh.js";
3
+ } from "./tool-output-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./model-resolver-922hggd3.js";
6
+ } from "./tool-output-922hggd3.js";
7
7
  import {
8
- Service77
9
- } from "./model-resolver-d4j0zdza.js";
8
+ Service78
9
+ } from "./tool-output-p5qm3gp3.js";
10
10
  import {
11
- Service61
12
- } from "./model-resolver-qqrtcnkc.js";
11
+ Service72
12
+ } from "./tool-output-2xz9fsyh.js";
13
13
  import {
14
- Service20
15
- } from "./model-resolver-b7rmz7dj.js";
14
+ Service71
15
+ } from "./tool-output-38ps540c.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./model-resolver-16xb7hp4.js";
21
+ } from "./tool-output-f6qn8qx5.js";
22
22
  import {
23
- Service64
24
- } from "./model-resolver-x9159bxd.js";
23
+ Service61
24
+ } from "./tool-output-0ebpwq5w.js";
25
25
  import {
26
- Service17
27
- } from "./model-resolver-jw14ppbh.js";
26
+ Service16
27
+ } from "./tool-output-eb500h05.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./tool-output-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input7,
37
- Output: () => Output6,
38
- Plugin: () => Plugin25,
39
- name: () => name7,
40
- toModelContent: () => toModelContent5
36
+ Input: () => Input12,
37
+ Output: () => Output8,
38
+ Plugin: () => Plugin13,
39
+ name: () => name12,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name7 = "glob";
46
- var Input7 = Schema.Struct({
45
+ var name12 = "glob";
46
+ var Input12 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input7 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output6 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
58
+ var Output8 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin25 = {
66
+ var Plugin13 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service61;
70
- const ripgrep = yield* Service20;
71
- const location = yield* Service77;
72
- const access = yield* Service17;
73
- const permission = yield* Service64;
69
+ const environment = yield* Service72;
70
+ const ripgrep = yield* Service71;
71
+ const location = yield* Service78;
72
+ const access = yield* Service16;
73
+ const permission = yield* Service61;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name7,
75
+ name: name12,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input7,
79
- output: Output6,
78
+ input: Input12,
79
+ output: Output8,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name7,
86
+ action: name12,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin25 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name7, Input7, Output6, toModelContent5, Plugin25, exports_glob };
128
+ export { name12, Input12, Output8, toModelContent6, Plugin13, exports_glob };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service77
3
- } from "./model-resolver-d4j0zdza.js";
2
+ Service78
3
+ } from "./tool-output-p5qm3gp3.js";
4
4
  import {
5
- Service61
6
- } from "./model-resolver-qqrtcnkc.js";
5
+ Service72
6
+ } from "./tool-output-2xz9fsyh.js";
7
7
  import {
8
- Service13,
8
+ Service15,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./model-resolver-xvw3exqc.js";
11
+ } from "./tool-output-mwzkew1k.js";
12
12
  import {
13
- Service14
14
- } from "./model-resolver-pyejz7ph.js";
13
+ Service13
14
+ } from "./tool-output-py4qxy13.js";
15
15
  import {
16
- Service64
17
- } from "./model-resolver-x9159bxd.js";
16
+ Service61
17
+ } from "./tool-output-0ebpwq5w.js";
18
18
  import {
19
- Service17,
19
+ Service16,
20
20
  resolvePath2
21
- } from "./model-resolver-jw14ppbh.js";
21
+ } from "./tool-output-eb500h05.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./model-resolver-6prwharc.js";
24
+ } from "./tool-output-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./model-resolver-9rqn6x4v.js";
27
+ } from "./tool-output-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input10,
34
- Output: () => Output7,
35
- Plugin: () => Plugin28,
36
- name: () => name10
33
+ Input: () => Input9,
34
+ Output: () => Output6,
35
+ Plugin: () => Plugin10,
36
+ name: () => name9
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name10 = "edit";
43
- var Input10 = Schema.Struct({
42
+ var name9 = "edit";
43
+ var Input9 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output6 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin28 = {
106
+ var Plugin10 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service17;
110
- const fileMutation = yield* Service13;
111
- const environment = yield* Service61;
112
- const formatter = yield* Service14;
113
- const location = yield* Service77;
114
- const permission = yield* Service64;
109
+ const access = yield* Service16;
110
+ const fileMutation = yield* Service15;
111
+ const environment = yield* Service72;
112
+ const formatter = yield* Service13;
113
+ const location = yield* Service78;
114
+ const permission = yield* Service61;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name10,
116
+ name: name9,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input10,
120
- output: Output7,
119
+ input: Input9,
120
+ output: Output6,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin28 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name10, Input10, Output7, Plugin28, exports_edit };
197
+ export { name9, Input9, Output6, Plugin10, exports_edit };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make22,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make22 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make22, exports_keyed_mutex };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
@@ -8,7 +8,7 @@ __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
10
  Entry: () => Entry4,
11
- Info: () => Info17,
11
+ Info: () => Info10,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info10 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info17, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info10, exports_lsp };