@opencode/core 0.0.0-dev-20638 → 0.0.0-dev-20643

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{kv-4njb8sjz.js → repository-00e0wh3q.js} +24 -24
  8. package/dist/chunks/{kv-m357821f.js → repository-042aawn8.js} +25 -25
  9. package/dist/chunks/{kv-p3np81yz.js → repository-05t95569.js} +18 -18
  10. package/dist/chunks/{kv-rr6414d7.js → repository-0f0pgr2e.js} +1 -1
  11. package/dist/chunks/{kv-wqtjzdjg.js → repository-0h1qn0y5.js} +10 -10
  12. package/dist/chunks/{kv-q0xm7vwc.js → repository-0j77ygfz.js} +6 -6
  13. package/dist/chunks/{kv-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{kv-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{kv-ec2y1rs7.js → repository-15q89ad0.js} +15 -15
  16. package/dist/chunks/{kv-j0dh5s1b.js → repository-16558gs3.js} +50 -50
  17. package/dist/chunks/{kv-rhraev7y.js → repository-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{kv-a1gpj94z.js → repository-1bbkgx8g.js} +3 -3
  19. package/dist/chunks/{kv-ftqbsq0r.js → repository-1cw3fj19.js} +3 -3
  20. package/dist/chunks/{kv-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{kv-1dvck2a7.js → repository-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{kv-k1gkpfdk.js → repository-1gfgk62c.js} +8 -8
  23. package/dist/chunks/{kv-58pe7162.js → repository-1hp58pw3.js} +4 -4
  24. package/dist/chunks/{kv-5zt2q5ce.js → repository-1wb0x8n3.js} +8 -8
  25. package/dist/chunks/{kv-8tatyyx7.js → repository-23294nz8.js} +20 -20
  26. package/dist/chunks/{kv-97cfts9w.js → repository-2455wr4j.js} +15 -15
  27. package/dist/chunks/{kv-yx8a1kq8.js → repository-27bkxtjt.js} +13 -13
  28. package/dist/chunks/{kv-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{kv-4ts7tf6z.js → repository-2ccvkpx1.js} +2 -2
  30. package/dist/chunks/{kv-esafk7q3.js → repository-2k8khapm.js} +5 -5
  31. package/dist/chunks/{kv-zfs8ae4p.js → repository-2m8jawch.js} +4 -4
  32. package/dist/chunks/{kv-nekkkdzt.js → repository-2t9hnq90.js} +2 -2
  33. package/dist/chunks/{kv-gbpk5mqp.js → repository-2texf5vf.js} +24 -24
  34. package/dist/chunks/{kv-w4egk6m7.js → repository-2tyga0yy.js} +9 -9
  35. package/dist/chunks/{kv-a7gbfrqc.js → repository-2wredcz9.js} +17 -17
  36. package/dist/chunks/{kv-z5zt2xra.js → repository-2z7ddzwf.js} +5 -5
  37. package/dist/chunks/{kv-k8kjf1xa.js → repository-32xj3ztx.js} +29 -29
  38. package/dist/chunks/{kv-b69jv39p.js → repository-3556dn8t.js} +1 -1
  39. package/dist/chunks/{kv-apt05brx.js → repository-3cde4f3q.js} +8 -8
  40. package/dist/chunks/{kv-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{kv-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{kv-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{kv-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{kv-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{kv-3y2y4nc2.js → repository-41h22fg8.js} +43 -43
  46. package/dist/chunks/{kv-769wxhem.js → repository-4344f0hm.js} +36 -36
  47. package/dist/chunks/repository-45085rbj.js +26 -0
  48. package/dist/chunks/{kv-vp15e18s.js → repository-483p8dcw.js} +8 -8
  49. package/dist/chunks/{kv-zf5wv535.js → repository-4azg6a58.js} +10 -10
  50. package/dist/chunks/{kv-vet6ekdp.js → repository-4cw36es0.js} +9 -9
  51. package/dist/chunks/{kv-kq04c70q.js → repository-4ege8dpt.js} +10 -10
  52. package/dist/chunks/{kv-rabz0548.js → repository-4y69v0zr.js} +13 -13
  53. package/dist/chunks/{kv-yrcj3v3g.js → repository-4z58m4b4.js} +4 -4
  54. package/dist/chunks/{kv-g4w6v84v.js → repository-4z7pkycv.js} +19 -19
  55. package/dist/chunks/{kv-54ma36ye.js → repository-54ma36ye.js} +1 -1
  56. package/dist/chunks/{kv-fcf2thwx.js → repository-56a9smke.js} +18 -18
  57. package/dist/chunks/{kv-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{kv-acznmef4.js → repository-56gyfky0.js} +10 -10
  59. package/dist/chunks/{kv-1pxz8ven.js → repository-57myy5jh.js} +5 -5
  60. package/dist/chunks/{kv-5daktx2q.js → repository-5daktx2q.js} +1 -1
  61. package/dist/chunks/{kv-181xftrn.js → repository-5e49akah.js} +47 -47
  62. package/dist/chunks/{kv-w9903dp5.js → repository-5k54pn5m.js} +10 -10
  63. package/dist/chunks/{kv-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{kv-2ewwsn6j.js → repository-5ng375bv.js} +10 -10
  65. package/dist/chunks/{kv-5xbp0mzp.js → repository-5pptr25h.js} +4 -4
  66. package/dist/chunks/{kv-pnx8jqpz.js → repository-5r637m3f.js} +55 -55
  67. package/dist/chunks/{kv-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{kv-dk81va9j.js → repository-5t80mpw4.js} +22 -22
  69. package/dist/chunks/{kv-r2tr70hw.js → repository-5w6ne2rj.js} +11 -11
  70. package/dist/chunks/{kv-vzmw36wy.js → repository-65967rh2.js} +7 -7
  71. package/dist/chunks/{kv-wda5c5wt.js → repository-66bhq6pp.js} +13 -13
  72. package/dist/chunks/{kv-cvgnxgr7.js → repository-68ga000j.js} +37 -37
  73. package/dist/chunks/{kv-j9nscww1.js → repository-6c2ypm1v.js} +25 -25
  74. package/dist/chunks/{kv-a2b9r020.js → repository-6cdwq03r.js} +4 -4
  75. package/dist/chunks/{kv-yh94greh.js → repository-6cfn1t67.js} +11 -11
  76. package/dist/chunks/{kv-5jm289mv.js → repository-6r4hjhnf.js} +20 -20
  77. package/dist/chunks/{kv-dssebbhk.js → repository-6vnaqa0k.js} +30 -30
  78. package/dist/chunks/{kv-ephge0j6.js → repository-6x4qebe7.js} +32 -32
  79. package/dist/chunks/{kv-6xb47vfp.js → repository-6xb47vfp.js} +1 -1
  80. package/dist/chunks/{kv-71az546q.js → repository-71az546q.js} +2 -2
  81. package/dist/chunks/{kv-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{kv-8pfwr1aj.js → repository-7c08hygz.js} +11 -11
  83. package/dist/chunks/{kv-6pwtgj3y.js → repository-7d05dvcz.js} +4 -4
  84. package/dist/chunks/{kv-f0swrhq5.js → repository-7wnc14t4.js} +21 -21
  85. package/dist/chunks/{kv-xayh4kry.js → repository-7z6z4pna.js} +11 -11
  86. package/dist/chunks/{kv-84txncab.js → repository-84txncab.js} +1 -1
  87. package/dist/chunks/{kv-j8s9ab9g.js → repository-89za3yyg.js} +9 -9
  88. package/dist/chunks/{kv-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{kv-3784c8ef.js → repository-8e4wx4g3.js} +9 -9
  90. package/dist/chunks/{kv-w5rr2y2z.js → repository-8ee403vh.js} +11 -11
  91. package/dist/chunks/{kv-0rce4jxn.js → repository-8hjmwb77.js} +16 -16
  92. package/dist/chunks/{kv-jn7ad7x7.js → repository-8jg22brg.js} +302 -302
  93. package/dist/chunks/{kv-c1jmz0dd.js → repository-8kys6q5k.js} +6 -6
  94. package/dist/chunks/{kv-3ewed21c.js → repository-8tsdq50x.js} +4 -4
  95. package/dist/chunks/{kv-4eq8w0dz.js → repository-96ctqc5x.js} +4 -4
  96. package/dist/chunks/{kv-syyk301w.js → repository-9815d8pv.js} +14 -14
  97. package/dist/chunks/{kv-9e5bzkjp.js → repository-9e5bzkjp.js} +3 -3
  98. package/dist/chunks/{kv-4xmcpy6p.js → repository-9mhtj97w.js} +16 -16
  99. package/dist/chunks/{kv-vknqf5hb.js → repository-9mxexfbd.js} +18 -18
  100. package/dist/chunks/{kv-bfhjdpf9.js → repository-9pymkw0x.js} +11 -11
  101. package/dist/chunks/{kv-a3y1te1t.js → repository-9yaf30yb.js} +37 -37
  102. package/dist/chunks/{kv-2mbt8s9p.js → repository-9yxvhatz.js} +4 -4
  103. package/dist/chunks/{kv-gyt7gbrq.js → repository-a199weyn.js} +6 -6
  104. package/dist/chunks/{kv-nq2hrp2d.js → repository-a2dv4dac.js} +2 -2
  105. package/dist/chunks/{kv-6hh8tjw2.js → repository-a2ew8a62.js} +4 -4
  106. package/dist/chunks/{kv-npetrjxw.js → repository-a6rczh0a.js} +39 -39
  107. package/dist/chunks/{kv-aaet6srn.js → repository-aaet6srn.js} +2 -2
  108. package/dist/chunks/{kv-x661k3y3.js → repository-addxnjmp.js} +4 -4
  109. package/dist/chunks/{kv-mkrt49cm.js → repository-ajh7mqgq.js} +34 -34
  110. package/dist/chunks/{kv-66y76zaq.js → repository-aqryd466.js} +24 -24
  111. package/dist/chunks/{kv-5184fe6e.js → repository-atwht7h8.js} +11 -11
  112. package/dist/chunks/{kv-9jdad9bj.js → repository-azmfd98g.js} +34 -34
  113. package/dist/chunks/{kv-a78avpfy.js → repository-b3cm3psy.js} +7 -7
  114. package/dist/chunks/{kv-x8pjv9xj.js → repository-b5f9cqb8.js} +13 -13
  115. package/dist/chunks/{kv-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{kv-sd8sm53s.js → repository-b751st24.js} +3 -3
  117. package/dist/chunks/repository-bpqsrde8.js +253 -0
  118. package/dist/chunks/{kv-bq3zev7t.js → repository-bzadqhw2.js} +4 -4
  119. package/dist/chunks/{kv-a8bn8zg0.js → repository-c20khjev.js} +21 -21
  120. package/dist/chunks/{kv-bw9zjykr.js → repository-c8bydgjz.js} +6 -6
  121. package/dist/chunks/{kv-d99q2kf9.js → repository-c9vhjpyr.js} +9 -9
  122. package/dist/chunks/{kv-cf8234ah.js → repository-cb3fgacg.js} +25 -25
  123. package/dist/chunks/{kv-jtvf2jb4.js → repository-ccn600g9.js} +8 -8
  124. package/dist/chunks/{kv-psdhy0c9.js → repository-ce3pkz8w.js} +5 -5
  125. package/dist/chunks/{kv-b4twkq7r.js → repository-cfsekr6v.js} +6 -6
  126. package/dist/chunks/{kv-g7e7y44y.js → repository-chyvjp63.js} +12 -12
  127. package/dist/chunks/{kv-zz9f7sca.js → repository-cjwramev.js} +6 -6
  128. package/dist/chunks/{kv-ss3rnzs3.js → repository-cs63tcvs.js} +9 -9
  129. package/dist/chunks/{kv-qmqgtz8f.js → repository-d4he2qe1.js} +9 -9
  130. package/dist/chunks/{kv-fsa96q8z.js → repository-d73ss8bd.js} +17 -17
  131. package/dist/chunks/{kv-cptwqp0x.js → repository-dbp4m4ge.js} +30 -30
  132. package/dist/chunks/{kv-vfn4q1c6.js → repository-djyq2zct.js} +17 -17
  133. package/dist/chunks/{kv-dpkg50ah.js → repository-dpkg50ah.js} +1 -1
  134. package/dist/chunks/{kv-nqxj0yn4.js → repository-drnf6xwf.js} +2 -2
  135. package/dist/chunks/{kv-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
  136. package/dist/chunks/{kv-89713pt3.js → repository-ecwx0042.js} +15 -15
  137. package/dist/chunks/{kv-hh9qw4pz.js → repository-ef2cw19s.js} +17 -17
  138. package/dist/chunks/{kv-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{kv-zee1rnkq.js → repository-embw8kgh.js} +4 -4
  140. package/dist/chunks/{kv-954r981e.js → repository-eqh5fpv6.js} +11 -11
  141. package/dist/chunks/{kv-ykchqbdg.js → repository-erq8vxjr.js} +1 -1
  142. package/dist/chunks/{kv-nw91k3fh.js → repository-espax8zg.js} +4 -4
  143. package/dist/chunks/{kv-m0c8nc3q.js → repository-etdaqrbr.js} +32 -32
  144. package/dist/chunks/{kv-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{kv-se3xc60m.js → repository-f0pfhw3c.js} +4 -4
  146. package/dist/chunks/{kv-rjqw1fkn.js → repository-f0qf0nex.js} +19 -19
  147. package/dist/chunks/{kv-gejf6mxt.js → repository-f6sbv01c.js} +19 -19
  148. package/dist/chunks/{kv-b24qy0b9.js → repository-f8tnf7f1.js} +12 -12
  149. package/dist/chunks/{kv-szbg98by.js → repository-f8xdbq78.js} +6 -6
  150. package/dist/chunks/{kv-r5nk2c05.js → repository-fbefb913.js} +10 -10
  151. package/dist/chunks/{kv-f72k0wyq.js → repository-fe9ffm0w.js} +18 -18
  152. package/dist/chunks/{kv-22r6mj2d.js → repository-fj3b7143.js} +8 -8
  153. package/dist/chunks/{kv-hdnsej8e.js → repository-fjts330j.js} +3 -3
  154. package/dist/chunks/{kv-es77a9ge.js → repository-g34b934z.js} +15 -15
  155. package/dist/chunks/{kv-g5w8qwbj.js → repository-g5w8qwbj.js} +1 -1
  156. package/dist/chunks/{kv-1mpyd4wr.js → repository-g69c5a8v.js} +16 -16
  157. package/dist/chunks/{kv-hr5bc81f.js → repository-gc135ar8.js} +8 -8
  158. package/dist/chunks/{kv-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{kv-xsch7tq4.js → repository-gkcjs2dn.js} +11 -11
  160. package/dist/chunks/{kv-541w9c89.js → repository-gpng080p.js} +16 -16
  161. package/dist/chunks/{kv-jfe7dgrr.js → repository-gry8sgkd.js} +7 -7
  162. package/dist/chunks/{kv-tsqf5x7w.js → repository-h16n41p4.js} +18 -18
  163. package/dist/chunks/{kv-h2b79v29.js → repository-h2b79v29.js} +2 -2
  164. package/dist/chunks/{kv-jmz67v6d.js → repository-h2yw0gk4.js} +22 -22
  165. package/dist/chunks/{kv-rmjmvf0k.js → repository-h4jx6m0r.js} +15 -15
  166. package/dist/chunks/{kv-87x5xn13.js → repository-h6c2yg5r.js} +8 -8
  167. package/dist/chunks/{kv-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{kv-ggyw05pn.js → repository-h6yzxz9r.js} +15 -15
  169. package/dist/chunks/{kv-3sk4rdba.js → repository-hdjgtqrb.js} +30 -30
  170. package/dist/chunks/{kv-b97wbwxq.js → repository-hffth77f.js} +129 -129
  171. package/dist/chunks/{kv-wtwn561a.js → repository-hkgfm0m5.js} +24 -24
  172. package/dist/chunks/{kv-mfjr1h2x.js → repository-hryrsgw2.js} +7 -7
  173. package/dist/chunks/{kv-vn0x08py.js → repository-hw3ewgqj.js} +11 -11
  174. package/dist/chunks/{kv-0jw53tw8.js → repository-j2htzqze.js} +2 -2
  175. package/dist/chunks/{kv-7c2mj90v.js → repository-j3pg2mx4.js} +1 -1
  176. package/dist/chunks/{kv-xy8y824b.js → repository-j4g697yf.js} +19 -19
  177. package/dist/chunks/{kv-j56e64zr.js → repository-j56e64zr.js} +1 -1
  178. package/dist/chunks/{kv-j58c5xyq.js → repository-j58c5xyq.js} +2 -2
  179. package/dist/chunks/{kv-ctbj4zyv.js → repository-jbmm1708.js} +60 -60
  180. package/dist/chunks/{kv-5f9vzzra.js → repository-jnevnthy.js} +24 -24
  181. package/dist/chunks/{kv-9p60zphx.js → repository-jnpqgtt0.js} +11 -11
  182. package/dist/chunks/repository-jqh9b0xq.js +18 -0
  183. package/dist/chunks/{kv-rdy0ce08.js → repository-k37ga4vh.js} +6 -6
  184. package/dist/chunks/{kv-3cd9n481.js → repository-k70p9jzb.js} +9 -9
  185. package/dist/chunks/{kv-62536pe3.js → repository-kfj4fg87.js} +1 -1
  186. package/dist/chunks/{kv-s2azmpd0.js → repository-kxam66j6.js} +13 -13
  187. package/dist/chunks/{kv-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{kv-c10v6zqh.js → repository-m44fkk4m.js} +4 -4
  189. package/dist/chunks/{kv-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{kv-pvekm5mg.js → repository-mfct962c.js} +10 -10
  191. package/dist/chunks/{kv-hs1x7rht.js → repository-mjqndqed.js} +5 -5
  192. package/dist/chunks/{kv-2x8be395.js → repository-mn0942hp.js} +32 -32
  193. package/dist/chunks/{kv-mge92msv.js → repository-mpd66srn.js} +1 -1
  194. package/dist/chunks/{kv-b53mfyph.js → repository-mxr1v1s0.js} +8 -8
  195. package/dist/chunks/{kv-arz7hw7x.js → repository-my4zabxr.js} +2 -2
  196. package/dist/chunks/{kv-1en3ymky.js → repository-ntaqe8vs.js} +21 -21
  197. package/dist/chunks/{kv-br0tr5aq.js → repository-p42hj8p8.js} +8 -8
  198. package/dist/chunks/{kv-7z362xx8.js → repository-pg4zag0e.js} +24 -24
  199. package/dist/chunks/{kv-c51rhznc.js → repository-pgze7171.js} +1 -1
  200. package/dist/chunks/{kv-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{kv-dk7aapm0.js → repository-pkct850y.js} +41 -41
  202. package/dist/chunks/{kv-pknna89w.js → repository-pknna89w.js} +1 -1
  203. package/dist/chunks/{kv-aa2ejxze.js → repository-q0cdrezg.js} +14 -14
  204. package/dist/chunks/{kv-efqmpk1d.js → repository-q1srvr66.js} +13 -13
  205. package/dist/chunks/{kv-4da8s4pt.js → repository-q76xcmv9.js} +16 -16
  206. package/dist/chunks/{kv-0yb8695g.js → repository-q7jxq9y7.js} +20 -20
  207. package/dist/chunks/{kv-tbjhtzyt.js → repository-q7ngdz78.js} +26 -26
  208. package/dist/chunks/{kv-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{kv-9hwaqfsw.js → repository-qne3fa44.js} +5 -5
  210. package/dist/chunks/{kv-qsdy395h.js → repository-qsdy395h.js} +1 -1
  211. package/dist/chunks/{kv-ee3bnshg.js → repository-qv02qg64.js} +5 -5
  212. package/dist/chunks/{kv-qxjc9qry.js → repository-qxjc9qry.js} +3 -3
  213. package/dist/chunks/{kv-de13b2w8.js → repository-qy06s429.js} +11 -11
  214. package/dist/chunks/{kv-cce4e01m.js → repository-qy0n8417.js} +26 -26
  215. package/dist/chunks/{kv-y81zftz8.js → repository-r3c58j5g.js} +3 -3
  216. package/dist/chunks/{kv-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{kv-e75k1waj.js → repository-rjsk0n41.js} +9 -9
  218. package/dist/chunks/{kv-r9hhpn8b.js → repository-rk3ekeb4.js} +5 -5
  219. package/dist/chunks/{kv-am5d478n.js → repository-rm4s95e7.js} +84 -84
  220. package/dist/chunks/{kv-2bzwd702.js → repository-rpp7c75e.js} +48 -48
  221. package/dist/chunks/{kv-exv1vest.js → repository-ry0xagvq.js} +25 -25
  222. package/dist/chunks/{kv-7pb7xpah.js → repository-s4075y1x.js} +3 -3
  223. package/dist/chunks/{kv-c9sr4239.js → repository-s8qvywtq.js} +11 -11
  224. package/dist/chunks/{kv-8a627zjw.js → repository-s8v3amej.js} +1 -1
  225. package/dist/chunks/{kv-wp70r9pc.js → repository-s9nwmxxs.js} +30 -30
  226. package/dist/chunks/{kv-j2g8k53c.js → repository-t406fhy5.js} +15 -15
  227. package/dist/chunks/{kv-4xqz2kzs.js → repository-t5483b9c.js} +4 -4
  228. package/dist/chunks/{kv-s8d7rejh.js → repository-t550f9t1.js} +4 -4
  229. package/dist/chunks/{kv-basq6rcm.js → repository-t7wcnk30.js} +17 -17
  230. package/dist/chunks/{kv-41jmxe7k.js → repository-t7y8x8j8.js} +16 -16
  231. package/dist/chunks/{kv-rwkdedx1.js → repository-t8n7ymvq.js} +3 -3
  232. package/dist/chunks/{kv-t88m99yp.js → repository-tarna68p.js} +9 -9
  233. package/dist/chunks/{kv-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{kv-x8n5620y.js → repository-tbs2jyb2.js} +7 -7
  235. package/dist/chunks/{kv-89znhe33.js → repository-tcezcvh9.js} +4 -4
  236. package/dist/chunks/{kv-2hg7qvzt.js → repository-tdpndm1c.js} +5 -5
  237. package/dist/chunks/{kv-tdstcens.js → repository-tdstcens.js} +1 -1
  238. package/dist/chunks/{kv-3q141gzy.js → repository-tg6e69q8.js} +2 -2
  239. package/dist/chunks/{kv-h3xh88mt.js → repository-tzy9a5tv.js} +29 -29
  240. package/dist/chunks/{kv-v0es1rhs.js → repository-v0es1rhs.js} +2 -2
  241. package/dist/chunks/{kv-mfhezxan.js → repository-vdf83yyz.js} +12 -12
  242. package/dist/chunks/{kv-gnn7jhj8.js → repository-ve1j3q85.js} +15 -15
  243. package/dist/chunks/{kv-veqvce7d.js → repository-veqvce7d.js} +1 -1
  244. package/dist/chunks/{kv-j9n4penq.js → repository-vfzczaj5.js} +20 -20
  245. package/dist/chunks/{kv-akagqmhc.js → repository-vngdzw63.js} +30 -30
  246. package/dist/chunks/{kv-byx867r3.js → repository-vp0q13q8.js} +83 -83
  247. package/dist/chunks/{kv-zmfyv7f1.js → repository-vqkmcgyv.js} +3 -3
  248. package/dist/chunks/{kv-a91mm6pd.js → repository-vt8dt6j6.js} +32 -32
  249. package/dist/chunks/{kv-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{kv-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{kv-4x0vy5hp.js → repository-w5ystqj3.js} +3 -3
  252. package/dist/chunks/{kv-dns82zgn.js → repository-w6gqnbcy.js} +3 -3
  253. package/dist/chunks/{kv-cq12npaq.js → repository-w7a2abxy.js} +12 -12
  254. package/dist/chunks/{kv-kp4erq8a.js → repository-wb70vhte.js} +11 -11
  255. package/dist/chunks/{kv-axe20dxj.js → repository-wc5p7jf8.js} +40 -40
  256. package/dist/chunks/{kv-wd87259q.js → repository-wd87259q.js} +1 -1
  257. package/dist/chunks/{kv-5xjgfznd.js → repository-wnfszx78.js} +10 -10
  258. package/dist/chunks/{kv-zfa8n539.js → repository-wnh11861.js} +17 -17
  259. package/dist/chunks/{kv-qsx4fnpq.js → repository-x4k83k5f.js} +9 -9
  260. package/dist/chunks/{kv-vbe0572m.js → repository-xhv84ab7.js} +23 -23
  261. package/dist/chunks/{kv-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{kv-v4f2fze8.js → repository-xmy45d6e.js} +17 -17
  263. package/dist/chunks/{kv-3z80er74.js → repository-xpwv3d90.js} +9 -9
  264. package/dist/chunks/{kv-xqht2e7y.js → repository-xv90jz4c.js} +11 -11
  265. package/dist/chunks/{kv-xsgk3b13.js → repository-y16p1w2y.js} +9 -9
  266. package/dist/chunks/{kv-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{kv-hbwv7efq.js → repository-y1w7bwtd.js} +20 -20
  268. package/dist/chunks/{kv-nh2sdsz2.js → repository-y6brtjeh.js} +28 -28
  269. package/dist/chunks/{kv-qaq2bwnf.js → repository-ya6jwxb4.js} +1 -1
  270. package/dist/chunks/{kv-mdtczhqa.js → repository-yf33k1p3.js} +16 -16
  271. package/dist/chunks/{kv-q5ykhdzx.js → repository-yfe405ny.js} +10 -10
  272. package/dist/chunks/{kv-krejfd1h.js → repository-yn96zvvk.js} +11 -11
  273. package/dist/chunks/{kv-mc0gpg4v.js → repository-yprc5htm.js} +22 -22
  274. package/dist/chunks/{kv-10a0p2jb.js → repository-yqt58wae.js} +5 -5
  275. package/dist/chunks/{kv-5yqam25v.js → repository-ywf1kxhz.js} +4 -4
  276. package/dist/chunks/{kv-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{kv-fzgc1kyb.js → repository-z6zb16gf.js} +32 -32
  278. package/dist/chunks/{kv-e8qyrgb1.js → repository-zd30eb5w.js} +5 -5
  279. package/dist/chunks/{kv-09k9s00a.js → repository-zhwzkc0c.js} +18 -18
  280. package/dist/chunks/{kv-kzk474gs.js → repository-zk46kswf.js} +15 -15
  281. package/dist/chunks/{kv-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{kv-ahd542yp.js → repository-zvjhkatg.js} +8 -8
  283. package/dist/chunks/{kv-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{kv-zyk1yjk8.js → repository-zyk1yjk8.js} +2 -2
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +3 -3
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +132 -132
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +114 -114
  310. package/dist/config/plugin/source.js +113 -113
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +75 -75
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +214 -214
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +76 -76
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +83 -83
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +79 -79
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +75 -75
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +92 -92
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +90 -90
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +114 -114
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +70 -70
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +132 -132
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +341 -341
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +2 -2
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +80 -80
  554. package/dist/provider.js +91 -91
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +90 -90
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  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 +222 -222
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +2 -2
  599. package/dist/session/runner/step.js +123 -123
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +3 -3
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +207 -207
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  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 +15 -15
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +108 -108
  624. package/dist/snapshot.js +93 -93
  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 +126 -126
  629. package/dist/tool/plugin/edit.js +120 -120
  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 +122 -122
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +123 -123
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +111 -111
  640. package/dist/tool/plugin/subagent.js +210 -210
  641. package/dist/tool/plugin/webfetch.js +108 -108
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +98 -98
  680. package/package.json +8 -8
  681. package/dist/chunks/kv-1x068165.js +0 -26
  682. package/dist/chunks/kv-4v7qdvcn.js +0 -18
  683. package/dist/chunks/kv-cfgev5fc.js +0 -253
  684. /package/dist/chunks/{kv-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{kv-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{kv-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{kv-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{kv-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{kv-24dcb14g.js → repository-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{kv-2710q6r3.js → repository-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{kv-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{kv-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{kv-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{kv-359p4xyc.js → repository-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{kv-3asan66x.js → repository-3asan66x.js} +0 -0
  696. /package/dist/chunks/{kv-3t0ybcrp.js → repository-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{kv-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{kv-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{kv-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{kv-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{kv-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{kv-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{kv-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{kv-53557ph1.js → repository-53557ph1.js} +0 -0
  705. /package/dist/chunks/{kv-550bvhaj.js → repository-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{kv-6prwharc.js → repository-6prwharc.js} +0 -0
  707. /package/dist/chunks/{kv-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{kv-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{kv-7m9af43g.js → repository-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{kv-822emrt2.js → repository-822emrt2.js} +0 -0
  711. /package/dist/chunks/{kv-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{kv-8n3pysct.js → repository-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{kv-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{kv-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{kv-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{kv-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{kv-af5trqkr.js → repository-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{kv-afrmfg78.js → repository-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{kv-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{kv-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{kv-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{kv-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{kv-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{kv-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{kv-d9fn303g.js → repository-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{kv-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{kv-dajrwvna.js → repository-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{kv-dap0rakb.js → repository-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{kv-df08tz66.js → repository-df08tz66.js} +0 -0
  730. /package/dist/chunks/{kv-dy18nga0.js → repository-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{kv-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{kv-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{kv-ec1grn59.js → repository-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{kv-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{kv-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{kv-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{kv-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{kv-faypxj3z.js → repository-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{kv-fd410y7t.js → repository-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{kv-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{kv-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{kv-g86h250q.js → repository-g86h250q.js} +0 -0
  743. /package/dist/chunks/{kv-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{kv-gftt206x.js → repository-gftt206x.js} +0 -0
  745. /package/dist/chunks/{kv-hk9envan.js → repository-hk9envan.js} +0 -0
  746. /package/dist/chunks/{kv-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{kv-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{kv-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{kv-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{kv-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{kv-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{kv-mp448xyj.js → repository-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{kv-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{kv-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{kv-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{kv-njntx4h6.js → repository-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{kv-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{kv-q74kybfr.js → repository-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{kv-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{kv-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{kv-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{kv-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{kv-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{kv-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{kv-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{kv-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{kv-w803qqfp.js → repository-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{kv-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{kv-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{kv-wtztk69x.js → repository-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{kv-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{kv-x61499pn.js → repository-x61499pn.js} +0 -0
  773. /package/dist/chunks/{kv-y44na4kk.js → repository-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{kv-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{kv-y8f7s663.js → repository-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{kv-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{kv-ym463w8f.js → repository-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{kv-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{kv-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./kv-2mbt8s9p.js";
4
+ } from "./repository-9yxvhatz.js";
5
5
  import {
6
6
  Event19,
7
7
  Service77,
8
8
  node81
9
- } from "./kv-2ewwsn6j.js";
9
+ } from "./repository-5ng375bv.js";
10
10
  import {
11
- Service42,
12
- node45
13
- } from "./kv-66y76zaq.js";
11
+ Service69,
12
+ node71
13
+ } from "./repository-aqryd466.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./kv-z5v4ffb3.js";
16
+ } from "./repository-z5v4ffb3.js";
17
17
  import {
18
- Service80,
19
- node84
20
- } from "./kv-cq12npaq.js";
18
+ Service78,
19
+ node82
20
+ } from "./repository-w7a2abxy.js";
21
21
  import {
22
22
  substitute2
23
- } from "./kv-4ts7tf6z.js";
23
+ } from "./repository-2ccvkpx1.js";
24
24
  import {
25
25
  normalize2
26
- } from "./kv-f72k0wyq.js";
26
+ } from "./repository-fe9ffm0w.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  discover3
30
- } from "./kv-acznmef4.js";
30
+ } from "./repository-56gyfky0.js";
31
31
  import {
32
32
  plan2
33
- } from "./kv-j56e64zr.js";
33
+ } from "./repository-j56e64zr.js";
34
34
  import {
35
- Service43,
36
- Event9,
37
- node46
38
- } from "./kv-0yb8695g.js";
35
+ Service70,
36
+ Event14,
37
+ node72
38
+ } from "./repository-q7jxq9y7.js";
39
39
  import {
40
40
  __export
41
- } from "./kv-9rqn6x4v.js";
41
+ } from "./repository-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options3,
48
- Service: () => Service41,
47
+ Options: () => Options7,
48
+ Service: () => Service68,
49
49
  Test: () => Test2,
50
- configured: () => configured3,
50
+ configured: () => configured7,
51
51
  latest: () => latest2,
52
- layer: () => layer15,
53
- node: () => node44,
52
+ layer: () => layer21,
53
+ node: () => node70,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options3 = Schema.Struct({
67
+ var Options7 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service41 extends Context.Service()("@opencode/Config") {
74
+ class Service68 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service41, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service68, service), Context.add(Test2, service));
93
93
  }));
94
- var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
94
+ var layer21 = (options) => Layer.effect(Service68, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service80;
97
- const watcher = yield* Service42;
96
+ const location = yield* Service78;
97
+ const watcher = yield* Service69;
98
98
  const bus = yield* Service83;
99
99
  const credentials = yield* Service77;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service43;
101
+ const wellknown = yield* Service70;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -222,7 +222,7 @@ var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
224
  yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -235,7 +235,7 @@ var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names3.map((name) => path.join(directory, name));
238
+ const candidates = names4.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service41.of({
253
+ return Service68.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured3(options) {
265
+ function configured7(options) {
266
266
  return makeLocationNode({
267
- service: Service41,
268
- layer: layer15(options),
269
- deps: [node45, node87, FSUtil.node, Global.node, node84, node81, node46]
267
+ service: Service68,
268
+ layer: layer21(options),
269
+ deps: [node71, node87, FSUtil.node, Global.node, node82, node81, node72]
270
270
  });
271
271
  }
272
- var node44 = configured3();
272
+ var node70 = configured7();
273
273
 
274
- export { latest2, Options3, Service41, Test2, testLayer2, layer15, configured3, node44, exports_config };
274
+ export { latest2, Options7, Service68, Test2, testLayer2, layer21, configured7, node70, exports_config };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./kv-qfa1cgps.js";
3
+ } from "./repository-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./kv-sd8sm53s.js";
4
+ } from "./repository-b751st24.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./kv-9e5bzkjp.js";
8
+ } from "./repository-9e5bzkjp.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./kv-krejfd1h.js";
11
+ load4
12
+ } from "./repository-yn96zvvk.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./kv-nqxj0yn4.js";
15
+ } from "./repository-drnf6xwf.js";
16
16
  import {
17
17
  __export
18
- } from "./kv-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput4,
24
- Service: () => Service66,
24
+ Service: () => Service57,
25
25
  SessionStore: () => exports_store,
26
- node: () => node70
26
+ node: () => node59
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service66 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service57 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service66, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
58
58
  const { db } = yield* Service84;
59
- return Service66.of({
59
+ return Service57.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node70 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
128
+ var node59 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
129
129
 
130
- export { ListInput4, Service66, node70, exports_store };
130
+ export { ListInput4, Service57, node59, exports_store };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./kv-r2tr70hw.js";
3
+ } from "./repository-5w6ne2rj.js";
4
4
  import {
5
5
  Service83
6
- } from "./kv-2mbt8s9p.js";
6
+ } from "./repository-9yxvhatz.js";
7
7
  import {
8
8
  ID15,
9
9
  OAuth3,
10
10
  Event19,
11
11
  Service77
12
- } from "./kv-2ewwsn6j.js";
12
+ } from "./repository-5ng375bv.js";
13
13
  import {
14
14
  key2
15
- } from "./kv-x661k3y3.js";
15
+ } from "./repository-addxnjmp.js";
16
16
  import {
17
17
  ID14,
18
18
  MethodID2
19
- } from "./kv-pvekm5mg.js";
19
+ } from "./repository-mfct962c.js";
20
20
  import {
21
21
  which2
22
- } from "./kv-qaymkmh1.js";
22
+ } from "./repository-qaymkmh1.js";
23
23
  import {
24
24
  ID13,
25
25
  Service75
26
- } from "./kv-syyk301w.js";
26
+ } from "./repository-9815d8pv.js";
27
27
  import {
28
28
  ID12
29
- } from "./kv-x8pjv9xj.js";
29
+ } from "./repository-b5f9cqb8.js";
30
30
  import {
31
31
  iife2
32
- } from "./kv-1kg9ymc8.js";
32
+ } from "./repository-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./kv-58pe7162.js";
35
+ } from "./repository-1hp58pw3.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,7 +67,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make9(endpoints = {
70
+ function make11(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
@@ -322,7 +322,7 @@ function make9(endpoints = {
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make9();
325
+ var AzurePlugin2 = make11();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make9, AzurePlugin2 };
381
+ export { make11, AzurePlugin2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service40
3
- } from "./kv-xsgk3b13.js";
2
+ Service45
3
+ } from "./repository-y16p1w2y.js";
4
4
  import {
5
- Service62
6
- } from "./kv-bw9zjykr.js";
5
+ Service49
6
+ } from "./repository-c8bydgjz.js";
7
7
  import {
8
8
  detect2
9
- } from "./kv-3smtnn6g.js";
9
+ } from "./repository-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./kv-4v7qdvcn.js";
12
+ } from "./repository-jqh9b0xq.js";
13
13
  import {
14
- Service68
15
- } from "./kv-k1gkpfdk.js";
14
+ Service67
15
+ } from "./repository-1gfgk62c.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./kv-j8s9ab9g.js";
19
+ } from "./repository-89za3yyg.js";
20
20
  import {
21
21
  prepare3,
22
- Service36
23
- } from "./kv-mdtczhqa.js";
22
+ Service43
23
+ } from "./repository-yf33k1p3.js";
24
24
  import {
25
25
  __export
26
- } from "./kv-9rqn6x4v.js";
26
+ } from "./repository-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service62;
42
+ const instances = yield* Service49;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service68;
45
+ const hooks = yield* Service67;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service36;
64
+ const skillService = yield* Service43;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service40;
129
+ const image = yield* Service45;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./kv-2mbt8s9p.js";
5
+ } from "./repository-9yxvhatz.js";
6
6
  import {
7
- Service71,
8
- node75
9
- } from "./kv-wqtjzdjg.js";
7
+ Service80,
8
+ node84
9
+ } from "./repository-0h1qn0y5.js";
10
10
  import {
11
11
  __export
12
- } from "./kv-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event9,
19
+ Event: () => Event14,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service43,
22
+ Service: () => Service70,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node46,
26
- resolve: () => resolve2
25
+ node: () => node72,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service43 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service70 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event9 = {
51
+ var Event14 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service43, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service71;
80
+ const kv = yield* Service80;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event9.Updated, {});
112
+ yield* bus.publish(Event14.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service43.of({
115
+ return Service70.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event9.Updated, {});
128
+ yield* bus.publish(Event14.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event9.Updated, {});
141
+ yield* bus.publish(Event14.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node46 = makeGlobalNode({ service: Service43, layer, deps: [httpClient, node75, node87] });
146
+ var node72 = makeGlobalNode({ service: Service70, layer, deps: [httpClient, node84, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service43, Event9, inspect2, resolve2, node46, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service70, Event14, inspect2, resolve3, node72, exports_wellknown };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service78
3
- } from "./kv-xayh4kry.js";
2
+ Service79
3
+ } from "./repository-7z6z4pna.js";
4
4
  import {
5
- Service65
6
- } from "./kv-pnx8jqpz.js";
5
+ Service56
6
+ } from "./repository-5r637m3f.js";
7
7
  import {
8
- ID6,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service48
14
- } from "./kv-m357821f.js";
13
+ Service25
14
+ } from "./repository-042aawn8.js";
15
15
  import {
16
16
  __export
17
- } from "./kv-9rqn6x4v.js";
17
+ } from "./repository-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input5,
22
+ Input: () => Input9,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin7,
24
+ Plugin: () => Plugin11,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description3,
27
- name: () => name5
26
+ description: () => description5,
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name5 = "websearch";
32
+ var name9 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input5 = Schema.Struct({
42
+ var Input9 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID6,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin7 = {
49
+ var Plugin11 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service65;
53
- const forms = yield* Service78;
54
- const websearch = yield* Service48;
52
+ const permission = yield* Service56;
53
+ const forms = yield* Service79;
54
+ const websearch = yield* Service25;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name5,
56
+ name: name9,
57
57
  options: { codemode: false },
58
- description: description3,
59
- input: Input5,
58
+ description: description5,
59
+ input: Input9,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name5,
63
+ action: name9,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name5];
179
+ delete event.tools[name9];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name5, NO_RESULTS2, description3, Input5, Plugin7, exports_websearch };
187
+ export { name9, NO_RESULTS2, description5, Input9, Plugin11, exports_websearch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-z5v4ffb3.js";
3
+ } from "./repository-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./kv-z5v4ffb3.js";
3
+ } from "./repository-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info11,
12
+ Info: () => Info17,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info11 = Schema.Struct({
64
+ var Info17 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info11 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info11, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info17, exports_provider2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};