@opencode/core 0.0.0-dev-19316 → 0.0.0-dev-19323

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{workspace-sp5zyyma.js → formatter-00832hy7.js} +8 -8
  9. package/dist/chunks/{workspace-f4x3f9y9.js → formatter-05dy3mmw.js} +26 -26
  10. package/dist/chunks/{workspace-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{workspace-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{workspace-0cmfkvjr.js → formatter-0rz3ymjm.js} +30 -30
  13. package/dist/chunks/{workspace-wgq3akg3.js → formatter-0zmbch9c.js} +29 -29
  14. package/dist/chunks/{workspace-e4k3fffr.js → formatter-15cfnja2.js} +19 -19
  15. package/dist/chunks/{workspace-g5twr0sp.js → formatter-15v2jbpx.js} +14 -14
  16. package/dist/chunks/{workspace-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{workspace-1dfhrqqs.js → formatter-1dfhrqqs.js} +2 -2
  18. package/dist/chunks/{workspace-1jyjw0dy.js → formatter-1djm1bap.js} +11 -11
  19. package/dist/chunks/{workspace-srvat6zp.js → formatter-1dxndaps.js} +6 -6
  20. package/dist/chunks/{workspace-36jkazxa.js → formatter-1s5bbqd2.js} +5 -5
  21. package/dist/chunks/{workspace-33w4ejhs.js → formatter-1ygqh575.js} +6 -6
  22. package/dist/chunks/{workspace-21r38tys.js → formatter-21r38tys.js} +1 -1
  23. package/dist/chunks/{workspace-6h73sxmp.js → formatter-2402vzrj.js} +5 -5
  24. package/dist/chunks/{workspace-jwqth68t.js → formatter-24yrwg43.js} +19 -19
  25. package/dist/chunks/{workspace-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{workspace-4dg124c5.js → formatter-2cmv458r.js} +5 -5
  27. package/dist/chunks/{workspace-93hpb89x.js → formatter-2f04pwep.js} +3 -3
  28. package/dist/chunks/{workspace-dj9sq318.js → formatter-2f0bjgcj.js} +5 -5
  29. package/dist/chunks/{workspace-317x7tvz.js → formatter-2g93c721.js} +16 -16
  30. package/dist/chunks/{workspace-8hpffc5d.js → formatter-2kahp3dy.js} +12 -12
  31. package/dist/chunks/{workspace-rrjgssxh.js → formatter-2m5q4n8f.js} +46 -46
  32. package/dist/chunks/{workspace-dgmwn8ez.js → formatter-2nbt55tc.js} +8 -8
  33. package/dist/chunks/{workspace-qkek724z.js → formatter-2q8hwwwc.js} +11 -11
  34. package/dist/chunks/{workspace-cjsvwj1q.js → formatter-2re99ccz.js} +15 -15
  35. package/dist/chunks/{workspace-7k17nv4j.js → formatter-2ymxn29j.js} +22 -22
  36. package/dist/chunks/{workspace-ej8xv5ds.js → formatter-2z1344gj.js} +3 -3
  37. package/dist/chunks/{workspace-h2gyv3sg.js → formatter-380vjcmd.js} +1 -1
  38. package/dist/chunks/{workspace-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{workspace-ya5s98jd.js → formatter-3mea1sze.js} +11 -11
  40. package/dist/chunks/{workspace-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{workspace-bkqaqtv1.js → formatter-3sv4a4je.js} +27 -27
  42. package/dist/chunks/{workspace-6st33d4x.js → formatter-3swc72ss.js} +25 -25
  43. package/dist/chunks/{workspace-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{workspace-mrk2ms14.js → formatter-3vq9ncec.js} +41 -41
  45. package/dist/chunks/{workspace-2nyvck04.js → formatter-44c3xn2h.js} +9 -9
  46. package/dist/chunks/{workspace-rtv6ahp9.js → formatter-456sctqq.js} +8 -8
  47. package/dist/chunks/{workspace-zka56nxw.js → formatter-4999spj6.js} +29 -29
  48. package/dist/chunks/{workspace-3trbxeqx.js → formatter-4b6bntqd.js} +1 -1
  49. package/dist/chunks/{workspace-p129658b.js → formatter-4bajp7bm.js} +15 -15
  50. package/dist/chunks/{workspace-v84z85pp.js → formatter-4gaxfmfs.js} +17 -17
  51. package/dist/chunks/{workspace-rjqwr5dw.js → formatter-4vbphvac.js} +24 -24
  52. package/dist/chunks/{workspace-n51qh0r9.js → formatter-4wxgrd29.js} +6 -6
  53. package/dist/chunks/{workspace-4t57t1en.js → formatter-507eqkq3.js} +14 -14
  54. package/dist/chunks/{workspace-yagmabmz.js → formatter-54r2pn5z.js} +4 -4
  55. package/dist/chunks/{workspace-3v77a270.js → formatter-56n5z1rw.js} +24 -24
  56. package/dist/chunks/{workspace-ve0zfa78.js → formatter-58gq70n5.js} +11 -11
  57. package/dist/chunks/{workspace-5daktx2q.js → formatter-5daktx2q.js} +1 -1
  58. package/dist/chunks/{workspace-5aktmhjp.js → formatter-5fs2kqn8.js} +15 -15
  59. package/dist/chunks/{workspace-7gb606e6.js → formatter-5hzqjfjf.js} +9 -9
  60. package/dist/chunks/{workspace-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{workspace-wwhdthxc.js → formatter-5zrbqe2b.js} +24 -24
  62. package/dist/chunks/{workspace-mw6ans9c.js → formatter-5zx2pz03.js} +5 -5
  63. package/dist/chunks/{workspace-2yamwwtx.js → formatter-608425eb.js} +7 -7
  64. package/dist/chunks/{workspace-pq4st5kv.js → formatter-63bt3mag.js} +2 -2
  65. package/dist/chunks/{workspace-669tq793.js → formatter-669tq793.js} +1 -1
  66. package/dist/chunks/{workspace-s5g9mpsf.js → formatter-67kygeqd.js} +4 -4
  67. package/dist/chunks/{workspace-jxn2j4b1.js → formatter-69vs0mm5.js} +6 -6
  68. package/dist/chunks/{workspace-5kmnb5g6.js → formatter-6cybjkxz.js} +15 -15
  69. package/dist/chunks/{workspace-2fsj26k1.js → formatter-6ef2pfss.js} +16 -16
  70. package/dist/chunks/{workspace-h7ygw6q4.js → formatter-6jnybvqn.js} +9 -9
  71. package/dist/chunks/{workspace-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{workspace-40ztfmwz.js → formatter-6nm7gc1x.js} +17 -17
  73. package/dist/chunks/{workspace-s2bazk07.js → formatter-6ppv86n3.js} +24 -24
  74. package/dist/chunks/{workspace-61tdtcny.js → formatter-6s6gjz7c.js} +10 -10
  75. package/dist/chunks/{workspace-4zb7zm34.js → formatter-6xkfsm7b.js} +6 -6
  76. package/dist/chunks/{workspace-71q4at8m.js → formatter-71q4at8m.js} +1 -1
  77. package/dist/chunks/{workspace-42h2bxtq.js → formatter-77tatc9x.js} +7 -7
  78. package/dist/chunks/{workspace-awz7xhfp.js → formatter-78hqr335.js} +4 -4
  79. package/dist/chunks/{workspace-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{workspace-dffz74yj.js → formatter-7czvajng.js} +26 -26
  81. package/dist/chunks/{workspace-1s80jvpe.js → formatter-7eze2gq5.js} +30 -30
  82. package/dist/chunks/{workspace-4jmdj23e.js → formatter-7t5cqd0r.js} +9 -9
  83. package/dist/chunks/{workspace-fq1h1v14.js → formatter-7ybwwvvx.js} +3 -3
  84. package/dist/chunks/{workspace-rme5v0wm.js → formatter-7zdm33ac.js} +10 -10
  85. package/dist/chunks/{workspace-asmz7wyz.js → formatter-844ef7ks.js} +8 -8
  86. package/dist/chunks/{workspace-19g3xj2s.js → formatter-85tfjvz5.js} +30 -30
  87. package/dist/chunks/{workspace-2vg72gbq.js → formatter-85w66kng.js} +9 -9
  88. package/dist/chunks/{workspace-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{workspace-wn4kdw9q.js → formatter-8fawk0wq.js} +4 -4
  90. package/dist/chunks/{workspace-8p4f9s12.js → formatter-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{workspace-97s80yy3.js → formatter-8stavsj4.js} +23 -23
  92. package/dist/chunks/{workspace-9mbwqz4q.js → formatter-8zt8zdpt.js} +30 -30
  93. package/dist/chunks/{workspace-b94pmmqr.js → formatter-90wxkfyp.js} +296 -296
  94. package/dist/chunks/{workspace-kfdzm4dd.js → formatter-9aw1sd75.js} +19 -19
  95. package/dist/chunks/{workspace-ayjzdqkx.js → formatter-9ph45b3w.js} +4 -4
  96. package/dist/chunks/{workspace-c82pnra3.js → formatter-9tv941ec.js} +29 -29
  97. package/dist/chunks/{workspace-9zswys26.js → formatter-9zswys26.js} +2 -2
  98. package/dist/chunks/{workspace-66j98p5d.js → formatter-9zyah8pv.js} +16 -16
  99. package/dist/chunks/{workspace-a1bz86dw.js → formatter-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{workspace-fvr7jna4.js → formatter-a2rjx51z.js} +13 -13
  101. package/dist/chunks/{workspace-aaet6srn.js → formatter-aaet6srn.js} +2 -2
  102. package/dist/chunks/{workspace-wzkwse1s.js → formatter-aasq3zsm.js} +13 -13
  103. package/dist/chunks/{workspace-4d61g8er.js → formatter-aatmr98r.js} +42 -42
  104. package/dist/chunks/{workspace-w23a9fg2.js → formatter-apjqksq4.js} +3 -3
  105. package/dist/chunks/{workspace-v1cqtm69.js → formatter-as2ntxq9.js} +17 -17
  106. package/dist/chunks/{workspace-gk38wydt.js → formatter-at0srrj9.js} +17 -17
  107. package/dist/chunks/{workspace-q265yh5d.js → formatter-ax3qyspe.js} +10 -10
  108. package/dist/chunks/{workspace-e3b0d0gy.js → formatter-b0stxe20.js} +9 -9
  109. package/dist/chunks/{workspace-9k2v62xn.js → formatter-b2jx7zxs.js} +1 -1
  110. package/dist/chunks/{workspace-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{workspace-r7x04355.js → formatter-b7c0s4y2.js} +36 -36
  112. package/dist/chunks/{workspace-95x6xbkr.js → formatter-bha4atvq.js} +4 -4
  113. package/dist/chunks/{workspace-1yafz2c2.js → formatter-bjkwvj0b.js} +21 -21
  114. package/dist/chunks/{workspace-v9ct93z2.js → formatter-bkb79wpa.js} +5 -5
  115. package/dist/chunks/{workspace-cgnjyr8a.js → formatter-bn7csmb0.js} +42 -42
  116. package/dist/chunks/{workspace-yyhgy33t.js → formatter-c23pbdtg.js} +8 -8
  117. package/dist/chunks/{workspace-r0nnab1q.js → formatter-c2p1vz36.js} +26 -26
  118. package/dist/chunks/{workspace-bgqpk6ej.js → formatter-cap7pekz.js} +5 -5
  119. package/dist/chunks/{workspace-cfpkc3c9.js → formatter-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{workspace-d53dp3ny.js → formatter-cmaetz9z.js} +11 -11
  121. package/dist/chunks/{workspace-zqpyhaa2.js → formatter-d0b9w6zn.js} +15 -15
  122. package/dist/chunks/{workspace-t7b1xacm.js → formatter-d1kz70d9.js} +12 -12
  123. package/dist/chunks/{workspace-60stz191.js → formatter-d481hhja.js} +30 -30
  124. package/dist/chunks/{workspace-beamd2gc.js → formatter-d9mhv265.js} +7 -7
  125. package/dist/chunks/{workspace-gj9xpvv3.js → formatter-dep21bfz.js} +8 -8
  126. package/dist/chunks/{workspace-8761qpcg.js → formatter-dkg5h5h7.js} +39 -39
  127. package/dist/chunks/{workspace-f5agypy8.js → formatter-dkp9jbyh.js} +16 -16
  128. package/dist/chunks/{workspace-pkjnw8xf.js → formatter-dmec30x4.js} +27 -27
  129. package/dist/chunks/{workspace-z9xz7t7m.js → formatter-dsxwnv8x.js} +24 -24
  130. package/dist/chunks/{workspace-50p99xk2.js → formatter-dyjcz8ay.js} +56 -56
  131. package/dist/chunks/{workspace-nhy5jxhy.js → formatter-e82z9tr0.js} +7 -7
  132. package/dist/chunks/{workspace-0s5v0p6k.js → formatter-e93dqa41.js} +56 -56
  133. package/dist/chunks/{workspace-0gdmqesm.js → formatter-eaj1djv9.js} +8 -8
  134. package/dist/chunks/{workspace-5jfbnsm9.js → formatter-eesadx08.js} +48 -48
  135. package/dist/chunks/{workspace-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{workspace-mtd5x7py.js → formatter-ezkasqsa.js} +19 -19
  137. package/dist/chunks/{workspace-12jdhdht.js → formatter-f464wbzp.js} +9 -9
  138. package/dist/chunks/{workspace-f828m53h.js → formatter-f828m53h.js} +2 -2
  139. package/dist/chunks/{workspace-43bvnm0c.js → formatter-fbv7gz6y.js} +32 -32
  140. package/dist/chunks/{workspace-jab8rdhp.js → formatter-fcmtdmz7.js} +6 -6
  141. package/dist/chunks/{workspace-0jwsre1p.js → formatter-fcrkznn8.js} +5 -5
  142. package/dist/chunks/{workspace-540a1fgr.js → formatter-fewmpqq2.js} +33 -33
  143. package/dist/chunks/{workspace-mpxhxrb2.js → formatter-feyq9nz9.js} +20 -20
  144. package/dist/chunks/{workspace-3q6hd4jt.js → formatter-fmwg5sj2.js} +16 -16
  145. package/dist/chunks/{workspace-wmqmw210.js → formatter-ft2ydrms.js} +8 -8
  146. package/dist/chunks/{workspace-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{workspace-xwwm14an.js → formatter-fythdanz.js} +9 -9
  148. package/dist/chunks/{workspace-86jav2f7.js → formatter-g1qe0q0d.js} +32 -32
  149. package/dist/chunks/formatter-gbadjzag.js +4 -0
  150. package/dist/chunks/{workspace-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{workspace-3fc6dm20.js → formatter-gdvy8fx6.js} +4 -4
  152. package/dist/chunks/{workspace-awhdw3pf.js → formatter-gkammdw2.js} +68 -68
  153. package/dist/chunks/{workspace-wynthrjp.js → formatter-gv6qs0q8.js} +6 -6
  154. package/dist/chunks/{workspace-h03wrkyp.js → formatter-h03wrkyp.js} +2 -2
  155. package/dist/chunks/{workspace-a2vj9kk6.js → formatter-h11qs7jk.js} +17 -17
  156. package/dist/chunks/{workspace-wkwfxgj3.js → formatter-h1n238ac.js} +4 -4
  157. package/dist/chunks/{workspace-a68v6zx7.js → formatter-h2r7bbkd.js} +8 -8
  158. package/dist/chunks/{workspace-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{workspace-b8gwhbay.js → formatter-hden6f01.js} +24 -24
  160. package/dist/chunks/{workspace-qzyph8ek.js → formatter-hmq6fc40.js} +11 -11
  161. package/dist/chunks/{workspace-baaqp4zd.js → formatter-hn57h045.js} +4 -4
  162. package/dist/chunks/{workspace-4rd6evxz.js → formatter-hz7rxrk4.js} +20 -20
  163. package/dist/chunks/{workspace-0qnka9n6.js → formatter-j08z5txv.js} +17 -17
  164. package/dist/chunks/{workspace-ak2adswv.js → formatter-j3xb24h1.js} +18 -18
  165. package/dist/chunks/{workspace-j56e64zr.js → formatter-j56e64zr.js} +1 -1
  166. package/dist/chunks/{workspace-7gvp9cq5.js → formatter-j6mvre0g.js} +19 -19
  167. package/dist/chunks/{workspace-k1hbjbhr.js → formatter-jakejc1k.js} +41 -41
  168. package/dist/chunks/{workspace-bsxfqzhc.js → formatter-jbfk6qbe.js} +11 -11
  169. package/dist/chunks/{workspace-48hw3qw3.js → formatter-jg7bke4g.js} +20 -20
  170. package/dist/chunks/{workspace-5cwvq4ff.js → formatter-jqb8tpfq.js} +2 -2
  171. package/dist/chunks/{workspace-84tssp1s.js → formatter-jtp7wgq3.js} +8 -8
  172. package/dist/chunks/{workspace-nrdmrqsx.js → formatter-jw80jp6b.js} +4 -4
  173. package/dist/chunks/{workspace-eh4km76q.js → formatter-jy5b41x9.js} +30 -30
  174. package/dist/chunks/{workspace-9cex7hp6.js → formatter-jz0y62hq.js} +59 -59
  175. package/dist/chunks/{workspace-vze96k0n.js → formatter-k52252t7.js} +4 -4
  176. package/dist/chunks/{workspace-5yrg3hxm.js → formatter-k6f2n2fy.js} +8 -8
  177. package/dist/chunks/{workspace-c4t116nm.js → formatter-k7d0894y.js} +6 -6
  178. package/dist/chunks/{workspace-vypqtakx.js → formatter-kcwf74x3.js} +1 -1
  179. package/dist/chunks/{workspace-323qkwbp.js → formatter-ke5bg3pe.js} +7 -7
  180. package/dist/chunks/{workspace-eramvw3w.js → formatter-kfpqrvxm.js} +16 -16
  181. package/dist/chunks/{workspace-kg06axw8.js → formatter-kg06axw8.js} +1 -1
  182. package/dist/chunks/{workspace-1tbv6t5g.js → formatter-km6tcm3q.js} +43 -43
  183. package/dist/chunks/{workspace-4zbs3q2b.js → formatter-kr779903.js} +32 -32
  184. package/dist/chunks/{workspace-0hf9g8pg.js → formatter-kzd68pqg.js} +6 -6
  185. package/dist/chunks/{workspace-pn6nrrpr.js → formatter-m5gt6gr4.js} +27 -27
  186. package/dist/chunks/{workspace-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{workspace-rdz2tx67.js → formatter-mhj2gpj9.js} +3 -3
  188. package/dist/chunks/{workspace-eq1pz5kg.js → formatter-mhkvc446.js} +3 -3
  189. package/dist/chunks/{workspace-mkcjrzeh.js → formatter-mkcjrzeh.js} +1 -1
  190. package/dist/chunks/{workspace-dvzjgrza.js → formatter-mmtbb532.js} +41 -41
  191. package/dist/chunks/{workspace-bh0wyjv7.js → formatter-mqh1m71v.js} +6 -6
  192. package/dist/chunks/{workspace-ntgxvp5h.js → formatter-mvb3ydwb.js} +11 -11
  193. package/dist/chunks/{workspace-hrhrxexm.js → formatter-nek9n16k.js} +4 -4
  194. package/dist/chunks/{workspace-8p83gb6h.js → formatter-nvwrp1re.js} +6 -6
  195. package/dist/chunks/{workspace-cwtysmh4.js → formatter-nwd5g3n7.js} +12 -12
  196. package/dist/chunks/{workspace-15pjexzy.js → formatter-nxm2phx8.js} +13 -13
  197. package/dist/chunks/{workspace-5kptn8c0.js → formatter-p1wf2k30.js} +9 -9
  198. package/dist/chunks/{workspace-af04s6ss.js → formatter-p44d8wdy.js} +5 -5
  199. package/dist/chunks/{workspace-mxj2eewr.js → formatter-p5reg5b3.js} +20 -20
  200. package/dist/chunks/{workspace-s7731dqm.js → formatter-p72z5xx6.js} +2 -2
  201. package/dist/chunks/{workspace-81czwxpn.js → formatter-paegk39x.js} +4 -4
  202. package/dist/chunks/{workspace-k19spz14.js → formatter-pbxc810x.js} +4 -4
  203. package/dist/chunks/{workspace-t6qa8pj9.js → formatter-pj6fq5pb.js} +18 -18
  204. package/dist/chunks/{workspace-xp88wr07.js → formatter-pjmw00w1.js} +9 -9
  205. package/dist/chunks/{workspace-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{workspace-pknna89w.js → formatter-pknna89w.js} +1 -1
  207. package/dist/chunks/{workspace-4tq5d7x2.js → formatter-pm66mswd.js} +20 -20
  208. package/dist/chunks/{workspace-q2b1ymqp.js → formatter-pmr4s4kc.js} +4 -4
  209. package/dist/chunks/{workspace-c0mtdgpv.js → formatter-ptdz73pj.js} +16 -16
  210. package/dist/chunks/{workspace-vabb23s0.js → formatter-q1c4k7jk.js} +1 -1
  211. package/dist/chunks/{workspace-90qgvd9n.js → formatter-q3m0pvtr.js} +23 -23
  212. package/dist/chunks/{workspace-d5a42mez.js → formatter-qkcr7fg6.js} +22 -22
  213. package/dist/chunks/{workspace-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  214. package/dist/chunks/{workspace-qn4ba14w.js → formatter-qte5z7bc.js} +5 -5
  215. package/dist/chunks/{workspace-ewztbjbx.js → formatter-rbbz2e5e.js} +163 -163
  216. package/dist/chunks/{workspace-7mz653pd.js → formatter-rdz329w6.js} +18 -18
  217. package/dist/chunks/{workspace-j6rj9xt6.js → formatter-reydm93y.js} +43 -43
  218. package/dist/chunks/{workspace-6gfd5xf8.js → formatter-rndh4q5e.js} +23 -23
  219. package/dist/chunks/{workspace-esdnemd6.js → formatter-rstnkd3y.js} +1 -1
  220. package/dist/chunks/{workspace-s6jr34qb.js → formatter-s2vccmkj.js} +28 -28
  221. package/dist/chunks/{workspace-83q95eg7.js → formatter-sa2p75cm.js} +9 -9
  222. package/dist/chunks/{workspace-bt8hdx22.js → formatter-sdewe3f0.js} +17 -17
  223. package/dist/chunks/{workspace-qqbqqn54.js → formatter-snkd7br7.js} +38 -38
  224. package/dist/chunks/{workspace-t6msp11s.js → formatter-spqcpneg.js} +6 -6
  225. package/dist/chunks/{workspace-kxpygcw9.js → formatter-ss0awb04.js} +6 -6
  226. package/dist/chunks/{workspace-gsyxgrq8.js → formatter-svnm6nqs.js} +35 -35
  227. package/dist/chunks/{workspace-q3jq24j1.js → formatter-swg097y1.js} +14 -14
  228. package/dist/chunks/{workspace-rztdx977.js → formatter-sxtajyff.js} +9 -9
  229. package/dist/chunks/{workspace-1vtz46z8.js → formatter-t8bhz2vr.js} +8 -8
  230. package/dist/chunks/{workspace-mrw4weg4.js → formatter-t8r3ep1g.js} +5 -5
  231. package/dist/chunks/{workspace-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{workspace-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{workspace-tdstcens.js → formatter-tdstcens.js} +1 -1
  234. package/dist/chunks/{workspace-zyzp2298.js → formatter-tfkarycn.js} +9 -9
  235. package/dist/chunks/{workspace-gv6a8nnw.js → formatter-th5km1p3.js} +5 -5
  236. package/dist/chunks/{workspace-7vbk9m4e.js → formatter-tnt0rc0p.js} +18 -18
  237. package/dist/chunks/{workspace-tvtrv512.js → formatter-tvtrv512.js} +1 -1
  238. package/dist/chunks/{workspace-kma43rbx.js → formatter-v13qk5h6.js} +28 -28
  239. package/dist/chunks/formatter-v1faaxn9.js +18 -0
  240. package/dist/chunks/{workspace-gf3khw20.js → formatter-v219cx7c.js} +20 -20
  241. package/dist/chunks/{workspace-0yq4eb34.js → formatter-v2e5xjra.js} +24 -24
  242. package/dist/chunks/{workspace-g8d3gcyj.js → formatter-v5dkyp31.js} +7 -7
  243. package/dist/chunks/{workspace-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  244. package/dist/chunks/{workspace-f10twq9w.js → formatter-vjdqq2ps.js} +11 -11
  245. package/dist/chunks/{workspace-eds7zwp6.js → formatter-vykq01h1.js} +24 -24
  246. package/dist/chunks/{workspace-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{workspace-39mbwg99.js → formatter-w1fjdxqa.js} +19 -19
  248. package/dist/chunks/{workspace-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{workspace-xmh8jj88.js → formatter-w79zsp0s.js} +1 -1
  250. package/dist/chunks/{workspace-j69p6wmc.js → formatter-w8bn9h5m.js} +28 -28
  251. package/dist/chunks/{workspace-wd87259q.js → formatter-wd87259q.js} +1 -1
  252. package/dist/chunks/{workspace-0em1p5dp.js → formatter-wf7cxbta.js} +80 -80
  253. package/dist/chunks/{workspace-93dyhyad.js → formatter-wpdn7j4k.js} +21 -21
  254. package/dist/chunks/{workspace-awaee7qt.js → formatter-wzz0kxab.js} +9 -9
  255. package/dist/chunks/{workspace-mqy0jkn2.js → formatter-x0511brf.js} +4 -4
  256. package/dist/chunks/{workspace-gwwc15b8.js → formatter-x0sgqvmj.js} +12 -12
  257. package/dist/chunks/{workspace-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{workspace-91xp5nbf.js → formatter-x1vyefq1.js} +7 -7
  259. package/dist/chunks/{workspace-x43y2vfs.js → formatter-x43y2vfs.js} +2 -2
  260. package/dist/chunks/{workspace-9a52esse.js → formatter-x6erhwpm.js} +23 -23
  261. package/dist/chunks/{workspace-1s5kemrg.js → formatter-x77360f3.js} +25 -25
  262. package/dist/chunks/{workspace-kenqsagb.js → formatter-xgwcrf73.js} +9 -9
  263. package/dist/chunks/{workspace-ed1arge1.js → formatter-xnqgmrgw.js} +18 -18
  264. package/dist/chunks/{workspace-rs226bz6.js → formatter-xsdh20fb.js} +5 -5
  265. package/dist/chunks/formatter-xyxwga5q.js +22 -0
  266. package/dist/chunks/{workspace-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{workspace-fmah640z.js → formatter-y1jmkgm7.js} +24 -20
  268. package/dist/chunks/formatter-y4zsdjyj.js +247 -0
  269. package/dist/chunks/{workspace-5pq3v0sk.js → formatter-y4zwryx6.js} +15 -15
  270. package/dist/chunks/{workspace-y71avatq.js → formatter-y71avatq.js} +1 -1
  271. package/dist/chunks/{workspace-9n5bgjha.js → formatter-y7sdqeac.js} +3 -3
  272. package/dist/chunks/{workspace-9m6qag95.js → formatter-ydmx1k2a.js} +26 -26
  273. package/dist/chunks/{workspace-1ev0k7s6.js → formatter-yjhz1ss9.js} +8 -8
  274. package/dist/chunks/{workspace-1acjjqhc.js → formatter-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{workspace-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{workspace-yrznvahk.js → formatter-yrznvahk.js} +2 -2
  277. package/dist/chunks/{workspace-bskx12th.js → formatter-yyaa3q2x.js} +7 -7
  278. package/dist/chunks/{workspace-5nzafj0m.js → formatter-yzxhg32c.js} +11 -11
  279. package/dist/chunks/{workspace-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{workspace-xkzbfh0m.js → formatter-z2g5x8r4.js} +13 -13
  281. package/dist/chunks/{workspace-z63w68vq.js → formatter-z63w68vq.js} +2 -2
  282. package/dist/chunks/{workspace-zke2pdp6.js → formatter-z817eph2.js} +11 -11
  283. package/dist/chunks/{workspace-wv6yb1rv.js → formatter-zbgrd7e9.js} +1 -1
  284. package/dist/chunks/{workspace-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{workspace-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{workspace-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{workspace-10dffqyq.js → formatter-zy6n9aja.js} +22 -22
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +124 -124
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +94 -94
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +84 -84
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +75 -75
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +130 -130
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +101 -101
  468. package/dist/mcp/instructions.js +120 -120
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +10 -10
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +110 -110
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +82 -82
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +115 -115
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +80 -80
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +115 -115
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +72 -72
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +338 -338
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +6 -6
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +7 -7
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +92 -92
  559. package/dist/reference/instructions.js +84 -84
  560. package/dist/reference.js +86 -86
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +91 -91
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +129 -129
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +213 -213
  574. package/dist/session/execution.js +124 -124
  575. package/dist/session/generate.js +148 -148
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +75 -75
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +109 -109
  585. package/dist/session/model-transport.js +5 -5
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +225 -225
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +86 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +119 -119
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +167 -167
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +71 -71
  606. package/dist/session/store.js +83 -83
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +205 -205
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +149 -149
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +209 -209
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +207 -207
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +131 -131
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +102 -102
  622. package/dist/skill.js +107 -107
  623. package/dist/snapshot.js +88 -88
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +115 -115
  628. package/dist/tool/plugin/edit.js +111 -111
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +116 -116
  631. package/dist/tool/plugin/grep.js +116 -116
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +98 -98
  635. package/dist/tool/plugin/read.js +121 -121
  636. package/dist/tool/plugin/shell.js +212 -212
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +214 -214
  639. package/dist/tool/plugin/webfetch.js +107 -107
  640. package/dist/tool/plugin/websearch.js +109 -109
  641. package/dist/tool/plugin/write.js +117 -117
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +5 -5
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +5 -5
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/formatter.js +7 -7
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +85 -85
  673. package/dist/websearch.js +82 -82
  674. package/dist/wellknown/plugin.js +74 -74
  675. package/dist/wellknown.js +79 -79
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +78 -78
  679. package/dist/worktree/directory.js +4 -4
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +339 -339
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +89 -89
  684. package/package.json +8 -8
  685. package/dist/chunks/workspace-0mesazry.js +0 -4
  686. package/dist/chunks/workspace-q509s3k3.js +0 -18
  687. package/dist/chunks/workspace-x04nape8.js +0 -247
  688. package/dist/chunks/workspace-y31r8zkp.js +0 -22
  689. /package/dist/chunks/{workspace-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{workspace-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{workspace-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{workspace-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{workspace-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{workspace-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{workspace-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{workspace-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{workspace-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{workspace-3asan66x.js → formatter-3asan66x.js} +0 -0
  699. /package/dist/chunks/{workspace-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{workspace-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{workspace-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{workspace-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{workspace-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{workspace-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{workspace-53557ph1.js → formatter-53557ph1.js} +0 -0
  706. /package/dist/chunks/{workspace-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{workspace-6prwharc.js → formatter-6prwharc.js} +0 -0
  708. /package/dist/chunks/{workspace-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{workspace-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{workspace-822emrt2.js → formatter-822emrt2.js} +0 -0
  711. /package/dist/chunks/{workspace-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{workspace-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{workspace-922hggd3.js → formatter-922hggd3.js} +0 -0
  714. /package/dist/chunks/{workspace-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{workspace-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{workspace-a1tpkmh4.js → formatter-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{workspace-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{workspace-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{workspace-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{workspace-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{workspace-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{workspace-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{workspace-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{workspace-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{workspace-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{workspace-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{workspace-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{workspace-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{workspace-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{workspace-df08tz66.js → formatter-df08tz66.js} +0 -0
  731. /package/dist/chunks/{workspace-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{workspace-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{workspace-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{workspace-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{workspace-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{workspace-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{workspace-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{workspace-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{workspace-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{workspace-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{workspace-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{workspace-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{workspace-g86h250q.js → formatter-g86h250q.js} +0 -0
  744. /package/dist/chunks/{workspace-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{workspace-gftt206x.js → formatter-gftt206x.js} +0 -0
  746. /package/dist/chunks/{workspace-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{workspace-hk9envan.js → formatter-hk9envan.js} +0 -0
  748. /package/dist/chunks/{workspace-hrnqkpcd.js → formatter-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{workspace-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{workspace-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{workspace-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{workspace-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{workspace-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{workspace-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{workspace-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{workspace-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{workspace-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{workspace-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{workspace-paphc93g.js → formatter-paphc93g.js} +0 -0
  760. /package/dist/chunks/{workspace-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{workspace-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{workspace-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{workspace-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{workspace-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{workspace-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{workspace-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{workspace-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{workspace-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{workspace-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{workspace-twg0f83k.js → formatter-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{workspace-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{workspace-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{workspace-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{workspace-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{workspace-x61499pn.js → formatter-x61499pn.js} +0 -0
  776. /package/dist/chunks/{workspace-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{workspace-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{workspace-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{workspace-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{workspace-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID8,
3
- Service59
4
- } from "./workspace-1yafz2c2.js";
2
+ ID15,
3
+ Service72
4
+ } from "./formatter-bjkwvj0b.js";
5
5
  import {
6
- Service61
7
- } from "./workspace-v1cqtm69.js";
6
+ Service73
7
+ } from "./formatter-as2ntxq9.js";
8
8
  import {
9
- Service41
10
- } from "./workspace-1tbv6t5g.js";
9
+ Service58
10
+ } from "./formatter-km6tcm3q.js";
11
11
  import {
12
- Service48,
12
+ Service57,
13
13
  args2
14
- } from "./workspace-93dyhyad.js";
14
+ } from "./formatter-wpdn7j4k.js";
15
15
  import {
16
16
  Service20
17
- } from "./workspace-awhdw3pf.js";
17
+ } from "./formatter-gkammdw2.js";
18
18
  import {
19
- make9
20
- } from "./workspace-12jdhdht.js";
19
+ make10
20
+ } from "./formatter-f464wbzp.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./workspace-5daktx2q.js";
23
+ } from "./formatter-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./workspace-9rqn6x4v.js";
26
+ } from "./formatter-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command2 = {};
30
30
  __export(exports_command2, {
31
31
  ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin37
32
+ Plugin: () => Plugin19
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin37 = define({
44
+ var Plugin19 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service41;
47
+ const config = yield* Service58;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin37 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service61;
57
+ const location = yield* Service73;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service48;
59
+ const shell = yield* Service57;
60
60
  const sessions = yield* Service20;
61
- const agents = yield* Service59;
62
- const subagents = yield* make9;
61
+ const agents = yield* Service72;
62
+ const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin37 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin37, exports_command2 };
207
+ export { Plugin19, exports_command2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info30
5
- } from "./workspace-84tssp1s.js";
4
+ Info24
5
+ } from "./formatter-jtp7wgq3.js";
6
6
  import {
7
- Info29
8
- } from "./workspace-g5twr0sp.js";
7
+ Info23
8
+ } from "./formatter-15v2jbpx.js";
9
9
  import {
10
10
  Service79,
11
11
  node84
12
- } from "./workspace-wn4kdw9q.js";
12
+ } from "./formatter-8fawk0wq.js";
13
13
  import {
14
14
  create3
15
- } from "./workspace-kg06axw8.js";
15
+ } from "./formatter-kg06axw8.js";
16
16
  import {
17
- ID11,
18
- Service65,
19
- node68
20
- } from "./workspace-eh4km76q.js";
17
+ ID5,
18
+ Service55,
19
+ node60
20
+ } from "./formatter-jy5b41x9.js";
21
21
  import {
22
22
  __export
23
- } from "./workspace-9rqn6x4v.js";
23
+ } from "./formatter-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: () => Event13,
30
- Service: () => Service64,
31
- node: () => node67
29
+ Event: () => Event9,
30
+ Service: () => Service45,
31
+ node: () => node49
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 Event13 } from "@opencode/schema/catalog";
36
+ import { Event as Event9 } from "@opencode/schema/catalog";
37
37
 
38
- class Service64 extends Context.Service()("@opencode/Catalog") {
38
+ class Service45 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service64, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service65;
42
+ const integrations = yield* Service55;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
72
72
  let current = editor.providers.get(providerID);
73
73
  if (!current) {
74
74
  current = {
75
- provider: Info30.empty(providerID),
75
+ provider: Info24.empty(providerID),
76
76
  models: new Map
77
77
  };
78
78
  editor.providers.set(providerID, current);
@@ -90,12 +90,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
90
90
  let record = editor.providers.get(providerID);
91
91
  if (!record) {
92
92
  record = {
93
- provider: Info30.empty(providerID),
93
+ provider: Info24.empty(providerID),
94
94
  models: new Map
95
95
  };
96
96
  editor.providers.set(providerID, record);
97
97
  }
98
- const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
98
+ const model = record.models.get(modelID) ?? Info23.default(providerID, modelID);
99
99
  if (!record.models.has(modelID))
100
100
  record.models.set(modelID, model);
101
101
  fn(model);
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
129
129
  }),
130
130
  available: Effect.fn("Catalog.provider.available")(function* () {
131
131
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
132
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID11.make(provider.id))));
132
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID5.make(provider.id))));
133
133
  })
134
134
  },
135
135
  model: {
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
184
184
  })
185
185
  }
186
186
  };
187
- return Service64.of(result);
187
+ return Service45.of(result);
188
188
  }));
189
189
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
190
- var node67 = makeLocationNode({ service: Service64, layer, deps: [node84, node68] });
190
+ var node49 = makeLocationNode({ service: Service45, layer, deps: [node84, node60] });
191
191
 
192
- export { Service64, node67, exports_catalog2, Event13 };
192
+ export { Service45, node49, exports_catalog2, Event9 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./workspace-qzyph8ek.js";
3
+ } from "./formatter-hmq6fc40.js";
4
4
  import {
5
5
  call2
6
- } from "./workspace-33w4ejhs.js";
6
+ } from "./formatter-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./formatter-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin18,
14
+ Plugin: () => Plugin3,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin18 = define({
40
+ var Plugin3 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin18 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin18 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin18, exports_firecrawl };
80
+ export { endpoint2, Plugin3, exports_firecrawl };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./formatter-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./workspace-k1hbjbhr.js";
6
+ } from "./formatter-jakejc1k.js";
7
7
  import {
8
- Service61,
9
- node64
10
- } from "./workspace-v1cqtm69.js";
8
+ Service73,
9
+ node78
10
+ } from "./formatter-as2ntxq9.js";
11
11
  import {
12
- Service56,
13
- node59
14
- } from "./workspace-50p99xk2.js";
12
+ Service69,
13
+ node74
14
+ } from "./formatter-dyjcz8ay.js";
15
15
  import {
16
16
  __export
17
- } from "./workspace-9rqn6x4v.js";
17
+ } from "./formatter-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service19,
25
+ Service: () => Service48,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node22,
27
+ node: () => node52,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service19 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service48 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service19, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service61;
61
- const permission = yield* Service56;
60
+ const location = yield* Service73;
61
+ const permission = yield* Service69;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service19.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service48.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node22 = makeLocationNode({ service: Service19, layer, deps: [FSUtil.node, node64, node59] });
112
+ var node52 = makeLocationNode({ service: Service48, layer, deps: [FSUtil.node, node78, node74] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service19, resolvePath2, node22, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service48, resolvePath2, node52, exports_file_access };
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID16,
2
+ ID11,
3
3
  isAISDK2,
4
4
  packageName2
5
- } from "./workspace-84tssp1s.js";
5
+ } from "./formatter-jtp7wgq3.js";
6
6
 
7
7
  // src/plugin/provider/google-vertex.ts
8
8
  import { Effect } from "effect";
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
39
39
  for (const item of evt.provider.list()) {
40
40
  if (!isAISDK2(item.provider.package))
41
41
  continue;
42
- if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID16.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
42
+ if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID11.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
43
43
  continue;
44
44
  const project = resolveProject(item.provider.settings ?? {});
45
45
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
56
56
  }
57
57
  });
58
58
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
59
- if (evt.model.providerID === ID16.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
59
+ if (evt.model.providerID === ID11.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
60
60
  evt.options.fetch = authFetch(evt.options.fetch);
61
61
  return;
62
62
  }
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
87
87
  });
88
88
  }));
89
89
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
90
- if (evt.model.providerID !== ID16.googleVertex)
90
+ if (evt.model.providerID !== ID11.googleVertex)
91
91
  return;
92
92
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
93
93
  }));
@@ -0,0 +1,22 @@
1
+ import {
2
+ Plugin6
3
+ } from "./formatter-2nbt55tc.js";
4
+ import {
5
+ Plugin3
6
+ } from "./formatter-xgwcrf73.js";
7
+ import {
8
+ Plugin4
9
+ } from "./formatter-fcmtdmz7.js";
10
+ import {
11
+ Plugin5
12
+ } from "./formatter-k6f2n2fy.js";
13
+
14
+ // src/plugin/websearch/index.ts
15
+ var WebSearchPlugins2 = [
16
+ Plugin6,
17
+ Plugin3,
18
+ Plugin4,
19
+ Plugin5
20
+ ];
21
+
22
+ export { WebSearchPlugins2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./workspace-wn4kdw9q.js";
3
+ } from "./formatter-8fawk0wq.js";
4
4
  import {
5
5
  OAuth3,
6
- Event18
7
- } from "./workspace-0cmfkvjr.js";
6
+ Event13
7
+ } from "./formatter-0rz3ymjm.js";
8
8
  import {
9
- ID11,
9
+ ID5,
10
10
  MethodID2
11
- } from "./workspace-eh4km76q.js";
11
+ } from "./formatter-jy5b41x9.js";
12
12
  import {
13
- ID16,
13
+ ID11,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./workspace-84tssp1s.js";
16
+ } from "./formatter-jtp7wgq3.js";
17
17
 
18
18
  // src/plugin/provider/opencode.ts
19
- import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
19
+ import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
22
22
  import { ConfigProvider } from "@opencode/schema/config/provider";
@@ -43,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
43
43
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
44
44
  function oauth(http) {
45
45
  return {
46
- integrationID: ID11.make("opencode"),
46
+ integrationID: ID5.make("opencode"),
47
47
  method: {
48
48
  id: methodID,
49
49
  type: "oauth",
@@ -87,15 +87,14 @@ var OpencodePlugin2 = define({
87
87
  const bus = yield* Service79;
88
88
  const http = yield* HttpClient.HttpClient;
89
89
  const loading = Semaphore.makeUnsafe(1);
90
- let connected = false;
91
- let providers;
90
+ let snapshot = { connected: false, providers: undefined };
92
91
  const load = Effect.fn("OpencodePlugin.load")(function* () {
93
92
  const connection = yield* ctx.integration.connection.active("opencode");
94
93
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
95
94
  return;
96
95
  })) : undefined;
97
- connected = connection !== undefined;
98
- providers = credential ? yield* fetchProviders(http, credential).pipe(Effect.catch((cause) => Effect.logWarning("failed to load OpenCode provider config", { cause }).pipe(Effect.as(undefined)))) : undefined;
96
+ const providers = credential ? yield* fetchProviders(http, credential).pipe(Effect.catch((cause) => Effect.logWarning("failed to load OpenCode provider config", { cause }).pipe(Effect.as(undefined)))) : undefined;
97
+ return { connected: connection !== undefined, providers };
99
98
  });
100
99
  yield* ctx.integration.transform((editor) => {
101
100
  editor.update("opencode", (integration) => {
@@ -104,14 +103,14 @@ var OpencodePlugin2 = define({
104
103
  editor.method.update(oauth(http));
105
104
  editor.method.update({ integrationID: "opencode", method: { type: "key", label: "API key (service account)" } });
106
105
  });
107
- yield* load();
106
+ snapshot = yield* load();
108
107
  yield* ctx.catalog.transform((catalog) => {
109
- for (const [providerID, item] of Object.entries(providers ?? {})) {
108
+ for (const [providerID, item] of Object.entries(snapshot.providers ?? {})) {
110
109
  const source = catalog.provider.get(item.canonical ?? providerID);
111
110
  catalog.provider.update(providerID, (provider) => {
112
111
  if (source && source.provider !== provider)
113
112
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
114
- provider.integrationID = ID11.make("opencode");
113
+ provider.integrationID = ID5.make("opencode");
115
114
  if (item.canonical !== undefined)
116
115
  provider.canonical = item.canonical;
117
116
  if (item.name !== undefined)
@@ -174,10 +173,10 @@ var OpencodePlugin2 = define({
174
173
  });
175
174
  }
176
175
  }
177
- const item = catalog.provider.get(ID16.opencode);
176
+ const item = catalog.provider.get(ID11.opencode);
178
177
  if (!item)
179
178
  return;
180
- const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
179
+ const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connected || item.provider.settings?.apiKey);
181
180
  catalog.provider.update(item.provider.id, (provider) => {
182
181
  if (!hasKey) {
183
182
  provider.activation = "enabled";
@@ -194,8 +193,13 @@ var OpencodePlugin2 = define({
194
193
  });
195
194
  }
196
195
  });
197
- const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
198
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
196
+ const apply = Effect.fn("OpencodePlugin.apply")(function* (next) {
197
+ snapshot = next;
198
+ yield* ctx.catalog.reload();
199
+ });
200
+ const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
201
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
202
+ yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
199
203
  })
200
204
  });
201
205
  function fetchProviders(http, value) {