@opencode/core 0.0.0-dev-19431 → 0.0.0-dev-19432

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{wellknown-pmr4s4kc.js → repository-00z3vp5f.js} +4 -4
  9. package/dist/chunks/{wellknown-rersy9yg.js → repository-0efqcfd5.js} +5 -5
  10. package/dist/chunks/{wellknown-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{wellknown-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{wellknown-a820x4jn.js → repository-0rpxkeqh.js} +20 -20
  13. package/dist/chunks/{wellknown-e4cbaens.js → repository-0s80x56w.js} +9 -9
  14. package/dist/chunks/{wellknown-g5h6njp0.js → repository-18frcpjt.js} +18 -18
  15. package/dist/chunks/{wellknown-3vnzk02n.js → repository-1byap634.js} +20 -20
  16. package/dist/chunks/{wellknown-q1b6gr3p.js → repository-1d1rhcsj.js} +13 -13
  17. package/dist/chunks/{wellknown-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{wellknown-qwd4j9zj.js → repository-1erp3qqz.js} +12 -12
  19. package/dist/chunks/{wellknown-v3jp6byb.js → repository-1fmrbde1.js} +8 -8
  20. package/dist/chunks/{wellknown-1hc11dc4.js → repository-1hc11dc4.js} +1 -1
  21. package/dist/chunks/{wellknown-2w6fwzk8.js → repository-1snngmj1.js} +4 -4
  22. package/dist/chunks/{wellknown-adbeyv6h.js → repository-1t1584fh.js} +23 -23
  23. package/dist/chunks/{wellknown-1rvsq380.js → repository-1vy40y6q.js} +16 -16
  24. package/dist/chunks/{wellknown-a8cvaywe.js → repository-1wvd3n1a.js} +23 -23
  25. package/dist/chunks/{wellknown-21r38tys.js → repository-21r38tys.js} +1 -1
  26. package/dist/chunks/{wellknown-tgggdv5e.js → repository-22cv5ye4.js} +15 -15
  27. package/dist/chunks/{wellknown-kzh6gfbz.js → repository-23sxaqwc.js} +7 -7
  28. package/dist/chunks/{wellknown-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{wellknown-z92e5j38.js → repository-2c5gpntr.js} +1 -1
  30. package/dist/chunks/{wellknown-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
  31. package/dist/chunks/{wellknown-q8h1e6nq.js → repository-2mfw3wdh.js} +9 -9
  32. package/dist/chunks/{wellknown-1mh8etnz.js → repository-2mxvh1sf.js} +4 -4
  33. package/dist/chunks/{wellknown-jsxty42z.js → repository-2pwpt1fq.js} +5 -5
  34. package/dist/chunks/{wellknown-q1h4ggtj.js → repository-2tfmgkzg.js} +4 -4
  35. package/dist/chunks/{wellknown-p5xyv7pn.js → repository-2vtn24zd.js} +12 -12
  36. package/dist/chunks/{wellknown-m3g11tvf.js → repository-30rg0n1z.js} +6 -6
  37. package/dist/chunks/{wellknown-7sb0gw8v.js → repository-3293cyr9.js} +2 -2
  38. package/dist/chunks/{wellknown-fyts4tpe.js → repository-32vktv6f.js} +33 -33
  39. package/dist/chunks/{wellknown-vjnb44yt.js → repository-377tdzm5.js} +3 -3
  40. package/dist/chunks/{wellknown-f16rvdaj.js → repository-3bkjb058.js} +24 -24
  41. package/dist/chunks/{wellknown-6xscg6ph.js → repository-3fqa324q.js} +15 -15
  42. package/dist/chunks/{wellknown-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{wellknown-3q1jyqhd.js → repository-3q1jyqhd.js} +1 -1
  44. package/dist/chunks/{wellknown-kaj30qh4.js → repository-3qgk4v93.js} +23 -23
  45. package/dist/chunks/{wellknown-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{wellknown-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{wellknown-nhy5jxhy.js → repository-47gsdddb.js} +5 -5
  48. package/dist/chunks/{wellknown-z6xqx8vg.js → repository-4aws1fvg.js} +35 -35
  49. package/dist/chunks/{wellknown-rmdyxgmk.js → repository-4c8bw516.js} +8 -8
  50. package/dist/chunks/{wellknown-ccg31c11.js → repository-4g53kgkp.js} +46 -46
  51. package/dist/chunks/{wellknown-qn1pawzn.js → repository-4v34yf9v.js} +56 -56
  52. package/dist/chunks/{wellknown-a0s8g8r8.js → repository-4vt2dwev.js} +19 -19
  53. package/dist/chunks/{wellknown-hw5zatr6.js → repository-52nmff2v.js} +168 -168
  54. package/dist/chunks/{wellknown-e2mjwr1a.js → repository-52ymf0cj.js} +21 -21
  55. package/dist/chunks/{wellknown-khn3zewm.js → repository-5637d424.js} +9 -9
  56. package/dist/chunks/{wellknown-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
  57. package/dist/chunks/{wellknown-4nqwrsa4.js → repository-56gxsabx.js} +13 -13
  58. package/dist/chunks/{wellknown-5c4hm403.js → repository-5c4hm403.js} +3 -3
  59. package/dist/chunks/{wellknown-5daktx2q.js → repository-5daktx2q.js} +1 -1
  60. package/dist/chunks/{wellknown-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{wellknown-zy1b9mj0.js → repository-5tqrw2yw.js} +24 -24
  62. package/dist/chunks/{wellknown-8d4hgzq6.js → repository-62hcz6cs.js} +15 -15
  63. package/dist/chunks/{wellknown-gdpq0ckt.js → repository-63xeamm2.js} +16 -16
  64. package/dist/chunks/{wellknown-kh3jnqzr.js → repository-65fgxyf5.js} +8 -8
  65. package/dist/chunks/{wellknown-669tq793.js → repository-669tq793.js} +1 -1
  66. package/dist/chunks/{wellknown-q5t0te5a.js → repository-6anwy9fs.js} +4 -4
  67. package/dist/chunks/{wellknown-9588gbpa.js → repository-6bd4yqd4.js} +39 -39
  68. package/dist/chunks/{wellknown-1r38sc4d.js → repository-6cnk2f7j.js} +18 -18
  69. package/dist/chunks/{wellknown-jfkjrwd6.js → repository-6d8fecpc.js} +4 -4
  70. package/dist/chunks/{wellknown-1vsws4am.js → repository-6fa0yxfs.js} +15 -15
  71. package/dist/chunks/{wellknown-egkyg8tp.js → repository-6fmy559f.js} +7 -7
  72. package/dist/chunks/{wellknown-6h73sxmp.js → repository-6h73sxmp.js} +1 -1
  73. package/dist/chunks/{wellknown-qj48zm78.js → repository-6jagpjd6.js} +23 -23
  74. package/dist/chunks/{wellknown-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{wellknown-d5hhvd7t.js → repository-6prpzt6f.js} +42 -42
  76. package/dist/chunks/{wellknown-n136tsdt.js → repository-6ryvksdm.js} +27 -27
  77. package/dist/chunks/{wellknown-228k2fda.js → repository-6xrkkq0p.js} +18 -18
  78. package/dist/chunks/{wellknown-71q4at8m.js → repository-71q4at8m.js} +1 -1
  79. package/dist/chunks/{wellknown-bcn5dnkb.js → repository-737983wq.js} +4 -4
  80. package/dist/chunks/{wellknown-r5x6zcsm.js → repository-73tb2d7t.js} +3 -3
  81. package/dist/chunks/{wellknown-e9t4j61t.js → repository-780vkm8r.js} +4 -4
  82. package/dist/chunks/{wellknown-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{wellknown-5rcbg160.js → repository-7n9wzmmg.js} +17 -17
  84. package/dist/chunks/{wellknown-x0hpdvpn.js → repository-7qed14jw.js} +284 -284
  85. package/dist/chunks/{wellknown-9y8671sk.js → repository-7v41m4wd.js} +8 -8
  86. package/dist/chunks/{wellknown-0wfdzdq3.js → repository-7yqt39ht.js} +23 -23
  87. package/dist/chunks/{wellknown-kbmmzrfa.js → repository-844ef7ks.js} +8 -8
  88. package/dist/chunks/{wellknown-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{wellknown-787q5hy4.js → repository-8jn05b6d.js} +3 -3
  90. package/dist/chunks/{wellknown-tkqmbdwd.js → repository-8mhep79j.js} +36 -36
  91. package/dist/chunks/{wellknown-88sv3a8w.js → repository-8nd4ez8d.js} +22 -22
  92. package/dist/chunks/{wellknown-1ddn4jy6.js → repository-8xa4vqg2.js} +6 -6
  93. package/dist/chunks/{wellknown-wbt7ywgk.js → repository-9a4k9g5r.js} +88 -88
  94. package/dist/chunks/{wellknown-rqp16f7y.js → repository-9fqm4bgz.js} +23 -23
  95. package/dist/chunks/{wellknown-tx7nxe6e.js → repository-9jzdmgrd.js} +11 -11
  96. package/dist/chunks/{wellknown-hdv4kbhc.js → repository-9ra18k9p.js} +10 -10
  97. package/dist/chunks/repository-9sh4wc5j.js +18 -0
  98. package/dist/chunks/{wellknown-04ssnwna.js → repository-9xtkkd11.js} +4 -4
  99. package/dist/chunks/{wellknown-b0mr3jnb.js → repository-a5xe75vd.js} +30 -30
  100. package/dist/chunks/{wellknown-t8cqswnp.js → repository-a7bm1a35.js} +18 -18
  101. package/dist/chunks/{wellknown-aaet6srn.js → repository-aaet6srn.js} +2 -2
  102. package/dist/chunks/{wellknown-8tbhxwqj.js → repository-ab5w8dn8.js} +12 -12
  103. package/dist/chunks/{wellknown-74m7wsss.js → repository-av7emrka.js} +16 -16
  104. package/dist/chunks/{wellknown-6g1fts0a.js → repository-b0fng4zx.js} +41 -41
  105. package/dist/chunks/{wellknown-8d8vxetm.js → repository-b0skvq87.js} +41 -41
  106. package/dist/chunks/{wellknown-pmcj00xg.js → repository-b3e9n1nh.js} +4 -4
  107. package/dist/chunks/{wellknown-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{wellknown-3frjhckz.js → repository-b7f1tq2h.js} +8 -8
  109. package/dist/chunks/{wellknown-qvgcjadf.js → repository-bacypahn.js} +1 -1
  110. package/dist/chunks/{wellknown-5mc07s0f.js → repository-bfbpt4xj.js} +8 -8
  111. package/dist/chunks/{wellknown-sxc4n3b4.js → repository-bgc00773.js} +1 -1
  112. package/dist/chunks/{wellknown-6mgsefek.js → repository-bzcqfm0m.js} +2 -2
  113. package/dist/chunks/{wellknown-daky8ak7.js → repository-bzkpjw1k.js} +32 -32
  114. package/dist/chunks/{wellknown-xpex9dgw.js → repository-c29pq2bv.js} +28 -28
  115. package/dist/chunks/{wellknown-j89dhwny.js → repository-c3ay0pv3.js} +32 -32
  116. package/dist/chunks/{wellknown-9ah46qnh.js → repository-c66sb1ac.js} +11 -11
  117. package/dist/chunks/{wellknown-t2w3xr5a.js → repository-c6y7v1er.js} +2 -2
  118. package/dist/chunks/{wellknown-8rkr9qb0.js → repository-c8pw21fc.js} +5 -5
  119. package/dist/chunks/{wellknown-nrypwx75.js → repository-c9bbz02c.js} +28 -28
  120. package/dist/chunks/{wellknown-5kgzrmgs.js → repository-cb2gy3vs.js} +20 -20
  121. package/dist/chunks/{wellknown-sqc1mbat.js → repository-cdvjrb6a.js} +18 -18
  122. package/dist/chunks/{wellknown-fsjza8dz.js → repository-cfsztwnt.js} +18 -18
  123. package/dist/chunks/{wellknown-4yhwp5g3.js → repository-cw1jmpw1.js} +4 -4
  124. package/dist/chunks/{wellknown-e7f0s3sx.js → repository-cwtr640q.js} +5 -5
  125. package/dist/chunks/{wellknown-xhmq8qgk.js → repository-d09006c3.js} +9 -9
  126. package/dist/chunks/{wellknown-v8sve7zh.js → repository-d4z2re2g.js} +20 -20
  127. package/dist/chunks/{wellknown-jm9yp3wk.js → repository-d9zmx2gn.js} +9 -9
  128. package/dist/chunks/{wellknown-9vez9d28.js → repository-daccqbjh.js} +6 -6
  129. package/dist/chunks/{wellknown-dj2t23y0.js → repository-dj2t23y0.js} +2 -2
  130. package/dist/chunks/{wellknown-t0fxg8b9.js → repository-dj9sq318.js} +5 -5
  131. package/dist/chunks/{wellknown-qdr6w09k.js → repository-dkz6hmks.js} +11 -11
  132. package/dist/chunks/{wellknown-y71avatq.js → repository-dpkg50ah.js} +4 -4
  133. package/dist/chunks/{wellknown-7b1xt4jx.js → repository-dqy22jqg.js} +41 -41
  134. package/dist/chunks/{wellknown-m1m6fjnw.js → repository-drt53naa.js} +33 -33
  135. package/dist/chunks/{wellknown-5kmes5qd.js → repository-dtqbwwhp.js} +5 -5
  136. package/dist/chunks/{wellknown-pgahjbda.js → repository-dwkfzrk3.js} +10 -10
  137. package/dist/chunks/{wellknown-fxmk9gfa.js → repository-e430f9b9.js} +25 -25
  138. package/dist/chunks/{wellknown-qjnxxf51.js → repository-e6hmchc5.js} +5 -5
  139. package/dist/chunks/{wellknown-02nrjc1r.js → repository-eaj1djv9.js} +4 -4
  140. package/dist/chunks/{wellknown-cavnh2xx.js → repository-eak6awrz.js} +6 -6
  141. package/dist/chunks/{wellknown-3e8rswg6.js → repository-ef1q2dpz.js} +14 -14
  142. package/dist/chunks/{wellknown-dhmh7aw6.js → repository-embw8kgh.js} +4 -4
  143. package/dist/chunks/{wellknown-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  144. package/dist/chunks/repository-f7z596tj.js +22 -0
  145. package/dist/chunks/{wellknown-7jd5w2z6.js → repository-f9dnc6qb.js} +9 -9
  146. package/dist/chunks/{wellknown-82xhzzzv.js → repository-fhy3xvpm.js} +18 -18
  147. package/dist/chunks/{wellknown-fg0hzth7.js → repository-fjeh9m37.js} +8 -8
  148. package/dist/chunks/{wellknown-18by6sjk.js → repository-fmme79ky.js} +14 -14
  149. package/dist/chunks/{wellknown-a54cm72e.js → repository-frs1x3s0.js} +1 -1
  150. package/dist/chunks/{wellknown-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{wellknown-b1sd7bew.js → repository-g7w32fc6.js} +32 -32
  152. package/dist/chunks/{wellknown-2dmq7m27.js → repository-g7zcz8xz.js} +11 -11
  153. package/dist/chunks/{wellknown-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{wellknown-3fc6dm20.js → repository-gdvy8fx6.js} +4 -4
  155. package/dist/chunks/{wellknown-gqjc2j8w.js → repository-ge8bh06a.js} +9 -9
  156. package/dist/chunks/{wellknown-9g39sx5s.js → repository-gfcx43hw.js} +6 -6
  157. package/dist/chunks/{wellknown-th5km1p3.js → repository-gv6a8nnw.js} +5 -5
  158. package/dist/chunks/{wellknown-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{wellknown-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{wellknown-sc8qxpfy.js → repository-h7daxtb8.js} +11 -11
  161. package/dist/chunks/{wellknown-n07zvns7.js → repository-h83w2tz3.js} +81 -81
  162. package/dist/chunks/{wellknown-hdnk95c8.js → repository-hdnk95c8.js} +2 -2
  163. package/dist/chunks/{wellknown-2pyrnscj.js → repository-hgkm3ngx.js} +12 -12
  164. package/dist/chunks/{wellknown-rx3h63rs.js → repository-hkefa025.js} +19 -19
  165. package/dist/chunks/{wellknown-s8zy8myc.js → repository-hkfg6fzm.js} +5 -5
  166. package/dist/chunks/{wellknown-q4rs3jkh.js → repository-hm2ejha3.js} +16 -16
  167. package/dist/chunks/{wellknown-y5n0rpyq.js → repository-hpdgvsh4.js} +1 -1
  168. package/dist/chunks/{wellknown-9c7cwdaf.js → repository-hq8zt1th.js} +6 -6
  169. package/dist/chunks/{wellknown-0kwzbffd.js → repository-ht9620cz.js} +9 -9
  170. package/dist/chunks/{wellknown-hnyvhsj1.js → repository-htvcf07r.js} +13 -13
  171. package/dist/chunks/{wellknown-h5325qgz.js → repository-j14ddj9r.js} +15 -15
  172. package/dist/chunks/{wellknown-j56e64zr.js → repository-j56e64zr.js} +1 -1
  173. package/dist/chunks/{wellknown-2bjwqrsv.js → repository-ja409geq.js} +15 -15
  174. package/dist/chunks/{wellknown-r2wet1p6.js → repository-jkmmxdv7.js} +25 -25
  175. package/dist/chunks/{wellknown-vsmeezbe.js → repository-jsk2qqh7.js} +62 -62
  176. package/dist/chunks/{wellknown-vd0xk4sc.js → repository-jv6862zv.js} +3 -3
  177. package/dist/chunks/{wellknown-837kr0g5.js → repository-jw70rx0h.js} +43 -43
  178. package/dist/chunks/{wellknown-rm2ff3bp.js → repository-k0e0jm40.js} +24 -24
  179. package/dist/chunks/{wellknown-1165fzrv.js → repository-k3mt7wkv.js} +7 -7
  180. package/dist/chunks/{wellknown-ww0rczpm.js → repository-k9ynbxgd.js} +31 -31
  181. package/dist/chunks/{wellknown-kg06axw8.js → repository-kg06axw8.js} +1 -1
  182. package/dist/chunks/{wellknown-xzh4dvk0.js → repository-kgrrjcn2.js} +49 -49
  183. package/dist/chunks/{wellknown-f9katak3.js → repository-kkqrkmh0.js} +46 -46
  184. package/dist/chunks/{wellknown-xjrtztjf.js → repository-kq7qvksk.js} +8 -8
  185. package/dist/chunks/{wellknown-m0jqrx5p.js → repository-m0jqrx5p.js} +2 -2
  186. package/dist/chunks/{wellknown-qehyq9cc.js → repository-m3ef3jt3.js} +9 -9
  187. package/dist/chunks/{wellknown-5jqc5sqp.js → repository-m3ettc37.js} +24 -24
  188. package/dist/chunks/{wellknown-2bt6bea8.js → repository-m86bnw2c.js} +9 -9
  189. package/dist/chunks/{wellknown-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{wellknown-magykp64.js → repository-magykp64.js} +1 -1
  191. package/dist/chunks/{wellknown-jh6dhq8h.js → repository-mhspve7x.js} +25 -25
  192. package/dist/chunks/{wellknown-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
  193. package/dist/chunks/{wellknown-mqh6yhwz.js → repository-mnnqs8ch.js} +7 -7
  194. package/dist/chunks/{wellknown-c438309d.js → repository-mxrk5x1e.js} +11 -11
  195. package/dist/chunks/{wellknown-g4pd8jp4.js → repository-n0pr5v83.js} +18 -18
  196. package/dist/chunks/{wellknown-tj1q2scr.js → repository-n10qepkx.js} +16 -16
  197. package/dist/chunks/{wellknown-g8p6qmq8.js → repository-nbvm9kjy.js} +15 -15
  198. package/dist/chunks/{wellknown-drfneyqc.js → repository-nj1r2vcq.js} +4 -4
  199. package/dist/chunks/{wellknown-c5gn303e.js → repository-nw2nz702.js} +4 -4
  200. package/dist/chunks/{wellknown-pagzwejb.js → repository-nxgx3vy8.js} +23 -23
  201. package/dist/chunks/{wellknown-wc38272m.js → repository-p7p3472k.js} +20 -20
  202. package/dist/chunks/{wellknown-qq1c0rfq.js → repository-pb1eahw5.js} +6 -6
  203. package/dist/chunks/{wellknown-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{wellknown-pknna89w.js → repository-pknna89w.js} +1 -1
  205. package/dist/chunks/{wellknown-ckea2n89.js → repository-pthssfs7.js} +29 -29
  206. package/dist/chunks/{wellknown-cgay140m.js → repository-pxf31q7x.js} +13 -13
  207. package/dist/chunks/{wellknown-8gg8at11.js → repository-pyynkbc6.js} +29 -29
  208. package/dist/chunks/{wellknown-81swgkk7.js → repository-pzkk0785.js} +7 -7
  209. package/dist/chunks/{wellknown-jj63jgrn.js → repository-q280h65c.js} +8 -8
  210. package/dist/chunks/{wellknown-50m81vcj.js → repository-qfphbjrc.js} +10 -10
  211. package/dist/chunks/{wellknown-rtathh62.js → repository-qm7jrdpz.js} +8 -8
  212. package/dist/chunks/{wellknown-qptz43e7.js → repository-qn8pfh7t.js} +8 -8
  213. package/dist/chunks/{wellknown-zdvsaw25.js → repository-qrc483b8.js} +11 -11
  214. package/dist/chunks/{wellknown-qsdy395h.js → repository-qsdy395h.js} +1 -1
  215. package/dist/chunks/{wellknown-7tzt44kv.js → repository-qzm0daqd.js} +3 -3
  216. package/dist/chunks/{wellknown-n834bds2.js → repository-r1yy7shp.js} +15 -15
  217. package/dist/chunks/{wellknown-ba13aqv9.js → repository-ra94hv2r.js} +19 -19
  218. package/dist/chunks/{wellknown-b0xv7fv1.js → repository-raw2a3zh.js} +21 -21
  219. package/dist/chunks/{wellknown-ad2yvbkp.js → repository-rccqqzv1.js} +12 -12
  220. package/dist/chunks/{wellknown-2nv250mg.js → repository-rd62shed.js} +29 -29
  221. package/dist/chunks/{wellknown-rq5wdrj2.js → repository-rdydr188.js} +8 -8
  222. package/dist/chunks/{wellknown-4t7yv6cz.js → repository-rm75j2sh.js} +13 -13
  223. package/dist/chunks/{wellknown-sk37m034.js → repository-rq1vkg8w.js} +18 -18
  224. package/dist/chunks/{wellknown-s4gwknv2.js → repository-rqk58rkp.js} +16 -16
  225. package/dist/chunks/{wellknown-b6437q7d.js → repository-sz2wcpmw.js} +9 -9
  226. package/dist/chunks/{wellknown-fjmrr6sh.js → repository-t0x5rdq8.js} +9 -9
  227. package/dist/chunks/{wellknown-fdv30zvt.js → repository-t2fc4mz5.js} +7 -7
  228. package/dist/chunks/{wellknown-gept72jd.js → repository-t2fwea8b.js} +36 -36
  229. package/dist/chunks/{wellknown-f18mrdtc.js → repository-t8n3h3je.js} +24 -24
  230. package/dist/chunks/{wellknown-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{wellknown-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{wellknown-tdstcens.js → repository-tdstcens.js} +1 -1
  233. package/dist/chunks/{wellknown-n635ksnc.js → repository-tejqnav5.js} +5 -5
  234. package/dist/chunks/{wellknown-wk58jv74.js → repository-tfwap27p.js} +10 -10
  235. package/dist/chunks/{wellknown-tvtrv512.js → repository-tvtrv512.js} +1 -1
  236. package/dist/chunks/{wellknown-b02bgaz4.js → repository-v2kn4vdq.js} +19 -19
  237. package/dist/chunks/{wellknown-axbt4x3w.js → repository-vdtpdrgk.js} +32 -32
  238. package/dist/chunks/{wellknown-veqvce7d.js → repository-veqvce7d.js} +1 -1
  239. package/dist/chunks/{wellknown-sjq8935c.js → repository-vjay5gkv.js} +25 -25
  240. package/dist/chunks/{wellknown-vdx4y0d9.js → repository-vmxj0651.js} +7 -7
  241. package/dist/chunks/{wellknown-eshz126w.js → repository-vnasg3sb.js} +22 -22
  242. package/dist/chunks/{wellknown-5n9s6qa4.js → repository-vp40978k.js} +9 -9
  243. package/dist/chunks/{wellknown-r4ewzg2z.js → repository-vryjq8rr.js} +18 -18
  244. package/dist/chunks/{wellknown-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{wellknown-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{wellknown-ktczpzsq.js → repository-w8rxvjsy.js} +6 -6
  247. package/dist/chunks/{wellknown-2mxnmxmz.js → repository-wbsb94y0.js} +6 -6
  248. package/dist/chunks/{wellknown-wd87259q.js → repository-wd87259q.js} +1 -1
  249. package/dist/chunks/{wellknown-skkegfc4.js → repository-wdrr10w5.js} +10 -10
  250. package/dist/chunks/{wellknown-20rbm92a.js → repository-wmbnw6kf.js} +5 -5
  251. package/dist/chunks/{wellknown-edtyxv01.js → repository-wx8khj6c.js} +17 -17
  252. package/dist/chunks/{wellknown-qw1nc14v.js → repository-wxkvpjdn.js} +20 -20
  253. package/dist/chunks/{wellknown-ajq719v1.js → repository-x14ypy9e.js} +11 -11
  254. package/dist/chunks/{wellknown-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{wellknown-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
  256. package/dist/chunks/{wellknown-yef8cfd3.js → repository-x52k0wvy.js} +20 -20
  257. package/dist/chunks/{wellknown-ceanckhm.js → repository-x74118mf.js} +1 -1
  258. package/dist/chunks/{wellknown-a0s8jv85.js → repository-xdfw05yp.js} +11 -11
  259. package/dist/chunks/{wellknown-900x53hk.js → repository-xk45614k.js} +41 -41
  260. package/dist/chunks/{wellknown-196paj9n.js → repository-xmmda1hq.js} +11 -11
  261. package/dist/chunks/{wellknown-c0gy5km3.js → repository-xmvnw2y2.js} +6 -6
  262. package/dist/chunks/repository-xt8m55sk.js +247 -0
  263. package/dist/chunks/{wellknown-3tet443m.js → repository-y1336hgx.js} +17 -17
  264. package/dist/chunks/{wellknown-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{wellknown-p7m6r6b6.js → repository-y1rq3pqk.js} +6 -6
  266. package/dist/chunks/{wellknown-kx71qmfd.js → repository-y9bshx3x.js} +1 -1
  267. package/dist/chunks/{wellknown-mn5tqr63.js → repository-ybvbv09q.js} +8 -8
  268. package/dist/chunks/{wellknown-yddgxcp4.js → repository-yddgxcp4.js} +2 -2
  269. package/dist/chunks/{wellknown-0ctr31hs.js → repository-ykbv3wb7.js} +30 -30
  270. package/dist/chunks/{wellknown-r8xr0va3.js → repository-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{wellknown-hbgnkwvx.js → repository-ypfk9d9x.js} +18 -18
  272. package/dist/chunks/{wellknown-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{wellknown-yrznvahk.js → repository-yrznvahk.js} +2 -2
  274. package/dist/chunks/{wellknown-rvtwd3yj.js → repository-ys3t6ahp.js} +36 -36
  275. package/dist/chunks/{wellknown-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{wellknown-ma6ycfp0.js → repository-z13bnxy7.js} +6 -6
  277. package/dist/chunks/{wellknown-z63w68vq.js → repository-z63w68vq.js} +2 -2
  278. package/dist/chunks/{wellknown-spf23xz3.js → repository-z6fgg22d.js} +29 -29
  279. package/dist/chunks/{wellknown-frk6nvt3.js → repository-z741p9sc.js} +15 -15
  280. package/dist/chunks/{wellknown-q17z9dx8.js → repository-za6yq9hg.js} +5 -5
  281. package/dist/chunks/{wellknown-qmy1dnxe.js → repository-zamc6f4z.js} +29 -29
  282. package/dist/chunks/{wellknown-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{wellknown-095gdp9m.js → repository-zj4vqg3k.js} +17 -17
  284. package/dist/chunks/{wellknown-pj81m1sj.js → repository-zk4wv12b.js} +40 -40
  285. package/dist/chunks/{wellknown-fgjt84w1.js → repository-zm6r64bs.js} +22 -22
  286. package/dist/chunks/{wellknown-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{wellknown-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +122 -122
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +134 -134
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +111 -111
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +115 -115
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +68 -68
  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.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +77 -77
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +78 -78
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +84 -84
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +353 -353
  453. package/dist/instruction-discovery.js +79 -79
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +75 -75
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +82 -82
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +99 -99
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +74 -74
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +100 -100
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +80 -80
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +80 -80
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +68 -68
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +131 -131
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +339 -339
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +80 -80
  543. package/dist/plugin/vcs/hg.js +80 -80
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +216 -216
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +81 -81
  555. package/dist/provider.js +5 -5
  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 +86 -86
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +87 -87
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +123 -123
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +3 -3
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +80 -80
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +109 -109
  586. package/dist/session/model-transport.js +5 -5
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +1 -1
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +84 -84
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +149 -149
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +209 -209
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +103 -103
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +118 -118
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +100 -100
  636. package/dist/tool/plugin/read.js +113 -113
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +106 -106
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +103 -103
  641. package/dist/tool/plugin/websearch.js +105 -105
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +1 -1
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +80 -80
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/wellknown-a4723tnb.js +0 -247
  687. package/dist/chunks/wellknown-dxj72tfx.js +0 -18
  688. package/dist/chunks/wellknown-gytcnbap.js +0 -22
  689. /package/dist/chunks/{wellknown-0mesazry.js → repository-0mesazry.js} +0 -0
  690. /package/dist/chunks/{wellknown-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{wellknown-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{wellknown-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{wellknown-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{wellknown-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{wellknown-2710q6r3.js → repository-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{wellknown-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{wellknown-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{wellknown-359p4xyc.js → repository-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{wellknown-3asan66x.js → repository-3asan66x.js} +0 -0
  700. /package/dist/chunks/{wellknown-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{wellknown-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{wellknown-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{wellknown-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{wellknown-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{wellknown-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{wellknown-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{wellknown-53557ph1.js → repository-53557ph1.js} +0 -0
  708. /package/dist/chunks/{wellknown-550bvhaj.js → repository-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{wellknown-6prwharc.js → repository-6prwharc.js} +0 -0
  710. /package/dist/chunks/{wellknown-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{wellknown-7m9af43g.js → repository-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{wellknown-822emrt2.js → repository-822emrt2.js} +0 -0
  713. /package/dist/chunks/{wellknown-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{wellknown-8n3pysct.js → repository-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{wellknown-922hggd3.js → repository-922hggd3.js} +0 -0
  716. /package/dist/chunks/{wellknown-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{wellknown-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{wellknown-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{wellknown-af5trqkr.js → repository-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{wellknown-afrmfg78.js → repository-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{wellknown-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{wellknown-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{wellknown-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{wellknown-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{wellknown-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{wellknown-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{wellknown-d9fn303g.js → repository-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{wellknown-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{wellknown-dajrwvna.js → repository-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{wellknown-dap0rakb.js → repository-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{wellknown-df08tz66.js → repository-df08tz66.js} +0 -0
  732. /package/dist/chunks/{wellknown-dy18nga0.js → repository-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{wellknown-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{wellknown-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{wellknown-ec1grn59.js → repository-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{wellknown-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{wellknown-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{wellknown-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{wellknown-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{wellknown-faypxj3z.js → repository-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{wellknown-fd410y7t.js → repository-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{wellknown-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{wellknown-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{wellknown-g86h250q.js → repository-g86h250q.js} +0 -0
  745. /package/dist/chunks/{wellknown-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{wellknown-gftt206x.js → repository-gftt206x.js} +0 -0
  747. /package/dist/chunks/{wellknown-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{wellknown-hk9envan.js → repository-hk9envan.js} +0 -0
  749. /package/dist/chunks/{wellknown-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{wellknown-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{wellknown-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{wellknown-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{wellknown-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{wellknown-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{wellknown-mp448xyj.js → repository-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{wellknown-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{wellknown-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{wellknown-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{wellknown-njntx4h6.js → repository-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{wellknown-paphc93g.js → repository-paphc93g.js} +0 -0
  761. /package/dist/chunks/{wellknown-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{wellknown-q74kybfr.js → repository-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{wellknown-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{wellknown-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{wellknown-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{wellknown-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{wellknown-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{wellknown-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{wellknown-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{wellknown-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{wellknown-twg0f83k.js → repository-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{wellknown-w803qqfp.js → repository-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{wellknown-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{wellknown-wtztk69x.js → repository-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{wellknown-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{wellknown-x61499pn.js → repository-x61499pn.js} +0 -0
  777. /package/dist/chunks/{wellknown-y44na4kk.js → repository-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{wellknown-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{wellknown-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{wellknown-ym463w8f.js → repository-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{wellknown-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
- import {
2
- Service80
3
- } from "./wellknown-9ah46qnh.js";
4
1
  import {
5
2
  Service79
6
- } from "./wellknown-gdpq0ckt.js";
3
+ } from "./repository-c66sb1ac.js";
7
4
  import {
8
- Service49
9
- } from "./wellknown-9c7cwdaf.js";
5
+ Service78
6
+ } from "./repository-63xeamm2.js";
7
+ import {
8
+ Service50
9
+ } from "./repository-hq8zt1th.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./wellknown-fxbjtjnd.js";
12
+ } from "./repository-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./wellknown-gftt206x.js";
15
+ } from "./repository-gftt206x.js";
16
16
  import {
17
17
  NotFoundError9,
18
18
  PromptConflictError2,
@@ -20,55 +20,55 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./wellknown-vd0xk4sc.js";
23
+ } from "./repository-jv6862zv.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./wellknown-ec1grn59.js";
26
+ } from "./repository-ec1grn59.js";
27
27
  import {
28
- Service68
29
- } from "./wellknown-tgggdv5e.js";
28
+ Service69
29
+ } from "./repository-22cv5ye4.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service47
34
- } from "./wellknown-v8sve7zh.js";
33
+ Service49
34
+ } from "./repository-d4z2re2g.js";
35
35
  import {
36
- Service45
37
- } from "./wellknown-7b1xt4jx.js";
36
+ Service46
37
+ } from "./repository-dqy22jqg.js";
38
38
  import {
39
39
  prepare2
40
- } from "./wellknown-74m7wsss.js";
40
+ } from "./repository-av7emrka.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./wellknown-r2wet1p6.js";
45
+ } from "./repository-jkmmxdv7.js";
46
46
  import {
47
47
  start2
48
- } from "./wellknown-e4cbaens.js";
48
+ } from "./repository-0s80x56w.js";
49
49
  import {
50
50
  get4
51
- } from "./wellknown-qehyq9cc.js";
51
+ } from "./repository-m3ef3jt3.js";
52
52
  import {
53
53
  __export
54
- } from "./wellknown-9rqn6x4v.js";
54
+ } from "./repository-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service79;
67
- const database = yield* Service80;
68
- const store = yield* Service68;
69
- const instances = yield* Service49;
70
- const execution = yield* Service45;
71
- const admission = yield* Service47;
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service78;
67
+ const database = yield* Service79;
68
+ const store = yield* Service69;
69
+ const instances = yield* Service50;
70
+ const execution = yield* Service46;
71
+ const admission = yield* Service49;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -127,7 +127,7 @@ var make12 = Effect.fn("Session.make")(function* () {
127
127
  });
128
128
  if (existing)
129
129
  return existing;
130
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
130
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service50, instances), Effect.provideService(FSUtil.Service, fs)));
131
131
  if (session.revert)
132
132
  yield* commit2(bus, session);
133
133
  return yield* admission.admit({
@@ -143,7 +143,7 @@ var make12 = Effect.fn("Session.make")(function* () {
143
143
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
144
144
  const session = yield* get(sessionID);
145
145
  const running = yield* Effect.gen(function* () {
146
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
146
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service50, instances), Effect.tapError((error) => synthetic(sessionID, {
147
147
  text: `User shell command failed to start:
148
148
  ${input.command}
149
149
 
@@ -172,7 +172,7 @@ ${error.message}`,
172
172
  });
173
173
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
174
174
  const session = yield* get(sessionID);
175
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
175
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service50, instances));
176
176
  yield* bus.publish(SessionEvent2.Skill.Activated, {
177
177
  sessionID,
178
178
  id: skill.id,
@@ -229,13 +229,13 @@ ${error.message}`,
229
229
  const session = yield* get(sessionID);
230
230
  if (yield* execution.isActive(sessionID))
231
231
  return yield* new BusyError2({ sessionID });
232
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
232
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service79, database), Effect.provideService(Service78, bus));
233
233
  });
234
234
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
235
235
  const session = yield* get(sessionID);
236
236
  if (yield* execution.isActive(sessionID))
237
237
  return yield* new BusyError2({ sessionID });
238
- yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service79, bus));
238
+ yield* clear2(session).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service78, bus));
239
239
  return yield* execution.wake(sessionID);
240
240
  });
241
241
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -315,4 +315,4 @@ ${error.message}`,
315
315
  return { forSession };
316
316
  });
317
317
 
318
- export { make12, exports_session2 };
318
+ export { make13, exports_session2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service36,
8
+ Service: () => Service43,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node40
10
+ node: () => node47
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service36 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service36, () => {
17
+ var layer = Layer.sync(Service43, () => {
18
18
  const environments = new Map;
19
- return Service36.of({
19
+ return Service43.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service36, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node40 = makeGlobalNode({ service: Service36, layer, deps: [] });
29
+ var node47 = makeGlobalNode({ service: Service43, layer, deps: [] });
30
30
 
31
- export { Service36, node40, exports_environment };
31
+ export { Service43, node47, exports_environment };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./wellknown-y71avatq.js";
3
+ } from "./repository-dpkg50ah.js";
4
4
  import {
5
- Service79,
6
- node84
7
- } from "./wellknown-gdpq0ckt.js";
5
+ Service78,
6
+ node83
7
+ } from "./repository-63xeamm2.js";
8
8
  import {
9
- Event12,
10
- Service57,
11
- node62
12
- } from "./wellknown-fyts4tpe.js";
9
+ Event16,
10
+ Service60,
11
+ node64
12
+ } from "./repository-32vktv6f.js";
13
13
  import {
14
- Service76,
15
- node81
16
- } from "./wellknown-tj1q2scr.js";
14
+ Service73,
15
+ node78
16
+ } from "./repository-n10qepkx.js";
17
17
  import {
18
- Service40,
19
- node44
20
- } from "./wellknown-zy1b9mj0.js";
18
+ Service64,
19
+ node68
20
+ } from "./repository-5tqrw2yw.js";
21
21
  import {
22
22
  ID9,
23
- Service58,
23
+ Service59,
24
24
  node63
25
- } from "./wellknown-ba13aqv9.js";
25
+ } from "./repository-ra94hv2r.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./wellknown-kg06axw8.js";
29
+ } from "./repository-kg06axw8.js";
30
30
  import {
31
- ID7,
31
+ ID8,
32
32
  MethodID2,
33
- Service56,
34
- node61
35
- } from "./wellknown-ckea2n89.js";
33
+ Service58,
34
+ node62
35
+ } from "./repository-pthssfs7.js";
36
36
  import {
37
37
  __export
38
- } from "./wellknown-9rqn6x4v.js";
38
+ } from "./repository-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service32,
59
+ Service: () => Service35,
60
60
  Status: () => Status2,
61
- Tool: () => Tool3,
61
+ Tool: () => Tool2,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
65
  configured: () => configured4,
66
- layer: () => layer14,
67
- node: () => node36
66
+ layer: () => layer15,
67
+ node: () => node39
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID7.pipe(Schema.optional)
84
+ integrationID: ID8.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
91
91
  }) {
92
92
  }
93
93
 
94
- class Tool3 extends Schema.Class("MCP.Tool")({
94
+ class Tool2 extends Schema.Class("MCP.Tool")({
95
95
  server: ServerName2,
96
96
  name: Schema.String,
97
97
  codemode: Schema.Boolean.pipe(Schema.optional),
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service32 extends Context.Service()("@opencode/MCP") {
168
+ class Service35 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
170
  var Options4 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
@@ -173,13 +173,13 @@ var Options4 = Schema.Struct({
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
177
- const location = yield* Service76;
178
- const environment = yield* Service40;
179
- const bus = yield* Service79;
180
- const forms = yield* Service58;
181
- const integration = yield* Service56;
182
- const credentials = yield* Service57;
176
+ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
177
+ const location = yield* Service73;
178
+ const environment = yield* Service64;
179
+ const bus = yield* Service78;
180
+ const forms = yield* Service59;
181
+ const integration = yield* Service58;
182
+ const credentials = yield* Service60;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID7.make(suffix);
194
+ const integrationID = ID8.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -358,7 +358,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
358
358
  yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
359
359
  })
360
360
  };
361
- const toTool = (server, entry, def) => new Tool3({
361
+ const toTool = (server, entry, def) => new Tool2({
362
362
  server,
363
363
  name: def.name,
364
364
  codemode: entry.config.codemode,
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service40, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service32.of({
590
+ return Service35.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -709,12 +709,12 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
709
709
  }));
710
710
  function configured4(options) {
711
711
  return makeLocationNode({
712
- service: Service32,
713
- layer: layer14(options),
714
- deps: [node81, node44, node84, node63, node61, node62]
712
+ service: Service35,
713
+ layer: layer15(options),
714
+ deps: [node78, node68, node83, node63, node62, node64]
715
715
  });
716
716
  }
717
- var node36 = configured4();
717
+ var node39 = configured4();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options4, layer14, configured4, node36, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service35, Options4, layer15, configured4, node39, exports_mcp4 };
@@ -1,63 +1,63 @@
1
- import {
2
- Service80,
3
- node85
4
- } from "./wellknown-9ah46qnh.js";
5
1
  import {
6
2
  Service79,
7
3
  node84
8
- } from "./wellknown-gdpq0ckt.js";
4
+ } from "./repository-c66sb1ac.js";
9
5
  import {
10
- Service49,
11
- node54
12
- } from "./wellknown-9c7cwdaf.js";
6
+ Service78,
7
+ node83
8
+ } from "./repository-63xeamm2.js";
9
+ import {
10
+ Service50,
11
+ node53
12
+ } from "./repository-hq8zt1th.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./wellknown-922hggd3.js";
16
+ } from "./repository-922hggd3.js";
17
17
  import {
18
- Service77,
19
- node82
20
- } from "./wellknown-spf23xz3.js";
18
+ Service74,
19
+ node79
20
+ } from "./repository-z6fgg22d.js";
21
21
  import {
22
22
  Ref4
23
- } from "./wellknown-tj1q2scr.js";
23
+ } from "./repository-n10qepkx.js";
24
24
  import {
25
- Service50,
26
- node55
27
- } from "./wellknown-hdv4kbhc.js";
25
+ Service53,
26
+ node57
27
+ } from "./repository-9ra18k9p.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./wellknown-gftt206x.js";
30
+ } from "./repository-gftt206x.js";
31
31
  import {
32
32
  NotFoundError9
33
- } from "./wellknown-vd0xk4sc.js";
33
+ } from "./repository-jv6862zv.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./wellknown-ec1grn59.js";
36
+ } from "./repository-ec1grn59.js";
37
37
  import {
38
- Service46
39
- } from "./wellknown-dhmh7aw6.js";
38
+ Service47
39
+ } from "./repository-embw8kgh.js";
40
40
  import {
41
- Service68,
42
- node73
43
- } from "./wellknown-tgggdv5e.js";
41
+ Service69,
42
+ node74
43
+ } from "./repository-22cv5ye4.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service47,
47
+ Service49,
48
48
  node52,
49
49
  moveIDs2
50
- } from "./wellknown-v8sve7zh.js";
50
+ } from "./repository-d4z2re2g.js";
51
51
  import {
52
- Service45,
53
- node51
54
- } from "./wellknown-7b1xt4jx.js";
52
+ Service46,
53
+ node50
54
+ } from "./repository-dqy22jqg.js";
55
55
  import {
56
- node26
57
- } from "./wellknown-88sv3a8w.js";
56
+ node35
57
+ } from "./repository-8nd4ez8d.js";
58
58
  import {
59
59
  __export
60
- } from "./wellknown-9rqn6x4v.js";
60
+ } from "./repository-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service21,
68
+ Service: () => Service30,
69
69
  SessionMove: () => exports_move,
70
- node: () => node25
70
+ node: () => node34
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,19 +83,19 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service21 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service30 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service21, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service77;
92
- const locations = yield* Service50;
93
- const store = yield* Service68;
94
- const execution = yield* Service45;
95
- const instances = yield* Service49;
96
- const admission = yield* Service47;
97
- const database = yield* Service80;
98
- const bus = yield* Service79;
91
+ const projects = yield* Service74;
92
+ const locations = yield* Service53;
93
+ const store = yield* Service69;
94
+ const execution = yield* Service46;
95
+ const instances = yield* Service50;
96
+ const admission = yield* Service49;
97
+ const database = yield* Service79;
98
+ const bus = yield* Service78;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service46.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service21.of({
136
+ return Service30.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node25 = makeGlobalNode({
167
- service: Service21,
166
+ var node34 = makeGlobalNode({
167
+ service: Service30,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node82,
173
- node55,
174
- node73,
175
- node51,
176
- node54,
172
+ node79,
173
+ node57,
174
+ node74,
175
+ node50,
176
+ node53,
177
177
  node52,
178
- node85,
179
178
  node84,
180
- node26
179
+ node83,
180
+ node35
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node25, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service30, node34, exports_move };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service79
3
- } from "./wellknown-gdpq0ckt.js";
2
+ Service78
3
+ } from "./repository-63xeamm2.js";
4
4
  import {
5
- Service63
6
- } from "./wellknown-jh6dhq8h.js";
5
+ Service40
6
+ } from "./repository-mhspve7x.js";
7
7
  import {
8
- Error5
9
- } from "./wellknown-rm2ff3bp.js";
8
+ Error3
9
+ } from "./repository-k0e0jm40.js";
10
10
  import {
11
- Service44
12
- } from "./wellknown-p5xyv7pn.js";
11
+ Service61
12
+ } from "./repository-2vtn24zd.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./wellknown-vd0xk4sc.js";
15
+ } from "./repository-jv6862zv.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./wellknown-ec1grn59.js";
18
+ } from "./repository-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./wellknown-jfkjrwd6.js";
21
+ } from "./repository-6d8fecpc.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./wellknown-tdstcens.js";
24
+ } from "./repository-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./wellknown-h03wrkyp.js";
27
+ } from "./repository-h03wrkyp.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./wellknown-cavnh2xx.js";
30
+ } from "./repository-eak6awrz.js";
31
31
  import {
32
32
  __export
33
- } from "./wellknown-9rqn6x4v.js";
33
+ } from "./repository-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* Service79;
55
+ const bus = yield* Service78;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service63;
58
- const toolOutput = yield* Service44;
57
+ const snapshots = yield* Service40;
58
+ const toolOutput = yield* Service61;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error5({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,