@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,24 +1,24 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./wellknown-nn46x40y.js";
4
+ } from "./image-k68abf46.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make17,
8
+ make21,
9
9
  combine2
10
- } from "./wellknown-28pcbh69.js";
10
+ } from "./image-75yf2d83.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./wellknown-hrvm11jt.js";
13
+ } from "./image-g2dy4bvs.js";
14
14
  import {
15
15
  __export
16
- } from "./wellknown-9rqn6x4v.js";
16
+ } from "./image-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info6,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode-ai/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info6 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -61,8 +61,8 @@ class Service30 extends Context.Service()("@opencode/InstructionEntry") {
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make17({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -112,4 +112,4 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
112
112
  }));
113
113
  var node35 = makeLocationNode({ service: Service30, layer, deps: [node85] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node35, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node35, exports_instruction_entry };
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./wellknown-2a5m3afh.js";
3
+ } from "./image-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./wellknown-p8qxwesx.js";
6
+ } from "./image-p8qxwesx.js";
7
7
  import {
8
- Service76
9
- } from "./wellknown-37ct2frz.js";
8
+ Service75
9
+ } from "./image-xyxexyrh.js";
10
10
  import {
11
- Service72
12
- } from "./wellknown-z3njjm07.js";
11
+ Service73
12
+ } from "./image-6m3crmzc.js";
13
13
  import {
14
- Service71
15
- } from "./wellknown-g94f0f01.js";
14
+ Service72
15
+ } from "./image-sg1nqqxe.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./wellknown-920cr0mh.js";
21
+ } from "./image-ynhf0h2x.js";
22
22
  import {
23
23
  externalDirectoryPermission2,
24
- Service17
25
- } from "./wellknown-76xf8n6j.js";
24
+ Service23
25
+ } from "./image-p37ez7j2.js";
26
26
  import {
27
- Service50
28
- } from "./wellknown-xnxegkmr.js";
27
+ Service53
28
+ } from "./image-2y3ph1yz.js";
29
29
  import {
30
30
  __export
31
- } from "./wellknown-9rqn6x4v.js";
31
+ } from "./image-9rqn6x4v.js";
32
32
 
33
33
  // src/tool/plugin/glob.ts
34
34
  var exports_glob = {};
35
35
  __export(exports_glob, {
36
36
  GlobTool: () => exports_glob,
37
- Input: () => Input11,
38
- Output: () => Output7,
39
- Plugin: () => Plugin12,
40
- name: () => name11,
41
- toModelContent: () => toModelContent5
37
+ Input: () => Input12,
38
+ Output: () => Output8,
39
+ Plugin: () => Plugin44,
40
+ name: () => name12,
41
+ toModelContent: () => toModelContent6
42
42
  });
43
43
  import { ToolFailure } from "@opencode-ai/ai";
44
44
  import { Effect, Schema } from "effect";
45
45
  import path from "path";
46
- var name11 = "glob";
47
- var Input11 = Schema.Struct({
46
+ var name12 = "glob";
47
+ var Input12 = Schema.Struct({
48
48
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
49
49
  path: Schema.optionalKey(RelativePath2).annotate({
50
50
  description: "Directory to search. Defaults to the current working directory."
@@ -56,28 +56,28 @@ var Input11 = Schema.Struct({
56
56
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
57
57
  })
58
58
  });
59
- var Output7 = Schema.Array(Entry2);
60
- var toModelContent5 = (entries, truncated = false) => {
59
+ var Output8 = Schema.Array(Entry2);
60
+ var toModelContent6 = (entries, truncated = false) => {
61
61
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
62
62
  if (truncated)
63
63
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
64
64
  return lines.join(`
65
65
  `);
66
66
  };
67
- var Plugin12 = {
67
+ var Plugin44 = {
68
68
  id: "opencode.tool.glob",
69
69
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
70
- const environment = yield* Service72;
71
- const ripgrep = yield* Service71;
72
- const location = yield* Service76;
73
- const mutation = yield* Service17;
74
- const permission = yield* Service50;
70
+ const environment = yield* Service73;
71
+ const ripgrep = yield* Service72;
72
+ const location = yield* Service75;
73
+ const mutation = yield* Service23;
74
+ const permission = yield* Service53;
75
75
  yield* ctx.tool.transform((editor) => editor.add({
76
- name: name11,
76
+ name: name12,
77
77
  options: { codemode: false },
78
78
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
79
- input: Input11,
80
- output: Output7,
79
+ input: Input12,
80
+ output: Output8,
81
81
  execute: (input, context) => Effect.gen(function* () {
82
82
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
83
83
  const source = { type: "tool", messageID: context.messageID, id: context.id };
@@ -91,7 +91,7 @@ var Plugin12 = {
91
91
  source
92
92
  });
93
93
  yield* permission.assert({
94
- action: name11,
94
+ action: name12,
95
95
  resources: [input.pattern],
96
96
  save: ["*"],
97
97
  metadata: {
@@ -126,11 +126,11 @@ var Plugin12 = {
126
126
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
127
127
  }).pipe(Effect.map((result) => ({
128
128
  output: result.entries,
129
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
129
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
130
130
  metadata: { count: result.entries.length, truncated: result.truncated }
131
131
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
132
132
  })).pipe(Effect.orDie);
133
133
  })
134
134
  };
135
135
 
136
- export { name11, Input11, Output7, toModelContent5, Plugin12, exports_glob };
136
+ export { name12, Input12, Output8, toModelContent6, Plugin44, exports_glob };
@@ -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/memory.ts
11
11
  var exports_memory = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured10,
10
+ configured: () => configured9,
11
11
  layer: () => layer24,
12
12
  make: () => make19,
13
- node: () => node69,
13
+ node: () => node75,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
@@ -29,7 +29,7 @@ function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
31
  var layer24 = (input) => Layer.succeed(Metadata2, make19(input));
32
- var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
- var node69 = configured10();
32
+ var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node75 = configured9();
34
34
 
35
- export { Metadata2, make19, useragent2, layer24, configured10, node69, exports_app };
35
+ export { Metadata2, make19, useragent2, layer24, configured9, node75, exports_app };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./wellknown-nn46x40y.js";
4
+ } from "./image-k68abf46.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./wellknown-ycfbty71.js";
8
+ } from "./image-pvjg77yk.js";
9
9
  import {
10
10
  Service34,
11
11
  node38
12
- } from "./wellknown-kpe4sfyz.js";
12
+ } from "./image-kpe4sfyz.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./wellknown-p8qxwesx.js";
16
+ } from "./image-p8qxwesx.js";
17
17
  import {
18
- Service77,
19
- node82
20
- } from "./wellknown-e9z9h9yy.js";
18
+ Service76,
19
+ node81
20
+ } from "./image-200tvc8g.js";
21
21
  import {
22
22
  Ref4
23
- } from "./wellknown-37ct2frz.js";
23
+ } from "./image-xyxexyrh.js";
24
24
  import {
25
- Service62,
26
- node65
27
- } from "./wellknown-zf2mdqhr.js";
25
+ Service58,
26
+ node61
27
+ } from "./image-nphrg578.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./wellknown-982e01ww.js";
30
+ } from "./image-982e01ww.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./wellknown-mafkkaev.js";
32
+ NotFoundError7
33
+ } from "./image-j3g33syr.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./wellknown-mntxs535.js";
36
+ } from "./image-mntxs535.js";
37
37
  import {
38
38
  Service32
39
- } from "./wellknown-t2az9yje.js";
39
+ } from "./image-t2az9yje.js";
40
40
  import {
41
- Service52,
42
- node55
43
- } from "./wellknown-2kj0pn7y.js";
41
+ Service55,
42
+ node58
43
+ } from "./image-fffs3heh.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
47
  Service33,
48
48
  node37,
49
49
  moveIDs2
50
- } from "./wellknown-bth0hr76.js";
50
+ } from "./image-prt3w6sm.js";
51
51
  import {
52
52
  Service31,
53
53
  node36
54
- } from "./wellknown-r7t96r8n.js";
54
+ } from "./image-zpfznfa2.js";
55
55
  import {
56
56
  node34
57
- } from "./wellknown-xkxektkz.js";
57
+ } from "./image-7dntkcaf.js";
58
58
  import {
59
59
  __export
60
- } from "./wellknown-9rqn6x4v.js";
60
+ } from "./image-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service29,
68
+ Service: () => Service27,
69
69
  SessionMove: () => exports_move,
70
- node: () => node33
70
+ node: () => node31
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -83,14 +83,14 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service29 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service27 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service29, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service77;
92
- const locations = yield* Service62;
93
- const store = yield* Service52;
91
+ const projects = yield* Service76;
92
+ const locations = yield* Service58;
93
+ const store = yield* Service55;
94
94
  const execution = yield* Service31;
95
95
  const instances = yield* Service34;
96
96
  const admission = yield* Service33;
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError7({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
133
133
  return true;
134
134
  return yield* Service32.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service29.of({
136
+ return Service27.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,15 +163,15 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node33 = makeGlobalNode({
167
- service: Service29,
166
+ var node31 = makeGlobalNode({
167
+ service: Service27,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node82,
173
- node65,
174
- node55,
172
+ node81,
173
+ node61,
174
+ node58,
175
175
  node36,
176
176
  node38,
177
177
  node37,
@@ -181,4 +181,4 @@ var node33 = makeGlobalNode({
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service29, node33, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node31, exports_move };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-p8qxwesx.js";
3
+ } from "./image-p8qxwesx.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node83
7
- } from "./wellknown-888k7gfv.js";
6
+ node82
7
+ } from "./image-jasnfvjs.js";
8
8
  import {
9
9
  ID18
10
- } from "./wellknown-tppvcy65.js";
10
+ } from "./image-nag7dxjf.js";
11
11
  import {
12
12
  Slug2
13
- } from "./wellknown-gebd4c9n.js";
13
+ } from "./image-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./wellknown-nn46x40y.js";
17
+ } from "./image-k68abf46.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./wellknown-ycfbty71.js";
21
+ } from "./image-pvjg77yk.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./wellknown-9qm9egsn.js";
24
+ } from "./image-qvbcabdc.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./wellknown-ajtjthsy.js";
27
+ } from "./image-yg7sb877.js";
28
28
  import {
29
- Service76,
30
- node81
31
- } from "./wellknown-37ct2frz.js";
29
+ Service75,
30
+ node80
31
+ } from "./image-xyxexyrh.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./wellknown-y2cqme3r.js";
34
+ canonical2
35
+ } from "./image-93a8yfjt.js";
36
36
  import {
37
- make18
38
- } from "./wellknown-dmwgd9rj.js";
37
+ make12
38
+ } from "./image-dm7yrpwm.js";
39
39
  import {
40
40
  create3
41
- } from "./wellknown-kg06axw8.js";
41
+ } from "./image-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./wellknown-9rqn6x4v.js";
44
+ } from "./image-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event14,
53
- Info: () => Info22,
52
+ Event: () => Event7,
53
+ Info: () => Info5,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service64,
60
+ Service: () => Service25,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node67
66
+ node: () => node29
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info22 = Worktree.Info;
85
+ var Info5 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event14 = Worktree.Event;
103
+ var Event7 = Worktree.Event;
104
104
 
105
- class Service64 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service25 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service64, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
111
111
  const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service76;
113
+ const location = yield* Service75;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make18;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event14.Updated, { projectID });
138
+ yield* bus.publish(Event7.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,8 +193,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical3(fs, created.directory) };
197
- if (result.directory !== (yield* canonical3(fs, worktreeDirectory)))
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
+ if (result.directory !== (yield* canonical2(fs, worktreeDirectory)))
198
198
  return yield* new InvalidDirectoryError2({ directory: result.directory });
199
199
  yield* changed(yield* ops.create({
200
200
  directory: result.directory,
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
220
220
  });
221
221
  const remove = Effect.fn("Worktree.remove")(function* (input) {
222
222
  yield* local;
223
- const worktreeDirectory = yield* canonical3(fs, input.directory);
223
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
224
224
  const stored = yield* ops.find(worktreeDirectory);
225
225
  if (!stored?.strategy)
226
226
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
241
241
  for (const strategy of strategies) {
242
242
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
243
243
  for (const entry of entries) {
244
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
244
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
245
245
  if (!directory || discovered.has(directory))
246
246
  continue;
247
247
  discovered.set(directory, {
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
259
259
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
260
260
  return changes;
261
261
  });
262
- return Service64.of({
262
+ return Service25.of({
263
263
  transform: state.transform,
264
264
  reload: state.reload,
265
265
  list: Effect.fn("Worktree.list")(function* () {
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
271
271
  refresh
272
272
  });
273
273
  }));
274
- var node67 = makeLocationNode({
275
- service: Service64,
274
+ var node29 = makeLocationNode({
275
+ service: Service25,
276
276
  layer,
277
- deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
277
+ deps: [FSUtil.node, node82, node84, node85, AppProcess.node, node80, Global.node]
278
278
  });
279
279
  function operationError(strategy, operation, error) {
280
280
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
284
284
  });
285
285
  }
286
286
 
287
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info22, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event14, Service64, node67, exports_worktree2, OperationError2 };
287
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event7, Service25, node29, exports_worktree2, OperationError2 };