@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,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-ycfbty71.js";
4
+ } from "./image-pvjg77yk.js";
5
5
  import {
6
- Service67,
7
- node71
8
- } from "./wellknown-xtmm7gkk.js";
6
+ Service64,
7
+ node67
8
+ } from "./image-srexs3pv.js";
9
9
  import {
10
10
  create3
11
- } from "./wellknown-kg06axw8.js";
11
+ } from "./image-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./image-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event5,
20
+ Event: () => Event6,
21
21
  ID: () => ID4,
22
22
  Input: () => Input13,
23
23
  Provider: () => Provider2,
@@ -28,14 +28,14 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service21,
31
+ Service: () => Service24,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node25
33
+ node: () => node28
34
34
  });
35
35
  import { WebSearch } from "@opencode-ai/schema/websearch";
36
36
  import { Context, Effect, Layer, Option, Schema } from "effect";
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
- import { Event as Event5 } from "@opencode-ai/schema/websearch";
38
+ import { Event as Event6 } from "@opencode-ai/schema/websearch";
39
39
  var ID4 = WebSearch.ID;
40
40
  var Provider2 = WebSearch.Provider;
41
41
  var Input13 = WebSearch.Input;
@@ -61,11 +61,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
61
  }) {
62
62
  }
63
63
 
64
- class Service21 extends Context.Service()("@opencode/WebSearch") {
64
+ class Service24 extends Context.Service()("@opencode/WebSearch") {
65
65
  }
66
- var layer = Layer.effect(Service21, Effect.gen(function* () {
66
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
67
67
  const bus = yield* Service79;
68
- const kv = yield* Service67;
68
+ const kv = yield* Service64;
69
69
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
70
70
  const state = create3({
71
71
  initial: () => ({ providers: new Map }),
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
106
106
  return yield* new ProviderRequiredError2;
107
107
  return provider;
108
108
  });
109
- return Service21.of({
109
+ return Service24.of({
110
110
  transform: state.transform,
111
111
  reload: state.reload,
112
112
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -129,10 +129,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
129
129
  })
130
130
  });
131
131
  }));
132
- var node25 = makeLocationNode({
133
- service: Service21,
132
+ var node28 = makeLocationNode({
133
+ service: Service24,
134
134
  layer,
135
- deps: [node84, node71]
135
+ deps: [node84, node67]
136
136
  });
137
137
 
138
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service21, node25, exports_websearch3, Event5 };
138
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service24, node28, exports_websearch3, Event6 };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-ycfbty71.js";
4
+ } from "./image-pvjg77yk.js";
5
5
  import {
6
- Event19,
7
- Service74,
8
- node79
9
- } from "./wellknown-7wp9r7ba.js";
6
+ Event18,
7
+ Service71,
8
+ node74
9
+ } from "./image-75bx6y3z.js";
10
10
  import {
11
- Service47,
12
- node50
13
- } from "./wellknown-hhfqndnr.js";
11
+ Service48,
12
+ node51
13
+ } from "./image-xr5by3j4.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./wellknown-p8qxwesx.js";
16
+ } from "./image-p8qxwesx.js";
17
17
  import {
18
- Service76,
19
- node81
20
- } from "./wellknown-37ct2frz.js";
18
+ Service75,
19
+ node80
20
+ } from "./image-xyxexyrh.js";
21
21
  import {
22
22
  substitute2
23
- } from "./wellknown-hw4pv20g.js";
23
+ } from "./image-hw4pv20g.js";
24
24
  import {
25
25
  normalize2
26
- } from "./wellknown-j8fxhnqh.js";
26
+ } from "./image-jpmhptrj.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./wellknown-k2kb66cj.js";
30
+ } from "./image-meyfevqx.js";
31
31
  import {
32
32
  plan2
33
- } from "./wellknown-0s9ayhjt.js";
33
+ } from "./image-0s9ayhjt.js";
34
34
  import {
35
- Service66,
36
- Event16,
37
- node70
38
- } from "./wellknown-n149779n.js";
35
+ Service50,
36
+ Event10,
37
+ node53
38
+ } from "./image-4d04p2vw.js";
39
39
  import {
40
40
  __export
41
- } from "./wellknown-9rqn6x4v.js";
41
+ } from "./image-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
47
  Options: () => Options6,
48
- Service: () => Service46,
48
+ Service: () => Service47,
49
49
  Test: () => Test2,
50
50
  configured: () => configured6,
51
51
  latest: () => latest2,
52
52
  layer: () => layer19,
53
- node: () => node49,
53
+ node: () => node50,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -78,7 +78,7 @@ var Options6 = Schema.Struct({
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service46 extends Context.Service()("@opencode/Config") {
81
+ class Service47 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service46, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service47, service), Context.add(Test2, service));
96
96
  }));
97
- var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
97
+ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service76;
100
- const watcher = yield* Service47;
99
+ const location = yield* Service75;
100
+ const watcher = yield* Service48;
101
101
  const bus = yield* Service79;
102
- const credentials = yield* Service74;
103
- const wellknown = yield* Service66;
102
+ const credentials = yield* Service71;
103
+ const wellknown = yield* Service50;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -223,8 +223,8 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
223
223
  }, (effect) => reloadLock.withPermit(effect));
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,7 +235,7 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service46.of({
238
+ return Service47.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
@@ -244,11 +244,11 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
244
244
  }));
245
245
  function configured6(options) {
246
246
  return makeLocationNode({
247
- service: Service46,
247
+ service: Service47,
248
248
  layer: layer19(options),
249
- deps: [node50, node84, FSUtil.node, Global.node, node81, node79, node70]
249
+ deps: [node51, node84, FSUtil.node, Global.node, node80, node74, node53]
250
250
  });
251
251
  }
252
- var node49 = configured6();
252
+ var node50 = configured6();
253
253
 
254
- export { latest2, Options6, Service46, Test2, testLayer2, layer19, configured6, node49, exports_config };
254
+ export { latest2, Options6, Service47, Test2, testLayer2, layer19, configured6, node50, exports_config };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2
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/worktree/directory.ts
9
9
  var exports_directory = {};
10
10
  __export(exports_directory, {
11
11
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
12
12
  WorktreeDirectory: () => exports_directory,
13
- canonical: () => canonical3
13
+ canonical: () => canonical2
14
14
  });
15
15
  import { Effect, Schema } from "effect";
16
16
  class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
17
17
  }
18
- var canonical3 = Effect.fnUntraced(function* (fs, input) {
18
+ var canonical2 = Effect.fnUntraced(function* (fs, input) {
19
19
  const resolved = AbsolutePath2.make(yield* fs.resolve(input));
20
20
  if (!(yield* fs.isDir(resolved)))
21
21
  return yield* new DirectoryUnavailableError2({ directory: input });
22
22
  return resolved;
23
23
  });
24
24
 
25
- export { DirectoryUnavailableError2, canonical3, exports_directory };
25
+ export { DirectoryUnavailableError2, canonical2, exports_directory };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./wellknown-gqy8qs28.js";
3
+ } from "./image-ae8v5dmx.js";
4
4
  import {
5
5
  OAuth3,
6
- Service74
7
- } from "./wellknown-7wp9r7ba.js";
6
+ Service71
7
+ } from "./image-75bx6y3z.js";
8
8
  import {
9
- ID13,
9
+ ID11,
10
10
  MethodID2
11
- } from "./wellknown-m1c4gy78.js";
11
+ } from "./image-hgrms83d.js";
12
12
  import {
13
- ID12
14
- } from "./wellknown-nga86p6q.js";
13
+ ID14
14
+ } from "./image-zfdtt056.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID12.make("xai");
26
+ var providerID = ID14.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID13.make("xai"),
46
+ integrationID: ID11.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service74;
72
- yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
71
+ const credentials = yield* Service71;
72
+ yield* Effect.forEach(yield* credentials.list(ID11.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -1,23 +1,56 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./wellknown-b9wsbatv.js";
3
+ } from "./image-b9wsbatv.js";
4
+ import {
5
+ Service48
6
+ } from "./image-xr5by3j4.js";
4
7
  import {
5
8
  __export
6
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./image-9rqn6x4v.js";
7
10
 
8
11
  // src/plugin/module.ts
9
12
  var exports_module = {};
10
13
  __export(exports_module, {
11
14
  LoadError: () => LoadError2,
12
15
  PluginModule: () => exports_module,
13
- load: () => load2
16
+ make: () => make7
14
17
  });
15
18
  import { Host } from "@opencode-ai/plugin/host";
19
+ import { createPluginSources } from "@opencode-ai/plugin/source";
16
20
  import { Npm } from "@opencode-ai/util/npm";
17
- import { Effect, Schema } from "effect";
21
+ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
18
22
  import path from "path";
19
23
  import { stat } from "node:fs/promises";
20
24
  import { fileURLToPath, pathToFileURL } from "url";
25
+ var make7 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service48;
27
+ const scope = yield* Effect.scope;
28
+ const runPromise = yield* FiberSet.makeRuntimePromise();
29
+ const changes = yield* PubSub.unbounded();
30
+ const watched = new Set;
31
+ const watch = Effect.fn("PluginModule.watch")(function* (file) {
32
+ if (watched.has(file))
33
+ return;
34
+ watched.add(file);
35
+ const ready = yield* Deferred.make();
36
+ const target = yield* Effect.promise(() => watchTarget(file));
37
+ const updates = yield* watcher.subscribe(target, Deferred.succeed(ready, undefined));
38
+ yield* updates.pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.ensuring(Deferred.succeed(ready, undefined)), Effect.forkIn(scope, { startImmediately: true }));
39
+ yield* Deferred.await(ready);
40
+ });
41
+ const sources = yield* Effect.acquireRelease(Effect.sync(() => createPluginSources((file) => runPromise(watch(file)))), (sources) => Effect.sync(() => sources.dispose()));
42
+ return {
43
+ load: (operation, options) => load(operation, sources, options),
44
+ changes: () => Stream.fromPubSub(changes)
45
+ };
46
+ });
47
+ function watchTarget(file) {
48
+ return stat(file).then((info) => ({ path: file, type: info.isDirectory() ? "directory" : "file" }), (cause) => {
49
+ if (path.dirname(file) === file)
50
+ throw cause;
51
+ return watchTarget(path.dirname(file));
52
+ });
53
+ }
21
54
  var Module = Schema.Struct({
22
55
  default: Schema.Union([
23
56
  Schema.Struct({
@@ -36,7 +69,7 @@ class LoadError2 extends Schema.TaggedError()("PluginModule.LoadError", {
36
69
  cause: Schema.optional(Schema.Defect())
37
70
  }) {
38
71
  }
39
- var load2 = Effect.fn("PluginModule.load")(function* (operation, options) {
72
+ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options) {
40
73
  const local = path.isAbsolute(operation.target);
41
74
  const npm = yield* Npm.Service;
42
75
  const installed = local ? undefined : options?.install === false ? yield* npm.resolve(operation.target) : yield* npm.add(operation.target);
@@ -46,11 +79,9 @@ var load2 = Effect.fn("PluginModule.load")(function* (operation, options) {
46
79
  return { pending: true };
47
80
  if (!entrypoint)
48
81
  return yield* new LoadError2({ message: `Plugin entrypoint not found: ${operation.target}` });
49
- const target = typeof Bun !== "undefined" ? fileURLToPath(entrypoint).replaceAll("\\", "/") : entrypoint;
50
- const source = operation.mtime === undefined ? entrypoint : `${target}?mtime=${operation.mtime}`;
51
- yield* Effect.log({ msg: "loading plugin", id: operation.target, entrypoint: source });
52
- const mod = yield* Effect.promise(() => Host.load(source));
53
- const value = (yield* Schema.decodeUnknownEffect(Module)(mod).pipe(Effect.mapError((cause) => new LoadError2({
82
+ yield* Effect.log({ msg: "loading plugin", id: operation.target, entrypoint });
83
+ const loaded = yield* Effect.promise(() => local ? sources.read(entrypoint) : Host.load(entrypoint).then((module) => ({ module, version: installed?.revision })));
84
+ const value = (yield* Schema.decodeUnknownEffect(Module)(loaded.module).pipe(Effect.mapError((cause) => new LoadError2({
54
85
  message: "Plugin must export a default definition with an id and an effect or setup function.",
55
86
  cause
56
87
  })))).default;
@@ -61,7 +92,7 @@ var load2 = Effect.fn("PluginModule.load")(function* (operation, options) {
61
92
  ...entrypoints.tui ? { tui: true } : {},
62
93
  ...entrypoints.rpc ? { rpc: true } : {}
63
94
  },
64
- revision: JSON.stringify([operation, installed?.revision]),
95
+ revision: JSON.stringify([operation, loaded.version]),
65
96
  source: path.isAbsolute(operation.target) ? { type: "local", path: fileURLToPath(entrypoint) } : {
66
97
  type: "package",
67
98
  target: operation.target,
@@ -71,4 +102,4 @@ var load2 = Effect.fn("PluginModule.load")(function* (operation, options) {
71
102
  };
72
103
  });
73
104
 
74
- export { LoadError2, load2, exports_module };
105
+ export { make7, LoadError2, exports_module };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service80
3
- } from "./wellknown-nn46x40y.js";
3
+ } from "./image-k68abf46.js";
4
4
  import {
5
5
  Service34
6
- } from "./wellknown-kpe4sfyz.js";
6
+ } from "./image-kpe4sfyz.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./wellknown-5310qyg9.js";
9
+ } from "./image-wqqnj2ff.js";
10
10
  import {
11
11
  preview2
12
- } from "./wellknown-yanbnw58.js";
12
+ } from "./image-qv4r87jq.js";
13
13
  import {
14
14
  baseTranscript2
15
- } from "./wellknown-tz1mz783.js";
15
+ } from "./image-v5rgjsm5.js";
16
16
  import {
17
- Service23
18
- } from "./wellknown-tmfnh1q5.js";
17
+ Service28
18
+ } from "./image-1226r2df.js";
19
19
  import {
20
20
  __export
21
- } from "./wellknown-9rqn6x4v.js";
21
+ } from "./image-9rqn6x4v.js";
22
22
 
23
23
  // src/session/generate.ts
24
24
  var exports_generate2 = {};
@@ -34,7 +34,7 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
34
34
  const llm = yield* LLMClient.Service;
35
35
  return yield* Effect.gen(function* () {
36
36
  yield* awaitActivation2;
37
- const context = yield* Service23;
37
+ const context = yield* Service28;
38
38
  const selection = yield* context.select(input.session.id);
39
39
  const model = yield* context.resolveModel(selection.session);
40
40
  const history = yield* preview2(database.db, selection.session.id, selection.instructions);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79
3
- } from "./wellknown-ycfbty71.js";
3
+ } from "./image-pvjg77yk.js";
4
4
  import {
5
- Service65,
6
- Event15
7
- } from "./wellknown-hnpt5b9g.js";
5
+ Service16,
6
+ Event4
7
+ } from "./image-fvqftnr7.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -14,7 +14,7 @@ import { Effect, Stream } from "effect";
14
14
  var ModelsDevPlugin2 = define({
15
15
  id: "opencode.models.dev",
16
16
  effect: Effect.fn(function* (ctx) {
17
- const modelsDev = yield* Service65;
17
+ const modelsDev = yield* Service16;
18
18
  const bus = yield* Service79;
19
19
  const loaded = { data: snapshots(yield* modelsDev.get()) };
20
20
  yield* ctx.integration.transform((integrations) => {
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
49
49
  }
50
50
  }
51
51
  });
52
- yield* bus.subscribe(Event15.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
52
+ yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
53
53
  })
54
54
  });
55
55
  function environmentNames(provider) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-ycfbty71.js";
4
+ } from "./image-pvjg77yk.js";
5
5
  import {
6
6
  __export
7
- } from "./wellknown-9rqn6x4v.js";
7
+ } from "./image-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,12 +12,12 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event17,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
20
- Info: () => Info27,
19
+ ID: () => ID12,
20
+ Info: () => Info25,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError9,
@@ -25,18 +25,18 @@ __export(exports_form, {
25
25
  Service: () => Service70,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node74,
28
+ layer: () => layer23,
29
+ node: () => node73,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode-ai/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
36
- import { Event as Event18 } from "@opencode-ai/schema/form";
36
+ import { Event as Event17 } from "@opencode-ai/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
39
- var Info27 = Form.Info;
38
+ var ID12 = Form.ID;
39
+ var Info25 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
48
+ id: ID12
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID14
56
+ id: ID12
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID14
64
+ id: ID12
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID14,
72
+ id: ID12,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -81,7 +81,7 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
81
81
 
82
82
  class Service70 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service70, Effect.gen(function* () {
84
+ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
85
85
  const bus = yield* Service79;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
@@ -89,7 +89,7 @@ var layer25 = Layer.effect(Service70, Effect.gen(function* () {
89
89
  });
90
90
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID14.create();
92
+ const id = input.id ?? ID12.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -155,7 +155,7 @@ var layer25 = Layer.effect(Service70, Effect.gen(function* () {
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
156
  return Service70.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node74 = makeLocationNode({ service: Service70, layer: layer25, deps: [node84] });
158
+ var node73 = makeLocationNode({ service: Service70, layer: layer23, deps: [node84] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID14, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service70, layer25, node74, validateAnswer2, validateFields2, exports_form, Event18 };
310
+ export { ID12, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service70, layer23, node73, validateAnswer2, validateFields2, exports_form, Event17 };