@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,57 +1,57 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-ycfbty71.js";
4
+ } from "./image-pvjg77yk.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./wellknown-37ct2frz.js";
6
+ Service75,
7
+ node80
8
+ } from "./image-xyxexyrh.js";
9
9
  import {
10
- Service72,
11
- node76
12
- } from "./wellknown-z3njjm07.js";
10
+ Service73,
11
+ node77
12
+ } from "./image-6m3crmzc.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./wellknown-gd4qta3r.js";
15
+ } from "./image-gd4qta3r.js";
16
16
  import {
17
- Service45,
17
+ Service57,
18
18
  args2,
19
- node48
20
- } from "./wellknown-fkwg44rt.js";
19
+ node60
20
+ } from "./image-sscgwwvp.js";
21
21
  import {
22
- Service55,
23
- node58
24
- } from "./wellknown-qm8ev4wm.js";
22
+ Service63,
23
+ node66
24
+ } from "./image-r9gjvh9g.js";
25
25
  import {
26
- Service44,
27
- node47
28
- } from "./wellknown-ba723ajb.js";
26
+ Service46,
27
+ node49
28
+ } from "./image-tqqej2s1.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./wellknown-bmr4rzrd.js";
31
+ } from "./image-d4fga7fm.js";
32
32
  import {
33
33
  latest2,
34
- Service46,
35
- node49
36
- } from "./wellknown-dapwfvd2.js";
34
+ Service47,
35
+ node50
36
+ } from "./image-8weygxvf.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./wellknown-d2x6rcjx.js";
40
+ } from "./image-dvx7ppq8.js";
41
41
  import {
42
42
  __export
43
- } from "./wellknown-9rqn6x4v.js";
43
+ } from "./image-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service43,
51
+ Service: () => Service45,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node46
54
+ node: () => node48
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode-ai/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode-ai/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode-ai/util/fs-util";
64
64
  import { Global } from "@opencode-ai/util/global";
65
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service43 extends Context.Service()("@opencode/Shell") {
73
+ class Service45 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service43, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
- const location = yield* Service76;
91
+ const location = yield* Service75;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service45;
94
- const environment = yield* Service72;
95
- const hooks = yield* Service55;
96
- const environments = yield* Service44;
97
- const config = yield* Service46;
93
+ const shell = yield* Service57;
94
+ const environment = yield* Service73;
95
+ const hooks = yield* Service63;
96
+ const environments = yield* Service46;
97
+ const config = yield* Service47;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError6({ id });
118
+ return yield* new NotFoundError5({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service43.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service45.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node46 = makeLocationNode({
320
- service: Service43,
319
+ var node48 = makeLocationNode({
320
+ service: Service45,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
- node81,
324
+ node80,
325
325
  Global.node,
326
- node48,
327
- node76,
328
- node58,
329
- node47,
326
+ node60,
327
+ node77,
328
+ node66,
330
329
  node49,
330
+ node50,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service43, cleanup2, node46, exports_shell4 };
335
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service45, cleanup2, node48, exports_shell4 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./wellknown-xnxegkmr.js";
3
+ } from "./image-2y3ph1yz.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin44
12
+ Plugin: () => Plugin13
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode-ai/ai";
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin44 = define({
32
+ var Plugin13 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin44, exports_plan };
109
+ export { Plugin13, exports_plan };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./wellknown-2a5m3afh.js";
5
+ } from "./image-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./wellknown-9rqn6x4v.js";
8
+ } from "./image-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./wellknown-mntxs535.js";
3
+ } from "./image-mntxs535.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
10
10
  __export(exports_retry, {
11
11
  SessionRunnerRetry: () => exports_retry,
12
12
  isRetryable: () => isRetryable2,
13
- make: () => make5,
13
+ make: () => make8,
14
14
  policy: () => policy2
15
15
  });
16
16
  import { Clock, Duration, Effect, Pull, Schedule } from "effect";
@@ -80,7 +80,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
80
80
  return { retry: true, attempt, delay: normalized };
81
81
  });
82
82
  });
83
- var make5 = (bus, sessionID) => Effect.gen(function* () {
83
+ var make8 = (bus, sessionID) => Effect.gen(function* () {
84
84
  const decide = yield* policy2(sessionID);
85
85
  const wait = (input) => Effect.gen(function* () {
86
86
  const scheduled = yield* Clock.currentTimeMillis;
@@ -97,4 +97,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
97
97
  return { decide, wait };
98
98
  });
99
99
 
100
- export { isRetryable2, policy2, make5, exports_retry };
100
+ export { isRetryable2, policy2, make8, exports_retry };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./wellknown-p8qxwesx.js";
4
+ } from "./image-p8qxwesx.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node83
10
- } from "./wellknown-888k7gfv.js";
8
+ Service77,
9
+ node82
10
+ } from "./image-jasnfvjs.js";
11
11
  import {
12
- Service76,
13
- node81
14
- } from "./wellknown-37ct2frz.js";
12
+ Service75,
13
+ node80
14
+ } from "./image-xyxexyrh.js";
15
15
  import {
16
16
  create3
17
- } from "./wellknown-kg06axw8.js";
17
+ } from "./image-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./wellknown-9rqn6x4v.js";
20
+ } from "./image-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error2,
26
- ID: () => ID6,
27
- Service: () => Service49,
26
+ ID: () => ID10,
27
+ Service: () => Service60,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node52,
29
+ node: () => node63,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -34,7 +34,7 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode-ai/util/fs-util";
36
36
  import { Global } from "@opencode-ai/util/global";
37
- import { ID as ID6 } from "@opencode-ai/schema/snapshot";
37
+ import { ID as ID10 } from "@opencode-ai/schema/snapshot";
38
38
  import { Hash } from "@opencode-ai/util/hash";
39
39
  class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service49 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service60 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service49, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service77;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service75;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID10.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -133,14 +133,14 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service60.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node52 = makeLocationNode({
139
- service: Service49,
138
+ var node63 = makeLocationNode({
139
+ service: Service60,
140
140
  layer,
141
- deps: [FSUtil.node, node83, Global.node, node81]
141
+ deps: [FSUtil.node, node82, Global.node, node80]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service49, Service49.of({
143
+ var noopLayer3 = Layer.succeed(Service60, Service60.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -158,4 +158,4 @@ function failure(operation, cause) {
158
158
  });
159
159
  }
160
160
 
161
- export { ID6, Error2, Service49, node52, noopLayer3, exports_snapshot2 };
161
+ export { ID10, Error2, Service60, node63, noopLayer3, exports_snapshot2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service40,
3
- node43
4
- } from "./wellknown-23ym420b.js";
2
+ Service44,
3
+ node47
4
+ } from "./image-e1yg3ztk.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make17,
8
+ make21,
9
9
  diffByKey2
10
- } from "./wellknown-28pcbh69.js";
10
+ } from "./image-75yf2d83.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions4 = {};
17
- __export(exports_instructions4, {
18
- ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service26,
20
- node: () => node30
16
+ var exports_instructions5 = {};
17
+ __export(exports_instructions5, {
18
+ ReferenceInstructions: () => exports_instructions5,
19
+ Service: () => Service38,
20
+ node: () => node41
21
21
  });
22
22
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service26 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service38 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service26, Effect.gen(function* () {
63
- const references = yield* Service40;
64
- return Service26.of({
62
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
63
+ const references = yield* Service44;
64
+ return Service38.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make17({
72
- key: Key3.make("core/reference-guidance"),
71
+ return make21({
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node30 = makeLocationNode({ service: Service26, layer, deps: [node43] });
84
+ var node41 = makeLocationNode({ service: Service38, layer, deps: [node47] });
85
85
 
86
- export { Service26, node30, exports_instructions4 };
86
+ export { Service38, node41, exports_instructions5 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./wellknown-nga86p6q.js";
4
+ } from "./image-zfdtt056.js";
5
5
  import {
6
6
  latest2,
7
- Service46
8
- } from "./wellknown-dapwfvd2.js";
7
+ Service47
8
+ } from "./image-8weygxvf.js";
9
9
  import {
10
10
  observe2
11
- } from "./wellknown-qsdy395h.js";
11
+ } from "./image-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./image-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin25
20
+ Plugin: () => Plugin19
21
21
  });
22
22
  import { define } from "@opencode-ai/plugin/effect/plugin";
23
23
  import { Money } from "@opencode-ai/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin25 = define({
25
+ var Plugin19 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service46;
28
+ const config = yield* Service47;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -151,4 +151,4 @@ function configuredProviders(entries) {
151
151
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
152
152
  }
153
153
 
154
- export { Plugin25, exports_provider };
154
+ export { Plugin19, exports_provider };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-ycfbty71.js";
4
+ } from "./image-pvjg77yk.js";
5
5
  import {
6
6
  environment2
7
- } from "./wellknown-fkwg44rt.js";
7
+ } from "./image-sscgwwvp.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./wellknown-sk3qaz4a.js";
10
+ } from "./image-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
19
  NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service18,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured3,
25
- layer: () => layer9,
26
- node: () => node22
22
+ Service: () => Service22,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured4,
25
+ layer: () => layer11,
26
+ node: () => node26
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,9 +35,9 @@ import { Pty } from "@opencode-ai/schema/pty";
35
35
  import { Global } from "@opencode-ai/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
@@ -47,9 +47,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
47
47
  }) {
48
48
  }
49
49
 
50
- class Service18 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service22 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service18.of({
242
+ return Service22.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer9 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service18,
261
- layer: options === undefined ? layer9 : makeLayer(options),
258
+ var layer11 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service22,
261
+ layer: options === undefined ? layer11 : makeLayer(options),
262
262
  deps: [node84, Global.node]
263
263
  });
264
- var node22 = configured3();
264
+ var node26 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError2, NotFoundError3, Service18, layer9, configured3, node22, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError3, NotFoundError3, Service22, layer11, configured4, node26, exports_persistent_pty, Handoff2 };