@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,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -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/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service79
3
- } from "./wellknown-ycfbty71.js";
3
+ } from "./image-pvjg77yk.js";
4
4
  import {
5
- Service66,
6
- Event16
7
- } from "./wellknown-n149779n.js";
5
+ Service50,
6
+ Event10
7
+ } from "./image-4d04p2vw.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./image-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin31,
15
+ Plugin: () => Plugin2,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin31 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service79;
24
- const wellknown = yield* Service66;
24
+ const wellknown = yield* Service50;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin31 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin31, exports_plugin };
48
+ export { Plugin2, exports_plugin };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./wellknown-r8dhm0tv.js";
4
+ } from "./image-r8dhm0tv.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./wellknown-qfa1cgps.js";
7
+ } from "./image-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./wellknown-9qm9egsn.js";
10
+ } from "./image-qvbcabdc.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./wellknown-qfa1cgps.js";
3
+ } from "./image-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./wellknown-9qm9egsn.js";
6
+ } from "./image-qvbcabdc.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./wellknown-nn46x40y.js";
4
+ } from "./image-k68abf46.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./wellknown-jwcy2c2z.js";
7
+ } from "./image-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node78
12
- } from "./wellknown-j3pby61b.js";
11
+ node79
12
+ } from "./image-e1rfyyrx.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./wellknown-faypxj3z.js";
15
+ } from "./image-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./wellknown-9rqn6x4v.js";
18
+ } from "./image-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID15,
25
- Info: () => Info28,
24
+ ID: () => ID16,
25
+ Info: () => Info29,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service73,
27
+ Service: () => Service74,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node77
29
+ configured: () => configured10,
30
+ node: () => node78
31
31
  });
32
32
  import { Workspace } from "@opencode-ai/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID15 = Workspace.ID;
38
+ var ID16 = Workspace.ID;
39
39
 
40
- class Info28 extends Schema.Class("Workspace.Info")({
41
- id: ID15,
40
+ class Info29 extends Schema.Class("Workspace.Info")({
41
+ id: ID16,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info28 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID15,
53
+ workspaceID: ID16,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service73 extends Context.Service()("@opencode/Workspace") {
59
+ class Service74 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service73,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service74,
63
63
  layer: layer(options),
64
- deps: [node85, node78]
64
+ deps: [node85, node79]
65
65
  });
66
- var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info28({
83
+ const info = (row, binding) => new Info29({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service73.of({
157
+ return Service74.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID15.create();
159
+ const workspaceID = input.id ?? ID16.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node77 = configured11();
224
+ var node78 = configured10();
225
225
 
226
- export { ID15, Info28, NotFound3, CreateConflict2, Service73, configured11, node77, exports_workspace };
226
+ export { ID16, Info29, NotFound3, CreateConflict2, Service74, configured10, node78, exports_workspace };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./wellknown-fxgpk5d8.js";
3
+ } from "./image-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./wellknown-g4wezp1m.js";
6
+ } from "./image-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./wellknown-x61499pn.js";
9
+ } from "./image-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./wellknown-af5trqkr.js";
12
+ } from "./image-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./wellknown-afrmfg78.js";
15
+ } from "./image-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./wellknown-x0ckcb58.js";
18
+ } from "./image-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -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/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service47
3
- } from "./wellknown-hhfqndnr.js";
2
+ Service48
3
+ } from "./image-xr5by3j4.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./wellknown-28pcbh69.js";
6
+ } from "./image-75yf2d83.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./wellknown-p8qxwesx.js";
9
+ } from "./image-p8qxwesx.js";
10
10
  import {
11
11
  File2,
12
- Service56
13
- } from "./wellknown-nmdpg4hr.js";
12
+ Service78
13
+ } from "./image-rkr4sv9x.js";
14
14
  import {
15
- Service76
16
- } from "./wellknown-37ct2frz.js";
15
+ Service75
16
+ } from "./image-xyxexyrh.js";
17
17
  import {
18
18
  __export
19
- } from "./wellknown-9rqn6x4v.js";
19
+ } from "./image-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin30
25
+ Plugin: () => Plugin18
26
26
  });
27
27
  import { define } from "@opencode-ai/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode-ai/util/fs-util";
29
29
  import { Global } from "@opencode-ai/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin30 = define({
32
+ var Plugin18 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service56;
35
+ const discovery = yield* Service78;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service76;
42
- const watcher = yield* Service47;
41
+ const location = yield* Service75;
42
+ const watcher = yield* Service48;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin30, exports_instruction };
117
+ export { Plugin18, exports_instruction };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./wellknown-0paq2nw3.js";
4
+ } from "./image-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./wellknown-nga86p6q.js";
7
+ } from "./image-zfdtt056.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./wellknown-7nh4ntd5.js";
11
+ } from "./image-nzmvpftv.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./image-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./wellknown-k4bwy1x5.js";
3
+ } from "./image-k4bwy1x5.js";
4
4
  import {
5
- Service67,
6
- node71
7
- } from "./wellknown-xtmm7gkk.js";
5
+ Service64,
6
+ node67
7
+ } from "./image-srexs3pv.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./wellknown-982e01ww.js";
10
+ } from "./image-982e01ww.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./wellknown-bmr4rzrd.js";
13
+ } from "./image-d4fga7fm.js";
14
14
  import {
15
15
  __export
16
- } from "./wellknown-9rqn6x4v.js";
16
+ } from "./image-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service48,
23
- make: () => make16,
24
- node: () => node51
22
+ Service: () => Service51,
23
+ make: () => make18,
24
+ node: () => node54
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service48 extends Context.Service()("@opencode/Job") {
53
+ class Service51 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
77
77
  next.set(sessionID, count - 1);
78
78
  return next;
79
79
  }
80
- var make16 = Effect.gen(function* () {
81
- const kv = yield* Service67;
80
+ var make18 = Effect.gen(function* () {
81
+ const kv = yield* Service64;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -307,7 +307,7 @@ var make16 = Effect.gen(function* () {
307
307
  return recovered;
308
308
  }).pipe(Effect.withSpan("Job.pendingBackground"));
309
309
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
310
- return Service48.of({
310
+ return Service51.of({
311
311
  get,
312
312
  start,
313
313
  wait,
@@ -319,7 +319,7 @@ var make16 = Effect.gen(function* () {
319
319
  completeBackground
320
320
  });
321
321
  });
322
- var layer = Layer.effect(Service48, make16);
323
- var node51 = makeGlobalNode({ service: Service48, layer, deps: [node71] });
322
+ var layer = Layer.effect(Service51, make18);
323
+ var node54 = makeGlobalNode({ service: Service51, layer, deps: [node67] });
324
324
 
325
- export { Service48, make16, node51, exports_job };
325
+ export { Service51, make18, node54, exports_job };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service79
3
- } from "./wellknown-ycfbty71.js";
3
+ } from "./image-pvjg77yk.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./wellknown-7wp9r7ba.js";
6
+ Event18
7
+ } from "./image-75bx6y3z.js";
8
8
  import {
9
- ID13,
9
+ ID11,
10
10
  MethodID2
11
- } from "./wellknown-m1c4gy78.js";
11
+ } from "./image-hgrms83d.js";
12
12
  import {
13
- ID12,
13
+ ID14,
14
14
  aisdk2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2
17
- } from "./wellknown-nga86p6q.js";
17
+ } from "./image-zfdtt056.js";
18
18
 
19
19
  // src/plugin/provider/opencode.ts
20
20
  import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
44
44
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
45
45
  function oauth(http) {
46
46
  return {
47
- integrationID: ID13.make("opencode"),
47
+ integrationID: ID11.make("opencode"),
48
48
  method: {
49
49
  id: methodID,
50
50
  type: "oauth",
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
112
112
  catalog.provider.update(providerID, (provider) => {
113
113
  if (source && source.provider !== provider)
114
114
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
115
- provider.integrationID = ID13.make("opencode");
115
+ provider.integrationID = ID11.make("opencode");
116
116
  if (item.canonical !== undefined)
117
117
  provider.canonical = item.canonical;
118
118
  if (item.name !== undefined)
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
175
175
  });
176
176
  }
177
177
  }
178
- const item = catalog.provider.get(ID12.opencode);
178
+ const item = catalog.provider.get(ID14.opencode);
179
179
  if (!item)
180
180
  return;
181
181
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
196
196
  }
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
199
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  })
201
201
  });
202
202
  function fetchProviders(http, value) {
@@ -1,21 +1,22 @@
1
1
  import {
2
2
  render3
3
- } from "./wellknown-024e4rjz.js";
3
+ } from "./image-p6yzb5ay.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
- // src/plugin/system-prompt.ts
9
- var exports_system_prompt = {};
10
- __export(exports_system_prompt, {
8
+ // src/plugin/optimize.ts
9
+ var exports_optimize = {};
10
+ __export(exports_optimize, {
11
+ AnthropicToolsPlugin: () => AnthropicToolsPlugin2,
11
12
  ArceePlugin: () => ArceePlugin2,
12
13
  KimiPlugin: () => KimiPlugin2,
13
14
  MetaPlugin: () => MetaPlugin2,
14
15
  OpenAIPlugin: () => OpenAIPlugin2,
15
- Plugins: () => Plugins2,
16
- SystemPromptPlugin: () => exports_system_prompt
16
+ OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
17
+ OptimizePlugin: () => exports_optimize,
18
+ Plugins: () => Plugins2
17
19
  });
18
- import { SystemPart } from "@opencode-ai/ai";
19
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
20
21
  import { Model } from "@opencode-ai/schema/model";
21
22
  import { Effect } from "effect";
@@ -370,47 +371,55 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
370
371
  </example>
371
372
  `;
372
373
 
373
- // src/plugin/system-prompt.ts
374
- var OpenAIPlugin2 = make("openai", (model) => {
375
- if (!model.id.toLowerCase().includes("gpt"))
374
+ // src/plugin/optimize.ts
375
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
376
+ const id = model.id.toLowerCase();
377
+ if (!id.includes("gpt"))
376
378
  return;
377
- if (model.id.toLowerCase().includes("gpt-6"))
378
- return gpt_astra_default;
379
- return gpt_default;
380
- }, { operation: "replace" });
381
- var KimiPlugin2 = make("kimi", (model) => model.id.toLowerCase().includes("kimi") ? kimi_default : undefined, {
382
- operation: "replace"
379
+ return id.includes("gpt-6") ? gpt_astra_default : gpt_default;
383
380
  });
384
- var ArceePlugin2 = make("arcee", (model) => model.id.toLowerCase().includes("trinity") ? trinity_default : undefined, { operation: "replace" });
385
- var MetaPlugin2 = make("meta", (model) => {
381
+ var OpenAIToolsPlugin2 = make("opencode.optimize.openai.tools", (model, tools) => {
382
+ const ids = [model.id, model.modelID, model.family].join(" ").toLowerCase();
383
+ if (!ids.includes("gpt"))
384
+ return;
385
+ delete tools.grep;
386
+ delete tools.glob;
387
+ return;
388
+ });
389
+ var AnthropicToolsPlugin2 = make("opencode.optimize.anthropic.tools", (model, tools) => {
390
+ const ids = [model.id, model.modelID, model.family].join(" ").toLowerCase();
391
+ if (!ids.includes("claude"))
392
+ return;
393
+ delete tools.grep;
394
+ delete tools.glob;
395
+ return;
396
+ });
397
+ var KimiPlugin2 = make("opencode.prompt.kimi", (model) => model.id.toLowerCase().includes("kimi") ? kimi_default : undefined);
398
+ var ArceePlugin2 = make("opencode.prompt.arcee", (model) => model.id.toLowerCase().includes("trinity") ? trinity_default : undefined);
399
+ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
386
400
  if (!model.id.toLowerCase().includes("muse"))
387
401
  return;
388
402
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
389
- }, { operation: "replace" });
403
+ });
390
404
  var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
391
- function make(id, getPrompt, options) {
405
+ function make(id, optimize) {
392
406
  return define({
393
- id: `opencode.prompt.${id}`,
394
- effect: Effect.fn(`SystemPromptPlugin.${id}`)(function* (ctx) {
407
+ id,
408
+ effect: Effect.fn(`OptimizePlugin.${id}`)(function* (ctx) {
395
409
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
410
+ const model = (yield* ctx.catalog.model.list()).data.find((model) => model.providerID === event.model.providerID && model.id === event.model.id) ?? Model.Info.default(event.model.providerID, event.model.id);
411
+ const template = optimize(model, event.tools);
412
+ if (!template)
413
+ return;
396
414
  if ((yield* ctx.agent.get({ agentID: event.agent })).data.system)
397
415
  return;
398
416
  const system = event.system[0];
399
417
  if (!system)
400
418
  return;
401
- const model = (yield* ctx.catalog.model.list()).data.find((model) => model.providerID === event.model.providerID && model.id === event.model.id);
402
- const template = getPrompt(model ?? Model.Info.default(event.model.providerID, event.model.id));
403
- if (!template)
404
- return;
405
- const prompt = render3(template, Object.keys(event.tools));
406
- if (options.operation === "append") {
407
- event.system.splice(1, 0, SystemPart.make(prompt));
408
- return;
409
- }
410
- event.system[0] = { ...system, text: prompt };
419
+ event.system[0] = { ...system, text: render3(template, Object.keys(event.tools)) };
411
420
  }).pipe(Effect.catch(() => Effect.void)));
412
421
  })
413
422
  });
414
423
  }
415
424
 
416
- export { OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_system_prompt };
425
+ export { OpenAIPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -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/util/token.ts
6
6
  var exports_token = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./wellknown-se0s1eqw.js";
3
+ } from "./image-se0s1eqw.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({