@opencode/core 0.0.0-dev-19769 → 0.0.0-dev-19772

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{repository-3srb4c33.js → file-018x1ems.js} +15 -15
  8. package/dist/chunks/{repository-eaj1djv9.js → file-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{repository-85ph882g.js → file-0777derp.js} +2 -2
  10. package/dist/chunks/{repository-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{repository-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{repository-vxd5ygdv.js → file-12fxvqn6.js} +29 -29
  13. package/dist/chunks/{repository-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{repository-vd6cqa4j.js → file-1gp0z8vk.js} +8 -8
  15. package/dist/chunks/{repository-paegk39x.js → file-1hc11dc4.js} +4 -4
  16. package/dist/chunks/{repository-818pfwc9.js → file-1qg96azw.js} +8 -8
  17. package/dist/chunks/file-1x11rq2a.js +18 -0
  18. package/dist/chunks/{repository-21r38tys.js → file-21r38tys.js} +1 -1
  19. package/dist/chunks/{repository-tz3nmx0j.js → file-22br4zbr.js} +29 -29
  20. package/dist/chunks/{repository-fkd8950d.js → file-22wh6ycc.js} +20 -20
  21. package/dist/chunks/{repository-rbsrykmc.js → file-23bnecbk.js} +20 -20
  22. package/dist/chunks/{repository-mmvpf3z9.js → file-263r72ym.js} +20 -20
  23. package/dist/chunks/{repository-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{repository-wnbgtmcr.js → file-2dvm09dd.js} +24 -24
  25. package/dist/chunks/{repository-tcg29b4q.js → file-2jz473v5.js} +1 -1
  26. package/dist/chunks/{repository-2m6tdwb7.js → file-2rx2wg8g.js} +1 -1
  27. package/dist/chunks/{repository-23sxaqwc.js → file-2y34zzjz.js} +6 -6
  28. package/dist/chunks/{repository-k8374c5q.js → file-2zzhbfmj.js} +1 -1
  29. package/dist/chunks/{repository-xv0a7vy5.js → file-304h1yg1.js} +27 -27
  30. package/dist/chunks/{repository-ej74qwfk.js → file-31wqgk5p.js} +10 -10
  31. package/dist/chunks/{repository-se91gbej.js → file-361xm3ya.js} +33 -33
  32. package/dist/chunks/file-3cg6k2ga.js +252 -0
  33. package/dist/chunks/{repository-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{repository-ayec40qr.js → file-3fhknkx8.js} +20 -20
  35. package/dist/chunks/{repository-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{repository-5bgvk8my.js → file-3kke03kt.js} +146 -146
  37. package/dist/chunks/{repository-8gtmmj3e.js → file-3my6v4az.js} +30 -30
  38. package/dist/chunks/{repository-yqgrxd6e.js → file-3qzhexf6.js} +15 -15
  39. package/dist/chunks/{repository-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{repository-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{repository-gyk8a0b3.js → file-41verw56.js} +28 -28
  42. package/dist/chunks/{repository-7c3st4jz.js → file-42mthp08.js} +26 -26
  43. package/dist/chunks/{repository-4qkvfqqk.js → file-46zss07m.js} +28 -28
  44. package/dist/chunks/{repository-rqx49y6e.js → file-4938m1cx.js} +280 -280
  45. package/dist/chunks/{repository-v1nykaf9.js → file-4dnw4fzb.js} +22 -22
  46. package/dist/chunks/{repository-an855pfc.js → file-4ghcrmft.js} +26 -26
  47. package/dist/chunks/{repository-95nee50p.js → file-4qenbd9f.js} +1 -1
  48. package/dist/chunks/{repository-98bk4qe8.js → file-4wywpd95.js} +7 -7
  49. package/dist/chunks/{repository-02cs18yf.js → file-4y2x8jxf.js} +42 -42
  50. package/dist/chunks/{repository-0r7yqxbf.js → file-510m7gjw.js} +5 -5
  51. package/dist/chunks/{repository-80783bh5.js → file-55j2v9k6.js} +20 -20
  52. package/dist/chunks/{repository-56gdpj1q.js → file-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{repository-81swgkk7.js → file-57ez7d0k.js} +7 -7
  54. package/dist/chunks/{repository-vk6zr57k.js → file-58vybx2g.js} +12 -12
  55. package/dist/chunks/{repository-5daktx2q.js → file-5daktx2q.js} +1 -1
  56. package/dist/chunks/{repository-scv7p57g.js → file-5e1pzs32.js} +9 -9
  57. package/dist/chunks/{repository-rwtc3fw1.js → file-5fkxaj5s.js} +3 -3
  58. package/dist/chunks/{repository-qyzwb919.js → file-5gwdj91r.js} +18 -18
  59. package/dist/chunks/{repository-7arn502q.js → file-5jsx19yx.js} +18 -18
  60. package/dist/chunks/{repository-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{repository-e188km2a.js → file-5vx8nhhg.js} +11 -11
  62. package/dist/chunks/{repository-669tq793.js → file-669tq793.js} +1 -1
  63. package/dist/chunks/{repository-p1dtcdn6.js → file-66rhs1hf.js} +38 -38
  64. package/dist/chunks/{repository-122dvtp1.js → file-6grmf33y.js} +13 -13
  65. package/dist/chunks/{repository-6h73sxmp.js → file-6h73sxmp.js} +1 -1
  66. package/dist/chunks/{repository-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{repository-cc3rhb19.js → file-6mypyd4y.js} +55 -55
  68. package/dist/chunks/{repository-btjhzyrj.js → file-6r536pd1.js} +50 -50
  69. package/dist/chunks/{repository-9gzsgfm4.js → file-6v4peh9p.js} +16 -16
  70. package/dist/chunks/{repository-7g7gx5pj.js → file-702gse62.js} +15 -15
  71. package/dist/chunks/{repository-9ws33mfb.js → file-73cb9t05.js} +5 -5
  72. package/dist/chunks/{repository-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{repository-6y44j97d.js → file-7bzk74m1.js} +18 -18
  74. package/dist/chunks/{repository-2k8khapm.js → file-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{repository-7j2qha59.js → file-7sbn2nrf.js} +8 -8
  76. package/dist/chunks/{repository-9ppytv0z.js → file-7xps8bb1.js} +27 -27
  77. package/dist/chunks/{repository-73tb2d7t.js → file-7yh4e7ss.js} +3 -3
  78. package/dist/chunks/{repository-qb3z2rd2.js → file-81tjde9w.js} +3 -3
  79. package/dist/chunks/{repository-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{repository-3j8q1kjc.js → file-8nkxt6xp.js} +34 -34
  81. package/dist/chunks/{repository-dj2t23y0.js → file-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{repository-yexpv489.js → file-8xbbjbhd.js} +35 -35
  83. package/dist/chunks/{repository-1hgfyhjr.js → file-8y3wyrth.js} +13 -13
  84. package/dist/chunks/{repository-9b1atvvx.js → file-8zvwwgc2.js} +20 -20
  85. package/dist/chunks/{repository-yn2ye6x1.js → file-91342nd3.js} +25 -25
  86. package/dist/chunks/{repository-9b6r1n9h.js → file-94s2pdns.js} +43 -43
  87. package/dist/chunks/{repository-851wtqqf.js → file-956z8k1a.js} +2 -2
  88. package/dist/chunks/{repository-2z51qmx0.js → file-9eyeqmd2.js} +24 -24
  89. package/dist/chunks/{repository-2tfmgkzg.js → file-9gr8y5ys.js} +4 -4
  90. package/dist/chunks/{repository-pwb6zpac.js → file-9xbxnfqb.js} +18 -18
  91. package/dist/chunks/{repository-5c4hm403.js → file-a1bz86dw.js} +3 -3
  92. package/dist/chunks/{repository-kj2sv36s.js → file-a6f6mbr6.js} +3 -3
  93. package/dist/chunks/{repository-aaet6srn.js → file-aaet6srn.js} +2 -2
  94. package/dist/chunks/{repository-4gawe8x4.js → file-ac8gkyem.js} +9 -9
  95. package/dist/chunks/{repository-s9kcfb9z.js → file-ad2z09fz.js} +1 -1
  96. package/dist/chunks/{repository-7k43vd6t.js → file-ame7p0bf.js} +39 -39
  97. package/dist/chunks/{repository-4jnysezt.js → file-az4c37nw.js} +20 -20
  98. package/dist/chunks/{repository-bydnjh3t.js → file-b0dgvpy7.js} +9 -9
  99. package/dist/chunks/{repository-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{repository-jywznmgw.js → file-b9ahwkd2.js} +9 -9
  101. package/dist/chunks/{repository-tbmac1c7.js → file-bacyadyn.js} +4 -4
  102. package/dist/chunks/{repository-sx1n432n.js → file-bct739vz.js} +4 -4
  103. package/dist/chunks/{repository-2wb81fjp.js → file-bj93k3jd.js} +12 -12
  104. package/dist/chunks/{repository-nw2nz702.js → file-bjn91642.js} +4 -4
  105. package/dist/chunks/{repository-3gq312nc.js → file-bpnjy3z7.js} +14 -14
  106. package/dist/chunks/{repository-p6z56n1j.js → file-by1dj0rw.js} +10 -10
  107. package/dist/chunks/{repository-t0fxg8b9.js → file-c78bbtc9.js} +5 -5
  108. package/dist/chunks/{repository-fbw0vhp1.js → file-cb7w9rn9.js} +6 -6
  109. package/dist/chunks/{repository-e36qgvhn.js → file-cd9my3v1.js} +11 -11
  110. package/dist/chunks/{repository-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{repository-5xtgfte3.js → file-cmwkp3r5.js} +8 -8
  112. package/dist/chunks/{repository-5pdbn9ps.js → file-csk5y31k.js} +17 -17
  113. package/dist/chunks/{repository-m2542dxt.js → file-d1mbserq.js} +4 -4
  114. package/dist/chunks/{repository-qpbc7zwf.js → file-d383cjmk.js} +8 -8
  115. package/dist/chunks/{repository-1tmm29rr.js → file-dgf6d44x.js} +6 -6
  116. package/dist/chunks/{repository-57b9ws8p.js → file-drwq78ky.js} +5 -5
  117. package/dist/chunks/{repository-sfkj0ta1.js → file-dtqg9ce1.js} +5 -5
  118. package/dist/chunks/{repository-1c6rvf29.js → file-dv7aa87v.js} +37 -37
  119. package/dist/chunks/{repository-ejwr8mgp.js → file-e34x8y7p.js} +12 -12
  120. package/dist/chunks/{repository-dzrcb86n.js → file-e3fp033c.js} +26 -26
  121. package/dist/chunks/{repository-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  122. package/dist/chunks/{repository-3jmhxbye.js → file-ehy7cw58.js} +10 -10
  123. package/dist/chunks/{repository-8gxqpgph.js → file-embw8kgh.js} +4 -4
  124. package/dist/chunks/{repository-erw5rpbs.js → file-erw5rpbs.js} +2 -2
  125. package/dist/chunks/{repository-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{repository-pyx37xrr.js → file-f6jg9yks.js} +26 -26
  127. package/dist/chunks/{repository-hdnk95c8.js → file-f828m53h.js} +2 -2
  128. package/dist/chunks/{repository-vd3gnyv8.js → file-ff3zbyyz.js} +9 -9
  129. package/dist/chunks/{repository-tehh278v.js → file-fgrqxmc5.js} +13 -13
  130. package/dist/chunks/{repository-hrsq9gd1.js → file-fhmyd1cc.js} +9 -9
  131. package/dist/chunks/{repository-bbtvb4qv.js → file-fjtsztdw.js} +6 -6
  132. package/dist/chunks/{repository-3tq5qxbk.js → file-fkjmw100.js} +4 -4
  133. package/dist/chunks/{repository-rkhtkbzg.js → file-fpkmmq0f.js} +15 -15
  134. package/dist/chunks/{repository-g8atgw3j.js → file-ftdzjz2b.js} +6 -6
  135. package/dist/chunks/{repository-gbgzsaak.js → file-fvbnea60.js} +37 -37
  136. package/dist/chunks/{repository-qdakzt9p.js → file-fwcvyjm4.js} +9 -9
  137. package/dist/chunks/{repository-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{repository-fxmgg4aj.js → file-fxmgg4aj.js} +1 -1
  139. package/dist/chunks/{repository-k12tcn4w.js → file-fxzbpcn9.js} +9 -9
  140. package/dist/chunks/{repository-7bz5ees8.js → file-g5fh27jm.js} +27 -27
  141. package/dist/chunks/{repository-jef2745y.js → file-g6mb1r40.js} +13 -13
  142. package/dist/chunks/{repository-cwa6csj7.js → file-g6q9qykm.js} +9 -9
  143. package/dist/chunks/{repository-e248x3jn.js → file-g7jvb7c9.js} +12 -12
  144. package/dist/chunks/{repository-8sp84cjn.js → file-g7z2c8ev.js} +18 -18
  145. package/dist/chunks/{repository-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{repository-wdw0r690.js → file-gq8aqzna.js} +8 -8
  147. package/dist/chunks/{repository-v4hmrze8.js → file-gr0d3prr.js} +10 -10
  148. package/dist/chunks/{repository-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{repository-z73117hq.js → file-gwyevam5.js} +6 -6
  150. package/dist/chunks/{repository-n8a799tr.js → file-h0jmq7yk.js} +24 -24
  151. package/dist/chunks/{repository-6ymf14rh.js → file-h0zs8ypv.js} +10 -10
  152. package/dist/chunks/{repository-xrpj31b0.js → file-h36v7wj5.js} +5 -5
  153. package/dist/chunks/{repository-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{repository-xcd0eash.js → file-h896pcm5.js} +6 -6
  155. package/dist/chunks/{repository-64ec3t10.js → file-h9bw0csn.js} +15 -15
  156. package/dist/chunks/{repository-dv9a7byg.js → file-hah04hfd.js} +1 -1
  157. package/dist/chunks/{repository-w6xp1hem.js → file-hhvxj0xs.js} +2 -2
  158. package/dist/chunks/{repository-0f9afca0.js → file-hkfg6fzm.js} +5 -5
  159. package/dist/chunks/{repository-ne89hd12.js → file-hmwvdnz2.js} +62 -62
  160. package/dist/chunks/{repository-cefpf2j3.js → file-hphfs7r7.js} +17 -17
  161. package/dist/chunks/{repository-wdy8ayv0.js → file-hqfwp6f0.js} +31 -31
  162. package/dist/chunks/{repository-328cx775.js → file-hxzqr5y1.js} +46 -46
  163. package/dist/chunks/{repository-aejz0fra.js → file-hywk6jf9.js} +17 -17
  164. package/dist/chunks/{repository-vqxaxcf1.js → file-hz1es13a.js} +13 -13
  165. package/dist/chunks/{repository-2wk1s5ej.js → file-j18yem6v.js} +9 -9
  166. package/dist/chunks/{repository-a04068z3.js → file-j55ehytx.js} +30 -30
  167. package/dist/chunks/{repository-j56e64zr.js → file-j56e64zr.js} +1 -1
  168. package/dist/chunks/{repository-21yy59vd.js → file-j6vme8qb.js} +17 -17
  169. package/dist/chunks/{repository-74zwf8gc.js → file-ja67c5z9.js} +86 -86
  170. package/dist/chunks/{repository-m4x4s9k7.js → file-jh2tjjwa.js} +8 -8
  171. package/dist/chunks/{repository-xkz7c9k1.js → file-k1324ekq.js} +22 -22
  172. package/dist/chunks/{repository-nzks3jc8.js → file-k3c624dm.js} +3 -3
  173. package/dist/chunks/{repository-yaamm28n.js → file-k83v2y4t.js} +27 -27
  174. package/dist/chunks/{repository-11faaktz.js → file-kbhnhzqb.js} +15 -15
  175. package/dist/chunks/{repository-f0173z6s.js → file-kewrzfp7.js} +4 -4
  176. package/dist/chunks/{repository-6brvp8jk.js → file-kjesn8ee.js} +8 -8
  177. package/dist/chunks/{repository-h196rex3.js → file-kynetcxa.js} +28 -28
  178. package/dist/chunks/{repository-fhqgz6t0.js → file-kz33qt24.js} +28 -28
  179. package/dist/chunks/{repository-m3fdjcah.js → file-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{repository-2rt9jbq4.js → file-m3pxzh9s.js} +3 -3
  181. package/dist/chunks/{repository-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{repository-g190xswt.js → file-magykp64.js} +4 -4
  183. package/dist/chunks/{repository-ryr25ayn.js → file-mtq6xxnx.js} +7 -7
  184. package/dist/chunks/{repository-3pvrcrbr.js → file-mw9xfcqs.js} +13 -13
  185. package/dist/chunks/{repository-at1kfnmk.js → file-n0tq777j.js} +8 -8
  186. package/dist/chunks/{repository-21418s17.js → file-n1jh56hb.js} +22 -22
  187. package/dist/chunks/{repository-1ax7tqy2.js → file-n31hfr13.js} +12 -12
  188. package/dist/chunks/{repository-z9jh4hq6.js → file-n5fr74k4.js} +10 -10
  189. package/dist/chunks/{repository-dkepx75h.js → file-n86jpvhn.js} +11 -11
  190. package/dist/chunks/{repository-ppqt0576.js → file-nb532tg8.js} +11 -11
  191. package/dist/chunks/{repository-xx5d256e.js → file-nbpc3svs.js} +10 -10
  192. package/dist/chunks/{repository-n6wrsq7f.js → file-nk46f8av.js} +6 -6
  193. package/dist/chunks/{repository-3f29nsc9.js → file-nqjmnyjs.js} +11 -11
  194. package/dist/chunks/{repository-qss189bp.js → file-nqsne9m4.js} +10 -10
  195. package/dist/chunks/file-nvdf328w.js +26 -0
  196. package/dist/chunks/{repository-nzyhnfxz.js → file-nzyhnfxz.js} +1 -1
  197. package/dist/chunks/{repository-w4arg62q.js → file-p0b4ytnr.js} +6 -6
  198. package/dist/chunks/{repository-8dbdhz5n.js → file-p0rshxbh.js} +15 -15
  199. package/dist/chunks/{repository-5v1trjgx.js → file-p244d6rq.js} +16 -16
  200. package/dist/chunks/{repository-p28j5sbe.js → file-p28j5sbe.js} +2 -2
  201. package/dist/chunks/{repository-nms28mnr.js → file-p8pa7sfy.js} +11 -11
  202. package/dist/chunks/{repository-c9thm2jp.js → file-pht2kxnm.js} +26 -22
  203. package/dist/chunks/{repository-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{repository-pknna89w.js → file-pknna89w.js} +1 -1
  205. package/dist/chunks/{repository-zbx1chvt.js → file-px5sh37w.js} +11 -11
  206. package/dist/chunks/{repository-tmrdwbct.js → file-q4629ca0.js} +13 -13
  207. package/dist/chunks/{repository-fhs97t90.js → file-qg0jgkcp.js} +9 -9
  208. package/dist/chunks/{repository-1fg9yqa8.js → file-qjbq15hs.js} +4 -4
  209. package/dist/chunks/{repository-qsdy395h.js → file-qsdy395h.js} +1 -1
  210. package/dist/chunks/{repository-k73yd5yd.js → file-r3pg8356.js} +3 -3
  211. package/dist/chunks/{repository-m8akdy0v.js → file-r7nh0yvy.js} +24 -24
  212. package/dist/chunks/{repository-5w45afp5.js → file-r8cnjpdy.js} +3 -3
  213. package/dist/chunks/{repository-rdw6cm16.js → file-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{repository-3sz2bchy.js → file-rmkrm11x.js} +15 -15
  215. package/dist/chunks/{repository-5zhg5203.js → file-rtbbky2x.js} +7 -7
  216. package/dist/chunks/{repository-99e2g3zc.js → file-rtqwcmtr.js} +35 -35
  217. package/dist/chunks/{repository-38d1cmqw.js → file-s56qzf8n.js} +23 -23
  218. package/dist/chunks/{repository-s5erq2b1.js → file-s5e6zdc6.js} +15 -15
  219. package/dist/chunks/{repository-mt8rgcqf.js → file-s6j88jt8.js} +3 -3
  220. package/dist/chunks/{repository-pjy5167v.js → file-sez37x1t.js} +26 -26
  221. package/dist/chunks/{repository-qdvbds2a.js → file-sp8y8b7b.js} +20 -20
  222. package/dist/chunks/{repository-6gcwrvb4.js → file-t44gpkd9.js} +9 -9
  223. package/dist/chunks/{repository-snkcc4fb.js → file-t7ffcjc5.js} +4 -4
  224. package/dist/chunks/{repository-1z7773kr.js → file-t8t6b7x0.js} +10 -10
  225. package/dist/chunks/{repository-tqd2p7vb.js → file-t9s0mbhm.js} +15 -15
  226. package/dist/chunks/{repository-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{repository-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{repository-tdstcens.js → file-tdstcens.js} +1 -1
  229. package/dist/chunks/{repository-y4e3v118.js → file-tkd8wqpt.js} +18 -18
  230. package/dist/chunks/{repository-tvtrv512.js → file-tvtrv512.js} +1 -1
  231. package/dist/chunks/{repository-j7j31x51.js → file-tz2j9nz1.js} +6 -6
  232. package/dist/chunks/{repository-hmc4zdtv.js → file-tz47dz5v.js} +2 -2
  233. package/dist/chunks/{repository-xwfaabrj.js → file-v23xd7nj.js} +6 -6
  234. package/dist/chunks/{repository-zd485wpt.js → file-v53gfhad.js} +7 -7
  235. package/dist/chunks/{repository-spdwqtpn.js → file-v5brccvm.js} +9 -9
  236. package/dist/chunks/{repository-krbqxjpe.js → file-v9qkps81.js} +8 -8
  237. package/dist/chunks/{repository-aj9sfs2c.js → file-vcewcf3p.js} +7 -7
  238. package/dist/chunks/{repository-xetzeabr.js → file-vcnb347p.js} +21 -21
  239. package/dist/chunks/{repository-veqvce7d.js → file-veqvce7d.js} +1 -1
  240. package/dist/chunks/{repository-7ns1f3fm.js → file-vtede9h4.js} +5 -5
  241. package/dist/chunks/{repository-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{repository-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{repository-29eh7px0.js → file-w418y777.js} +15 -15
  244. package/dist/chunks/{repository-ccs15j7g.js → file-w676f2yv.js} +22 -22
  245. package/dist/chunks/{repository-0294hark.js → file-w6dmyrhq.js} +88 -88
  246. package/dist/chunks/{repository-tgyp3sag.js → file-w7bw98z6.js} +30 -30
  247. package/dist/chunks/{repository-wd87259q.js → file-wd87259q.js} +1 -1
  248. package/dist/chunks/{repository-xv28g7bs.js → file-wf1szsxf.js} +4 -4
  249. package/dist/chunks/{repository-ce65tj11.js → file-wj40hwr9.js} +43 -43
  250. package/dist/chunks/{repository-rz6nd0at.js → file-wkmpenx3.js} +20 -20
  251. package/dist/chunks/{repository-kypwaetd.js → file-ws1k4zdc.js} +14 -14
  252. package/dist/chunks/{repository-aqcfb23j.js → file-wvp89zrt.js} +9 -9
  253. package/dist/chunks/{repository-etckb5nd.js → file-wxsy39h8.js} +24 -24
  254. package/dist/chunks/{repository-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{repository-pnstgbf5.js → file-x2dr3d7k.js} +16 -16
  256. package/dist/chunks/{repository-96r3cgq7.js → file-x3rxtwc7.js} +9 -9
  257. package/dist/chunks/{repository-vm6v9059.js → file-xfzgb354.js} +11 -11
  258. package/dist/chunks/{repository-xg9t41r3.js → file-xg9t41r3.js} +2 -2
  259. package/dist/chunks/{repository-7a8n5hjw.js → file-xgt31tjm.js} +8 -8
  260. package/dist/chunks/{repository-zqkcer71.js → file-xshcj497.js} +27 -27
  261. package/dist/chunks/{repository-j7d6k5qg.js → file-xsqcdhn5.js} +3 -3
  262. package/dist/chunks/{repository-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{repository-dpkg50ah.js → file-y71avatq.js} +4 -4
  264. package/dist/chunks/{repository-1vr0zdnx.js → file-y8n92kwn.js} +6 -6
  265. package/dist/chunks/{repository-k7smy2rd.js → file-ya5dy726.js} +6 -6
  266. package/dist/chunks/{repository-89avhe1g.js → file-ydt9pqf5.js} +11 -11
  267. package/dist/chunks/{repository-tf0sfjy1.js → file-yebv8twa.js} +13 -13
  268. package/dist/chunks/{repository-yp2x3t23.js → file-yp2x3t23.js} +1 -1
  269. package/dist/chunks/{repository-fn8r46yt.js → file-yqcj9em5.js} +23 -23
  270. package/dist/chunks/{repository-sfq66c4x.js → file-yr29whj8.js} +27 -27
  271. package/dist/chunks/{repository-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{repository-yrznvahk.js → file-yrznvahk.js} +2 -2
  273. package/dist/chunks/{repository-e48wdnmq.js → file-yt24apy5.js} +15 -15
  274. package/dist/chunks/{repository-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{repository-3pkejnne.js → file-z2yza9q7.js} +26 -26
  276. package/dist/chunks/{repository-jp1thbes.js → file-z3nk8zw6.js} +36 -36
  277. package/dist/chunks/{repository-c2d5mwvj.js → file-z3v71fe4.js} +47 -47
  278. package/dist/chunks/{repository-z63w68vq.js → file-z63w68vq.js} +2 -2
  279. package/dist/chunks/{repository-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{repository-qmyzm461.js → file-zen0tk5x.js} +12 -12
  281. package/dist/chunks/{repository-kjczd05a.js → file-zg8bah5t.js} +19 -19
  282. package/dist/chunks/{repository-s9a2knzy.js → file-zhvjewb1.js} +8 -8
  283. package/dist/chunks/{repository-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{repository-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{repository-1z0t5xwh.js → file-zyfew8ns.js} +24 -24
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +84 -84
  291. package/dist/config/discovery.js +81 -81
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +122 -122
  295. package/dist/config/plugin/command.js +211 -211
  296. package/dist/config/plugin/compaction.js +159 -159
  297. package/dist/config/plugin/compatibility.js +138 -138
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +124 -124
  303. package/dist/config/plugin/mcp.js +129 -129
  304. package/dist/config/plugin/policy.js +120 -120
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +122 -122
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +141 -141
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +123 -123
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +121 -121
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +74 -74
  320. package/dist/database/database.js +71 -71
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -366
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +92 -92
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +92 -92
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +71 -71
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +226 -226
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +102 -102
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +90 -90
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +357 -357
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +77 -77
  459. package/dist/job.js +76 -76
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-lifecycle.js +105 -105
  464. package/dist/location-mutation.js +103 -103
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +354 -354
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +90 -90
  469. package/dist/mcp/index.js +107 -107
  470. package/dist/mcp/instructions.js +127 -127
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +89 -89
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +90 -90
  475. package/dist/model-resolver.js +97 -97
  476. package/dist/model.js +97 -97
  477. package/dist/models-dev.js +98 -98
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +77 -77
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +85 -85
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +101 -101
  488. package/dist/plugin/command.js +98 -98
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +217 -217
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +328 -328
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +95 -95
  496. package/dist/plugin/module.js +5 -5
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +99 -99
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  501. package/dist/plugin/provider/azure.js +121 -121
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +118 -118
  507. package/dist/plugin/provider/digitalocean.js +92 -92
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +92 -92
  512. package/dist/plugin/provider/gitlab.js +90 -90
  513. package/dist/plugin/provider/google-vertex.js +89 -89
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +119 -119
  517. package/dist/plugin/provider/modal.js +91 -91
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +121 -121
  520. package/dist/plugin/provider/openai.js +91 -91
  521. package/dist/plugin/provider/opencode.js +92 -92
  522. package/dist/plugin/provider/openrouter.js +90 -90
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  526. package/dist/plugin/provider/sap-ai-core.js +90 -90
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +89 -89
  531. package/dist/plugin/provider/vllm.js +121 -121
  532. package/dist/plugin/provider/xai.js +90 -90
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +345 -345
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +85 -85
  542. package/dist/plugin/vcs/hg.js +85 -85
  543. package/dist/plugin/warming.js +120 -120
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +90 -90
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +89 -89
  560. package/dist/reference/instructions.js +88 -88
  561. package/dist/reference.js +90 -90
  562. package/dist/repository-cache.js +80 -80
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +96 -96
  566. package/dist/rpc.js +85 -85
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +87 -87
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +221 -221
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +85 -85
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +96 -96
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +118 -118
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +104 -104
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +89 -89
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +230 -230
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +97 -97
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +111 -111
  600. package/dist/session/runner/step.js +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +1 -1
  603. package/dist/session/session.js +171 -171
  604. package/dist/session/shell.js +137 -137
  605. package/dist/session/skill.js +102 -102
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +74 -74
  608. package/dist/session/store.js +82 -82
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +209 -209
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +153 -153
  613. package/dist/session/to-session-error.js +110 -110
  614. package/dist/session/transfer.js +218 -218
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +215 -215
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +137 -137
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +106 -106
  624. package/dist/skill.js +111 -111
  625. package/dist/snapshot.js +84 -84
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +124 -124
  630. package/dist/tool/plugin/edit.js +119 -119
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +123 -123
  633. package/dist/tool/plugin/grep.js +123 -123
  634. package/dist/tool/plugin/opencode.js +1 -1
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +102 -102
  637. package/dist/tool/plugin/read.js +124 -124
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +110 -110
  640. package/dist/tool/plugin/subagent.js +218 -218
  641. package/dist/tool/plugin/webfetch.js +109 -109
  642. package/dist/tool/plugin/websearch.js +111 -111
  643. package/dist/tool/plugin/write.js +119 -119
  644. package/dist/tool/read-filesystem.js +99 -99
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +14 -14
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +90 -90
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +88 -88
  677. package/dist/websearch.js +83 -83
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +76 -76
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +79 -79
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +88 -88
  687. package/dist/worktree.js +93 -93
  688. package/package.json +8 -8
  689. package/dist/chunks/repository-by5v678g.js +0 -18
  690. package/dist/chunks/repository-e83h8wp6.js +0 -252
  691. package/dist/chunks/repository-p7df8h7a.js +0 -26
  692. /package/dist/chunks/{repository-0mesazry.js → file-0mesazry.js} +0 -0
  693. /package/dist/chunks/{repository-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{repository-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{repository-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{repository-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{repository-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{repository-24dcb14g.js → file-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{repository-2710q6r3.js → file-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{repository-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{repository-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{repository-359p4xyc.js → file-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{repository-3asan66x.js → file-3asan66x.js} +0 -0
  704. /package/dist/chunks/{repository-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{repository-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{repository-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{repository-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{repository-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{repository-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{repository-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{repository-53557ph1.js → file-53557ph1.js} +0 -0
  712. /package/dist/chunks/{repository-550bvhaj.js → file-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{repository-5qd3pb7m.js → file-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{repository-6prwharc.js → file-6prwharc.js} +0 -0
  715. /package/dist/chunks/{repository-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{repository-7m9af43g.js → file-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{repository-822emrt2.js → file-822emrt2.js} +0 -0
  718. /package/dist/chunks/{repository-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{repository-8n3pysct.js → file-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{repository-922hggd3.js → file-922hggd3.js} +0 -0
  721. /package/dist/chunks/{repository-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{repository-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{repository-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{repository-af5trqkr.js → file-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{repository-afrmfg78.js → file-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{repository-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{repository-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{repository-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{repository-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{repository-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{repository-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{repository-d9fn303g.js → file-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{repository-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{repository-dajrwvna.js → file-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{repository-dap0rakb.js → file-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{repository-df08tz66.js → file-df08tz66.js} +0 -0
  737. /package/dist/chunks/{repository-dy18nga0.js → file-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{repository-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{repository-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{repository-ec1grn59.js → file-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{repository-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{repository-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{repository-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{repository-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{repository-faypxj3z.js → file-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{repository-fd410y7t.js → file-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{repository-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{repository-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{repository-g86h250q.js → file-g86h250q.js} +0 -0
  750. /package/dist/chunks/{repository-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{repository-gftt206x.js → file-gftt206x.js} +0 -0
  752. /package/dist/chunks/{repository-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{repository-hk9envan.js → file-hk9envan.js} +0 -0
  754. /package/dist/chunks/{repository-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{repository-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{repository-j7wq2tw5.js → file-j7wq2tw5.js} +0 -0
  757. /package/dist/chunks/{repository-jjkms2e6.js → file-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{repository-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{repository-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{repository-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{repository-mp448xyj.js → file-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{repository-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{repository-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{repository-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{repository-njntx4h6.js → file-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{repository-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{repository-q74kybfr.js → file-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{repository-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{repository-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{repository-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{repository-qg3g05ea.js → file-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{repository-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{repository-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{repository-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{repository-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{repository-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{repository-twg0f83k.js → file-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{repository-w803qqfp.js → file-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{repository-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{repository-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{repository-wtztk69x.js → file-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{repository-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{repository-x61499pn.js → file-x61499pn.js} +0 -0
  784. /package/dist/chunks/{repository-y44na4kk.js → file-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{repository-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{repository-y8f7s663.js → file-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{repository-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{repository-ym463w8f.js → file-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{repository-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service45,
8
+ Service: () => Service57,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node48
10
+ node: () => node59
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service45 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service57 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service45, () => {
17
+ var layer = Layer.sync(Service57, () => {
18
18
  const environments = new Map;
19
- return Service45.of({
19
+ return Service57.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service45, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node48 = makeGlobalNode({ service: Service45, layer, deps: [] });
29
+ var node59 = makeGlobalNode({ service: Service57, layer, deps: [] });
30
30
 
31
- export { Service45, node48, exports_environment };
31
+ export { Service57, node59, exports_environment };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./repository-rkhtkbzg.js";
5
+ Service77
6
+ } from "./file-fpkmmq0f.js";
7
7
  import {
8
- Service70
9
- } from "./repository-9gzsgfm4.js";
8
+ Service41
9
+ } from "./file-6v4peh9p.js";
10
10
  import {
11
- Service9
12
- } from "./repository-7arn502q.js";
11
+ Service8
12
+ } from "./file-5jsx19yx.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./repository-2a5m3afh.js";
15
+ } from "./file-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service10
27
- } from "./repository-tqd2p7vb.js";
26
+ Service9
27
+ } from "./file-t9s0mbhm.js";
28
28
  import {
29
29
  __export
30
- } from "./repository-9rqn6x4v.js";
30
+ } from "./file-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input4,
36
- Plugin: () => Plugin23,
35
+ Input: () => Input9,
36
+ Plugin: () => Plugin29,
37
37
  ReadTool: () => exports_read,
38
- name: () => name4,
39
- toModelContent: () => toModelContent3
38
+ name: () => name9,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name4 = "read";
45
+ var name9 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input4 = LocationInput;
56
+ var Input9 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin23 = {
58
+ var Plugin29 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service10;
62
- const access = yield* Service70;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service9;
62
+ const access = yield* Service41;
63
+ const sessionInstructions = yield* Service8;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service76;
65
+ const location = yield* Service77;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name4,
67
+ name: name9,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input4,
70
+ input: Input9,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin23 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent3 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name4, Input4, Plugin23, toModelContent3, exports_read };
183
+ export { name9, Input9, Plugin29, toModelContent4, exports_read };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./repository-qaymkmh1.js";
3
+ } from "./file-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make10(input) {
8
+ function make6(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make10 };
264
+ export { make6 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./repository-c2d5mwvj.js";
3
+ } from "./file-z3v71fe4.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./repository-twg0f83k.js";
6
+ } from "./file-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./repository-qaymkmh1.js";
3
+ } from "./file-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service81,
2
+ Service82,
3
3
  node85
4
- } from "./repository-8dbdhz5n.js";
4
+ } from "./file-p0rshxbh.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./repository-ejwr8mgp.js";
6
+ Service81,
7
+ node84
8
+ } from "./file-e34x8y7p.js";
9
9
  import {
10
- Service76,
10
+ Service77,
11
11
  node80
12
- } from "./repository-rkhtkbzg.js";
12
+ } from "./file-fpkmmq0f.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./repository-by5v678g.js";
15
+ } from "./file-1x11rq2a.js";
16
16
  import {
17
- Service47,
18
- node50
19
- } from "./repository-xkz7c9k1.js";
17
+ Service59,
18
+ node61
19
+ } from "./file-k1324ekq.js";
20
20
  import {
21
- node23
22
- } from "./repository-ayec40qr.js";
21
+ node18
22
+ } from "./file-3fhknkx8.js";
23
23
  import {
24
- Service12,
25
- node14
26
- } from "./repository-cwa6csj7.js";
24
+ Service6,
25
+ node8
26
+ } from "./file-g6q9qykm.js";
27
27
  import {
28
28
  __export
29
- } from "./repository-9rqn6x4v.js";
29
+ } from "./file-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service11,
36
- node: () => node13
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service11 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service11, Effect.gen(function* () {
46
- const location = yield* Service76;
47
- const watcher = yield* Service47;
48
- const bus = yield* Service81;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service77;
47
+ const watcher = yield* Service59;
48
+ const bus = yield* Service82;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service83;
51
- const policy = yield* Service12;
50
+ const git = yield* Service81;
51
+ const policy = yield* Service6;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service11.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node13 = makeLocationNode({
106
- service: Service11,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node50, FSUtil.node, node80, node87, node85, node23, node14]
108
+ deps: [node61, FSUtil.node, node80, node84, node85, node18, node8]
109
109
  });
110
110
 
111
- export { Service11, node13, exports_location_watcher2 };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./repository-6msgmcgs.js";
4
+ } from "./file-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./repository-qfa1cgps.js";
7
+ } from "./file-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./repository-2a5m3afh.js";
3
+ } from "./file-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./repository-922hggd3.js";
6
+ } from "./file-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./repository-rkhtkbzg.js";
8
+ Service77
9
+ } from "./file-fpkmmq0f.js";
10
10
  import {
11
- Service63
12
- } from "./repository-38d1cmqw.js";
11
+ Service62
12
+ } from "./file-s56qzf8n.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service19
16
- } from "./repository-y4e3v118.js";
15
+ Service44
16
+ } from "./file-tkd8wqpt.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./repository-zqkcer71.js";
23
+ } from "./file-xshcj497.js";
24
24
  import {
25
- Service71
26
- } from "./repository-btjhzyrj.js";
25
+ Service72
26
+ } from "./file-6r536pd1.js";
27
27
  import {
28
- Service70
29
- } from "./repository-9gzsgfm4.js";
28
+ Service41
29
+ } from "./file-6v4peh9p.js";
30
30
  import {
31
31
  __export
32
- } from "./repository-9rqn6x4v.js";
32
+ } from "./file-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input11,
39
- Output: () => Output7,
40
- Plugin: () => Plugin31,
41
- name: () => name11,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input7,
39
+ Output: () => Output5,
40
+ Plugin: () => Plugin26,
41
+ name: () => name7,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name11 = "grep";
48
- var Input11 = Schema.Struct({
47
+ var name7 = "grep";
48
+ var Input7 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output7 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output5 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin31 = {
86
+ var Plugin26 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service63;
90
- const ripgrep = yield* Service19;
91
- const location = yield* Service76;
92
- const access = yield* Service70;
93
- const permission = yield* Service71;
89
+ const environment = yield* Service62;
90
+ const ripgrep = yield* Service44;
91
+ const location = yield* Service77;
92
+ const access = yield* Service41;
93
+ const permission = yield* Service72;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name11,
95
+ name: name7,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input11,
99
- output: Output7,
98
+ input: Input7,
99
+ output: Output5,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name11,
105
+ action: name7,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin31 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin31 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name11, Input11, Output7, toModelContent5, Plugin31, exports_grep };
157
+ export { name7, Input7, Output5, toModelContent3, Plugin26, exports_grep };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./repository-rdw6cm16.js";
3
+ } from "./file-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./repository-qaymkmh1.js";
6
+ } from "./file-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
14
  Options: () => Options10,
15
- Service: () => Service62,
15
+ Service: () => Service61,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node65,
24
+ node: () => node63,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve4
27
27
  });
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service62 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service61 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service62.of({
202
+ return Service61.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured10(options) {
210
- return makeLocationNode({ service: Service62, layer: layer(options), deps: [Global.node] });
209
+ function configured9(options) {
210
+ return makeLocationNode({ service: Service61, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node65 = configured10();
212
+ var node63 = configured9();
213
213
 
214
- export { Options10, Service62, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node65, exports_select };
214
+ export { Options10, Service61, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured9, node63, exports_select };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service71
3
- } from "./repository-btjhzyrj.js";
2
+ Service72
3
+ } from "./file-6r536pd1.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./repository-4vcrnpx2.js";
7
+ } from "./file-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./repository-3v8g72cx.js";
10
+ } from "./file-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input6,
19
+ Input: () => Input4,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin25,
22
+ Plugin: () => Plugin23,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description2,
25
+ description: () => description3,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name6
27
+ name: () => name4
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name6 = "webfetch";
33
+ var name4 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input6 = Schema.Struct({
41
+ var Input4 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input6 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input6.fields.format,
51
+ format: Input4.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin25 = {
95
+ var Plugin23 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service71;
99
+ const permission = yield* Service72;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name6,
101
+ name: name4,
102
102
  options: { codemode: false },
103
- description: description2,
104
- input: Input6,
103
+ description: description3,
104
+ input: Input4,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin25 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name6,
112
+ action: name4,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name6, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input6, Plugin25, extractTextFromHTML2, exports_webfetch };
170
+ export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input4, Plugin23, extractTextFromHTML2, exports_webfetch };