@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,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service46
4
- } from "./repository-7k43vd6t.js";
3
+ Service58
4
+ } from "./file-ame7p0bf.js";
5
5
  import {
6
- Service60
7
- } from "./repository-e248x3jn.js";
6
+ Service64
7
+ } from "./file-g7jvb7c9.js";
8
8
  import {
9
9
  observe2
10
- } from "./repository-qsdy395h.js";
10
+ } from "./file-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin19
19
+ Plugin: () => Plugin18
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin19 = define({
23
+ var Plugin18 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service46;
27
- const output = yield* Service60;
26
+ const config = yield* Service58;
27
+ const output = yield* Service64;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin19 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin19, exports_tool_output };
41
+ export { Plugin18, exports_tool_output };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./repository-6msgmcgs.js";
3
+ } from "./file-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./repository-dj2t23y0.js";
6
+ } from "./file-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -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/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node7
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service4,
18
+ var node7 = makeLocationNode({
19
+ service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node6, bound2, exports_instance2 };
32
+ export { Service5, node7, bound2, exports_instance2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service81
3
- } from "./repository-8dbdhz5n.js";
2
+ Service82
3
+ } from "./file-p0rshxbh.js";
4
4
  import {
5
5
  Service42
6
- } from "./repository-rz6nd0at.js";
6
+ } from "./file-wkmpenx3.js";
7
7
  import {
8
- Error3
9
- } from "./repository-n8a799tr.js";
8
+ Error2
9
+ } from "./file-h0jmq7yk.js";
10
10
  import {
11
- Service60
12
- } from "./repository-e248x3jn.js";
11
+ Service64
12
+ } from "./file-g7jvb7c9.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./repository-1vr0zdnx.js";
15
+ } from "./file-y8n92kwn.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./repository-ec1grn59.js";
18
+ } from "./file-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./repository-m2542dxt.js";
21
+ } from "./file-d1mbserq.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./repository-tdstcens.js";
24
+ } from "./file-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./repository-erw5rpbs.js";
27
+ } from "./file-erw5rpbs.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./repository-2rt9jbq4.js";
30
+ } from "./file-m3pxzh9s.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-9rqn6x4v.js";
33
+ } from "./file-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
54
  var make3 = Effect.gen(function* () {
55
- const bus = yield* Service81;
55
+ const bus = yield* Service82;
56
56
  const llm = yield* LLMClient.Service;
57
57
  const snapshots = yield* Service42;
58
- const toolOutput = yield* Service60;
58
+ const toolOutput = yield* Service64;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error2({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./repository-1vr0zdnx.js";
5
+ } from "./file-y8n92kwn.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./repository-btjhzyrj.js";
8
+ } from "./file-6r536pd1.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./repository-yqgrxd6e.js";
11
+ } from "./file-3qzhexf6.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./repository-vqxaxcf1.js";
21
+ } from "./file-hz1es13a.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./repository-56gdpj1q.js";
3
+ } from "./file-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin40,
11
+ Plugin: () => Plugin36,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint6 = "https://mcp.exa.ai/mcp";
18
+ var endpoint5 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin40 = define({
30
+ var Plugin36 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin40 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint6);
52
+ const url = new URL(endpoint5);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint6, Plugin40, exports_exa };
83
+ export { endpoint5, Plugin36, exports_exa };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./repository-5daktx2q.js";
3
+ } from "./file-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./repository-922hggd3.js";
6
+ } from "./file-922hggd3.js";
7
7
  import {
8
- ID6,
8
+ ID4,
9
9
  Name2
10
- } from "./repository-7c3st4jz.js";
10
+ } from "./file-42mthp08.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID6.make(id),
58
+ id: ID4.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
9
  make: () => make14,
10
- render: () => render2
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
30
30
 
31
31
  // src/session/system-prompt.ts
32
32
  function make14(tools) {
33
- return render2(system_default, tools);
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render2, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./repository-eh3zwz77.js";
3
+ } from "./file-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./repository-e73j6tqm.js";
6
+ } from "./file-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./repository-3wcehsnq.js";
9
+ } from "./file-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./repository-dap0rakb.js";
12
+ } from "./file-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./repository-4y7fprxs.js";
15
+ } from "./file-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node87
7
- } from "./repository-ejwr8mgp.js";
6
+ node84
7
+ } from "./file-e34x8y7p.js";
8
8
  import {
9
9
  Slug2
10
- } from "./repository-gebd4c9n.js";
10
+ } from "./file-gebd4c9n.js";
11
11
  import {
12
- Service82,
12
+ Service83,
13
13
  node86
14
- } from "./repository-3gq312nc.js";
14
+ } from "./file-bpnjy3z7.js";
15
15
  import {
16
- Service81,
16
+ Service82,
17
17
  node85
18
- } from "./repository-8dbdhz5n.js";
18
+ } from "./file-p0rshxbh.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./repository-dj2t23y0.js";
21
+ } from "./file-8p4f9s12.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./repository-m0jqrx5p.js";
24
+ } from "./file-cfpkc3c9.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./repository-8gtmmj3e.js";
28
+ } from "./file-3my6v4az.js";
29
29
  import {
30
30
  Ref4
31
- } from "./repository-rkhtkbzg.js";
31
+ } from "./file-fpkmmq0f.js";
32
32
  import {
33
- Service54,
34
- node56
35
- } from "./repository-spdwqtpn.js";
33
+ Service53,
34
+ node55
35
+ } from "./file-v5brccvm.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./repository-gv6a8nnw.js";
39
+ } from "./file-gv6a8nnw.js";
40
40
  import {
41
- make12
42
- } from "./repository-7a8n5hjw.js";
41
+ make15
42
+ } from "./file-xgt31tjm.js";
43
43
  import {
44
- Service25
45
- } from "./repository-qdvbds2a.js";
44
+ Service33
45
+ } from "./file-sp8y8b7b.js";
46
46
  import {
47
47
  __export
48
- } from "./repository-9rqn6x4v.js";
48
+ } from "./file-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -54,18 +54,18 @@ __export(exports_worktree2, {
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
56
  Event: () => Event6,
57
- Info: () => Info5,
57
+ Info: () => Info6,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service24,
63
+ Service: () => Service32,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node27
68
+ node: () => node35
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
80
  var CreateInput3 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info5 = Worktree.Info;
82
+ var Info6 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
@@ -96,16 +96,16 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
96
96
  }
97
97
  var Event6 = Worktree.Event;
98
98
 
99
- class Service24 extends Context.Service()("@opencode/Worktree") {
99
+ class Service32 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service24, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const database = yield* Service82;
103
+ const database = yield* Service83;
104
104
  const db = database.db;
105
- const bus = yield* Service81;
105
+ const bus = yield* Service82;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service54;
108
- const gitStrategy = yield* make12;
107
+ const locations = yield* Service53;
108
+ const gitStrategy = yield* make15;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service25).get();
123
+ return Context.get(context, Service33).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service24.of({
254
+ return Service32.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node27 = Node.makeGlobalNode({
265
- service: Service24,
264
+ var node35 = Node.makeGlobalNode({
265
+ service: Service32,
266
266
  layer,
267
- deps: [FSUtil.node, node87, node85, node86, AppProcess.node, node56]
267
+ deps: [FSUtil.node, node84, node85, node86, AppProcess.node, node55]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service24, node27, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service32, node35, exports_worktree2, OperationError2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./repository-922hggd3.js";
4
+ } from "./file-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./repository-dpkg50ah.js";
7
+ } from "./file-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./repository-tazgh4e4.js";
12
+ } from "./file-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./repository-ef5x83kb.js";
15
+ } from "./file-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service83,
26
+ Service: () => Service81,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node87
30
+ node: () => node84
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service83 extends Context.Service()("@opencode/Git") {
96
+ class Service81 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service83, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service83.of({
422
+ return Service81.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node87 = makeGlobalNode({ service: Service83, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node84 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service83, node87, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node84, exports_git3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service81,
2
+ Service82,
3
3
  node85
4
- } from "./repository-8dbdhz5n.js";
4
+ } from "./file-p0rshxbh.js";
5
5
  import {
6
- Service37,
7
- node40
8
- } from "./repository-328cx775.js";
6
+ Service28,
7
+ node31
8
+ } from "./file-hxzqr5y1.js";
9
9
  import {
10
- Service71,
10
+ Service72,
11
11
  node75
12
- } from "./repository-btjhzyrj.js";
12
+ } from "./file-6r536pd1.js";
13
13
  import {
14
- Service41,
15
- node44
16
- } from "./repository-n8a799tr.js";
14
+ Service38,
15
+ node41
16
+ } from "./file-h0jmq7yk.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-9rqn6x4v.js";
19
+ } from "./file-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: () => Service36,
26
- layer: () => layer14,
25
+ Service: () => Service24,
26
+ layer: () => layer12,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node39
29
+ node: () => node28
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 Service36 extends Context.Service()("@opencode/McpTool") {
38
+ class Service24 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer14 = Layer.effect(Service36, Effect.gen(function* () {
41
- const mcp = yield* Service37;
42
- const tools = yield* Service41;
43
- const bus = yield* Service81;
44
- const permission = yield* Service71;
40
+ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
41
+ const mcp = yield* Service28;
42
+ const tools = yield* Service38;
43
+ const bus = yield* Service82;
44
+ const permission = yield* Service72;
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(Service36, 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 Service36.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node39 = makeLocationNode({
124
- service: Service36,
125
- layer: layer14,
126
- deps: [node44, node40, node85, node75]
123
+ var node28 = makeLocationNode({
124
+ service: Service24,
125
+ layer: layer12,
126
+ deps: [node41, node31, node85, node75]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service36, layer14, node39, exports_mcp3 };
129
+ export { namespace2, name14, Service24, layer12, node28, exports_mcp3 };