@opencode/core 0.0.0-dev-19540 → 0.0.0-dev-19542

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{tool-xk01n904.js → location-036f132z.js} +8 -8
  9. package/dist/chunks/{tool-m7ah9b01.js → location-03acwmsz.js} +22 -22
  10. package/dist/chunks/{tool-0996nyz8.js → location-0996nyz8.js} +2 -2
  11. package/dist/chunks/{tool-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{tool-9me22cbr.js → location-0ppqyhex.js} +32 -32
  13. package/dist/chunks/{tool-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{tool-jvhnejfk.js → location-0q29pjbf.js} +20 -20
  15. package/dist/chunks/{tool-5wj1bc2b.js → location-0qbfsv0x.js} +2 -2
  16. package/dist/chunks/{tool-8wagbt41.js → location-0yq4avys.js} +24 -24
  17. package/dist/chunks/{tool-20m8myk3.js → location-0zwqsx91.js} +11 -11
  18. package/dist/chunks/{tool-ctgxkhvw.js → location-10c34jta.js} +28 -28
  19. package/dist/chunks/{tool-kac23fkg.js → location-1254qmjv.js} +1 -1
  20. package/dist/chunks/{tool-1acjjqhc.js → location-1acjjqhc.js} +1 -1
  21. package/dist/chunks/{tool-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{tool-ycsy29mf.js → location-1g8myb90.js} +19 -19
  23. package/dist/chunks/{tool-21r38tys.js → location-21r38tys.js} +1 -1
  24. package/dist/chunks/{tool-msq0jde0.js → location-22m95qs7.js} +4 -4
  25. package/dist/chunks/{tool-2402vzrj.js → location-2402vzrj.js} +1 -1
  26. package/dist/chunks/{tool-n02csdyp.js → location-26axh7t1.js} +15 -15
  27. package/dist/chunks/{tool-8cdvd9z3.js → location-27yn085b.js} +15 -15
  28. package/dist/chunks/{tool-z63w68vq.js → location-29x78va6.js} +6 -6
  29. package/dist/chunks/{tool-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{tool-0r9sq1ay.js → location-2d362z0y.js} +8 -8
  31. package/dist/chunks/{tool-k6yq57aq.js → location-2f04pwep.js} +3 -3
  32. package/dist/chunks/{tool-2v3pb6qd.js → location-2grzxxc1.js} +16 -16
  33. package/dist/chunks/{tool-zv5xthkc.js → location-2j4tqp5k.js} +11 -11
  34. package/dist/chunks/{tool-gq3a5xex.js → location-2jwyrfxf.js} +35 -35
  35. package/dist/chunks/{tool-0jwsre1p.js → location-2k8khapm.js} +5 -5
  36. package/dist/chunks/{tool-5zhzefj3.js → location-2sv037bd.js} +15 -15
  37. package/dist/chunks/{tool-zzd04jwc.js → location-31f4jhva.js} +30 -30
  38. package/dist/chunks/{tool-b8wa1ckd.js → location-34ytdzas.js} +1 -1
  39. package/dist/chunks/{tool-bmwvampg.js → location-39jybg81.js} +28 -28
  40. package/dist/chunks/{tool-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{tool-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{tool-8mxe8k4b.js → location-3nbdta8h.js} +11 -11
  43. package/dist/chunks/{tool-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{tool-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{tool-ngwpnmm2.js → location-3tz10jhh.js} +4 -4
  46. package/dist/chunks/{tool-k641sm4f.js → location-3v8068pd.js} +16 -16
  47. package/dist/chunks/{tool-a4s526ga.js → location-3ypnsrhw.js} +24 -24
  48. package/dist/chunks/{tool-1c8etqjp.js → location-42avcs9s.js} +7 -7
  49. package/dist/chunks/{tool-9h7qzzke.js → location-44ywkmmm.js} +27 -27
  50. package/dist/chunks/{tool-xgfrx0dg.js → location-473b71hx.js} +18 -18
  51. package/dist/chunks/{tool-ppbs3dgs.js → location-4b5x0nt9.js} +21 -21
  52. package/dist/chunks/{tool-j27yjeep.js → location-4jzrjc6m.js} +29 -29
  53. package/dist/chunks/{tool-q8445bg1.js → location-58ww9q9a.js} +27 -27
  54. package/dist/chunks/{tool-g77pfeh0.js → location-5cfbqtfg.js} +15 -15
  55. package/dist/chunks/{tool-5daktx2q.js → location-5daktx2q.js} +1 -1
  56. package/dist/chunks/{tool-pq99gyy2.js → location-5rfw13p6.js} +9 -9
  57. package/dist/chunks/{tool-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{tool-6ba819az.js → location-5tyr9vxf.js} +29 -29
  59. package/dist/chunks/{tool-7690wq37.js → location-626qb2eb.js} +9 -9
  60. package/dist/chunks/{tool-rcmaerg2.js → location-636t8bd4.js} +15 -15
  61. package/dist/chunks/{tool-669tq793.js → location-669tq793.js} +1 -1
  62. package/dist/chunks/{tool-fvgvh3wz.js → location-6mdnwp5h.js} +9 -9
  63. package/dist/chunks/{tool-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{tool-2z7ees0g.js → location-6s42ra37.js} +2 -2
  65. package/dist/chunks/{tool-69xwbkdg.js → location-6sv4j6tb.js} +32 -32
  66. package/dist/chunks/{tool-kjne0gnr.js → location-6yjygpg1.js} +13 -13
  67. package/dist/chunks/{tool-kdv4badm.js → location-6zqq4ek8.js} +3 -3
  68. package/dist/chunks/{tool-71q4at8m.js → location-71q4at8m.js} +1 -1
  69. package/dist/chunks/{tool-sbshw81j.js → location-74t9ss8a.js} +31 -31
  70. package/dist/chunks/{tool-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{tool-9h41vc4j.js → location-7j92jdde.js} +4 -4
  72. package/dist/chunks/{tool-khcc2y7p.js → location-7kds0srq.js} +14 -14
  73. package/dist/chunks/{tool-s7cmhz1c.js → location-7kx4sdq3.js} +43 -43
  74. package/dist/chunks/{tool-a694798e.js → location-7r0r50e5.js} +5 -5
  75. package/dist/chunks/{tool-bnxh6nf1.js → location-7y7r0vgy.js} +25 -25
  76. package/dist/chunks/{tool-1jqgrzzt.js → location-8033czsa.js} +8 -8
  77. package/dist/chunks/{tool-4frkg54w.js → location-81swgkk7.js} +9 -9
  78. package/dist/chunks/{tool-3se9mp31.js → location-83tr1t7h.js} +29 -29
  79. package/dist/chunks/{tool-m86bnw2c.js → location-84zt2byv.js} +9 -9
  80. package/dist/chunks/{tool-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{tool-8p4f9s12.js → location-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{tool-2vnwx32a.js → location-8sghyhzw.js} +8 -8
  83. package/dist/chunks/{tool-52fpbh6z.js → location-8t1wrec1.js} +8 -8
  84. package/dist/chunks/{tool-ee4a09y5.js → location-9328fxv7.js} +5 -5
  85. package/dist/chunks/{tool-gf3w8mcy.js → location-95a4nxen.js} +12 -12
  86. package/dist/chunks/{tool-fgg2p6ky.js → location-9704n2mm.js} +11 -11
  87. package/dist/chunks/{tool-khyy3z7c.js → location-9ctdz51b.js} +34 -34
  88. package/dist/chunks/{tool-kaypvkzz.js → location-9drm9vkg.js} +20 -20
  89. package/dist/chunks/location-9sh4wc5j.js +18 -0
  90. package/dist/chunks/{tool-ankkda91.js → location-9vj7yqvm.js} +9 -9
  91. package/dist/chunks/{tool-r7x1my69.js → location-9yh90y22.js} +3 -3
  92. package/dist/chunks/{tool-xwzeg4yz.js → location-a0w9kdt2.js} +20 -20
  93. package/dist/chunks/{tool-a1bz86dw.js → location-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{tool-w8dhyk9b.js → location-a6mya1gb.js} +11 -11
  95. package/dist/chunks/{tool-24dbyy2c.js → location-a6x2cpah.js} +10 -10
  96. package/dist/chunks/{tool-aaet6srn.js → location-aaet6srn.js} +2 -2
  97. package/dist/chunks/{tool-zmjtvdmj.js → location-adcdh9yc.js} +12 -12
  98. package/dist/chunks/{tool-v5dkyp31.js → location-at5d07az.js} +4 -4
  99. package/dist/chunks/{tool-aedkfdwe.js → location-ay697b8v.js} +16 -16
  100. package/dist/chunks/{tool-8s0z9n45.js → location-b0tjgqrn.js} +5 -5
  101. package/dist/chunks/{tool-k581jmxz.js → location-b2hm862w.js} +18 -18
  102. package/dist/chunks/{tool-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{tool-n89ph4ha.js → location-b792c96b.js} +9 -9
  104. package/dist/chunks/{tool-enccs5rm.js → location-baf2ph3h.js} +32 -32
  105. package/dist/chunks/{tool-m7xke3eb.js → location-bdkgw8cf.js} +21 -21
  106. package/dist/chunks/{tool-kmqmddk0.js → location-bf5a3t6s.js} +29 -29
  107. package/dist/chunks/{tool-64mbz47k.js → location-brj2edwx.js} +6 -6
  108. package/dist/chunks/{tool-nv6sgpkb.js → location-bwc1950q.js} +9 -9
  109. package/dist/chunks/{tool-jmk5eqxp.js → location-c3xvfvd3.js} +17 -17
  110. package/dist/chunks/{tool-m8vzpnra.js → location-c5db1mkp.js} +24 -24
  111. package/dist/chunks/{tool-gg4bq2q4.js → location-c92dvjnv.js} +14 -14
  112. package/dist/chunks/{tool-0bqxz2km.js → location-cds4nqjn.js} +30 -30
  113. package/dist/chunks/{tool-bdqrk2vk.js → location-cf3tj770.js} +4 -4
  114. package/dist/chunks/{tool-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{tool-bajakh74.js → location-cq37gk0t.js} +4 -4
  116. package/dist/chunks/{tool-s2hm79cz.js → location-cssnqykq.js} +11 -11
  117. package/dist/chunks/{tool-j2wbkj1x.js → location-cwspyxgg.js} +48 -48
  118. package/dist/chunks/{tool-hn57h045.js → location-ddt2bs9e.js} +4 -4
  119. package/dist/chunks/{tool-smznf5zv.js → location-dfj554pg.js} +9 -9
  120. package/dist/chunks/{tool-rfsjamy2.js → location-dfqckxk5.js} +28 -28
  121. package/dist/chunks/{tool-jb2vcz8q.js → location-dhdv1zj0.js} +58 -58
  122. package/dist/chunks/{tool-9swcrqvc.js → location-dny4bs9e.js} +18 -18
  123. package/dist/chunks/{tool-1pwvfv87.js → location-drhnesrb.js} +11 -11
  124. package/dist/chunks/{tool-q26tgv94.js → location-dv1qgsyq.js} +8 -8
  125. package/dist/chunks/{tool-e5nv3ght.js → location-e5nv3ght.js} +2 -2
  126. package/dist/chunks/{tool-pnbgbrcy.js → location-e65zwyc2.js} +32 -32
  127. package/dist/chunks/{tool-k2vvnb2e.js → location-e8t23edk.js} +27 -27
  128. package/dist/chunks/{tool-1r6pjnw8.js → location-e9f6ng75.js} +13 -13
  129. package/dist/chunks/{tool-wwmkx8c8.js → location-ectx44z1.js} +26 -26
  130. package/dist/chunks/{tool-4rgwgr9n.js → location-edh9f0mz.js} +4 -4
  131. package/dist/chunks/{tool-6karmr7k.js → location-ef5ff6ft.js} +6 -6
  132. package/dist/chunks/{tool-70wdtdtz.js → location-efjfkye6.js} +67 -67
  133. package/dist/chunks/location-ejaypkp5.js +247 -0
  134. package/dist/chunks/{tool-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{tool-tgyrx776.js → location-ewjdxm92.js} +17 -17
  136. package/dist/chunks/{tool-ypcyj4th.js → location-f5vwma0d.js} +18 -18
  137. package/dist/chunks/{tool-f828m53h.js → location-f828m53h.js} +2 -2
  138. package/dist/chunks/{tool-2cv6r8s0.js → location-fcgej241.js} +38 -38
  139. package/dist/chunks/{tool-m21k6hwm.js → location-fj365ecp.js} +16 -16
  140. package/dist/chunks/{tool-19w2tstg.js → location-fp1g0m9s.js} +28 -28
  141. package/dist/chunks/{tool-4cbqng7e.js → location-frjn3nfh.js} +11 -11
  142. package/dist/chunks/{tool-dmpv135r.js → location-frqj80pv.js} +47 -47
  143. package/dist/chunks/{tool-mbeywexs.js → location-fs6bp36w.js} +2 -2
  144. package/dist/chunks/{tool-k9yfmsvc.js → location-ftzfwxz1.js} +17 -17
  145. package/dist/chunks/{tool-e6hmchc5.js → location-fvsyg6qk.js} +5 -5
  146. package/dist/chunks/{tool-qcprappc.js → location-fw6yfypp.js} +12 -12
  147. package/dist/chunks/{tool-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{tool-cf4qthmf.js → location-fyveyagd.js} +24 -24
  149. package/dist/chunks/{tool-8rqvsz38.js → location-g2rnahzd.js} +7 -7
  150. package/dist/chunks/{tool-kxqpg2a3.js → location-g4wtk1yg.js} +6 -6
  151. package/dist/chunks/{tool-60cvmy65.js → location-g500fjm7.js} +1 -1
  152. package/dist/chunks/{tool-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{tool-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{tool-aax1h56x.js → location-gy4p1xkh.js} +1 -1
  155. package/dist/chunks/{tool-rdsy4w4t.js → location-gyrm231q.js} +29 -29
  156. package/dist/chunks/{tool-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{tool-9eeg3wcp.js → location-h17a27cz.js} +51 -51
  158. package/dist/chunks/{tool-phptn4kh.js → location-h6hxmqda.js} +4 -4
  159. package/dist/chunks/{tool-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{tool-8cwk6cmw.js → location-h9cxr4wq.js} +9 -9
  161. package/dist/chunks/{tool-nb6x7g5x.js → location-hj07p436.js} +4 -4
  162. package/dist/chunks/{tool-hjt4xg1x.js → location-hjt4xg1x.js} +1 -1
  163. package/dist/chunks/{tool-c74bb4fg.js → location-htaz91yz.js} +305 -305
  164. package/dist/chunks/{tool-5m0afy4r.js → location-hwg0j0eb.js} +5 -5
  165. package/dist/chunks/location-hxa7m5za.js +4 -0
  166. package/dist/chunks/{tool-nwa6tt5d.js → location-hy1g3bgf.js} +1 -1
  167. package/dist/chunks/{tool-j56e64zr.js → location-j56e64zr.js} +1 -1
  168. package/dist/chunks/{tool-fp7xghy5.js → location-j6yasvxk.js} +13 -13
  169. package/dist/chunks/{tool-q0x9hp0x.js → location-j83x2c5c.js} +32 -32
  170. package/dist/chunks/{tool-paphc93g.js → location-j935v87r.js} +2 -2
  171. package/dist/chunks/{tool-tjhqx05s.js → location-jhc25b2t.js} +29 -29
  172. package/dist/chunks/{tool-hq9kk1eh.js → location-jjrmtxp8.js} +5 -5
  173. package/dist/chunks/{tool-2fvqh1y6.js → location-jtptkwgj.js} +23 -23
  174. package/dist/chunks/{tool-wadft2hn.js → location-jwbn61yk.js} +20 -20
  175. package/dist/chunks/{tool-at81ej1z.js → location-jwjj6wv5.js} +6 -6
  176. package/dist/chunks/{tool-9tmrnrc3.js → location-jyn989r3.js} +23 -23
  177. package/dist/chunks/{tool-f9m0bqsz.js → location-jyrggvz0.js} +20 -20
  178. package/dist/chunks/{tool-k7hfcg7n.js → location-k0j25v2x.js} +23 -23
  179. package/dist/chunks/{tool-c8ftv886.js → location-k1abzt0p.js} +5 -5
  180. package/dist/chunks/{tool-8557jav9.js → location-k33a3tse.js} +82 -82
  181. package/dist/chunks/{tool-5vgkaf0c.js → location-k5dbpnja.js} +13 -13
  182. package/dist/chunks/{tool-y1rf3ngb.js → location-k6y5pwvv.js} +16 -16
  183. package/dist/chunks/{tool-kg06axw8.js → location-kg06axw8.js} +1 -1
  184. package/dist/chunks/{tool-62139ecc.js → location-kmjjtydn.js} +7 -7
  185. package/dist/chunks/{tool-6qqxn8pv.js → location-kr0z5b0n.js} +15 -15
  186. package/dist/chunks/{tool-11021cf3.js → location-m2ey3cvd.js} +3 -3
  187. package/dist/chunks/{tool-r5vpk0b1.js → location-m72athct.js} +4 -4
  188. package/dist/chunks/{tool-0nbbv2dg.js → location-m945b776.js} +93 -93
  189. package/dist/chunks/{tool-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{tool-33w4ejhs.js → location-mfqp6xfm.js} +9 -9
  191. package/dist/chunks/{tool-4fxa00ze.js → location-mh9s5q0j.js} +3 -3
  192. package/dist/chunks/{tool-qnhx320f.js → location-mj6ph3es.js} +9 -9
  193. package/dist/chunks/{tool-ead3g9p8.js → location-mtft99cd.js} +5 -5
  194. package/dist/chunks/{tool-w6zk8pbt.js → location-mvfdckk2.js} +8 -8
  195. package/dist/chunks/{tool-eq1pz5kg.js → location-mvfsc1pv.js} +3 -3
  196. package/dist/chunks/{tool-q6hf9b7c.js → location-mynqm169.js} +22 -22
  197. package/dist/chunks/{tool-bfc0h0ah.js → location-njr1pezb.js} +4 -4
  198. package/dist/chunks/{tool-wrzcwb32.js → location-nspnzx2r.js} +13 -13
  199. package/dist/chunks/location-pec0e592.js +26 -0
  200. package/dist/chunks/{tool-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{tool-pknna89w.js → location-pknna89w.js} +1 -1
  202. package/dist/chunks/{tool-5cmqm0ev.js → location-psg6n3xm.js} +6 -6
  203. package/dist/chunks/{tool-8vsxpez5.js → location-ptrn6wv1.js} +37 -37
  204. package/dist/chunks/{tool-zxqp5j27.js → location-q0q850wj.js} +32 -32
  205. package/dist/chunks/{tool-2syw43ez.js → location-q1a7cndp.js} +9 -9
  206. package/dist/chunks/{tool-brahnmae.js → location-q1c2np19.js} +13 -13
  207. package/dist/chunks/{tool-1fjf9qgp.js → location-q6v9m3mm.js} +13 -13
  208. package/dist/chunks/{tool-k2dherqe.js → location-q99ra9zv.js} +1 -1
  209. package/dist/chunks/{tool-zvsxz435.js → location-qa7bh0h2.js} +13 -13
  210. package/dist/chunks/{tool-n9z12nhw.js → location-qfb9szcf.js} +5 -5
  211. package/dist/chunks/{tool-8twyvpe7.js → location-qgq93atd.js} +44 -44
  212. package/dist/chunks/{tool-kgwhbhza.js → location-qqj7ja7g.js} +16 -16
  213. package/dist/chunks/{tool-qsdy395h.js → location-qsdy395h.js} +1 -1
  214. package/dist/chunks/{tool-rms87t6p.js → location-qska36k1.js} +18 -18
  215. package/dist/chunks/{tool-fvanntqq.js → location-qz49fwgp.js} +4 -4
  216. package/dist/chunks/{tool-xvr1tfrz.js → location-qzrw3svz.js} +15 -15
  217. package/dist/chunks/{tool-7m06xexa.js → location-r0056zdr.js} +10 -10
  218. package/dist/chunks/{tool-bct739vz.js → location-r98e92ep.js} +4 -4
  219. package/dist/chunks/{tool-ekx6gx0x.js → location-r99cxfj6.js} +11 -11
  220. package/dist/chunks/{tool-r9mregkx.js → location-r9mregkx.js} +2 -2
  221. package/dist/chunks/{tool-t550f9t1.js → location-rhjbct0v.js} +4 -4
  222. package/dist/chunks/{tool-ad6yvafe.js → location-rjg803xe.js} +17 -17
  223. package/dist/chunks/{tool-pwh8btyp.js → location-rkmq0ftz.js} +11 -11
  224. package/dist/chunks/{tool-c3nr3a1t.js → location-rpby09da.js} +29 -29
  225. package/dist/chunks/{tool-02zskd6f.js → location-rrbca1ec.js} +4 -4
  226. package/dist/chunks/{tool-h7pjjeb1.js → location-rsb1fe67.js} +1 -1
  227. package/dist/chunks/{tool-yrznvahk.js → location-s4enseaf.js} +2 -2
  228. package/dist/chunks/{tool-wqc6684y.js → location-s8610hey.js} +2 -2
  229. package/dist/chunks/{tool-dssyvqwy.js → location-sdd99z8d.js} +31 -31
  230. package/dist/chunks/{tool-0299gjg5.js → location-st7z8rqw.js} +20 -20
  231. package/dist/chunks/{tool-hrvd6t1f.js → location-t0x5rdq8.js} +9 -9
  232. package/dist/chunks/{tool-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{tool-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{tool-tdstcens.js → location-tdstcens.js} +1 -1
  235. package/dist/chunks/{tool-2vs9fmj2.js → location-tes6d6n3.js} +14 -14
  236. package/dist/chunks/{tool-hz62r41k.js → location-th0vq4rj.js} +46 -46
  237. package/dist/chunks/{tool-71b76pde.js → location-thhdn3hd.js} +12 -12
  238. package/dist/chunks/{tool-hrj7pjr8.js → location-tj0j24wc.js} +5 -5
  239. package/dist/chunks/{tool-3w2b2yj4.js → location-tn0aqsam.js} +5 -5
  240. package/dist/chunks/{tool-r6w0w95m.js → location-tq3dmmmr.js} +25 -25
  241. package/dist/chunks/{tool-439n1kaq.js → location-trn0ebkj.js} +2 -2
  242. package/dist/chunks/{tool-tvtrv512.js → location-tvtrv512.js} +1 -1
  243. package/dist/chunks/{tool-tx9qvpbt.js → location-tx9qvpbt.js} +2 -2
  244. package/dist/chunks/{tool-zq6fa2xa.js → location-txp8aktn.js} +6 -6
  245. package/dist/chunks/{tool-wp4wkpxj.js → location-v3bsw2k3.js} +19 -19
  246. package/dist/chunks/{tool-e036a9pm.js → location-v860pzrr.js} +28 -28
  247. package/dist/chunks/{tool-hz30zgkd.js → location-v9dgs7p6.js} +9 -9
  248. package/dist/chunks/{tool-veqvce7d.js → location-veqvce7d.js} +1 -1
  249. package/dist/chunks/{tool-qvkbe7wj.js → location-vk804zsa.js} +22 -22
  250. package/dist/chunks/{tool-jw80jp6b.js → location-vsp1fds9.js} +21 -21
  251. package/dist/chunks/{tool-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{tool-6jjd6916.js → location-w0pcakp2.js} +11 -11
  253. package/dist/chunks/{tool-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{tool-0veevydg.js → location-w6s34xcg.js} +28 -28
  255. package/dist/chunks/{tool-rmbepvtv.js → location-w8cnm1fe.js} +17 -17
  256. package/dist/chunks/{tool-wd87259q.js → location-wd87259q.js} +1 -1
  257. package/dist/chunks/{tool-9j2xpqw0.js → location-wkgt00bf.js} +30 -30
  258. package/dist/chunks/{tool-1qmbqjyv.js → location-wty8bgxf.js} +30 -30
  259. package/dist/chunks/{tool-hav2x4nq.js → location-x0ew26t4.js} +4 -4
  260. package/dist/chunks/{tool-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{tool-tpgw4r9p.js → location-xcs774s4.js} +12 -12
  262. package/dist/chunks/{tool-n96v1vx3.js → location-xd121ra7.js} +13 -13
  263. package/dist/chunks/{tool-awtg3954.js → location-xmzr835j.js} +33 -33
  264. package/dist/chunks/{tool-gft05b0a.js → location-xs12am9p.js} +8 -8
  265. package/dist/chunks/{tool-700r65qt.js → location-xsmwh0mh.js} +161 -161
  266. package/dist/chunks/{tool-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{tool-7pegcs5y.js → location-y5f1wfry.js} +2 -2
  268. package/dist/chunks/{tool-y71avatq.js → location-y71avatq.js} +1 -1
  269. package/dist/chunks/{tool-r7h76vv8.js → location-yez2bqh9.js} +9 -9
  270. package/dist/chunks/{tool-cb1fb07j.js → location-yf0jwjfc.js} +35 -35
  271. package/dist/chunks/{tool-7j0r01e2.js → location-yh16dntz.js} +59 -59
  272. package/dist/chunks/{tool-rdqxydgw.js → location-yjcxr39e.js} +16 -16
  273. package/dist/chunks/{tool-7wcy2j48.js → location-yq2cy4vk.js} +13 -13
  274. package/dist/chunks/{tool-ba3nnyyx.js → location-yq6wvp1y.js} +8 -8
  275. package/dist/chunks/{tool-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{tool-g4qfqx3z.js → location-ys02tb6f.js} +26 -26
  277. package/dist/chunks/{tool-r0trdc9p.js → location-yydrw2qx.js} +5 -5
  278. package/dist/chunks/{tool-7xmcpp5k.js → location-yyfky2bj.js} +1 -1
  279. package/dist/chunks/{tool-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{tool-j12s1dt6.js → location-z4zaedpe.js} +11 -11
  281. package/dist/chunks/{tool-3c1tgrea.js → location-zcqf6png.js} +6 -6
  282. package/dist/chunks/{tool-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{tool-ds93jj24.js → location-zfcp8yb0.js} +1 -1
  284. package/dist/chunks/{tool-gs4q6mge.js → location-zgpdpn5c.js} +5 -5
  285. package/dist/chunks/{tool-20tfp5zs.js → location-zpn9qnw3.js} +4 -4
  286. package/dist/chunks/{tool-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{tool-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{tool-w466msxf.js → location-zyhvsr6w.js} +8 -8
  289. package/dist/chunks/{tool-m70012hk.js → location-zzwwppnv.js} +16 -16
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +78 -78
  294. package/dist/config/discovery.js +79 -79
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +119 -119
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +157 -157
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +119 -119
  302. package/dist/config/plugin/image.js +117 -117
  303. package/dist/config/plugin/instruction.js +87 -87
  304. package/dist/config/plugin/location-watcher.js +119 -119
  305. package/dist/config/plugin/mcp.js +128 -128
  306. package/dist/config/plugin/policy.js +116 -116
  307. package/dist/config/plugin/provider.js +115 -115
  308. package/dist/config/plugin/reference.js +119 -119
  309. package/dist/config/plugin/shell.js +120 -120
  310. package/dist/config/plugin/skill-file.js +99 -99
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +117 -117
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +119 -119
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +120 -120
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +90 -90
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +92 -92
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +73 -73
  411. package/dist/file-access.js +101 -101
  412. package/dist/file-mutation.js +91 -91
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +224 -224
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +101 -101
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +104 -104
  427. package/dist/form.js +85 -85
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +84 -84
  430. package/dist/generate.js +94 -94
  431. package/dist/git.js +8 -8
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +7 -7
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +354 -354
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +84 -84
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-mutation.js +101 -101
  466. package/dist/location-service-map.js +83 -83
  467. package/dist/location-services.js +351 -351
  468. package/dist/location.js +86 -86
  469. package/dist/mcp/client.js +88 -88
  470. package/dist/mcp/index.js +101 -101
  471. package/dist/mcp/instructions.js +124 -124
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +87 -87
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +7 -7
  476. package/dist/model-resolver.js +87 -87
  477. package/dist/model.js +4 -4
  478. package/dist/models-dev.js +87 -87
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +79 -79
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +112 -112
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +87 -87
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +98 -98
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +215 -215
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +325 -325
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +76 -76
  496. package/dist/plugin/module.js +5 -5
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +99 -99
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  502. package/dist/plugin/provider/azure.js +120 -120
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +116 -116
  508. package/dist/plugin/provider/digitalocean.js +80 -80
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +81 -81
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +77 -77
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/modal.js +80 -80
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +119 -119
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +79 -79
  523. package/dist/plugin/provider/opencode.js +80 -80
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +119 -119
  533. package/dist/plugin/provider/xai.js +78 -78
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +340 -340
  541. package/dist/plugin/update.js +2 -2
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +83 -83
  544. package/dist/plugin/vcs/hg.js +83 -83
  545. package/dist/plugin/warming.js +114 -114
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +220 -220
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +87 -87
  557. package/dist/provider.js +3 -3
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +92 -92
  562. package/dist/reference/instructions.js +86 -86
  563. package/dist/reference.js +82 -82
  564. package/dist/repository-cache.js +78 -78
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +95 -95
  568. package/dist/rpc.js +83 -83
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +129 -129
  572. package/dist/session/context.js +149 -149
  573. package/dist/session/diff.js +85 -85
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +222 -222
  578. package/dist/session/execution.js +124 -124
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +85 -85
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +94 -94
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +115 -115
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +128 -128
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +102 -102
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +87 -87
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +227 -227
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +87 -87
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +112 -112
  602. package/dist/session/runner/step.js +123 -123
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +169 -169
  606. package/dist/session/shell.js +133 -133
  607. package/dist/session/skill.js +100 -100
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +208 -208
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +153 -153
  615. package/dist/session/to-session-error.js +109 -109
  616. package/dist/session/transfer.js +218 -218
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +216 -216
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +7 -7
  623. package/dist/shell.js +135 -135
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +104 -104
  626. package/dist/skill.js +107 -107
  627. package/dist/snapshot.js +84 -84
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +123 -123
  632. package/dist/tool/plugin/edit.js +115 -115
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +118 -118
  635. package/dist/tool/plugin/grep.js +120 -120
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +117 -117
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +121 -121
  640. package/dist/tool/plugin/shell.js +211 -211
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +213 -213
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +119 -119
  646. package/dist/tool/read-filesystem.js +98 -98
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +15 -15
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +3 -3
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +84 -84
  677. package/dist/websearch.js +83 -83
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +78 -78
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +79 -79
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +6 -6
  685. package/dist/worktree/refresh.js +341 -341
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +89 -89
  688. package/package.json +8 -8
  689. package/dist/chunks/tool-1qd3ycm2.js +0 -26
  690. package/dist/chunks/tool-7z7rpcgx.js +0 -247
  691. package/dist/chunks/tool-pf31ssb9.js +0 -18
  692. package/dist/chunks/tool-qapv375x.js +0 -4
  693. /package/dist/chunks/{tool-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{tool-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{tool-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{tool-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{tool-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{tool-2710q6r3.js → location-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{tool-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{tool-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{tool-359p4xyc.js → location-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{tool-3asan66x.js → location-3asan66x.js} +0 -0
  703. /package/dist/chunks/{tool-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{tool-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{tool-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{tool-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{tool-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{tool-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{tool-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{tool-53557ph1.js → location-53557ph1.js} +0 -0
  711. /package/dist/chunks/{tool-550bvhaj.js → location-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{tool-6prwharc.js → location-6prwharc.js} +0 -0
  713. /package/dist/chunks/{tool-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{tool-7m9af43g.js → location-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{tool-822emrt2.js → location-822emrt2.js} +0 -0
  716. /package/dist/chunks/{tool-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{tool-8n3pysct.js → location-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{tool-922hggd3.js → location-922hggd3.js} +0 -0
  719. /package/dist/chunks/{tool-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{tool-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{tool-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{tool-af5trqkr.js → location-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{tool-afrmfg78.js → location-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{tool-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{tool-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{tool-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{tool-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{tool-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{tool-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{tool-d9fn303g.js → location-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{tool-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{tool-dajrwvna.js → location-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{tool-dap0rakb.js → location-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{tool-df08tz66.js → location-df08tz66.js} +0 -0
  735. /package/dist/chunks/{tool-dy18nga0.js → location-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{tool-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{tool-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{tool-ec1grn59.js → location-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{tool-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{tool-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{tool-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{tool-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{tool-faypxj3z.js → location-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{tool-fd410y7t.js → location-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{tool-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{tool-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{tool-g86h250q.js → location-g86h250q.js} +0 -0
  748. /package/dist/chunks/{tool-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{tool-gftt206x.js → location-gftt206x.js} +0 -0
  750. /package/dist/chunks/{tool-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{tool-hk9envan.js → location-hk9envan.js} +0 -0
  752. /package/dist/chunks/{tool-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{tool-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{tool-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{tool-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{tool-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{tool-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{tool-mp448xyj.js → location-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{tool-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{tool-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{tool-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{tool-njntx4h6.js → location-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{tool-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{tool-q74kybfr.js → location-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{tool-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{tool-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{tool-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{tool-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{tool-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{tool-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{tool-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{tool-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{tool-twg0f83k.js → location-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{tool-w803qqfp.js → location-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{tool-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{tool-wtztk69x.js → location-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{tool-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{tool-x61499pn.js → location-x61499pn.js} +0 -0
  779. /package/dist/chunks/{tool-y44na4kk.js → location-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{tool-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{tool-y8f7s663.js → location-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{tool-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{tool-ym463w8f.js → location-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{tool-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured9,
11
- layer: () => layer23,
12
- make: () => make21,
13
- node: () => node76,
10
+ configured: () => configured4,
11
+ layer: () => layer16,
12
+ make: () => make18,
13
+ node: () => node45,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make21()
19
+ defaultValue: () => make18()
20
20
  });
21
- function make21(input = {}) {
21
+ function make18(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer23 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
33
- var node76 = configured9();
31
+ var layer16 = (input) => Layer.succeed(Metadata2, make18(input));
32
+ var configured4 = (input) => makeGlobalNode({ service: Metadata2, layer: layer16(input), deps: [] });
33
+ var node45 = configured4();
34
34
 
35
- export { Metadata2, make21, useragent2, layer23, configured9, node76, exports_app };
35
+ export { Metadata2, make18, useragent2, layer16, configured4, node45, exports_app };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./tool-y71avatq.js";
3
+ } from "./location-y71avatq.js";
4
4
  import {
5
- Service79,
6
- node84
7
- } from "./tool-zmjtvdmj.js";
5
+ Service78,
6
+ node83
7
+ } from "./location-adcdh9yc.js";
8
+ import {
9
+ Event19,
10
+ Service72,
11
+ node77
12
+ } from "./location-sdd99z8d.js";
8
13
  import {
9
- Event18,
10
14
  Service75,
11
15
  node80
12
- } from "./tool-dssyvqwy.js";
13
- import {
14
- Service68,
15
- node72
16
- } from "./tool-ad6yvafe.js";
16
+ } from "./location-rjg803xe.js";
17
17
  import {
18
- Service63,
19
- node66
20
- } from "./tool-a4s526ga.js";
18
+ Service69,
19
+ node73
20
+ } from "./location-3ypnsrhw.js";
21
21
  import {
22
- ID17,
23
- Service76,
24
- node81
25
- } from "./tool-c3nr3a1t.js";
22
+ ID7,
23
+ Service58,
24
+ node62
25
+ } from "./location-rpby09da.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./tool-kg06axw8.js";
29
+ } from "./location-kg06axw8.js";
30
30
  import {
31
- ID15,
31
+ ID6,
32
32
  MethodID2,
33
- Service74,
34
- node79
35
- } from "./tool-3se9mp31.js";
33
+ Service57,
34
+ node61
35
+ } from "./location-83tr1t7h.js";
36
36
  import {
37
37
  __export
38
- } from "./tool-9rqn6x4v.js";
38
+ } from "./location-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
44
+ NotFoundError: () => NotFoundError2,
45
45
  Options: () => Options3,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service35,
59
+ Service: () => Service28,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
65
  configured: () => configured3,
66
- layer: () => layer14,
67
- node: () => node39
66
+ layer: () => layer11,
67
+ node: () => node33
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID15.pipe(Schema.optional)
84
+ integrationID: ID6.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service35 extends Context.Service()("@opencode/MCP") {
168
+ class Service28 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
170
  var Options3 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
@@ -173,13 +173,13 @@ var Options3 = Schema.Struct({
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
177
- const location = yield* Service68;
178
- const environment = yield* Service63;
179
- const bus = yield* Service79;
180
- const forms = yield* Service76;
181
- const integration = yield* Service74;
182
- const credentials = yield* Service75;
176
+ var layer11 = (options) => Layer.effect(Service28, Effect.gen(function* () {
177
+ const location = yield* Service75;
178
+ const environment = yield* Service69;
179
+ const bus = yield* Service78;
180
+ const forms = yield* Service58;
181
+ const integration = yield* Service57;
182
+ const credentials = yield* Service72;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID15.make(suffix);
194
+ const integrationID = ID6.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError4({ server: name });
219
+ return yield* new NotFoundError2({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID17.create();
318
+ const formID = ID7.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service35.of({
590
+ return Service28.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -709,12 +709,12 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
709
709
  }));
710
710
  function configured3(options) {
711
711
  return makeLocationNode({
712
- service: Service35,
713
- layer: layer14(options),
714
- deps: [node72, node66, node84, node81, node79, node80]
712
+ service: Service28,
713
+ layer: layer11(options),
714
+ deps: [node80, node73, node83, node62, node61, node77]
715
715
  });
716
716
  }
717
- var node39 = configured3();
717
+ var node33 = configured3();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options3, layer14, configured3, node39, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options3, layer11, configured3, node33, exports_mcp4 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service38,
9
+ Service: () => Service36,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service38 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service36 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service38, exports_runner };
18
+ export { DrainResult2, Service36, exports_runner };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service41
3
- } from "./tool-3c1tgrea.js";
2
+ Service39
3
+ } from "./location-zcqf6png.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./tool-pf31ssb9.js";
6
+ } from "./location-9sh4wc5j.js";
7
7
  import {
8
- Service46
9
- } from "./tool-9eeg3wcp.js";
8
+ Service64
9
+ } from "./location-h17a27cz.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./tool-fxbjtjnd.js";
12
+ } from "./location-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./tool-9rqn6x4v.js";
15
+ } from "./location-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service41;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
25
+ const instances = yield* Service39;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service64), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info30
5
- } from "./tool-bfc0h0ah.js";
4
+ Info28
5
+ } from "./location-njr1pezb.js";
6
6
  import {
7
- Info29
8
- } from "./tool-hrj7pjr8.js";
7
+ Info27
8
+ } from "./location-tj0j24wc.js";
9
9
  import {
10
- Service79,
11
- node84
12
- } from "./tool-zmjtvdmj.js";
10
+ Service78,
11
+ node83
12
+ } from "./location-adcdh9yc.js";
13
13
  import {
14
14
  create3
15
- } from "./tool-kg06axw8.js";
15
+ } from "./location-kg06axw8.js";
16
16
  import {
17
- ID15,
18
- Service74,
19
- node79
20
- } from "./tool-3se9mp31.js";
17
+ ID6,
18
+ Service57,
19
+ node61
20
+ } from "./location-83tr1t7h.js";
21
21
  import {
22
22
  __export
23
- } from "./tool-9rqn6x4v.js";
23
+ } from "./location-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event6,
30
- Service: () => Service43,
31
- node: () => node46
29
+ Event: () => Event11,
30
+ Service: () => Service56,
31
+ node: () => node60
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event6 } from "@opencode/schema/catalog";
36
+ import { Event as Event11 } from "@opencode/schema/catalog";
37
37
 
38
- class Service43 extends Context.Service()("@opencode/Catalog") {
38
+ class Service56 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service43, Effect.gen(function* () {
41
- const bus = yield* Service79;
42
- const integrations = yield* Service74;
40
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
41
+ const bus = yield* Service78;
42
+ const integrations = yield* Service57;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
73
73
  let current = editor.providers.get(providerID);
74
74
  if (!current) {
75
75
  current = {
76
- provider: Info30.empty(providerID),
76
+ provider: Info28.empty(providerID),
77
77
  models: new Map
78
78
  };
79
79
  editor.providers.set(providerID, current);
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
91
91
  let record = editor.providers.get(providerID);
92
92
  if (!record) {
93
93
  record = {
94
- provider: Info30.empty(providerID),
94
+ provider: Info28.empty(providerID),
95
95
  models: new Map
96
96
  };
97
97
  editor.providers.set(providerID, record);
98
98
  }
99
- const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
99
+ const model = record.models.get(modelID) ?? Info27.default(providerID, modelID);
100
100
  if (!record.models.has(modelID))
101
101
  record.models.set(modelID, model);
102
102
  fn(model);
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
130
130
  }),
131
131
  available: Effect.fn("Catalog.provider.available")(function* () {
132
132
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
133
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID15.make(provider.id))));
133
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID6.make(provider.id))));
134
134
  })
135
135
  },
136
136
  model: {
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
185
185
  })
186
186
  }
187
187
  };
188
- return Service43.of(result);
188
+ return Service56.of(result);
189
189
  }));
190
190
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
191
- var node46 = makeLocationNode({ service: Service43, layer, deps: [node84, node79] });
191
+ var node60 = makeLocationNode({ service: Service56, layer, deps: [node83, node61] });
192
192
 
193
- export { Service43, node46, exports_catalog2, Event6 };
193
+ export { Service56, node60, exports_catalog2, Event11 };
@@ -1,70 +1,70 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./tool-zmjtvdmj.js";
2
+ Service78,
3
+ node83
4
+ } from "./location-adcdh9yc.js";
5
5
  import {
6
- Service68,
7
- node72
8
- } from "./tool-ad6yvafe.js";
6
+ Service75,
7
+ node80
8
+ } from "./location-rjg803xe.js";
9
9
  import {
10
- ID8,
11
- Service62,
12
- node65
13
- } from "./tool-9h7qzzke.js";
10
+ ID11,
11
+ Service63,
12
+ node67
13
+ } from "./location-44ywkmmm.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./tool-nv6sgpkb.js";
15
+ NotFoundError9
16
+ } from "./location-bwc1950q.js";
17
17
  import {
18
- Service60,
19
- node63
20
- } from "./tool-k641sm4f.js";
18
+ Service62,
19
+ node66
20
+ } from "./location-3v8068pd.js";
21
21
  import {
22
22
  match2
23
- } from "./tool-y1fvbwt7.js";
23
+ } from "./location-y1fvbwt7.js";
24
24
  import {
25
25
  Service61,
26
- node64
27
- } from "./tool-1fjf9qgp.js";
26
+ node65
27
+ } from "./location-q6v9m3mm.js";
28
28
  import {
29
- Service67,
30
- node71
31
- } from "./tool-2vnwx32a.js";
29
+ Service74,
30
+ node79
31
+ } from "./location-8sghyhzw.js";
32
32
  import {
33
33
  __export
34
- } from "./tool-9rqn6x4v.js";
34
+ } from "./location-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event13,
46
- ID: () => ID6,
47
- NotFoundError: () => NotFoundError7,
48
- Permission: () => exports_permission2,
49
- Reply: () => Reply2,
45
+ Event: () => Event15,
46
+ ID: () => ID9,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule3,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service59,
54
+ Service: () => Service60,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node62
58
+ node: () => node64
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
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event13 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } 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 ID6 = Permission.ID;
67
+ var ID9 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -75,19 +75,19 @@ var RequestFields = {
75
75
  source: Permission.Request.fields.source
76
76
  };
77
77
  var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID6.pipe(Schema.optional),
80
+ id: ID9.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID8.pipe(Schema.optional)
82
+ agent: ID11.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID6,
86
- reply: Reply2,
85
+ requestID: ID9,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID6,
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 NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID6
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 Service59 extends Context.Service()("@opencode/Permission") {
128
+ class Service60 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service59, Effect.gen(function* () {
131
- const bus = yield* Service79;
132
- const location = yield* Service68;
133
- const agents = yield* Service62;
134
- const sessions = yield* Service60;
130
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
131
+ const bus = yield* Service78;
132
+ const location = yield* Service75;
133
+ const agents = yield* Service63;
134
+ const sessions = yield* Service62;
135
135
  const saved = yield* Service61;
136
- const hooks = yield* Service67;
136
+ const hooks = yield* Service74;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError8({ sessionID });
153
+ return yield* new NotFoundError9({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID6.create(),
183
+ id: input.id ?? ID9.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError7({ requestID: input.requestID });
231
+ return yield* new NotFoundError8({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service59.of({ ask, assert, reply, get, forSession, list });
286
+ return Service60.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node62 = makeLocationNode({
289
- service: Service59,
288
+ var node64 = makeLocationNode({
289
+ service: Service60,
290
290
  layer,
291
- deps: [node84, node72, node65, node63, node64, node71]
291
+ deps: [node83, node80, node67, node66, node65, node79]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service59, node62, exports_permission2, Rule3, Ruleset2, Event13 };
294
+ export { PermissionEffect, ID9, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service60, node64, exports_permission, Rule2, Ruleset2, Event15 };