@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,43 +1,43 @@
1
1
  import {
2
2
  Service84
3
- } from "./location-service-map-tq5qgs2t.js";
3
+ } from "./tool-p6hyfmfc.js";
4
4
  import {
5
- Service48
6
- } from "./location-service-map-tcay1cqt.js";
5
+ Service45
6
+ } from "./tool-mx9vqzsb.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./location-service-map-phz3h32g.js";
9
+ } from "./tool-q509s3k3.js";
10
10
  import {
11
11
  provenance2
12
- } from "./location-service-map-f29mbr7f.js";
12
+ } from "./tool-zsr4wwhv.js";
13
13
  import {
14
14
  preview2
15
- } from "./location-service-map-20jgfyrr.js";
15
+ } from "./tool-7crx08a4.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./location-service-map-vz4efdz7.js";
18
+ } from "./tool-b8yxdv3q.js";
19
19
  import {
20
- Service24
21
- } from "./location-service-map-xv3zg2q6.js";
20
+ Service26
21
+ } from "./tool-see9wd13.js";
22
22
  import {
23
23
  __export
24
- } from "./location-service-map-9rqn6x4v.js";
24
+ } from "./tool-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate = {};
28
- __export(exports_generate, {
29
- SessionGenerate: () => exports_generate,
27
+ var exports_generate2 = {};
28
+ __export(exports_generate2, {
29
+ SessionGenerate: () => exports_generate2,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service48;
35
+ const instances = yield* Service45;
36
36
  const database = yield* Service84;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service24;
40
+ const context = yield* Service26;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate };
74
+ export { generate2, exports_generate2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
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/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service10,
11
+ Service: () => Service12,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node12
13
+ node: () => node14
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service10, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service10.of({
66
+ return Service12.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service10, node12, exports_discovery };
155
+ export { Service12, node14, exports_discovery };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./location-service-map-emrn6kk6.js";
4
+ } from "./tool-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service81
3
- } from "./location-service-map-3sca11j3.js";
2
+ Service83
3
+ } from "./tool-qdm0xvfe.js";
4
4
  import {
5
- Service44
6
- } from "./location-service-map-9wh8y7ww.js";
5
+ Service68
6
+ } from "./tool-wpgamtwv.js";
7
7
  import {
8
- Error3
9
- } from "./location-service-map-5wfscpdf.js";
8
+ Error4
9
+ } from "./tool-apme4279.js";
10
10
  import {
11
- Service53
12
- } from "./location-service-map-gn31e51v.js";
11
+ Service52
12
+ } from "./tool-xcmk6yw7.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./location-service-map-xcgyncvr.js";
15
+ } from "./tool-pjsqfx9m.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./location-service-map-ec1grn59.js";
18
+ } from "./tool-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./location-service-map-dmgm8hbn.js";
21
+ } from "./tool-bvjdq5yq.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./location-service-map-tdstcens.js";
24
+ } from "./tool-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./location-service-map-b3drqneq.js";
27
+ } from "./tool-4set99t9.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./location-service-map-qygbw77c.js";
30
+ } from "./tool-scgrse2b.js";
31
31
  import {
32
32
  __export
33
- } from "./location-service-map-9rqn6x4v.js";
33
+ } from "./tool-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
54
  var make8 = Effect.gen(function* () {
55
- const bus = yield* Service81;
55
+ const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service44;
58
- const toolOutput = yield* Service53;
57
+ const snapshots = yield* Service68;
58
+ const toolOutput = yield* Service52;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error4({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./location-service-map-emrn6kk6.js";
4
+ } from "./tool-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service81,
3
- node84
4
- } from "./location-service-map-3sca11j3.js";
2
+ Service83,
3
+ node87
4
+ } from "./tool-qdm0xvfe.js";
5
5
  import {
6
6
  create3
7
- } from "./location-service-map-rdw6cm16.js";
7
+ } from "./tool-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./location-service-map-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event6,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event9,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info6,
18
+ Info: () => Info12,
19
19
  NotFoundError: () => NotFoundError6,
20
- Service: () => Service37,
21
- layer: () => layer15,
22
- node: () => node40
20
+ Service: () => Service47,
21
+ layer: () => layer20,
22
+ node: () => node49
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event6 } from "@opencode/schema/command";
28
- var Info6 = Command.Info;
27
+ import { Event as Event9 } from "@opencode/schema/command";
28
+ var Info12 = Command.Info;
29
29
 
30
30
  class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service37 extends Context.Service()("@opencode/Command") {
42
+ class Service47 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer15 = Layer.effect(Service37, Effect.gen(function* () {
45
- const bus = yield* Service81;
44
+ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
45
+ const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info6.make({
54
+ const info = (definition) => Info12.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service37.of({
58
+ return Service47.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -71,10 +71,10 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
71
71
  })
72
72
  });
73
73
  }));
74
- var node40 = makeLocationNode({
75
- service: Service37,
76
- layer: layer15,
77
- deps: [node84]
74
+ var node49 = makeLocationNode({
75
+ service: Service47,
76
+ layer: layer20,
77
+ deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info6, NotFoundError6, ExecutionError2, Service37, layer15, node40, exports_command4, Event6 };
89
+ export { Info12, NotFoundError6, ExecutionError2, Service47, layer20, node49, exports_command5, Event9 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service59
4
- } from "./location-service-map-pxe6kq0w.js";
3
+ Service39
4
+ } from "./tool-vcccfxhw.js";
5
5
  import {
6
- Service53
7
- } from "./location-service-map-gn31e51v.js";
6
+ Service52
7
+ } from "./tool-xcmk6yw7.js";
8
8
  import {
9
9
  observe2
10
- } from "./location-service-map-qsdy395h.js";
10
+ } from "./tool-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./location-service-map-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin37
19
+ Plugin: () => Plugin48
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin37 = define({
23
+ var Plugin48 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service59;
27
- const output = yield* Service53;
26
+ const config = yield* Service39;
27
+ const output = yield* Service52;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin37 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin37, exports_tool_output };
41
+ export { Plugin48, exports_tool_output };
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID8,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./location-service-map-s64dwba7.js";
7
+ } from "./tool-vk9cvn9d.js";
8
8
  import {
9
9
  __export
10
- } from "./location-service-map-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service58,
17
+ Service: () => Service49,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node61
19
+ node: () => node51
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID8,
154
+ providerID: ID13,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service58 extends Context.Service()("@opencode/AISDK") {
162
+ class Service49 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service49, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service58.of({
202
+ const service = Service49.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node61 = makeLocationNode({ service: Service58, layer: locationLayer2, deps: [] });
877
+ var node51 = makeLocationNode({ service: Service49, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service58, locationLayer2, node61, exports_aisdk };
879
+ export { InitError2, Service49, locationLayer2, node51, exports_aisdk };
@@ -1,51 +1,51 @@
1
1
  import {
2
- Service81,
3
- node84
4
- } from "./location-service-map-3sca11j3.js";
2
+ Service83,
3
+ node87
4
+ } from "./tool-qdm0xvfe.js";
5
5
  import {
6
6
  Service82,
7
- node85
8
- } from "./location-service-map-e7gdn37t.js";
7
+ node86
8
+ } from "./tool-h9pcb0g7.js";
9
9
  import {
10
- Service79,
11
- node82
12
- } from "./location-service-map-v54qpgr0.js";
10
+ Service80,
11
+ node84
12
+ } from "./tool-rxn8twjw.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./location-service-map-phz3h32g.js";
15
+ } from "./tool-q509s3k3.js";
16
16
  import {
17
- Service60,
18
- node63
19
- } from "./location-service-map-6khy56qy.js";
17
+ Service40,
18
+ node43
19
+ } from "./tool-853r27ye.js";
20
20
  import {
21
- node23
22
- } from "./location-service-map-qwrw8s1f.js";
21
+ node22
22
+ } from "./tool-xqq6j46d.js";
23
23
  import {
24
24
  Service11,
25
25
  node13
26
- } from "./location-service-map-2sejkfem.js";
26
+ } from "./tool-2sejkfem.js";
27
27
  import {
28
28
  __export
29
- } from "./location-service-map-9rqn6x4v.js";
29
+ } from "./tool-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service5,
36
- node: () => node6
35
+ Service: () => Service8,
36
+ node: () => node10
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service5 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service8 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service5, Effect.gen(function* () {
46
- const location = yield* Service79;
47
- const watcher = yield* Service60;
48
- const bus = yield* Service81;
45
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service40;
48
+ const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const policy = yield* Service11;
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service5.of({});
103
+ return Service8.of({});
104
104
  }));
105
- var node6 = makeLocationNode({
106
- service: Service5,
105
+ var node10 = makeLocationNode({
106
+ service: Service8,
107
107
  layer,
108
- deps: [node63, FSUtil.node, node82, node85, node84, node23, node13]
108
+ deps: [node43, FSUtil.node, node84, node86, node87, node22, node13]
109
109
  });
110
110
 
111
- export { Service5, node6, exports_location_watcher };
111
+ export { Service8, node10, exports_location_watcher };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-service-map-z5v4ffb3.js";
4
+ } from "./tool-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
- node85
10
- } from "./location-service-map-e7gdn37t.js";
9
+ node86
10
+ } from "./tool-h9pcb0g7.js";
11
11
  import {
12
- Service79,
13
- node82
14
- } from "./location-service-map-v54qpgr0.js";
12
+ Service80,
13
+ node84
14
+ } from "./tool-rxn8twjw.js";
15
15
  import {
16
16
  create3
17
- } from "./location-service-map-rdw6cm16.js";
17
+ } from "./tool-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-service-map-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID5,
27
- Service: () => Service44,
25
+ Error: () => Error5,
26
+ ID: () => ID7,
27
+ Service: () => Service68,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node47,
30
- noopLayer: () => noopLayer2
29
+ node: () => node72,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service68 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID7.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service68.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node47 = makeLocationNode({
144
- service: Service44,
143
+ var node72 = makeLocationNode({
144
+ service: Service68,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node82]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
148
+ var noopLayer3 = Layer.succeed(Service68, Service68.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error5 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error5({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error4, Service44, node47, noopLayer2, exports_snapshot2 };
166
+ export { ID7, Error5, Service68, node72, noopLayer3, exports_snapshot2 };