@opencode/core 0.0.0-dev-21747 → 0.0.0-dev-21756

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/websearch-00ve6mdn.js +18 -0
  8. package/dist/chunks/{location-service-map-034tev2y.js → websearch-034tev2y.js} +2 -2
  9. package/dist/chunks/{location-service-map-3mgb105e.js → websearch-0421tmwc.js} +9 -9
  10. package/dist/chunks/{location-service-map-8bbz0hfx.js → websearch-090ayew8.js} +19 -19
  11. package/dist/chunks/{location-service-map-89yw32r8.js → websearch-0hxcp4e6.js} +4 -4
  12. package/dist/chunks/{location-service-map-0bhrze2p.js → websearch-0jst9dmz.js} +26 -26
  13. package/dist/chunks/{location-service-map-nb5axcyq.js → websearch-0kajrgn5.js} +6 -6
  14. package/dist/chunks/{location-service-map-mx438yzb.js → websearch-0r7sceh0.js} +15 -15
  15. package/dist/chunks/{location-service-map-asregxpd.js → websearch-0ty15b8r.js} +13 -13
  16. package/dist/chunks/{location-service-map-1ep2p91f.js → websearch-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{location-service-map-tdyhpgr0.js → websearch-1v0n44x7.js} +16 -16
  18. package/dist/chunks/websearch-1v3m6w2k.js +517 -0
  19. package/dist/chunks/{location-service-map-1x2knyw4.js → websearch-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{location-service-map-s7kyse9r.js → websearch-1y0wdj51.js} +9 -9
  21. package/dist/chunks/{location-service-map-fytkpx2m.js → websearch-1yf62w26.js} +1 -1
  22. package/dist/chunks/{location-service-map-013vhq9d.js → websearch-26ye1a0h.js} +43 -43
  23. package/dist/chunks/{location-service-map-se2sj8va.js → websearch-2axrbrmc.js} +7 -7
  24. package/dist/chunks/{location-service-map-q2yrdpfv.js → websearch-2bcte980.js} +5 -5
  25. package/dist/chunks/{location-service-map-e4fwp3bx.js → websearch-2f6dwfym.js} +19 -19
  26. package/dist/chunks/{location-service-map-2meyg87m.js → websearch-2fkrhbg9.js} +23 -23
  27. package/dist/chunks/{location-service-map-2z1j29yd.js → websearch-2z1j29yd.js} +1 -1
  28. package/dist/chunks/{location-service-map-hw8460a0.js → websearch-35myeakn.js} +11 -11
  29. package/dist/chunks/{location-service-map-vgpm9ca5.js → websearch-35sav4w0.js} +22 -22
  30. package/dist/chunks/{location-service-map-xrpfz6f8.js → websearch-39kss88q.js} +9 -9
  31. package/dist/chunks/{location-service-map-3zrv9gmq.js → websearch-3aw6bcdd.js} +29 -29
  32. package/dist/chunks/{location-service-map-kjedcq3q.js → websearch-3bp5jjvw.js} +9 -9
  33. package/dist/chunks/{location-service-map-6281ma0y.js → websearch-3g41ey7s.js} +11 -11
  34. package/dist/chunks/{location-service-map-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{location-service-map-3nnrz6f6.js → websearch-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{location-service-map-nch9as0x.js → websearch-3qn9w17a.js} +11 -11
  37. package/dist/chunks/{location-service-map-aw84gg2e.js → websearch-3rgj9tjs.js} +32 -32
  38. package/dist/chunks/{location-service-map-s9kc5ksh.js → websearch-3z074cxn.js} +7 -7
  39. package/dist/chunks/{location-service-map-w2eysc6j.js → websearch-40za9wsf.js} +9 -9
  40. package/dist/chunks/{location-service-map-2kagezbr.js → websearch-4a126rg5.js} +31 -31
  41. package/dist/chunks/{location-service-map-wksxchbw.js → websearch-4c9adx7x.js} +14 -14
  42. package/dist/chunks/{location-service-map-z35z7ez2.js → websearch-4hjg18t3.js} +4 -4
  43. package/dist/chunks/{location-service-map-n4vfsstt.js → websearch-4jv1qxwj.js} +9 -9
  44. package/dist/chunks/{location-service-map-g3s8w1rf.js → websearch-4p8v6gf7.js} +3 -3
  45. package/dist/chunks/{location-service-map-mrtxr4cp.js → websearch-4r4bnvcy.js} +4 -4
  46. package/dist/chunks/{location-service-map-x6qr1hyp.js → websearch-4snbakks.js} +4 -4
  47. package/dist/chunks/{location-service-map-4v008n1t.js → websearch-4v008n1t.js} +1 -1
  48. package/dist/chunks/{location-service-map-nr8jt6t8.js → websearch-4x7cszc9.js} +17 -17
  49. package/dist/chunks/{location-service-map-4xvmh7wp.js → websearch-4xvmh7wp.js} +3 -3
  50. package/dist/chunks/{location-service-map-qbkx5tms.js → websearch-53b428tw.js} +18 -18
  51. package/dist/chunks/{location-service-map-003kegp2.js → websearch-53xcczwb.js} +13 -13
  52. package/dist/chunks/{location-service-map-qmthnpq9.js → websearch-54mwpwnj.js} +42 -42
  53. package/dist/chunks/{location-service-map-40008bk8.js → websearch-584q6htd.js} +6 -6
  54. package/dist/chunks/{location-service-map-nt999nhx.js → websearch-5fjdabgp.js} +17 -17
  55. package/dist/chunks/{location-service-map-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{location-service-map-355rvjhq.js → websearch-5mmnsyp9.js} +13 -13
  57. package/dist/chunks/{location-service-map-8bya8z2e.js → websearch-5pr32gd7.js} +48 -48
  58. package/dist/chunks/{location-service-map-e3qxr5gk.js → websearch-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{location-service-map-a7n5phyp.js → websearch-601m2pka.js} +32 -32
  60. package/dist/chunks/{location-service-map-90z9wy20.js → websearch-60ndzxv8.js} +37 -37
  61. package/dist/chunks/{location-service-map-0b9rhbpe.js → websearch-61m88qqz.js} +35 -35
  62. package/dist/chunks/{location-service-map-9zskf68x.js → websearch-67gksmdf.js} +35 -35
  63. package/dist/chunks/{location-service-map-t1ngx2fg.js → websearch-68k8pcn2.js} +22 -22
  64. package/dist/chunks/{location-service-map-9ec60z8p.js → websearch-6bqp8z2s.js} +18 -18
  65. package/dist/chunks/{location-service-map-7ddrbmq5.js → websearch-6dbnd2pd.js} +25 -25
  66. package/dist/chunks/{location-service-map-6esdw8yj.js → websearch-6esdw8yj.js} +1 -1
  67. package/dist/chunks/{location-service-map-1x6pf1gv.js → websearch-6jm1rnt9.js} +87 -87
  68. package/dist/chunks/{location-service-map-6pjqjmy2.js → websearch-6pjqjmy2.js} +1 -1
  69. package/dist/chunks/{location-service-map-d00ejkj2.js → websearch-6rg7kjpy.js} +22 -22
  70. package/dist/chunks/{location-service-map-smfcvx02.js → websearch-6twykydk.js} +9 -9
  71. package/dist/chunks/{location-service-map-0r6mtjdh.js → websearch-6zrr0fnw.js} +21 -21
  72. package/dist/chunks/{location-service-map-wk6xk37q.js → websearch-74m3x80w.js} +7 -7
  73. package/dist/chunks/{location-service-map-nah043kf.js → websearch-770pw0s1.js} +4 -4
  74. package/dist/chunks/{location-service-map-aecf60s0.js → websearch-77mes9hg.js} +13 -13
  75. package/dist/chunks/{location-service-map-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{location-service-map-xzhqqqxc.js → websearch-7jz0dh2k.js} +19 -19
  77. package/dist/chunks/{location-service-map-1px3a2xb.js → websearch-7vftsjfj.js} +28 -28
  78. package/dist/chunks/{location-service-map-7w2ypzdf.js → websearch-7w2ypzdf.js} +1 -1
  79. package/dist/chunks/{location-service-map-bemj2y7b.js → websearch-85sv36r4.js} +36 -36
  80. package/dist/chunks/{location-service-map-qrscgvzd.js → websearch-876de6v3.js} +30 -30
  81. package/dist/chunks/{location-service-map-afmr3pea.js → websearch-8emm9fy9.js} +4 -4
  82. package/dist/chunks/{location-service-map-wm5nwgxs.js → websearch-8rf240hq.js} +9 -9
  83. package/dist/chunks/{location-service-map-0w2m92gv.js → websearch-8t9b736e.js} +19 -19
  84. package/dist/chunks/{location-service-map-8wtp7s3z.js → websearch-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{location-service-map-91rj84md.js → websearch-91rj84md.js} +1 -1
  86. package/dist/chunks/{location-service-map-998yhzzq.js → websearch-998yhzzq.js} +3 -3
  87. package/dist/chunks/{location-service-map-kvh9ftvy.js → websearch-99v8e8rn.js} +4 -4
  88. package/dist/chunks/{location-service-map-5rffwtjg.js → websearch-9hj5qrya.js} +25 -25
  89. package/dist/chunks/{location-service-map-50y1xsz1.js → websearch-9yt3qsdq.js} +40 -40
  90. package/dist/chunks/{location-service-map-a3en8ngd.js → websearch-a6959n1g.js} +10 -10
  91. package/dist/chunks/{location-service-map-8ykqf5wm.js → websearch-a7hcemwv.js} +11 -11
  92. package/dist/chunks/{location-service-map-2svr78gq.js → websearch-aamv54pf.js} +29 -29
  93. package/dist/chunks/{location-service-map-etsym5j7.js → websearch-adcxthm4.js} +36 -36
  94. package/dist/chunks/{location-service-map-6y263vp8.js → websearch-afmnpta1.js} +5 -5
  95. package/dist/chunks/{location-service-map-gah3njre.js → websearch-ahjrynj8.js} +16 -16
  96. package/dist/chunks/{location-service-map-p0tsr9h6.js → websearch-an558sqv.js} +4 -4
  97. package/dist/chunks/{location-service-map-ayjs7tqn.js → websearch-ayjs7tqn.js} +2 -2
  98. package/dist/chunks/{location-service-map-b0mv4wxm.js → websearch-b0mv4wxm.js} +2 -2
  99. package/dist/chunks/{location-service-map-y81cv5eb.js → websearch-b5yc11pg.js} +17 -17
  100. package/dist/chunks/{location-service-map-44sw466x.js → websearch-b65mwzbx.js} +26 -26
  101. package/dist/chunks/{location-service-map-qmx84djp.js → websearch-b6ft8j34.js} +9 -9
  102. package/dist/chunks/{location-service-map-5nnwax6m.js → websearch-b6vsg801.js} +5 -5
  103. package/dist/chunks/{location-service-map-5em4e5nr.js → websearch-b868c8d8.js} +39 -39
  104. package/dist/chunks/{location-service-map-gvcwdp68.js → websearch-b87x680z.js} +20 -20
  105. package/dist/chunks/{location-service-map-g431yjwv.js → websearch-bc0ymgk0.js} +50 -50
  106. package/dist/chunks/{location-service-map-9sz3mafc.js → websearch-befe4cf3.js} +4 -4
  107. package/dist/chunks/{location-service-map-bjhzkqyk.js → websearch-bjhzkqyk.js} +1 -1
  108. package/dist/chunks/{location-service-map-tx2wf29d.js → websearch-bn7kdvhq.js} +11 -11
  109. package/dist/chunks/{location-service-map-5g505q1a.js → websearch-bne87zw5.js} +27 -27
  110. package/dist/chunks/{location-service-map-bstexjd6.js → websearch-bstexjd6.js} +1 -1
  111. package/dist/chunks/{location-service-map-4ed14fdp.js → websearch-bxfrdttp.js} +27 -27
  112. package/dist/chunks/{location-service-map-e3ym3z1q.js → websearch-c3b0e464.js} +22 -22
  113. package/dist/chunks/{location-service-map-wdmx20pv.js → websearch-c3cfh5w6.js} +7 -7
  114. package/dist/chunks/{location-service-map-qrdfdxph.js → websearch-c6r66q4n.js} +5 -5
  115. package/dist/chunks/{location-service-map-rr7wf6ce.js → websearch-c9erfsw0.js} +49 -49
  116. package/dist/chunks/{location-service-map-139nr8yw.js → websearch-ceeb7cqk.js} +14 -14
  117. package/dist/chunks/{location-service-map-1yqqrz0x.js → websearch-cv8jg5mf.js} +11 -11
  118. package/dist/chunks/{location-service-map-rhdbdzx3.js → websearch-cz1vwcws.js} +2 -2
  119. package/dist/chunks/{location-service-map-h8vvdn21.js → websearch-czcebxpq.js} +70 -70
  120. package/dist/chunks/{location-service-map-1sme1v1k.js → websearch-d0ctn9ee.js} +24 -24
  121. package/dist/chunks/{location-service-map-4sp541mw.js → websearch-d1dxzg06.js} +2 -2
  122. package/dist/chunks/{location-service-map-d2887f8n.js → websearch-d2887f8n.js} +1 -1
  123. package/dist/chunks/{location-service-map-d4v9tmah.js → websearch-d4v9tmah.js} +2 -2
  124. package/dist/chunks/{location-service-map-ww12ck0g.js → websearch-d7qtxm9r.js} +20 -20
  125. package/dist/chunks/{location-service-map-n0fgk9jt.js → websearch-da9th9a0.js} +24 -24
  126. package/dist/chunks/{location-service-map-0pnxwcyc.js → websearch-ddj2qmc2.js} +10 -10
  127. package/dist/chunks/{location-service-map-t72mevzp.js → websearch-dhww0s6x.js} +1 -1
  128. package/dist/chunks/{location-service-map-9abkctgc.js → websearch-dkcjkp08.js} +6 -6
  129. package/dist/chunks/{location-service-map-vgw3dfza.js → websearch-dmk8nbcm.js} +11 -11
  130. package/dist/chunks/{location-service-map-yg0c2r26.js → websearch-dswfp19d.js} +3 -3
  131. package/dist/chunks/{location-service-map-zpzb2he9.js → websearch-e14ep8c2.js} +8 -8
  132. package/dist/chunks/{location-service-map-dh7axqeh.js → websearch-e1g8z5n0.js} +16 -16
  133. package/dist/chunks/{location-service-map-6zr8wwz2.js → websearch-e4k6zsy1.js} +47 -47
  134. package/dist/chunks/{location-service-map-e834z07m.js → websearch-e834z07m.js} +1 -1
  135. package/dist/chunks/{location-service-map-2g2v5pv8.js → websearch-eb0nfaz4.js} +11 -11
  136. package/dist/chunks/{location-service-map-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{location-service-map-gw690m90.js → websearch-efz7hhzt.js} +10 -10
  138. package/dist/chunks/{location-service-map-ejmz6kkm.js → websearch-ejgxm2nm.js} +19 -19
  139. package/dist/chunks/{location-service-map-m37sd98t.js → websearch-eqmd2tfz.js} +7 -7
  140. package/dist/chunks/{location-service-map-m4n0g2r5.js → websearch-eraf7cqm.js} +35 -35
  141. package/dist/chunks/{location-service-map-g3j8z5p4.js → websearch-etj7xr5r.js} +29 -29
  142. package/dist/chunks/{location-service-map-15x7rp3m.js → websearch-ezdmt8g7.js} +5 -5
  143. package/dist/chunks/{location-service-map-kb5qgkwh.js → websearch-ezejdjmf.js} +10 -10
  144. package/dist/chunks/{location-service-map-fffv3p7h.js → websearch-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{location-service-map-4etbn6tz.js → websearch-fmnjzv27.js} +5 -5
  146. package/dist/chunks/{location-service-map-aedgfdwr.js → websearch-fq91yvwf.js} +17 -17
  147. package/dist/chunks/{location-service-map-t1xvrdec.js → websearch-fv6att8a.js} +14 -14
  148. package/dist/chunks/{location-service-map-9b28cy4d.js → websearch-fvc4bqe2.js} +5 -5
  149. package/dist/chunks/{location-service-map-wa35tw6v.js → websearch-fz7prppb.js} +17 -17
  150. package/dist/chunks/{location-service-map-wr3re1en.js → websearch-fznmdakp.js} +4 -4
  151. package/dist/chunks/{location-service-map-27jee16v.js → websearch-g4fsskpn.js} +27 -27
  152. package/dist/chunks/{location-service-map-g5h9c0rr.js → websearch-g5h9c0rr.js} +2 -2
  153. package/dist/chunks/{location-service-map-qbmvg479.js → websearch-g6wnqzhb.js} +22 -22
  154. package/dist/chunks/{location-service-map-jypar2fs.js → websearch-ga92ybw9.js} +8 -8
  155. package/dist/chunks/websearch-gecnmrws.js +26 -0
  156. package/dist/chunks/{location-service-map-bhsvbham.js → websearch-gjw9pjem.js} +18 -18
  157. package/dist/chunks/{location-service-map-f6a8s9j6.js → websearch-gnk1ngs3.js} +18 -18
  158. package/dist/chunks/{location-service-map-5p1db6qh.js → websearch-gnqtsnxp.js} +24 -24
  159. package/dist/chunks/{location-service-map-582e04r8.js → websearch-gyz3azbf.js} +16 -16
  160. package/dist/chunks/{location-service-map-zhq0k9nq.js → websearch-hch4wa3n.js} +4 -4
  161. package/dist/chunks/{location-service-map-j71y8rmy.js → websearch-hswty8r3.js} +25 -25
  162. package/dist/chunks/{location-service-map-zg5bfpcj.js → websearch-hvwvq3df.js} +8 -8
  163. package/dist/chunks/{location-service-map-sdmn02p2.js → websearch-hwyh2kpq.js} +11 -11
  164. package/dist/chunks/{location-service-map-ra6js1h8.js → websearch-hy8c1z76.js} +8 -8
  165. package/dist/chunks/{location-service-map-8n9x2wf6.js → websearch-hzrfc1p4.js} +2 -2
  166. package/dist/chunks/{location-service-map-j113cymg.js → websearch-j113cymg.js} +1 -1
  167. package/dist/chunks/{location-service-map-kz6h04bd.js → websearch-j6a70pje.js} +50 -50
  168. package/dist/chunks/{location-service-map-hpyhs3fr.js → websearch-j82mhg5v.js} +13 -13
  169. package/dist/chunks/{location-service-map-jchrqzf6.js → websearch-jneg3k74.js} +4 -4
  170. package/dist/chunks/{location-service-map-k814nvkf.js → websearch-k814nvkf.js} +1 -1
  171. package/dist/chunks/{location-service-map-w059c7vr.js → websearch-kb4gstwj.js} +5 -5
  172. package/dist/chunks/{location-service-map-g6wjc1x4.js → websearch-kbjsyctr.js} +32 -32
  173. package/dist/chunks/{location-service-map-eayp7z6c.js → websearch-kndc5src.js} +3 -3
  174. package/dist/chunks/{location-service-map-188drt2q.js → websearch-kp0e8qdv.js} +20 -20
  175. package/dist/chunks/{location-service-map-m1714858.js → websearch-m1714858.js} +1 -1
  176. package/dist/chunks/{location-service-map-388njdkr.js → websearch-m8gc8z80.js} +21 -21
  177. package/dist/chunks/{location-service-map-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{location-service-map-maspj1v3.js → websearch-maspj1v3.js} +1 -1
  179. package/dist/chunks/{location-service-map-sc9zg7jb.js → websearch-mfwfc967.js} +12 -12
  180. package/dist/chunks/{location-service-map-n5ec28k5.js → websearch-mjxc5aj5.js} +52 -52
  181. package/dist/chunks/{location-service-map-jq5wkjk8.js → websearch-mmqtdvrn.js} +4 -4
  182. package/dist/chunks/{location-service-map-86yd8n6t.js → websearch-mptby4ra.js} +48 -48
  183. package/dist/chunks/websearch-ms1v96r1.js +257 -0
  184. package/dist/chunks/{location-service-map-0vx028ky.js → websearch-mt3ysty9.js} +6 -6
  185. package/dist/chunks/{location-service-map-3f8v07ch.js → websearch-mvx17366.js} +11 -11
  186. package/dist/chunks/{location-service-map-7fts76r7.js → websearch-mzw1ndaz.js} +82 -82
  187. package/dist/chunks/{location-service-map-n0p0277s.js → websearch-n0p0277s.js} +1 -1
  188. package/dist/chunks/{location-service-map-nzm9dq78.js → websearch-n7hthk3p.js} +22 -22
  189. package/dist/chunks/{location-service-map-j49x6kf4.js → websearch-n7wnam13.js} +8 -8
  190. package/dist/chunks/{location-service-map-q9s78g4e.js → websearch-nbv85aqk.js} +21 -21
  191. package/dist/chunks/{location-service-map-2hp83xyv.js → websearch-negnaxrt.js} +18 -18
  192. package/dist/chunks/{location-service-map-vzb2t1dt.js → websearch-neyf1ckr.js} +15 -15
  193. package/dist/chunks/{location-service-map-dqmnshvt.js → websearch-nq3mvejp.js} +13 -13
  194. package/dist/chunks/{location-service-map-j13zswh9.js → websearch-nqaab5fx.js} +8 -8
  195. package/dist/chunks/{location-service-map-t8qws3g8.js → websearch-nzcs0wzz.js} +12 -12
  196. package/dist/chunks/{location-service-map-p015t6z3.js → websearch-p015t6z3.js} +2 -2
  197. package/dist/chunks/{location-service-map-v9ez2kgh.js → websearch-p7vhpwh8.js} +5 -5
  198. package/dist/chunks/{location-service-map-4fde41kk.js → websearch-pbjsg7m1.js} +16 -16
  199. package/dist/chunks/{location-service-map-8bc2ahr8.js → websearch-pc1v25hk.js} +3 -3
  200. package/dist/chunks/{location-service-map-r4qf8hg2.js → websearch-pd0633z0.js} +31 -31
  201. package/dist/chunks/{location-service-map-dsd5z2sr.js → websearch-pk0v2zct.js} +23 -23
  202. package/dist/chunks/{location-service-map-pknna89w.js → websearch-pknna89w.js} +1 -1
  203. package/dist/chunks/{location-service-map-dkdbv7e2.js → websearch-pv4tdx85.js} +8 -8
  204. package/dist/chunks/{location-service-map-sq86wmmj.js → websearch-pvn3retk.js} +17 -17
  205. package/dist/chunks/{location-service-map-nj07n8jc.js → websearch-pyg2ad4d.js} +58 -58
  206. package/dist/chunks/{location-service-map-3xbacp9g.js → websearch-q3bgpfy7.js} +14 -14
  207. package/dist/chunks/{location-service-map-na462m5h.js → websearch-q3vt6pnc.js} +20 -20
  208. package/dist/chunks/{location-service-map-ffxnyj3q.js → websearch-q5ksxkha.js} +6 -6
  209. package/dist/chunks/{location-service-map-p9jvgf3w.js → websearch-q6bn7qw5.js} +6 -6
  210. package/dist/chunks/{location-service-map-yccdn1y1.js → websearch-qcf9sep0.js} +7 -7
  211. package/dist/chunks/{location-service-map-4c2w6q79.js → websearch-qfw0te7b.js} +15 -15
  212. package/dist/chunks/{location-service-map-a2x4jk9y.js → websearch-qhsybjre.js} +14 -14
  213. package/dist/chunks/{location-service-map-qjgzc4b4.js → websearch-qjgzc4b4.js} +1 -1
  214. package/dist/chunks/{location-service-map-yb48csac.js → websearch-qtmq7hg9.js} +49 -49
  215. package/dist/chunks/{location-service-map-zqp8ase3.js → websearch-qvswfh9d.js} +27 -27
  216. package/dist/chunks/{location-service-map-pmy4yzzf.js → websearch-qyrktak0.js} +32 -32
  217. package/dist/chunks/{location-service-map-r0yr0wbs.js → websearch-r0yr0wbs.js} +1 -1
  218. package/dist/chunks/{location-service-map-j43965rx.js → websearch-r5q4n18f.js} +9 -9
  219. package/dist/chunks/{location-service-map-rb9dy4dg.js → websearch-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{location-service-map-r8bgrvjg.js → websearch-rjbe0a9e.js} +12 -12
  221. package/dist/chunks/{location-service-map-f0k0jrg1.js → websearch-rsdttbp5.js} +19 -19
  222. package/dist/chunks/{location-service-map-rt5dr6hb.js → websearch-rt5dr6hb.js} +1 -1
  223. package/dist/chunks/{location-service-map-v2eqhgdw.js → websearch-rv7ddw0n.js} +24 -24
  224. package/dist/chunks/{location-service-map-y2s0ta7g.js → websearch-rwf9r3m0.js} +23 -23
  225. package/dist/chunks/{location-service-map-a5g15581.js → websearch-rxrz6b15.js} +2 -2
  226. package/dist/chunks/{location-service-map-w9dsj9zn.js → websearch-sc8entjg.js} +9 -9
  227. package/dist/chunks/{location-service-map-53x1cw92.js → websearch-sepw9312.js} +9 -9
  228. package/dist/chunks/{location-service-map-8z0nn26j.js → websearch-sf4dycwn.js} +9 -9
  229. package/dist/chunks/{location-service-map-5e15319b.js → websearch-sfkj0ta1.js} +5 -5
  230. package/dist/chunks/{location-service-map-fgn5d73r.js → websearch-shnwrs1k.js} +30 -30
  231. package/dist/chunks/{location-service-map-m428dt5q.js → websearch-shvrd9z9.js} +26 -26
  232. package/dist/chunks/{location-service-map-sqjzf8x2.js → websearch-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{location-service-map-9ef8rrka.js → websearch-sy9xwmw1.js} +8 -8
  234. package/dist/chunks/{location-service-map-vmztxwx7.js → websearch-syvntbhr.js} +22 -22
  235. package/dist/chunks/{location-service-map-v4sey8dh.js → websearch-t0h12fke.js} +14 -14
  236. package/dist/chunks/{location-service-map-ahke7ec0.js → websearch-t2c8c6tj.js} +20 -20
  237. package/dist/chunks/{location-service-map-tczq8hjw.js → websearch-tczq8hjw.js} +1 -1
  238. package/dist/chunks/{location-service-map-6xjs6dtv.js → websearch-tdpgt7wh.js} +18 -18
  239. package/dist/chunks/{location-service-map-p2426226.js → websearch-tez9md4y.js} +3 -3
  240. package/dist/chunks/{location-service-map-zwfqh4cf.js → websearch-tgsxr5er.js} +21 -21
  241. package/dist/chunks/{location-service-map-r35n27g2.js → websearch-tn5rj4h4.js} +22 -22
  242. package/dist/chunks/{location-service-map-dkq45v8d.js → websearch-tnqzh63d.js} +8 -8
  243. package/dist/chunks/{location-service-map-tw8zr1ps.js → websearch-tw8zr1ps.js} +1 -1
  244. package/dist/chunks/{location-service-map-twv2r8f4.js → websearch-twv2r8f4.js} +2 -2
  245. package/dist/chunks/{location-service-map-yexkrg4y.js → websearch-v2aqy3r9.js} +11 -11
  246. package/dist/chunks/{location-service-map-v2r1d0zg.js → websearch-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{location-service-map-e63tw6zr.js → websearch-vbymnfc5.js} +14 -14
  248. package/dist/chunks/{location-service-map-vd3b3yk9.js → websearch-vd3b3yk9.js} +1 -1
  249. package/dist/chunks/{location-service-map-ppr22hv7.js → websearch-ve5gzmd5.js} +1 -1
  250. package/dist/chunks/{location-service-map-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  251. package/dist/chunks/{location-service-map-r8fhaa0s.js → websearch-vgr3c4a7.js} +12 -12
  252. package/dist/chunks/{location-service-map-0z1tt7er.js → websearch-vnmgdpj6.js} +5 -5
  253. package/dist/chunks/{location-service-map-1ak811wc.js → websearch-vnntc3sm.js} +38 -38
  254. package/dist/chunks/{location-service-map-z9r2qbyv.js → websearch-vq142dc8.js} +10 -10
  255. package/dist/chunks/{location-service-map-mzrvsmc2.js → websearch-vs6d5gmb.js} +4 -4
  256. package/dist/chunks/{location-service-map-y736c7qs.js → websearch-vy9rjjkt.js} +18 -18
  257. package/dist/chunks/{location-service-map-fvvfx1zv.js → websearch-vz1a888q.js} +185 -185
  258. package/dist/chunks/{location-service-map-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{location-service-map-76cb1hcw.js → websearch-w8qtt4th.js} +4 -4
  260. package/dist/chunks/{location-service-map-zknj5k26.js → websearch-w9gfj7y9.js} +29 -29
  261. package/dist/chunks/{location-service-map-wakvkjy4.js → websearch-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{location-service-map-wd87259q.js → websearch-wd87259q.js} +1 -1
  263. package/dist/chunks/{location-service-map-ctz1338s.js → websearch-wfewkgqg.js} +40 -40
  264. package/dist/chunks/{location-service-map-p0cbjzex.js → websearch-wkpxpnd1.js} +32 -32
  265. package/dist/chunks/{location-service-map-b0bkrffq.js → websearch-xazjtzbh.js} +15 -15
  266. package/dist/chunks/{location-service-map-w8j8mkqh.js → websearch-xfbpcgb3.js} +25 -25
  267. package/dist/chunks/{location-service-map-5vh4rcr3.js → websearch-xqqxjzgs.js} +18 -18
  268. package/dist/chunks/{location-service-map-7bg5w1mh.js → websearch-xrc3640n.js} +8 -8
  269. package/dist/chunks/{location-service-map-d00p4xa9.js → websearch-y22e2amb.js} +18 -18
  270. package/dist/chunks/{location-service-map-drtqd3vk.js → websearch-y4kbxhdq.js} +8 -8
  271. package/dist/chunks/{location-service-map-3mjk875x.js → websearch-y605yc6m.js} +30 -30
  272. package/dist/chunks/{location-service-map-yb20nhc3.js → websearch-yb20nhc3.js} +1 -1
  273. package/dist/chunks/{location-service-map-bd45fzh3.js → websearch-yg7ytxzr.js} +6 -6
  274. package/dist/chunks/{location-service-map-q6s5gc9a.js → websearch-ygqqsqxe.js} +3 -3
  275. package/dist/chunks/{location-service-map-tn28sp3a.js → websearch-yhta6zhb.js} +14 -14
  276. package/dist/chunks/{location-service-map-zdat2xwq.js → websearch-yydqqga9.js} +4 -4
  277. package/dist/chunks/{location-service-map-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-service-map-z38nccrw.js → websearch-z38nccrw.js} +1 -1
  279. package/dist/chunks/{location-service-map-d9x798yd.js → websearch-z41z05dk.js} +6 -6
  280. package/dist/chunks/{location-service-map-3twxkf78.js → websearch-z7w4m9jf.js} +45 -45
  281. package/dist/chunks/{location-service-map-zkg84ctx.js → websearch-zkg84ctx.js} +1 -1
  282. package/dist/chunks/{location-service-map-dk5xnaxx.js → websearch-zkgq49d1.js} +4 -4
  283. package/dist/chunks/{location-service-map-4xvztgkr.js → websearch-zpe8k49a.js} +11 -11
  284. package/dist/chunks/{location-service-map-txs0e95y.js → websearch-zsgey489.js} +5 -5
  285. package/dist/chunks/{location-service-map-h0rg6s60.js → websearch-ztf6n3de.js} +4 -4
  286. package/dist/chunks/{location-service-map-4pxnxcp5.js → websearch-zxxqm14y.js} +14 -14
  287. package/dist/chunks/{location-service-map-e6b8fvx8.js → websearch-zzfxyc91.js} +23 -23
  288. package/dist/chunks/{location-service-map-6ga3t03x.js → websearch-zzhs96fs.js} +15 -15
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +85 -85
  294. package/dist/config/discovery.js +86 -86
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +118 -118
  298. package/dist/config/plugin/command.js +214 -214
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +116 -116
  306. package/dist/config/plugin/mcp.js +125 -125
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +3 -3
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +117 -117
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +119 -119
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +83 -83
  324. package/dist/database/database.js +68 -68
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +94 -94
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +97 -97
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +76 -76
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +101 -101
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +9 -9
  429. package/dist/filesystem.js +106 -106
  430. package/dist/form.js +82 -82
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +109 -109
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +101 -101
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +361 -361
  458. package/dist/instruction-discovery.js +86 -86
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +159 -159
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -358
  470. package/dist/location.js +87 -87
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +109 -109
  474. package/dist/mcp/instructions.js +140 -140
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +101 -101
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +100 -100
  483. package/dist/models-dev.js +109 -109
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +113 -113
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +90 -90
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +78 -78
  494. package/dist/plugin/command.js +104 -104
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +332 -332
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +117 -117
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +104 -104
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +116 -116
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +125 -125
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +123 -123
  529. package/dist/plugin/provider/openai-context-caps.js +92 -92
  530. package/dist/plugin/provider/openai.js +118 -118
  531. package/dist/plugin/provider/opencode.js +100 -100
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +125 -125
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +168 -168
  544. package/dist/plugin/sdk.js +78 -78
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +134 -134
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +351 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +88 -88
  552. package/dist/plugin/vcs/hg.js +88 -88
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +6 -6
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +88 -88
  566. package/dist/provider.js +99 -99
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +97 -97
  570. package/dist/reference/instructions.js +91 -91
  571. package/dist/reference.js +93 -93
  572. package/dist/repository-cache.js +83 -83
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +99 -99
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +136 -136
  581. package/dist/session/context.js +164 -164
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +166 -166
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +95 -95
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +81 -81
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +118 -118
  598. package/dist/session/model-transport.js +5 -5
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +1 -1
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +102 -102
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +5 -5
  611. package/dist/session/runner/step.js +128 -128
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +3 -3
  614. package/dist/session/session.js +165 -165
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +105 -105
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +168 -168
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +218 -218
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +214 -214
  628. package/dist/shell/parse.js +8 -8
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +132 -132
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +109 -109
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +139 -139
  641. package/dist/tool/plugin/edit.js +122 -122
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +126 -126
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +111 -111
  647. package/dist/tool/plugin/patch.js +120 -120
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/todo.js +136 -136
  654. package/dist/tool/plugin/webfetch.js +113 -113
  655. package/dist/tool/plugin/websearch.js +116 -116
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +104 -104
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +16 -16
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +76 -76
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +82 -82
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/location-service-map-03p9d38e.js +0 -257
  693. package/dist/chunks/location-service-map-1y25g81x.js +0 -517
  694. package/dist/chunks/location-service-map-7yv5xa0k.js +0 -18
  695. package/dist/chunks/location-service-map-hmc8wnkn.js +0 -26
  696. /package/dist/chunks/{location-service-map-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{location-service-map-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{location-service-map-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{location-service-map-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{location-service-map-24dcb14g.js → websearch-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{location-service-map-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{location-service-map-2bv980vf.js → websearch-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{location-service-map-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{location-service-map-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{location-service-map-3asan66x.js → websearch-3asan66x.js} +0 -0
  706. /package/dist/chunks/{location-service-map-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{location-service-map-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{location-service-map-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{location-service-map-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{location-service-map-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{location-service-map-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{location-service-map-53557ph1.js → websearch-53557ph1.js} +0 -0
  713. /package/dist/chunks/{location-service-map-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{location-service-map-5fjb7ams.js → websearch-5fjb7ams.js} +0 -0
  715. /package/dist/chunks/{location-service-map-6prwharc.js → websearch-6prwharc.js} +0 -0
  716. /package/dist/chunks/{location-service-map-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{location-service-map-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{location-service-map-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{location-service-map-822emrt2.js → websearch-822emrt2.js} +0 -0
  720. /package/dist/chunks/{location-service-map-84wd9syh.js → websearch-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{location-service-map-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{location-service-map-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{location-service-map-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{location-service-map-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{location-service-map-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{location-service-map-a058387c.js → websearch-a058387c.js} +0 -0
  727. /package/dist/chunks/{location-service-map-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{location-service-map-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{location-service-map-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{location-service-map-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{location-service-map-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{location-service-map-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{location-service-map-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{location-service-map-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{location-service-map-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{location-service-map-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{location-service-map-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{location-service-map-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{location-service-map-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{location-service-map-df08tz66.js → websearch-df08tz66.js} +0 -0
  741. /package/dist/chunks/{location-service-map-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{location-service-map-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{location-service-map-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{location-service-map-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{location-service-map-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{location-service-map-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{location-service-map-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{location-service-map-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{location-service-map-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{location-service-map-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{location-service-map-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{location-service-map-g86h250q.js → websearch-g86h250q.js} +0 -0
  753. /package/dist/chunks/{location-service-map-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{location-service-map-gftt206x.js → websearch-gftt206x.js} +0 -0
  755. /package/dist/chunks/{location-service-map-hcxmzztb.js → websearch-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{location-service-map-hk9envan.js → websearch-hk9envan.js} +0 -0
  757. /package/dist/chunks/{location-service-map-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{location-service-map-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{location-service-map-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{location-service-map-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{location-service-map-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{location-service-map-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{location-service-map-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{location-service-map-m18g726c.js → websearch-m18g726c.js} +0 -0
  765. /package/dist/chunks/{location-service-map-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{location-service-map-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{location-service-map-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{location-service-map-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{location-service-map-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{location-service-map-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{location-service-map-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{location-service-map-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{location-service-map-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{location-service-map-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{location-service-map-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{location-service-map-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{location-service-map-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{location-service-map-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{location-service-map-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{location-service-map-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{location-service-map-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{location-service-map-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{location-service-map-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{location-service-map-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{location-service-map-wjj7prxr.js → websearch-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{location-service-map-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{location-service-map-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{location-service-map-x61499pn.js → websearch-x61499pn.js} +0 -0
  789. /package/dist/chunks/{location-service-map-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{location-service-map-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{location-service-map-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{location-service-map-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{location-service-map-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{location-service-map-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-service-map-vgw3dfza.js";
3
+ } from "./websearch-dmk8nbcm.js";
4
4
  import {
5
- Service84
6
- } from "./location-service-map-r8fhaa0s.js";
5
+ Service85
6
+ } from "./websearch-vgr3c4a7.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./location-service-map-4ed14fdp.js";
9
+ Event18
10
+ } from "./websearch-bxfrdttp.js";
11
11
  import {
12
12
  key2
13
- } from "./location-service-map-bjhzkqyk.js";
13
+ } from "./websearch-bjhzkqyk.js";
14
14
  import {
15
- ID13,
15
+ ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./location-service-map-m428dt5q.js";
18
+ } from "./websearch-shvrd9z9.js";
19
19
  import {
20
- Service13
21
- } from "./location-service-map-kb5qgkwh.js";
20
+ Service39
21
+ } from "./websearch-ezejdjmf.js";
22
22
  import {
23
- ID12,
23
+ ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./location-service-map-qrscgvzd.js";
26
+ } from "./websearch-876de6v3.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./location-service-map-g6wjc1x4.js";
29
+ } from "./websearch-kbjsyctr.js";
30
30
  import {
31
31
  supports2,
32
- resolve4
33
- } from "./location-service-map-40008bk8.js";
32
+ resolve2
33
+ } from "./websearch-584q6htd.js";
34
34
  import {
35
- ID18,
35
+ ID11,
36
36
  Input15,
37
37
  Response2
38
- } from "./location-service-map-w8j8mkqh.js";
38
+ } from "./websearch-xfbpcgb3.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import {
@@ -73,7 +73,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
73
73
  var RemoteResponse = Schema.Struct({
74
74
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
75
75
  websearch: Schema.Struct({
76
- providerID: ID18
76
+ providerID: ID11
77
77
  }).pipe(Schema.optional),
78
78
  mcp: Schema.Struct({
79
79
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -124,7 +124,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
124
124
  }
125
125
  function oauth(http) {
126
126
  return {
127
- integrationID: ID13.make("opencode"),
127
+ integrationID: ID14.make("opencode"),
128
128
  method: {
129
129
  id: methodID,
130
130
  type: "oauth",
@@ -189,10 +189,10 @@ var OpencodePlugin2 = define({
189
189
  id: "opencode.provider.opencode",
190
190
  effect: Effect.fn(function* (ctx) {
191
191
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
192
- const bus = yield* Service84;
192
+ const bus = yield* Service85;
193
193
  const client = yield* HttpClient.HttpClient;
194
194
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
195
- const managed = yield* Service13;
195
+ const managed = yield* Service39;
196
196
  const scope = yield* Scope.Scope;
197
197
  const loading = Semaphore.makeUnsafe(1);
198
198
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -246,7 +246,7 @@ var OpencodePlugin2 = define({
246
246
  providers.update(providerID, (provider) => {
247
247
  if (source && source.provider !== provider)
248
248
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
249
- provider.integrationID = ID13.make("opencode");
249
+ provider.integrationID = ID14.make("opencode");
250
250
  if (item.canonical !== undefined)
251
251
  provider.canonical = item.canonical;
252
252
  if (item.name !== undefined)
@@ -284,7 +284,7 @@ var OpencodePlugin2 = define({
284
284
  providers.models.update(providerID, modelID, (model) => {
285
285
  if (config.capabilities?.reasoning !== undefined)
286
286
  model.variants = [
287
- ...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
287
+ ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
288
288
  ];
289
289
  for (const variant of config.variants ?? []) {
290
290
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -320,7 +320,7 @@ var OpencodePlugin2 = define({
320
320
  sourceConnection: snapshot.connection
321
321
  });
322
322
  }
323
- const item = providers.get(ID12.opencode);
323
+ const item = providers.get(ID13.opencode);
324
324
  if (!item)
325
325
  return;
326
326
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
332
332
  });
333
333
  });
334
334
  yield* ctx.model.transform((models) => {
335
- const item = models.provider.get(ID12.opencode);
335
+ const item = models.provider.get(ID13.opencode);
336
336
  if (!item)
337
337
  return;
338
338
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -427,7 +427,7 @@ var OpencodePlugin2 = define({
427
427
  });
428
428
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
429
429
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
430
- explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
430
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
431
431
  });
432
432
  yield* guard(snapshot);
433
433
  const polling = yield* FiberHandle.make();
@@ -438,7 +438,7 @@ var OpencodePlugin2 = define({
438
438
  onlyIfMissing: true
439
439
  });
440
440
  });
441
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
441
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
442
442
  yield* poll();
443
443
  })
444
444
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./location-service-map-g3s8w1rf.js";
4
+ } from "./websearch-4p8v6gf7.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./location-service-map-r8fhaa0s.js";
6
+ Service85,
7
+ node89
8
+ } from "./websearch-vgr3c4a7.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-service-map-pknna89w.js";
11
+ } from "./websearch-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-service-map-m1714858.js";
14
+ } from "./websearch-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./location-service-map-9rqn6x4v.js";
17
+ } from "./websearch-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
- ID: () => ID14,
25
+ ID: () => ID15,
26
26
  Info: () => Info25,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service78,
29
+ Service: () => Service80,
30
30
  Value: () => Value2,
31
- node: () => node81
31
+ node: () => node84
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,26 +36,26 @@ import { Credential } from "@opencode/schema/credential";
36
36
  import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
- var ID14 = Credential.ID;
39
+ var ID15 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
41
  var Key4 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
- var Event17 = Credential.Event;
44
+ var Event18 = Credential.Event;
45
45
 
46
46
  class Info25 extends Schema.Class("Credential.Info")({
47
- id: ID14,
47
+ id: ID15,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service78 extends Context.Service()("@opencode/Credential") {
54
+ class Service80 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service78, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
57
57
  const db = (yield* Service86).db;
58
- const bus = yield* Service84;
58
+ const bus = yield* Service85;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service78.of({
74
+ return Service80.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
82
  const credential = new Info25({
83
- id: input.id ?? ID14.create(),
83
+ id: input.id ?? ID15.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
111
111
  type: credential.value.type,
112
112
  active: activated
113
113
  });
114
- yield* bus.publish(Event17.Updated, {}, { global: true });
114
+ yield* bus.publish(Event18.Updated, {}, { global: true });
115
115
  if (activated)
116
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
117
117
  return credential;
118
118
  }),
119
119
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
133
133
  })), Effect.orDie);
134
134
  if (integrationID) {
135
135
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
136
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
136
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
137
137
  }
138
138
  }),
139
139
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
165
165
  labelChanged: updates.label !== undefined && updates.label !== credential.label
166
166
  });
167
167
  if (updates.label !== undefined && updates.label !== credential.label)
168
- yield* bus.publish(Event17.Updated, {}, { global: true });
168
+ yield* bus.publish(Event18.Updated, {}, { global: true });
169
169
  }),
170
170
  remove: Effect.fn("Credential.remove")(function* (id) {
171
171
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
198
198
  active: removed.switched,
199
199
  ...removed.switched ? { replacementID: removed.credentialID } : {}
200
200
  });
201
- yield* bus.publish(Event17.Updated, {}, { global: true });
201
+ yield* bus.publish(Event18.Updated, {}, { global: true });
202
202
  if (removed.switched)
203
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
204
204
  })
205
205
  });
206
206
  }));
207
- var node81 = makeGlobalNode({ service: Service78, layer, deps: [node90, node88] });
207
+ var node84 = makeGlobalNode({ service: Service80, layer, deps: [node90, node89] });
208
208
 
209
- export { ID14, OAuth3, Key4, External2, Value2, Event17, Info25, Service78, node81, exports_credential };
209
+ export { ID15, OAuth3, Key4, External2, Value2, Event18, Info25, Service80, node84, exports_credential };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service84
3
- } from "./location-service-map-r8fhaa0s.js";
2
+ Service85
3
+ } from "./websearch-vgr3c4a7.js";
4
4
  import {
5
- Service38
6
- } from "./location-service-map-0r6mtjdh.js";
5
+ Service35
6
+ } from "./websearch-6zrr0fnw.js";
7
7
  import {
8
- Error3
9
- } from "./location-service-map-7ddrbmq5.js";
8
+ Error5
9
+ } from "./websearch-6dbnd2pd.js";
10
10
  import {
11
- Service63
12
- } from "./location-service-map-3f8v07ch.js";
11
+ Service59
12
+ } from "./websearch-mvx17366.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./location-service-map-ffxnyj3q.js";
15
+ } from "./websearch-q5ksxkha.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./location-service-map-ec1grn59.js";
18
+ } from "./websearch-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./location-service-map-txs0e95y.js";
21
+ } from "./websearch-zsgey489.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./location-service-map-tw8zr1ps.js";
24
+ } from "./websearch-tw8zr1ps.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./location-service-map-z35z7ez2.js";
27
+ } from "./websearch-4hjg18t3.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./location-service-map-0vx028ky.js";
30
+ } from "./websearch-mt3ysty9.js";
31
31
  import {
32
32
  __export
33
- } from "./location-service-map-9rqn6x4v.js";
33
+ } from "./websearch-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make8
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
55
- const bus = yield* Service84;
54
+ var make8 = Effect.gen(function* () {
55
+ const bus = yield* Service85;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service38;
58
- const toolOutput = yield* Service63;
57
+ const snapshots = yield* Service35;
58
+ const toolOutput = yield* Service59;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error5({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
223
223
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
224
224
  };
225
225
 
226
- export { Outcome2, make3, exports_step };
226
+ export { Outcome2, make8, exports_step };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-service-map-z5v4ffb3.js";
3
+ } from "./websearch-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-service-map-9rqn6x4v.js";
6
+ } from "./websearch-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event19,
13
- ID: () => ID17,
12
+ Event: () => Event20,
13
+ ID: () => ID18,
14
14
  Info: () => Info29,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
@@ -18,14 +18,14 @@ __export(exports_schema, {
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID17 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
23
  var Info29 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event19 = Project.Event;
25
+ var Event20 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID17, Current3, Info29, UpdateInput4, Event19, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info29, UpdateInput4, Event20, Vcs3, exports_schema };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID12
3
- } from "./location-service-map-qrscgvzd.js";
2
+ ID13
3
+ } from "./websearch-876de6v3.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./location-service-map-6q2bdcd1.js";
6
+ } from "./websearch-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID12.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID12.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./location-service-map-r8fhaa0s.js";
2
+ Service85,
3
+ node89
4
+ } from "./websearch-vgr3c4a7.js";
5
5
  import {
6
- Event17,
7
- Service78,
8
- node81
9
- } from "./location-service-map-4ed14fdp.js";
6
+ Event18,
7
+ Service80,
8
+ node84
9
+ } from "./websearch-bxfrdttp.js";
10
10
  import {
11
- Service65,
12
- node67
13
- } from "./location-service-map-2hp83xyv.js";
11
+ Service49,
12
+ node52
13
+ } from "./websearch-negnaxrt.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./location-service-map-z5v4ffb3.js";
16
+ } from "./websearch-z5v4ffb3.js";
17
17
  import {
18
- Service80,
19
- node83
20
- } from "./location-service-map-3xbacp9g.js";
18
+ Service82,
19
+ node86
20
+ } from "./websearch-q3bgpfy7.js";
21
21
  import {
22
22
  substitute2
23
- } from "./location-service-map-7w2ypzdf.js";
23
+ } from "./websearch-7w2ypzdf.js";
24
24
  import {
25
25
  normalize2
26
- } from "./location-service-map-bhsvbham.js";
26
+ } from "./websearch-gjw9pjem.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./location-service-map-z9r2qbyv.js";
31
+ } from "./websearch-vq142dc8.js";
32
32
  import {
33
33
  plan2
34
- } from "./location-service-map-1x2knyw4.js";
34
+ } from "./websearch-1x2knyw4.js";
35
35
  import {
36
- Service66,
36
+ Service65,
37
37
  Event12,
38
- node68
39
- } from "./location-service-map-nr8jt6t8.js";
38
+ node69
39
+ } from "./websearch-4x7cszc9.js";
40
40
  import {
41
41
  __export
42
- } from "./location-service-map-9rqn6x4v.js";
42
+ } from "./websearch-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options4,
49
- Service: () => Service64,
48
+ Options: () => Options6,
49
+ Service: () => Service48,
50
50
  Test: () => Test2,
51
- configured: () => configured5,
51
+ configured: () => configured7,
52
52
  latest: () => latest2,
53
53
  layer: () => layer22,
54
- node: () => node66,
54
+ node: () => node51,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options4 = Schema.Struct({
70
+ var Options6 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options4 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service64 extends Context.Service()("@opencode/Config") {
79
+ class Service48 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service64, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service48, service), Context.add(Test2, service));
98
98
  }));
99
- var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
99
+ var layer22 = (options) => Layer.effect(Service48, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service80;
102
- const watcher = yield* Service65;
103
- const bus = yield* Service84;
104
- const credentials = yield* Service78;
101
+ const location = yield* Service82;
102
+ const watcher = yield* Service49;
103
+ const bus = yield* Service85;
104
+ const credentials = yield* Service80;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service66;
106
+ const wellknown = yield* Service65;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -186,7 +186,7 @@ var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
186
186
  });
187
187
  const loadDirectory = Effect.fnUntraced(function* (directory) {
188
188
  return [
189
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
189
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
190
190
  new Directory({ type: "directory", path: directory })
191
191
  ];
192
192
  });
@@ -254,7 +254,7 @@ var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
258
  yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
@@ -268,7 +268,7 @@ var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
268
268
  yield* reloadLock.withPermit(reconcile(initial));
269
269
  const update = Effect.fn("Config.update")(function* (patch) {
270
270
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
271
- const candidates = names4.map((name) => path.join(directory, name));
271
+ const candidates = names3.map((name) => path.join(directory, name));
272
272
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
273
273
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
274
274
  `;
@@ -283,7 +283,7 @@ var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service64.of({
286
+ return Service48.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured5(options) {
298
+ function configured7(options) {
299
299
  return makeLocationNode({
300
- service: Service64,
300
+ service: Service48,
301
301
  layer: layer22(options),
302
302
  deps: [
303
- node67,
304
- node88,
303
+ node52,
304
+ node89,
305
305
  FSUtil.node,
306
306
  Global.node,
307
- node83,
308
- node81,
309
- node68,
307
+ node86,
308
+ node84,
309
+ node69,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node66 = configured5();
314
+ var node51 = configured7();
315
315
 
316
- export { latest2, Options4, Service64, Test2, testLayer2, layer22, configured5, node66, exports_config };
316
+ export { latest2, Options6, Service48, Test2, testLayer2, layer22, configured7, node51, exports_config };