@opencode/core 0.0.0-dev-19436 → 0.0.0-dev-19438

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +73 -73
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{generate-tqw8zxxy.js → file-03zt5v0h.js} +11 -11
  9. package/dist/chunks/{generate-4w9k0mjw.js → file-0bc9xa41.js} +15 -15
  10. package/dist/chunks/{generate-cysjstt0.js → file-0cq9sm51.js} +34 -34
  11. package/dist/chunks/{generate-ztcv1eyd.js → file-0kzzmtkd.js} +18 -18
  12. package/dist/chunks/{generate-jwx4y25k.js → file-0p4j4cv0.js} +9 -9
  13. package/dist/chunks/{generate-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{generate-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{generate-em4ar646.js → file-0tqgm7xh.js} +26 -26
  16. package/dist/chunks/{generate-6f6vgmrt.js → file-0z8fjeev.js} +11 -11
  17. package/dist/chunks/{generate-t7z3zppm.js → file-11h1hnb3.js} +2 -2
  18. package/dist/chunks/{generate-h1cbn5my.js → file-11tcp5y8.js} +4 -4
  19. package/dist/chunks/{generate-2ktqxpjb.js → file-1302kqpv.js} +56 -56
  20. package/dist/chunks/{generate-0nzybmd6.js → file-195b9hkp.js} +28 -28
  21. package/dist/chunks/{generate-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{generate-ccmz1r19.js → file-1enyjv7v.js} +13 -13
  23. package/dist/chunks/{generate-1pscxtyc.js → file-1tx98gn3.js} +14 -14
  24. package/dist/chunks/{generate-fq0va44m.js → file-1vd4786e.js} +9 -9
  25. package/dist/chunks/{generate-dpskyeh4.js → file-1wv7z5mx.js} +31 -31
  26. package/dist/chunks/{generate-aws7z9kx.js → file-206fxkvm.js} +17 -17
  27. package/dist/chunks/{generate-21r38tys.js → file-21r38tys.js} +1 -1
  28. package/dist/chunks/{generate-z63w68vq.js → file-29x78va6.js} +6 -6
  29. package/dist/chunks/{generate-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{generate-vyj892hr.js → file-2cmcktmr.js} +10 -10
  31. package/dist/chunks/{generate-72nr9cry.js → file-2ff89mrc.js} +4 -4
  32. package/dist/chunks/{generate-mmebaszg.js → file-2r4xr41j.js} +21 -21
  33. package/dist/chunks/{generate-tqfej29b.js → file-2rk3das1.js} +22 -22
  34. package/dist/chunks/{generate-d18798dz.js → file-2sgjhdq8.js} +29 -29
  35. package/dist/chunks/{generate-xz2sz7jr.js → file-31hyewty.js} +41 -41
  36. package/dist/chunks/{generate-1qkyvz7t.js → file-34202413.js} +22 -22
  37. package/dist/chunks/{generate-gjqr6zrn.js → file-37y0x4sa.js} +13 -13
  38. package/dist/chunks/{generate-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{generate-6q1acxff.js → file-3fj0ehej.js} +43 -43
  40. package/dist/chunks/{generate-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{generate-jp9jb5qe.js → file-3kff94q5.js} +5 -5
  42. package/dist/chunks/{generate-b1xvncj7.js → file-3kt1zrpp.js} +76 -76
  43. package/dist/chunks/{generate-39pny36r.js → file-3n1sj9mp.js} +1 -1
  44. package/dist/chunks/{generate-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{generate-fgh0kbhd.js → file-3trbxeqx.js} +1 -1
  46. package/dist/chunks/{generate-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{generate-e3mxans8.js → file-3w2b2yj4.js} +5 -5
  48. package/dist/chunks/{generate-mf9m2v67.js → file-3yjg5mh2.js} +3 -3
  49. package/dist/chunks/{generate-1n9n5b3d.js → file-3yknbgq7.js} +19 -19
  50. package/dist/chunks/{generate-ygw6154k.js → file-416qpt5q.js} +20 -20
  51. package/dist/chunks/{generate-xnpbk0pc.js → file-4qbtf2xm.js} +5 -5
  52. package/dist/chunks/{generate-zv3e7t68.js → file-4rpd5z62.js} +2 -2
  53. package/dist/chunks/{generate-5ks7kb4v.js → file-52az7e5h.js} +11 -11
  54. package/dist/chunks/{generate-33w4ejhs.js → file-56gdpj1q.js} +6 -6
  55. package/dist/chunks/{generate-c0y0jbg7.js → file-56j57pys.js} +15 -15
  56. package/dist/chunks/{generate-y60800f4.js → file-5cvqq58e.js} +3 -3
  57. package/dist/chunks/{generate-5daktx2q.js → file-5daktx2q.js} +1 -1
  58. package/dist/chunks/{generate-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{generate-mgx963cj.js → file-5trk58xb.js} +8 -8
  60. package/dist/chunks/{generate-pjg5vxkm.js → file-5z7h86dp.js} +5 -5
  61. package/dist/chunks/{generate-mkk216y0.js → file-614n5vxr.js} +14 -14
  62. package/dist/chunks/{generate-ypf30vrs.js → file-664j63h8.js} +20 -20
  63. package/dist/chunks/{generate-669tq793.js → file-669tq793.js} +1 -1
  64. package/dist/chunks/{generate-7wwfbcqc.js → file-67mjd9te.js} +9 -9
  65. package/dist/chunks/{generate-mm4qk4sz.js → file-69q31xtv.js} +4 -4
  66. package/dist/chunks/{generate-rqac2h8p.js → file-6bg31a94.js} +17 -17
  67. package/dist/chunks/{generate-2402vzrj.js → file-6h73sxmp.js} +5 -5
  68. package/dist/chunks/{generate-f2daj8m5.js → file-6jekb6p7.js} +15 -15
  69. package/dist/chunks/{generate-sw3r3x1t.js → file-6jnybvqn.js} +2 -2
  70. package/dist/chunks/{generate-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{generate-71q4at8m.js → file-71q4at8m.js} +1 -1
  72. package/dist/chunks/{generate-h0hnsk02.js → file-75v5avbv.js} +9 -9
  73. package/dist/chunks/{generate-1yrdzb9h.js → file-79rym0vx.js} +15 -15
  74. package/dist/chunks/{generate-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{generate-7dqw4kz8.js → file-7dqw4kz8.js} +1 -1
  76. package/dist/chunks/{generate-cpy6gm2a.js → file-7ebn0nc0.js} +4 -4
  77. package/dist/chunks/{generate-mhkvc446.js → file-7yh4e7ss.js} +3 -3
  78. package/dist/chunks/{generate-3e8pesde.js → file-81swgkk7.js} +9 -9
  79. package/dist/chunks/{generate-7b15y959.js → file-844ef7ks.js} +8 -8
  80. package/dist/chunks/{generate-m27pyyd3.js → file-84tssp1s.js} +6 -6
  81. package/dist/chunks/{generate-r01t9b5y.js → file-87deq66t.js} +6 -6
  82. package/dist/chunks/{generate-mfhfdr54.js → file-88sz8qcd.js} +4 -4
  83. package/dist/chunks/{generate-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{generate-ay6pntn3.js → file-8kpa3sfw.js} +25 -25
  85. package/dist/chunks/{generate-vxqvp5m2.js → file-8n8qbvvf.js} +29 -29
  86. package/dist/chunks/{generate-dj2t23y0.js → file-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{generate-vyxhsqdc.js → file-8pnwjqbd.js} +23 -23
  88. package/dist/chunks/{generate-aygt8q9r.js → file-8qqdnwax.js} +15 -15
  89. package/dist/chunks/{generate-eagyeves.js → file-8s0m5yrh.js} +18 -18
  90. package/dist/chunks/{generate-dp5bsb0e.js → file-8s84r2ab.js} +17 -17
  91. package/dist/chunks/{generate-k8962brh.js → file-8x96bj0m.js} +4 -4
  92. package/dist/chunks/{generate-52fpbh6z.js → file-91p1v22t.js} +8 -8
  93. package/dist/chunks/{generate-pggbgfqn.js → file-99tcg3bm.js} +11 -11
  94. package/dist/chunks/{generate-ta4djbce.js → file-9ay0erd8.js} +153 -153
  95. package/dist/chunks/{generate-sygp3w95.js → file-9bj2cvf7.js} +9 -9
  96. package/dist/chunks/{generate-vd9xqktw.js → file-9ch41db7.js} +44 -44
  97. package/dist/chunks/{generate-k16ay38w.js → file-9k2v62xn.js} +1 -1
  98. package/dist/chunks/{generate-srkwgq29.js → file-9v3118pd.js} +28 -28
  99. package/dist/chunks/{generate-k7gbetc5.js → file-9vqmh8rd.js} +25 -25
  100. package/dist/chunks/{generate-gp6jffzn.js → file-9yb9755z.js} +13 -13
  101. package/dist/chunks/{generate-5c4hm403.js → file-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{generate-ebhw3mq4.js → file-a28msnrx.js} +4 -4
  103. package/dist/chunks/{generate-aaet6srn.js → file-aaet6srn.js} +2 -2
  104. package/dist/chunks/{generate-xj0bxjy7.js → file-agmzfzv5.js} +16 -16
  105. package/dist/chunks/{generate-ve4pfa0n.js → file-an7cqtb7.js} +4 -4
  106. package/dist/chunks/{generate-m1sc7qpq.js → file-ashvqh0k.js} +4 -4
  107. package/dist/chunks/{generate-wzymtbz6.js → file-awz7xhfp.js} +4 -4
  108. package/dist/chunks/{generate-s64cbx49.js → file-azec8exe.js} +7 -7
  109. package/dist/chunks/{generate-mj59rbhw.js → file-b3ab3ctg.js} +6 -6
  110. package/dist/chunks/{generate-hc7vzb2a.js → file-b3c6xmwh.js} +18 -18
  111. package/dist/chunks/{generate-39r80e1r.js → file-b3wkxfg9.js} +1 -1
  112. package/dist/chunks/{generate-adr43mc1.js → file-b3xk0srv.js} +33 -33
  113. package/dist/chunks/{generate-83h91mzx.js → file-b4ssmz4r.js} +9 -9
  114. package/dist/chunks/{generate-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{generate-1p8pj4gq.js → file-b8n110tt.js} +5 -5
  116. package/dist/chunks/{generate-7tnppf00.js → file-befft0k5.js} +12 -12
  117. package/dist/chunks/{generate-4qftt0ad.js → file-bv5t9bgg.js} +10 -10
  118. package/dist/chunks/file-bxsmgxt8.js +22 -0
  119. package/dist/chunks/{generate-czz1mk0t.js → file-bxxxhdn8.js} +17 -17
  120. package/dist/chunks/{generate-ezt0m903.js → file-c4vq1gr4.js} +25 -25
  121. package/dist/chunks/{generate-q4fmv0xv.js → file-ce5fknq2.js} +5 -5
  122. package/dist/chunks/{generate-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{generate-j5nsxvak.js → file-ck83t0ny.js} +32 -32
  124. package/dist/chunks/{generate-krm885fd.js → file-cqyrr4jp.js} +75 -75
  125. package/dist/chunks/{generate-yayba5wy.js → file-d1xvm4af.js} +15 -15
  126. package/dist/chunks/{generate-h1fvy1gd.js → file-d5n4bh35.js} +24 -24
  127. package/dist/chunks/{generate-5bsnye8q.js → file-d86az2qg.js} +25 -25
  128. package/dist/chunks/{generate-6ya4w7xv.js → file-dgbe4bt1.js} +12 -12
  129. package/dist/chunks/file-dk9ef0gz.js +247 -0
  130. package/dist/chunks/{generate-8467n133.js → file-dx6t03ys.js} +2 -2
  131. package/dist/chunks/{generate-1f4gyz0n.js → file-e3qzfmye.js} +15 -15
  132. package/dist/chunks/{generate-v0k42p31.js → file-e6g776ht.js} +18 -18
  133. package/dist/chunks/{generate-mfz1jzpf.js → file-e7c5hh0v.js} +7 -7
  134. package/dist/chunks/{generate-jxt422gf.js → file-e7n26ax2.js} +8 -8
  135. package/dist/chunks/{generate-h6z8d5tn.js → file-ec8389mk.js} +4 -4
  136. package/dist/chunks/{generate-htw1ycyk.js → file-egqspz5t.js} +5 -5
  137. package/dist/chunks/{generate-ca7w653e.js → file-embw8kgh.js} +4 -4
  138. package/dist/chunks/{generate-r9babyk8.js → file-esdnemd6.js} +1 -1
  139. package/dist/chunks/{generate-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{generate-jqcr0tvq.js → file-ew6y6y1a.js} +26 -26
  141. package/dist/chunks/{generate-6g3dpzke.js → file-eykg37vx.js} +15 -15
  142. package/dist/chunks/{generate-98f102c3.js → file-f3kdsvs6.js} +21 -21
  143. package/dist/chunks/{generate-hdnk95c8.js → file-f828m53h.js} +2 -2
  144. package/dist/chunks/{generate-8gkxrww8.js → file-famamp43.js} +15 -15
  145. package/dist/chunks/{generate-abw1kwbq.js → file-fec1vscd.js} +39 -39
  146. package/dist/chunks/{generate-gtq86vsq.js → file-ff8vf18q.js} +7 -7
  147. package/dist/chunks/{generate-t0x5rdq8.js → file-fjmrr6sh.js} +9 -9
  148. package/dist/chunks/{generate-fygdb7h7.js → file-fq1h1v14.js} +3 -3
  149. package/dist/chunks/{generate-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{generate-hr1ws8e2.js → file-fydnx5fx.js} +37 -37
  151. package/dist/chunks/{generate-v894zy29.js → file-fzsrmebp.js} +20 -20
  152. package/dist/chunks/{generate-9bz2v5s0.js → file-g5twr0sp.js} +14 -14
  153. package/dist/chunks/{generate-x4x0qw1a.js → file-g713qgch.js} +24 -24
  154. package/dist/chunks/{generate-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{generate-0wtspe5f.js → file-gj4x8zz6.js} +15 -15
  156. package/dist/chunks/{generate-mnv392bk.js → file-gj7pn1ka.js} +11 -11
  157. package/dist/chunks/{generate-cdtwy1r3.js → file-gqzswqpg.js} +32 -32
  158. package/dist/chunks/{generate-qrfzss76.js → file-gtwpvwn0.js} +58 -58
  159. package/dist/chunks/{generate-yyb7tjpc.js → file-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{generate-vyqn3nqs.js → file-gzbkpp9m.js} +4 -4
  161. package/dist/chunks/{generate-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{generate-f8q7mv7a.js → file-h2gyv3sg.js} +1 -1
  163. package/dist/chunks/{generate-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{generate-b7rrt7yp.js → file-he3a9kdv.js} +23 -23
  165. package/dist/chunks/{generate-vzm76b3t.js → file-hq8zt1th.js} +6 -6
  166. package/dist/chunks/file-ht5y0zrb.js +18 -0
  167. package/dist/chunks/{generate-60a2mxse.js → file-j2j5pzjs.js} +5 -5
  168. package/dist/chunks/{generate-j56e64zr.js → file-j56e64zr.js} +1 -1
  169. package/dist/chunks/{generate-paphc93g.js → file-j935v87r.js} +2 -2
  170. package/dist/chunks/{generate-8j9290cj.js → file-ja6srv6s.js} +31 -31
  171. package/dist/chunks/{generate-tqskq136.js → file-jh9jg79a.js} +11 -11
  172. package/dist/chunks/{generate-460qmyvt.js → file-jhtsdbae.js} +16 -16
  173. package/dist/chunks/{generate-e1rvn8vw.js → file-jjwvsmw4.js} +6 -6
  174. package/dist/chunks/{generate-z5f02dmr.js → file-jvdqbckk.js} +12 -12
  175. package/dist/chunks/{generate-y71avatq.js → file-jwcy2c2z.js} +4 -4
  176. package/dist/chunks/{generate-8yay56x4.js → file-jxj1g7d6.js} +5 -5
  177. package/dist/chunks/{generate-282ycpdt.js → file-k2cps1w2.js} +14 -14
  178. package/dist/chunks/{generate-wy2fjyd3.js → file-k4t1n3ds.js} +5 -5
  179. package/dist/chunks/{generate-p2ms2xer.js → file-kcvfr73y.js} +46 -46
  180. package/dist/chunks/{generate-kg06axw8.js → file-kg06axw8.js} +1 -1
  181. package/dist/chunks/{generate-p2r27tsk.js → file-kk4kf303.js} +11 -11
  182. package/dist/chunks/{generate-27pxjv6r.js → file-kkmk6wev.js} +11 -11
  183. package/dist/chunks/{generate-kyrbgmgz.js → file-kyrbgmgz.js} +2 -2
  184. package/dist/chunks/{generate-61b2b0jm.js → file-m20ewzpv.js} +30 -30
  185. package/dist/chunks/{generate-qvj9tamg.js → file-m2eczmet.js} +287 -287
  186. package/dist/chunks/{generate-q3pfqd80.js → file-m4w483hc.js} +6 -6
  187. package/dist/chunks/{generate-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{generate-kqphnfc4.js → file-mdcc0ar8.js} +26 -26
  189. package/dist/chunks/{generate-mkcjrzeh.js → file-mkcjrzeh.js} +1 -1
  190. package/dist/chunks/{generate-z69s9t6b.js → file-mrw4weg4.js} +5 -5
  191. package/dist/chunks/{generate-zkpb4mnd.js → file-ms6rwfbv.js} +28 -28
  192. package/dist/chunks/{generate-4mef8aht.js → file-n2egqj3k.js} +10 -10
  193. package/dist/chunks/{generate-ss43wqfj.js → file-n3ehebhz.js} +12 -12
  194. package/dist/chunks/{generate-jesy7fcc.js → file-n92g5px8.js} +17 -17
  195. package/dist/chunks/{generate-1k2mzmz4.js → file-ngx16gc5.js} +12 -12
  196. package/dist/chunks/{generate-nhy5jxhy.js → file-nhy5jxhy.js} +1 -1
  197. package/dist/chunks/{generate-7d9ys0qb.js → file-nmpjh5tr.js} +32 -32
  198. package/dist/chunks/{generate-6h2n816c.js → file-nmwa5e32.js} +13 -13
  199. package/dist/chunks/{generate-0ctcqb5r.js → file-nrj82zgb.js} +26 -26
  200. package/dist/chunks/{generate-wfvawqgc.js → file-nrrb2a3e.js} +19 -19
  201. package/dist/chunks/{generate-sj0pg1d2.js → file-ntp00jbn.js} +34 -34
  202. package/dist/chunks/{generate-v5hpcsb0.js → file-p1nm93x7.js} +5 -5
  203. package/dist/chunks/{generate-7pfda458.js → file-p7r5e3re.js} +27 -27
  204. package/dist/chunks/{generate-49s5q05k.js → file-pd9nar43.js} +23 -23
  205. package/dist/chunks/{generate-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{generate-pknna89w.js → file-pknna89w.js} +1 -1
  207. package/dist/chunks/{generate-2gpyj5kx.js → file-pnfpsavj.js} +5 -5
  208. package/dist/chunks/{generate-bny867va.js → file-pvp2wc9z.js} +11 -11
  209. package/dist/chunks/{generate-1wj59nq5.js → file-q043d12m.js} +11 -11
  210. package/dist/chunks/{generate-0xma9y6h.js → file-q5sxxe7s.js} +15 -15
  211. package/dist/chunks/{generate-g6vpggfr.js → file-qacd23e2.js} +4 -4
  212. package/dist/chunks/{generate-3v0kbfet.js → file-qaeybh9m.js} +6 -6
  213. package/dist/chunks/{generate-bs2kgc24.js → file-qbka3964.js} +23 -23
  214. package/dist/chunks/{generate-sex50t12.js → file-qcv4hsrb.js} +13 -13
  215. package/dist/chunks/{generate-az4749a7.js → file-qefhz522.js} +11 -11
  216. package/dist/chunks/{generate-qsdy395h.js → file-qsdy395h.js} +1 -1
  217. package/dist/chunks/{generate-x43y2vfs.js → file-r9mregkx.js} +3 -3
  218. package/dist/chunks/{generate-yjaa8gp1.js → file-rb7pkpgx.js} +27 -27
  219. package/dist/chunks/{generate-fbyxhnwk.js → file-rbb6h0rd.js} +11 -11
  220. package/dist/chunks/{generate-gasky795.js → file-rbwxp75v.js} +36 -36
  221. package/dist/chunks/{generate-yycwsgqa.js → file-rctdwqm8.js} +11 -11
  222. package/dist/chunks/{generate-ktppz2xf.js → file-reygygas.js} +6 -6
  223. package/dist/chunks/{generate-dk6e62g5.js → file-rn18s34v.js} +9 -9
  224. package/dist/chunks/{generate-n76fdqym.js → file-rs226bz6.js} +5 -5
  225. package/dist/chunks/{generate-9r6hh7kf.js → file-rywfhtnt.js} +19 -19
  226. package/dist/chunks/{generate-w0vj055n.js → file-s3h59be2.js} +24 -24
  227. package/dist/chunks/{generate-yrznvahk.js → file-s4enseaf.js} +2 -2
  228. package/dist/chunks/{generate-4vz798w9.js → file-s7vx81dz.js} +9 -9
  229. package/dist/chunks/{generate-69kxc8pj.js → file-sb15f9kd.js} +15 -15
  230. package/dist/chunks/{generate-n48wz30s.js → file-sqmt1xrx.js} +29 -29
  231. package/dist/chunks/{generate-evq6r5pz.js → file-szgy4byf.js} +4 -4
  232. package/dist/chunks/{generate-64s65d1n.js → file-t33aqq77.js} +5 -5
  233. package/dist/chunks/{generate-efqcpyxk.js → file-t3ejw313.js} +41 -41
  234. package/dist/chunks/{generate-rhjbct0v.js → file-t550f9t1.js} +4 -4
  235. package/dist/chunks/{generate-0jkkj5x0.js → file-t9qhnrv6.js} +6 -6
  236. package/dist/chunks/{generate-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{generate-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{generate-7gqemh59.js → file-td1bwv9m.js} +7 -7
  239. package/dist/chunks/{generate-tdstcens.js → file-tdstcens.js} +1 -1
  240. package/dist/chunks/{generate-nyb0p7a8.js → file-tfg00z1r.js} +15 -15
  241. package/dist/chunks/{generate-y24frd6r.js → file-tsdrwk88.js} +11 -11
  242. package/dist/chunks/{generate-tvtrv512.js → file-tvtrv512.js} +1 -1
  243. package/dist/chunks/{generate-mxnz8za5.js → file-v3smhzc7.js} +12 -12
  244. package/dist/chunks/{generate-azsc15mm.js → file-v9n7g2jp.js} +50 -50
  245. package/dist/chunks/{generate-ksz0h0wp.js → file-vabb23s0.js} +1 -1
  246. package/dist/chunks/{generate-veqvce7d.js → file-veqvce7d.js} +1 -1
  247. package/dist/chunks/{generate-wdgp3mgb.js → file-verq85zk.js} +4 -4
  248. package/dist/chunks/{generate-81z6ssen.js → file-vjjshyym.js} +24 -24
  249. package/dist/chunks/{generate-b8ppthjy.js → file-vq3dh784.js} +23 -23
  250. package/dist/chunks/{generate-cavr175a.js → file-vsp1fds9.js} +21 -21
  251. package/dist/chunks/{generate-96yt6zt0.js → file-vypqtakx.js} +1 -1
  252. package/dist/chunks/{generate-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{generate-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{generate-s13d9hm5.js → file-w6vgwbtw.js} +47 -47
  255. package/dist/chunks/{generate-99qv6bna.js → file-wb1yzg53.js} +20 -20
  256. package/dist/chunks/{generate-bp2j6a1f.js → file-wc01vwq2.js} +17 -17
  257. package/dist/chunks/{generate-wd87259q.js → file-wd87259q.js} +1 -1
  258. package/dist/chunks/{generate-zpja4yre.js → file-wh05710z.js} +40 -40
  259. package/dist/chunks/{generate-pkmfek68.js → file-wkwfxgj3.js} +4 -4
  260. package/dist/chunks/{generate-59jshr4n.js → file-wxg97684.js} +29 -29
  261. package/dist/chunks/{generate-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{generate-2xsd6cxc.js → file-x5df1stp.js} +57 -57
  263. package/dist/chunks/{generate-znesh5ka.js → file-xacpwbjs.js} +9 -9
  264. package/dist/chunks/{generate-njqcqwne.js → file-xbet31bz.js} +32 -32
  265. package/dist/chunks/{generate-daf03bc6.js → file-xck56rmx.js} +34 -34
  266. package/dist/chunks/{generate-0yr4mqa9.js → file-xe3tttza.js} +10 -10
  267. package/dist/chunks/{generate-xvaj3ykh.js → file-xncegbyh.js} +6 -6
  268. package/dist/chunks/{generate-hp8a6key.js → file-xnn90w67.js} +27 -27
  269. package/dist/chunks/{generate-4r6mae84.js → file-xp2ajnz8.js} +24 -24
  270. package/dist/chunks/{generate-d9a9xnav.js → file-xr2q0tqq.js} +23 -23
  271. package/dist/chunks/{generate-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{generate-h5yrfjqd.js → file-y2vrj84a.js} +10 -10
  273. package/dist/chunks/{generate-09atk14q.js → file-yc3z3e63.js} +13 -13
  274. package/dist/chunks/{generate-yddgxcp4.js → file-yddgxcp4.js} +2 -2
  275. package/dist/chunks/{generate-yp2x3t23.js → file-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{generate-jexg7ppr.js → file-ypy1tgyh.js} +13 -13
  277. package/dist/chunks/{generate-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{generate-jwbqhvyy.js → file-yt0fqk68.js} +5 -5
  279. package/dist/chunks/{generate-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{generate-92s5ptt1.js → file-z2maercm.js} +32 -32
  281. package/dist/chunks/{generate-46d75zpd.js → file-z2rxccdg.js} +9 -9
  282. package/dist/chunks/{generate-rq775frq.js → file-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{generate-cv20tjt8.js → file-zfv8a0ht.js} +11 -11
  284. package/dist/chunks/{generate-k53abcyj.js → file-zh30k3px.js} +9 -9
  285. package/dist/chunks/{generate-zmcvkbyh.js → file-zn15gz72.js} +15 -15
  286. package/dist/chunks/{generate-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{generate-ks5znfvj.js → file-zts5fb25.js} +11 -11
  288. package/dist/chunks/{generate-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +3 -3
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +115 -115
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +79 -79
  321. package/dist/database/database.js +72 -72
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +216 -216
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +95 -95
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +80 -80
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +75 -75
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +91 -91
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +74 -74
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +108 -108
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +339 -339
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin.js +216 -216
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +82 -82
  561. package/dist/reference/instructions.js +80 -80
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +127 -127
  571. package/dist/session/context.js +143 -143
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +216 -216
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +84 -84
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +75 -75
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +88 -88
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +122 -122
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +223 -223
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +145 -145
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +215 -215
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +207 -207
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +2 -2
  623. package/dist/skill/instructions.js +100 -100
  624. package/dist/skill.js +103 -103
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +121 -121
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +118 -118
  633. package/dist/tool/plugin/grep.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +98 -98
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +212 -212
  639. package/dist/tool/plugin/skill.js +106 -106
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +109 -109
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +79 -79
  675. package/dist/websearch.js +80 -80
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +79 -79
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +76 -76
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +340 -340
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +87 -87
  686. package/package.json +8 -8
  687. package/dist/chunks/generate-kn2ed1ny.js +0 -247
  688. package/dist/chunks/generate-nn82kedb.js +0 -22
  689. package/dist/chunks/generate-vnkjks7b.js +0 -18
  690. /package/dist/chunks/{generate-0mesazry.js → file-0mesazry.js} +0 -0
  691. /package/dist/chunks/{generate-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{generate-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{generate-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{generate-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{generate-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{generate-2710q6r3.js → file-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{generate-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{generate-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{generate-359p4xyc.js → file-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{generate-3asan66x.js → file-3asan66x.js} +0 -0
  701. /package/dist/chunks/{generate-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{generate-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{generate-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{generate-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{generate-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{generate-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{generate-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{generate-53557ph1.js → file-53557ph1.js} +0 -0
  709. /package/dist/chunks/{generate-550bvhaj.js → file-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{generate-6prwharc.js → file-6prwharc.js} +0 -0
  711. /package/dist/chunks/{generate-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{generate-7m9af43g.js → file-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{generate-822emrt2.js → file-822emrt2.js} +0 -0
  714. /package/dist/chunks/{generate-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{generate-8n3pysct.js → file-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{generate-922hggd3.js → file-922hggd3.js} +0 -0
  717. /package/dist/chunks/{generate-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{generate-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{generate-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{generate-af5trqkr.js → file-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{generate-afrmfg78.js → file-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{generate-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{generate-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{generate-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{generate-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{generate-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{generate-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{generate-d9fn303g.js → file-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{generate-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{generate-dajrwvna.js → file-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{generate-dap0rakb.js → file-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{generate-df08tz66.js → file-df08tz66.js} +0 -0
  733. /package/dist/chunks/{generate-dy18nga0.js → file-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{generate-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{generate-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{generate-ec1grn59.js → file-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{generate-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{generate-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{generate-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{generate-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{generate-faypxj3z.js → file-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{generate-fd410y7t.js → file-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{generate-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{generate-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{generate-g86h250q.js → file-g86h250q.js} +0 -0
  746. /package/dist/chunks/{generate-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{generate-gftt206x.js → file-gftt206x.js} +0 -0
  748. /package/dist/chunks/{generate-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{generate-hk9envan.js → file-hk9envan.js} +0 -0
  750. /package/dist/chunks/{generate-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{generate-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{generate-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{generate-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{generate-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{generate-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{generate-mp448xyj.js → file-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{generate-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{generate-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{generate-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{generate-njntx4h6.js → file-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{generate-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{generate-q74kybfr.js → file-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{generate-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{generate-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{generate-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{generate-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{generate-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{generate-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{generate-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{generate-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{generate-twg0f83k.js → file-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{generate-w803qqfp.js → file-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{generate-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{generate-wtztk69x.js → file-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{generate-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{generate-x61499pn.js → file-x61499pn.js} +0 -0
  777. /package/dist/chunks/{generate-y44na4kk.js → file-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{generate-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{generate-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{generate-ym463w8f.js → file-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{generate-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./generate-3w5fmr99.js";
7
+ } from "./file-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./generate-x43y2vfs.js";
11
+ } from "./file-r9mregkx.js";
12
12
  import {
13
13
  create3
14
- } from "./generate-kg06axw8.js";
15
- import {
16
- Service55,
17
- node59
18
- } from "./generate-sygp3w95.js";
14
+ } from "./file-kg06axw8.js";
19
15
  import {
20
16
  Service62,
21
- node66
22
- } from "./generate-mgx963cj.js";
17
+ node65
18
+ } from "./file-9bj2cvf7.js";
19
+ import {
20
+ Service71,
21
+ node75
22
+ } from "./file-5trk58xb.js";
23
23
  import {
24
24
  match2
25
- } from "./generate-y1fvbwt7.js";
25
+ } from "./file-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./generate-9rqn6x4v.js";
28
+ } from "./file-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error4,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service54,
38
+ Service: () => Service38,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node58
41
+ node: () => node42
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service54 extends Context.Service()("@opencode/Tool") {
54
+ class Service38 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service54, Effect.gen(function* () {
57
- const hooks = yield* Service62;
58
- const image = yield* Service55;
56
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
57
+ const hooks = yield* Service71;
58
+ const image = yield* Service62;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service54.of({
183
+ return Service38.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node58 = makeLocationNode({
266
- service: Service54,
265
+ var node42 = makeLocationNode({
266
+ service: Service38,
267
267
  layer,
268
- deps: [node66, node59]
268
+ deps: [node75, node65]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service54, node58, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service38, node42, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./generate-z63w68vq.js";
3
+ } from "./file-29x78va6.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service65
3
- } from "./generate-rqac2h8p.js";
2
+ Service72
3
+ } from "./file-6bg31a94.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,18 +10,18 @@ import {
10
10
  deletePatch2,
11
11
  countPatch2,
12
12
  chunksByFile2
13
- } from "./generate-tazgh4e4.js";
13
+ } from "./file-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./generate-mxnz8za5.js";
16
+ } from "./file-v3smhzc7.js";
17
17
  import {
18
18
  __export
19
- } from "./generate-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin15,
24
+ Plugin: () => Plugin39,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin15 = define({
33
+ var Plugin39 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service65;
36
+ const location = yield* Service72;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin15, exports_hg };
191
+ export { Plugin39, exports_hg };
@@ -1,21 +1,21 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./generate-ztcv1eyd.js";
2
+ Service78,
3
+ node82
4
+ } from "./file-0kzzmtkd.js";
5
5
  import {
6
- Service65,
7
- node69
8
- } from "./generate-rqac2h8p.js";
6
+ Service72,
7
+ node76
8
+ } from "./file-6bg31a94.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./generate-ec1grn59.js";
11
+ } from "./file-ec1grn59.js";
12
12
  import {
13
- Service59,
14
- node63
15
- } from "./generate-dp5bsb0e.js";
13
+ Service56,
14
+ node59
15
+ } from "./file-8s84r2ab.js";
16
16
  import {
17
17
  __export
18
- } from "./generate-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
@@ -35,10 +35,10 @@ var InjectedMetadata = Schema.Struct({
35
35
  class Service8 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
37
  var layer = Layer.effect(Service8, Effect.gen(function* () {
38
- const bus = yield* Service79;
38
+ const bus = yield* Service78;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service59;
41
- const location = yield* Service65;
40
+ const store = yield* Service56;
41
+ const location = yield* Service72;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -98,7 +98,7 @@ function describePath(root, path) {
98
98
  var node11 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node84, FSUtil.node, node69, node63]
101
+ deps: [node82, FSUtil.node, node76, node59]
102
102
  });
103
103
 
104
104
  export { Service8, node11, exports_instructions };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID18,
2
+ ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./generate-m27pyyd3.js";
5
+ } from "./file-84tssp1s.js";
6
6
  import {
7
- ID13
8
- } from "./generate-9bz2v5s0.js";
7
+ ID15
8
+ } from "./file-g5twr0sp.js";
9
9
  import {
10
- Service79
11
- } from "./generate-ztcv1eyd.js";
10
+ Service78
11
+ } from "./file-0kzzmtkd.js";
12
12
  import {
13
13
  OAuth3,
14
14
  Event18
15
- } from "./generate-em4ar646.js";
15
+ } from "./file-0tqgm7xh.js";
16
16
  import {
17
- ID14,
17
+ ID10,
18
18
  MethodID2
19
- } from "./generate-59jshr4n.js";
19
+ } from "./file-wxg97684.js";
20
20
  import {
21
- Service71
22
- } from "./generate-srkwgq29.js";
21
+ Service59
22
+ } from "./file-9v3118pd.js";
23
23
  import {
24
24
  get2
25
- } from "./generate-6f6vgmrt.js";
25
+ } from "./file-0z8fjeev.js";
26
26
  import {
27
27
  useragent2
28
- } from "./generate-1wj59nq5.js";
28
+ } from "./file-q043d12m.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID14.make("github-copilot"),
60
+ integrationID: ID10.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,8 +155,8 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service71;
159
- const bus = yield* Service79;
158
+ const catalog = yield* Service59;
159
+ const bus = yield* Service78;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
162
162
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID18.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID16.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
176
  try: () => get2(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID18.githubCopilot);
190
+ const item = evt.provider.get(ID16.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID13.make(id)))
195
+ if (!loaded.models.has(ID15.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID13.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID13.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID18.githubCopilot)
220
+ if (evt.model.providerID !== ID16.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID18.githubCopilot)
229
+ if (evt.model.providerID !== ID16.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID18.githubCopilot });
239
+ }), { providerID: ID16.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID18.githubCopilot)
241
+ if (evt.model.providerID !== ID16.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID18.githubCopilot });
249
+ }), { providerID: ID16.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID18.githubCopilot)
251
+ if (evt.model.providerID !== ID16.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./generate-rhjbct0v.js";
8
+ } from "./file-t550f9t1.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./generate-ec1grn59.js";
11
+ } from "./file-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./generate-5c4hm403.js";
15
+ } from "./file-a1bz86dw.js";
16
16
  import {
17
17
  __export
18
- } from "./generate-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  call2
3
- } from "./generate-33w4ejhs.js";
3
+ } from "./file-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin20,
11
+ Plugin: () => Plugin35,
12
12
  WebSearchExa: () => exports_exa,
13
13
  endpoint: () => endpoint5
14
14
  });
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin20 = define({
30
+ var Plugin35 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint5, Plugin20, exports_exa };
83
+ export { endpoint5, Plugin35, exports_exa };
@@ -1,49 +1,49 @@
1
1
  import {
2
- ID18,
2
+ ID16,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./generate-m27pyyd3.js";
8
+ } from "./file-84tssp1s.js";
9
9
  import {
10
- Service72,
11
- node77
12
- } from "./generate-mnv392bk.js";
10
+ Service54,
11
+ node57
12
+ } from "./file-gj7pn1ka.js";
13
13
  import {
14
14
  map2
15
- } from "./generate-t7z3zppm.js";
15
+ } from "./file-11h1hnb3.js";
16
16
  import {
17
- ID13,
17
+ ID15,
18
18
  VariantID2,
19
- Ref3
20
- } from "./generate-9bz2v5s0.js";
19
+ Ref4
20
+ } from "./file-g5twr0sp.js";
21
21
  import {
22
- ID14,
23
- Service73,
24
- node78
25
- } from "./generate-59jshr4n.js";
22
+ ID10,
23
+ Service60,
24
+ node63
25
+ } from "./file-wxg97684.js";
26
26
  import {
27
- Service71,
28
- node76
29
- } from "./generate-srkwgq29.js";
27
+ Service59,
28
+ node62
29
+ } from "./file-9v3118pd.js";
30
30
  import {
31
31
  __export
32
- } from "./generate-9rqn6x4v.js";
32
+ } from "./file-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service70,
38
+ Service: () => Service52,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
42
42
  VariantUnavailableError: () => VariantUnavailableError3,
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
- layer: () => layer23,
46
- node: () => node75,
45
+ layer: () => layer20,
46
+ node: () => node55,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID18,
57
- modelID: ID13,
56
+ providerID: ID16,
57
+ modelID: ID15,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID18,
67
- modelID: ID13,
66
+ providerID: ID16,
67
+ modelID: ID15,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID18,
77
- modelID: ID13,
76
+ providerID: ID16,
77
+ modelID: ID15,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID18,
87
- modelID: ID13,
86
+ providerID: ID16,
87
+ modelID: ID15,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service70 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service52 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer23 = Layer.effect(Service70, Effect.gen(function* () {
222
- const catalog = yield* Service71;
223
- const integrations = yield* Service73;
221
+ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
222
+ const catalog = yield* Service59;
223
+ const integrations = yield* Service60;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service72;
225
+ const aisdk = yield* Service54;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -235,7 +235,7 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
235
235
  const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
236
236
  return {
237
237
  model: runtime,
238
- ref: Ref3.make({
238
+ ref: Ref4.make({
239
239
  id: selected.id,
240
240
  providerID: selected.providerID,
241
241
  ...variant === undefined ? {} : { variant }
@@ -247,7 +247,7 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
247
247
  websocket: selected.websocket ?? false
248
248
  };
249
249
  });
250
- return Service70.of({
250
+ return Service52.of({
251
251
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
252
252
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
253
253
  if (!selected)
@@ -264,10 +264,10 @@ function usesAPIKeyAuth(packageName) {
264
264
  const name = packageName2(packageName);
265
265
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
266
266
  }
267
- var node75 = makeLocationNode({
268
- service: Service70,
269
- layer: layer23,
270
- deps: [node76, node78, Npm.node, node77]
267
+ var node55 = makeLocationNode({
268
+ service: Service52,
269
+ layer: layer20,
270
+ deps: [node62, node63, Npm.node, node57]
271
271
  });
272
272
 
273
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service70, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node75, exports_model_resolver };
273
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service52, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node55, exports_model_resolver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make20,
21
+ make: () => make19,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make20(source) {
53
+ function make19(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-1wj59nq5.js";
3
+ } from "./file-q043d12m.js";
4
4
  import {
5
- ID18,
5
+ ID16,
6
6
  isAISDK2
7
- } from "./generate-m27pyyd3.js";
7
+ } from "./file-84tssp1s.js";
8
8
  import {
9
9
  iife2
10
- } from "./generate-1kg9ymc8.js";
10
+ } from "./file-1kg9ymc8.js";
11
11
  import {
12
12
  configuredSettings2
13
- } from "./generate-mfz1jzpf.js";
13
+ } from "./file-e7c5hh0v.js";
14
14
 
15
15
  // src/plugin/provider/cloudflare-workers-ai.ts
16
16
  import os from "os";
17
17
  import { Effect } from "effect";
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Form } from "@opencode/schema/form";
20
- var providerID = ID18.make("cloudflare-workers-ai");
20
+ var providerID = ID16.make("cloudflare-workers-ai");
21
21
  var CloudflareWorkersAIPlugin2 = define({
22
22
  id: "opencode.provider.cloudflare.workers.ai",
23
23
  effect: Effect.fn(function* (ctx) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};