@opencode/core 0.0.0-dev-19898 → 0.0.0-dev-19901

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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-rhjbct0v.js → tool-output-02nrjc1r.js} +6 -6
  8. package/dist/chunks/{repository-2b9gc1bn.js → tool-output-06hvzpqw.js} +22 -22
  9. package/dist/chunks/{repository-sndbe2vj.js → tool-output-06p361q7.js} +3 -3
  10. package/dist/chunks/{repository-1kzmjx2c.js → tool-output-081ek8fx.js} +3 -3
  11. package/dist/chunks/{repository-08v0y3hn.js → tool-output-0a1zy6wp.js} +5 -5
  12. package/dist/chunks/{repository-t9fdrpzp.js → tool-output-0b2dkfpa.js} +26 -26
  13. package/dist/chunks/{repository-hc1zqxnq.js → tool-output-0dsvprc7.js} +21 -21
  14. package/dist/chunks/{repository-cmadtng6.js → tool-output-0gpx1yng.js} +70 -70
  15. package/dist/chunks/{repository-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{repository-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{repository-fmcqyzhx.js → tool-output-0tmgye68.js} +9 -9
  18. package/dist/chunks/tool-output-1675q44e.js +492 -0
  19. package/dist/chunks/{repository-2b63vbac.js → tool-output-17fex99v.js} +47 -47
  20. package/dist/chunks/{repository-pbrwaaym.js → tool-output-19gaxc1a.js} +35 -35
  21. package/dist/chunks/{repository-r8xr0va3.js → tool-output-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{repository-1bbkgx8g.js → tool-output-1bbkgx8g.js} +1 -1
  23. package/dist/chunks/{repository-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{repository-1g7epwpd.js → tool-output-1g7epwpd.js} +1 -1
  25. package/dist/chunks/{repository-msq0jde0.js → tool-output-1hc11dc4.js} +4 -4
  26. package/dist/chunks/{repository-hwvyndb6.js → tool-output-1rmaqtrx.js} +4 -4
  27. package/dist/chunks/{repository-9hrvpbwe.js → tool-output-1ts8rgva.js} +9 -9
  28. package/dist/chunks/{repository-y6mpqspj.js → tool-output-1wvycs1y.js} +15 -15
  29. package/dist/chunks/{repository-56gdpj1q.js → tool-output-1ygqh575.js} +9 -9
  30. package/dist/chunks/{repository-21r38tys.js → tool-output-21r38tys.js} +1 -1
  31. package/dist/chunks/{repository-w10e1hs6.js → tool-output-245b80zk.js} +16 -16
  32. package/dist/chunks/{repository-y3x7e78c.js → tool-output-27qhgprp.js} +11 -11
  33. package/dist/chunks/{repository-8v20qymr.js → tool-output-28bqvbmz.js} +5 -5
  34. package/dist/chunks/{repository-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{repository-0pdxzthh.js → tool-output-2dstrcn9.js} +8 -8
  36. package/dist/chunks/{repository-pstg3rfm.js → tool-output-2jz473v5.js} +1 -1
  37. package/dist/chunks/{repository-8x9d09d3.js → tool-output-2t2mkpra.js} +14 -14
  38. package/dist/chunks/{repository-3h63p6gh.js → tool-output-2vd2dv33.js} +27 -27
  39. package/dist/chunks/{repository-edst9kjn.js → tool-output-30d0gec6.js} +13 -13
  40. package/dist/chunks/{repository-kcafpss3.js → tool-output-333bq2wg.js} +10 -10
  41. package/dist/chunks/{repository-q8ypk1e3.js → tool-output-33zseqes.js} +9 -9
  42. package/dist/chunks/{repository-e5xpd6yj.js → tool-output-34x4s2w1.js} +6 -6
  43. package/dist/chunks/{repository-h0kzdnr9.js → tool-output-380fkrs4.js} +10 -10
  44. package/dist/chunks/{repository-jv89nw97.js → tool-output-3bdjg33f.js} +9 -9
  45. package/dist/chunks/{repository-hx4pgqer.js → tool-output-3cp94b2x.js} +15 -15
  46. package/dist/chunks/{repository-nse74gxk.js → tool-output-3cxbdjpt.js} +32 -32
  47. package/dist/chunks/{repository-eenrddpm.js → tool-output-3f39ggam.js} +17 -17
  48. package/dist/chunks/{repository-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{repository-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{repository-xfc5qsak.js → tool-output-3hjdpwrp.js} +15 -15
  51. package/dist/chunks/{repository-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{repository-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{repository-bfbk1002.js → tool-output-3w4a2kbh.js} +29 -29
  54. package/dist/chunks/{repository-wm8pq2ft.js → tool-output-41c5hffj.js} +14 -14
  55. package/dist/chunks/{repository-19h9n27t.js → tool-output-44f1cw7y.js} +11 -11
  56. package/dist/chunks/{repository-j6sswngc.js → tool-output-48z5eyx9.js} +13 -13
  57. package/dist/chunks/{repository-sktfb2et.js → tool-output-496as97q.js} +33 -33
  58. package/dist/chunks/{repository-1yry28cj.js → tool-output-4ajrfae2.js} +35 -35
  59. package/dist/chunks/{repository-ekgj01x9.js → tool-output-4czfwtvw.js} +10 -10
  60. package/dist/chunks/{repository-3t9hcx1j.js → tool-output-4dhr5kmg.js} +25 -25
  61. package/dist/chunks/{repository-35ng7dkh.js → tool-output-4drgpw32.js} +5 -5
  62. package/dist/chunks/{repository-nt7esxsj.js → tool-output-4dt747xw.js} +18 -18
  63. package/dist/chunks/{repository-7z2ktkw9.js → tool-output-4e105jgy.js} +89 -89
  64. package/dist/chunks/{repository-cq37gk0t.js → tool-output-4p8fzzdy.js} +4 -4
  65. package/dist/chunks/{repository-rckqc9qz.js → tool-output-4pg6vk4d.js} +28 -28
  66. package/dist/chunks/{repository-w1s085t3.js → tool-output-4vfg1jh9.js} +20 -20
  67. package/dist/chunks/{repository-9yyq1p31.js → tool-output-4zzpnmyc.js} +15 -15
  68. package/dist/chunks/{repository-f3tw885h.js → tool-output-5218j1mp.js} +5 -5
  69. package/dist/chunks/{repository-drr72fqk.js → tool-output-54d63j77.js} +18 -18
  70. package/dist/chunks/{repository-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
  71. package/dist/chunks/{repository-2ax7wrr2.js → tool-output-5ejf4r5a.js} +5 -5
  72. package/dist/chunks/{repository-47dd7mnd.js → tool-output-5j26zdd4.js} +44 -44
  73. package/dist/chunks/{repository-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{repository-9tm7cnby.js → tool-output-63d1yb06.js} +9 -9
  75. package/dist/chunks/{repository-669tq793.js → tool-output-669tq793.js} +1 -1
  76. package/dist/chunks/{repository-ngph99ba.js → tool-output-6f77yy2d.js} +2 -2
  77. package/dist/chunks/{repository-2402vzrj.js → tool-output-6h73sxmp.js} +5 -5
  78. package/dist/chunks/tool-output-6kdq0pjd.js +4 -0
  79. package/dist/chunks/{repository-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
  80. package/dist/chunks/{repository-3r3w1wnb.js → tool-output-6mt29rwn.js} +24 -24
  81. package/dist/chunks/{repository-4687882h.js → tool-output-6wk7cv4v.js} +32 -32
  82. package/dist/chunks/{repository-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{repository-84wmtamg.js → tool-output-7h5pm557.js} +32 -32
  84. package/dist/chunks/{repository-7j0nqdr6.js → tool-output-7k4p3msd.js} +27 -27
  85. package/dist/chunks/{repository-m5e6x1g3.js → tool-output-7q2hdn5f.js} +5 -5
  86. package/dist/chunks/{repository-khkheph3.js → tool-output-7s2v97aj.js} +10 -10
  87. package/dist/chunks/{repository-z39st4x2.js → tool-output-7wdyxh4v.js} +8 -8
  88. package/dist/chunks/{repository-3dxbc1k2.js → tool-output-7wht8r80.js} +11 -11
  89. package/dist/chunks/{repository-qnqcwk6h.js → tool-output-7x0e4a3e.js} +10 -10
  90. package/dist/chunks/{repository-f0yxj968.js → tool-output-808ncq51.js} +6 -6
  91. package/dist/chunks/{repository-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{repository-pa6m2t5v.js → tool-output-8fy70dyx.js} +26 -26
  93. package/dist/chunks/{repository-25dp4z6d.js → tool-output-8gfzv65x.js} +60 -60
  94. package/dist/chunks/{repository-8p4f9s12.js → tool-output-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{repository-d27vxjpb.js → tool-output-8pj9g4aw.js} +13 -13
  96. package/dist/chunks/{repository-qftbwg1s.js → tool-output-8pkffp7a.js} +1 -1
  97. package/dist/chunks/{repository-3wb601pz.js → tool-output-8qmmky1n.js} +11 -11
  98. package/dist/chunks/{repository-9c3z8b76.js → tool-output-8vmcfqt4.js} +14 -14
  99. package/dist/chunks/{repository-w9k1b9tw.js → tool-output-90vha74g.js} +23 -23
  100. package/dist/chunks/tool-output-9sh4wc5j.js +18 -0
  101. package/dist/chunks/{repository-a1bz86dw.js → tool-output-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{repository-cjjby783.js → tool-output-a359dbf8.js} +24 -24
  103. package/dist/chunks/{repository-27th7jhh.js → tool-output-a3j4x1tw.js} +20 -20
  104. package/dist/chunks/{repository-9ptzfgq2.js → tool-output-aa7sjynz.js} +11 -11
  105. package/dist/chunks/{repository-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
  106. package/dist/chunks/{repository-6j0pmg7r.js → tool-output-b51hwsdf.js} +39 -39
  107. package/dist/chunks/{repository-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{repository-d4jrjdy2.js → tool-output-b7tg6v9h.js} +7 -7
  109. package/dist/chunks/{repository-7j8hvj8b.js → tool-output-b86wdy9s.js} +23 -23
  110. package/dist/chunks/{repository-cj19zege.js → tool-output-bh0wz0k3.js} +5 -5
  111. package/dist/chunks/{repository-8aj7zczc.js → tool-output-bpc8xye1.js} +12 -12
  112. package/dist/chunks/{repository-68df76cx.js → tool-output-bzfzcg95.js} +19 -19
  113. package/dist/chunks/{repository-q57fswbt.js → tool-output-c9fags9s.js} +14 -14
  114. package/dist/chunks/{repository-cfpkc3c9.js → tool-output-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{repository-4dgbcxzg.js → tool-output-cpj0znwe.js} +4 -4
  116. package/dist/chunks/{repository-1k5ynee8.js → tool-output-crr7bgqk.js} +19 -19
  117. package/dist/chunks/{repository-cwa6csj7.js → tool-output-cwa6csj7.js} +2 -2
  118. package/dist/chunks/{repository-y62pexj6.js → tool-output-d5cct5w2.js} +4 -4
  119. package/dist/chunks/{repository-j3m96k93.js → tool-output-d96v7e0b.js} +31 -31
  120. package/dist/chunks/{repository-kg6v633v.js → tool-output-dbchr83k.js} +7 -7
  121. package/dist/chunks/{repository-evbgk2k8.js → tool-output-dj9sq318.js} +5 -5
  122. package/dist/chunks/tool-output-dk18nfnt.js +252 -0
  123. package/dist/chunks/{repository-a358nvtm.js → tool-output-dn23cswn.js} +9 -9
  124. package/dist/chunks/{repository-9zq497jr.js → tool-output-dqp45rz8.js} +16 -16
  125. package/dist/chunks/{repository-xfkkasph.js → tool-output-drwq78ky.js} +4 -4
  126. package/dist/chunks/{repository-4jegkhqk.js → tool-output-e7bm6crp.js} +16 -16
  127. package/dist/chunks/{repository-grxcxy9j.js → tool-output-eeaf82dq.js} +8 -8
  128. package/dist/chunks/{repository-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{repository-tx9qah43.js → tool-output-enqehpm9.js} +30 -30
  130. package/dist/chunks/{repository-gbjvjkny.js → tool-output-enshc74s.js} +11 -11
  131. package/dist/chunks/{repository-nw2nz702.js → tool-output-epaqsvmn.js} +4 -4
  132. package/dist/chunks/{repository-4bycmxaz.js → tool-output-epkpsq8q.js} +6 -6
  133. package/dist/chunks/{repository-xa025a22.js → tool-output-epxzab81.js} +22 -22
  134. package/dist/chunks/{repository-erw5rpbs.js → tool-output-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{repository-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{repository-1bgmqjfz.js → tool-output-etykttqy.js} +24 -24
  137. package/dist/chunks/{repository-4xpxjm9m.js → tool-output-f6zdrpqa.js} +8 -8
  138. package/dist/chunks/{repository-5eqe6y7x.js → tool-output-f71ps7j0.js} +11 -11
  139. package/dist/chunks/{repository-f828m53h.js → tool-output-f828m53h.js} +2 -2
  140. package/dist/chunks/{repository-j7fpsdt2.js → tool-output-fd0e6drk.js} +36 -36
  141. package/dist/chunks/{repository-tdmh7t0y.js → tool-output-fdc9xy8k.js} +41 -41
  142. package/dist/chunks/{repository-njhqdk9p.js → tool-output-fdms3n6w.js} +9 -9
  143. package/dist/chunks/{repository-24dd53tp.js → tool-output-fhs97t90.js} +9 -9
  144. package/dist/chunks/{repository-nz569jqt.js → tool-output-fhz5gfgy.js} +5 -5
  145. package/dist/chunks/{repository-gnx9acxh.js → tool-output-fk3g28fa.js} +3 -3
  146. package/dist/chunks/{repository-nqnxh7mc.js → tool-output-fng9e0je.js} +6 -6
  147. package/dist/chunks/{repository-9e95qk9h.js → tool-output-fqg3000w.js} +53 -53
  148. package/dist/chunks/{repository-mtwknp0b.js → tool-output-ftb756d7.js} +9 -9
  149. package/dist/chunks/{repository-156zzd6s.js → tool-output-fx7xv9ry.js} +4 -4
  150. package/dist/chunks/{repository-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{repository-5nncaxqn.js → tool-output-fymfmzvm.js} +22 -22
  152. package/dist/chunks/{repository-e9c9m0xn.js → tool-output-g405kcwd.js} +9 -9
  153. package/dist/chunks/{repository-4qhnatmg.js → tool-output-gbj63fq2.js} +10 -10
  154. package/dist/chunks/{repository-2gxdjdr0.js → tool-output-gbwbz775.js} +5 -5
  155. package/dist/chunks/{repository-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{repository-b09hzw3k.js → tool-output-ggwd74jc.js} +2 -2
  157. package/dist/chunks/{repository-3hcj8h5a.js → tool-output-gmgzcr5s.js} +20 -20
  158. package/dist/chunks/{repository-xsr3yw12.js → tool-output-gr0cg7q6.js} +23 -23
  159. package/dist/chunks/{repository-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{repository-747xp0mp.js → tool-output-gws4b7r9.js} +45 -45
  161. package/dist/chunks/{repository-s9fzvpf3.js → tool-output-gx9e308d.js} +3 -3
  162. package/dist/chunks/{repository-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{repository-eycga54b.js → tool-output-hcxtz2cn.js} +11 -11
  164. package/dist/chunks/{repository-d3cpk3py.js → tool-output-he6djx1j.js} +28 -28
  165. package/dist/chunks/{repository-jzpydyb7.js → tool-output-hf2j770k.js} +11 -11
  166. package/dist/chunks/{repository-ssx6an5f.js → tool-output-hh2gqd14.js} +13 -13
  167. package/dist/chunks/{repository-hkfg6fzm.js → tool-output-hkfg6fzm.js} +2 -2
  168. package/dist/chunks/{repository-m38spqgz.js → tool-output-hmc3077v.js} +15 -15
  169. package/dist/chunks/{repository-rkn40jbr.js → tool-output-hp296tng.js} +13 -13
  170. package/dist/chunks/{repository-d0k1g5nx.js → tool-output-hq8zt1th.js} +6 -6
  171. package/dist/chunks/{repository-9689nk70.js → tool-output-j313d1gp.js} +33 -33
  172. package/dist/chunks/{repository-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
  173. package/dist/chunks/{repository-xcf3vq4w.js → tool-output-j5fs6qp9.js} +8 -8
  174. package/dist/chunks/{repository-16nrxpzh.js → tool-output-j6ynvstg.js} +15 -15
  175. package/dist/chunks/{repository-9e7ete8t.js → tool-output-j78cd4c2.js} +11 -11
  176. package/dist/chunks/{repository-6te9s930.js → tool-output-jd5ad6jn.js} +23 -23
  177. package/dist/chunks/{repository-b79km0je.js → tool-output-jdgt8b9h.js} +16 -16
  178. package/dist/chunks/{repository-wztfkr7b.js → tool-output-jhqs8np0.js} +13 -13
  179. package/dist/chunks/{repository-tkk5atn2.js → tool-output-jk0t2mrd.js} +22 -22
  180. package/dist/chunks/{repository-d28d7nnv.js → tool-output-jst88djk.js} +15 -15
  181. package/dist/chunks/{repository-5qkxfyep.js → tool-output-jz5sxy2v.js} +5 -5
  182. package/dist/chunks/{repository-6dp2jh4b.js → tool-output-k0qwsmnp.js} +4 -4
  183. package/dist/chunks/{repository-nzks3jc8.js → tool-output-k3c624dm.js} +3 -3
  184. package/dist/chunks/{repository-gyq044ef.js → tool-output-k6mfdkmd.js} +23 -23
  185. package/dist/chunks/{repository-v92tbnm7.js → tool-output-khjxa8a8.js} +13 -13
  186. package/dist/chunks/{repository-k9kj6xed.js → tool-output-knb7evpn.js} +6 -6
  187. package/dist/chunks/{repository-n7349v29.js → tool-output-kq8anxe4.js} +11 -11
  188. package/dist/chunks/{repository-k6s7pzm2.js → tool-output-krqv6p8z.js} +24 -24
  189. package/dist/chunks/{repository-smgr690m.js → tool-output-ktk6m7yv.js} +12 -12
  190. package/dist/chunks/{repository-gxpss1xa.js → tool-output-kzr6x06e.js} +6 -6
  191. package/dist/chunks/{repository-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{repository-40jd367m.js → tool-output-m73r9x6c.js} +26 -26
  193. package/dist/chunks/{repository-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{repository-jw80jp6b.js → tool-output-magykp64.js} +4 -4
  195. package/dist/chunks/{repository-e9xyjmyr.js → tool-output-meryqakt.js} +3 -3
  196. package/dist/chunks/{repository-0fnnvvtf.js → tool-output-mhm5nxpj.js} +35 -35
  197. package/dist/chunks/{repository-kd7vez3r.js → tool-output-mkg7sf6a.js} +4 -4
  198. package/dist/chunks/{repository-48dzx0v6.js → tool-output-mncc1266.js} +42 -42
  199. package/dist/chunks/{repository-sxe2hh18.js → tool-output-mtwjx8d5.js} +5 -5
  200. package/dist/chunks/{repository-32eyc9pz.js → tool-output-n049gm8z.js} +8 -8
  201. package/dist/chunks/{repository-zrq8kphx.js → tool-output-n0tq777j.js} +8 -8
  202. package/dist/chunks/{repository-r1zsm33h.js → tool-output-n1ktpaa9.js} +16 -16
  203. package/dist/chunks/{repository-rnnxe44a.js → tool-output-n7vp38gt.js} +4 -4
  204. package/dist/chunks/{repository-zncvfkhn.js → tool-output-ngk7ft1f.js} +21 -21
  205. package/dist/chunks/{repository-76sy9xf8.js → tool-output-nmpm9ry4.js} +17 -17
  206. package/dist/chunks/{repository-988jgs45.js → tool-output-ny6ggxa6.js} +28 -28
  207. package/dist/chunks/{repository-yhhseat7.js → tool-output-nyvg7fdv.js} +8 -8
  208. package/dist/chunks/{repository-ztvvx4d5.js → tool-output-p2d6c6bb.js} +15 -15
  209. package/dist/chunks/{repository-a7csrj9g.js → tool-output-p2gbehyw.js} +5 -5
  210. package/dist/chunks/{repository-czfptnv9.js → tool-output-p37cw4rj.js} +8 -8
  211. package/dist/chunks/{repository-m9d03vsf.js → tool-output-pb1eahw5.js} +8 -8
  212. package/dist/chunks/{repository-y5fdqert.js → tool-output-pd65cknd.js} +30 -30
  213. package/dist/chunks/{repository-2aj92ezp.js → tool-output-pd85y656.js} +15 -15
  214. package/dist/chunks/{repository-n9arjmkd.js → tool-output-ph842b28.js} +4 -4
  215. package/dist/chunks/{repository-ydgy0jv4.js → tool-output-phpw85vv.js} +4 -4
  216. package/dist/chunks/{repository-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
  217. package/dist/chunks/{repository-pknna89w.js → tool-output-pknna89w.js} +1 -1
  218. package/dist/chunks/{repository-vncycja5.js → tool-output-pmr4s4kc.js} +4 -4
  219. package/dist/chunks/{repository-kmektthr.js → tool-output-pnhjcye8.js} +18 -18
  220. package/dist/chunks/{repository-gsep8nmr.js → tool-output-pz615jzp.js} +35 -35
  221. package/dist/chunks/{repository-v2p627ht.js → tool-output-pz8xdsk0.js} +94 -94
  222. package/dist/chunks/{repository-e7hxwpth.js → tool-output-q2xhn23d.js} +11 -11
  223. package/dist/chunks/{repository-ajmg8w9c.js → tool-output-q3q4fawj.js} +5 -5
  224. package/dist/chunks/{repository-m4wm6chx.js → tool-output-q8epdb8w.js} +30 -30
  225. package/dist/chunks/{repository-qng17q6g.js → tool-output-q9cdy8tv.js} +9 -9
  226. package/dist/chunks/{repository-qeg0a57n.js → tool-output-qamdyatg.js} +13 -13
  227. package/dist/chunks/{repository-gbccyn0s.js → tool-output-qec9hvjm.js} +179 -179
  228. package/dist/chunks/{repository-6zh7xxe6.js → tool-output-qfqsp29t.js} +26 -26
  229. package/dist/chunks/{repository-2k8khapm.js → tool-output-qgn6gcr1.js} +5 -5
  230. package/dist/chunks/{repository-qjnxxf51.js → tool-output-qjnxxf51.js} +2 -2
  231. package/dist/chunks/{repository-jczd64ef.js → tool-output-qkc1cvv7.js} +33 -33
  232. package/dist/chunks/{repository-97h7kfy1.js → tool-output-qp3v07n2.js} +8 -8
  233. package/dist/chunks/{repository-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
  234. package/dist/chunks/{repository-98bk72ht.js → tool-output-r263x78e.js} +11 -11
  235. package/dist/chunks/{repository-ygwgyd6z.js → tool-output-r52tak3e.js} +3 -3
  236. package/dist/chunks/{repository-08e6decx.js → tool-output-r6qre0sb.js} +29 -29
  237. package/dist/chunks/{repository-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
  238. package/dist/chunks/{repository-qrnms2rq.js → tool-output-rvbptfp6.js} +2 -2
  239. package/dist/chunks/{repository-hqt53cmn.js → tool-output-s5kb3k8e.js} +4 -4
  240. package/dist/chunks/{repository-3xtyrk98.js → tool-output-sa1fyfn4.js} +13 -13
  241. package/dist/chunks/{repository-pqsm87s1.js → tool-output-sg8a7ymw.js} +4 -4
  242. package/dist/chunks/{repository-qgsw5m5h.js → tool-output-t3bygzqy.js} +10 -10
  243. package/dist/chunks/{repository-0kwr4h1p.js → tool-output-t3fdem4h.js} +18 -18
  244. package/dist/chunks/{repository-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{repository-p28j5sbe.js → tool-output-tbz0fdvh.js} +5 -5
  246. package/dist/chunks/{repository-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
  247. package/dist/chunks/{repository-tdstcens.js → tool-output-tdstcens.js} +1 -1
  248. package/dist/chunks/{repository-jbj23068.js → tool-output-tjjwpfh5.js} +1 -1
  249. package/dist/chunks/{repository-fn5ac5xw.js → tool-output-tk3z30t0.js} +29 -29
  250. package/dist/chunks/{repository-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
  251. package/dist/chunks/{repository-z8h8vbg2.js → tool-output-v16qm9q2.js} +15 -15
  252. package/dist/chunks/{repository-ah0pkc8z.js → tool-output-vbsn5z78.js} +23 -23
  253. package/dist/chunks/{repository-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
  254. package/dist/chunks/{repository-gtqq653r.js → tool-output-vggs0s0j.js} +26 -26
  255. package/dist/chunks/{repository-mst8n3qf.js → tool-output-vvzwb0bn.js} +24 -24
  256. package/dist/chunks/{repository-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{repository-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{repository-wd87259q.js → tool-output-wd87259q.js} +1 -1
  259. package/dist/chunks/{repository-wcjfyzwp.js → tool-output-wp04yf6p.js} +45 -45
  260. package/dist/chunks/{repository-v7wd1yc6.js → tool-output-wpfcz72r.js} +3 -3
  261. package/dist/chunks/{repository-8fpgymmv.js → tool-output-wtrs3vw2.js} +26 -26
  262. package/dist/chunks/{repository-8r1x53s2.js → tool-output-ww5tpm6f.js} +13 -13
  263. package/dist/chunks/{repository-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/tool-output-x57dpdjd.js +26 -0
  265. package/dist/chunks/{repository-xznas7s2.js → tool-output-x7bv5qy9.js} +34 -34
  266. package/dist/chunks/{repository-03ajav8s.js → tool-output-xdj8fn82.js} +15 -15
  267. package/dist/chunks/{repository-n63r6n5d.js → tool-output-xgm2h5c0.js} +14 -14
  268. package/dist/chunks/{repository-ebahehhd.js → tool-output-xgq1v614.js} +6 -6
  269. package/dist/chunks/{repository-qxp26m5h.js → tool-output-xkg5p1bf.js} +17 -17
  270. package/dist/chunks/{repository-txd4xrw4.js → tool-output-xxkgr1pf.js} +44 -44
  271. package/dist/chunks/{repository-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{repository-evfkrj3r.js → tool-output-y3w47xgk.js} +27 -27
  273. package/dist/chunks/{repository-y71avatq.js → tool-output-y71avatq.js} +1 -1
  274. package/dist/chunks/{repository-4tvtkt0r.js → tool-output-yb7ywnjc.js} +18 -18
  275. package/dist/chunks/{repository-zhfk7ysy.js → tool-output-ym688k4s.js} +44 -44
  276. package/dist/chunks/{repository-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{repository-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
  278. package/dist/chunks/{repository-adkkytg4.js → tool-output-yvqb1n05.js} +3 -3
  279. package/dist/chunks/{repository-hwm7e8aj.js → tool-output-yz94qm7h.js} +33 -33
  280. package/dist/chunks/{repository-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{repository-y6f0p4jw.js → tool-output-z5ntc05q.js} +3 -3
  282. package/dist/chunks/{repository-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
  283. package/dist/chunks/{repository-0n0z2jxy.js → tool-output-z974etmn.js} +18 -18
  284. package/dist/chunks/{repository-k76fn4kw.js → tool-output-zav06jzw.js} +4 -4
  285. package/dist/chunks/{repository-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{repository-0ej8hn87.js → tool-output-zpztgtkd.js} +9 -9
  287. package/dist/chunks/{repository-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{repository-hqxaqnsz.js → tool-output-zskgmyr0.js} +14 -14
  289. package/dist/chunks/{repository-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +71 -71
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +2 -2
  423. package/dist/filesystem/location-watcher.js +220 -220
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +96 -96
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +81 -81
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +132 -132
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +101 -101
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +94 -94
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +110 -110
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +77 -77
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +5 -5
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +345 -345
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +6 -6
  557. package/dist/plugin.js +222 -222
  558. package/dist/project/schema.js +4 -4
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +85 -85
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +86 -86
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +131 -131
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +221 -221
  582. package/dist/session/execution.js +123 -123
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +85 -85
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +92 -92
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +111 -111
  606. package/dist/session/runner/step.js +123 -123
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +74 -74
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +207 -207
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +153 -153
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +220 -220
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +137 -137
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +102 -102
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +90 -90
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +117 -117
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +102 -102
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +4 -4
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +1 -1
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +3 -3
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +2 -2
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +2 -2
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +86 -86
  683. package/dist/websearch.js +81 -81
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +3 -3
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/repository-0bgghbta.js +0 -492
  696. package/dist/chunks/repository-1qq6zhmr.js +0 -26
  697. package/dist/chunks/repository-85dxg7gk.js +0 -252
  698. package/dist/chunks/repository-n95b3jav.js +0 -18
  699. package/dist/chunks/repository-qapv375x.js +0 -4
  700. /package/dist/chunks/{repository-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{repository-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{repository-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{repository-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{repository-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{repository-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{repository-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{repository-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{repository-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{repository-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{repository-3asan66x.js → tool-output-3asan66x.js} +0 -0
  711. /package/dist/chunks/{repository-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{repository-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{repository-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{repository-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{repository-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{repository-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{repository-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{repository-53557ph1.js → tool-output-53557ph1.js} +0 -0
  719. /package/dist/chunks/{repository-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{repository-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{repository-6prwharc.js → tool-output-6prwharc.js} +0 -0
  722. /package/dist/chunks/{repository-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{repository-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{repository-822emrt2.js → tool-output-822emrt2.js} +0 -0
  725. /package/dist/chunks/{repository-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{repository-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{repository-922hggd3.js → tool-output-922hggd3.js} +0 -0
  728. /package/dist/chunks/{repository-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{repository-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{repository-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{repository-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{repository-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{repository-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{repository-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{repository-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{repository-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{repository-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{repository-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{repository-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{repository-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{repository-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{repository-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{repository-df08tz66.js → tool-output-df08tz66.js} +0 -0
  744. /package/dist/chunks/{repository-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{repository-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{repository-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{repository-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{repository-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{repository-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{repository-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{repository-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{repository-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{repository-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{repository-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{repository-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{repository-g86h250q.js → tool-output-g86h250q.js} +0 -0
  757. /package/dist/chunks/{repository-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{repository-gftt206x.js → tool-output-gftt206x.js} +0 -0
  759. /package/dist/chunks/{repository-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{repository-hk9envan.js → tool-output-hk9envan.js} +0 -0
  761. /package/dist/chunks/{repository-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{repository-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{repository-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{repository-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{repository-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{repository-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{repository-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{repository-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{repository-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{repository-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{repository-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{repository-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{repository-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{repository-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{repository-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{repository-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{repository-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{repository-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{repository-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{repository-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{repository-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{repository-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{repository-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{repository-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{repository-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{repository-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{repository-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{repository-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{repository-x61499pn.js → tool-output-x61499pn.js} +0 -0
  790. /package/dist/chunks/{repository-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{repository-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{repository-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{repository-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{repository-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{repository-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./repository-rdw6cm16.js";
3
+ } from "./tool-output-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./repository-qaymkmh1.js";
6
+ } from "./tool-output-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./tool-output-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options10,
15
- Service: () => Service59,
14
+ Options: () => Options9,
15
+ Service: () => Service57,
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: () => node62,
24
+ node: () => node60,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve4
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options10 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service59 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service57 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(Service59, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service57, 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(Service59, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service59.of({
202
+ return Service57.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: Service59, layer: layer(options), deps: [Global.node] });
209
+ function configured9(options) {
210
+ return makeLocationNode({ service: Service57, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node62 = configured10();
212
+ var node60 = configured9();
213
213
 
214
- export { Options10, Service59, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node62, exports_select };
214
+ export { Options9, Service57, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured9, node60, exports_select };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./repository-tazgh4e4.js";
3
+ } from "./tool-output-tazgh4e4.js";
4
4
  import {
5
- ID6,
6
- Service49
7
- } from "./repository-j3m96k93.js";
5
+ ID5,
6
+ Service44
7
+ } from "./tool-output-d96v7e0b.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./repository-y6f0p4jw.js";
10
+ } from "./tool-output-z5ntc05q.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./repository-e5xpd6yj.js";
13
+ } from "./tool-output-34x4s2w1.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./repository-a1bz86dw.js";
16
+ } from "./tool-output-a1bz86dw.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-9rqn6x4v.js";
19
+ } from "./tool-output-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service49;
84
+ const snapshot = yield* Service44;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID6.make(from),
91
- to: ID6.make(to),
90
+ from: ID5.make(from),
91
+ to: ID5.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./tool-output-922hggd3.js";
4
4
  import {
5
- Service78,
6
- node81
7
- } from "./repository-smgr690m.js";
5
+ Service80,
6
+ node83
7
+ } from "./tool-output-ktk6m7yv.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./repository-2402vzrj.js";
13
+ } from "./tool-output-6h73sxmp.js";
14
14
  import {
15
- Service65,
16
- node68
17
- } from "./repository-ssx6an5f.js";
15
+ Service69,
16
+ node72
17
+ } from "./tool-output-hh2gqd14.js";
18
18
  import {
19
19
  __export
20
- } from "./repository-9rqn6x4v.js";
20
+ } from "./tool-output-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service58,
33
+ Service: () => Service62,
34
34
  isError: () => isError2,
35
- node: () => node61,
35
+ node: () => node65,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service58 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service62 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service58, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service78;
106
+ const git = yield* Service80;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service65;
110
- return Service58.of({
109
+ const kv = yield* Service69;
110
+ return Service62.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node61 = makeGlobalNode({
171
- service: Service58,
170
+ var node65 = makeGlobalNode({
171
+ service: Service62,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node68]
173
+ deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node72]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service58, isError2, validateBranch2, node61, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service62, isError2, validateBranch2, node65, exports_repository_cache };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service81
3
- } from "./repository-qeg0a57n.js";
3
+ } from "./tool-output-qamdyatg.js";
4
4
  import {
5
- Service65
6
- } from "./repository-ssx6an5f.js";
5
+ Service69
6
+ } from "./tool-output-hh2gqd14.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./repository-rdw6cm16.js";
12
+ } from "./tool-output-rdw6cm16.js";
13
13
  import {
14
- Service39,
14
+ Service32,
15
15
  awaitActivation2
16
- } from "./repository-n95b3jav.js";
16
+ } from "./tool-output-9sh4wc5j.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./repository-gbccyn0s.js";
21
+ } from "./tool-output-qec9hvjm.js";
22
22
  import {
23
23
  __export
24
- } from "./repository-9rqn6x4v.js";
24
+ } from "./tool-output-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
30
30
  ID: () => ID2,
31
31
  Info: () => Info2,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service39,
33
+ Service: () => Service32,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node17
37
+ node: () => node16
38
38
  });
39
39
  import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service39, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
44
44
  const bus = yield* Service81;
45
- const kv = yield* Service65;
45
+ const kv = yield* Service69;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service39.of({
208
+ return Service32.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node17 = Node.makeLocationNode({
226
- service: Service39,
225
+ var node16 = Node.makeLocationNode({
226
+ service: Service32,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node17, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
231
+ export { node16, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./repository-rhjbct0v.js";
6
+ } from "./tool-output-02nrjc1r.js";
7
7
  import {
8
- ID5,
8
+ ID7,
9
9
  Name2,
10
10
  available2,
11
- Service42,
12
- node46
13
- } from "./repository-t9fdrpzp.js";
11
+ Service56,
12
+ node59
13
+ } from "./tool-output-0b2dkfpa.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-9rqn6x4v.js";
16
+ } from "./tool-output-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions5 = {};
20
20
  __export(exports_instructions5, {
21
21
  Service: () => Service35,
22
22
  SkillInstructions: () => exports_instructions5,
23
- node: () => node39
23
+ node: () => node38
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID7,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -63,12 +63,12 @@ var update = (previous, current) => {
63
63
  class Service35 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
65
  var layer = Layer.effect(Service35, Effect.gen(function* () {
66
- const skills = yield* Service42;
66
+ const skills = yield* Service56;
67
67
  return Service35.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
70
  return make20({
71
- key: Key3.make("core/skill-guidance"),
71
+ key: Key4.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
74
74
  render: {
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node39 = makeLocationNode({ service: Service35, layer, deps: [node46] });
83
+ var node38 = makeLocationNode({ service: Service35, layer, deps: [node59] });
84
84
 
85
- export { Service35, node39, exports_instructions5 };
85
+ export { Service35, node38, exports_instructions5 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./repository-88xbtdfr.js";
3
+ } from "./tool-output-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./repository-5qd3pb7m.js";
6
+ } from "./tool-output-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./tool-output-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event10,
14
+ Event: () => Event8,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service47,
16
+ Options: () => Options8,
17
+ Service: () => Service42,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer19,
22
+ layer: () => layer18,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node51,
25
+ node: () => node45,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event10 = { Updated: FileSystem.Event.Changed };
36
+ var Event8 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service47 extends Context.Service()("@opencode/Watcher") {
60
+ class Service42 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
65
+ var layer18 = (options) => Layer.effect(Service42, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service42.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service47.of({ subscribe });
108
+ return Service42.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service47).subscribe,
134
+ subscribe: Context.get(context, Service42).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service42, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service47, layer: layer19(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service42, layer: layer18(options), deps: [nativeNode2] });
169
169
  }
170
- var node51 = configured9();
170
+ var node45 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event10, hasNativeBinding2, Native3, Options9, Service47, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured9, node51, exports_watcher };
190
+ export { Event8, hasNativeBinding2, Native3, Options8, Service42, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node45, exports_watcher };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service57,
3
- node60
4
- } from "./repository-bfbk1002.js";
2
+ Service38,
3
+ node41
4
+ } from "./tool-output-3w4a2kbh.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
8
  make20,
9
9
  diffByKey2
10
- } from "./repository-rhjbct0v.js";
10
+ } from "./tool-output-02nrjc1r.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./tool-output-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions4 = {};
17
17
  __export(exports_instructions4, {
18
18
  ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service34,
20
- node: () => node38
19
+ Service: () => Service29,
20
+ node: () => node32
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service34 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service34, Effect.gen(function* () {
63
- const references = yield* Service57;
64
- return Service34.of({
62
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
63
+ const references = yield* Service38;
64
+ return Service29.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
71
  return make20({
72
- key: Key3.make("core/reference-guidance"),
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node38 = makeLocationNode({ service: Service34, layer, deps: [node60] });
84
+ var node32 = makeLocationNode({ service: Service29, layer, deps: [node41] });
85
85
 
86
- export { Service34, node38, exports_instructions4 };
86
+ export { Service29, node32, exports_instructions4 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry3,
9
+ Entry: () => Entry4,
10
10
  Info: () => Info10
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry3 = Schema.Struct({
13
+ var Entry4 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info10 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info10 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
20
20
 
21
- export { Entry3, Info10, exports_formatter3 };
21
+ export { Entry4, Info10, exports_formatter3 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./repository-0paq2nw3.js";
4
+ } from "./tool-output-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./repository-sktfb2et.js";
7
+ } from "./tool-output-496as97q.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./repository-jczd64ef.js";
11
+ } from "./tool-output-qkc1cvv7.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./tool-output-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./repository-3w5fmr99.js";
4
+ } from "./tool-output-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./repository-m3fdjcah.js";
8
+ } from "./tool-output-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./repository-9rqn6x4v.js";
11
+ } from "./tool-output-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};