@opencode-ai/core 0.0.0-beta-19157 → 0.0.0-beta-19192

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 (776) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{wellknown-q7805caa.js → image-075hqz1p.js} +4 -4
  9. package/dist/chunks/{wellknown-aaf6tv83.js → image-0ayszzbx.js} +4 -4
  10. package/dist/chunks/{wellknown-nqmxhx1w.js → image-0b64gfhy.js} +21 -21
  11. package/dist/chunks/{wellknown-0e0xafbb.js → image-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{wellknown-1a0y61fc.js → image-0j8b5gw6.js} +18 -18
  13. package/dist/chunks/{wellknown-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{wellknown-0s9ayhjt.js → image-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{wellknown-sx1n432n.js → image-0v53mg2y.js} +4 -4
  16. package/dist/chunks/{wellknown-tmfnh1q5.js → image-1226r2df.js} +79 -79
  17. package/dist/chunks/{wellknown-1ct4r87x.js → image-1ct4r87x.js} +1 -1
  18. package/dist/chunks/{wellknown-v5dkyp31.js → image-1g7epwpd.js} +7 -7
  19. package/dist/chunks/{wellknown-663b6dh9.js → image-1jcnaza9.js} +9 -9
  20. package/dist/chunks/{wellknown-3d43f50e.js → image-1jmsknjd.js} +4 -4
  21. package/dist/chunks/{wellknown-m5045k8y.js → image-1n116cmy.js} +9 -9
  22. package/dist/chunks/{wellknown-c7s9k239.js → image-1p8bnmch.js} +4 -4
  23. package/dist/chunks/{wellknown-bskj9zs2.js → image-1qw2s0et.js} +9 -9
  24. package/dist/chunks/{wellknown-frb89zj9.js → image-1rms16wb.js} +12 -12
  25. package/dist/chunks/{wellknown-2d57kztd.js → image-1s3p39g4.js} +6 -6
  26. package/dist/chunks/{wellknown-gbmaq3ra.js → image-1tjjswnh.js} +46 -46
  27. package/dist/chunks/{wellknown-0nk2sz5z.js → image-1wne4z4q.js} +24 -24
  28. package/dist/chunks/{wellknown-e9z9h9yy.js → image-200tvc8g.js} +23 -23
  29. package/dist/chunks/{wellknown-21r38tys.js → image-21r38tys.js} +1 -1
  30. package/dist/chunks/{wellknown-2402vzrj.js → image-2402vzrj.js} +1 -1
  31. package/dist/chunks/{wellknown-9ttajpzr.js → image-243q2zkz.js} +14 -14
  32. package/dist/chunks/{wellknown-6w9g96bv.js → image-27t0qrmd.js} +22 -22
  33. package/dist/chunks/{wellknown-9e966tng.js → image-285h785p.js} +24 -24
  34. package/dist/chunks/{wellknown-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{wellknown-6ba29tk2.js → image-2gbqcpts.js} +19 -19
  36. package/dist/chunks/{wellknown-2ht70gj7.js → image-2ht70gj7.js} +1 -1
  37. package/dist/chunks/{wellknown-4hh0p0ng.js → image-2kykh1mj.js} +5 -5
  38. package/dist/chunks/{wellknown-hha4zry8.js → image-2m4g9ewj.js} +4 -4
  39. package/dist/chunks/{wellknown-xnxegkmr.js → image-2y3ph1yz.js} +47 -47
  40. package/dist/chunks/{wellknown-c2j3fvxb.js → image-30gfay9h.js} +16 -16
  41. package/dist/chunks/image-35zwc601.js +247 -0
  42. package/dist/chunks/{wellknown-r8w8bq91.js → image-373aghza.js} +26 -26
  43. package/dist/chunks/{wellknown-r6cgjeqn.js → image-37ekrbj5.js} +10 -10
  44. package/dist/chunks/{wellknown-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{wellknown-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{wellknown-3qzbfqsy.js → image-3qzbfqsy.js} +2 -2
  47. package/dist/chunks/{wellknown-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{wellknown-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{wellknown-454k5vzh.js → image-454k5vzh.js} +1 -1
  50. package/dist/chunks/{wellknown-p7eywz5b.js → image-48my4t0a.js} +22 -22
  51. package/dist/chunks/{wellknown-h5xdhsym.js → image-49z4sxtc.js} +4 -2
  52. package/dist/chunks/{wellknown-99m4pprq.js → image-4apz7g8v.js} +10 -10
  53. package/dist/chunks/{wellknown-n149779n.js → image-4d04p2vw.js} +20 -20
  54. package/dist/chunks/{wellknown-6ta01fq9.js → image-4ehv4ads.js} +1 -1
  55. package/dist/chunks/{wellknown-8a3y5q1n.js → image-4m7v3r37.js} +32 -32
  56. package/dist/chunks/{wellknown-4r2nyarf.js → image-4r2nyarf.js} +1 -1
  57. package/dist/chunks/{wellknown-nykyeqwq.js → image-5a0p3v26.js} +7 -7
  58. package/dist/chunks/{wellknown-5daktx2q.js → image-5daktx2q.js} +1 -1
  59. package/dist/chunks/{wellknown-5d17xbav.js → image-5e15319b.js} +5 -5
  60. package/dist/chunks/{wellknown-5fmxt4p5.js → image-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{wellknown-vj82my2s.js → image-5g186b3w.js} +1 -1
  62. package/dist/chunks/{wellknown-5jvc5tg2.js → image-5jvc5tg2.js} +1 -1
  63. package/dist/chunks/{wellknown-93wzm26s.js → image-5mm5wtvx.js} +5 -5
  64. package/dist/chunks/{wellknown-917dq7d6.js → image-5pn8t89y.js} +5 -5
  65. package/dist/chunks/{wellknown-apn8f15b.js → image-5qkxfyep.js} +9 -9
  66. package/dist/chunks/{wellknown-2j3d2w2t.js → image-5tacz69j.js} +13 -13
  67. package/dist/chunks/{wellknown-nz7wfeq1.js → image-5zx8vqtq.js} +35 -35
  68. package/dist/chunks/{wellknown-n52mxx0b.js → image-6bkgre9x.js} +15 -15
  69. package/dist/chunks/{wellknown-vk9s0zr3.js → image-6eew7fj7.js} +21 -21
  70. package/dist/chunks/{wellknown-3g2y1byn.js → image-6h414ywr.js} +5 -5
  71. package/dist/chunks/{wellknown-z3njjm07.js → image-6m3crmzc.js} +24 -24
  72. package/dist/chunks/{wellknown-rhbe1v15.js → image-6wee0njb.js} +16 -16
  73. package/dist/chunks/{wellknown-tph2mkjf.js → image-6wsskzzx.js} +9 -9
  74. package/dist/chunks/{wellknown-hhvbpypa.js → image-6xyvfjmy.js} +10 -10
  75. package/dist/chunks/{wellknown-6abnk40k.js → image-6z5bwd8g.js} +9 -9
  76. package/dist/chunks/{wellknown-174menj9.js → image-6zjvkj2h.js} +32 -32
  77. package/dist/chunks/{wellknown-711hfp6y.js → image-711hfp6y.js} +2 -2
  78. package/dist/chunks/{wellknown-72nftnjy.js → image-72nftnjy.js} +2 -2
  79. package/dist/chunks/{wellknown-7wp9r7ba.js → image-75bx6y3z.js} +29 -29
  80. package/dist/chunks/{wellknown-28pcbh69.js → image-75yf2d83.js} +8 -8
  81. package/dist/chunks/{wellknown-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{wellknown-xkxektkz.js → image-7dntkcaf.js} +15 -15
  83. package/dist/chunks/{wellknown-4br8j3xe.js → image-7hj53tkn.js} +36 -36
  84. package/dist/chunks/{wellknown-mhyp03ce.js → image-7n2tcerd.js} +8 -8
  85. package/dist/chunks/{wellknown-mfmy0k16.js → image-7skcpgmc.js} +5 -5
  86. package/dist/chunks/{wellknown-kjm195mv.js → image-7x53jcvj.js} +20 -20
  87. package/dist/chunks/{wellknown-mp00anfa.js → image-80c43yza.js} +6 -6
  88. package/dist/chunks/{wellknown-041mrh4x.js → image-8n0gk8bj.js} +18 -18
  89. package/dist/chunks/{wellknown-dapwfvd2.js → image-8weygxvf.js} +37 -37
  90. package/dist/chunks/{wellknown-y2cqme3r.js → image-93a8yfjt.js} +5 -5
  91. package/dist/chunks/{wellknown-sba2xw4p.js → image-9dknczgv.js} +11 -11
  92. package/dist/chunks/{wellknown-2jqmte8w.js → image-9e975f95.js} +43 -12
  93. package/dist/chunks/{wellknown-rsvs0vjg.js → image-9ka0zpp0.js} +9 -9
  94. package/dist/chunks/{wellknown-na7k47ng.js → image-9nrx719g.js} +6 -6
  95. package/dist/chunks/{wellknown-zywh7q6e.js → image-9pdz2n87.js} +18 -18
  96. package/dist/chunks/{wellknown-vy9axbw1.js → image-9r22tjds.js} +11 -11
  97. package/dist/chunks/{wellknown-vhg4wxph.js → image-9tpbkn8j.js} +35 -35
  98. package/dist/chunks/{wellknown-aaet6srn.js → image-aaet6srn.js} +2 -2
  99. package/dist/chunks/{wellknown-gqy8qs28.js → image-ae8v5dmx.js} +6 -6
  100. package/dist/chunks/{wellknown-wa6q3vex.js → image-agvy7375.js} +38 -38
  101. package/dist/chunks/{wellknown-pxc9rw6c.js → image-ak4wpdp5.js} +39 -39
  102. package/dist/chunks/{wellknown-0krgqetd.js → image-astevrj0.js} +46 -46
  103. package/dist/chunks/{wellknown-dk9a5vne.js → image-b45hdq4g.js} +5 -5
  104. package/dist/chunks/{wellknown-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{wellknown-b9wsbatv.js → image-b9wsbatv.js} +1 -1
  106. package/dist/chunks/{wellknown-hnyf01b0.js → image-bcezcar3.js} +5 -5
  107. package/dist/chunks/{wellknown-qqvjzcxr.js → image-bj98hyx2.js} +24 -24
  108. package/dist/chunks/{wellknown-nhjpgrh4.js → image-bp57azs0.js} +20 -20
  109. package/dist/chunks/{wellknown-z9d8dnaf.js → image-c3ffnjw8.js} +9 -9
  110. package/dist/chunks/{wellknown-njfaq3nk.js → image-c5fpz85k.js} +24 -24
  111. package/dist/chunks/{wellknown-7thqmzsc.js → image-c6hb7xc2.js} +67 -67
  112. package/dist/chunks/{wellknown-sxrpqsmr.js → image-c6qdtz30.js} +9 -9
  113. package/dist/chunks/{wellknown-jbzwckha.js → image-c7aw7383.js} +24 -24
  114. package/dist/chunks/{wellknown-q1md1zjj.js → image-cam0w9m9.js} +7 -7
  115. package/dist/chunks/{wellknown-s06xe5v4.js → image-cek3fbn3.js} +13 -13
  116. package/dist/chunks/{wellknown-a4cbam25.js → image-cqfmdc01.js} +20 -20
  117. package/dist/chunks/{wellknown-bmr4rzrd.js → image-d4fga7fm.js} +2 -2
  118. package/dist/chunks/{wellknown-djtdz80w.js → image-djtdz80w.js} +1 -1
  119. package/dist/chunks/{wellknown-dmwgd9rj.js → image-dm7yrpwm.js} +11 -11
  120. package/dist/chunks/{wellknown-d2x6rcjx.js → image-dvx7ppq8.js} +12 -12
  121. package/dist/chunks/{wellknown-q961dm7m.js → image-dwn642yz.js} +153 -153
  122. package/dist/chunks/{wellknown-75ws2xfr.js → image-dxnmgjbm.js} +7 -7
  123. package/dist/chunks/{wellknown-j3pby61b.js → image-e1rfyyrx.js} +4 -4
  124. package/dist/chunks/{wellknown-23ym420b.js → image-e1yg3ztk.js} +24 -24
  125. package/dist/chunks/{wellknown-ngabqghr.js → image-envd7176.js} +15 -15
  126. package/dist/chunks/{wellknown-98rh1jc3.js → image-epess5q8.js} +11 -11
  127. package/dist/chunks/{wellknown-yk5chycy.js → image-eq19x63z.js} +1 -1
  128. package/dist/chunks/{wellknown-kademwqx.js → image-esk2a4yz.js} +11 -11
  129. package/dist/chunks/{wellknown-zmye7hbx.js → image-ev17xj63.js} +17 -17
  130. package/dist/chunks/{wellknown-qxe975hr.js → image-f8fjkg66.js} +17 -17
  131. package/dist/chunks/{wellknown-0z4qk8xt.js → image-fdh5tbn3.js} +4 -4
  132. package/dist/chunks/{wellknown-2kj0pn7y.js → image-fffs3heh.js} +14 -14
  133. package/dist/chunks/{wellknown-ceqnmb02.js → image-fh1werz4.js} +5 -5
  134. package/dist/chunks/{wellknown-pwnnz8en.js → image-fv5fa0fb.js} +40 -40
  135. package/dist/chunks/{wellknown-hnpt5b9g.js → image-fvqftnr7.js} +33 -33
  136. package/dist/chunks/{wellknown-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{wellknown-fxypknc8.js → image-fxypknc8.js} +1 -1
  138. package/dist/chunks/{wellknown-187zhppa.js → image-g18dkc9a.js} +10 -10
  139. package/dist/chunks/{wellknown-hrvm11jt.js → image-g2dy4bvs.js} +3 -3
  140. package/dist/chunks/{wellknown-d72308c8.js → image-g2gt0w0k.js} +2 -2
  141. package/dist/chunks/{wellknown-rszzns79.js → image-g4p50gac.js} +26 -26
  142. package/dist/chunks/{wellknown-wctfcgtb.js → image-gaq06wk0.js} +6 -6
  143. package/dist/chunks/{wellknown-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{wellknown-adysj9cr.js → image-gnzetk2a.js} +15 -15
  145. package/dist/chunks/{wellknown-barxnhzp.js → image-gtcj13ca.js} +4 -4
  146. package/dist/chunks/{wellknown-4a5fwm7b.js → image-h0nyqvwm.js} +17 -17
  147. package/dist/chunks/{wellknown-gw5qc7da.js → image-h10tdy9q.js} +11 -11
  148. package/dist/chunks/{wellknown-6jdg21kp.js → image-h40ga2ve.js} +43 -34
  149. package/dist/chunks/{wellknown-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{wellknown-heyhwy2w.js → image-heyhwy2w.js} +1 -1
  151. package/dist/chunks/{wellknown-m1c4gy78.js → image-hgrms83d.js} +25 -25
  152. package/dist/chunks/{wellknown-3n75mgw6.js → image-hh10djt1.js} +19 -19
  153. package/dist/chunks/{wellknown-rhwwv70e.js → image-hvpnsy1s.js} +11 -11
  154. package/dist/chunks/{wellknown-hw4pv20g.js → image-hw4pv20g.js} +2 -2
  155. package/dist/chunks/{wellknown-4afpmjwz.js → image-hzajzqrq.js} +40 -34
  156. package/dist/chunks/{wellknown-5zc2x0sb.js → image-hzxq4bdr.js} +3 -3
  157. package/dist/chunks/{wellknown-6jcrhkhg.js → image-j2rs2004.js} +14 -14
  158. package/dist/chunks/{wellknown-mafkkaev.js → image-j3g33syr.js} +6 -6
  159. package/dist/chunks/{wellknown-888k7gfv.js → image-jasnfvjs.js} +10 -10
  160. package/dist/chunks/{wellknown-j8fxhnqh.js → image-jpmhptrj.js} +22 -22
  161. package/dist/chunks/{wellknown-ny9q6q4v.js → image-jrhxhxw8.js} +23 -23
  162. package/dist/chunks/{wellknown-pmnt38wb.js → image-jw78s2kh.js} +14 -14
  163. package/dist/chunks/{wellknown-3e5q22gm.js → image-jwy076d6.js} +23 -23
  164. package/dist/chunks/{wellknown-k4bwy1x5.js → image-k4bwy1x5.js} +1 -1
  165. package/dist/chunks/{wellknown-nn46x40y.js → image-k68abf46.js} +3 -3
  166. package/dist/chunks/{wellknown-kg06axw8.js → image-kg06axw8.js} +1 -1
  167. package/dist/chunks/{wellknown-rfq7xs4d.js → image-kh6b770z.js} +7 -7
  168. package/dist/chunks/{wellknown-kpe4sfyz.js → image-kpe4sfyz.js} +1 -1
  169. package/dist/chunks/{wellknown-qbzb1j1c.js → image-kqtysscw.js} +13 -13
  170. package/dist/chunks/{wellknown-h7shmymb.js → image-kt9eqfxj.js} +15 -15
  171. package/dist/chunks/{wellknown-cmdp56dw.js → image-m207hpws.js} +1 -1
  172. package/dist/chunks/{wellknown-n95nq84g.js → image-m3fm0fm8.js} +5 -5
  173. package/dist/chunks/{wellknown-2w4chj1g.js → image-m3xe71g4.js} +4 -4
  174. package/dist/chunks/{wellknown-yw9364ag.js → image-m59e1w6s.js} +4 -4
  175. package/dist/chunks/{wellknown-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{wellknown-k2kb66cj.js → image-meyfevqx.js} +5 -5
  177. package/dist/chunks/{wellknown-g585tkj2.js → image-mgwvmahn.js} +4 -4
  178. package/dist/chunks/{wellknown-mvfsc1pv.js → image-mhkvc446.js} +3 -3
  179. package/dist/chunks/{wellknown-h0ehx5mk.js → image-mj3zgynk.js} +11 -11
  180. package/dist/chunks/{wellknown-3z627vwq.js → image-mjhwcw5v.js} +9 -9
  181. package/dist/chunks/{wellknown-987p19s4.js → image-mrdd2gsj.js} +13 -13
  182. package/dist/chunks/{wellknown-x545et0z.js → image-mstkx0nw.js} +3 -3
  183. package/dist/chunks/{wellknown-pgnp76q4.js → image-n1kbsmd5.js} +20 -20
  184. package/dist/chunks/{wellknown-1zjgdmhv.js → image-n70sksgk.js} +14 -14
  185. package/dist/chunks/{wellknown-tppvcy65.js → image-nag7dxjf.js} +5 -5
  186. package/dist/chunks/{wellknown-avahfm6t.js → image-nbxe4rdy.js} +26 -26
  187. package/dist/chunks/{wellknown-41mncz27.js → image-ncdrabr4.js} +5 -5
  188. package/dist/chunks/{wellknown-bfdnm1te.js → image-nfy329at.js} +7 -7
  189. package/dist/chunks/{wellknown-yqzjyyxs.js → image-ngt1cn5s.js} +35 -35
  190. package/dist/chunks/{wellknown-rhp4699a.js → image-nha5563d.js} +9 -9
  191. package/dist/chunks/{wellknown-46v7nc60.js → image-nkj2jv88.js} +15 -15
  192. package/dist/chunks/{wellknown-zf2mdqhr.js → image-nphrg578.js} +10 -10
  193. package/dist/chunks/{wellknown-raycc6w1.js → image-nsrf1zd9.js} +5 -5
  194. package/dist/chunks/{wellknown-3n69mpxt.js → image-nwkrf4xa.js} +4 -4
  195. package/dist/chunks/{wellknown-kbndngdv.js → image-nwqw0f9p.js} +21 -21
  196. package/dist/chunks/{wellknown-7nh4ntd5.js → image-nzmvpftv.js} +12 -12
  197. package/dist/chunks/{wellknown-76xf8n6j.js → image-p37ez7j2.js} +16 -16
  198. package/dist/chunks/{wellknown-024e4rjz.js → image-p6yzb5ay.js} +7 -7
  199. package/dist/chunks/{wellknown-j935v87r.js → image-paphc93g.js} +2 -2
  200. package/dist/chunks/{wellknown-96tsfsen.js → image-pbxt2nhv.js} +1 -1
  201. package/dist/chunks/{wellknown-v50e20c6.js → image-pfb3hsz8.js} +36 -36
  202. package/dist/chunks/{wellknown-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{wellknown-pknna89w.js → image-pknna89w.js} +1 -1
  204. package/dist/chunks/{wellknown-0n6t9trj.js → image-pq15x4g3.js} +1 -1
  205. package/dist/chunks/{wellknown-bth0hr76.js → image-prt3w6sm.js} +17 -17
  206. package/dist/chunks/{wellknown-ycfbty71.js → image-pvjg77yk.js} +4 -4
  207. package/dist/chunks/{wellknown-t1d80fqj.js → image-pzx0zbh6.js} +6 -6
  208. package/dist/chunks/{wellknown-03z534ys.js → image-q2qhh3tp.js} +9 -9
  209. package/dist/chunks/{wellknown-8r5whp28.js → image-q3xf9qyh.js} +4 -4
  210. package/dist/chunks/{wellknown-wz4fbqay.js → image-q7wd5sqm.js} +32 -32
  211. package/dist/chunks/{wellknown-2k8khapm.js → image-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{wellknown-jk4n7dck.js → image-qhywa2va.js} +11 -11
  213. package/dist/chunks/{wellknown-kcz3kyzp.js → image-qkmcd2xy.js} +17 -17
  214. package/dist/chunks/{wellknown-8s80arjs.js → image-qkxs7z50.js} +12 -12
  215. package/dist/chunks/{wellknown-jfvmqd5d.js → image-qm4x1tv3.js} +11 -11
  216. package/dist/chunks/{wellknown-qsdy395h.js → image-qsdy395h.js} +1 -1
  217. package/dist/chunks/{wellknown-yanbnw58.js → image-qv4r87jq.js} +10 -10
  218. package/dist/chunks/{wellknown-9qm9egsn.js → image-qvbcabdc.js} +2 -2
  219. package/dist/chunks/{wellknown-sr0zn850.js → image-qy76r1wf.js} +10 -10
  220. package/dist/chunks/{wellknown-ry16e5g7.js → image-r2t05dft.js} +11 -11
  221. package/dist/chunks/{wellknown-pedw5n3n.js → image-r5vb7384.js} +57 -57
  222. package/dist/chunks/{wellknown-rz31k017.js → image-r5w2ssxe.js} +9 -9
  223. package/dist/chunks/{wellknown-9wt3tsrn.js → image-r82wxrk3.js} +29 -29
  224. package/dist/chunks/{wellknown-r8dhm0tv.js → image-r8dhm0tv.js} +1 -1
  225. package/dist/chunks/{wellknown-hwhktdy4.js → image-r8qcw76d.js} +27 -27
  226. package/dist/chunks/{wellknown-qm8ev4wm.js → image-r9gjvh9g.js} +8 -8
  227. package/dist/chunks/{wellknown-rae26gbb.js → image-rae26gbb.js} +1 -1
  228. package/dist/chunks/{wellknown-jbhh2rmh.js → image-rbp25qjd.js} +11 -11
  229. package/dist/chunks/{wellknown-qw8c6yqg.js → image-rbx8vs9s.js} +22 -22
  230. package/dist/chunks/{wellknown-nmdpg4hr.js → image-rkr4sv9x.js} +26 -26
  231. package/dist/chunks/{wellknown-bwm9kjcw.js → image-s8kvec8m.js} +43 -43
  232. package/dist/chunks/{wellknown-sba4qhjf.js → image-sba4qhjf.js} +1 -1
  233. package/dist/chunks/{wellknown-g94f0f01.js → image-sg1nqqxe.js} +14 -14
  234. package/dist/chunks/{wellknown-rtm4n6fb.js → image-shzqw592.js} +6 -6
  235. package/dist/chunks/{wellknown-g5wgwrzw.js → image-smn3ewtm.js} +2 -2
  236. package/dist/chunks/{wellknown-n2dzf7ax.js → image-sr6d0xpj.js} +11 -11
  237. package/dist/chunks/{wellknown-xtmm7gkk.js → image-srexs3pv.js} +10 -10
  238. package/dist/chunks/{wellknown-fkwg44rt.js → image-sscgwwvp.js} +19 -19
  239. package/dist/chunks/{wellknown-a4bdw771.js → image-stfc1yc9.js} +14 -14
  240. package/dist/chunks/{wellknown-gb89bdhv.js → image-szs3c7md.js} +15 -15
  241. package/dist/chunks/{wellknown-t2az9yje.js → image-t2az9yje.js} +1 -1
  242. package/dist/chunks/{wellknown-jxc8y161.js → image-t44ethcb.js} +29 -28
  243. package/dist/chunks/{wellknown-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{wellknown-tcezcvh9.js → image-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{wellknown-tjykrgmx.js → image-tjykrgmx.js} +1 -1
  246. package/dist/chunks/{wellknown-ba723ajb.js → image-tqqej2s1.js} +8 -8
  247. package/dist/chunks/{wellknown-mjzbwbtj.js → image-tz7j0ah5.js} +33 -33
  248. package/dist/chunks/image-v2tpghv8.js +51 -0
  249. package/dist/chunks/{wellknown-q9792xnb.js → image-v55y9sra.js} +1 -1
  250. package/dist/chunks/{wellknown-tz1mz783.js → image-v5rgjsm5.js} +29 -29
  251. package/dist/chunks/{wellknown-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{wellknown-w5a8z9r2.js → image-w97wc9k9.js} +4 -4
  253. package/dist/chunks/{wellknown-wd87259q.js → image-wd87259q.js} +1 -1
  254. package/dist/chunks/image-wqqnj2ff.js +18 -0
  255. package/dist/chunks/{wellknown-49hz62j1.js → image-wxhc8dy1.js} +16 -16
  256. package/dist/chunks/{wellknown-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{wellknown-39sgaahe.js → image-x42jkk5j.js} +22 -22
  258. package/dist/chunks/{wellknown-y55kwzvm.js → image-x4j0zqk8.js} +6 -6
  259. package/dist/chunks/{wellknown-mt6mcg2h.js → image-x4vht8q3.js} +2 -2
  260. package/dist/chunks/image-xacb94nx.js +22 -0
  261. package/dist/chunks/{wellknown-hhfqndnr.js → image-xr5by3j4.js} +18 -18
  262. package/dist/chunks/{wellknown-wbvq8g8t.js → image-xsk66m3q.js} +12 -12
  263. package/dist/chunks/{wellknown-66y1b5dw.js → image-xw0wvw3m.js} +9 -9
  264. package/dist/chunks/{wellknown-37ct2frz.js → image-xyxexyrh.js} +14 -14
  265. package/dist/chunks/{wellknown-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{wellknown-jwcy2c2z.js → image-y71avatq.js} +4 -4
  267. package/dist/chunks/{wellknown-67gs2z40.js → image-y9a9s7mp.js} +15 -15
  268. package/dist/chunks/{wellknown-kk3rr3qh.js → image-yfbd16n1.js} +5 -5
  269. package/dist/chunks/{wellknown-ajtjthsy.js → image-yg7sb877.js} +2 -2
  270. package/dist/chunks/{wellknown-smy8j9tb.js → image-yhngtrw1.js} +17 -17
  271. package/dist/chunks/{wellknown-920cr0mh.js → image-ynhf0h2x.js} +8 -8
  272. package/dist/chunks/{wellknown-pgt0fkwt.js → image-yqapfx1s.js} +9 -9
  273. package/dist/chunks/{wellknown-z1k01bn4.js → image-z1k01bn4.js} +2 -2
  274. package/dist/chunks/{wellknown-sfyg8jca.js → image-z1mrzrph.js} +20 -20
  275. package/dist/chunks/{wellknown-z63w68vq.js → image-z63w68vq.js} +2 -2
  276. package/dist/chunks/{wellknown-q0xzcr7f.js → image-z9dmagnb.js} +295 -295
  277. package/dist/chunks/{wellknown-hcx11q7e.js → image-z9hwx18z.js} +46 -46
  278. package/dist/chunks/{wellknown-nga86p6q.js → image-zfdtt056.js} +6 -6
  279. package/dist/chunks/{wellknown-jenf2w30.js → image-zjv8y9ya.js} +20 -20
  280. package/dist/chunks/{wellknown-w8hr26yt.js → image-zjwxsg17.js} +19 -19
  281. package/dist/chunks/{wellknown-r7t96r8n.js → image-zpfznfa2.js} +23 -23
  282. package/dist/chunks/{wellknown-s3rbnf14.js → image-zrt27vz2.js} +14 -14
  283. package/dist/chunks/{wellknown-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +83 -83
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +116 -116
  299. package/dist/config/plugin/mcp.js +125 -125
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +117 -117
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +132 -132
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +114 -114
  310. package/dist/config/plugin/worktree.js +115 -115
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +112 -112
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +82 -82
  316. package/dist/database/database.js +64 -64
  317. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  318. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +15 -15
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +16 -16
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +74 -74
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +352 -352
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +3 -3
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +90 -90
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +68 -68
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +220 -220
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +89 -89
  416. package/dist/filesystem/watcher-binding.js +3 -3
  417. package/dist/filesystem/watcher.js +9 -9
  418. package/dist/filesystem.js +90 -90
  419. package/dist/form.js +78 -78
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +84 -84
  422. package/dist/generate.js +88 -88
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +3 -3
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +1 -1
  447. package/dist/instance.js +345 -345
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +5 -5
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +83 -83
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +83 -83
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +80 -80
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +100 -100
  463. package/dist/mcp/instructions.js +118 -118
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +3 -3
  468. package/dist/model-resolver.js +83 -83
  469. package/dist/model.js +8 -8
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +78 -78
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +103 -103
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +84 -84
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +98 -98
  481. package/dist/plugin/command.js +95 -95
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +213 -213
  484. package/dist/plugin/instance.js +1 -1
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +7 -4
  489. package/dist/plugin/optimize.js +21 -0
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +337 -337
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +5 -5
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +6 -6
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +4 -4
  544. package/dist/plugin.js +218 -218
  545. package/dist/project/schema.js +4 -4
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +79 -79
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +1 -1
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +86 -86
  553. package/dist/reference/instructions.js +84 -84
  554. package/dist/reference.js +84 -84
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +91 -91
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +127 -127
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +5 -5
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +211 -211
  568. package/dist/session/execution.js +116 -116
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +14 -14
  571. package/dist/session/inbox.js +82 -82
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +73 -73
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +4 -4
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +82 -82
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +1 -1
  585. package/dist/session/runner/index.js +1 -1
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +117 -117
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +3 -3
  594. package/dist/session/session.js +167 -167
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +71 -71
  599. package/dist/session/store.js +82 -82
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +5 -5
  603. package/dist/session/title.js +147 -147
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +210 -210
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +207 -207
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +13 -13
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +102 -102
  616. package/dist/snapshot.js +84 -84
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +119 -119
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +119 -119
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +97 -97
  628. package/dist/tool/plugin/read.js +114 -114
  629. package/dist/tool/plugin/shell.js +210 -210
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +210 -210
  632. package/dist/tool/plugin/webfetch.js +106 -106
  633. package/dist/tool/plugin/websearch.js +106 -106
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +11 -11
  639. package/dist/types/plugin/module.d.ts +36 -34
  640. package/dist/types/plugin/{system-prompt.d.ts → optimize.d.ts} +3 -1
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +5 -5
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +5 -5
  651. package/dist/v1/config/config.js +14 -14
  652. package/dist/v1/config/error.js +2 -2
  653. package/dist/v1/config/formatter.js +7 -7
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +5 -5
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +3 -3
  659. package/dist/v1/config/plugin.js +3 -3
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +78 -78
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +79 -79
  670. package/dist/workspace/driver.js +3 -3
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +4 -4
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/refresh.js +336 -336
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +89 -89
  678. package/package.json +7 -9
  679. package/dist/chunks/wellknown-5310qyg9.js +0 -18
  680. package/dist/chunks/wellknown-5hannepb.js +0 -103
  681. package/dist/chunks/wellknown-bxw8fhk8.js +0 -247
  682. package/dist/chunks/wellknown-te378a9x.js +0 -22
  683. package/dist/plugin/system-prompt.js +0 -17
  684. /package/dist/chunks/{wellknown-0fabt78z.js → image-0fabt78z.js} +0 -0
  685. /package/dist/chunks/{wellknown-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{wellknown-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{wellknown-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{wellknown-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{wellknown-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{wellknown-2710q6r3.js → image-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{wellknown-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{wellknown-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{wellknown-359p4xyc.js → image-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{wellknown-3asan66x.js → image-3asan66x.js} +0 -0
  695. /package/dist/chunks/{wellknown-3t738kvx.js → image-3t738kvx.js} +0 -0
  696. /package/dist/chunks/{wellknown-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{wellknown-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{wellknown-41nvscxy.js → image-41nvscxy.js} +0 -0
  699. /package/dist/chunks/{wellknown-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{wellknown-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{wellknown-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{wellknown-53557ph1.js → image-53557ph1.js} +0 -0
  703. /package/dist/chunks/{wellknown-550bvhaj.js → image-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{wellknown-6prwharc.js → image-6prwharc.js} +0 -0
  705. /package/dist/chunks/{wellknown-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{wellknown-7m9af43g.js → image-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{wellknown-7zk4hah4.js → image-7zk4hah4.js} +0 -0
  708. /package/dist/chunks/{wellknown-822emrt2.js → image-822emrt2.js} +0 -0
  709. /package/dist/chunks/{wellknown-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  710. /package/dist/chunks/{wellknown-8n3pysct.js → image-8n3pysct.js} +0 -0
  711. /package/dist/chunks/{wellknown-982e01ww.js → image-982e01ww.js} +0 -0
  712. /package/dist/chunks/{wellknown-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  713. /package/dist/chunks/{wellknown-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  714. /package/dist/chunks/{wellknown-a1tpkmh4.js → image-a1tpkmh4.js} +0 -0
  715. /package/dist/chunks/{wellknown-af5trqkr.js → image-af5trqkr.js} +0 -0
  716. /package/dist/chunks/{wellknown-afrmfg78.js → image-afrmfg78.js} +0 -0
  717. /package/dist/chunks/{wellknown-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  718. /package/dist/chunks/{wellknown-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  719. /package/dist/chunks/{wellknown-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  720. /package/dist/chunks/{wellknown-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  721. /package/dist/chunks/{wellknown-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  722. /package/dist/chunks/{wellknown-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  723. /package/dist/chunks/{wellknown-d9fn303g.js → image-d9fn303g.js} +0 -0
  724. /package/dist/chunks/{wellknown-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  725. /package/dist/chunks/{wellknown-dajrwvna.js → image-dajrwvna.js} +0 -0
  726. /package/dist/chunks/{wellknown-dap0rakb.js → image-dap0rakb.js} +0 -0
  727. /package/dist/chunks/{wellknown-df08tz66.js → image-df08tz66.js} +0 -0
  728. /package/dist/chunks/{wellknown-dy18nga0.js → image-dy18nga0.js} +0 -0
  729. /package/dist/chunks/{wellknown-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  730. /package/dist/chunks/{wellknown-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  731. /package/dist/chunks/{wellknown-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  732. /package/dist/chunks/{wellknown-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  733. /package/dist/chunks/{wellknown-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  734. /package/dist/chunks/{wellknown-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  735. /package/dist/chunks/{wellknown-faypxj3z.js → image-faypxj3z.js} +0 -0
  736. /package/dist/chunks/{wellknown-fd410y7t.js → image-fd410y7t.js} +0 -0
  737. /package/dist/chunks/{wellknown-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  738. /package/dist/chunks/{wellknown-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  739. /package/dist/chunks/{wellknown-g86h250q.js → image-g86h250q.js} +0 -0
  740. /package/dist/chunks/{wellknown-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  741. /package/dist/chunks/{wellknown-hk9envan.js → image-hk9envan.js} +0 -0
  742. /package/dist/chunks/{wellknown-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  743. /package/dist/chunks/{wellknown-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  744. /package/dist/chunks/{wellknown-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  745. /package/dist/chunks/{wellknown-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  746. /package/dist/chunks/{wellknown-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  747. /package/dist/chunks/{wellknown-mntxs535.js → image-mntxs535.js} +0 -0
  748. /package/dist/chunks/{wellknown-mp448xyj.js → image-mp448xyj.js} +0 -0
  749. /package/dist/chunks/{wellknown-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  750. /package/dist/chunks/{wellknown-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  751. /package/dist/chunks/{wellknown-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  752. /package/dist/chunks/{wellknown-njntx4h6.js → image-njntx4h6.js} +0 -0
  753. /package/dist/chunks/{wellknown-p8qxwesx.js → image-p8qxwesx.js} +0 -0
  754. /package/dist/chunks/{wellknown-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  755. /package/dist/chunks/{wellknown-q74kybfr.js → image-q74kybfr.js} +0 -0
  756. /package/dist/chunks/{wellknown-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  757. /package/dist/chunks/{wellknown-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  758. /package/dist/chunks/{wellknown-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  759. /package/dist/chunks/{wellknown-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  760. /package/dist/chunks/{wellknown-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  761. /package/dist/chunks/{wellknown-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  762. /package/dist/chunks/{wellknown-se0s1eqw.js → image-se0s1eqw.js} +0 -0
  763. /package/dist/chunks/{wellknown-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  764. /package/dist/chunks/{wellknown-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  765. /package/dist/chunks/{wellknown-twg0f83k.js → image-twg0f83k.js} +0 -0
  766. /package/dist/chunks/{wellknown-w803qqfp.js → image-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{wellknown-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  768. /package/dist/chunks/{wellknown-wtztk69x.js → image-wtztk69x.js} +0 -0
  769. /package/dist/chunks/{wellknown-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  770. /package/dist/chunks/{wellknown-x1b8g1yb.js → image-x1b8g1yb.js} +0 -0
  771. /package/dist/chunks/{wellknown-x61499pn.js → image-x61499pn.js} +0 -0
  772. /package/dist/chunks/{wellknown-y44na4kk.js → image-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{wellknown-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{wellknown-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  775. /package/dist/chunks/{wellknown-z9919s4g.js → image-z9919s4g.js} +0 -0
  776. /package/dist/chunks/{wellknown-zbjnn3ac.js → image-zbjnn3ac.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-ycfbty71.js";
4
+ } from "./image-pvjg77yk.js";
5
5
  import {
6
6
  create3
7
- } from "./wellknown-kg06axw8.js";
7
+ } from "./image-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./image-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event11,
17
+ Event: () => Event13,
18
18
  ID: () => ID9,
19
- Info: () => Info20,
19
+ Info: () => Info22,
20
20
  Name: () => Name3,
21
- Service: () => Service53,
21
+ Service: () => Service56,
22
22
  defaultID: () => defaultID2,
23
- node: () => node56
23
+ node: () => node59
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode-ai/schema/agent";
29
29
  import { Global } from "@opencode-ai/util/global";
30
- import { Event as Event11 } from "@opencode-ai/schema/agent";
30
+ import { Event as Event13 } from "@opencode-ai/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
33
  var ID9 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
35
  var defaultID2 = ID9.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info20 = Agent.Info;
37
+ var Info22 = Agent.Info;
38
38
 
39
- class Service53 extends Context.Service()("@opencode/Agent") {
39
+ class Service56 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service53, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
42
42
  const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info20.default(id);
60
+ const defaults = Info22.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service53.of({
91
+ return Service56.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node56 = makeLocationNode({ service: Service53, layer, deps: [node84, Global.node] });
119
+ var node59 = makeLocationNode({ service: Service56, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID9, Name3, defaultID2, Color2, Info20, Service53, node56, exports_agent4, Event11 };
121
+ export { ID9, Name3, defaultID2, Color2, Info22, Service56, node59, exports_agent4, Event13 };
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-ycfbty71.js";
4
+ } from "./image-pvjg77yk.js";
5
5
  import {
6
6
  llmClient2
7
- } from "./wellknown-0e0xafbb.js";
7
+ } from "./image-0e0xafbb.js";
8
8
  import {
9
9
  SessionEvent2
10
- } from "./wellknown-mntxs535.js";
10
+ } from "./image-mntxs535.js";
11
11
  import {
12
12
  create3
13
- } from "./wellknown-kg06axw8.js";
13
+ } from "./image-kg06axw8.js";
14
14
  import {
15
15
  toLLMMessages2
16
- } from "./wellknown-zbjnn3ac.js";
16
+ } from "./image-zbjnn3ac.js";
17
17
  import {
18
18
  baseTranscript2,
19
19
  unsupportedParts2
20
- } from "./wellknown-tz1mz783.js";
20
+ } from "./image-v5rgjsm5.js";
21
21
  import {
22
22
  isRetryable2,
23
23
  policy2
24
- } from "./wellknown-hnyf01b0.js";
24
+ } from "./image-bcezcar3.js";
25
25
  import {
26
26
  toSessionError2
27
- } from "./wellknown-0z4qk8xt.js";
27
+ } from "./image-fdh5tbn3.js";
28
28
  import {
29
29
  estimate2
30
- } from "./wellknown-h6vf3j39.js";
30
+ } from "./image-h6vf3j39.js";
31
31
  import {
32
32
  record2,
33
33
  add2
34
- } from "./wellknown-tjykrgmx.js";
34
+ } from "./image-tjykrgmx.js";
35
35
  import {
36
36
  __export
37
- } from "./wellknown-9rqn6x4v.js";
37
+ } from "./image-9rqn6x4v.js";
38
38
 
39
39
  // src/session/compaction.ts
40
40
  var exports_compaction2 = {};
41
41
  __export(exports_compaction2, {
42
- Service: () => Service9,
42
+ Service: () => Service7,
43
43
  SessionCompaction: () => exports_compaction2,
44
44
  buildPrompt: () => buildPrompt2,
45
45
  estimateTokens: () => estimateTokens2,
46
- layer: () => layer6,
47
- node: () => node12,
46
+ layer: () => layer7,
47
+ node: () => node10,
48
48
  serializeToolContent: () => serializeToolContent2,
49
49
  truncateToolOutput: () => truncateToolOutput2
50
50
  });
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
108
108
  var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
109
109
  `).filter((line) => line.startsWith("##"));
110
110
 
111
- class Service9 extends Context.Service()("@opencode/SessionCompaction") {
111
+ class Service7 extends Context.Service()("@opencode/SessionCompaction") {
112
112
  }
113
113
  var estimateTokens2 = (input) => {
114
114
  const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
@@ -262,7 +262,7 @@ var buildPrompt2 = (update) => {
262
262
  };
263
263
  var hasSummarySection = (summary) => summary.split(`
264
264
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
265
- var layer6 = Layer.effect(Service9, Effect.gen(function* () {
265
+ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
266
266
  const bus = yield* Service79;
267
267
  const llm = yield* LLMClient.Service;
268
268
  const state = create3({
@@ -479,7 +479,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
479
479
  })
480
480
  }));
481
481
  });
482
- return Service9.of({
482
+ return Service7.of({
483
483
  transform: state.transform,
484
484
  reload: state.reload,
485
485
  enabled: () => state.get().auto,
@@ -488,10 +488,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
488
488
  compactManual
489
489
  });
490
490
  }));
491
- var node12 = makeLocationNode({
492
- service: Service9,
493
- layer: layer6,
491
+ var node10 = makeLocationNode({
492
+ service: Service7,
493
+ layer: layer7,
494
494
  deps: [node84, llmClient2]
495
495
  });
496
496
 
497
- export { Service9, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
497
+ export { Service7, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node10, exports_compaction2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./wellknown-p8qxwesx.js";
3
+ } from "./image-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info15,
12
+ Info: () => Info13,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./wellknown-2a5m3afh.js";
6
+ } from "./image-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./wellknown-z1k01bn4.js";
9
+ } from "./image-z1k01bn4.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./wellknown-b6gygkdw.js";
12
+ } from "./image-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./wellknown-aaet6srn.js";
15
+ } from "./image-aaet6srn.js";
16
16
  import {
17
- Service76,
18
- node81
19
- } from "./wellknown-37ct2frz.js";
17
+ Service75,
18
+ node80
19
+ } from "./image-xyxexyrh.js";
20
20
  import {
21
- Service73,
22
- node77
23
- } from "./wellknown-rszzns79.js";
21
+ Service74,
22
+ node78
23
+ } from "./image-g4p50gac.js";
24
24
  import {
25
25
  __export
26
- } from "./wellknown-9rqn6x4v.js";
26
+ } from "./image-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service72,
33
- node: () => node76
32
+ Service: () => Service73,
33
+ node: () => node77
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service72,
46
+ Service: () => Service73,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node76,
52
+ node: () => node77,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service72 extends Context.Service()("@opencode/Environment") {
61
+ class Service73 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service72, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service76;
66
- const workspace = yield* Service73;
65
+ const location = yield* Service75;
66
+ const workspace = yield* Service74;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service72.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service73.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node76 = makeLocationNode({
71
- service: Service72,
70
+ var node77 = makeLocationNode({
71
+ service: Service73,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node81, node77]
73
+ deps: [CrossSpawnSpawner.node, node80, node78]
74
74
  });
75
75
 
76
- export { Service72, node76, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service73, node77, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79
3
- } from "./wellknown-ycfbty71.js";
3
+ } from "./image-pvjg77yk.js";
4
4
  import {
5
- ID12
6
- } from "./wellknown-nga86p6q.js";
5
+ ID14
6
+ } from "./image-zfdtt056.js";
7
7
  import {
8
- ID11
9
- } from "./wellknown-7nh4ntd5.js";
8
+ ID13
9
+ } from "./image-nzmvpftv.js";
10
10
  import {
11
- Event19
12
- } from "./wellknown-7wp9r7ba.js";
11
+ Event18
12
+ } from "./image-75bx6y3z.js";
13
13
  import {
14
- ID13
15
- } from "./wellknown-m1c4gy78.js";
14
+ ID11
15
+ } from "./image-hgrms83d.js";
16
16
  import {
17
- Service59
18
- } from "./wellknown-3e5q22gm.js";
17
+ Service68
18
+ } from "./image-jwy076d6.js";
19
19
  import {
20
20
  get3
21
- } from "./wellknown-8s80arjs.js";
21
+ } from "./image-qkxs7z50.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode-ai/plugin/effect/plugin";
26
- var providerID = ID12.make("modal");
26
+ var providerID = ID14.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service59;
30
+ const catalog = yield* Service68;
31
31
  const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID11.make(id)))
61
+ if (!loaded.models.has(ID13.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service76
3
- } from "./wellknown-37ct2frz.js";
2
+ Service75
3
+ } from "./image-xyxexyrh.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 "./wellknown-tazgh4e4.js";
13
+ } from "./image-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./wellknown-a4cbam25.js";
16
+ } from "./image-cqfmdc01.js";
17
17
  import {
18
18
  __export
19
- } from "./wellknown-9rqn6x4v.js";
19
+ } from "./image-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin32,
24
+ Plugin: () => Plugin3,
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-ai/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode-ai/util/fs-util";
32
32
  import { AppProcess } from "@opencode-ai/util/process";
33
- var Plugin32 = define({
33
+ var Plugin3 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service76;
36
+ const location = yield* Service75;
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 { Plugin32, exports_hg };
191
+ export { Plugin3, exports_hg };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./wellknown-ycfbty71.js";
5
+ } from "./image-pvjg77yk.js";
6
6
  import {
7
7
  __export
8
- } from "./wellknown-9rqn6x4v.js";
8
+ } from "./image-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service12,
14
+ Service: () => Service3,
15
15
  Updated: () => Updated2,
16
- layer: () => layer7,
17
- node: () => node15
16
+ layer: () => layer5,
17
+ node: () => node6
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service12 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service3 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer7 = Layer.effect(Service12, Effect.gen(function* () {
25
+ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
26
26
  const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service12.of({
29
+ return Service3.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node15 = makeGlobalNode({ service: Service12, layer: layer7, deps: [node84] });
36
+ var node6 = makeGlobalNode({ service: Service3, layer: layer5, deps: [node84] });
37
37
 
38
- export { Updated2, Service12, layer7, node15, exports_sdk };
38
+ export { Updated2, Service3, layer5, node6, exports_sdk };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./wellknown-3v8g72cx.js";
3
+ } from "./image-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp2 = {};
10
- __export(exports_mcp2, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
- WebSearchMcp: () => exports_mcp2,
9
+ var exports_mcp = {};
10
+ __export(exports_mcp, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
+ WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES3 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES2 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.filterStatusOk(http).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service76
3
- } from "./wellknown-37ct2frz.js";
2
+ Service75
3
+ } from "./image-xyxexyrh.js";
4
4
  import {
5
- Service72
6
- } from "./wellknown-z3njjm07.js";
5
+ Service73
6
+ } from "./image-6m3crmzc.js";
7
7
  import {
8
- Service15,
8
+ Service20,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./wellknown-2j3d2w2t.js";
11
+ } from "./image-5tacz69j.js";
12
12
  import {
13
- Service75
14
- } from "./wellknown-1a0y61fc.js";
13
+ Service21
14
+ } from "./image-0j8b5gw6.js";
15
15
  import {
16
16
  externalDirectoryPermission2,
17
17
  resolvePath2,
18
- Service17
19
- } from "./wellknown-76xf8n6j.js";
18
+ Service23
19
+ } from "./image-p37ez7j2.js";
20
20
  import {
21
- Service50
22
- } from "./wellknown-xnxegkmr.js";
21
+ Service53
22
+ } from "./image-2y3ph1yz.js";
23
23
  import {
24
24
  fileDiff2
25
- } from "./wellknown-6prwharc.js";
25
+ } from "./image-6prwharc.js";
26
26
  import {
27
27
  __export
28
- } from "./wellknown-9rqn6x4v.js";
28
+ } from "./image-9rqn6x4v.js";
29
29
 
30
30
  // src/tool/plugin/edit.ts
31
31
  var exports_edit = {};
32
32
  __export(exports_edit, {
33
33
  EditTool: () => exports_edit,
34
- Input: () => Input10,
35
- Output: () => Output6,
36
- Plugin: () => Plugin10,
37
- name: () => name10
34
+ Input: () => Input11,
35
+ Output: () => Output7,
36
+ Plugin: () => Plugin43,
37
+ name: () => name11
38
38
  });
39
39
  import { ToolFailure } from "@opencode-ai/ai";
40
40
  import { FileDiff } from "@opencode-ai/schema/file-diff";
41
41
  import { Bom } from "@opencode-ai/util/bom";
42
42
  import { Effect, Schema } from "effect";
43
- var name10 = "edit";
44
- var Input10 = Schema.Struct({
43
+ var name11 = "edit";
44
+ var Input11 = Schema.Struct({
45
45
  path: Schema.String.annotate({
46
46
  description: "File to edit"
47
47
  }),
@@ -51,7 +51,7 @@ var Input10 = Schema.Struct({
51
51
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
52
52
  })
53
53
  });
54
- var Output6 = Schema.Struct({
54
+ var Output7 = Schema.Struct({
55
55
  files: Schema.Array(FileDiff.Info),
56
56
  replacements: Schema.Number
57
57
  });
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
104
104
  return result;
105
105
  }, []);
106
106
  };
107
- var Plugin10 = {
107
+ var Plugin43 = {
108
108
  id: "opencode.tool.edit",
109
109
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
110
- const mutation = yield* Service17;
111
- const fileMutation = yield* Service15;
112
- const environment = yield* Service72;
113
- const formatter = yield* Service75;
114
- const location = yield* Service76;
115
- const permission = yield* Service50;
110
+ const mutation = yield* Service23;
111
+ const fileMutation = yield* Service20;
112
+ const environment = yield* Service73;
113
+ const formatter = yield* Service21;
114
+ const location = yield* Service75;
115
+ const permission = yield* Service53;
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name10,
117
+ name: name11,
118
118
  options: { codemode: false, permission: "edit" },
119
119
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
120
- input: Input10,
121
- output: Output6,
120
+ input: Input11,
121
+ output: Output7,
122
122
  execute: (input, context) => {
123
123
  return Effect.gen(function* () {
124
124
  const permissionSource = {
@@ -203,4 +203,4 @@ var Plugin10 = {
203
203
  })
204
204
  };
205
205
 
206
- export { name10, Input10, Output6, Plugin10, exports_edit };
206
+ export { name11, Input11, Output7, Plugin43, exports_edit };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./wellknown-p8qxwesx.js";
3
+ } from "./image-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./wellknown-3t738kvx.js";
4
+ } from "./image-3t738kvx.js";
5
5
  import {
6
6
  __export
7
- } from "./wellknown-9rqn6x4v.js";
7
+ } from "./image-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};