@opencode/core 0.0.0-dev-21357 → 0.0.0-dev-21362

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{config-wty6bgg7.js → tool-01rpkdw6.js} +5 -5
  8. package/dist/chunks/{config-m5s739gf.js → tool-0413hwj4.js} +39 -39
  9. package/dist/chunks/{config-8m3cssw6.js → tool-073332rd.js} +20 -20
  10. package/dist/chunks/{config-g31rm23e.js → tool-08vgyj7k.js} +14 -14
  11. package/dist/chunks/{config-yswgg9qv.js → tool-0976wqw8.js} +18 -18
  12. package/dist/chunks/{config-wymva24z.js → tool-0j3c2sb1.js} +11 -11
  13. package/dist/chunks/{config-jcbq9qyv.js → tool-0mcdt3xm.js} +20 -20
  14. package/dist/chunks/{config-xkzfnk1e.js → tool-0nyyp0wg.js} +14 -14
  15. package/dist/chunks/{config-qne3fa44.js → tool-0r3c1bmw.js} +5 -5
  16. package/dist/chunks/{config-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{config-b0sy7btn.js → tool-0zprb6es.js} +27 -27
  18. package/dist/chunks/{config-52jgfbpk.js → tool-1fqwyhye.js} +54 -54
  19. package/dist/chunks/{config-dcm3phq5.js → tool-1pwk8kcs.js} +14 -14
  20. package/dist/chunks/{config-z8swzr19.js → tool-1rgsmk43.js} +10 -10
  21. package/dist/chunks/{config-ynmknp8q.js → tool-2ae0q92z.js} +7 -7
  22. package/dist/chunks/{config-nekmryzb.js → tool-2d2h4qhb.js} +33 -33
  23. package/dist/chunks/{config-mwfpcask.js → tool-2fpns0sv.js} +30 -30
  24. package/dist/chunks/{config-5qfavyey.js → tool-2kjm689e.js} +20 -20
  25. package/dist/chunks/{config-jkcvv5zp.js → tool-2nhcazd0.js} +17 -17
  26. package/dist/chunks/{config-zevtz36z.js → tool-2s6t35ks.js} +7 -7
  27. package/dist/chunks/{config-nzxs01ks.js → tool-2t1tfy87.js} +16 -16
  28. package/dist/chunks/{config-01w2j48t.js → tool-2tny0edy.js} +186 -186
  29. package/dist/chunks/{config-9r4817sq.js → tool-3493q4kq.js} +17 -17
  30. package/dist/chunks/{config-p88vvsz3.js → tool-37nhdnh0.js} +4 -4
  31. package/dist/chunks/{config-g2yfkae0.js → tool-3eneve4b.js} +43 -43
  32. package/dist/chunks/{config-qpvqe435.js → tool-3f43s8b4.js} +44 -44
  33. package/dist/chunks/{config-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{config-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{config-1h3v5wkf.js → tool-3jt1eddq.js} +60 -60
  36. package/dist/chunks/{config-qefw6cfz.js → tool-3nmfsz90.js} +14 -14
  37. package/dist/chunks/{config-9q85pybg.js → tool-3p3jney2.js} +29 -29
  38. package/dist/chunks/{config-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{config-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{config-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{config-15wkt9r0.js → tool-455yydvh.js} +26 -26
  42. package/dist/chunks/{config-22sd1qqc.js → tool-4e8vs6eh.js} +8 -8
  43. package/dist/chunks/{config-9b55rd9h.js → tool-4k7jacjp.js} +11 -11
  44. package/dist/chunks/{config-d9xej2qg.js → tool-4kjbsxnw.js} +4 -4
  45. package/dist/chunks/tool-4vgve9x2.js +26 -0
  46. package/dist/chunks/{config-6mg66w46.js → tool-4xcz4xpr.js} +17 -17
  47. package/dist/chunks/{config-4mwpykj0.js → tool-52hb404k.js} +6 -6
  48. package/dist/chunks/{config-54ma36ye.js → tool-54ma36ye.js} +1 -1
  49. package/dist/chunks/{config-3fzp089a.js → tool-58vmr7wj.js} +16 -16
  50. package/dist/chunks/{config-yz37vbp4.js → tool-5bnha4a9.js} +2 -2
  51. package/dist/chunks/{config-3nkcb2f7.js → tool-5ee0ck5t.js} +23 -23
  52. package/dist/chunks/{config-9yy9ab6f.js → tool-5ehgcgpr.js} +44 -44
  53. package/dist/chunks/{config-vep9yay1.js → tool-5g57z1ma.js} +4 -4
  54. package/dist/chunks/{config-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{config-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
  56. package/dist/chunks/{config-j3bw3kw0.js → tool-61b1kan1.js} +30 -30
  57. package/dist/chunks/{config-6827pfxn.js → tool-6827pfxn.js} +1 -1
  58. package/dist/chunks/{config-e1n9zcw9.js → tool-6efjf592.js} +19 -19
  59. package/dist/chunks/{config-gxeds83z.js → tool-6kfemk62.js} +51 -51
  60. package/dist/chunks/{config-m5paqf2g.js → tool-6mbm070j.js} +32 -32
  61. package/dist/chunks/{config-6pc27hjz.js → tool-6pc27hjz.js} +2 -2
  62. package/dist/chunks/{config-k850gnf2.js → tool-6tz1jnny.js} +5 -5
  63. package/dist/chunks/{config-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{config-bzkayexk.js → tool-6ysb8vkt.js} +22 -22
  65. package/dist/chunks/{config-bnaqkdcm.js → tool-6zt8z75t.js} +27 -27
  66. package/dist/chunks/{config-b7an2wpv.js → tool-713g62m8.js} +332 -332
  67. package/dist/chunks/{config-cpzrm4es.js → tool-76ejvhhr.js} +15 -15
  68. package/dist/chunks/{config-775gj3j1.js → tool-775gj3j1.js} +2 -2
  69. package/dist/chunks/{config-15rsdq6e.js → tool-793g28qj.js} +24 -24
  70. package/dist/chunks/{config-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{config-8a27v2a9.js → tool-7cnnqjpd.js} +6 -6
  72. package/dist/chunks/{config-cac2amd6.js → tool-7def0ggy.js} +38 -38
  73. package/dist/chunks/{config-fcrkznn8.js → tool-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{config-7byx5q39.js → tool-7hrceg3g.js} +37 -37
  75. package/dist/chunks/{config-8rgyadme.js → tool-7k4nsz29.js} +11 -11
  76. package/dist/chunks/{config-snbmbkyq.js → tool-7kkywtdn.js} +14 -14
  77. package/dist/chunks/{config-8p4aw0bd.js → tool-7shzd1td.js} +23 -23
  78. package/dist/chunks/{config-5s9rh5zt.js → tool-7t04q73r.js} +23 -23
  79. package/dist/chunks/{config-kstnevy1.js → tool-7vjhz70e.js} +3 -3
  80. package/dist/chunks/{config-5fec3t3w.js → tool-81f7vt2z.js} +8 -8
  81. package/dist/chunks/{config-x6pefea0.js → tool-82ep1r6s.js} +5 -5
  82. package/dist/chunks/{config-84txncab.js → tool-84txncab.js} +1 -1
  83. package/dist/chunks/{config-w9enybe6.js → tool-86kfezyq.js} +7 -7
  84. package/dist/chunks/{config-jgmf5dt5.js → tool-88jzmhd2.js} +8 -8
  85. package/dist/chunks/{config-qvapsqgq.js → tool-8d5fwhns.js} +1 -1
  86. package/dist/chunks/{config-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{config-pfgcdf6c.js → tool-8mv6xfqh.js} +5 -5
  88. package/dist/chunks/{config-8mywswrd.js → tool-8mywswrd.js} +1 -1
  89. package/dist/chunks/{config-180t97jp.js → tool-8x9ys1f9.js} +19 -19
  90. package/dist/chunks/{config-12tcmyxx.js → tool-8yapk0fv.js} +29 -29
  91. package/dist/chunks/{config-r2mahbrd.js → tool-9ay43wn2.js} +21 -21
  92. package/dist/chunks/{config-9ndxqh6g.js → tool-9eyh9j7p.js} +32 -32
  93. package/dist/chunks/{config-2s6fx24g.js → tool-9jtmtwne.js} +13 -13
  94. package/dist/chunks/{config-mtrbqqrq.js → tool-9w4ppqge.js} +5 -5
  95. package/dist/chunks/{config-jscyxzwk.js → tool-9wjqfw83.js} +4 -4
  96. package/dist/chunks/{config-7v6vae4w.js → tool-a20pjse5.js} +3 -3
  97. package/dist/chunks/{config-gn31e51v.js → tool-a5rre0n2.js} +11 -11
  98. package/dist/chunks/{config-s0dvnttc.js → tool-aawdsyze.js} +4 -4
  99. package/dist/chunks/{config-dgpsrprm.js → tool-addxnjmp.js} +4 -4
  100. package/dist/chunks/{config-5epte933.js → tool-arz7hw7x.js} +3 -3
  101. package/dist/chunks/{config-xd76gghg.js → tool-asd51m7s.js} +91 -91
  102. package/dist/chunks/{config-nvcb2me1.js → tool-atsf9aqe.js} +11 -11
  103. package/dist/chunks/{config-52v926c4.js → tool-b14jzmzs.js} +31 -31
  104. package/dist/chunks/{config-a01j9zgm.js → tool-b4nzaj04.js} +5 -5
  105. package/dist/chunks/{config-4q9d5zmx.js → tool-b762m4xg.js} +29 -29
  106. package/dist/chunks/{config-4xdpab2z.js → tool-bacj9t34.js} +9 -9
  107. package/dist/chunks/{config-bcmq4rdz.js → tool-bdx6mn17.js} +9 -9
  108. package/dist/chunks/{config-c72jc7ts.js → tool-bec822vs.js} +6 -6
  109. package/dist/chunks/{config-1ffvrpkg.js → tool-bjx1sjef.js} +6 -6
  110. package/dist/chunks/{config-y45vxbtn.js → tool-byq8e8jd.js} +11 -11
  111. package/dist/chunks/{config-1zbharsm.js → tool-bz29cs86.js} +25 -25
  112. package/dist/chunks/{config-1ep4rre3.js → tool-bzeyqsqd.js} +4 -4
  113. package/dist/chunks/{config-hqam50bx.js → tool-c3j8ne37.js} +20 -20
  114. package/dist/chunks/{config-rj3eygr5.js → tool-c41wscbt.js} +2 -2
  115. package/dist/chunks/{config-mrxs1jjw.js → tool-c7hvxrkm.js} +22 -22
  116. package/dist/chunks/{config-sa8ekw3f.js → tool-c8ax2afj.js} +2 -2
  117. package/dist/chunks/{config-e411ahfn.js → tool-cg54xxwj.js} +12 -12
  118. package/dist/chunks/{config-amaj7c21.js → tool-cg9p582w.js} +9 -9
  119. package/dist/chunks/{config-qp9tjspb.js → tool-ck0e8gek.js} +20 -20
  120. package/dist/chunks/{config-ha0sjevb.js → tool-ckjpj2pw.js} +3 -3
  121. package/dist/chunks/{config-01dnnh97.js → tool-cmcz3sb1.js} +12 -12
  122. package/dist/chunks/{config-9hn6k4tm.js → tool-cmwkp3r5.js} +8 -8
  123. package/dist/chunks/{config-amv78yhn.js → tool-cn8yddnn.js} +28 -28
  124. package/dist/chunks/{config-8ypvz7qz.js → tool-ctd2f7xq.js} +30 -30
  125. package/dist/chunks/{config-qdm6e7vz.js → tool-cthpwpgv.js} +50 -50
  126. package/dist/chunks/{config-098mw7j8.js → tool-cw1n2y8y.js} +19 -19
  127. package/dist/chunks/{config-8qbxhjh4.js → tool-d2ms787s.js} +20 -20
  128. package/dist/chunks/{config-4ww92429.js → tool-djw0pnbs.js} +87 -87
  129. package/dist/chunks/{config-rmg23tmx.js → tool-dnc7w57r.js} +14 -14
  130. package/dist/chunks/{config-0k354qyb.js → tool-dnt051dx.js} +34 -34
  131. package/dist/chunks/{config-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
  132. package/dist/chunks/{config-drwq78ky.js → tool-drwq78ky.js} +1 -1
  133. package/dist/chunks/{config-d7nwkqpz.js → tool-dt8v8cc6.js} +16 -16
  134. package/dist/chunks/{config-2vvbbmgf.js → tool-dv6fhex8.js} +5 -5
  135. package/dist/chunks/tool-dxj72tfx.js +18 -0
  136. package/dist/chunks/{config-zcrspsvn.js → tool-e2hjzebn.js} +4 -4
  137. package/dist/chunks/{config-nma959mg.js → tool-e80seqcp.js} +3 -3
  138. package/dist/chunks/{config-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  139. package/dist/chunks/{config-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{config-2n7mj27j.js → tool-ehkcedfy.js} +5 -5
  141. package/dist/chunks/{config-c1fqxshp.js → tool-es1vcfrp.js} +3 -3
  142. package/dist/chunks/{config-zs3nsmqd.js → tool-esfwjqg1.js} +13 -13
  143. package/dist/chunks/{config-6rk0qtx5.js → tool-f5ct3k6s.js} +17 -17
  144. package/dist/chunks/{config-2tbjjbgs.js → tool-f872t808.js} +20 -20
  145. package/dist/chunks/{config-f6ssxvba.js → tool-f8fhdr9r.js} +33 -33
  146. package/dist/chunks/{config-fcy631f0.js → tool-fcy631f0.js} +1 -1
  147. package/dist/chunks/{config-r2m716tb.js → tool-ft3hqk2c.js} +9 -9
  148. package/dist/chunks/{config-fxaymqdw.js → tool-fxaymqdw.js} +1 -1
  149. package/dist/chunks/{config-2y5zvhyc.js → tool-fxs30z0y.js} +22 -22
  150. package/dist/chunks/{config-zj1j3pwt.js → tool-fxyrfkeq.js} +11 -11
  151. package/dist/chunks/{config-bjje5kk1.js → tool-g44aby64.js} +17 -17
  152. package/dist/chunks/{config-50dha6f4.js → tool-g50kefr8.js} +12 -12
  153. package/dist/chunks/{config-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{config-7rkcz7sg.js → tool-gftpqfcq.js} +4 -4
  155. package/dist/chunks/{config-4sgmmrrd.js → tool-gybdh0a0.js} +26 -26
  156. package/dist/chunks/{config-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{config-n0f1vr5p.js → tool-hb7c6vf9.js} +13 -13
  158. package/dist/chunks/{config-tt8gc4fv.js → tool-hbb7npd7.js} +6 -6
  159. package/dist/chunks/{config-0am8fjdy.js → tool-hbq1mjfv.js} +24 -24
  160. package/dist/chunks/{config-c6zmkhp3.js → tool-he8dq86x.js} +26 -26
  161. package/dist/chunks/{config-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  162. package/dist/chunks/{config-eb2d9dj2.js → tool-hjhxarjg.js} +2 -2
  163. package/dist/chunks/{config-eyh2h61y.js → tool-hqd7seh4.js} +18 -18
  164. package/dist/chunks/{config-4adxw2q2.js → tool-hxtet8kv.js} +8 -8
  165. package/dist/chunks/{config-32pxjafj.js → tool-ja6ama36.js} +15 -15
  166. package/dist/chunks/{config-f04qpyrt.js → tool-jr4tj8tx.js} +23 -23
  167. package/dist/chunks/{config-z6z398pq.js → tool-jv204pn8.js} +6 -6
  168. package/dist/chunks/{config-w9qd1epz.js → tool-kq8anxe4.js} +11 -11
  169. package/dist/chunks/{config-xkyhk0aw.js → tool-krhn2nch.js} +14 -14
  170. package/dist/chunks/{config-kwb1v3vj.js → tool-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{config-vs4d0xe8.js → tool-m5wnc3h6.js} +15 -15
  172. package/dist/chunks/{config-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{config-maspj1v3.js → tool-maspj1v3.js} +1 -1
  174. package/dist/chunks/{config-kcz5hpxv.js → tool-mchgfn78.js} +14 -14
  175. package/dist/chunks/{config-9ph9narp.js → tool-mhbktqx9.js} +11 -11
  176. package/dist/chunks/{config-0146ehcd.js → tool-mhe84b87.js} +41 -41
  177. package/dist/chunks/{config-3m8ztwev.js → tool-mhrn1b6p.js} +49 -49
  178. package/dist/chunks/{config-e7pp2s8c.js → tool-mmwmp5se.js} +9 -9
  179. package/dist/chunks/{config-5pt2mcnr.js → tool-mn1waazh.js} +37 -37
  180. package/dist/chunks/{config-y06s3qmd.js → tool-myq527w7.js} +24 -24
  181. package/dist/chunks/{config-xsyaf836.js → tool-mzrjd0cd.js} +11 -11
  182. package/dist/chunks/{config-11dqjexa.js → tool-n37c4crj.js} +9 -9
  183. package/dist/chunks/{config-ba4pvmzc.js → tool-n4rwe75z.js} +47 -47
  184. package/dist/chunks/{config-tgnctp9w.js → tool-nd7csjtk.js} +13 -13
  185. package/dist/chunks/{config-cgsh41s3.js → tool-nj4kxd9v.js} +45 -45
  186. package/dist/chunks/{config-v13b12ef.js → tool-nz56sr1f.js} +5 -5
  187. package/dist/chunks/{config-skhmt099.js → tool-p19xwqz2.js} +9 -9
  188. package/dist/chunks/{config-hbkz9y4g.js → tool-p1ayhfez.js} +13 -13
  189. package/dist/chunks/{config-8jqzjjgp.js → tool-p56jdh79.js} +1 -1
  190. package/dist/chunks/{config-czx6xwt7.js → tool-p9e5fkyj.js} +16 -16
  191. package/dist/chunks/{config-t8x95368.js → tool-pc58ekcv.js} +11 -11
  192. package/dist/chunks/{config-tj1mb8k7.js → tool-pd6tx8e2.js} +19 -19
  193. package/dist/chunks/{config-dj68pnee.js → tool-ph842b28.js} +4 -4
  194. package/dist/chunks/{config-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{config-pknna89w.js → tool-pknna89w.js} +1 -1
  196. package/dist/chunks/{config-mpk95cj2.js → tool-pz07xgh4.js} +9 -9
  197. package/dist/chunks/{config-f04b7fkv.js → tool-q2dz4afa.js} +27 -27
  198. package/dist/chunks/{config-0ryw2dh8.js → tool-q846csbm.js} +21 -21
  199. package/dist/chunks/{config-vpdhx3rn.js → tool-q8nrjm55.js} +10 -10
  200. package/dist/chunks/{config-a2ew8a62.js → tool-qa3qhgw8.js} +4 -4
  201. package/dist/chunks/{config-yt2d26s8.js → tool-qdqb97nm.js} +13 -13
  202. package/dist/chunks/{config-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{config-3v7yvdjz.js → tool-qnw1j25x.js} +21 -21
  204. package/dist/chunks/{config-qsdy395h.js → tool-qsdy395h.js} +1 -1
  205. package/dist/chunks/{config-gnnqajqc.js → tool-r1rfp8t8.js} +8 -8
  206. package/dist/chunks/{config-by382cv3.js → tool-r7epa8w9.js} +10 -10
  207. package/dist/chunks/{config-qc37ryp5.js → tool-rdsy7yvm.js} +14 -14
  208. package/dist/chunks/{config-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{config-zg7zaxa7.js → tool-rf0v5n98.js} +31 -31
  210. package/dist/chunks/{config-0gdmqesm.js → tool-rhjbct0v.js} +4 -4
  211. package/dist/chunks/{config-vt49cx54.js → tool-rk2kcxcc.js} +18 -18
  212. package/dist/chunks/{config-cj7b5bvp.js → tool-rmc73zzm.js} +24 -24
  213. package/dist/chunks/{config-e8gmhsy9.js → tool-rns4py0f.js} +74 -74
  214. package/dist/chunks/{config-qap5887j.js → tool-rpvr12zk.js} +15 -15
  215. package/dist/chunks/{config-n6jsk7we.js → tool-rwasyrp5.js} +43 -43
  216. package/dist/chunks/{config-fw181sc9.js → tool-ry6831an.js} +9 -9
  217. package/dist/chunks/{config-9qgvjr2e.js → tool-s1d318ea.js} +3 -3
  218. package/dist/chunks/{config-4ywq529d.js → tool-s23kegdt.js} +9 -9
  219. package/dist/chunks/{config-b89refpb.js → tool-s8n8peb1.js} +4 -4
  220. package/dist/chunks/{config-c53xjpva.js → tool-stcs9p48.js} +6 -6
  221. package/dist/chunks/{config-z88jw627.js → tool-stf95kdk.js} +6 -6
  222. package/dist/chunks/{config-syv4x271.js → tool-syv4x271.js} +1 -1
  223. package/dist/chunks/{config-p4g5r354.js → tool-t5pnv4sj.js} +32 -32
  224. package/dist/chunks/{config-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{config-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{config-tdstcens.js → tool-tdstcens.js} +1 -1
  227. package/dist/chunks/{config-r5d9wbyh.js → tool-tehwna3t.js} +7 -7
  228. package/dist/chunks/{config-rert0e01.js → tool-tkb22qbm.js} +2 -2
  229. package/dist/chunks/{config-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
  230. package/dist/chunks/{config-f4kwc7sz.js → tool-trj535fm.js} +3 -3
  231. package/dist/chunks/{config-7rsqhaa1.js → tool-twben05b.js} +12 -12
  232. package/dist/chunks/{config-f8e526k5.js → tool-txssyqt7.js} +6 -6
  233. package/dist/chunks/{config-tyytaxap.js → tool-tyytaxap.js} +1 -1
  234. package/dist/chunks/{config-g5yn26t0.js → tool-tzs5ptya.js} +11 -11
  235. package/dist/chunks/{config-ywwy23a8.js → tool-v210v162.js} +9 -9
  236. package/dist/chunks/{config-11pezjhg.js → tool-v56xwjn6.js} +35 -35
  237. package/dist/chunks/{config-6drhhcgp.js → tool-v5e4b0wx.js} +18 -18
  238. package/dist/chunks/{config-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{config-0xqyf95c.js → tool-v7z2bvyd.js} +4 -4
  240. package/dist/chunks/{config-2dryst3t.js → tool-vbrars45.js} +8 -8
  241. package/dist/chunks/{config-veqvce7d.js → tool-veqvce7d.js} +1 -1
  242. package/dist/chunks/{config-g80172w6.js → tool-vmdagwb0.js} +19 -19
  243. package/dist/chunks/{config-jge05sef.js → tool-vnn07649.js} +3 -3
  244. package/dist/chunks/{config-edj4339e.js → tool-vvzbhhck.js} +4 -4
  245. package/dist/chunks/{config-5n3frxbd.js → tool-vw63prre.js} +10 -10
  246. package/dist/chunks/{config-fvwy1vyc.js → tool-vx00tebk.js} +4 -4
  247. package/dist/chunks/{config-ybacsgwy.js → tool-vymc59vb.js} +35 -35
  248. package/dist/chunks/{config-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{config-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{config-t364h0ga.js → tool-w4sgd07z.js} +25 -25
  251. package/dist/chunks/{config-jzd62m09.js → tool-w73xcbgf.js} +15 -15
  252. package/dist/chunks/{config-g3fevjja.js → tool-w9sgbs7k.js} +22 -22
  253. package/dist/chunks/{config-wd87259q.js → tool-wd87259q.js} +1 -1
  254. package/dist/chunks/{config-57myy5jh.js → tool-wh6zw745.js} +5 -5
  255. package/dist/chunks/{config-5ve7jj82.js → tool-wjapg7ww.js} +5 -5
  256. package/dist/chunks/{config-ffxepqpn.js → tool-wpafx981.js} +23 -23
  257. package/dist/chunks/{config-y0ce904t.js → tool-wpj6vp23.js} +26 -26
  258. package/dist/chunks/{config-3hpw86qk.js → tool-wss5z80w.js} +5 -5
  259. package/dist/chunks/{config-w3h4062d.js → tool-wy45m17f.js} +2 -2
  260. package/dist/chunks/{config-63ak3stf.js → tool-x3jgdmpg.js} +8 -8
  261. package/dist/chunks/{config-x7c6yhp3.js → tool-x4c1mtyt.js} +15 -15
  262. package/dist/chunks/{config-wezx3yaj.js → tool-xag3qx04.js} +17 -17
  263. package/dist/chunks/{config-ys7bpb1s.js → tool-xr8wmf3z.js} +16 -16
  264. package/dist/chunks/tool-xrbvcvxz.js +257 -0
  265. package/dist/chunks/{config-v9km43zh.js → tool-xsft43nm.js} +50 -50
  266. package/dist/chunks/{config-kxkke69v.js → tool-xypd4wdp.js} +9 -9
  267. package/dist/chunks/{config-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{config-ykgnd92y.js → tool-yb5r4v0q.js} +12 -12
  269. package/dist/chunks/{config-nn3p50dy.js → tool-yh238p43.js} +22 -22
  270. package/dist/chunks/{config-vn2b5ja7.js → tool-ypcn87gg.js} +13 -13
  271. package/dist/chunks/{config-y72zmemf.js → tool-yvvvp4gn.js} +8 -8
  272. package/dist/chunks/{config-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{config-z18fegx4.js → tool-z18fegx4.js} +1 -1
  274. package/dist/chunks/{config-0q3gqcca.js → tool-z629hdve.js} +5 -5
  275. package/dist/chunks/{config-9c366hpc.js → tool-z9hatdac.js} +12 -12
  276. package/dist/chunks/{config-cja2h5j5.js → tool-zc68hza3.js} +22 -22
  277. package/dist/chunks/{config-z348g6gc.js → tool-zgha0hsw.js} +23 -23
  278. package/dist/chunks/{config-x9z4gqn5.js → tool-zkaac646.js} +10 -10
  279. package/dist/chunks/{config-esa7kqcn.js → tool-zkkgz3mx.js} +18 -18
  280. package/dist/chunks/{config-r19d657x.js → tool-zpfaeg84.js} +30 -30
  281. package/dist/chunks/{config-2c9v7a19.js → tool-zr0b5yc7.js} +16 -16
  282. package/dist/chunks/{config-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{config-9r3hany2.js → tool-ztyv0636.js} +28 -28
  284. package/dist/chunks/{config-av20eqx4.js → tool-zwevc33g.js} +11 -11
  285. package/dist/chunks/{config-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{config-kz72sk14.js → tool-zyx4ag0r.js} +30 -30
  287. package/dist/chunks/{config-p6tf2z3c.js → tool-zz29nx1c.js} +11 -11
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +114 -114
  297. package/dist/config/plugin/command.js +206 -206
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +117 -117
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +117 -117
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +72 -72
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +81 -81
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +367 -367
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +221 -221
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +100 -100
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +108 -108
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +86 -86
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +113 -113
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +86 -86
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +219 -219
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +91 -91
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +214 -214
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +77 -77
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +208 -208
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +130 -130
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +87 -87
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +128 -128
  638. package/dist/tool/plugin/edit.js +116 -116
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +122 -122
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +116 -116
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +121 -121
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +207 -207
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +5 -5
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +89 -89
  690. package/dist/worktree.js +94 -94
  691. package/package.json +8 -8
  692. package/dist/chunks/config-619r8v3y.js +0 -18
  693. package/dist/chunks/config-7qbkbymg.js +0 -257
  694. package/dist/chunks/config-kdcahg00.js +0 -26
  695. /package/dist/chunks/{config-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{config-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{config-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{config-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{config-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{config-24dcb14g.js → tool-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{config-2710q6r3.js → tool-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{config-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{config-2bv980vf.js → tool-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{config-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{config-359p4xyc.js → tool-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{config-3asan66x.js → tool-3asan66x.js} +0 -0
  707. /package/dist/chunks/{config-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{config-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{config-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{config-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{config-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{config-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{config-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{config-53557ph1.js → tool-53557ph1.js} +0 -0
  715. /package/dist/chunks/{config-550bvhaj.js → tool-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{config-6prwharc.js → tool-6prwharc.js} +0 -0
  717. /package/dist/chunks/{config-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{config-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{config-7m9af43g.js → tool-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{config-822emrt2.js → tool-822emrt2.js} +0 -0
  721. /package/dist/chunks/{config-84wd9syh.js → tool-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{config-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{config-8n3pysct.js → tool-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{config-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{config-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{config-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{config-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{config-af5trqkr.js → tool-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{config-afrmfg78.js → tool-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{config-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{config-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{config-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{config-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{config-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{config-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{config-d9fn303g.js → tool-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{config-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{config-dajrwvna.js → tool-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{config-dap0rakb.js → tool-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{config-df08tz66.js → tool-df08tz66.js} +0 -0
  741. /package/dist/chunks/{config-dy18nga0.js → tool-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{config-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{config-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{config-ec1grn59.js → tool-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{config-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{config-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{config-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{config-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{config-faypxj3z.js → tool-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{config-fd410y7t.js → tool-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{config-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{config-g86h250q.js → tool-g86h250q.js} +0 -0
  753. /package/dist/chunks/{config-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{config-gftt206x.js → tool-gftt206x.js} +0 -0
  755. /package/dist/chunks/{config-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{config-hk9envan.js → tool-hk9envan.js} +0 -0
  757. /package/dist/chunks/{config-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{config-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{config-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{config-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{config-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{config-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{config-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{config-m18g726c.js → tool-m18g726c.js} +0 -0
  765. /package/dist/chunks/{config-mp448xyj.js → tool-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{config-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{config-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{config-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{config-njntx4h6.js → tool-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{config-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{config-pyv0edze.js → tool-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{config-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{config-q74kybfr.js → tool-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{config-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{config-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{config-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{config-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{config-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{config-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{config-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{config-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{config-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{config-w803qqfp.js → tool-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{config-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{config-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{config-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{config-wtztk69x.js → tool-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{config-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{config-x61499pn.js → tool-x61499pn.js} +0 -0
  790. /package/dist/chunks/{config-y44na4kk.js → tool-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{config-y8f7s663.js → tool-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{config-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{config-ym463w8f.js → tool-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{config-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{config-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./config-tazgh4e4.js";
3
+ } from "./tool-tazgh4e4.js";
4
4
  import {
5
- ID5,
5
+ ID4,
6
6
  Service38
7
- } from "./config-2c9v7a19.js";
7
+ } from "./tool-zr0b5yc7.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./config-5epte933.js";
10
+ } from "./tool-arz7hw7x.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./config-f8e526k5.js";
13
+ } from "./tool-txssyqt7.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./config-c1fqxshp.js";
16
+ } from "./tool-es1vcfrp.js";
17
17
  import {
18
18
  __export
19
- } from "./config-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -87,8 +87,8 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID5.make(from),
91
- to: ID5.make(to),
90
+ from: ID4.make(from),
91
+ to: ID4.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service84,
2
+ Service83,
3
3
  node87
4
- } from "./config-jkcvv5zp.js";
4
+ } from "./tool-2nhcazd0.js";
5
5
  import {
6
- Service29,
7
- node32
8
- } from "./config-v9km43zh.js";
6
+ Service36,
7
+ node39
8
+ } from "./tool-xsft43nm.js";
9
9
  import {
10
- Service64,
11
- node66
12
- } from "./config-52jgfbpk.js";
10
+ Service68,
11
+ node72
12
+ } from "./tool-1fqwyhye.js";
13
13
  import {
14
- Service47,
15
- node49
16
- } from "./config-y06s3qmd.js";
14
+ Service72,
15
+ node76
16
+ } from "./tool-myq527w7.js";
17
17
  import {
18
18
  __export
19
- } from "./config-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service28,
26
- layer: () => layer14,
25
+ Service: () => Service35,
26
+ layer: () => layer16,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node31
29
+ node: () => node38
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service28 extends Context.Service()("@opencode/McpTool") {
38
+ class Service35 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer14 = Layer.effect(Service28, Effect.gen(function* () {
41
- const mcp = yield* Service29;
42
- const tools = yield* Service47;
43
- const bus = yield* Service84;
44
- const permission = yield* Service64;
40
+ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
41
+ const mcp = yield* Service36;
42
+ const tools = yield* Service72;
43
+ const bus = yield* Service83;
44
+ const permission = yield* Service68;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service35.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node31 = makeLocationNode({
124
- service: Service28,
125
- layer: layer14,
126
- deps: [node49, node32, node87, node66]
123
+ var node38 = makeLocationNode({
124
+ service: Service35,
125
+ layer: layer16,
126
+ deps: [node76, node39, node87, node72]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service28, layer14, node31, exports_mcp3 };
129
+ export { namespace2, name14, Service35, layer16, node38, exports_mcp3 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service69
4
- } from "./config-n6jsk7we.js";
3
+ Service61
4
+ } from "./tool-rwasyrp5.js";
5
5
  import {
6
6
  observe2
7
- } from "./config-qsdy395h.js";
7
+ } from "./tool-qsdy395h.js";
8
8
  import {
9
- Service64
10
- } from "./config-52jgfbpk.js";
9
+ Service68
10
+ } from "./tool-1fqwyhye.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/todo.ts
16
16
  var exports_todo = {};
17
17
  __export(exports_todo, {
18
18
  Info: () => Info2,
19
- Input: () => Input7,
20
- Output: () => Output4,
21
- Plugin: () => Plugin8,
19
+ Input: () => Input12,
20
+ Output: () => Output9,
21
+ Plugin: () => Plugin48,
22
22
  TodoTool: () => exports_todo,
23
- name: () => name7,
23
+ name: () => name12,
24
24
  summarize: () => summarize2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
37
37
  `;
38
38
 
39
39
  // src/tool/plugin/todo.ts
40
- var name7 = "todowrite";
40
+ var name12 = "todowrite";
41
41
  var Info2 = Schema.Struct({
42
42
  content: Schema.String.annotate({ description: "Brief description of the task" }),
43
43
  status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
44
44
  description: "Current status of the task: pending, in_progress, completed, cancelled"
45
45
  })
46
46
  });
47
- var Input7 = Schema.Struct({
47
+ var Input12 = Schema.Struct({
48
48
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
49
49
  });
50
- var Output4 = Schema.Struct({
50
+ var Output9 = Schema.Struct({
51
51
  todos: Schema.Array(Info2)
52
52
  });
53
53
  var summarize2 = (todos) => {
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
61
61
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
62
62
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
63
63
  };
64
- var Plugin8 = {
64
+ var Plugin48 = {
65
65
  id: "opencode.tool.todo",
66
66
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
67
- const config = yield* Service69;
68
- const permission = yield* Service64;
67
+ const config = yield* Service61;
68
+ const permission = yield* Service68;
69
69
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
70
70
  const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
71
71
  yield* ctx.tool.transform((editor) => {
72
72
  if (!enabled())
73
73
  return;
74
74
  editor.add({
75
- name: name7,
75
+ name: name12,
76
76
  options: { codemode: false },
77
77
  description: todowrite_default,
78
- input: Input7,
79
- output: Output4,
78
+ input: Input12,
79
+ output: Output9,
80
80
  execute: (input, context) => permission.assert({
81
- action: name7,
81
+ action: name12,
82
82
  resources: ["*"],
83
83
  save: ["*"],
84
84
  sessionID: context.sessionID,
@@ -94,4 +94,4 @@ var Plugin8 = {
94
94
  })
95
95
  };
96
96
 
97
- export { name7, Info2, Input7, Output4, summarize2, Plugin8, exports_todo };
97
+ export { name12, Info2, Input12, Output9, summarize2, Plugin48, exports_todo };
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./config-tazgh4e4.js";
8
+ } from "./tool-tazgh4e4.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./config-ef5x83kb.js";
11
+ } from "./tool-ef5x83kb.js";
12
12
  import {
13
- Service78
14
- } from "./config-9r4817sq.js";
13
+ Service81
14
+ } from "./tool-3493q4kq.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./config-3nkcb2f7.js";
17
+ } from "./tool-5ee0ck5t.js";
18
18
  import {
19
19
  __export
20
- } from "./config-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin16,
25
+ Plugin: () => Plugin5,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin16 = define({
36
+ var Plugin5 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service78;
39
+ const location = yield* Service81;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin16, exports_git };
556
+ export { Plugin5, exports_git };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info18
9
+ Info: () => Info14
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info18 = Schema.Struct({
12
+ var Info14 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info18, exports_command5 };
21
+ export { Info14, exports_command5 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./config-dpkg50ah.js";
3
+ } from "./tool-dpkg50ah.js";
4
4
  import {
5
- Service59,
6
- node61
7
- } from "./config-cj7b5bvp.js";
5
+ Service50,
6
+ node54
7
+ } from "./tool-rmc73zzm.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service58,
17
- node: () => node60,
16
+ Service: () => Service14,
17
+ node: () => node16,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service58 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service14 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service58, Effect.gen(function* () {
38
- const environment = yield* Service59;
37
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
38
+ const environment = yield* Service50;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service58.of({ withLock, write, writeTextPreservingBom });
59
+ return Service14.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node60 = makeLocationNode({ service: Service58, layer, deps: [node61] });
61
+ var node16 = makeLocationNode({ service: Service14, layer, deps: [node54] });
62
62
 
63
- export { Service58, readText2, syncTextBom2, node60, exports_file_mutation };
63
+ export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service84,
2
+ Service83,
3
3
  node87
4
- } from "./config-jkcvv5zp.js";
4
+ } from "./tool-2nhcazd0.js";
5
5
  import {
6
- Service78,
7
- node81
8
- } from "./config-9r4817sq.js";
6
+ Service81,
7
+ node85
8
+ } from "./tool-3493q4kq.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./config-ec1grn59.js";
11
+ } from "./tool-ec1grn59.js";
12
12
  import {
13
- Service66,
14
- node68
15
- } from "./config-e1n9zcw9.js";
13
+ Service69,
14
+ node73
15
+ } from "./tool-6efjf592.js";
16
16
  import {
17
17
  __export
18
- } from "./config-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service11,
23
+ Service: () => Service9,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node13
25
+ node: () => node11
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service11 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service9 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service11, Effect.gen(function* () {
38
- const bus = yield* Service84;
37
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
38
+ const bus = yield* Service83;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service66;
41
- const location = yield* Service78;
40
+ const store = yield* Service69;
41
+ const location = yield* Service81;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service11.of({ load });
87
+ return Service9.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node13 = makeLocationNode({
98
+ var node11 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node87, FSUtil.node, node81, node68]
101
+ deps: [node87, FSUtil.node, node85, node73]
102
102
  });
103
103
 
104
- export { Service11, node13, exports_instructions };
104
+ export { Service9, node11, exports_instructions };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service80
3
- } from "./config-e411ahfn.js";
2
+ Service86
3
+ } from "./tool-cg54xxwj.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./config-0vbcp93d.js";
7
+ } from "./tool-0vbcp93d.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make20
16
+ make: () => make21
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make20 = Effect.gen(function* () {
21
+ var make21 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service80;
23
+ const git = yield* Service86;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make20 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make20, exports_git2 };
49
+ export { make21, exports_git2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./config-y1fvbwt7.js";
3
+ } from "./tool-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service56,
12
+ Service: () => Service54,
13
13
  decision: () => decision2,
14
- layer: () => layer23,
15
- node: () => node58,
14
+ layer: () => layer22,
15
+ node: () => node59,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service56 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service54 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer23 = Layer.effect(Service56, Effect.gen(function* () {
24
+ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service56.of({
27
+ return Service54.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer23 = Layer.effect(Service56, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node58 = makeGlobalNode({ service: Service56, layer: layer23, deps: [] });
39
+ var node59 = makeGlobalNode({ service: Service54, layer: layer22, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service56, layer23, node58, statements2, decision2, exports_managed_policy };
53
+ export { Service54, layer22, node59, statements2, decision2, exports_managed_policy };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  useragent2
3
- } from "./config-w9qd1epz.js";
3
+ } from "./tool-kq8anxe4.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./config-3v8g72cx.js";
6
+ } from "./tool-3v8g72cx.js";
7
7
  import {
8
- MAX_RESPONSE_BYTES3,
8
+ MAX_RESPONSE_BYTES2,
9
9
  call2
10
- } from "./config-1ffvrpkg.js";
10
+ } from "./tool-bjx1sjef.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin19,
18
+ Plugin: () => Plugin10,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint4
20
+ endpoint: () => endpoint5
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Duration, Effect, Option, Schema } from "effect";
24
24
  import { HttpClient, HttpClientRequest } from "effect/http";
25
- var endpoint4 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint5 = "https://agent.tinyfish.ai/mcp";
26
26
  var McpInput = Schema.Struct({
27
27
  query: Schema.String
28
28
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin19 = define({
54
+ var Plugin10 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -78,7 +78,7 @@ var Plugin19 = define({
78
78
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
79
79
  };
80
80
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
81
- const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
82
82
  const content = result?.content.find((item) => item.text);
83
83
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
84
84
  return response?.results.map((item) => ({
@@ -94,7 +94,7 @@ var Plugin19 = define({
94
94
  });
95
95
  var initialize = (http, headers) => Effect.gen(function* () {
96
96
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
97
- const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
98
98
  jsonrpc: "2.0",
99
99
  id: 1,
100
100
  method: "initialize",
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
105
105
  }
106
106
  }));
107
107
  const response = yield* client.execute(request);
108
- yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
108
+ yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
112
- const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
112
+ const notification = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
113
113
  jsonrpc: "2.0",
114
114
  method: "notifications/initialized"
115
115
  }));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint4, Plugin19, exports_tinyfish };
123
+ export { endpoint5, Plugin10, exports_tinyfish };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};