@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,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./wellknown-tj1q2scr.js";
5
+ Service73
6
+ } from "./repository-n10qepkx.js";
7
7
  import {
8
- Service37
9
- } from "./wellknown-d5hhvd7t.js";
8
+ Service44
9
+ } from "./repository-6prpzt6f.js";
10
10
  import {
11
- Service75
12
- } from "./wellknown-837kr0g5.js";
11
+ Service23
12
+ } from "./repository-jw70rx0h.js";
13
13
  import {
14
14
  observe2
15
- } from "./wellknown-qsdy395h.js";
15
+ } from "./repository-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./wellknown-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin15
24
+ Plugin: () => Plugin9
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin15 = define({
30
+ var Plugin9 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service37;
34
- const location = yield* Service76;
33
+ const config = yield* Service44;
34
+ const location = yield* Service73;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service75;
36
+ const worktrees = yield* Service23;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin15 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin15, exports_worktree };
51
+ export { Plugin9, exports_worktree };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./wellknown-gdpq0ckt.js";
2
+ Service78,
3
+ node83
4
+ } from "./repository-63xeamm2.js";
5
5
  import {
6
6
  __export
7
- } from "./wellknown-9rqn6x4v.js";
7
+ } from "./repository-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,20 +12,20 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event13,
15
+ Event: () => Event15,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
19
  ID: () => ID9,
20
- Info: () => Info21,
20
+ Info: () => Info22,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError5,
23
+ NotFoundError: () => NotFoundError6,
24
24
  Reply: () => Reply2,
25
- Service: () => Service58,
25
+ Service: () => Service59,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer23,
28
+ layer: () => layer24,
29
29
  node: () => node63,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
@@ -33,10 +33,10 @@ __export(exports_form, {
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event13 } from "@opencode/schema/form";
36
+ import { Event as Event15 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID9 = Form.ID;
39
- var Info21 = Form.Info;
39
+ var Info22 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,7 +44,7 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError5 extends Schema.TaggedError()("Form.NotFoundError", {
47
+ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
48
48
  id: ID9
49
49
  }) {
50
50
  get message() {
@@ -79,15 +79,15 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service58 extends Context.Service()("@opencode/Form") {
82
+ class Service59 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer23 = Layer.effect(Service58, Effect.gen(function* () {
85
- const bus = yield* Service79;
84
+ var layer24 = Layer.effect(Service59, Effect.gen(function* () {
85
+ const bus = yield* Service78;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError5({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
92
  const id = input.id ?? ID9.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
@@ -153,9 +153,9 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service58.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service59.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node63 = makeLocationNode({ service: Service58, layer: layer23, deps: [node84] });
158
+ var node63 = makeLocationNode({ service: Service59, layer: layer24, deps: [node83] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID9, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError5, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service58, layer23, node63, validateAnswer2, validateFields2, exports_form, Event13 };
310
+ export { ID9, Info22, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service59, layer24, node63, validateAnswer2, validateFields2, exports_form, Event15 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./wellknown-922hggd3.js";
4
+ } from "./repository-922hggd3.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./wellknown-tj1q2scr.js";
6
+ Service73,
7
+ node78
8
+ } from "./repository-n10qepkx.js";
9
9
  import {
10
- Service16,
11
- node19
12
- } from "./wellknown-n136tsdt.js";
10
+ Service17,
11
+ node20
12
+ } from "./repository-6ryvksdm.js";
13
13
  import {
14
14
  __export
15
- } from "./wellknown-9rqn6x4v.js";
15
+ } from "./repository-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event3,
24
+ Event: () => Event4,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
29
29
  ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service15,
32
+ Service: () => Service16,
33
33
  Submatch: () => Submatch2,
34
- node: () => node18
34
+ node: () => node19
35
35
  });
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
37
37
  import path from "path";
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event3 = FileSystem.Event;
75
+ var Event4 = FileSystem.Event;
76
76
 
77
- class Service15 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service16 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service76;
82
- const search = yield* Service16;
81
+ const location = yield* Service73;
82
+ const search = yield* Service17;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service15.of({
93
+ return Service16.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node18 = makeLocationNode({
126
- service: Service15,
125
+ var node19 = makeLocationNode({
126
+ service: Service16,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node81, node19]
128
+ deps: [FSUtil.node, node78, node20]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node18, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node19, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID15,
2
+ ID16,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./wellknown-eshz126w.js";
5
+ } from "./repository-vnasg3sb.js";
6
6
  import {
7
7
  merge2
8
- } from "./wellknown-pj81m1sj.js";
8
+ } from "./repository-zk4wv12b.js";
9
9
  import {
10
10
  __export
11
- } from "./wellknown-9rqn6x4v.js";
11
+ } from "./repository-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin38
17
+ Plugin: () => Plugin44
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin38 = define({
93
+ var Plugin44 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin38 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID15.make("general"), (item) => {
103
+ editor.update(ID16.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID15.make("explore"), (item) => {
109
+ editor.update(ID16.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin38 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID15.make("compaction"), (item) => {
128
+ editor.update(ID16.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID15.make("title"), (item) => {
133
+ editor.update(ID16.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID15.make("summary"), (item) => {
140
+ editor.update(ID16.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin38 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin38, exports_agent2 };
151
+ export { Plugin44, exports_agent2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./wellknown-gdpq0ckt.js";
2
+ Service78,
3
+ node83
4
+ } from "./repository-63xeamm2.js";
5
5
  import {
6
- node42
7
- } from "./wellknown-wc38272m.js";
6
+ node49
7
+ } from "./repository-p7p3472k.js";
8
8
  import {
9
9
  Service4,
10
10
  node7
11
- } from "./wellknown-h5325qgz.js";
11
+ } from "./repository-j14ddj9r.js";
12
12
  import {
13
- Service31
14
- } from "./wellknown-dxj72tfx.js";
13
+ Service32
14
+ } from "./repository-9sh4wc5j.js";
15
15
  import {
16
16
  node23,
17
17
  ID3
18
- } from "./wellknown-frk6nvt3.js";
18
+ } from "./repository-z741p9sc.js";
19
19
  import {
20
- Service12,
21
- node15
22
- } from "./wellknown-kbmmzrfa.js";
20
+ Service5,
21
+ node8
22
+ } from "./repository-844ef7ks.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./wellknown-x0hpdvpn.js";
26
+ } from "./repository-7qed14jw.js";
27
27
  import {
28
- make4,
28
+ make9,
29
29
  LoadError2
30
- } from "./wellknown-fg0hzth7.js";
30
+ } from "./repository-fjeh9m37.js";
31
31
  import {
32
32
  Updated2,
33
33
  Service6,
34
34
  node9
35
- } from "./wellknown-2mxnmxmz.js";
35
+ } from "./repository-wbsb94y0.js";
36
36
  import {
37
- Service5,
38
- node8
39
- } from "./wellknown-xhmq8qgk.js";
37
+ Service7,
38
+ node10
39
+ } from "./repository-d09006c3.js";
40
40
  import {
41
41
  __export
42
- } from "./wellknown-9rqn6x4v.js";
42
+ } from "./repository-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  };
126
126
  });
127
127
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service31;
128
+ const registry = yield* Service32;
129
129
  const sdk = yield* Service6;
130
- const instance = yield* Service12;
130
+ const instance = yield* Service5;
131
131
  const sources = yield* Service4;
132
- const modules = yield* make4();
133
- const bus = yield* Service79;
134
- const updates = yield* Service5;
132
+ const modules = yield* make9();
133
+ const bus = yield* Service78;
134
+ const updates = yield* Service7;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -208,12 +208,12 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
208
208
  var nodeDeps = [
209
209
  node23,
210
210
  node9,
211
- node15,
212
- node7,
213
211
  node8,
214
- node84,
212
+ node7,
213
+ node10,
214
+ node83,
215
215
  Npm.node,
216
- node42,
216
+ node49,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./wellknown-tx7nxe6e.js";
3
+ } from "./repository-9jzdmgrd.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin35,
11
+ Plugin: () => Plugin34,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint3 = "https://api.tavily.com/search";
18
+ var endpoint2 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin35 = define({
32
+ var Plugin34 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin35 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin35 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin35, exports_tavily };
80
+ export { endpoint2, Plugin34, exports_tavily };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./wellknown-y71avatq.js";
3
+ } from "./repository-dpkg50ah.js";
4
4
  import {
5
- Service40,
6
- node44
7
- } from "./wellknown-zy1b9mj0.js";
5
+ Service64,
6
+ node68
7
+ } from "./repository-5tqrw2yw.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service13,
17
- node: () => node16,
16
+ Service: () => Service14,
17
+ node: () => node17,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service13 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service14 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service13, Effect.gen(function* () {
38
- const environment = yield* Service40;
37
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
38
+ const environment = yield* Service64;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service13.of({ withLock, write, writeTextPreservingBom });
59
+ return Service14.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node16 = makeLocationNode({ service: Service13, layer, deps: [node44] });
61
+ var node17 = makeLocationNode({ service: Service14, layer, deps: [node68] });
62
62
 
63
- export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
63
+ export { Service14, readText2, syncTextBom2, node17, exports_file_mutation };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service80
3
- } from "./wellknown-9ah46qnh.js";
2
+ Service79
3
+ } from "./repository-c66sb1ac.js";
4
4
  import {
5
- Service49
6
- } from "./wellknown-9c7cwdaf.js";
5
+ Service50
6
+ } from "./repository-hq8zt1th.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./wellknown-dxj72tfx.js";
9
+ } from "./repository-9sh4wc5j.js";
10
10
  import {
11
11
  provenance2
12
- } from "./wellknown-1hc11dc4.js";
12
+ } from "./repository-1hc11dc4.js";
13
13
  import {
14
14
  preview2
15
- } from "./wellknown-qptz43e7.js";
15
+ } from "./repository-qn8pfh7t.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./wellknown-fxmk9gfa.js";
18
+ } from "./repository-e430f9b9.js";
19
19
  import {
20
- Service22
21
- } from "./wellknown-wbt7ywgk.js";
20
+ Service26
21
+ } from "./repository-9a4k9g5r.js";
22
22
  import {
23
23
  __export
24
- } from "./wellknown-9rqn6x4v.js";
24
+ } from "./repository-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate = {};
28
- __export(exports_generate, {
29
- SessionGenerate: () => exports_generate,
27
+ var exports_generate2 = {};
28
+ __export(exports_generate2, {
29
+ SessionGenerate: () => exports_generate2,
30
30
  generate: () => generate3
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service49;
36
- const database = yield* Service80;
35
+ const instances = yield* Service50;
36
+ const database = yield* Service79;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service22;
40
+ const context = yield* Service26;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate3, exports_generate };
74
+ export { generate3, exports_generate2 };