@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,37 +1,37 @@
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
- Service79,
7
- node82
8
- } from "./location-service-map-v54qpgr0.js";
6
+ Service80,
7
+ node84
8
+ } from "./tool-rxn8twjw.js";
9
9
  import {
10
- ID15,
11
- Service78,
12
- node81
13
- } from "./location-service-map-5h6z90ew.js";
10
+ ID11,
11
+ Service73,
12
+ node77
13
+ } from "./tool-d0m8bny5.js";
14
14
  import {
15
- NotFoundError10
16
- } from "./location-service-map-xcgyncvr.js";
15
+ NotFoundError9
16
+ } from "./tool-pjsqfx9m.js";
17
17
  import {
18
- Service76,
19
- node79
20
- } from "./location-service-map-qgx3m4fk.js";
18
+ Service71,
19
+ node75
20
+ } from "./tool-bx021530.js";
21
21
  import {
22
22
  match2
23
- } from "./location-service-map-y1fvbwt7.js";
23
+ } from "./tool-y1fvbwt7.js";
24
24
  import {
25
- Service75,
26
- node78
27
- } from "./location-service-map-3e49pc6f.js";
25
+ Service72,
26
+ node76
27
+ } from "./tool-z26t8xx0.js";
28
28
  import {
29
- Service77,
30
- node80
31
- } from "./location-service-map-ze75yzft.js";
29
+ Service74,
30
+ node78
31
+ } from "./tool-at1kfnmk.js";
32
32
  import {
33
33
  __export
34
- } from "./location-service-map-9rqn6x4v.js";
34
+ } from "./tool-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event19,
46
- ID: () => ID12,
47
- NotFoundError: () => NotFoundError9,
45
+ Event: () => Event15,
46
+ ID: () => ID9,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply3,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
51
+ Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service74,
54
+ Service: () => Service70,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node77
58
+ node: () => node74
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event19 } from "@opencode/schema/permission";
64
+ import { Event as Event15 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID12 = Permission.ID;
67
+ var ID9 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID12.pipe(Schema.optional),
80
+ id: ID9.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID11.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID12,
86
- reply: Reply3,
85
+ requestID: ID9,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID12,
90
+ id: ID9,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID12
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID9
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service74 extends Context.Service()("@opencode/Permission") {
128
+ class Service70 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service74, Effect.gen(function* () {
131
- const bus = yield* Service81;
132
- const location = yield* Service79;
133
- const agents = yield* Service78;
134
- const sessions = yield* Service76;
135
- const saved = yield* Service75;
136
- const hooks = yield* Service77;
130
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
131
+ const bus = yield* Service83;
132
+ const location = yield* Service80;
133
+ const agents = yield* Service73;
134
+ const sessions = yield* Service71;
135
+ const saved = yield* Service72;
136
+ const hooks = yield* Service74;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError10({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID12.create(),
189
+ id: input.id ?? ID9.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID12.create(), effect: "deny" };
214
+ return { id: input.id ?? ID9.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError9({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service74.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service70.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node77 = makeLocationNode({
303
- service: Service74,
302
+ var node74 = makeLocationNode({
303
+ service: Service70,
304
304
  layer,
305
- deps: [node84, node82, node81, node79, node78, node80]
305
+ deps: [node87, node84, node77, node75, node76, node78]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service74, node77, exports_permission2, Rule3, Ruleset2, Event19 };
308
+ export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service70, node74, exports_permission2, Rule3, Ruleset2, Event15 };
@@ -1,46 +1,46 @@
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
- Service79,
7
- node82
8
- } from "./location-service-map-v54qpgr0.js";
6
+ Service80,
7
+ node84
8
+ } from "./tool-rxn8twjw.js";
9
9
  import {
10
- Service52,
11
- node54
12
- } from "./location-service-map-pkykh1c4.js";
10
+ Service50,
11
+ node52
12
+ } from "./tool-690bn0hf.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./location-service-map-gd4qta3r.js";
15
+ } from "./tool-gd4qta3r.js";
16
16
  import {
17
- Service55,
17
+ Service63,
18
18
  args2,
19
- node58
20
- } from "./location-service-map-hwqq4ms1.js";
19
+ node67
20
+ } from "./tool-czkrkmgx.js";
21
21
  import {
22
- Service77,
23
- node80
24
- } from "./location-service-map-ze75yzft.js";
22
+ Service74,
23
+ node78
24
+ } from "./tool-at1kfnmk.js";
25
25
  import {
26
- Service36,
27
- node39
28
- } from "./location-service-map-3rtxz4nr.js";
26
+ Service38,
27
+ node41
28
+ } from "./tool-sm965ndy.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./location-service-map-mtpeagzc.js";
31
+ } from "./tool-axe3mf62.js";
32
32
  import {
33
33
  latest2,
34
- Service59,
35
- node62
36
- } from "./location-service-map-pxe6kq0w.js";
34
+ Service39,
35
+ node42
36
+ } from "./tool-vcccfxhw.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./location-service-map-gn31e51v.js";
40
+ } from "./tool-xcmk6yw7.js";
41
41
  import {
42
42
  __export
43
- } from "./location-service-map-9rqn6x4v.js";
43
+ } from "./tool-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
@@ -48,10 +48,10 @@ __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
49
  NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service35,
51
+ Service: () => Service37,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node38
54
+ node: () => node40
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service35 extends Context.Service()("@opencode/Shell") {
74
+ class Service37 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service35, Effect.gen(function* () {
91
- const bus = yield* Service81;
92
- const location = yield* Service79;
90
+ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
91
+ const bus = yield* Service83;
92
+ const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service55;
95
- const environment = yield* Service52;
96
- const hooks = yield* Service77;
97
- const environments = yield* Service36;
98
- const config = yield* Service59;
94
+ const shell = yield* Service63;
95
+ const environment = yield* Service50;
96
+ const hooks = yield* Service74;
97
+ const environments = yield* Service38;
98
+ const config = yield* Service39;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service35, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service35.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service37.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node38 = makeLocationNode({
329
- service: Service35,
328
+ var node40 = makeLocationNode({
329
+ service: Service37,
330
330
  layer: layer(),
331
331
  deps: [
332
+ node87,
332
333
  node84,
333
- node82,
334
334
  Global.node,
335
- node58,
336
- node54,
337
- node80,
338
- node39,
339
- node62,
335
+ node67,
336
+ node52,
337
+ node78,
338
+ node41,
339
+ node42,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service35, cleanup2, node38, exports_shell4 };
344
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service37, cleanup2, node40, exports_shell4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,37 +1,37 @@
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
- Service66
11
- } from "./location-service-map-7d15eyz8.js";
9
+ Event19,
10
+ Service78
11
+ } from "./tool-66t34m9w.js";
12
12
  import {
13
- ID9,
13
+ ID14,
14
14
  MethodID2,
15
- Service65
16
- } from "./location-service-map-gccvjmvx.js";
15
+ Service77
16
+ } from "./tool-303t2pvh.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./location-service-map-pjvnvgmy.js";
20
+ } from "./tool-pjvnvgmy.js";
21
21
  import {
22
- ID8
23
- } from "./location-service-map-s64dwba7.js";
22
+ ID13
23
+ } from "./tool-vk9cvn9d.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./location-service-map-ag4dv9qd.js";
26
+ } from "./tool-kc6hkr7d.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID8.make("snowflake-cortex");
34
- var integrationID = ID9.make(providerID);
33
+ var providerID = ID13.make("snowflake-cortex");
34
+ var integrationID = ID14.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service66;
57
- const integrations = yield* Service65;
58
- const bus = yield* Service81;
56
+ const credentials = yield* Service78;
57
+ const integrations = yield* Service77;
58
+ const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info23,
8
+ Info: () => Info18,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info23 = SessionProviderContext.Info;
22
+ var Info18 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info18, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -4,7 +4,7 @@ import {
4
4
  summarize2,
5
5
  namespaceLine2,
6
6
  exports_catalog
7
- } from "../chunks/location-service-map-3fc6dm20.js";
7
+ } from "../chunks/tool-3fc6dm20.js";
8
8
  export {
9
9
  exports_catalog as CodeModeCatalog,
10
10
  Summary2 as Summary,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  render2,
3
3
  update3,
4
- make14,
5
- exports_instructions2
6
- } from "../chunks/location-service-map-sds13m34.js";
7
- import"../chunks/location-service-map-3fc6dm20.js";
8
- import"../chunks/location-service-map-eaj1djv9.js";
4
+ make15,
5
+ exports_instructions5
6
+ } from "../chunks/tool-6m1hjez2.js";
7
+ import"../chunks/tool-3fc6dm20.js";
8
+ import"../chunks/tool-9t7a50xb.js";
9
9
  export {
10
- exports_instructions2 as CodeModeInstructions,
11
- make14 as make,
10
+ exports_instructions5 as CodeModeInstructions,
11
+ make15 as make,
12
12
  render2 as render,
13
13
  update3 as update
14
14
  };
@@ -2,9 +2,9 @@ import {
2
2
  create2,
3
3
  catalog2,
4
4
  exports_tool2
5
- } from "../chunks/location-service-map-qxjc9qry.js";
6
- import"../chunks/location-service-map-m3fdjcah.js";
7
- import"../chunks/location-service-map-3w5fmr99.js";
5
+ } from "../chunks/tool-xyafkbt0.js";
6
+ import"../chunks/tool-3w5fmr99.js";
7
+ import"../chunks/tool-m3fdjcah.js";
8
8
  export {
9
9
  exports_tool2 as CodeModeTool,
10
10
  catalog2 as catalog,
@@ -2,7 +2,7 @@ import {
2
2
  extension2,
3
3
  display2,
4
4
  exports_web
5
- } from "../chunks/location-service-map-m3fdjcah.js";
5
+ } from "../chunks/tool-m3fdjcah.js";
6
6
  export {
7
7
  exports_web as CodeModeWeb,
8
8
  display2 as display,