@opencode/core 0.0.0-dev-20619 → 0.0.0-dev-20621

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{location-service-map-ha607pgt.js → tool-08ed4zmw.js} +6 -6
  8. package/dist/chunks/{location-service-map-0vbcp93d.js → tool-0emb60td.js} +2 -2
  9. package/dist/chunks/{location-service-map-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{location-service-map-nxahtb87.js → tool-0xccjjzw.js} +35 -35
  11. package/dist/chunks/{location-service-map-zb967tnj.js → tool-0y2egbcr.js} +5 -5
  12. package/dist/chunks/{location-service-map-k1pw1nmv.js → tool-125pv97z.js} +9 -9
  13. package/dist/chunks/{location-service-map-74z2pekp.js → tool-16pwk8my.js} +18 -18
  14. package/dist/chunks/{location-service-map-r8xr0va3.js → tool-1acjjqhc.js} +4 -4
  15. package/dist/chunks/{location-service-map-0dscybm1.js → tool-1cz6w5aa.js} +5 -5
  16. package/dist/chunks/{location-service-map-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{location-service-map-454g5gmk.js → tool-1ewxhx38.js} +32 -32
  18. package/dist/chunks/{location-service-map-1gq323dy.js → tool-1x69mj4q.js} +12 -12
  19. package/dist/chunks/{location-service-map-1ygqh575.js → tool-1ygqh575.js} +2 -2
  20. package/dist/chunks/{location-service-map-cdt8bzej.js → tool-23mntapz.js} +11 -11
  21. package/dist/chunks/{location-service-map-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{location-service-map-vbfgae2j.js → tool-2k71kv7p.js} +4 -4
  23. package/dist/chunks/{location-service-map-6xvm70p2.js → tool-2n6fa56a.js} +1 -1
  24. package/dist/chunks/{location-service-map-2sejkfem.js → tool-2sejkfem.js} +2 -2
  25. package/dist/chunks/{location-service-map-6mpgrs7g.js → tool-2xcf8v2e.js} +12 -12
  26. package/dist/chunks/{location-service-map-3z5tz087.js → tool-2zv0bcyv.js} +8 -8
  27. package/dist/chunks/{location-service-map-gccvjmvx.js → tool-303t2pvh.js} +33 -33
  28. package/dist/chunks/{location-service-map-k5p5r8cn.js → tool-350pbqn9.js} +26 -26
  29. package/dist/chunks/{location-service-map-9w81ccxg.js → tool-3936tkf8.js} +15 -15
  30. package/dist/chunks/{location-service-map-8bw9sbtk.js → tool-393z7mah.js} +3 -3
  31. package/dist/chunks/tool-39v3zkdd.js +26 -0
  32. package/dist/chunks/{location-service-map-3cegwx68.js → tool-3cegwx68.js} +2 -2
  33. package/dist/chunks/{location-service-map-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{location-service-map-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{location-service-map-3j9bgvtg.js → tool-3j9bgvtg.js} +2 -2
  36. package/dist/chunks/{location-service-map-78m5jnv1.js → tool-3sdb20zb.js} +11 -11
  37. package/dist/chunks/{location-service-map-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{location-service-map-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{location-service-map-gmmdfr2g.js → tool-3w57jhwt.js} +8 -8
  40. package/dist/chunks/{location-service-map-zbfz3xwr.js → tool-3x1fhjfk.js} +5 -5
  41. package/dist/chunks/{location-service-map-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{location-service-map-egwmgdj8.js → tool-40gsab6q.js} +8 -8
  43. package/dist/chunks/{location-service-map-h7k8q2pp.js → tool-42ayv7pm.js} +42 -42
  44. package/dist/chunks/{location-service-map-2py0agnv.js → tool-4c8s8kge.js} +5 -5
  45. package/dist/chunks/{location-service-map-c1p19z3d.js → tool-4jjk64j7.js} +17 -17
  46. package/dist/chunks/{location-service-map-r7pnpgef.js → tool-4mpv5s2v.js} +43 -43
  47. package/dist/chunks/{location-service-map-b3drqneq.js → tool-4set99t9.js} +3 -3
  48. package/dist/chunks/{location-service-map-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
  49. package/dist/chunks/tool-4xtwzbwp.js +507 -0
  50. package/dist/chunks/{location-service-map-km3npgs7.js → tool-51r1g0v9.js} +11 -11
  51. package/dist/chunks/{location-service-map-54ma36ye.js → tool-54ma36ye.js} +1 -1
  52. package/dist/chunks/{location-service-map-fzvcadtp.js → tool-56avvebe.js} +19 -19
  53. package/dist/chunks/{location-service-map-rmk2c50f.js → tool-5d17xbav.js} +5 -5
  54. package/dist/chunks/{location-service-map-5daktx2q.js → tool-5daktx2q.js} +1 -1
  55. package/dist/chunks/{location-service-map-krzfd9gj.js → tool-5jxm9yfz.js} +25 -25
  56. package/dist/chunks/{location-service-map-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{location-service-map-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{location-service-map-5yzzbxa7.js → tool-5yzzbxa7.js} +1 -1
  59. package/dist/chunks/{location-service-map-vey9hnfm.js → tool-61m1wdtq.js} +30 -30
  60. package/dist/chunks/{location-service-map-7d15eyz8.js → tool-66t34m9w.js} +33 -33
  61. package/dist/chunks/{location-service-map-pkykh1c4.js → tool-690bn0hf.js} +24 -24
  62. package/dist/chunks/{location-service-map-pp136rg2.js → tool-6az9vrde.js} +15 -15
  63. package/dist/chunks/{location-service-map-sds13m34.js → tool-6m1hjez2.js} +13 -13
  64. package/dist/chunks/{location-service-map-84hrpz0c.js → tool-6qzp8a5z.js} +24 -24
  65. package/dist/chunks/{location-service-map-qwmkc30s.js → tool-6w4tq3mb.js} +9 -9
  66. package/dist/chunks/{location-service-map-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{location-service-map-m6f3t844.js → tool-6ysrkrkr.js} +8 -8
  68. package/dist/chunks/{location-service-map-wn07hjne.js → tool-6zhvkmk5.js} +4 -4
  69. package/dist/chunks/{location-service-map-ktjka1hj.js → tool-75v4x8jp.js} +21 -21
  70. package/dist/chunks/{location-service-map-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{location-service-map-20jgfyrr.js → tool-7crx08a4.js} +8 -8
  72. package/dist/chunks/{location-service-map-9yfsze0z.js → tool-7q4nzkb9.js} +16 -16
  73. package/dist/chunks/{location-service-map-y1rxxbk0.js → tool-7rm45jzf.js} +4 -4
  74. package/dist/chunks/{location-service-map-5c68qayq.js → tool-7vp466hh.js} +26 -26
  75. package/dist/chunks/{location-service-map-xf2pa8zd.js → tool-81bpzke5.js} +11 -11
  76. package/dist/chunks/{location-service-map-84h8c373.js → tool-84h8c373.js} +2 -2
  77. package/dist/chunks/{location-service-map-w1eejvng.js → tool-84txncab.js} +5 -5
  78. package/dist/chunks/{location-service-map-6khy56qy.js → tool-853r27ye.js} +22 -22
  79. package/dist/chunks/{location-service-map-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{location-service-map-je2wj9bc.js → tool-8h9kzq6c.js} +15 -15
  81. package/dist/chunks/{location-service-map-ryr25ayn.js → tool-8rqycdgd.js} +7 -7
  82. package/dist/chunks/{location-service-map-xr6s0kj2.js → tool-8sq1nazw.js} +32 -32
  83. package/dist/chunks/{location-service-map-gsjfqrw2.js → tool-9f2nvjyq.js} +3 -3
  84. package/dist/chunks/{location-service-map-zaf7gkec.js → tool-9swdtjav.js} +11 -11
  85. package/dist/chunks/{location-service-map-eaj1djv9.js → tool-9t7a50xb.js} +8 -8
  86. package/dist/chunks/{location-service-map-1eyzcjgj.js → tool-9thxh3x6.js} +7 -7
  87. package/dist/chunks/{location-service-map-4nb8q36b.js → tool-9tqp4rjd.js} +36 -36
  88. package/dist/chunks/{location-service-map-vwfsyanb.js → tool-9xafsdbn.js} +20 -20
  89. package/dist/chunks/{location-service-map-127b9nq3.js → tool-9y9sk2j9.js} +2 -2
  90. package/dist/chunks/{location-service-map-73tb2d7t.js → tool-a1gpj94z.js} +3 -3
  91. package/dist/chunks/{location-service-map-2v0n029n.js → tool-a1jynv3g.js} +13 -13
  92. package/dist/chunks/{location-service-map-8azwypgr.js → tool-a2gqrh8v.js} +38 -38
  93. package/dist/chunks/{location-service-map-qdfmmfmw.js → tool-a2zv89qz.js} +13 -13
  94. package/dist/chunks/{location-service-map-h6310vsd.js → tool-a3c7ahw6.js} +4 -4
  95. package/dist/chunks/{location-service-map-zt2bzptc.js → tool-a65exzz3.js} +10 -10
  96. package/dist/chunks/{location-service-map-7yg6rx9g.js → tool-a7bsh1ec.js} +15 -15
  97. package/dist/chunks/{location-service-map-aaet6srn.js → tool-aaet6srn.js} +2 -2
  98. package/dist/chunks/{location-service-map-gqtdsdt7.js → tool-addxnjmp.js} +4 -4
  99. package/dist/chunks/{location-service-map-d0bzyg63.js → tool-adfa1w2n.js} +4 -4
  100. package/dist/chunks/{location-service-map-5wfscpdf.js → tool-apme4279.js} +24 -24
  101. package/dist/chunks/{location-service-map-ze75yzft.js → tool-at1kfnmk.js} +8 -8
  102. package/dist/chunks/{location-service-map-mtpeagzc.js → tool-axe3mf62.js} +3 -3
  103. package/dist/chunks/{location-service-map-c3k8tvkr.js → tool-b1axcb5r.js} +25 -25
  104. package/dist/chunks/{location-service-map-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{location-service-map-s6ekajw7.js → tool-b750x627.js} +4 -4
  106. package/dist/chunks/{location-service-map-vz4efdz7.js → tool-b8yxdv3q.js} +33 -33
  107. package/dist/chunks/{location-service-map-wgeww5nz.js → tool-bbpgpzrp.js} +4 -4
  108. package/dist/chunks/{location-service-map-j4g12xyk.js → tool-bcr0ksmf.js} +11 -11
  109. package/dist/chunks/{location-service-map-dmgm8hbn.js → tool-bvjdq5yq.js} +5 -5
  110. package/dist/chunks/{location-service-map-qgx3m4fk.js → tool-bx021530.js} +14 -14
  111. package/dist/chunks/{location-service-map-7gjj60kp.js → tool-c1ant5c1.js} +186 -186
  112. package/dist/chunks/{location-service-map-7q2mmdwt.js → tool-c3227a7e.js} +21 -21
  113. package/dist/chunks/{location-service-map-rztntraz.js → tool-c7f2cwkk.js} +3 -3
  114. package/dist/chunks/{location-service-map-8sze2n9a.js → tool-cfsekr6v.js} +6 -6
  115. package/dist/chunks/{location-service-map-e4d6vapj.js → tool-cjdpndr5.js} +7 -7
  116. package/dist/chunks/{location-service-map-m0z1mck7.js → tool-cjxvfp5z.js} +7 -7
  117. package/dist/chunks/{location-service-map-gsm55t7w.js → tool-ck2jvgzg.js} +25 -25
  118. package/dist/chunks/{location-service-map-8dyv2drs.js → tool-ckag18vk.js} +24 -24
  119. package/dist/chunks/{location-service-map-r2jrepys.js → tool-csdqyeex.js} +14 -14
  120. package/dist/chunks/{location-service-map-de3xt6b6.js → tool-ct5kn7sm.js} +23 -23
  121. package/dist/chunks/{location-service-map-wxfxn6b6.js → tool-cwxwnzw8.js} +9 -9
  122. package/dist/chunks/{location-service-map-83h15a4g.js → tool-cy8n646y.js} +26 -26
  123. package/dist/chunks/{location-service-map-7hs4xefr.js → tool-cz3qxt32.js} +37 -37
  124. package/dist/chunks/{location-service-map-hwqq4ms1.js → tool-czkrkmgx.js} +19 -19
  125. package/dist/chunks/{location-service-map-5h6z90ew.js → tool-d0m8bny5.js} +24 -24
  126. package/dist/chunks/{location-service-map-c7ecsckw.js → tool-dbqekdzp.js} +5 -5
  127. package/dist/chunks/{location-service-map-56n56y98.js → tool-dcgfqf6n.js} +6 -6
  128. package/dist/chunks/{location-service-map-xasyx0as.js → tool-dd40s8jk.js} +4 -4
  129. package/dist/chunks/{location-service-map-nxm207yx.js → tool-dpkg50ah.js} +4 -4
  130. package/dist/chunks/{location-service-map-86andz90.js → tool-dwktjsma.js} +1 -1
  131. package/dist/chunks/{location-service-map-nrq6zt4y.js → tool-e4gfb4rf.js} +22 -22
  132. package/dist/chunks/{location-service-map-9j2j83bv.js → tool-e4q1gg2w.js} +22 -22
  133. package/dist/chunks/{location-service-map-jp0kz9fa.js → tool-eaxx2kzt.js} +4 -4
  134. package/dist/chunks/{location-service-map-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{location-service-map-fkvh3sbb.js → tool-egspt8cm.js} +71 -71
  136. package/dist/chunks/{location-service-map-r05dm99z.js → tool-entbm7rc.js} +23 -23
  137. package/dist/chunks/{location-service-map-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{location-service-map-mm6scpq0.js → tool-f4tfcf42.js} +9 -9
  139. package/dist/chunks/{location-service-map-f75zav2x.js → tool-f75zav2x.js} +2 -2
  140. package/dist/chunks/{location-service-map-39a087jp.js → tool-fe6bz30b.js} +21 -21
  141. package/dist/chunks/{location-service-map-zx2ydjtq.js → tool-fgvy1g99.js} +34 -34
  142. package/dist/chunks/{location-service-map-fmjcavrh.js → tool-fhm77ccb.js} +3 -3
  143. package/dist/chunks/{location-service-map-dnxbd4cz.js → tool-g0vvyb83.js} +13 -13
  144. package/dist/chunks/{location-service-map-4xpgt2w9.js → tool-g24rjnnt.js} +5 -5
  145. package/dist/chunks/{location-service-map-8z8t28dy.js → tool-g357tzjd.js} +27 -27
  146. package/dist/chunks/{location-service-map-k8aeqdhx.js → tool-g4ezwve1.js} +20 -20
  147. package/dist/chunks/{location-service-map-xfkkasph.js → tool-g5w8qwbj.js} +4 -4
  148. package/dist/chunks/{location-service-map-3gvjv2ch.js → tool-g6tpgah0.js} +94 -94
  149. package/dist/chunks/{location-service-map-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  150. package/dist/chunks/tool-gdn38z0d.js +253 -0
  151. package/dist/chunks/{location-service-map-awqjr0f0.js → tool-gfygj460.js} +19 -19
  152. package/dist/chunks/{location-service-map-d5vprnsh.js → tool-gkwkvfez.js} +23 -23
  153. package/dist/chunks/{location-service-map-twt05vvt.js → tool-gx34rq0y.js} +6 -6
  154. package/dist/chunks/{location-service-map-exrvrd9z.js → tool-gxds6sjc.js} +25 -25
  155. package/dist/chunks/{location-service-map-rj7v2vbk.js → tool-h43cy6bd.js} +8 -8
  156. package/dist/chunks/{location-service-map-xn4rysh4.js → tool-h65drem0.js} +22 -22
  157. package/dist/chunks/{location-service-map-8x1h6qvw.js → tool-h6tdr0wz.js} +17 -17
  158. package/dist/chunks/{location-service-map-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{location-service-map-e7gdn37t.js → tool-h9pcb0g7.js} +8 -8
  160. package/dist/chunks/{location-service-map-w5axg3f4.js → tool-hmb6jn2z.js} +17 -17
  161. package/dist/chunks/{location-service-map-07th4jzr.js → tool-hqwyy3bj.js} +3 -3
  162. package/dist/chunks/{location-service-map-769zxr4g.js → tool-hv8s3tg2.js} +9 -9
  163. package/dist/chunks/{location-service-map-bvddx0k2.js → tool-j1ba0jw9.js} +32 -32
  164. package/dist/chunks/{location-service-map-j56e64zr.js → tool-j56e64zr.js} +1 -1
  165. package/dist/chunks/{location-service-map-8ngk0gag.js → tool-j6rvrjb2.js} +18 -18
  166. package/dist/chunks/{location-service-map-rnp1jeej.js → tool-jy0x8hkf.js} +36 -36
  167. package/dist/chunks/{location-service-map-eqrqh4gv.js → tool-k1pmzggn.js} +35 -35
  168. package/dist/chunks/{location-service-map-kb9j3d72.js → tool-kb9j3d72.js} +3 -3
  169. package/dist/chunks/{location-service-map-ag4dv9qd.js → tool-kc6hkr7d.js} +6 -6
  170. package/dist/chunks/{location-service-map-zpewkee0.js → tool-kfdtc9qy.js} +11 -11
  171. package/dist/chunks/{location-service-map-dhmh7aw6.js → tool-kne8f3cn.js} +4 -4
  172. package/dist/chunks/{location-service-map-gw4e0q0x.js → tool-krzbbgtd.js} +9 -9
  173. package/dist/chunks/{location-service-map-magykp64.js → tool-kvvk39gs.js} +4 -4
  174. package/dist/chunks/{location-service-map-fr2bbqk1.js → tool-kzgmjn1f.js} +9 -9
  175. package/dist/chunks/{location-service-map-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{location-service-map-5s264ej7.js → tool-m8tjqkzb.js} +5 -5
  177. package/dist/chunks/{location-service-map-1e2txdvf.js → tool-m9kfb99s.js} +9 -9
  178. package/dist/chunks/{location-service-map-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{location-service-map-9szwjyee.js → tool-mdmbfqgq.js} +8 -8
  180. package/dist/chunks/{location-service-map-d3hqfx68.js → tool-mktzjf14.js} +48 -48
  181. package/dist/chunks/{location-service-map-szjs91dx.js → tool-mrtp8nr7.js} +10 -10
  182. package/dist/chunks/{location-service-map-9x77fmbz.js → tool-mwwxnxty.js} +4 -4
  183. package/dist/chunks/{location-service-map-tcay1cqt.js → tool-mx9vqzsb.js} +6 -6
  184. package/dist/chunks/{location-service-map-a6jacbea.js → tool-mzraw8ha.js} +7 -7
  185. package/dist/chunks/{location-service-map-prszkkra.js → tool-mzrc21xj.js} +51 -51
  186. package/dist/chunks/{location-service-map-yathvfgy.js → tool-n3kz9j5v.js} +5 -5
  187. package/dist/chunks/{location-service-map-pkp66tt9.js → tool-n7c1m45s.js} +17 -17
  188. package/dist/chunks/{location-service-map-yp9bn2b3.js → tool-na90p5sz.js} +32 -32
  189. package/dist/chunks/{location-service-map-rk1r2hx8.js → tool-ncnm8wen.js} +1 -1
  190. package/dist/chunks/{location-service-map-twek8x35.js → tool-nesyhtff.js} +12 -12
  191. package/dist/chunks/{location-service-map-dfmhxrz0.js → tool-ng6f7xag.js} +19 -19
  192. package/dist/chunks/{location-service-map-gfeskyg4.js → tool-nkxtzyv4.js} +26 -26
  193. package/dist/chunks/{location-service-map-9y7qykjj.js → tool-npt101jb.js} +26 -26
  194. package/dist/chunks/{location-service-map-g472fneb.js → tool-p10vm95c.js} +9 -9
  195. package/dist/chunks/{location-service-map-zfn91hgf.js → tool-p2y4rtdg.js} +40 -40
  196. package/dist/chunks/{location-service-map-tq5qgs2t.js → tool-p6hyfmfc.js} +3 -3
  197. package/dist/chunks/{location-service-map-szxrsjqx.js → tool-pdssdm3r.js} +42 -42
  198. package/dist/chunks/{location-service-map-xcgyncvr.js → tool-pjsqfx9m.js} +6 -6
  199. package/dist/chunks/{location-service-map-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{location-service-map-pknna89w.js → tool-pknna89w.js} +1 -1
  201. package/dist/chunks/{location-service-map-pvqh8ezh.js → tool-pnzjke2r.js} +28 -28
  202. package/dist/chunks/{location-service-map-kmr57zyr.js → tool-pvnmdee5.js} +12 -12
  203. package/dist/chunks/{location-service-map-1qcjtthm.js → tool-pz19f1h4.js} +16 -16
  204. package/dist/chunks/{location-service-map-0z6d4rmk.js → tool-pzcaekwn.js} +11 -11
  205. package/dist/chunks/{location-service-map-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
  206. package/dist/chunks/tool-q509s3k3.js +18 -0
  207. package/dist/chunks/{location-service-map-namy803z.js → tool-qbd5ma0n.js} +10 -10
  208. package/dist/chunks/{location-service-map-010seb99.js → tool-qc3y4bn0.js} +19 -19
  209. package/dist/chunks/{location-service-map-3sca11j3.js → tool-qdm0xvfe.js} +14 -14
  210. package/dist/chunks/{location-service-map-7dqw4kz8.js → tool-qgn6gcr1.js} +5 -5
  211. package/dist/chunks/{location-service-map-x1nrqjen.js → tool-qk33d3eb.js} +5 -5
  212. package/dist/chunks/{location-service-map-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{location-service-map-qsdy395h.js → tool-qsdy395h.js} +1 -1
  214. package/dist/chunks/{location-service-map-p1qb3drj.js → tool-qt17f4h7.js} +15 -15
  215. package/dist/chunks/{location-service-map-6c14dhht.js → tool-qtq3p0wt.js} +47 -47
  216. package/dist/chunks/{location-service-map-cgdwpeh2.js → tool-qx8vbekt.js} +11 -11
  217. package/dist/chunks/{location-service-map-7t7wryz1.js → tool-r1z1z81h.js} +9 -9
  218. package/dist/chunks/{location-service-map-m3zza4qd.js → tool-r9t00hsy.js} +8 -8
  219. package/dist/chunks/{location-service-map-6b2zjn2e.js → tool-r9w3djhf.js} +9 -9
  220. package/dist/chunks/{location-service-map-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{location-service-map-bsg68v4g.js → tool-rjep82nj.js} +24 -24
  222. package/dist/chunks/{location-service-map-aaerayjc.js → tool-rx871m47.js} +2 -2
  223. package/dist/chunks/{location-service-map-v54qpgr0.js → tool-rxn8twjw.js} +16 -16
  224. package/dist/chunks/{location-service-map-b674v2dg.js → tool-s7nv2rwz.js} +5 -5
  225. package/dist/chunks/{location-service-map-qygbw77c.js → tool-scgrse2b.js} +5 -5
  226. package/dist/chunks/{location-service-map-ppw5pgfr.js → tool-scqzf1nw.js} +19 -19
  227. package/dist/chunks/{location-service-map-xv3zg2q6.js → tool-see9wd13.js} +85 -85
  228. package/dist/chunks/{location-service-map-mkvtt44j.js → tool-semz41dm.js} +10 -10
  229. package/dist/chunks/{location-service-map-96g0xk8f.js → tool-sgd5yhbj.js} +9 -9
  230. package/dist/chunks/{location-service-map-3rtxz4nr.js → tool-sm965ndy.js} +8 -8
  231. package/dist/chunks/{location-service-map-t0aj6zfa.js → tool-swk0q7s9.js} +4 -4
  232. package/dist/chunks/{location-service-map-egepr5de.js → tool-sxt8reb7.js} +36 -36
  233. package/dist/chunks/{location-service-map-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-service-map-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{location-service-map-njjewnx6.js → tool-tcyk0gcq.js} +13 -13
  236. package/dist/chunks/{location-service-map-tdstcens.js → tool-tdstcens.js} +1 -1
  237. package/dist/chunks/{location-service-map-4e3rfxea.js → tool-tdtgstz8.js} +21 -21
  238. package/dist/chunks/{location-service-map-gxg80x33.js → tool-tnjsmpmj.js} +18 -18
  239. package/dist/chunks/{location-service-map-4zs71apm.js → tool-tpypbtav.js} +4 -4
  240. package/dist/chunks/{location-service-map-9j9t3aqc.js → tool-txw06jcg.js} +28 -28
  241. package/dist/chunks/{location-service-map-p4wg1ppv.js → tool-tytd2jm0.js} +57 -57
  242. package/dist/chunks/{location-service-map-pxe6kq0w.js → tool-vcccfxhw.js} +46 -46
  243. package/dist/chunks/{location-service-map-dmst3jkw.js → tool-vdg7jmx3.js} +15 -15
  244. package/dist/chunks/{location-service-map-veqvce7d.js → tool-veqvce7d.js} +1 -1
  245. package/dist/chunks/{location-service-map-s64dwba7.js → tool-vk9cvn9d.js} +35 -35
  246. package/dist/chunks/{location-service-map-n1czvmwq.js → tool-vpfpr37q.js} +11 -11
  247. package/dist/chunks/{location-service-map-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{location-service-map-he6yfzaa.js → tool-w0jh0ny2.js} +16 -16
  249. package/dist/chunks/{location-service-map-gh5z95q3.js → tool-w36j0bmk.js} +9 -9
  250. package/dist/chunks/{location-service-map-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{location-service-map-7ajdsyfz.js → tool-w7jnj522.js} +19 -19
  252. package/dist/chunks/{location-service-map-wd87259q.js → tool-wd87259q.js} +1 -1
  253. package/dist/chunks/{location-service-map-vgsk5xvr.js → tool-wdeky1ys.js} +25 -25
  254. package/dist/chunks/{location-service-map-d1nt0n2x.js → tool-wfdj1abq.js} +11 -11
  255. package/dist/chunks/{location-service-map-r0fjcrds.js → tool-wk2zpc1v.js} +11 -11
  256. package/dist/chunks/{location-service-map-vjwwgqcm.js → tool-wkqs3fc0.js} +28 -28
  257. package/dist/chunks/{location-service-map-9wh8y7ww.js → tool-wpgamtwv.js} +31 -31
  258. package/dist/chunks/{location-service-map-c1b3n5g6.js → tool-wyyj98bv.js} +5 -5
  259. package/dist/chunks/{location-service-map-g7f0ex2r.js → tool-x2jd95r3.js} +32 -32
  260. package/dist/chunks/{location-service-map-gn31e51v.js → tool-xcmk6yw7.js} +9 -9
  261. package/dist/chunks/{location-service-map-6g7e4dd5.js → tool-xecxzrdp.js} +7 -7
  262. package/dist/chunks/{location-service-map-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
  263. package/dist/chunks/{location-service-map-qwrw8s1f.js → tool-xqq6j46d.js} +20 -20
  264. package/dist/chunks/{location-service-map-qxjc9qry.js → tool-xyafkbt0.js} +3 -3
  265. package/dist/chunks/{location-service-map-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{location-service-map-xa80rzga.js → tool-y6wve3t3.js} +13 -13
  267. package/dist/chunks/{location-service-map-a04314x9.js → tool-ydty4xqc.js} +20 -20
  268. package/dist/chunks/{location-service-map-3xf8dyep.js → tool-ymj5q7t9.js} +9 -9
  269. package/dist/chunks/{location-service-map-d78c1g6f.js → tool-ynky3s72.js} +29 -29
  270. package/dist/chunks/{location-service-map-7bm3957h.js → tool-yptech69.js} +28 -28
  271. package/dist/chunks/{location-service-map-wn1yfdfn.js → tool-yxe8956e.js} +11 -11
  272. package/dist/chunks/{location-service-map-rxjhzbnj.js → tool-yxnaqxdh.js} +6 -6
  273. package/dist/chunks/{location-service-map-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{location-service-map-3e49pc6f.js → tool-z26t8xx0.js} +17 -17
  275. package/dist/chunks/{location-service-map-e7qee91r.js → tool-z5n58sqq.js} +6 -6
  276. package/dist/chunks/{location-service-map-xsgk3b13.js → tool-zab19jja.js} +9 -9
  277. package/dist/chunks/{location-service-map-5kga03r5.js → tool-zbt4vqdm.js} +27 -27
  278. package/dist/chunks/{location-service-map-0bp78v74.js → tool-zcdqtjtf.js} +58 -58
  279. package/dist/chunks/{location-service-map-w8naej9r.js → tool-zqrhdrkc.js} +46 -46
  280. package/dist/chunks/{location-service-map-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{location-service-map-5p51aa78.js → tool-zr70bgmb.js} +19 -19
  282. package/dist/chunks/{location-service-map-f29mbr7f.js → tool-zsr4wwhv.js} +4 -4
  283. package/dist/chunks/{location-service-map-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +2 -2
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +97 -97
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +98 -98
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +8 -8
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +107 -107
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +96 -96
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +113 -113
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +1 -1
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +130 -130
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +2 -2
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +91 -91
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +124 -124
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +114 -114
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +204 -204
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +5 -5
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +74 -74
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/location-service-map-depzh27s.js +0 -26
  681. package/dist/chunks/location-service-map-jrwe4k30.js +0 -253
  682. package/dist/chunks/location-service-map-phz3h32g.js +0 -18
  683. package/dist/chunks/location-service-map-wgyje60p.js +0 -507
  684. /package/dist/chunks/{location-service-map-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{location-service-map-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{location-service-map-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{location-service-map-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{location-service-map-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{location-service-map-24dcb14g.js → tool-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{location-service-map-2710q6r3.js → tool-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{location-service-map-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{location-service-map-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{location-service-map-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{location-service-map-359p4xyc.js → tool-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{location-service-map-3asan66x.js → tool-3asan66x.js} +0 -0
  696. /package/dist/chunks/{location-service-map-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{location-service-map-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{location-service-map-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{location-service-map-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{location-service-map-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{location-service-map-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{location-service-map-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{location-service-map-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{location-service-map-53557ph1.js → tool-53557ph1.js} +0 -0
  705. /package/dist/chunks/{location-service-map-550bvhaj.js → tool-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{location-service-map-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{location-service-map-6prwharc.js → tool-6prwharc.js} +0 -0
  708. /package/dist/chunks/{location-service-map-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{location-service-map-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{location-service-map-7m9af43g.js → tool-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{location-service-map-822emrt2.js → tool-822emrt2.js} +0 -0
  712. /package/dist/chunks/{location-service-map-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{location-service-map-8n3pysct.js → tool-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{location-service-map-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{location-service-map-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{location-service-map-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{location-service-map-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{location-service-map-af5trqkr.js → tool-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{location-service-map-afrmfg78.js → tool-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{location-service-map-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{location-service-map-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{location-service-map-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{location-service-map-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{location-service-map-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{location-service-map-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{location-service-map-d9fn303g.js → tool-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{location-service-map-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{location-service-map-dajrwvna.js → tool-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{location-service-map-dap0rakb.js → tool-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{location-service-map-df08tz66.js → tool-df08tz66.js} +0 -0
  731. /package/dist/chunks/{location-service-map-dy18nga0.js → tool-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{location-service-map-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{location-service-map-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{location-service-map-ec1grn59.js → tool-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{location-service-map-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{location-service-map-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{location-service-map-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{location-service-map-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{location-service-map-faypxj3z.js → tool-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{location-service-map-fd410y7t.js → tool-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{location-service-map-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{location-service-map-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{location-service-map-g86h250q.js → tool-g86h250q.js} +0 -0
  744. /package/dist/chunks/{location-service-map-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{location-service-map-gftt206x.js → tool-gftt206x.js} +0 -0
  746. /package/dist/chunks/{location-service-map-hk9envan.js → tool-hk9envan.js} +0 -0
  747. /package/dist/chunks/{location-service-map-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{location-service-map-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{location-service-map-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{location-service-map-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{location-service-map-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{location-service-map-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{location-service-map-mp448xyj.js → tool-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{location-service-map-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{location-service-map-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{location-service-map-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{location-service-map-njntx4h6.js → tool-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{location-service-map-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{location-service-map-q74kybfr.js → tool-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{location-service-map-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{location-service-map-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{location-service-map-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{location-service-map-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{location-service-map-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{location-service-map-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{location-service-map-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{location-service-map-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{location-service-map-w803qqfp.js → tool-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{location-service-map-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{location-service-map-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{location-service-map-wtztk69x.js → tool-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{location-service-map-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{location-service-map-x61499pn.js → tool-x61499pn.js} +0 -0
  774. /package/dist/chunks/{location-service-map-y44na4kk.js → tool-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{location-service-map-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{location-service-map-y8f7s663.js → tool-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{location-service-map-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{location-service-map-ym463w8f.js → tool-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{location-service-map-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{location-service-map-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-service-map-wn1yfdfn.js";
3
+ } from "./tool-yxe8956e.js";
4
4
  import {
5
- Service81
6
- } from "./location-service-map-3sca11j3.js";
5
+ Service83
6
+ } from "./tool-qdm0xvfe.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./location-service-map-7d15eyz8.js";
9
+ Event19
10
+ } from "./tool-66t34m9w.js";
11
11
  import {
12
12
  key2
13
- } from "./location-service-map-gqtdsdt7.js";
13
+ } from "./tool-addxnjmp.js";
14
14
  import {
15
- ID9,
15
+ ID14,
16
16
  MethodID2
17
- } from "./location-service-map-gccvjmvx.js";
17
+ } from "./tool-303t2pvh.js";
18
18
  import {
19
- ID8,
19
+ ID13,
20
20
  aisdk2,
21
- Service64
22
- } from "./location-service-map-s64dwba7.js";
21
+ Service76
22
+ } from "./tool-vk9cvn9d.js";
23
23
  import {
24
- ID7,
24
+ ID5,
25
25
  Info16
26
- } from "./location-service-map-yp9bn2b3.js";
26
+ } from "./tool-na90p5sz.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./location-service-map-pjvnvgmy.js";
30
+ } from "./tool-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
35
35
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
- var providerID = ID8.gitlab;
39
- var integrationID = ID9.make("gitlab");
38
+ var providerID = ID13.gitlab;
39
+ var integrationID = ID14.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service64;
61
- const bus = yield* Service81;
60
+ const providers = yield* Service76;
61
+ const bus = yield* Service83;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
64
64
  const loaded = {};
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info16.default(providerID, ID7.make(model.id)),
188
+ ...Info16.default(providerID, ID5.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
219
219
  });
220
220
  }));
221
221
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
222
- if (evt.model.providerID !== ID8.gitlab)
222
+ if (evt.model.providerID !== ID13.gitlab)
223
223
  return;
224
224
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
225
225
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./location-service-map-gqtdsdt7.js";
3
+ } from "./tool-addxnjmp.js";
4
4
  import {
5
- Service81
6
- } from "./location-service-map-3sca11j3.js";
5
+ Service83
6
+ } from "./tool-qdm0xvfe.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./location-service-map-7d15eyz8.js";
9
+ Event19
10
+ } from "./tool-66t34m9w.js";
11
11
  import {
12
- ID9,
12
+ ID14,
13
13
  MethodID2
14
- } from "./location-service-map-gccvjmvx.js";
14
+ } from "./tool-303t2pvh.js";
15
15
  import {
16
- ID8,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service64
20
- } from "./location-service-map-s64dwba7.js";
19
+ Service76
20
+ } from "./tool-vk9cvn9d.js";
21
21
  import {
22
- ID7
23
- } from "./location-service-map-yp9bn2b3.js";
22
+ ID5
23
+ } from "./tool-na90p5sz.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./location-service-map-769zxr4g.js";
27
+ } from "./tool-hv8s3tg2.js";
28
28
  import {
29
29
  useragent2
30
- } from "./location-service-map-wn1yfdfn.js";
30
+ } from "./tool-yxe8956e.js";
31
31
  import {
32
- ID15
33
- } from "./location-service-map-5h6z90ew.js";
32
+ ID11
33
+ } from "./tool-d0m8bny5.js";
34
34
  import {
35
35
  get5
36
- } from "./location-service-map-54ma36ye.js";
36
+ } from "./tool-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID9.make("github-copilot"),
68
+ integrationID: ID14.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,8 +163,8 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service64;
167
- const bus = yield* Service81;
166
+ const providers = yield* Service76;
167
+ const bus = yield* Service83;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
170
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID8.githubCopilot);
183
+ const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
185
  try: () => load2(url, {
186
186
  ...provider?.headers,
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID8.githubCopilot);
205
+ const item = evt.get(ID13.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
222
222
  }
223
223
  });
224
224
  yield* ctx.model.transform((models) => {
225
- if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
226
- models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID13.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
226
+ models.update(ID13.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
227
227
  model.enabled = false;
228
228
  });
229
229
  }
230
230
  });
231
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
232
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
233
233
  yield* refresh().pipe(Effect.forkScoped);
234
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
235
- if (evt.model.providerID !== ID8.githubCopilot)
235
+ if (evt.model.providerID !== ID13.githubCopilot)
236
236
  return;
237
237
  if (evt.package !== "@ai-sdk/github-copilot")
238
238
  return;
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
241
241
  evt.sdk = mod.createOpenaiCompatible(evt.options);
242
242
  }));
243
243
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
244
- if (evt.model.providerID !== ID8.githubCopilot)
244
+ if (evt.model.providerID !== ID13.githubCopilot)
245
245
  return;
246
246
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
247
247
  return;
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
251
251
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
252
252
  if (interaction !== "conversation-agent")
253
253
  evt.headers["x-initiator"] = "agent";
254
- }), { providerID: ID8.githubCopilot });
254
+ }), { providerID: ID13.githubCopilot });
255
255
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
256
- if (evt.model.providerID !== ID8.githubCopilot)
256
+ if (evt.model.providerID !== ID13.githubCopilot)
257
257
  return;
258
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
259
259
  return;
260
- const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
260
+ const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
261
261
  return;
262
262
  }));
263
263
  if (agent?.data.model)
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
268
268
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
- }), { providerID: ID8.githubCopilot });
271
+ }), { providerID: ID13.githubCopilot });
272
272
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
273
- if (evt.model.providerID !== ID8.githubCopilot)
273
+ if (evt.model.providerID !== ID13.githubCopilot)
274
274
  return;
275
275
  const token = evt.request.headers.get("x-api-key");
276
276
  if (!token)
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
278
278
  const text = yield* Effect.promise(() => evt.request.clone().text());
279
279
  const body = Option.getOrUndefined(decodeBody(text));
280
280
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
281
- }), { providerID: ID8.githubCopilot });
281
+ }), { providerID: ID13.githubCopilot });
282
282
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
283
- if (evt.model.providerID !== ID8.githubCopilot)
283
+ if (evt.model.providerID !== ID13.githubCopilot)
284
284
  return;
285
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
286
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID7
3
- } from "./location-service-map-yp9bn2b3.js";
2
+ ID5
3
+ } from "./tool-na90p5sz.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID5.make("gpt-5-chat-latest"), ID5.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-service-map-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Service79
6
- } from "./location-service-map-v54qpgr0.js";
5
+ Service80
6
+ } from "./tool-rxn8twjw.js";
7
7
  import {
8
- Service59
9
- } from "./location-service-map-pxe6kq0w.js";
8
+ Service39
9
+ } from "./tool-vcccfxhw.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./location-service-map-d78c1g6f.js";
13
+ } from "./tool-ynky3s72.js";
14
14
  import {
15
15
  observe2
16
- } from "./location-service-map-qsdy395h.js";
16
+ } from "./tool-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./location-service-map-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin41
25
+ Plugin: () => Plugin49
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin41 = define({
31
+ var Plugin49 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service59;
35
- const location = yield* Service79;
34
+ const config = yield* Service39;
35
+ const location = yield* Service80;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin41, exports_reference };
75
+ export { Plugin49, exports_reference };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-service-map-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-service-map-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info13,
12
+ Info: () => Info6,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info6 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info6, exports_mcp5 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-service-map-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Service79
6
- } from "./location-service-map-v54qpgr0.js";
5
+ Service80
6
+ } from "./tool-rxn8twjw.js";
7
7
  import {
8
- Service67
9
- } from "./location-service-map-8ngk0gag.js";
8
+ Service16
9
+ } from "./tool-j6rvrjb2.js";
10
10
  import {
11
- Service7
12
- } from "./location-service-map-xn4rysh4.js";
11
+ Service6
12
+ } from "./tool-h65drem0.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./location-service-map-2a5m3afh.js";
15
+ } from "./tool-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service6
27
- } from "./location-service-map-p1qb3drj.js";
26
+ Service7
27
+ } from "./tool-qt17f4h7.js";
28
28
  import {
29
29
  __export
30
- } from "./location-service-map-9rqn6x4v.js";
30
+ } from "./tool-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input5,
36
- Plugin: () => Plugin22,
35
+ Input: () => Input8,
36
+ Plugin: () => Plugin26,
37
37
  ReadTool: () => exports_read,
38
- name: () => name5,
39
- toModelContent: () => toModelContent3
38
+ name: () => name8,
39
+ toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name5 = "read";
45
+ var name8 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input5 = LocationInput;
56
+ var Input8 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin22 = {
58
+ var Plugin26 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service6;
62
- const access = yield* Service67;
63
- const sessionInstructions = yield* Service7;
61
+ const reader = yield* Service7;
62
+ const access = yield* Service16;
63
+ const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name5,
67
+ name: name8,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input5,
70
+ input: Input8,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin22 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent3(result.path, input.offset, result.output),
116
+ content: toModelContent5(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent3 = (path, offset, output) => {
149
+ var toModelContent5 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name5, Input5, Plugin22, toModelContent3, exports_read };
185
+ export { name8, Input8, Plugin26, toModelContent5, exports_read };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service74
3
- } from "./location-service-map-0bp78v74.js";
2
+ Service70
3
+ } from "./tool-zcdqtjtf.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./location-service-map-4vcrnpx2.js";
7
+ } from "./tool-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./location-service-map-3v8g72cx.js";
10
+ } from "./tool-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./location-service-map-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input9,
19
+ Input: () => Input11,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin27,
22
+ Plugin: () => Plugin29,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description4,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name9
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name9 = "webfetch";
33
+ var name11 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input9 = Schema.Struct({
41
+ var Input11 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input9.fields.format,
51
+ format: Input11.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin27 = {
95
+ var Plugin29 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service74;
99
+ const permission = yield* Service70;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name9,
101
+ name: name11,
102
102
  options: { codemode: false },
103
- description: description4,
104
- input: Input9,
103
+ description: description5,
104
+ input: Input11,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin27 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name9,
112
+ action: name11,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin27, extractTextFromHTML2, exports_webfetch };
170
+ export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin29, extractTextFromHTML2, exports_webfetch };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
9
+ make: () => make16,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
32
+ function make16(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make16, render3, exports_system_prompt };