@opencode/core 0.0.0-dev-19529 → 0.0.0-dev-19530

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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 +74 -74
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{credential-7qr38kzh.js → model-0247gmrw.js} +15 -15
  9. package/dist/chunks/{credential-025stnsb.js → model-03y65m91.js} +4 -4
  10. package/dist/chunks/{credential-zfcp8yb0.js → model-0artwwxx.js} +3 -3
  11. package/dist/chunks/{credential-ggh4w9bp.js → model-0cebr7hk.js} +2 -2
  12. package/dist/chunks/{credential-pym3tcck.js → model-0d16ff4w.js} +28 -28
  13. package/dist/chunks/{credential-b3v47ypf.js → model-0m04t0a0.js} +16 -16
  14. package/dist/chunks/{credential-0paq2nw3.js → model-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{credential-rsb1fe67.js → model-0pb75hch.js} +5 -5
  16. package/dist/chunks/{credential-0q0f95c6.js → model-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{credential-tv8vkxw9.js → model-0s3pzcqz.js} +11 -11
  18. package/dist/chunks/{credential-f0q7zmqq.js → model-0sfsr3zt.js} +19 -19
  19. package/dist/chunks/{credential-g9d49rzx.js → model-0snep097.js} +22 -22
  20. package/dist/chunks/{credential-jbjr1a4g.js → model-19yq3b24.js} +6 -6
  21. package/dist/chunks/{credential-w4whswvt.js → model-1cd9yk0n.js} +20 -20
  22. package/dist/chunks/{credential-vv2ntgne.js → model-1crpa11v.js} +29 -29
  23. package/dist/chunks/{credential-1dazxqgg.js → model-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{credential-djmr82th.js → model-1f3wjap0.js} +19 -19
  25. package/dist/chunks/{credential-znsaqkh0.js → model-1gbs1kbt.js} +9 -9
  26. package/dist/chunks/{credential-fqjr7ce9.js → model-1kcksn9e.js} +24 -24
  27. package/dist/chunks/{credential-6nvz1bm7.js → model-1v6ba5ez.js} +11 -11
  28. package/dist/chunks/{credential-3hjzpa7c.js → model-20355881.js} +6 -6
  29. package/dist/chunks/{credential-fs6bp36w.js → model-219neeqh.js} +5 -5
  30. package/dist/chunks/{credential-21r38tys.js → model-21r38tys.js} +1 -1
  31. package/dist/chunks/{credential-fb0qyvep.js → model-257a402r.js} +13 -13
  32. package/dist/chunks/{credential-rc3vhjpg.js → model-25gn6xf8.js} +6 -6
  33. package/dist/chunks/{credential-34ytdzas.js → model-265kqrgy.js} +1 -1
  34. package/dist/chunks/{credential-2a5m3afh.js → model-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{credential-cnyg1n0p.js → model-2fwd9rb4.js} +13 -13
  36. package/dist/chunks/{credential-7dqw4kz8.js → model-2k8khapm.js} +5 -5
  37. package/dist/chunks/{credential-aybmp5ad.js → model-2xrspd6r.js} +15 -15
  38. package/dist/chunks/{credential-zgsse2vy.js → model-31jd4e8t.js} +1 -1
  39. package/dist/chunks/{credential-njr1pezb.js → model-33n3bzdy.js} +6 -6
  40. package/dist/chunks/{credential-1ygqh575.js → model-33w4ejhs.js} +6 -6
  41. package/dist/chunks/{credential-6anwy9fs.js → model-35agz59w.js} +4 -4
  42. package/dist/chunks/{credential-trn0ebkj.js → model-35wynegs.js} +2 -2
  43. package/dist/chunks/{credential-vparcg9p.js → model-3ad4bd0a.js} +7 -7
  44. package/dist/chunks/{credential-4faqw2br.js → model-3d6q6ejm.js} +31 -31
  45. package/dist/chunks/{credential-3fc6dm20.js → model-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{credential-6qbmmse8.js → model-3hdw1vhc.js} +31 -31
  47. package/dist/chunks/{credential-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{credential-g1r5npbb.js → model-3hf7z3yq.js} +11 -11
  49. package/dist/chunks/{credential-87deq66t.js → model-3rqkssp8.js} +6 -6
  50. package/dist/chunks/{credential-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{credential-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{credential-2qp6y8xf.js → model-3w0fmcng.js} +5 -5
  53. package/dist/chunks/{credential-f32czd11.js → model-45fdndrg.js} +11 -11
  54. package/dist/chunks/{credential-c5r41xyy.js → model-4mddsdbt.js} +16 -16
  55. package/dist/chunks/{credential-4y66k410.js → model-4y66k410.js} +2 -2
  56. package/dist/chunks/{credential-5x0qqm75.js → model-5akxe5k1.js} +5 -5
  57. package/dist/chunks/{credential-1eft6v2a.js → model-5b2dqtre.js} +7 -7
  58. package/dist/chunks/{credential-csf2jhsg.js → model-5c0f1prt.js} +4 -4
  59. package/dist/chunks/{credential-5daktx2q.js → model-5daktx2q.js} +1 -1
  60. package/dist/chunks/{credential-ep4amt4t.js → model-5hac0djz.js} +291 -291
  61. package/dist/chunks/{credential-bzy4s6e0.js → model-5kqd1r0d.js} +72 -72
  62. package/dist/chunks/{credential-fnjg1z38.js → model-5nyvja88.js} +26 -26
  63. package/dist/chunks/{credential-a402s24a.js → model-5q82gfck.js} +11 -11
  64. package/dist/chunks/{credential-5tc6z34b.js → model-5rgh8ask.js} +20 -20
  65. package/dist/chunks/{credential-5t3nmthw.js → model-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{credential-m7ze9y9x.js → model-5tgjep30.js} +6 -6
  67. package/dist/chunks/{credential-669tq793.js → model-669tq793.js} +1 -1
  68. package/dist/chunks/{credential-mdcergxs.js → model-677w9byw.js} +10 -10
  69. package/dist/chunks/{credential-rw56aqa4.js → model-6895yszx.js} +17 -17
  70. package/dist/chunks/{credential-1xhwvcn8.js → model-6csep4d6.js} +17 -17
  71. package/dist/chunks/{credential-2402vzrj.js → model-6h73sxmp.js} +5 -5
  72. package/dist/chunks/{credential-2bt6bea8.js → model-6jnybvqn.js} +9 -9
  73. package/dist/chunks/{credential-sazt4qeq.js → model-6kny798m.js} +30 -30
  74. package/dist/chunks/{credential-6msgmcgs.js → model-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{credential-jvc6geyb.js → model-6pnccst9.js} +23 -23
  76. package/dist/chunks/{credential-qfvgma3d.js → model-6psebnbx.js} +30 -30
  77. package/dist/chunks/{credential-zpn9qnw3.js → model-6rbveq4m.js} +4 -4
  78. package/dist/chunks/{credential-1q5awywt.js → model-6vq97qmv.js} +5 -5
  79. package/dist/chunks/{credential-g500fjm7.js → model-70d2s7af.js} +1 -1
  80. package/dist/chunks/{credential-71q4at8m.js → model-71q4at8m.js} +1 -1
  81. package/dist/chunks/{credential-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{credential-qtkzm0vp.js → model-7m5f9412.js} +8 -8
  83. package/dist/chunks/{credential-tj0j24wc.js → model-7pkhtfns.js} +14 -14
  84. package/dist/chunks/{credential-e518rnqz.js → model-7y4pbgtc.js} +15 -15
  85. package/dist/chunks/{credential-tcezcvh9.js → model-89znhe33.js} +4 -4
  86. package/dist/chunks/{credential-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{credential-30e04pyd.js → model-8e5vt1qx.js} +28 -28
  88. package/dist/chunks/{credential-bn33stbn.js → model-8n9190v4.js} +9 -9
  89. package/dist/chunks/{credential-8p4f9s12.js → model-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{credential-f3hm7x99.js → model-91xeb72v.js} +8 -8
  91. package/dist/chunks/{credential-vd0a34xb.js → model-91y7rpnn.js} +6 -6
  92. package/dist/chunks/{credential-w8z81xec.js → model-97mdmb9a.js} +19 -19
  93. package/dist/chunks/{credential-65a5j36j.js → model-99em0p16.js} +11 -11
  94. package/dist/chunks/{credential-yf17ygct.js → model-9d3a58tj.js} +11 -11
  95. package/dist/chunks/{credential-h51gdt4r.js → model-9n8nxpxn.js} +22 -22
  96. package/dist/chunks/{credential-ycxn0eaf.js → model-9q9jdv8e.js} +24 -24
  97. package/dist/chunks/{credential-vx1b4c7n.js → model-9s353mxg.js} +16 -16
  98. package/dist/chunks/{credential-bdx9dffp.js → model-a04ypazz.js} +37 -37
  99. package/dist/chunks/{credential-3c04bhmx.js → model-a0mw1hja.js} +12 -12
  100. package/dist/chunks/{credential-a1bz86dw.js → model-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{credential-zh5vq5ax.js → model-a5r6p83p.js} +19 -19
  102. package/dist/chunks/{credential-s8evpm24.js → model-a6kqfaee.js} +9 -9
  103. package/dist/chunks/{credential-pmv4bga1.js → model-a9759q1q.js} +6 -6
  104. package/dist/chunks/{credential-aaet6srn.js → model-aaet6srn.js} +2 -2
  105. package/dist/chunks/{credential-8yey56tc.js → model-ajegdr06.js} +27 -27
  106. package/dist/chunks/{credential-anjj55s4.js → model-aqjqj2ff.js} +6 -6
  107. package/dist/chunks/{credential-ps0k9z1z.js → model-atjxpbab.js} +28 -28
  108. package/dist/chunks/{credential-6gbp1941.js → model-ayv404k4.js} +4 -4
  109. package/dist/chunks/{credential-3jp54z3r.js → model-b3t12aqp.js} +1 -1
  110. package/dist/chunks/{credential-b6gygkdw.js → model-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{credential-vkxpz7g2.js → model-bajakh74.js} +4 -4
  112. package/dist/chunks/{credential-xzv329k9.js → model-bgtgk6cp.js} +9 -9
  113. package/dist/chunks/{credential-kyktj0vd.js → model-brp8zeym.js} +6 -6
  114. package/dist/chunks/{credential-kn9ky0zj.js → model-bv88jg6f.js} +35 -35
  115. package/dist/chunks/{credential-j320jmqx.js → model-bvg29jbq.js} +18 -18
  116. package/dist/chunks/{credential-137edvbp.js → model-bvha1vq7.js} +7 -7
  117. package/dist/chunks/{credential-gzfav7zd.js → model-bya8prfn.js} +5 -5
  118. package/dist/chunks/{credential-thqjg0hd.js → model-bya8x26g.js} +8 -8
  119. package/dist/chunks/{credential-xy7r7wb6.js → model-bz2p45ry.js} +20 -20
  120. package/dist/chunks/{credential-s3939hvd.js → model-c0pa16pn.js} +3 -3
  121. package/dist/chunks/{credential-ck93fedy.js → model-c179hq9v.js} +34 -34
  122. package/dist/chunks/{credential-8dmhhx1w.js → model-c462van6.js} +30 -30
  123. package/dist/chunks/{credential-k54dv39c.js → model-c5nvra9m.js} +4 -4
  124. package/dist/chunks/{credential-kfef4ady.js → model-cebcabsx.js} +53 -53
  125. package/dist/chunks/{credential-cfpkc3c9.js → model-cfpkc3c9.js} +2 -2
  126. package/dist/chunks/{credential-h7tghspc.js → model-cq9pat89.js} +21 -21
  127. package/dist/chunks/{credential-gy4p1xkh.js → model-cvtmmhw6.js} +1 -1
  128. package/dist/chunks/{credential-32k62b7w.js → model-cw6d4prj.js} +14 -14
  129. package/dist/chunks/{credential-7tjcxw0h.js → model-czs7xmcn.js} +15 -15
  130. package/dist/chunks/{credential-3nswzzay.js → model-cztasbnk.js} +18 -18
  131. package/dist/chunks/{credential-phwwwv48.js → model-dgdas7td.js} +16 -16
  132. package/dist/chunks/{credential-h727evg8.js → model-dn3t1y0q.js} +39 -39
  133. package/dist/chunks/{credential-bpqahvg7.js → model-dnc4tg6k.js} +8 -8
  134. package/dist/chunks/{credential-n9ke8tjh.js → model-dq8fe4ed.js} +11 -11
  135. package/dist/chunks/{credential-kead0yev.js → model-dwgpa5q5.js} +18 -18
  136. package/dist/chunks/{credential-a2e86qtx.js → model-e4f6pw00.js} +26 -26
  137. package/dist/chunks/{credential-vj2t5vfg.js → model-e5yeyj5b.js} +10 -10
  138. package/dist/chunks/{credential-jv01nqvq.js → model-e6hmchc5.js} +5 -5
  139. package/dist/chunks/{credential-88fd6wt9.js → model-e758m3vy.js} +12 -12
  140. package/dist/chunks/{credential-etq0c3wd.js → model-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{credential-p8dxdehy.js → model-ev82ehxs.js} +27 -27
  142. package/dist/chunks/{credential-dpk4wwe7.js → model-exatzf7p.js} +14 -14
  143. package/dist/chunks/{credential-52brkwct.js → model-f1zva5d5.js} +5 -5
  144. package/dist/chunks/{credential-j6s0ns1m.js → model-f24vq1c7.js} +27 -27
  145. package/dist/chunks/{credential-f828m53h.js → model-f828m53h.js} +2 -2
  146. package/dist/chunks/{credential-ff0svapt.js → model-ff0svapt.js} +2 -2
  147. package/dist/chunks/{credential-0k50dt3x.js → model-fvkgc8rm.js} +8 -8
  148. package/dist/chunks/{credential-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{credential-deerssnd.js → model-g3vfgj64.js} +21 -21
  150. package/dist/chunks/model-gbadjzag.js +4 -0
  151. package/dist/chunks/{credential-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{credential-3pwgdhn9.js → model-gg3hj2sp.js} +22 -22
  153. package/dist/chunks/{credential-z8gz5v71.js → model-gkt6z8r9.js} +17 -17
  154. package/dist/chunks/{credential-th5km1p3.js → model-gv6a8nnw.js} +5 -5
  155. package/dist/chunks/{credential-h03wrkyp.js → model-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{credential-0qbfsv0x.js → model-h56egzzg.js} +4 -4
  157. package/dist/chunks/{credential-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{credential-37vne506.js → model-hjejd8rj.js} +12 -12
  159. package/dist/chunks/{credential-90dkwxdw.js → model-hq8zt1th.js} +6 -6
  160. package/dist/chunks/{credential-4y8npecy.js → model-htza7hdd.js} +22 -22
  161. package/dist/chunks/{credential-383y241e.js → model-hxevvepb.js} +60 -60
  162. package/dist/chunks/{credential-k2v7tfaw.js → model-hyhy14jr.js} +17 -17
  163. package/dist/chunks/{credential-1y31sz3y.js → model-j181hgc5.js} +10 -10
  164. package/dist/chunks/{credential-j56e64zr.js → model-j56e64zr.js} +1 -1
  165. package/dist/chunks/{credential-tj02xv2p.js → model-jerxsvsx.js} +29 -29
  166. package/dist/chunks/{credential-zkcb3wjz.js → model-jj5vypy3.js} +28 -28
  167. package/dist/chunks/{credential-rb5q7yxt.js → model-jv3cv6p3.js} +10 -10
  168. package/dist/chunks/{credential-y71avatq.js → model-jwcy2c2z.js} +4 -4
  169. package/dist/chunks/{credential-fs1f3z87.js → model-jx3c22rf.js} +11 -11
  170. package/dist/chunks/{credential-kg06axw8.js → model-kg06axw8.js} +1 -1
  171. package/dist/chunks/{credential-w90cbs64.js → model-m7bfq9wr.js} +7 -7
  172. package/dist/chunks/{credential-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{credential-356gzxb5.js → model-mb2y4s57.js} +10 -10
  174. package/dist/chunks/{credential-y4zgnm30.js → model-mdy2tqts.js} +41 -41
  175. package/dist/chunks/{credential-mhkvc446.js → model-mhkvc446.js} +1 -1
  176. package/dist/chunks/{credential-k7ckb9zr.js → model-mkhznv56.js} +9 -9
  177. package/dist/chunks/{credential-5vbbbddv.js → model-mtc9q228.js} +31 -31
  178. package/dist/chunks/{credential-jwx4y25k.js → model-mwr2btvq.js} +2 -2
  179. package/dist/chunks/{credential-hy1g3bgf.js → model-mz6ae2yf.js} +1 -1
  180. package/dist/chunks/{credential-fkd2ewj5.js → model-n4m2mkxj.js} +12 -12
  181. package/dist/chunks/{credential-t2q9as2k.js → model-n649fndv.js} +5 -5
  182. package/dist/chunks/{credential-xbwpbga0.js → model-n7hjcbvg.js} +11 -11
  183. package/dist/chunks/{credential-5rhtwdx6.js → model-ncxt770z.js} +8 -8
  184. package/dist/chunks/{credential-nhy5jxhy.js → model-nhy5jxhy.js} +1 -1
  185. package/dist/chunks/{credential-j7m6ehyz.js → model-nn17eg7m.js} +23 -23
  186. package/dist/chunks/{credential-h7y0pvw8.js → model-nncchp3m.js} +5 -5
  187. package/dist/chunks/model-nnzt82h0.js +26 -0
  188. package/dist/chunks/{credential-nnn8deah.js → model-npevzfsy.js} +18 -18
  189. package/dist/chunks/{credential-eraanh1f.js → model-nv5vn7qx.js} +6 -6
  190. package/dist/chunks/{credential-kp963v2v.js → model-p2h53nt6.js} +26 -26
  191. package/dist/chunks/{credential-gfpqwj54.js → model-p52t23z3.js} +45 -45
  192. package/dist/chunks/{credential-108vvwmb.js → model-p6sp61vg.js} +35 -35
  193. package/dist/chunks/{credential-784ptbr4.js → model-p87gvwbv.js} +15 -15
  194. package/dist/chunks/{credential-j935v87r.js → model-paphc93g.js} +2 -2
  195. package/dist/chunks/{credential-jjsk41ar.js → model-pdy42dnd.js} +21 -21
  196. package/dist/chunks/{credential-f1zbxv7x.js → model-phc8pspp.js} +9 -9
  197. package/dist/chunks/model-phz3h32g.js +18 -0
  198. package/dist/chunks/{credential-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{credential-pknna89w.js → model-pknna89w.js} +1 -1
  200. package/dist/chunks/{credential-rf48t08f.js → model-pqwf4bge.js} +2 -2
  201. package/dist/chunks/{credential-az27rkrd.js → model-ps77swb3.js} +3 -3
  202. package/dist/chunks/{credential-pgy0xeev.js → model-pwqcks32.js} +5 -5
  203. package/dist/chunks/{credential-92hfss88.js → model-px2sqpay.js} +25 -25
  204. package/dist/chunks/{credential-4mp12xfm.js → model-q13p9eja.js} +5 -5
  205. package/dist/chunks/{credential-qzj2vqtz.js → model-q44n8009.js} +16 -16
  206. package/dist/chunks/{credential-wayj738j.js → model-qa2mkktq.js} +37 -37
  207. package/dist/chunks/{credential-y4tdvyse.js → model-qbngxwj5.js} +24 -24
  208. package/dist/chunks/{credential-c2jb4sd6.js → model-qfpa574x.js} +19 -19
  209. package/dist/chunks/model-qj7q8b1b.js +247 -0
  210. package/dist/chunks/{credential-axmvebxj.js → model-qj8eh1ht.js} +21 -21
  211. package/dist/chunks/{credential-t2pqv1sz.js → model-qrq421eh.js} +20 -20
  212. package/dist/chunks/{credential-qsdy395h.js → model-qsdy395h.js} +1 -1
  213. package/dist/chunks/{credential-g59fyfvz.js → model-qwrxphsy.js} +17 -17
  214. package/dist/chunks/{credential-mgxxs7qr.js → model-r0gpwmmm.js} +13 -13
  215. package/dist/chunks/{credential-m5kafssk.js → model-r0ztwh7r.js} +52 -52
  216. package/dist/chunks/{credential-e9h89vp0.js → model-r8x9m1qg.js} +25 -25
  217. package/dist/chunks/{credential-r9mregkx.js → model-r9mregkx.js} +2 -2
  218. package/dist/chunks/{credential-mxfg1vns.js → model-rr6fm4cb.js} +32 -32
  219. package/dist/chunks/{credential-shh6fz4q.js → model-s0esgemt.js} +4 -4
  220. package/dist/chunks/{credential-vkt5fbj2.js → model-s8bz6z4k.js} +8 -8
  221. package/dist/chunks/{credential-vs4ph552.js → model-se0t50fj.js} +23 -23
  222. package/dist/chunks/{credential-mche7wjp.js → model-sgfa6f2r.js} +4 -4
  223. package/dist/chunks/{credential-m1bsv6jj.js → model-sh0rasge.js} +47 -47
  224. package/dist/chunks/{credential-4jsr3np4.js → model-sp8m6a9q.js} +9 -9
  225. package/dist/chunks/{credential-w9hf3j60.js → model-sxwk9xb8.js} +22 -22
  226. package/dist/chunks/{credential-5kptn8c0.js → model-t0x5rdq8.js} +9 -9
  227. package/dist/chunks/{credential-0gdmqesm.js → model-t550f9t1.js} +4 -4
  228. package/dist/chunks/{credential-55wx515q.js → model-t8na6qa3.js} +17 -17
  229. package/dist/chunks/{credential-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{credential-tdstcens.js → model-tdstcens.js} +1 -1
  231. package/dist/chunks/{credential-04k593ph.js → model-tsfgabrd.js} +42 -42
  232. package/dist/chunks/{credential-2hkwsqj8.js → model-ttzta52k.js} +34 -34
  233. package/dist/chunks/{credential-tvtrv512.js → model-tvtrv512.js} +1 -1
  234. package/dist/chunks/{credential-tcjd441j.js → model-v0pkrfgq.js} +11 -11
  235. package/dist/chunks/{credential-w4zny49r.js → model-v4hmzr0r.js} +8 -8
  236. package/dist/chunks/{credential-jfqtm2ew.js → model-v5dkyp31.js} +4 -4
  237. package/dist/chunks/{credential-k6q20m6t.js → model-v6a8s5gf.js} +24 -24
  238. package/dist/chunks/{credential-4f3mwee9.js → model-v7bpw0rx.js} +16 -16
  239. package/dist/chunks/{credential-veqvce7d.js → model-veqvce7d.js} +1 -1
  240. package/dist/chunks/{credential-x6we754t.js → model-vf5jgz4g.js} +46 -46
  241. package/dist/chunks/{credential-xpj3gpes.js → model-vfqqz6ex.js} +9 -9
  242. package/dist/chunks/{credential-dx6t9n3e.js → model-vg018stg.js} +49 -49
  243. package/dist/chunks/{credential-qq11w61w.js → model-vncycja5.js} +4 -4
  244. package/dist/chunks/{credential-kmgatmpx.js → model-vshq87yh.js} +32 -32
  245. package/dist/chunks/{credential-qy4w3bxg.js → model-vtjb7z8s.js} +24 -24
  246. package/dist/chunks/{credential-vzcthcp8.js → model-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{credential-jrrn2k62.js → model-vze96k0n.js} +4 -4
  248. package/dist/chunks/{credential-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{credential-adtgbey4.js → model-w5me5d90.js} +11 -11
  250. package/dist/chunks/{credential-cxfsjqk4.js → model-w6tw9skw.js} +11 -11
  251. package/dist/chunks/{credential-yyfky2bj.js → model-wavq5vqb.js} +1 -1
  252. package/dist/chunks/{credential-tyzndn2s.js → model-wb1tzt4d.js} +27 -27
  253. package/dist/chunks/{credential-6ghnv2dz.js → model-wbq0a8cf.js} +32 -32
  254. package/dist/chunks/{credential-wd87259q.js → model-wd87259q.js} +1 -1
  255. package/dist/chunks/{credential-cbc0s4e1.js → model-wgwrm75m.js} +164 -164
  256. package/dist/chunks/{credential-a2zg7mdw.js → model-whsrbek6.js} +11 -11
  257. package/dist/chunks/{credential-7t3evy4q.js → model-wmf56hzh.js} +9 -9
  258. package/dist/chunks/{credential-h8wfmpj2.js → model-wwcafvtr.js} +17 -17
  259. package/dist/chunks/{credential-57kf9cn6.js → model-wycsdkc3.js} +11 -11
  260. package/dist/chunks/{credential-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{credential-ajpz4c85.js → model-xkc587sw.js} +17 -17
  262. package/dist/chunks/{credential-5843mwj1.js → model-xtd5dz6n.js} +80 -80
  263. package/dist/chunks/{credential-jg4wsava.js → model-xzzk44db.js} +15 -15
  264. package/dist/chunks/{credential-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{credential-3gdxf9my.js → model-y2bvvrzc.js} +15 -15
  266. package/dist/chunks/{credential-dc6tzc5b.js → model-y5mrfvw4.js} +7 -7
  267. package/dist/chunks/{credential-824g01v9.js → model-y7gk6gsz.js} +12 -12
  268. package/dist/chunks/{credential-1e9w7pgh.js → model-y7gn77t5.js} +10 -10
  269. package/dist/chunks/{credential-6f89xh0p.js → model-y7j7ndb6.js} +47 -47
  270. package/dist/chunks/{credential-fschjpvb.js → model-yeqyw0z5.js} +9 -9
  271. package/dist/chunks/{credential-v0rc55wa.js → model-yhq7b4d8.js} +9 -9
  272. package/dist/chunks/{credential-j7knmneh.js → model-ymca8mtq.js} +15 -15
  273. package/dist/chunks/{credential-f2n192rq.js → model-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{credential-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{credential-s4enseaf.js → model-yrznvahk.js} +2 -2
  276. package/dist/chunks/{credential-yt0fqk68.js → model-yt0fqk68.js} +2 -2
  277. package/dist/chunks/{credential-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{credential-29x78va6.js → model-z63w68vq.js} +6 -6
  279. package/dist/chunks/{credential-bcw3k3x0.js → model-z9pwsk94.js} +13 -13
  280. package/dist/chunks/{credential-xw0r27ex.js → model-zav06jzw.js} +4 -4
  281. package/dist/chunks/{credential-pgt8aa90.js → model-zc27a7bm.js} +4 -4
  282. package/dist/chunks/{credential-h2bhmd9t.js → model-zdrvw4c2.js} +25 -25
  283. package/dist/chunks/{credential-zeh9ct20.js → model-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{credential-vqeat92e.js → model-zm3pd5tb.js} +39 -39
  285. package/dist/chunks/{credential-mc5fskgh.js → model-znz7rtxh.js} +11 -11
  286. package/dist/chunks/{credential-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{credential-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +78 -78
  292. package/dist/config/discovery.js +80 -80
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +117 -117
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +135 -135
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +116 -116
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +114 -114
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +80 -80
  320. package/dist/database/database.js +71 -71
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +87 -87
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +89 -89
  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 +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +83 -83
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +90 -90
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +83 -83
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +70 -70
  462. package/dist/location-activity.js +134 -134
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +84 -84
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +85 -85
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +92 -92
  469. package/dist/mcp/instructions.js +121 -121
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +98 -98
  487. package/dist/plugin/command.js +95 -95
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  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 +81 -81
  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 +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +81 -81
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +116 -116
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +73 -73
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +341 -341
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +6 -6
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +217 -217
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +84 -84
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +95 -95
  560. package/dist/reference/instructions.js +83 -83
  561. package/dist/reference.js +85 -85
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +82 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +124 -124
  570. package/dist/session/context.js +146 -146
  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 +217 -217
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +147 -147
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +76 -76
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +93 -93
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +114 -114
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +123 -123
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +101 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +86 -86
  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 +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +87 -87
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +109 -109
  599. package/dist/session/runner/step.js +120 -120
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +1 -1
  602. package/dist/session/session.js +168 -168
  603. package/dist/session/shell.js +132 -132
  604. package/dist/session/skill.js +99 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +86 -86
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +146 -146
  612. package/dist/session/to-session-error.js +108 -108
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +204 -204
  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 +134 -134
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +99 -99
  623. package/dist/skill.js +104 -104
  624. package/dist/snapshot.js +87 -87
  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 +122 -122
  629. package/dist/tool/plugin/edit.js +112 -112
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +121 -121
  632. package/dist/tool/plugin/grep.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +114 -114
  635. package/dist/tool/plugin/question.js +99 -99
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +211 -211
  638. package/dist/tool/plugin/skill.js +109 -109
  639. package/dist/tool/plugin/subagent.js +215 -215
  640. package/dist/tool/plugin/webfetch.js +108 -108
  641. package/dist/tool/plugin/websearch.js +108 -108
  642. package/dist/tool/plugin/write.js +114 -114
  643. package/dist/tool/read-filesystem.js +97 -97
  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 +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  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 +2 -2
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  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 +86 -86
  674. package/dist/websearch.js +81 -81
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +80 -80
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +79 -79
  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 +92 -92
  685. package/package.json +8 -8
  686. package/dist/chunks/credential-6kdq0pjd.js +0 -4
  687. package/dist/chunks/credential-n7dsh0d3.js +0 -26
  688. package/dist/chunks/credential-p2h6zvwc.js +0 -18
  689. package/dist/chunks/credential-rjd8bv89.js +0 -247
  690. /package/dist/chunks/{credential-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{credential-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{credential-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{credential-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{credential-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{credential-2710q6r3.js → model-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{credential-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{credential-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{credential-359p4xyc.js → model-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{credential-3asan66x.js → model-3asan66x.js} +0 -0
  700. /package/dist/chunks/{credential-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{credential-3w5fmr99.js → model-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{credential-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{credential-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{credential-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{credential-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{credential-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{credential-53557ph1.js → model-53557ph1.js} +0 -0
  708. /package/dist/chunks/{credential-550bvhaj.js → model-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{credential-6bsje7ws.js → model-6bsje7ws.js} +0 -0
  710. /package/dist/chunks/{credential-6prwharc.js → model-6prwharc.js} +0 -0
  711. /package/dist/chunks/{credential-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{credential-7m9af43g.js → model-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{credential-822emrt2.js → model-822emrt2.js} +0 -0
  714. /package/dist/chunks/{credential-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{credential-8n3pysct.js → model-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{credential-922hggd3.js → model-922hggd3.js} +0 -0
  717. /package/dist/chunks/{credential-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{credential-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{credential-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{credential-af5trqkr.js → model-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{credential-afrmfg78.js → model-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{credential-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{credential-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{credential-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{credential-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{credential-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{credential-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{credential-d9fn303g.js → model-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{credential-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{credential-dajrwvna.js → model-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{credential-dap0rakb.js → model-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{credential-df08tz66.js → model-df08tz66.js} +0 -0
  733. /package/dist/chunks/{credential-dy18nga0.js → model-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{credential-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{credential-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{credential-ec1grn59.js → model-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{credential-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{credential-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{credential-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{credential-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{credential-faypxj3z.js → model-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{credential-fd410y7t.js → model-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{credential-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{credential-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{credential-g86h250q.js → model-g86h250q.js} +0 -0
  746. /package/dist/chunks/{credential-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{credential-gftt206x.js → model-gftt206x.js} +0 -0
  748. /package/dist/chunks/{credential-hjbc5kem.js → model-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{credential-hk9envan.js → model-hk9envan.js} +0 -0
  750. /package/dist/chunks/{credential-hrnqkpcd.js → model-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{credential-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{credential-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{credential-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{credential-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{credential-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{credential-mp448xyj.js → model-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{credential-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{credential-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{credential-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{credential-njntx4h6.js → model-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{credential-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{credential-q74kybfr.js → model-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{credential-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{credential-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{credential-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{credential-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{credential-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{credential-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{credential-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{credential-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{credential-twg0f83k.js → model-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{credential-w803qqfp.js → model-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{credential-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{credential-wtztk69x.js → model-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{credential-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{credential-x61499pn.js → model-x61499pn.js} +0 -0
  777. /package/dist/chunks/{credential-y44na4kk.js → model-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{credential-y8cydn3q.js → model-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{credential-y8f7s663.js → model-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{credential-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{credential-ym463w8f.js → model-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{credential-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service80,
3
- node85
4
- } from "./credential-fs1f3z87.js";
3
+ node84
4
+ } from "./model-jx3c22rf.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service79,
8
- node84
9
- } from "./credential-4f3mwee9.js";
7
+ Service73,
8
+ node77
9
+ } from "./model-v7bpw0rx.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./credential-ec1grn59.js";
12
+ } from "./model-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./credential-gftt206x.js";
15
+ } from "./model-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./credential-4y66k410.js";
18
+ } from "./model-4y66k410.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./credential-922hggd3.js";
22
+ } from "./model-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./credential-8p4f9s12.js";
25
+ } from "./model-8p4f9s12.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./credential-a1bz86dw.js";
30
+ } from "./model-a1bz86dw.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./credential-30e04pyd.js";
36
+ } from "./model-8e5vt1qx.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./credential-vkxpz7g2.js";
42
+ } from "./model-bajakh74.js";
43
43
  import {
44
44
  initialize2
45
- } from "./credential-dpk4wwe7.js";
45
+ } from "./model-exatzf7p.js";
46
46
  import {
47
47
  Slug2
48
- } from "./credential-gebd4c9n.js";
48
+ } from "./model-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./credential-9rqn6x4v.js";
51
+ } from "./model-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node22
58
+ node: () => node20
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -276,7 +276,7 @@ function projectIdle(db, event) {
276
276
  });
277
277
  }
278
278
  var layer = Layer.effectDiscard(Effect.gen(function* () {
279
- const bus = yield* Service79;
279
+ const bus = yield* Service73;
280
280
  const db = (yield* Service80).db;
281
281
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
282
282
  const stored = yield* db.insert(SessionTable2).values({
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
458
458
  return publishSessionUsage(db, bus, event.data.sessionID);
459
459
  }), Effect.forkScoped({ startImmediately: true }));
460
460
  }));
461
- var node22 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
461
+ var node20 = makeGlobalNode({ name: "session-projector", layer, deps: [node77, node84] });
462
462
 
463
- export { SessionAlreadyProjected2, node22, exports_projector };
463
+ export { SessionAlreadyProjected2, node20, exports_projector };
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./credential-4f3mwee9.js";
2
+ Service73,
3
+ node77
4
+ } from "./model-v7bpw0rx.js";
5
5
  import {
6
6
  Service26,
7
7
  node30
8
- } from "./credential-6qbmmse8.js";
8
+ } from "./model-3hdw1vhc.js";
9
9
  import {
10
- Service49,
11
- node53
12
- } from "./credential-383y241e.js";
10
+ Service58,
11
+ node61
12
+ } from "./model-hxevvepb.js";
13
13
  import {
14
- Service42,
15
- node45
16
- } from "./credential-qy4w3bxg.js";
14
+ Service74,
15
+ node78
16
+ } from "./model-vtjb7z8s.js";
17
17
  import {
18
18
  __export
19
- } from "./credential-9rqn6x4v.js";
19
+ } from "./model-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service25,
26
- layer: () => layer11,
27
- name: () => name14,
25
+ Service: () => Service22,
26
+ layer: () => layer9,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node29
29
+ node: () => node27
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service25 extends Context.Service()("@opencode/McpTool") {
38
+ class Service22 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service25, Effect.gen(function* () {
40
+ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
41
41
  const mcp = yield* Service26;
42
- const tools = yield* Service42;
43
- const bus = yield* Service79;
44
- const permission = yield* Service49;
42
+ const tools = yield* Service74;
43
+ const bus = yield* Service73;
44
+ const permission = yield* Service58;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -62,7 +62,7 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
62
62
  output: tool.outputSchema ?? {},
63
63
  execute: (input, context) => Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name14(tool.server, tool.name),
65
+ action: name13(tool.server, tool.name),
66
66
  resources: ["*"],
67
67
  save: ["*"],
68
68
  metadata: {},
@@ -111,7 +111,7 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
111
111
  output: output(),
112
112
  ...content.length === 0 ? {} : { content }
113
113
  };
114
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
114
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
115
115
  });
116
116
  }
117
117
  });
@@ -124,12 +124,12 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service25.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service22.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
- var node29 = makeLocationNode({
130
- service: Service25,
131
- layer: layer11,
132
- deps: [node45, node30, node84, node53]
129
+ var node27 = makeLocationNode({
130
+ service: Service22,
131
+ layer: layer9,
132
+ deps: [node78, node30, node77, node61]
133
133
  });
134
134
 
135
- export { namespace2, name14, Service25, layer11, node29, exports_mcp3 };
135
+ export { namespace2, name13, Service22, layer9, node27, exports_mcp3 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./credential-2a5m3afh.js";
5
+ } from "./model-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./credential-9rqn6x4v.js";
8
+ } from "./model-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./credential-fs1f3z87.js";
3
+ } from "./model-jx3c22rf.js";
4
4
  import {
5
- Service79
6
- } from "./credential-4f3mwee9.js";
5
+ Service73
6
+ } from "./model-v7bpw0rx.js";
7
7
  import {
8
- Service30
9
- } from "./credential-90dkwxdw.js";
8
+ Service50
9
+ } from "./model-hq8zt1th.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./credential-922hggd3.js";
12
+ } from "./model-922hggd3.js";
13
13
  import {
14
14
  ID3,
15
- Service37
16
- } from "./credential-8dmhhx1w.js";
15
+ Service27
16
+ } from "./model-c462van6.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./credential-ec1grn59.js";
19
+ } from "./model-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./credential-gftt206x.js";
22
+ } from "./model-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./credential-f1zbxv7x.js";
25
+ } from "./model-phc8pspp.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./credential-a1bz86dw.js";
28
+ } from "./model-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./credential-9rqn6x4v.js";
31
+ } from "./model-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,11 +42,11 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service30;
45
+ const instances = yield* Service50;
46
46
  const database = yield* Service80;
47
- const bus = yield* Service79;
47
+ const bus = yield* Service73;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service37;
49
+ const snapshot = yield* Service27;
50
50
  const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
@@ -74,10 +74,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service30;
78
- const bus = yield* Service79;
77
+ const instances = yield* Service50;
78
+ const bus = yield* Service73;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service37;
80
+ const snapshot = yield* Service27;
81
81
  if (!session.revert)
82
82
  return;
83
83
  const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service74
3
- } from "./credential-g59fyfvz.js";
2
+ Service69
3
+ } from "./model-qwrxphsy.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,18 +10,18 @@ import {
10
10
  deletePatch2,
11
11
  countPatch2,
12
12
  chunksByFile2
13
- } from "./credential-tazgh4e4.js";
13
+ } from "./model-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./credential-jvc6geyb.js";
16
+ } from "./model-6pnccst9.js";
17
17
  import {
18
18
  __export
19
- } from "./credential-9rqn6x4v.js";
19
+ } from "./model-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin2,
24
+ Plugin: () => Plugin20,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin2 = define({
33
+ var Plugin20 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service74;
36
+ const location = yield* Service69;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin2, exports_hg };
191
+ export { Plugin20, exports_hg };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
- node85
4
- } from "./credential-fs1f3z87.js";
5
- import {
6
- Service79,
7
3
  node84
8
- } from "./credential-4f3mwee9.js";
4
+ } from "./model-jx3c22rf.js";
5
+ import {
6
+ Service73,
7
+ node77
8
+ } from "./model-v7bpw0rx.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./credential-pknna89w.js";
11
+ } from "./model-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./credential-0q0f95c6.js";
14
+ } from "./model-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./credential-9rqn6x4v.js";
17
+ } from "./model-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
23
  Event: () => Event17,
24
- ID: () => ID15,
25
- Info: () => Info29,
24
+ ID: () => ID13,
25
+ Info: () => Info27,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service71,
28
+ Service: () => Service62,
29
29
  Value: () => Value2,
30
- node: () => node76
30
+ node: () => node65
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID15 = Credential.ID;
37
+ var ID13 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
41
  var Event17 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info27 extends Schema.Class("Credential.Info")({
44
+ id: ID13,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service71 extends Context.Service()("@opencode/Credential") {
51
+ class Service62 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service71, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
- const bus = yield* Service79;
55
+ const bus = yield* Service73;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info27({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service71.of({
71
+ return Service62.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: ID15.create(),
79
+ const credential = new Info27({
80
+ id: ID13.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
193
193
  })
194
194
  });
195
195
  }));
196
- var node76 = makeGlobalNode({ service: Service71, layer, deps: [node85, node84] });
196
+ var node65 = makeGlobalNode({ service: Service62, layer, deps: [node84, node77] });
197
197
 
198
- export { ID15, OAuth3, Key4, Value2, Event17, Info29, Service71, node76, exports_credential };
198
+ export { ID13, OAuth3, Key4, Value2, Event17, Info27, Service62, node65, exports_credential };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service79
3
- } from "./credential-4f3mwee9.js";
2
+ Service73
3
+ } from "./model-v7bpw0rx.js";
4
4
  import {
5
- Service74
6
- } from "./credential-g59fyfvz.js";
5
+ Service69
6
+ } from "./model-qwrxphsy.js";
7
7
  import {
8
8
  PromptsChanged2,
9
9
  Service26
10
- } from "./credential-6qbmmse8.js";
10
+ } from "./model-3hdw1vhc.js";
11
11
  import {
12
12
  __export
13
- } from "./credential-9rqn6x4v.js";
13
+ } from "./model-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command = {};
17
17
  __export(exports_command, {
18
18
  CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin13
19
+ Plugin: () => Plugin28
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin13 = define({
196
+ var Plugin28 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service74;
199
+ const location = yield* Service69;
200
200
  const mcp = yield* Service26;
201
- const bus = yield* Service79;
201
+ const bus = yield* Service73;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin13, exports_command };
283
+ export { Plugin28, exports_command };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./credential-g1r5npbb.js";
3
+ } from "./model-3hf7z3yq.js";
4
4
  import {
5
5
  call2
6
- } from "./credential-1ygqh575.js";
6
+ } from "./model-33w4ejhs.js";
7
7
  import {
8
8
  __export
9
- } from "./credential-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin5,
14
+ Plugin: () => Plugin16,
15
15
  WebSearchParallel: () => exports_parallel,
16
16
  endpoint: () => endpoint3
17
17
  });
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin5 = define({
50
+ var Plugin16 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -93,4 +93,4 @@ var Plugin5 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint3, Plugin5, exports_parallel };
96
+ export { endpoint3, Plugin16, exports_parallel };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID14
3
- } from "./credential-njr1pezb.js";
2
+ ID18
3
+ } from "./model-33n3bzdy.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./credential-hjbc5kem.js";
6
+ } from "./model-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID14.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID18.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID14.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID18.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service40,
9
- node43
10
- } from "./credential-gfpqwj54.js";
8
+ Service53,
9
+ node56
10
+ } from "./model-p52t23z3.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./credential-6bsje7ws.js";
13
+ } from "./model-6bsje7ws.js";
14
14
  import {
15
15
  __export
16
- } from "./credential-9rqn6x4v.js";
16
+ } from "./model-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service31,
25
+ Service: () => Service51,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node34,
31
+ node: () => node54,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service31 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service51 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  websocket: options.websocket ?? false
74
74
  });
75
- var layer = Layer.effect(Service31, Effect.gen(function* () {
76
- const resolver = yield* Service40;
77
- return Service31.of({
75
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
76
+ const resolver = yield* Service53;
77
+ return Service51.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node34 = makeLocationNode({ service: Service31, layer, deps: [node43] });
95
+ var node54 = makeLocationNode({ service: Service51, layer, deps: [node56] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service31, resolved2, node34, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, resolved2, node54, exports_model };