@opencode/core 0.0.0-dev-80 → 0.0.0-dev-81

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 (821) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{ripgrep-aj7mw0zk.js → generate-034tev2y.js} +2 -2
  8. package/dist/chunks/{ripgrep-k28m6mdm.js → generate-03efvwc7.js} +12 -12
  9. package/dist/chunks/{ripgrep-cb54j1zr.js → generate-09a8m3xd.js} +9 -9
  10. package/dist/chunks/{ripgrep-87cy3nxk.js → generate-0brwp79y.js} +14 -14
  11. package/dist/chunks/{ripgrep-df17qpd9.js → generate-0j37w4ym.js} +4 -4
  12. package/dist/chunks/{ripgrep-56hhdn6r.js → generate-0vpw1p67.js} +15 -15
  13. package/dist/chunks/{ripgrep-jsvd7yjj.js → generate-0yrgkn6z.js} +21 -21
  14. package/dist/chunks/{ripgrep-x8nvjgx0.js → generate-11hfp36g.js} +4 -4
  15. package/dist/chunks/{ripgrep-g1ttnxq8.js → generate-138apfz4.js} +41 -41
  16. package/dist/chunks/{ripgrep-8d2bz6m6.js → generate-160yv0cs.js} +8 -8
  17. package/dist/chunks/{ripgrep-med93trz.js → generate-1ce0rtfx.js} +4 -4
  18. package/dist/chunks/{ripgrep-fjf4pq9j.js → generate-1d6rqfwz.js} +15 -15
  19. package/dist/chunks/{ripgrep-27w5k9zf.js → generate-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{ripgrep-rsjqfdc9.js → generate-1gpknkjr.js} +1 -1
  21. package/dist/chunks/{ripgrep-c3mymrd0.js → generate-1hkqnyxs.js} +5 -5
  22. package/dist/chunks/{ripgrep-s9j2kwh6.js → generate-1p5r6cjt.js} +45 -45
  23. package/dist/chunks/{ripgrep-sqbb0ctm.js → generate-1q5awywt.js} +5 -5
  24. package/dist/chunks/{ripgrep-pfj0xs0p.js → generate-1w4xpz6a.js} +21 -21
  25. package/dist/chunks/{ripgrep-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
  26. package/dist/chunks/{ripgrep-9pskqgbs.js → generate-1yebjb7n.js} +21 -21
  27. package/dist/chunks/{ripgrep-1yq9hg58.js → generate-1yq9hg58.js} +1 -1
  28. package/dist/chunks/{ripgrep-204s3925.js → generate-204s3925.js} +1 -1
  29. package/dist/chunks/{ripgrep-2mdz3tk1.js → generate-20ax9mvp.js} +15 -15
  30. package/dist/chunks/{ripgrep-6d3rx8wt.js → generate-20yb03sy.js} +25 -25
  31. package/dist/chunks/{ripgrep-8k2vnwwb.js → generate-21gczqff.js} +15 -15
  32. package/dist/chunks/{ripgrep-r5493qw4.js → generate-22b1x2mz.js} +18 -18
  33. package/dist/chunks/{ripgrep-5b4c6ssz.js → generate-251v4ac3.js} +30 -30
  34. package/dist/chunks/{ripgrep-7fx6peza.js → generate-25rhbghy.js} +5 -5
  35. package/dist/chunks/{ripgrep-9at5fq9s.js → generate-2gp0ejb3.js} +13 -13
  36. package/dist/chunks/{ripgrep-e2ne77ac.js → generate-2jrrfqe1.js} +4 -4
  37. package/dist/chunks/{ripgrep-cxy0d1dt.js → generate-2k5h4fp7.js} +1 -1
  38. package/dist/chunks/{ripgrep-32pwgmem.js → generate-2r5swsc6.js} +13 -13
  39. package/dist/chunks/{ripgrep-6rdptfg1.js → generate-2xh3b742.js} +6 -6
  40. package/dist/chunks/{ripgrep-hsxwhxza.js → generate-2zp4fvvj.js} +42 -42
  41. package/dist/chunks/{ripgrep-gfrk9heb.js → generate-301e04c8.js} +18 -18
  42. package/dist/chunks/{ripgrep-xn661xyh.js → generate-36639cz4.js} +23 -23
  43. package/dist/chunks/{ripgrep-kz0q6sc1.js → generate-3bpzsehq.js} +18 -18
  44. package/dist/chunks/{ripgrep-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{ripgrep-rfcwtbbn.js → generate-3n7cxz37.js} +27 -27
  46. package/dist/chunks/{ripgrep-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{ripgrep-5rcvdxf6.js → generate-3p1ghjfc.js} +3 -3
  48. package/dist/chunks/{ripgrep-v4vw7d5e.js → generate-40smdzyz.js} +22 -22
  49. package/dist/chunks/{ripgrep-7c7a89na.js → generate-40ykd73j.js} +5 -5
  50. package/dist/chunks/generate-47mgcevd.js +18 -0
  51. package/dist/chunks/{ripgrep-yhnsyv94.js → generate-4gry5n0p.js} +8 -8
  52. package/dist/chunks/{ripgrep-rvdapjqy.js → generate-4p3cqz3x.js} +11 -11
  53. package/dist/chunks/{ripgrep-4pyp9zr9.js → generate-4pyp9zr9.js} +1 -1
  54. package/dist/chunks/{ripgrep-y00x4xpa.js → generate-4tqs0jzk.js} +4 -4
  55. package/dist/chunks/{ripgrep-4v008n1t.js → generate-4v008n1t.js} +1 -1
  56. package/dist/chunks/{ripgrep-yby3zgg4.js → generate-4x344z2c.js} +2 -2
  57. package/dist/chunks/{ripgrep-mxbg502x.js → generate-500djfy4.js} +43 -43
  58. package/dist/chunks/{ripgrep-4s6kdcz7.js → generate-53antfq0.js} +34 -34
  59. package/dist/chunks/{ripgrep-088pd99w.js → generate-54vd48rk.js} +38 -38
  60. package/dist/chunks/{ripgrep-yzhzc5rz.js → generate-54x4knwr.js} +14 -14
  61. package/dist/chunks/{ripgrep-369akvbe.js → generate-5h88a2js.js} +22 -22
  62. package/dist/chunks/{ripgrep-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{ripgrep-6ttkwnky.js → generate-5n5cq6dk.js} +5 -5
  64. package/dist/chunks/{ripgrep-3tbr4cqx.js → generate-5p98y19k.js} +92 -92
  65. package/dist/chunks/{ripgrep-kn05yypj.js → generate-5zch7wr3.js} +33 -33
  66. package/dist/chunks/{ripgrep-ar2j3j0f.js → generate-61ennm6n.js} +4 -4
  67. package/dist/chunks/{ripgrep-atft9rda.js → generate-63mgg1rp.js} +11 -11
  68. package/dist/chunks/{ripgrep-egbe5b71.js → generate-6712xt67.js} +12 -12
  69. package/dist/chunks/{ripgrep-c4rtwfmc.js → generate-67scqdth.js} +14 -14
  70. package/dist/chunks/{ripgrep-4bj5kpb7.js → generate-6ak84kja.js} +6 -6
  71. package/dist/chunks/{ripgrep-wj35k8fd.js → generate-6dwbj699.js} +18 -18
  72. package/dist/chunks/{ripgrep-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
  73. package/dist/chunks/{ripgrep-2p6ra54c.js → generate-6f3v2fef.js} +47 -47
  74. package/dist/chunks/{ripgrep-18g90bpv.js → generate-6twykydk.js} +9 -9
  75. package/dist/chunks/{ripgrep-hetdxzf5.js → generate-6yfzf5e6.js} +6 -6
  76. package/dist/chunks/{ripgrep-af5csmsa.js → generate-71wjfbxa.js} +36 -36
  77. package/dist/chunks/{ripgrep-jjk3mcr6.js → generate-72sg82ve.js} +39 -39
  78. package/dist/chunks/{ripgrep-nah043kf.js → generate-770pw0s1.js} +4 -4
  79. package/dist/chunks/{ripgrep-whpc6sfg.js → generate-79nptycn.js} +5 -5
  80. package/dist/chunks/{ripgrep-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{ripgrep-beftacqj.js → generate-7h4tq4n1.js} +11 -11
  82. package/dist/chunks/{ripgrep-fe9sakca.js → generate-7w1eqnvf.js} +27 -27
  83. package/dist/chunks/{ripgrep-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
  84. package/dist/chunks/{ripgrep-80svsvjd.js → generate-7wemp1j9.js} +3 -3
  85. package/dist/chunks/{ripgrep-s01r1pv0.js → generate-7x1s9yws.js} +47 -47
  86. package/dist/chunks/{ripgrep-xbazz2d9.js → generate-8ekhwd22.js} +11 -11
  87. package/dist/chunks/{ripgrep-wsh0m2bq.js → generate-8essger0.js} +11 -11
  88. package/dist/chunks/{ripgrep-t2yw8h65.js → generate-8g8pwsx1.js} +19 -19
  89. package/dist/chunks/{ripgrep-e8e8nyhn.js → generate-8hesv9dy.js} +9 -9
  90. package/dist/chunks/{ripgrep-jfwapypb.js → generate-8n33y3k3.js} +32 -32
  91. package/dist/chunks/{ripgrep-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
  92. package/dist/chunks/{ripgrep-g7esga4v.js → generate-8y4jps98.js} +7 -7
  93. package/dist/chunks/{ripgrep-90zstvax.js → generate-90zstvax.js} +1 -1
  94. package/dist/chunks/{ripgrep-f40h8bb4.js → generate-91p4ggbh.js} +27 -27
  95. package/dist/chunks/{ripgrep-1k1debk9.js → generate-9c8mgkwd.js} +21 -21
  96. package/dist/chunks/{ripgrep-d6x0x4gv.js → generate-9d7mqhyt.js} +9 -9
  97. package/dist/chunks/{ripgrep-eyemdhec.js → generate-9nzqwf7d.js} +13 -13
  98. package/dist/chunks/{ripgrep-egvqapfn.js → generate-9r6pmcfc.js} +15 -15
  99. package/dist/chunks/{ripgrep-znpwn00m.js → generate-9t0hde1r.js} +6 -6
  100. package/dist/chunks/{ripgrep-dp66fs17.js → generate-9t2khtsw.js} +11 -11
  101. package/dist/chunks/{ripgrep-ekj5s85x.js → generate-9w44n7hp.js} +42 -42
  102. package/dist/chunks/{ripgrep-bvysct2v.js → generate-a38kcqy6.js} +4 -4
  103. package/dist/chunks/{ripgrep-whwj36b7.js → generate-a5rsj065.js} +28 -28
  104. package/dist/chunks/{ripgrep-avm9nspx.js → generate-aed20f0x.js} +22 -22
  105. package/dist/chunks/{ripgrep-gtgtppsz.js → generate-afb5aatv.js} +6 -6
  106. package/dist/chunks/{ripgrep-0g9tw212.js → generate-akqe8dt6.js} +21 -21
  107. package/dist/chunks/{ripgrep-7fdjd8sw.js → generate-apyew4sh.js} +16 -16
  108. package/dist/chunks/{ripgrep-h5qpngq0.js → generate-aq5yna8t.js} +23 -23
  109. package/dist/chunks/{ripgrep-waaaz1pk.js → generate-as0atjke.js} +88 -88
  110. package/dist/chunks/{ripgrep-n441rgj1.js → generate-axp9e7dj.js} +19 -19
  111. package/dist/chunks/{ripgrep-3cbjf1nt.js → generate-ayjs7tqn.js} +2 -2
  112. package/dist/chunks/{ripgrep-7v7pq9bn.js → generate-b5kdkb71.js} +22 -22
  113. package/dist/chunks/{ripgrep-b6vsg801.js → generate-b6vsg801.js} +2 -2
  114. package/dist/chunks/{ripgrep-p7jhty20.js → generate-bbba65ws.js} +22 -22
  115. package/dist/chunks/{ripgrep-bz7kwm0q.js → generate-be81zkxx.js} +4 -4
  116. package/dist/chunks/{ripgrep-kkew1p9e.js → generate-bh1et42v.js} +6 -6
  117. package/dist/chunks/{ripgrep-26kaq2yd.js → generate-br8sx1gf.js} +27 -27
  118. package/dist/chunks/{ripgrep-5s0mcww8.js → generate-brk3g9gh.js} +34 -34
  119. package/dist/chunks/{ripgrep-xd9cc171.js → generate-bstexjd6.js} +5 -5
  120. package/dist/chunks/{ripgrep-9j0qcbqj.js → generate-c3e7yfrv.js} +14 -14
  121. package/dist/chunks/{ripgrep-7vgs011g.js → generate-c5gtzg91.js} +22 -22
  122. package/dist/chunks/{ripgrep-tqgfaemp.js → generate-cnf0gdnp.js} +16 -16
  123. package/dist/chunks/{ripgrep-yjk9nwe0.js → generate-cpnzy11t.js} +14 -14
  124. package/dist/chunks/{ripgrep-dqdq9hrz.js → generate-cr86k73f.js} +5 -5
  125. package/dist/chunks/{ripgrep-wcxk9yeq.js → generate-crfddmzc.js} +8 -8
  126. package/dist/chunks/{ripgrep-58t0zvek.js → generate-csmn30a6.js} +18 -18
  127. package/dist/chunks/{ripgrep-0ak2x9h8.js → generate-cwbxe8yb.js} +330 -330
  128. package/dist/chunks/{ripgrep-cwrgdav8.js → generate-cwrgdav8.js} +2 -2
  129. package/dist/chunks/{ripgrep-b134vsz7.js → generate-cy3hxfvf.js} +7 -7
  130. package/dist/chunks/{ripgrep-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
  131. package/dist/chunks/{ripgrep-9np782jn.js → generate-d5drkmka.js} +29 -29
  132. package/dist/chunks/{ripgrep-s6qcrcda.js → generate-dcqept39.js} +49 -49
  133. package/dist/chunks/{ripgrep-fczcv4ax.js → generate-dfrvr67t.js} +4 -4
  134. package/dist/chunks/{ripgrep-k7ngd8gp.js → generate-ds023f62.js} +43 -43
  135. package/dist/chunks/{ripgrep-dt77769w.js → generate-dt77769w.js} +1 -1
  136. package/dist/chunks/{ripgrep-94r7trmv.js → generate-e38cwtn4.js} +14 -14
  137. package/dist/chunks/{ripgrep-e834z07m.js → generate-e834z07m.js} +1 -1
  138. package/dist/chunks/{ripgrep-xtd7xn7c.js → generate-e8gkemrs.js} +16 -16
  139. package/dist/chunks/{ripgrep-qnghve6e.js → generate-ez1g32xq.js} +8 -8
  140. package/dist/chunks/{ripgrep-4m70se6x.js → generate-f0wnzmyw.js} +21 -21
  141. package/dist/chunks/{ripgrep-b24mhxf9.js → generate-f62s2454.js} +18 -18
  142. package/dist/chunks/generate-f8t92yxe.js +26 -0
  143. package/dist/chunks/{ripgrep-g60sf386.js → generate-fbbqkjna.js} +15 -15
  144. package/dist/chunks/{ripgrep-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{ripgrep-fg9p65nk.js → generate-fg9p65nk.js} +2 -2
  146. package/dist/chunks/{ripgrep-zj9d1drk.js → generate-fhc9sedx.js} +8 -8
  147. package/dist/chunks/{ripgrep-n1ebme49.js → generate-fvw7fpk2.js} +7 -7
  148. package/dist/chunks/{ripgrep-pt95v14f.js → generate-g3t4yj1z.js} +11 -11
  149. package/dist/chunks/{ripgrep-v1stdd41.js → generate-g7e5n1s9.js} +22 -22
  150. package/dist/chunks/{ripgrep-khv4yf1p.js → generate-g9h88g1w.js} +9 -9
  151. package/dist/chunks/{ripgrep-wqwapjjj.js → generate-gbnxd7gn.js} +12 -12
  152. package/dist/chunks/{ripgrep-2ab3aktw.js → generate-gbqwd2zm.js} +16 -16
  153. package/dist/chunks/{ripgrep-ep59zg61.js → generate-gg8p9cgs.js} +3 -3
  154. package/dist/chunks/{ripgrep-szez8t3h.js → generate-gnef790b.js} +45 -45
  155. package/dist/chunks/{ripgrep-3w5nebbj.js → generate-gqvm7anc.js} +20 -20
  156. package/dist/chunks/{ripgrep-mh86pja4.js → generate-gwx54z98.js} +28 -28
  157. package/dist/chunks/{ripgrep-f2zj0t6k.js → generate-h2vbff59.js} +19 -19
  158. package/dist/chunks/{ripgrep-mnjz2ecc.js → generate-h5j7qrbp.js} +30 -30
  159. package/dist/chunks/{ripgrep-hdfrs5mg.js → generate-hdfrs5mg.js} +2 -2
  160. package/dist/chunks/{ripgrep-ncqtsx5w.js → generate-hfj3jdg6.js} +20 -20
  161. package/dist/chunks/{ripgrep-hpg1pkwy.js → generate-hpg1pkwy.js} +1 -1
  162. package/dist/chunks/{ripgrep-d2k0mtej.js → generate-htfy1f57.js} +8 -8
  163. package/dist/chunks/{ripgrep-ef7fp8z8.js → generate-j08vsdds.js} +11 -11
  164. package/dist/chunks/{ripgrep-ese4m9k3.js → generate-j3x9csx9.js} +15 -15
  165. package/dist/chunks/{ripgrep-mhvjr1t0.js → generate-j9e1a4db.js} +11 -11
  166. package/dist/chunks/{ripgrep-vbjqtebd.js → generate-j9krqxqk.js} +11 -11
  167. package/dist/chunks/{ripgrep-jfaecv01.js → generate-jfaecv01.js} +1 -1
  168. package/dist/chunks/{ripgrep-wakh2edy.js → generate-jh3ekwcy.js} +18 -18
  169. package/dist/chunks/{ripgrep-smfe966e.js → generate-jhbdwcm4.js} +24 -24
  170. package/dist/chunks/{ripgrep-k1r1j926.js → generate-jsq7ewwj.js} +185 -185
  171. package/dist/chunks/{ripgrep-jtnps1zs.js → generate-jtnps1zs.js} +2 -2
  172. package/dist/chunks/{ripgrep-5ac7ycjy.js → generate-k0gkqvt1.js} +11 -11
  173. package/dist/chunks/{ripgrep-6gchybz4.js → generate-k0n1bgzs.js} +17 -17
  174. package/dist/chunks/{ripgrep-8xdd5vcj.js → generate-k0ysn4xj.js} +33 -33
  175. package/dist/chunks/{ripgrep-z83xd19b.js → generate-k3yt60zb.js} +10 -10
  176. package/dist/chunks/{ripgrep-k814nvkf.js → generate-k814nvkf.js} +1 -1
  177. package/dist/chunks/{ripgrep-qqg9c0kv.js → generate-kd4chd64.js} +7 -7
  178. package/dist/chunks/{ripgrep-1ax49313.js → generate-khsakms0.js} +30 -30
  179. package/dist/chunks/{ripgrep-ak3gvmya.js → generate-kkdts8xr.js} +15 -15
  180. package/dist/chunks/{ripgrep-s2rjrqgv.js → generate-kn76f024.js} +29 -29
  181. package/dist/chunks/{ripgrep-aqkr4v1j.js → generate-ksdhek8b.js} +25 -25
  182. package/dist/chunks/{ripgrep-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
  183. package/dist/chunks/{ripgrep-2c98r4e2.js → generate-kwvnq2ts.js} +14 -14
  184. package/dist/chunks/{ripgrep-m1714858.js → generate-m1714858.js} +1 -1
  185. package/dist/chunks/{ripgrep-46wzcrep.js → generate-m2th4j2b.js} +9 -9
  186. package/dist/chunks/{ripgrep-9hfpmwpz.js → generate-m32vg8vz.js} +17 -17
  187. package/dist/chunks/{ripgrep-pbcm2cp0.js → generate-m3vm7evr.js} +31 -31
  188. package/dist/chunks/{ripgrep-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{ripgrep-jce146zy.js → generate-mfrr2svg.js} +33 -33
  190. package/dist/chunks/{ripgrep-0g35qp0e.js → generate-mfxp7adw.js} +11 -11
  191. package/dist/chunks/{ripgrep-qkqjbc48.js → generate-mqe7nf5n.js} +3 -3
  192. package/dist/chunks/{ripgrep-s7k6069s.js → generate-mqwrzhmg.js} +18 -18
  193. package/dist/chunks/{ripgrep-kd78bhya.js → generate-mr14th8x.js} +14 -14
  194. package/dist/chunks/{ripgrep-h15brmzx.js → generate-mvj3t52g.js} +9 -9
  195. package/dist/chunks/{ripgrep-8whp40kv.js → generate-my4zabxr.js} +3 -3
  196. package/dist/chunks/{ripgrep-axb490gr.js → generate-ne4tt1ep.js} +9 -9
  197. package/dist/chunks/{ripgrep-6gkj1px0.js → generate-njamm2cm.js} +12 -12
  198. package/dist/chunks/{ripgrep-bhak5syd.js → generate-njmvt0nj.js} +4 -4
  199. package/dist/chunks/{ripgrep-m8c2jzgg.js → generate-njwjh564.js} +4 -4
  200. package/dist/chunks/{ripgrep-xmdremne.js → generate-nmtbp73c.js} +5 -5
  201. package/dist/chunks/{ripgrep-70ha973v.js → generate-nnt30w3v.js} +8 -8
  202. package/dist/chunks/{ripgrep-v3vj6w0p.js → generate-ntp0m708.js} +37 -37
  203. package/dist/chunks/{ripgrep-w5q9nec7.js → generate-nvfej1dx.js} +55 -55
  204. package/dist/chunks/{ripgrep-p015t6z3.js → generate-p015t6z3.js} +2 -2
  205. package/dist/chunks/{ripgrep-dfsm4808.js → generate-p1vte9h6.js} +11 -11
  206. package/dist/chunks/{ripgrep-nsxce02n.js → generate-p7snmzw9.js} +2 -2
  207. package/dist/chunks/{ripgrep-26x8chrq.js → generate-p869v6ff.js} +6 -6
  208. package/dist/chunks/{ripgrep-6zs6nt10.js → generate-pbbktnbz.js} +4 -4
  209. package/dist/chunks/{ripgrep-epbqh0vp.js → generate-pcty9z1k.js} +4 -4
  210. package/dist/chunks/{ripgrep-pknna89w.js → generate-pknna89w.js} +1 -1
  211. package/dist/chunks/{ripgrep-ehhyyyn7.js → generate-pzgm482x.js} +46 -46
  212. package/dist/chunks/{ripgrep-41b5jrt2.js → generate-q174ee3q.js} +9 -9
  213. package/dist/chunks/{ripgrep-zgd7st2n.js → generate-q18as39h.js} +29 -29
  214. package/dist/chunks/generate-q331f19b.js +257 -0
  215. package/dist/chunks/{ripgrep-cbrygq68.js → generate-q526re3s.js} +3 -3
  216. package/dist/chunks/{ripgrep-754mq792.js → generate-q9k672yb.js} +9 -9
  217. package/dist/chunks/{ripgrep-nfzcmjp8.js → generate-qaf4nrm9.js} +16 -16
  218. package/dist/chunks/{ripgrep-3a7jzk54.js → generate-qcxq8hjc.js} +24 -24
  219. package/dist/chunks/{ripgrep-577qsrq7.js → generate-qp6mrnfa.js} +7 -7
  220. package/dist/chunks/{ripgrep-qp7r0hxv.js → generate-qp7r0hxv.js} +1 -1
  221. package/dist/chunks/{ripgrep-tqf554py.js → generate-qsh779tg.js} +16 -16
  222. package/dist/chunks/{ripgrep-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
  223. package/dist/chunks/{ripgrep-r542h3bh.js → generate-r542h3bh.js} +1 -1
  224. package/dist/chunks/{ripgrep-x3y1gccb.js → generate-raxq219f.js} +25 -25
  225. package/dist/chunks/{ripgrep-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
  226. package/dist/chunks/{ripgrep-8r9nj4s8.js → generate-rcbjwvze.js} +4 -4
  227. package/dist/chunks/{ripgrep-9wzjb77v.js → generate-rfy1qsv0.js} +5 -5
  228. package/dist/chunks/{ripgrep-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
  229. package/dist/chunks/{ripgrep-rw0vxzvv.js → generate-s7jh2bt2.js} +12 -12
  230. package/dist/chunks/{ripgrep-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
  231. package/dist/chunks/{ripgrep-4wvca7dx.js → generate-spqbgcqv.js} +5 -5
  232. package/dist/chunks/{ripgrep-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{ripgrep-c9t2ty9q.js → generate-ssfehs1z.js} +4 -4
  234. package/dist/chunks/{ripgrep-svcy3p9a.js → generate-svcy3p9a.js} +1 -1
  235. package/dist/chunks/{ripgrep-szcgc7h4.js → generate-szcgc7h4.js} +2 -2
  236. package/dist/chunks/{ripgrep-67v8yagg.js → generate-t1fs0nta.js} +8 -8
  237. package/dist/chunks/{ripgrep-06ezgrzy.js → generate-t2hws329.js} +6 -6
  238. package/dist/chunks/{ripgrep-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
  239. package/dist/chunks/{ripgrep-xjzq7hnt.js → generate-tgwbm25x.js} +13 -13
  240. package/dist/chunks/{ripgrep-qzm6q9ch.js → generate-tkcrbpkc.js} +6 -6
  241. package/dist/chunks/{ripgrep-twssxy5n.js → generate-twssxy5n.js} +2 -2
  242. package/dist/chunks/{ripgrep-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
  243. package/dist/chunks/{ripgrep-km92jeaq.js → generate-v5ahc3ch.js} +15 -15
  244. package/dist/chunks/{ripgrep-b3aag47p.js → generate-v7bnf05s.js} +17 -17
  245. package/dist/chunks/{ripgrep-cgjret3e.js → generate-vcvg2s1w.js} +11 -11
  246. package/dist/chunks/{ripgrep-81pg0v03.js → generate-vdpapx9q.js} +13 -13
  247. package/dist/chunks/{ripgrep-veqvce7d.js → generate-veqvce7d.js} +1 -1
  248. package/dist/chunks/{ripgrep-gw22fdws.js → generate-vgx7atgj.js} +39 -39
  249. package/dist/chunks/{ripgrep-c2rtzjd7.js → generate-vyv0j8nn.js} +25 -25
  250. package/dist/chunks/{ripgrep-cy5ayqt4.js → generate-vzd7w2ek.js} +43 -43
  251. package/dist/chunks/{ripgrep-40za9wsf.js → generate-w2eysc6j.js} +9 -9
  252. package/dist/chunks/{ripgrep-h7d4rbrg.js → generate-w35wzz9x.js} +4 -4
  253. package/dist/chunks/{ripgrep-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{ripgrep-wyyb2rea.js → generate-w43zhwmv.js} +2 -2
  255. package/dist/chunks/{ripgrep-fv2q085q.js → generate-w8gkdedy.js} +11 -11
  256. package/dist/chunks/{ripgrep-76cb1hcw.js → generate-w8qtt4th.js} +4 -4
  257. package/dist/chunks/{ripgrep-51d35nkj.js → generate-wa8k00xj.js} +6 -6
  258. package/dist/chunks/{ripgrep-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{ripgrep-wd87259q.js → generate-wd87259q.js} +1 -1
  260. package/dist/chunks/{ripgrep-ap93h9h9.js → generate-wdccw9aa.js} +9 -9
  261. package/dist/chunks/{ripgrep-rrjn135q.js → generate-wfwbmxj9.js} +22 -22
  262. package/dist/chunks/{ripgrep-xsvyg0zg.js → generate-wfxkb6jf.js} +12 -12
  263. package/dist/chunks/{ripgrep-chtd0as3.js → generate-wncvwmyx.js} +73 -73
  264. package/dist/chunks/{ripgrep-wnhgecwx.js → generate-wnhgecwx.js} +1 -1
  265. package/dist/chunks/{ripgrep-kh5b5n0x.js → generate-wr0x8q8w.js} +11 -11
  266. package/dist/chunks/{ripgrep-w687dnns.js → generate-wr3re1en.js} +4 -4
  267. package/dist/chunks/{ripgrep-9mv4bqkt.js → generate-wresbwaf.js} +11 -11
  268. package/dist/chunks/{ripgrep-25841xge.js → generate-wwpqwb19.js} +33 -33
  269. package/dist/chunks/{ripgrep-3marnbwx.js → generate-x2jb7586.js} +20 -20
  270. package/dist/chunks/{ripgrep-h3tz4d10.js → generate-x8kf0qe2.js} +30 -30
  271. package/dist/chunks/{ripgrep-x2gs057w.js → generate-xgh8r5md.js} +19 -19
  272. package/dist/chunks/{ripgrep-ssky9yg5.js → generate-xjrcb2hz.js} +4 -4
  273. package/dist/chunks/{ripgrep-xt0z8zst.js → generate-xt0z8zst.js} +1 -1
  274. package/dist/chunks/{ripgrep-8haq8m5n.js → generate-y0nfsw3x.js} +25 -25
  275. package/dist/chunks/{ripgrep-6b33zqre.js → generate-y3pzht0c.js} +5 -5
  276. package/dist/chunks/{ripgrep-qkw2jr9b.js → generate-yara3q77.js} +2 -2
  277. package/dist/chunks/{ripgrep-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{ripgrep-w52ybf1s.js → generate-yrxdp6ww.js} +54 -54
  279. package/dist/chunks/{ripgrep-h0p593e3.js → generate-yw016jnw.js} +21 -21
  280. package/dist/chunks/{ripgrep-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{ripgrep-z38nccrw.js → generate-z38nccrw.js} +1 -1
  282. package/dist/chunks/{ripgrep-rqynnb9h.js → generate-z72vmst9.js} +14 -14
  283. package/dist/chunks/{ripgrep-bxe7n28z.js → generate-zavmbsdh.js} +8 -8
  284. package/dist/chunks/{ripgrep-zegc5h6d.js → generate-zbwtxs0r.js} +20 -20
  285. package/dist/chunks/{ripgrep-g3dtbvmz.js → generate-zcvy3frr.js} +12 -12
  286. package/dist/chunks/{ripgrep-y1eshr2q.js → generate-zcxysqg2.js} +13 -13
  287. package/dist/chunks/{ripgrep-zgkm4kzm.js → generate-zgkm4kzm.js} +3 -3
  288. package/dist/chunks/{ripgrep-zh7bbm8x.js → generate-zh7bbm8x.js} +2 -2
  289. package/dist/chunks/{ripgrep-vwvg46tm.js → generate-zmwx25fz.js} +2 -2
  290. package/dist/chunks/{ripgrep-9hd5kt3n.js → generate-zqy7k0qn.js} +7 -7
  291. package/dist/chunks/{ripgrep-9knspxm5.js → generate-zs3j1aq1.js} +18 -18
  292. package/dist/chunks/{ripgrep-bwsv21wr.js → generate-zs7h2624.js} +34 -34
  293. package/dist/chunks/{ripgrep-a3rq0v5y.js → generate-zskc75ww.js} +18 -18
  294. package/dist/chunks/{ripgrep-e5vtkg49.js → generate-zw4834mw.js} +26 -26
  295. package/dist/chunks/{ripgrep-qrg0trs5.js → generate-zxxmr6sq.js} +8 -8
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +9 -9
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +91 -91
  301. package/dist/config/discovery.js +92 -92
  302. package/dist/config/integration.js +3 -3
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +107 -107
  305. package/dist/config/plugin/agent.js +123 -123
  306. package/dist/config/plugin/command.js +221 -221
  307. package/dist/config/plugin/compaction.js +162 -162
  308. package/dist/config/plugin/compatibility.js +142 -142
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +122 -122
  311. package/dist/config/plugin/image.js +121 -121
  312. package/dist/config/plugin/instruction.js +121 -121
  313. package/dist/config/plugin/location-watcher.js +121 -121
  314. package/dist/config/plugin/mcp.js +132 -132
  315. package/dist/config/plugin/policy.js +123 -123
  316. package/dist/config/plugin/provider.js +122 -122
  317. package/dist/config/plugin/reference.js +123 -123
  318. package/dist/config/plugin/shell.js +123 -123
  319. package/dist/config/plugin/skill-file.js +138 -138
  320. package/dist/config/plugin/skill-scan.js +3 -3
  321. package/dist/config/plugin/skill.js +143 -143
  322. package/dist/config/plugin/snapshot.js +121 -121
  323. package/dist/config/plugin/source.js +124 -124
  324. package/dist/config/plugin/tool-output.js +122 -122
  325. package/dist/config/plugin/websearch.js +122 -122
  326. package/dist/config/plugin/worktree.js +123 -123
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +124 -124
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +89 -89
  333. package/dist/database/database.js +76 -76
  334. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +15 -15
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +16 -16
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  404. package/dist/database/migration.gen.js +55 -55
  405. package/dist/database/migration.js +57 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +96 -96
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +382 -382
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +3 -3
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +101 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +103 -103
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +3 -3
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +80 -80
  429. package/dist/file-access.js +148 -148
  430. package/dist/file-mutation.js +102 -102
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +86 -86
  437. package/dist/filesystem/location-watcher-policy.js +2 -2
  438. package/dist/filesystem/location-watcher.js +232 -232
  439. package/dist/filesystem/protected.js +3 -3
  440. package/dist/filesystem/search.js +107 -107
  441. package/dist/filesystem/watcher-binding.js +1 -1
  442. package/dist/filesystem/watcher.js +11 -11
  443. package/dist/filesystem.js +110 -110
  444. package/dist/form.js +86 -86
  445. package/dist/formatter/builtins.js +4 -4
  446. package/dist/formatter.js +95 -95
  447. package/dist/generate.js +117 -117
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +99 -99
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +1 -1
  469. package/dist/image/photon-worker.js +1 -1
  470. package/dist/image/photon.js +4 -4
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +373 -373
  474. package/dist/instruction-discovery.js +90 -90
  475. package/dist/instructions/builtins.js +95 -95
  476. package/dist/instructions/index.js +1 -1
  477. package/dist/integration/connection.js +3 -3
  478. package/dist/integration.js +93 -93
  479. package/dist/job.js +84 -84
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +77 -77
  482. package/dist/location-activity.js +166 -166
  483. package/dist/location-lifecycle.js +142 -142
  484. package/dist/location-service-map.js +94 -94
  485. package/dist/location-services.js +370 -370
  486. package/dist/location.js +89 -89
  487. package/dist/managed-policy.js +9 -9
  488. package/dist/mcp/client.js +99 -99
  489. package/dist/mcp/index.js +115 -115
  490. package/dist/mcp/instructions.js +166 -166
  491. package/dist/mcp/oauth.js +84 -84
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +98 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +99 -99
  496. package/dist/model-resolver.js +107 -107
  497. package/dist/model-retry.js +1 -1
  498. package/dist/model.js +110 -110
  499. package/dist/models-dev/v1.js +1 -1
  500. package/dist/models-dev.js +116 -116
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +86 -86
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +143 -143
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +88 -88
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +81 -81
  510. package/dist/plugin/agent.js +82 -82
  511. package/dist/plugin/command.js +110 -110
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +225 -225
  514. package/dist/plugin/identity.js +5 -5
  515. package/dist/plugin/instance.js +5 -5
  516. package/dist/plugin/internal.js +343 -343
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +105 -105
  519. package/dist/plugin/module.js +123 -123
  520. package/dist/plugin/optimize.js +2 -2
  521. package/dist/plugin/plan.js +138 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  524. package/dist/plugin/provider/azure.js +121 -121
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +121 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  529. package/dist/plugin/provider/cohere.js +2 -2
  530. package/dist/plugin/provider/configured.js +117 -117
  531. package/dist/plugin/provider/databricks.js +1 -1
  532. package/dist/plugin/provider/digitalocean.js +101 -101
  533. package/dist/plugin/provider/dynamic.js +2 -2
  534. package/dist/plugin/provider/factory.js +1 -1
  535. package/dist/plugin/provider/github-copilot.js +103 -103
  536. package/dist/plugin/provider/gitlab.js +101 -101
  537. package/dist/plugin/provider/google-vertex.js +118 -118
  538. package/dist/plugin/provider/kilo.js +1 -1
  539. package/dist/plugin/provider/llmgateway.js +84 -84
  540. package/dist/plugin/provider/lmstudio.js +130 -130
  541. package/dist/plugin/provider/local.js +127 -127
  542. package/dist/plugin/provider/modal.js +100 -100
  543. package/dist/plugin/provider/neon.js +1 -1
  544. package/dist/plugin/provider/nvidia.js +1 -1
  545. package/dist/plugin/provider/ollama.js +130 -130
  546. package/dist/plugin/provider/openai-context-caps.js +98 -98
  547. package/dist/plugin/provider/openai.js +121 -121
  548. package/dist/plugin/provider/opencode-legacy.js +108 -108
  549. package/dist/plugin/provider/opencode.js +127 -127
  550. package/dist/plugin/provider/openrouter.js +99 -99
  551. package/dist/plugin/provider/perplexity.js +2 -2
  552. package/dist/plugin/provider/poe.js +85 -85
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +99 -99
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  557. package/dist/plugin/provider/vercel.js +98 -98
  558. package/dist/plugin/provider/vllm.js +130 -130
  559. package/dist/plugin/provider/xai.js +99 -99
  560. package/dist/plugin/provider/zenmux.js +1 -1
  561. package/dist/plugin/provider.js +178 -178
  562. package/dist/plugin/sdk.js +82 -82
  563. package/dist/plugin/service.js +3 -3
  564. package/dist/plugin/skill.js +141 -141
  565. package/dist/plugin/source-directory.js +1 -1
  566. package/dist/plugin/supervisor.js +360 -360
  567. package/dist/plugin/tool-input-repair.js +4 -4
  568. package/dist/plugin/update.js +6 -6
  569. package/dist/plugin/vcs/git.js +94 -94
  570. package/dist/plugin/vcs/hg.js +94 -94
  571. package/dist/plugin/verbosity.js +101 -101
  572. package/dist/plugin/warming.js +119 -119
  573. package/dist/plugin/websearch/exa.js +7 -7
  574. package/dist/plugin/websearch/firecrawl.js +8 -8
  575. package/dist/plugin/websearch/index.js +9 -9
  576. package/dist/plugin/websearch/mcp.js +6 -6
  577. package/dist/plugin/websearch/parallel.js +8 -8
  578. package/dist/plugin/websearch/tavily.js +6 -6
  579. package/dist/plugin/websearch/tinyfish.js +8 -8
  580. package/dist/plugin.js +230 -230
  581. package/dist/project/icon.js +5 -5
  582. package/dist/project/schema.js +2 -2
  583. package/dist/project/sql.js +4 -4
  584. package/dist/project.js +88 -88
  585. package/dist/provider.js +107 -107
  586. package/dist/pty/protocol.js +1 -1
  587. package/dist/pty/ticket.js +1 -1
  588. package/dist/pty.js +94 -94
  589. package/dist/reference/instructions.js +96 -96
  590. package/dist/reference.js +96 -96
  591. package/dist/repository-cache.js +88 -88
  592. package/dist/repository.js +3 -3
  593. package/dist/ripgrep/binary.js +2 -2
  594. package/dist/ripgrep.js +103 -103
  595. package/dist/rpc.js +94 -94
  596. package/dist/schema.js +1 -1
  597. package/dist/session/affinity.js +1 -1
  598. package/dist/session/blob.js +120 -120
  599. package/dist/session/command.js +80 -80
  600. package/dist/session/compaction.js +162 -162
  601. package/dist/session/context.js +188 -188
  602. package/dist/session/diff.js +96 -96
  603. package/dist/session/environment.js +5 -5
  604. package/dist/session/error.js +5 -5
  605. package/dist/session/event.js +1 -1
  606. package/dist/session/execution/restart.js +231 -231
  607. package/dist/session/execution.js +152 -152
  608. package/dist/session/generate.js +190 -190
  609. package/dist/session/history.js +127 -127
  610. package/dist/session/inbox.js +138 -138
  611. package/dist/session/info.js +3 -3
  612. package/dist/session/instruction-entry.js +85 -85
  613. package/dist/session/instruction-state.js +8 -8
  614. package/dist/session/instructions.js +132 -132
  615. package/dist/session/message-updater.js +2 -2
  616. package/dist/session/message.js +1 -1
  617. package/dist/session/model-request.js +155 -155
  618. package/dist/session/model-transport.js +9 -9
  619. package/dist/session/move.js +156 -156
  620. package/dist/session/projector.js +134 -134
  621. package/dist/session/prompt.js +140 -140
  622. package/dist/session/recent-text.js +1 -1
  623. package/dist/session/revert.js +130 -130
  624. package/dist/session/run-coordinator.js +3 -3
  625. package/dist/session/runner/index.js +3 -3
  626. package/dist/session/runner/llm.js +238 -238
  627. package/dist/session/runner/max-steps.js +1 -1
  628. package/dist/session/runner/model.js +108 -108
  629. package/dist/session/runner/publish-llm-event.js +141 -141
  630. package/dist/session/runner/retry.js +5 -5
  631. package/dist/session/runner/step.js +152 -152
  632. package/dist/session/runner/to-llm-message.js +128 -128
  633. package/dist/session/schema.js +5 -5
  634. package/dist/session/session.js +172 -172
  635. package/dist/session/shell.js +135 -135
  636. package/dist/session/skill.js +139 -139
  637. package/dist/session/sql.js +5 -5
  638. package/dist/session/stats.js +81 -81
  639. package/dist/session/store.js +133 -133
  640. package/dist/session/stored.js +2 -2
  641. package/dist/session/subagent-completion.js +1 -1
  642. package/dist/session/subagent-job.js +219 -219
  643. package/dist/session/system-prompt.js +5 -5
  644. package/dist/session/title.js +190 -190
  645. package/dist/session/to-session-error.js +140 -140
  646. package/dist/session/transfer.js +227 -227
  647. package/dist/session/usage.js +1 -1
  648. package/dist/session.js +223 -223
  649. package/dist/shell/parse.js +8 -8
  650. package/dist/shell/result.js +1 -1
  651. package/dist/shell/scan.js +1 -1
  652. package/dist/shell/select.js +9 -9
  653. package/dist/shell.js +135 -135
  654. package/dist/skill/discovery.js +6 -6
  655. package/dist/skill/instructions.js +143 -143
  656. package/dist/skill.js +146 -146
  657. package/dist/snapshot.js +97 -97
  658. package/dist/state.js +1 -1
  659. package/dist/tool/html-markdown.js +1 -1
  660. package/dist/tool/http-body.js +1 -1
  661. package/dist/tool/mcp.js +167 -167
  662. package/dist/tool/plugin/edit.js +150 -150
  663. package/dist/tool/plugin/file-diff.js +1 -1
  664. package/dist/tool/plugin/glob.js +160 -160
  665. package/dist/tool/plugin/grep.js +160 -160
  666. package/dist/tool/plugin/mcp-resource.js +154 -154
  667. package/dist/tool/plugin/opencode.js +153 -153
  668. package/dist/tool/plugin/patch.js +158 -158
  669. package/dist/tool/plugin/question.js +140 -140
  670. package/dist/tool/plugin/read.js +159 -159
  671. package/dist/tool/plugin/shell.js +224 -224
  672. package/dist/tool/plugin/skill.js +145 -145
  673. package/dist/tool/plugin/subagent.js +226 -226
  674. package/dist/tool/plugin/todo.js +143 -143
  675. package/dist/tool/plugin/webfetch.js +147 -147
  676. package/dist/tool/plugin/websearch.js +147 -147
  677. package/dist/tool/plugin/write.js +158 -158
  678. package/dist/tool/read-filesystem.js +110 -110
  679. package/dist/tool/runtime.js +1 -1
  680. package/dist/tool-output.js +7 -7
  681. package/dist/tool.js +12 -12
  682. package/dist/usage-limits.js +95 -95
  683. package/dist/util/error-summary.js +1 -1
  684. package/dist/util/git-executable.js +3 -3
  685. package/dist/util/lazy.js +1 -1
  686. package/dist/util/slug.js +1 -1
  687. package/dist/util/token.js +1 -1
  688. package/dist/util/which.js +1 -1
  689. package/dist/util/wildcard.js +1 -1
  690. package/dist/v1/config/agent.js +7 -7
  691. package/dist/v1/config/command.js +5 -5
  692. package/dist/v1/config/mcp.js +4 -4
  693. package/dist/v1/config/migrate.js +100 -100
  694. package/dist/v1/config/permission.js +3 -3
  695. package/dist/v1/config/plugin.js +1 -1
  696. package/dist/v1/config/provider-options.js +1 -1
  697. package/dist/v1/config/provider.js +2 -2
  698. package/dist/variant.js +101 -101
  699. package/dist/vcs/patch.js +1 -1
  700. package/dist/vcs.js +97 -97
  701. package/dist/voice.js +96 -96
  702. package/dist/websearch.js +90 -90
  703. package/dist/wellknown/plugin.js +82 -82
  704. package/dist/wellknown.js +85 -85
  705. package/dist/workspace/driver.js +5 -5
  706. package/dist/workspace/sql.js +1 -1
  707. package/dist/workspace.js +88 -88
  708. package/dist/worktree/directory.js +2 -2
  709. package/dist/worktree/git.js +11 -11
  710. package/dist/worktree/sql.js +5 -5
  711. package/dist/worktree/strategies.js +97 -97
  712. package/dist/worktree.js +106 -106
  713. package/package.json +8 -8
  714. package/dist/chunks/ripgrep-4hbcjkqy.js +0 -257
  715. package/dist/chunks/ripgrep-j1207za8.js +0 -26
  716. package/dist/chunks/ripgrep-jztn5z23.js +0 -18
  717. /package/dist/chunks/{ripgrep-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  718. /package/dist/chunks/{ripgrep-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  719. /package/dist/chunks/{ripgrep-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  720. /package/dist/chunks/{ripgrep-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  721. /package/dist/chunks/{ripgrep-1jakw16s.js → generate-1jakw16s.js} +0 -0
  722. /package/dist/chunks/{ripgrep-24dcb14g.js → generate-24dcb14g.js} +0 -0
  723. /package/dist/chunks/{ripgrep-2710q6r3.js → generate-2710q6r3.js} +0 -0
  724. /package/dist/chunks/{ripgrep-2bv980vf.js → generate-2bv980vf.js} +0 -0
  725. /package/dist/chunks/{ripgrep-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  726. /package/dist/chunks/{ripgrep-359p4xyc.js → generate-359p4xyc.js} +0 -0
  727. /package/dist/chunks/{ripgrep-3asan66x.js → generate-3asan66x.js} +0 -0
  728. /package/dist/chunks/{ripgrep-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  729. /package/dist/chunks/{ripgrep-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  730. /package/dist/chunks/{ripgrep-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  731. /package/dist/chunks/{ripgrep-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  732. /package/dist/chunks/{ripgrep-4m86bj6y.js → generate-4m86bj6y.js} +0 -0
  733. /package/dist/chunks/{ripgrep-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  734. /package/dist/chunks/{ripgrep-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  735. /package/dist/chunks/{ripgrep-53557ph1.js → generate-53557ph1.js} +0 -0
  736. /package/dist/chunks/{ripgrep-550bvhaj.js → generate-550bvhaj.js} +0 -0
  737. /package/dist/chunks/{ripgrep-5w3e23ze.js → generate-5w3e23ze.js} +0 -0
  738. /package/dist/chunks/{ripgrep-6prwharc.js → generate-6prwharc.js} +0 -0
  739. /package/dist/chunks/{ripgrep-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  740. /package/dist/chunks/{ripgrep-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  741. /package/dist/chunks/{ripgrep-7m9af43g.js → generate-7m9af43g.js} +0 -0
  742. /package/dist/chunks/{ripgrep-822emrt2.js → generate-822emrt2.js} +0 -0
  743. /package/dist/chunks/{ripgrep-84wd9syh.js → generate-84wd9syh.js} +0 -0
  744. /package/dist/chunks/{ripgrep-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  745. /package/dist/chunks/{ripgrep-8n3pysct.js → generate-8n3pysct.js} +0 -0
  746. /package/dist/chunks/{ripgrep-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  747. /package/dist/chunks/{ripgrep-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  748. /package/dist/chunks/{ripgrep-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  749. /package/dist/chunks/{ripgrep-a058387c.js → generate-a058387c.js} +0 -0
  750. /package/dist/chunks/{ripgrep-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  751. /package/dist/chunks/{ripgrep-af5trqkr.js → generate-af5trqkr.js} +0 -0
  752. /package/dist/chunks/{ripgrep-afrmfg78.js → generate-afrmfg78.js} +0 -0
  753. /package/dist/chunks/{ripgrep-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  754. /package/dist/chunks/{ripgrep-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  755. /package/dist/chunks/{ripgrep-beh6qq61.js → generate-beh6qq61.js} +0 -0
  756. /package/dist/chunks/{ripgrep-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  757. /package/dist/chunks/{ripgrep-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  758. /package/dist/chunks/{ripgrep-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  759. /package/dist/chunks/{ripgrep-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
  760. /package/dist/chunks/{ripgrep-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  761. /package/dist/chunks/{ripgrep-d9fn303g.js → generate-d9fn303g.js} +0 -0
  762. /package/dist/chunks/{ripgrep-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  763. /package/dist/chunks/{ripgrep-dajrwvna.js → generate-dajrwvna.js} +0 -0
  764. /package/dist/chunks/{ripgrep-dap0rakb.js → generate-dap0rakb.js} +0 -0
  765. /package/dist/chunks/{ripgrep-df08tz66.js → generate-df08tz66.js} +0 -0
  766. /package/dist/chunks/{ripgrep-dy18nga0.js → generate-dy18nga0.js} +0 -0
  767. /package/dist/chunks/{ripgrep-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  768. /package/dist/chunks/{ripgrep-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  769. /package/dist/chunks/{ripgrep-ec1grn59.js → generate-ec1grn59.js} +0 -0
  770. /package/dist/chunks/{ripgrep-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  771. /package/dist/chunks/{ripgrep-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  772. /package/dist/chunks/{ripgrep-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  773. /package/dist/chunks/{ripgrep-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  774. /package/dist/chunks/{ripgrep-faypxj3z.js → generate-faypxj3z.js} +0 -0
  775. /package/dist/chunks/{ripgrep-fd410y7t.js → generate-fd410y7t.js} +0 -0
  776. /package/dist/chunks/{ripgrep-fkpq3x5p.js → generate-fkpq3x5p.js} +0 -0
  777. /package/dist/chunks/{ripgrep-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  778. /package/dist/chunks/{ripgrep-g86h250q.js → generate-g86h250q.js} +0 -0
  779. /package/dist/chunks/{ripgrep-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  780. /package/dist/chunks/{ripgrep-gftt206x.js → generate-gftt206x.js} +0 -0
  781. /package/dist/chunks/{ripgrep-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  782. /package/dist/chunks/{ripgrep-hk9envan.js → generate-hk9envan.js} +0 -0
  783. /package/dist/chunks/{ripgrep-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  784. /package/dist/chunks/{ripgrep-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  785. /package/dist/chunks/{ripgrep-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  786. /package/dist/chunks/{ripgrep-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  787. /package/dist/chunks/{ripgrep-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  788. /package/dist/chunks/{ripgrep-jwr30sdr.js → generate-jwr30sdr.js} +0 -0
  789. /package/dist/chunks/{ripgrep-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  790. /package/dist/chunks/{ripgrep-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  791. /package/dist/chunks/{ripgrep-m18g726c.js → generate-m18g726c.js} +0 -0
  792. /package/dist/chunks/{ripgrep-mp448xyj.js → generate-mp448xyj.js} +0 -0
  793. /package/dist/chunks/{ripgrep-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  794. /package/dist/chunks/{ripgrep-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  795. /package/dist/chunks/{ripgrep-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  796. /package/dist/chunks/{ripgrep-ncqqe42p.js → generate-ncqqe42p.js} +0 -0
  797. /package/dist/chunks/{ripgrep-njntx4h6.js → generate-njntx4h6.js} +0 -0
  798. /package/dist/chunks/{ripgrep-p71gwv9c.js → generate-p71gwv9c.js} +0 -0
  799. /package/dist/chunks/{ripgrep-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  800. /package/dist/chunks/{ripgrep-q74kybfr.js → generate-q74kybfr.js} +0 -0
  801. /package/dist/chunks/{ripgrep-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  802. /package/dist/chunks/{ripgrep-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  803. /package/dist/chunks/{ripgrep-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  804. /package/dist/chunks/{ripgrep-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  805. /package/dist/chunks/{ripgrep-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  806. /package/dist/chunks/{ripgrep-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  807. /package/dist/chunks/{ripgrep-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  808. /package/dist/chunks/{ripgrep-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  809. /package/dist/chunks/{ripgrep-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  810. /package/dist/chunks/{ripgrep-w803qqfp.js → generate-w803qqfp.js} +0 -0
  811. /package/dist/chunks/{ripgrep-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  812. /package/dist/chunks/{ripgrep-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  813. /package/dist/chunks/{ripgrep-wtztk69x.js → generate-wtztk69x.js} +0 -0
  814. /package/dist/chunks/{ripgrep-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  815. /package/dist/chunks/{ripgrep-x61499pn.js → generate-x61499pn.js} +0 -0
  816. /package/dist/chunks/{ripgrep-y44na4kk.js → generate-y44na4kk.js} +0 -0
  817. /package/dist/chunks/{ripgrep-y8f7s663.js → generate-y8f7s663.js} +0 -0
  818. /package/dist/chunks/{ripgrep-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  819. /package/dist/chunks/{ripgrep-ym463w8f.js → generate-ym463w8f.js} +0 -0
  820. /package/dist/chunks/{ripgrep-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  821. /package/dist/chunks/{ripgrep-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83
3
- } from "./ripgrep-wyyb2rea.js";
3
+ } from "./generate-w43zhwmv.js";
4
4
  import {
5
- Service81
6
- } from "./ripgrep-4m70se6x.js";
5
+ Service75
6
+ } from "./generate-f0wnzmyw.js";
7
7
  import {
8
- Service80,
8
+ Service27,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./ripgrep-32pwgmem.js";
11
+ } from "./generate-2r5swsc6.js";
12
12
  import {
13
- Service46
14
- } from "./ripgrep-atft9rda.js";
13
+ Service19
14
+ } from "./generate-63mgg1rp.js";
15
15
  import {
16
- Service55
17
- } from "./ripgrep-cy5ayqt4.js";
16
+ Service58
17
+ } from "./generate-vzd7w2ek.js";
18
18
  import {
19
- Service45,
19
+ Service13,
20
20
  resolvePath2
21
- } from "./ripgrep-v4vw7d5e.js";
21
+ } from "./generate-40smdzyz.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./ripgrep-6prwharc.js";
24
+ } from "./generate-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./ripgrep-9rqn6x4v.js";
27
+ } from "./generate-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
@@ -32,7 +32,7 @@ __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
33
  Input: () => Input9,
34
34
  Output: () => Output6,
35
- Plugin: () => Plugin45,
35
+ Plugin: () => Plugin11,
36
36
  name: () => name9
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai/effect";
@@ -190,15 +190,15 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin45 = {
193
+ var Plugin11 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service45;
197
- const fileMutation = yield* Service80;
198
- const environment = yield* Service81;
199
- const formatter = yield* Service46;
196
+ const access = yield* Service13;
197
+ const fileMutation = yield* Service27;
198
+ const environment = yield* Service75;
199
+ const formatter = yield* Service19;
200
200
  const location = yield* Service83;
201
- const permission = yield* Service55;
201
+ const permission = yield* Service58;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
203
  name: name9,
204
204
  options: { codemode: false, permission: "edit" },
@@ -276,4 +276,4 @@ var Plugin45 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name9, Input9, Output6, Plugin45, exports_edit };
279
+ export { name9, Input9, Output6, Plugin11, exports_edit };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service60
3
- } from "./ripgrep-58t0zvek.js";
2
+ Service64
3
+ } from "./generate-csmn30a6.js";
4
4
  import {
5
5
  Service83
6
- } from "./ripgrep-wyyb2rea.js";
6
+ } from "./generate-w43zhwmv.js";
7
7
  import {
8
- Service59
9
- } from "./ripgrep-2p6ra54c.js";
8
+ Service63
9
+ } from "./generate-6f3v2fef.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./ripgrep-xt0z8zst.js";
12
+ } from "./generate-xt0z8zst.js";
13
13
  import {
14
14
  File2,
15
- Service41
16
- } from "./ripgrep-c2rtzjd7.js";
15
+ Service56
16
+ } from "./generate-vyv0j8nn.js";
17
17
  import {
18
18
  __export
19
- } from "./ripgrep-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin29
25
+ Plugin: () => Plugin32
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin29 = define({
34
+ var Plugin32 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service41;
37
+ const discovery = yield* Service56;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service59;
39
+ const config = yield* Service63;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
43
  const location = yield* Service83;
44
- const watcher = yield* Service60;
44
+ const watcher = yield* Service64;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -180,4 +180,4 @@ function isUrl(source) {
180
180
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
181
181
  }
182
182
 
183
- export { Plugin29, exports_instruction };
183
+ export { Plugin32, exports_instruction };
@@ -1,53 +1,53 @@
1
+ import {
2
+ Service86,
3
+ node90
4
+ } from "./generate-qsh779tg.js";
1
5
  import {
2
6
  Service85,
3
7
  node89
4
- } from "./ripgrep-tqf554py.js";
5
- import {
6
- Service87,
7
- node91
8
- } from "./ripgrep-k28m6mdm.js";
8
+ } from "./generate-03efvwc7.js";
9
9
  import {
10
10
  Service83,
11
11
  node87
12
- } from "./ripgrep-wyyb2rea.js";
12
+ } from "./generate-w43zhwmv.js";
13
13
  import {
14
- Service60,
15
- node63
16
- } from "./ripgrep-58t0zvek.js";
14
+ Service64,
15
+ node66
16
+ } from "./generate-csmn30a6.js";
17
17
  import {
18
18
  awaitActivation2
19
- } from "./ripgrep-jztn5z23.js";
19
+ } from "./generate-47mgcevd.js";
20
20
  import {
21
21
  node17
22
- } from "./ripgrep-r5493qw4.js";
22
+ } from "./generate-22b1x2mz.js";
23
23
  import {
24
24
  Service9,
25
25
  node11
26
- } from "./ripgrep-zh7bbm8x.js";
26
+ } from "./generate-zh7bbm8x.js";
27
27
  import {
28
28
  __export
29
- } from "./ripgrep-9rqn6x4v.js";
29
+ } from "./generate-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service6,
36
- node: () => node8
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service6 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service6, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
46
  const location = yield* Service83;
47
- const watcher = yield* Service60;
48
- const bus = yield* Service85;
47
+ const watcher = yield* Service64;
48
+ const bus = yield* Service86;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service87;
50
+ const git = yield* Service85;
51
51
  const policy = yield* Service9;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service6.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node8 = makeLocationNode({
106
- service: Service6,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node63, FSUtil.node, node87, node91, node89, node17, node11]
108
+ deps: [node66, FSUtil.node, node87, node89, node90, node17, node11]
109
109
  });
110
110
 
111
- export { Service6, node8, exports_location_watcher };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./ripgrep-mnjz2ecc.js";
4
+ } from "./generate-h5j7qrbp.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./ripgrep-bwsv21wr.js";
7
+ } from "./generate-zs7h2624.js";
8
8
  import {
9
9
  latest2,
10
- Service59
11
- } from "./ripgrep-2p6ra54c.js";
10
+ Service63
11
+ } from "./generate-6f3v2fef.js";
12
12
  import {
13
13
  supports2,
14
- resolve3
15
- } from "./ripgrep-znpwn00m.js";
14
+ resolve2
15
+ } from "./generate-9t0hde1r.js";
16
16
  import {
17
17
  Document2
18
- } from "./ripgrep-epbqh0vp.js";
18
+ } from "./generate-pcty9z1k.js";
19
19
  import {
20
20
  observe2
21
- } from "./ripgrep-hpg1pkwy.js";
21
+ } from "./generate-hpg1pkwy.js";
22
22
  import {
23
23
  __export
24
- } from "./ripgrep-9rqn6x4v.js";
24
+ } from "./generate-9rqn6x4v.js";
25
25
 
26
26
  // src/config/plugin/provider.ts
27
27
  var exports_provider = {};
28
28
  __export(exports_provider, {
29
29
  ConfigProviderPlugin: () => exports_provider,
30
- Plugin: () => Plugin24,
30
+ Plugin: () => Plugin50,
31
31
  integrate: () => integrate2
32
32
  });
33
33
  import { define } from "@opencode/plugin/effect/plugin";
34
34
  import { Money } from "@opencode/schema/money";
35
35
  import { Effect } from "effect";
36
- var Plugin24 = define({
36
+ var Plugin50 = define({
37
37
  id: "opencode.config.provider",
38
38
  effect: Effect.fn(function* (ctx) {
39
- const config = yield* Service59;
39
+ const config = yield* Service63;
40
40
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
41
41
  yield* ctx.integration.transform((integrations) => {
42
42
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -116,7 +116,7 @@ var Plugin24 = define({
116
116
  if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base || repackaged))
117
117
  models.update(providerID, id, (model) => {
118
118
  model.variants = [
119
- ...resolve3({
119
+ ...resolve2({
120
120
  ...model,
121
121
  package: model.package ?? models.provider.get(providerID)?.provider.package
122
122
  })
@@ -215,7 +215,7 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
215
215
  models.update(providerID, id, (model) => {
216
216
  if (config.capabilities?.reasoning !== undefined)
217
217
  model.variants = [
218
- ...resolve3({ ...model, package: model.package ?? providerPackage }, supports2(config.capabilities.reasoning))
218
+ ...resolve2({ ...model, package: model.package ?? providerPackage }, supports2(config.capabilities.reasoning))
219
219
  ];
220
220
  if (config.variants !== undefined) {
221
221
  model.variants ??= [];
@@ -249,4 +249,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
249
249
  });
250
250
  }
251
251
 
252
- export { Plugin24, integrate2, exports_provider };
252
+ export { Plugin50, integrate2, exports_provider };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service85
3
- } from "./ripgrep-tqf554py.js";
2
+ Service86
3
+ } from "./generate-qsh779tg.js";
4
4
  import {
5
- Service79
6
- } from "./ripgrep-rw0vxzvv.js";
5
+ Service78
6
+ } from "./generate-s7jh2bt2.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  changes2,
12
12
  inherit2
13
- } from "./ripgrep-204s3925.js";
13
+ } from "./generate-204s3925.js";
14
14
  import {
15
- Service22,
15
+ Service42,
16
16
  awaitActivation2
17
- } from "./ripgrep-jztn5z23.js";
17
+ } from "./generate-47mgcevd.js";
18
18
  import {
19
19
  make12,
20
20
  requirements3,
21
21
  storage2
22
- } from "./ripgrep-k1r1j926.js";
22
+ } from "./generate-jsq7ewwj.js";
23
23
  import {
24
24
  __export
25
- } from "./ripgrep-9rqn6x4v.js";
25
+ } from "./generate-9rqn6x4v.js";
26
26
 
27
27
  // src/plugin.ts
28
28
  var exports_plugin2 = {};
@@ -30,23 +30,23 @@ __export(exports_plugin2, {
30
30
  Event: () => Event3,
31
31
  GuiBundle: () => GuiBundle2,
32
32
  ID: () => ID3,
33
- Info: () => Info5,
33
+ Info: () => Info4,
34
34
  Plugin: () => exports_plugin2,
35
- Service: () => Service22,
35
+ Service: () => Service42,
36
36
  Source: () => Source2,
37
37
  State: () => State2,
38
38
  awaitActivation: () => awaitActivation2,
39
39
  node: () => node17
40
40
  });
41
- import { Event as Event3, GuiBundle as GuiBundle2, ID as ID3, Info as Info5, Source as Source2, State as State2 } from "@opencode/schema/plugin";
41
+ import { Event as Event3, GuiBundle as GuiBundle2, ID as ID3, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
42
42
  import { readFile } from "node:fs/promises";
43
43
  import { fileURLToPath } from "node:url";
44
44
  import { Plugin } from "@opencode/schema/plugin";
45
45
  import { Node } from "@opencode/util/effect/app-node";
46
46
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
47
- var layer = Layer.effect(Service22, Effect.gen(function* () {
48
- const bus = yield* Service85;
49
- const kv = yield* Service79;
47
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
48
+ const bus = yield* Service86;
49
+ const kv = yield* Service78;
50
50
  const scope = yield* Scope.make();
51
51
  const active = new Map;
52
52
  const lock = Semaphore.makeUnsafe(1);
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
214
214
  yield* shutdown2(Scope.close(scope, exit));
215
215
  }));
216
216
  yield* Effect.addFinalizer(close);
217
- return Service22.of({
217
+ return Service42.of({
218
218
  activate,
219
219
  close,
220
220
  awaitActivation: ready.await,
@@ -233,9 +233,9 @@ function slotInfo(slot) {
233
233
  };
234
234
  }
235
235
  var node17 = Node.makeLocationNode({
236
- service: Service22,
236
+ service: Service42,
237
237
  layer,
238
238
  deps: [requirements3]
239
239
  });
240
240
 
241
- export { node17, exports_plugin2, Event3, GuiBundle2, ID3, Info5, Source2, State2 };
241
+ export { node17, exports_plugin2, Event3, GuiBundle2, ID3, Info4, Source2, State2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./ripgrep-9mv4bqkt.js";
2
+ Service87,
3
+ node91
4
+ } from "./generate-wresbwaf.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service85,
8
- node89
9
- } from "./ripgrep-tqf554py.js";
7
+ Service86,
8
+ node90
9
+ } from "./generate-qsh779tg.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./ripgrep-p015t6z3.js";
12
+ } from "./generate-p015t6z3.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./ripgrep-ec1grn59.js";
15
+ } from "./generate-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./ripgrep-d6x0x4gv.js";
18
+ } from "./generate-9d7mqhyt.js";
19
19
  import {
20
- Service56,
21
- node59
22
- } from "./ripgrep-ak3gvmya.js";
20
+ Service60,
21
+ node62
22
+ } from "./generate-kkdts8xr.js";
23
23
  import {
24
- Service18,
25
- node21
26
- } from "./ripgrep-waaaz1pk.js";
24
+ Service31,
25
+ node35
26
+ } from "./generate-as0atjke.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./ripgrep-r542h3bh.js";
30
+ } from "./generate-r542h3bh.js";
31
31
  import {
32
32
  __export
33
- } from "./ripgrep-9rqn6x4v.js";
33
+ } from "./generate-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer3,
42
- node: () => node3
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,12 +72,12 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
76
- const bus = yield* Service85;
75
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
76
+ const bus = yield* Service86;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service18;
79
- const store = yield* Service56;
80
- const db = (yield* Service86).db;
78
+ const context = yield* Service31;
79
+ const store = yield* Service60;
80
+ const db = (yield* Service87).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
83
83
  let failed = false;
@@ -160,12 +160,12 @@ Recent conversation:
160
160
  title: truncate(title)
161
161
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
162
162
  });
163
- return Service2.of({ generate });
163
+ return Service3.of({ generate });
164
164
  }));
165
- var node3 = makeLocationNode({
166
- service: Service2,
165
+ var node4 = makeLocationNode({
166
+ service: Service3,
167
167
  layer: layer3,
168
- deps: [node89, llmClient2, node21, node59, node90]
168
+ deps: [node90, llmClient2, node35, node62, node91]
169
169
  });
170
170
 
171
- export { Service2, isUntitled2, layer3, node3, exports_title };
171
+ export { Service3, isUntitled2, layer3, node4, exports_title };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID9,
3
- Service64
4
- } from "./ripgrep-zgd7st2n.js";
2
+ ID14,
3
+ Service80
4
+ } from "./generate-q18as39h.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service64;
12
+ const integrations = yield* Service80;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID9.make(item.provider.id)))
22
+ if (!configured.has(ID14.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-z5v4ffb3.js";
3
+ } from "./generate-z5v4ffb3.js";
4
4
  import {
5
5
  Service83
6
- } from "./ripgrep-wyyb2rea.js";
6
+ } from "./generate-w43zhwmv.js";
7
7
  import {
8
- Service59
9
- } from "./ripgrep-2p6ra54c.js";
8
+ Service63
9
+ } from "./generate-6f3v2fef.js";
10
10
  import {
11
- Service76
12
- } from "./ripgrep-b24mhxf9.js";
11
+ Service16
12
+ } from "./generate-f62s2454.js";
13
13
  import {
14
14
  observe2
15
- } from "./ripgrep-hpg1pkwy.js";
15
+ } from "./generate-hpg1pkwy.js";
16
16
  import {
17
17
  __export
18
- } from "./ripgrep-9rqn6x4v.js";
18
+ } from "./generate-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin34
24
+ Plugin: () => Plugin17
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin34 = define({
30
+ var Plugin17 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service59;
33
+ const config = yield* Service63;
34
34
  const location = yield* Service83;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service76;
36
+ const worktrees = yield* Service16;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin34 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin34, exports_worktree };
51
+ export { Plugin17, exports_worktree };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./ripgrep-g7esga4v.js";
2
+ render3
3
+ } from "./generate-8y4jps98.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -434,7 +434,7 @@ function make(id, optimize, mode = "override") {
434
434
  const system = event.system[0];
435
435
  if (!system)
436
436
  return;
437
- const rendered = render2(template, Object.keys(event.tools));
437
+ const rendered = render3(template, Object.keys(event.tools));
438
438
  const text = mode === "append" ? `${system.text}
439
439
 
440
440
  ${rendered}` : rendered;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./ripgrep-mnjz2ecc.js";
4
+ } from "./generate-h5j7qrbp.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";