@opencode/core 0.0.0-dev-228 → 0.0.0-dev-232

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 (832) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +100 -100
  4. package/dist/aisdk.js +106 -106
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +78 -78
  7. package/dist/chunks/{form-x46kzptm.js → credential-02074jrw.js} +41 -41
  8. package/dist/chunks/{form-j7trztcj.js → credential-02gdc367.js} +21 -21
  9. package/dist/chunks/{form-v8gahvqg.js → credential-0330sawq.js} +3 -3
  10. package/dist/chunks/{form-aj7mw0zk.js → credential-034tev2y.js} +2 -2
  11. package/dist/chunks/{form-jy2czfqv.js → credential-0m9q59s6.js} +4 -4
  12. package/dist/chunks/{form-8jztxfpf.js → credential-11hfp36g.js} +4 -4
  13. package/dist/chunks/{form-w7bcyz89.js → credential-12h4w7eb.js} +11 -11
  14. package/dist/chunks/{form-hx5er68a.js → credential-13mbnmkz.js} +30 -30
  15. package/dist/chunks/{form-27w5k9zf.js → credential-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{form-em6z47bx.js → credential-1fqvap8y.js} +10 -10
  17. package/dist/chunks/{form-8r9ywtx6.js → credential-1ke0ebjk.js} +8 -8
  18. package/dist/chunks/{form-ch3dpehw.js → credential-1qsv2p2w.js} +1 -1
  19. package/dist/chunks/{form-8e5p19qn.js → credential-1rtcg5pt.js} +22 -22
  20. package/dist/chunks/{form-r1n5a4qe.js → credential-1t4t88x3.js} +32 -32
  21. package/dist/chunks/{form-1x2knyw4.js → credential-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{form-1yq9hg58.js → credential-1yq9hg58.js} +1 -1
  23. package/dist/chunks/{form-204s3925.js → credential-204s3925.js} +1 -1
  24. package/dist/chunks/{form-25h84942.js → credential-25h84942.js} +1 -1
  25. package/dist/chunks/{form-wzhs16ph.js → credential-2b7qrkd5.js} +42 -42
  26. package/dist/chunks/{form-gp6fvya6.js → credential-2dh97hnq.js} +28 -28
  27. package/dist/chunks/{form-hjb7zt8b.js → credential-2g02qr0r.js} +12 -12
  28. package/dist/chunks/{form-8y0bcag5.js → credential-2jm7sg1n.js} +19 -19
  29. package/dist/chunks/{form-knkdmrq8.js → credential-2pe161ac.js} +15 -15
  30. package/dist/chunks/{form-8hcvae60.js → credential-2r1210wt.js} +10 -10
  31. package/dist/chunks/{form-py7k5n7n.js → credential-2teqx1fj.js} +28 -28
  32. package/dist/chunks/{form-pbcq83b8.js → credential-2vp3eae7.js} +12 -12
  33. package/dist/chunks/{form-4n77906h.js → credential-2wav6r65.js} +33 -33
  34. package/dist/chunks/{form-h50dg4rv.js → credential-2xpqyv5y.js} +26 -26
  35. package/dist/chunks/{form-2zp5a6yg.js → credential-2zp5a6yg.js} +1 -1
  36. package/dist/chunks/{form-0we704hm.js → credential-33rwgczv.js} +27 -27
  37. package/dist/chunks/{form-9c4f3png.js → credential-34e87nx4.js} +18 -18
  38. package/dist/chunks/{form-cmr431hx.js → credential-384pxm0c.js} +15 -15
  39. package/dist/chunks/{form-749j9bem.js → credential-38bbyr5m.js} +16 -16
  40. package/dist/chunks/{form-kv3vzdmy.js → credential-3ct3v2ns.js} +11 -11
  41. package/dist/chunks/{form-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{form-9spex28b.js → credential-3hxa5b5d.js} +319 -319
  43. package/dist/chunks/{form-rx6qpc9d.js → credential-3j1m3tq4.js} +5 -5
  44. package/dist/chunks/{form-a73hjx22.js → credential-3kaedtbj.js} +13 -13
  45. package/dist/chunks/{form-zk53j53a.js → credential-3kdbrncp.js} +5 -5
  46. package/dist/chunks/{form-3nnrz6f6.js → credential-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{form-c8t4rycs.js → credential-3pw2198r.js} +74 -74
  48. package/dist/chunks/{form-y2gpst6y.js → credential-3r2mjcrp.js} +13 -13
  49. package/dist/chunks/credential-3x4vqzvj.js +257 -0
  50. package/dist/chunks/{form-h4rvxyzb.js → credential-44jn1514.js} +10 -10
  51. package/dist/chunks/{form-e2zffr00.js → credential-4ewbr215.js} +8 -8
  52. package/dist/chunks/{form-bd3ag47v.js → credential-4gnj7q94.js} +5 -5
  53. package/dist/chunks/{form-mktg3r47.js → credential-4hqwqpkp.js} +69 -69
  54. package/dist/chunks/{form-c0q18wbz.js → credential-4kjz03p0.js} +17 -17
  55. package/dist/chunks/{form-jr332ax1.js → credential-4na4vtxt.js} +6 -6
  56. package/dist/chunks/{form-4pyp9zr9.js → credential-4pyp9zr9.js} +1 -1
  57. package/dist/chunks/{form-4v008n1t.js → credential-4v008n1t.js} +1 -1
  58. package/dist/chunks/{form-afhpfagb.js → credential-4y8p0etd.js} +21 -21
  59. package/dist/chunks/{form-jxhxxqgb.js → credential-4zrcmfpw.js} +6 -6
  60. package/dist/chunks/{form-yb37bm60.js → credential-4zsb5k87.js} +11 -11
  61. package/dist/chunks/{form-0y84vv13.js → credential-50ttnce6.js} +57 -57
  62. package/dist/chunks/{form-9q4bej68.js → credential-584z8fgw.js} +38 -38
  63. package/dist/chunks/{form-5enarcya.js → credential-5enarcya.js} +2 -2
  64. package/dist/chunks/{form-5m9w47nd.js → credential-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{form-b6vsg801.js → credential-5nnwax6m.js} +5 -5
  66. package/dist/chunks/{form-tcrj48nm.js → credential-5ntfweg7.js} +30 -30
  67. package/dist/chunks/{form-adepxgxt.js → credential-60d2znf6.js} +1 -1
  68. package/dist/chunks/{form-8x57f01e.js → credential-60jz9eyc.js} +25 -25
  69. package/dist/chunks/{form-0rvjqh0v.js → credential-65v26sy5.js} +14 -14
  70. package/dist/chunks/{form-fddmw01z.js → credential-66304bnq.js} +23 -23
  71. package/dist/chunks/{form-xyj2z7t9.js → credential-6869n964.js} +15 -15
  72. package/dist/chunks/{form-yjkwyrer.js → credential-69r9be3z.js} +31 -31
  73. package/dist/chunks/{form-rkbnve9v.js → credential-6astz3f9.js} +18 -18
  74. package/dist/chunks/{form-6esdw8yj.js → credential-6esdw8yj.js} +1 -1
  75. package/dist/chunks/{form-z1yb6k18.js → credential-6fvxxg60.js} +22 -22
  76. package/dist/chunks/{form-4hmxtsmg.js → credential-6g2dzwcy.js} +170 -170
  77. package/dist/chunks/{form-7wstq74c.js → credential-6n1skpzs.js} +10 -10
  78. package/dist/chunks/{form-9w8yvhv2.js → credential-6qwvma6z.js} +17 -17
  79. package/dist/chunks/credential-6zjm2phc.js +18 -0
  80. package/dist/chunks/{form-qnz6w04z.js → credential-78r8et96.js} +9 -9
  81. package/dist/chunks/{form-tv1hegq9.js → credential-79se5gqs.js} +12 -12
  82. package/dist/chunks/{form-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{form-ze5pwfxf.js → credential-7evtdt3e.js} +1 -1
  84. package/dist/chunks/{form-f8p7x3za.js → credential-7j68yrtf.js} +34 -34
  85. package/dist/chunks/{form-7a96kwdb.js → credential-7n02w7qn.js} +37 -37
  86. package/dist/chunks/{form-yk574f7x.js → credential-7tgk2ckz.js} +15 -15
  87. package/dist/chunks/{form-p0m7jsqr.js → credential-7vh1qcpk.js} +7 -7
  88. package/dist/chunks/{form-7w2ypzdf.js → credential-7w2ypzdf.js} +1 -1
  89. package/dist/chunks/{form-j2wws855.js → credential-7xrs9a5d.js} +5 -5
  90. package/dist/chunks/{form-12a87htm.js → credential-81a9zpe2.js} +8 -8
  91. package/dist/chunks/{form-cvgy9b2f.js → credential-85ns452d.js} +42 -42
  92. package/dist/chunks/{form-5xm8fbgh.js → credential-87e13nka.js} +6 -6
  93. package/dist/chunks/{form-a7y0hmbq.js → credential-88f4ansx.js} +11 -11
  94. package/dist/chunks/{form-hced1q2j.js → credential-8dfptpqb.js} +4 -4
  95. package/dist/chunks/{form-8wtp7s3z.js → credential-8wtp7s3z.js} +1 -1
  96. package/dist/chunks/{form-90zstvax.js → credential-90zstvax.js} +1 -1
  97. package/dist/chunks/{form-56hw1ah1.js → credential-92cn2t4g.js} +9 -9
  98. package/dist/chunks/{form-vbggds6s.js → credential-95byvzjw.js} +11 -11
  99. package/dist/chunks/{form-bb58r61a.js → credential-96f366mh.js} +15 -15
  100. package/dist/chunks/{form-dyd2a8eg.js → credential-998ewk3b.js} +17 -17
  101. package/dist/chunks/{form-8cz13j6a.js → credential-9a1tdgr3.js} +19 -19
  102. package/dist/chunks/{form-rafkt0z2.js → credential-9dyz4be8.js} +5 -5
  103. package/dist/chunks/{form-zgd8t41s.js → credential-9f3sjfep.js} +9 -9
  104. package/dist/chunks/{form-hdh1880y.js → credential-9gmdzyfg.js} +21 -21
  105. package/dist/chunks/{form-9r0x1bva.js → credential-9qcg53ez.js} +2 -2
  106. package/dist/chunks/{form-xeygv81t.js → credential-9s4r78yd.js} +3 -3
  107. package/dist/chunks/{form-1de26m2d.js → credential-9vp6aqcz.js} +13 -13
  108. package/dist/chunks/{form-av5v11km.js → credential-9wp8352v.js} +3 -3
  109. package/dist/chunks/{form-r21czkj7.js → credential-a06br7p4.js} +18 -18
  110. package/dist/chunks/{form-4j43s0xr.js → credential-a1226ymt.js} +48 -48
  111. package/dist/chunks/{form-xg4acpkm.js → credential-a38b7w2q.js} +5 -5
  112. package/dist/chunks/{form-vr5v59hp.js → credential-a3975399.js} +15 -15
  113. package/dist/chunks/{form-jqchfgzz.js → credential-a3a7mjkh.js} +23 -23
  114. package/dist/chunks/{form-6d7rzhz6.js → credential-aafav67h.js} +28 -28
  115. package/dist/chunks/{form-rr09v45e.js → credential-ac39bgbj.js} +22 -22
  116. package/dist/chunks/{form-e6k079pp.js → credential-afhevj5w.js} +10 -10
  117. package/dist/chunks/{form-e2ne77ac.js → credential-agqd6nxz.js} +4 -4
  118. package/dist/chunks/{form-3cbjf1nt.js → credential-ayjs7tqn.js} +2 -2
  119. package/dist/chunks/{form-tzhe5vps.js → credential-ayvz2n09.js} +2 -2
  120. package/dist/chunks/{form-477xfj3c.js → credential-b5nc9mwq.js} +17 -17
  121. package/dist/chunks/{form-nzqym5fn.js → credential-b6y9tnyb.js} +13 -13
  122. package/dist/chunks/{form-xhfzgzgf.js → credential-b83byfam.js} +2 -2
  123. package/dist/chunks/{form-7jncsexd.js → credential-bf19td7e.js} +4 -4
  124. package/dist/chunks/{form-ggwxx8z6.js → credential-bk9s8j1w.js} +18 -18
  125. package/dist/chunks/{form-pz1n0gq8.js → credential-c1z88dhz.js} +3 -3
  126. package/dist/chunks/{form-wvr8z8p1.js → credential-ch2d8ay7.js} +17 -17
  127. package/dist/chunks/{form-n8wrw86q.js → credential-cm2hyy18.js} +8 -8
  128. package/dist/chunks/{form-c6x7d2ts.js → credential-cpvd08na.js} +4 -4
  129. package/dist/chunks/{form-cwrgdav8.js → credential-cwrgdav8.js} +2 -2
  130. package/dist/chunks/{form-bs9ntfbp.js → credential-d3wqtg9z.js} +21 -21
  131. package/dist/chunks/{form-gn8tkhbf.js → credential-d4v9tmah.js} +2 -2
  132. package/dist/chunks/{form-c7h4rvjw.js → credential-dkvmgk9x.js} +16 -16
  133. package/dist/chunks/{form-780gjtmn.js → credential-ds6gwmx6.js} +8 -8
  134. package/dist/chunks/{form-dt77769w.js → credential-dt77769w.js} +1 -1
  135. package/dist/chunks/{form-e834z07m.js → credential-e834z07m.js} +1 -1
  136. package/dist/chunks/{form-kw7y9j0p.js → credential-e9rx3qe8.js} +11 -11
  137. package/dist/chunks/{form-tptvq6v6.js → credential-eahpwh8e.js} +4 -4
  138. package/dist/chunks/{form-r0b5cv65.js → credential-edz3vk4c.js} +10 -10
  139. package/dist/chunks/{form-spfg18b2.js → credential-ef6q3xef.js} +69 -69
  140. package/dist/chunks/{form-42s34a0z.js → credential-eqkje2vh.js} +18 -18
  141. package/dist/chunks/{form-n72e3dxd.js → credential-ewvsv6ts.js} +5 -5
  142. package/dist/chunks/{form-nb176vr9.js → credential-f758g5wm.js} +2 -2
  143. package/dist/chunks/{form-4ggvzfz0.js → credential-fea2mecn.js} +7 -7
  144. package/dist/chunks/{form-fffv3p7h.js → credential-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{form-fg9p65nk.js → credential-fg9p65nk.js} +2 -2
  146. package/dist/chunks/{form-hep9bk35.js → credential-fh48twx0.js} +11 -11
  147. package/dist/chunks/{form-8x6dz44a.js → credential-fjds1fn3.js} +8 -8
  148. package/dist/chunks/{form-y28d2ctz.js → credential-fpy4nybh.js} +11 -11
  149. package/dist/chunks/{form-0tqaar2n.js → credential-fv02tqgz.js} +18 -18
  150. package/dist/chunks/{form-np3f7rt0.js → credential-fypmhnps.js} +2 -2
  151. package/dist/chunks/{form-6dwjznsx.js → credential-g3p0mxj8.js} +2 -2
  152. package/dist/chunks/{form-pe0xbfng.js → credential-gnzzs75r.js} +5 -5
  153. package/dist/chunks/{form-6848bbxa.js → credential-gqk9gxfj.js} +11 -11
  154. package/dist/chunks/{form-9yj11fn9.js → credential-gv0qvba3.js} +7 -7
  155. package/dist/chunks/{form-h4p3pyf8.js → credential-h4p3pyf8.js} +3 -3
  156. package/dist/chunks/{form-caez4nff.js → credential-h4t863wd.js} +15 -15
  157. package/dist/chunks/{form-x07e5g67.js → credential-h5kmqadq.js} +18 -18
  158. package/dist/chunks/{form-zm2ek9rr.js → credential-h6hc5rex.js} +11 -11
  159. package/dist/chunks/{form-5ew4vg0t.js → credential-hezj4sa2.js} +11 -11
  160. package/dist/chunks/{form-bwcgh3pa.js → credential-hjx8amkq.js} +7 -7
  161. package/dist/chunks/{form-hpg1pkwy.js → credential-hpg1pkwy.js} +1 -1
  162. package/dist/chunks/{form-ts85mjsk.js → credential-hszqsyww.js} +10 -10
  163. package/dist/chunks/{form-t16hmx8j.js → credential-j00x2d5t.js} +4 -4
  164. package/dist/chunks/{form-6kwb0ym8.js → credential-j499rj47.js} +4 -4
  165. package/dist/chunks/{form-1vgxrmdj.js → credential-j93e60fq.js} +20 -20
  166. package/dist/chunks/{form-aakxnvea.js → credential-jcqm84fr.js} +9 -9
  167. package/dist/chunks/{form-0a6594q4.js → credential-jera5sqk.js} +17 -17
  168. package/dist/chunks/{form-jfaecv01.js → credential-jfaecv01.js} +1 -1
  169. package/dist/chunks/{form-jtnps1zs.js → credential-jtnps1zs.js} +2 -2
  170. package/dist/chunks/{form-c7a65p05.js → credential-jvn8ph2p.js} +11 -11
  171. package/dist/chunks/{form-3vn6803g.js → credential-jwskecy1.js} +9 -9
  172. package/dist/chunks/{form-ey5xajk0.js → credential-jx93w0c5.js} +4 -4
  173. package/dist/chunks/{form-b2mp8qdf.js → credential-jypxyda9.js} +23 -23
  174. package/dist/chunks/{form-p570ajbq.js → credential-k532z9bf.js} +15 -15
  175. package/dist/chunks/{form-k814nvkf.js → credential-k814nvkf.js} +1 -1
  176. package/dist/chunks/{form-yfcr1se9.js → credential-k8v5aqnf.js} +9 -9
  177. package/dist/chunks/{form-ybdj6tkq.js → credential-k9ayha1m.js} +6 -6
  178. package/dist/chunks/{form-e07q2w5p.js → credential-k9zkdd2y.js} +4 -4
  179. package/dist/chunks/{form-362tp65q.js → credential-kmv1hb68.js} +4 -4
  180. package/dist/chunks/{form-kt3bjfbg.js → credential-kt3bjfbg.js} +1 -1
  181. package/dist/chunks/{form-wjs5qw55.js → credential-kv8hcqvx.js} +22 -22
  182. package/dist/chunks/{form-9x19j16c.js → credential-kvvwtbv8.js} +31 -31
  183. package/dist/chunks/{form-y2wa3a8s.js → credential-m0w0bb4h.js} +5 -5
  184. package/dist/chunks/{form-m1714858.js → credential-m1714858.js} +1 -1
  185. package/dist/chunks/{form-g7esga4v.js → credential-m37sd98t.js} +7 -7
  186. package/dist/chunks/{form-7c2qna5p.js → credential-m5ybn5jf.js} +4 -4
  187. package/dist/chunks/{form-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{form-8z6m94af.js → credential-mb7mbhnz.js} +3 -3
  189. package/dist/chunks/{form-cdwpjm32.js → credential-mbq8kt07.js} +8 -8
  190. package/dist/chunks/{form-acn20bfg.js → credential-mehdtjq6.js} +13 -13
  191. package/dist/chunks/{form-mmx1mfjr.js → credential-mmx1mfjr.js} +1 -1
  192. package/dist/chunks/{form-796fpssb.js → credential-mv2126ff.js} +11 -11
  193. package/dist/chunks/{form-asvv9q89.js → credential-mv2fpsaq.js} +16 -16
  194. package/dist/chunks/{form-pxdh3f58.js → credential-myskz43g.js} +2 -2
  195. package/dist/chunks/{form-j0cfz84q.js → credential-n65rh0xd.js} +41 -41
  196. package/dist/chunks/{form-53rsp81d.js → credential-n786j7gq.js} +19 -19
  197. package/dist/chunks/{form-nah043kf.js → credential-nah043kf.js} +1 -1
  198. package/dist/chunks/{form-1psxqbrq.js → credential-nb115p4b.js} +17 -17
  199. package/dist/chunks/{form-vr11s0jh.js → credential-nb5fst4x.js} +6 -6
  200. package/dist/chunks/{form-2m0d1k40.js → credential-nbg1eymv.js} +5 -5
  201. package/dist/chunks/{form-s3gj3rj3.js → credential-nr90vwd5.js} +8 -8
  202. package/dist/chunks/{form-p015t6z3.js → credential-p015t6z3.js} +2 -2
  203. package/dist/chunks/{form-sq4s6wq1.js → credential-p580ev26.js} +6 -6
  204. package/dist/chunks/{form-kkbdeg4e.js → credential-p8ke63yd.js} +4 -4
  205. package/dist/chunks/{form-a5y5z42n.js → credential-p9g1pat1.js} +29 -29
  206. package/dist/chunks/{form-y7w06ryq.js → credential-pcspc0c8.js} +17 -17
  207. package/dist/chunks/{form-pknna89w.js → credential-pknna89w.js} +1 -1
  208. package/dist/chunks/{form-e471twwt.js → credential-pm3q2zxn.js} +8 -8
  209. package/dist/chunks/{form-4th82h6j.js → credential-ppvmsckx.js} +9 -9
  210. package/dist/chunks/{form-jf0vywae.js → credential-q45fvp3e.js} +6 -6
  211. package/dist/chunks/{form-ryfpe5sz.js → credential-qe54a3zp.js} +43 -43
  212. package/dist/chunks/{form-qp7r0hxv.js → credential-qp7r0hxv.js} +1 -1
  213. package/dist/chunks/{form-qqvy8y24.js → credential-qqvy8y24.js} +1 -1
  214. package/dist/chunks/{form-r0yr0wbs.js → credential-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{form-r542h3bh.js → credential-r542h3bh.js} +1 -1
  216. package/dist/chunks/{form-rb9dy4dg.js → credential-rb9dy4dg.js} +1 -1
  217. package/dist/chunks/{form-6wv6k331.js → credential-rbftx08j.js} +3 -3
  218. package/dist/chunks/{form-4cejxtdq.js → credential-rfrz2qbb.js} +21 -21
  219. package/dist/chunks/{form-9se3w9ew.js → credential-rgg7ckaw.js} +15 -15
  220. package/dist/chunks/{form-tr0vf8pp.js → credential-rmm621gb.js} +12 -12
  221. package/dist/chunks/{form-kmfe92z1.js → credential-rrfeqsm8.js} +22 -22
  222. package/dist/chunks/{form-y7t1ke69.js → credential-rsw4x5nh.js} +29 -29
  223. package/dist/chunks/{form-rt5dr6hb.js → credential-rt5dr6hb.js} +1 -1
  224. package/dist/chunks/{form-s7gmm2q3.js → credential-s7gmm2q3.js} +3 -3
  225. package/dist/chunks/{form-va23bk0p.js → credential-s8xxgn4g.js} +4 -4
  226. package/dist/chunks/{form-sa3fpqfw.js → credential-sa3fpqfw.js} +2 -2
  227. package/dist/chunks/{form-rzrq5kss.js → credential-sgwnnnm7.js} +11 -11
  228. package/dist/chunks/{form-k0fqk4b8.js → credential-sm7psbfm.js} +10 -10
  229. package/dist/chunks/{form-sqjzf8x2.js → credential-sqjzf8x2.js} +1 -1
  230. package/dist/chunks/{form-d2887f8n.js → credential-ssfehs1z.js} +4 -4
  231. package/dist/chunks/{form-bdked8mr.js → credential-sskrz1rw.js} +38 -38
  232. package/dist/chunks/{form-svcy3p9a.js → credential-svcy3p9a.js} +1 -1
  233. package/dist/chunks/{form-kwdd41eq.js → credential-t1pz09kx.js} +26 -26
  234. package/dist/chunks/{form-wpnjmb41.js → credential-t1qmvjvb.js} +36 -36
  235. package/dist/chunks/{form-4asfahx2.js → credential-t3p3y0b7.js} +14 -14
  236. package/dist/chunks/{form-tczq8hjw.js → credential-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{form-tg1vr1qt.js → credential-tg1vr1qt.js} +1 -1
  238. package/dist/chunks/{form-qh4ws9d6.js → credential-tp62qny7.js} +11 -11
  239. package/dist/chunks/{form-ty3g7dye.js → credential-tqg17mva.js} +30 -30
  240. package/dist/chunks/{form-twssxy5n.js → credential-twssxy5n.js} +2 -2
  241. package/dist/chunks/{form-v2r1d0zg.js → credential-v2r1d0zg.js} +1 -1
  242. package/dist/chunks/{form-vaq1yek0.js → credential-vaq1yek0.js} +3 -3
  243. package/dist/chunks/{form-fha4hq43.js → credential-vbhg7a8p.js} +30 -30
  244. package/dist/chunks/{form-dx8q40th.js → credential-vqavkb0r.js} +7 -7
  245. package/dist/chunks/{form-f1s2vndp.js → credential-vqe08nj1.js} +24 -24
  246. package/dist/chunks/{form-kvvghrks.js → credential-vvbgnqg2.js} +22 -22
  247. package/dist/chunks/{form-w0sctsdt.js → credential-w0sctsdt.js} +2 -2
  248. package/dist/chunks/{form-3ecf3tng.js → credential-w1tnk1sc.js} +4 -4
  249. package/dist/chunks/{form-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{form-n2fn6n16.js → credential-w4xkkccr.js} +5 -5
  251. package/dist/chunks/{form-w8qtt4th.js → credential-w8qtt4th.js} +1 -1
  252. package/dist/chunks/{form-6m6e0fq6.js → credential-wae28k01.js} +9 -9
  253. package/dist/chunks/{form-wakvkjy4.js → credential-wakvkjy4.js} +1 -1
  254. package/dist/chunks/{form-wd87259q.js → credential-wd87259q.js} +1 -1
  255. package/dist/chunks/{form-37zkny6h.js → credential-wfv6mr0t.js} +28 -28
  256. package/dist/chunks/{form-wnhgecwx.js → credential-wnhgecwx.js} +1 -1
  257. package/dist/chunks/{form-zht7fzxj.js → credential-wnk70846.js} +28 -28
  258. package/dist/chunks/{form-fznmdakp.js → credential-wr3re1en.js} +4 -4
  259. package/dist/chunks/{form-1apr90yy.js → credential-wtn5j8ff.js} +1 -1
  260. package/dist/chunks/{form-11p2wct5.js → credential-ww4her3p.js} +31 -31
  261. package/dist/chunks/{form-jv2xnyk0.js → credential-wwgpyqzb.js} +9 -9
  262. package/dist/chunks/{form-dnf86brd.js → credential-wzrertcx.js} +16 -16
  263. package/dist/chunks/{form-fdgtx545.js → credential-x657mhw6.js} +15 -15
  264. package/dist/chunks/{form-h921yzda.js → credential-x9hr9mw5.js} +30 -30
  265. package/dist/chunks/{form-0tt1jdqx.js → credential-xby0v85x.js} +6 -6
  266. package/dist/chunks/{form-bstexjd6.js → credential-xd9cc171.js} +5 -5
  267. package/dist/chunks/{form-mk9n97wy.js → credential-xf8b1wk9.js} +26 -26
  268. package/dist/chunks/{form-h725q1tb.js → credential-xg75fqpv.js} +25 -25
  269. package/dist/chunks/{form-xymnhqkr.js → credential-xk2zn0cv.js} +4 -4
  270. package/dist/chunks/{form-p5e49205.js → credential-xm0pdva2.js} +38 -38
  271. package/dist/chunks/{form-54qbttzm.js → credential-xr0813vk.js} +34 -34
  272. package/dist/chunks/{form-ztf6n3de.js → credential-xsact9zs.js} +4 -4
  273. package/dist/chunks/{form-xt0z8zst.js → credential-xt0z8zst.js} +1 -1
  274. package/dist/chunks/{form-t6cg7awe.js → credential-xz9rerx7.js} +16 -16
  275. package/dist/chunks/{form-g4y5gz37.js → credential-y38nte2y.js} +6 -6
  276. package/dist/chunks/{form-05c1xqfa.js → credential-y73ydd0q.js} +27 -27
  277. package/dist/chunks/{form-pxtfkpje.js → credential-yara3q77.js} +2 -2
  278. package/dist/chunks/{form-k2btearr.js → credential-yaxy9fpa.js} +20 -20
  279. package/dist/chunks/{form-yb20nhc3.js → credential-yb20nhc3.js} +1 -1
  280. package/dist/chunks/{form-1xfzm2bk.js → credential-yc1k612c.js} +9 -9
  281. package/dist/chunks/{form-3c96x8ty.js → credential-ye0pyk4z.js} +12 -12
  282. package/dist/chunks/{form-1r7af8ee.js → credential-ymz7p2c9.js} +3 -3
  283. package/dist/chunks/{form-7ktxa382.js → credential-ys32d0ez.js} +9 -9
  284. package/dist/chunks/{form-rsdjsbxj.js → credential-ytjvy0qw.js} +30 -30
  285. package/dist/chunks/{form-mspzpz50.js → credential-yv1jexcb.js} +8 -8
  286. package/dist/chunks/{form-0ce6qdts.js → credential-yvt4z0b8.js} +21 -21
  287. package/dist/chunks/{form-e5m5ahke.js → credential-yyv7g89v.js} +16 -16
  288. package/dist/chunks/{form-yfj8kv93.js → credential-yz5sb0gz.js} +11 -11
  289. package/dist/chunks/{form-8m5e40h7.js → credential-z017em5h.js} +18 -18
  290. package/dist/chunks/{form-xp63w1t0.js → credential-z01m528w.js} +16 -16
  291. package/dist/chunks/{form-w8xr7nv8.js → credential-z2qbjhyn.js} +5 -5
  292. package/dist/chunks/{form-s1efnn68.js → credential-z3390mnz.js} +52 -52
  293. package/dist/chunks/{form-z38nccrw.js → credential-z38nccrw.js} +1 -1
  294. package/dist/chunks/{form-432wqttw.js → credential-z51dnz1g.js} +5 -5
  295. package/dist/chunks/{form-p965jgwx.js → credential-z8fzb2rn.js} +29 -29
  296. package/dist/chunks/{form-nbm1wd8w.js → credential-zfyyea20.js} +9 -9
  297. package/dist/chunks/{form-tt1vkc1g.js → credential-zhd9tgn6.js} +25 -25
  298. package/dist/chunks/{form-00qhjgh5.js → credential-zhmdrh6b.js} +16 -16
  299. package/dist/codemode/catalog.js +1 -1
  300. package/dist/codemode/instructions.js +11 -11
  301. package/dist/codemode/tool.js +3 -3
  302. package/dist/codemode/web.js +1 -1
  303. package/dist/command.js +90 -90
  304. package/dist/config/discovery.js +93 -93
  305. package/dist/config/integration.js +3 -3
  306. package/dist/config/markdown.js +1 -1
  307. package/dist/config/normalize.js +110 -110
  308. package/dist/config/plugin/agent.js +122 -122
  309. package/dist/config/plugin/command.js +222 -222
  310. package/dist/config/plugin/compaction.js +165 -165
  311. package/dist/config/plugin/compatibility.js +145 -145
  312. package/dist/config/plugin/entry-observer.js +1 -1
  313. package/dist/config/plugin/formatter.js +125 -125
  314. package/dist/config/plugin/image.js +124 -124
  315. package/dist/config/plugin/instruction.js +124 -124
  316. package/dist/config/plugin/location-watcher.js +124 -124
  317. package/dist/config/plugin/mcp.js +131 -131
  318. package/dist/config/plugin/policy.js +126 -126
  319. package/dist/config/plugin/provider.js +125 -125
  320. package/dist/config/plugin/reference.js +126 -126
  321. package/dist/config/plugin/shell.js +124 -124
  322. package/dist/config/plugin/skill-file.js +141 -141
  323. package/dist/config/plugin/skill-scan.js +1 -1
  324. package/dist/config/plugin/skill.js +146 -146
  325. package/dist/config/plugin/snapshot.js +124 -124
  326. package/dist/config/plugin/source.js +121 -121
  327. package/dist/config/plugin/tool-output.js +125 -125
  328. package/dist/config/plugin/websearch.js +123 -123
  329. package/dist/config/plugin/worktree.js +126 -126
  330. package/dist/config/variable.js +1 -1
  331. package/dist/config/watch.js +1 -1
  332. package/dist/config.js +125 -125
  333. package/dist/console-access.js +1 -1
  334. package/dist/credential/sql.js +2 -2
  335. package/dist/credential.js +92 -92
  336. package/dist/database/database.js +75 -75
  337. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  338. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  339. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  340. package/dist/database/drizzle/index.js +15 -15
  341. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  344. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  345. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  346. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  348. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  349. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  350. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  351. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  352. package/dist/database/drizzle.js +16 -16
  353. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  354. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  355. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  356. package/dist/database/migration/20260225215848_workspace.js +1 -1
  357. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  358. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  359. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  360. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  361. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  362. package/dist/database/migration/20260323234822_events.js +1 -1
  363. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  364. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  365. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  366. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  367. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  368. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  369. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  370. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  371. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  372. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  373. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  374. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  375. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  376. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  377. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  378. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  379. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  380. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  381. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  382. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  383. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  384. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  385. package/dist/database/migration/20260611035744_credential.js +1 -1
  386. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  387. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  388. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  389. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  390. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  391. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  392. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  393. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  394. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  395. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  396. package/dist/database/migration/20260812213948_worktree.js +1 -1
  397. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  398. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  399. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  400. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  401. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  402. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  403. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  404. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  405. package/dist/database/migration/20261025123711_blob.js +1 -1
  406. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  407. package/dist/database/migration/20261026223005_schedule.js +1 -1
  408. package/dist/database/migration/20261029002625_session_part.js +1 -1
  409. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  410. package/dist/database/migration.gen.js +58 -58
  411. package/dist/database/migration.js +60 -60
  412. package/dist/database/path.js +2 -2
  413. package/dist/database/schema.gen.js +1 -1
  414. package/dist/database/schema.sql.js +1 -1
  415. package/dist/database/sqlite.bun.js +1 -1
  416. package/dist/database/sqlite.js +1 -1
  417. package/dist/database/sqlite.node.js +1 -1
  418. package/dist/database/sqlite.workerd.js +1 -1
  419. package/dist/database/v1-migration.bun.js +103 -103
  420. package/dist/database/v1-migration.js +1 -1
  421. package/dist/effect/app-node-builder.js +388 -388
  422. package/dist/effect/app-node-platform.js +2 -2
  423. package/dist/effect/keyed-mutex.js +3 -3
  424. package/dist/effect/websocket-constructor.js +1 -1
  425. package/dist/environment/driver.js +1 -1
  426. package/dist/environment/environment.js +100 -100
  427. package/dist/environment/exec-defaults.js +2 -2
  428. package/dist/environment/files.js +1 -1
  429. package/dist/environment/index.js +102 -102
  430. package/dist/environment/local.js +2 -2
  431. package/dist/environment/memory.js +2 -2
  432. package/dist/environment/unavailable.js +3 -3
  433. package/dist/event/sql.js +1 -1
  434. package/dist/event-logger.js +79 -79
  435. package/dist/file-access.js +151 -151
  436. package/dist/file-mutation.js +105 -105
  437. package/dist/file-retention.js +1 -1
  438. package/dist/filesystem/fff.bun.js +2 -2
  439. package/dist/filesystem/fff.js +1 -1
  440. package/dist/filesystem/fff.node.js +2 -2
  441. package/dist/filesystem/fff.workerd.js +2 -2
  442. package/dist/filesystem/file-watch.js +86 -86
  443. package/dist/filesystem/location-watcher-policy.js +6 -6
  444. package/dist/filesystem/location-watcher.js +235 -235
  445. package/dist/filesystem/protected.js +1 -1
  446. package/dist/filesystem/search.js +108 -108
  447. package/dist/filesystem/watcher-binding.js +1 -1
  448. package/dist/filesystem/watcher.js +9 -9
  449. package/dist/filesystem.js +113 -113
  450. package/dist/form.js +91 -91
  451. package/dist/formatter/builtins.js +2 -2
  452. package/dist/formatter.js +98 -98
  453. package/dist/generate.js +110 -110
  454. package/dist/git.js +11 -11
  455. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  456. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  457. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  458. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  459. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  460. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  461. package/dist/github-copilot/copilot-provider.js +17 -17
  462. package/dist/github-copilot/models.js +110 -110
  463. package/dist/github-copilot/openai-compatible-error.js +1 -1
  464. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  465. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  466. package/dist/github-copilot/responses/openai-error.js +1 -1
  467. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  468. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  469. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  470. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  471. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  472. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  473. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  474. package/dist/image/notice.js +1 -1
  475. package/dist/image/photon-normalize.js +1 -1
  476. package/dist/image/photon-worker.js +1 -1
  477. package/dist/image/photon.js +4 -4
  478. package/dist/image.js +6 -6
  479. package/dist/instance/service.js +5 -5
  480. package/dist/instance.js +379 -379
  481. package/dist/instruction-discovery.js +89 -89
  482. package/dist/instructions/builtins.js +98 -98
  483. package/dist/instructions/index.js +1 -1
  484. package/dist/integration/connection.js +3 -3
  485. package/dist/integration.js +98 -98
  486. package/dist/job.js +87 -87
  487. package/dist/kv/sql.js +2 -2
  488. package/dist/kv.js +82 -82
  489. package/dist/location-activity.js +166 -166
  490. package/dist/location-lifecycle.js +145 -145
  491. package/dist/location-service-map.js +97 -97
  492. package/dist/location-services.js +376 -376
  493. package/dist/location.js +100 -100
  494. package/dist/managed-policy.js +3 -3
  495. package/dist/mcp/client.js +102 -102
  496. package/dist/mcp/index.js +114 -114
  497. package/dist/mcp/instructions.js +169 -169
  498. package/dist/mcp/oauth.js +87 -87
  499. package/dist/mcp/socket-client.js +1 -1
  500. package/dist/mcp/stdio.js +101 -101
  501. package/dist/mime.js +1 -1
  502. package/dist/modal/models.js +110 -110
  503. package/dist/model-resolver.js +110 -110
  504. package/dist/model-retry.js +1 -1
  505. package/dist/model.js +107 -107
  506. package/dist/models-dev/v1.js +1 -1
  507. package/dist/models-dev.js +119 -119
  508. package/dist/oauth/page.js +1 -1
  509. package/dist/permission/saved.js +85 -85
  510. package/dist/permission/sql.js +5 -5
  511. package/dist/permission.js +142 -142
  512. package/dist/persistent-pty/binary.bun.js +1 -1
  513. package/dist/persistent-pty/daemon.js +1 -1
  514. package/dist/persistent-pty/index.js +99 -99
  515. package/dist/persistent-pty/pty-binding.js +1 -1
  516. package/dist/persistent-pty.js +84 -84
  517. package/dist/plugin/agent.js +83 -83
  518. package/dist/plugin/command.js +111 -111
  519. package/dist/plugin/goal.js +3 -3
  520. package/dist/plugin/hooks.js +5 -5
  521. package/dist/plugin/host.js +230 -230
  522. package/dist/plugin/identity.js +5 -5
  523. package/dist/plugin/instance.js +1 -1
  524. package/dist/plugin/internal.js +349 -349
  525. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  526. package/dist/plugin/models-dev.js +108 -108
  527. package/dist/plugin/module.js +124 -124
  528. package/dist/plugin/optimize.js +2 -2
  529. package/dist/plugin/plan.js +141 -141
  530. package/dist/plugin/promise.js +1 -1
  531. package/dist/plugin/provider/amazon-bedrock.js +102 -102
  532. package/dist/plugin/provider/azure.js +124 -124
  533. package/dist/plugin/provider/cerebras.js +1 -1
  534. package/dist/plugin/provider/chatgpt.js +124 -124
  535. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
  536. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
  537. package/dist/plugin/provider/configured.js +120 -120
  538. package/dist/plugin/provider/credential-settings.js +83 -83
  539. package/dist/plugin/provider/databricks.js +1 -1
  540. package/dist/plugin/provider/digitalocean.js +104 -104
  541. package/dist/plugin/provider/dynamic.js +2 -2
  542. package/dist/plugin/provider/github-copilot.js +106 -106
  543. package/dist/plugin/provider/gitlab.js +105 -105
  544. package/dist/plugin/provider/google-vertex.js +121 -121
  545. package/dist/plugin/provider/kilo.js +1 -1
  546. package/dist/plugin/provider/llmgateway.js +87 -87
  547. package/dist/plugin/provider/lmstudio.js +131 -131
  548. package/dist/plugin/provider/local.js +130 -130
  549. package/dist/plugin/provider/modal.js +103 -103
  550. package/dist/plugin/provider/neon.js +1 -1
  551. package/dist/plugin/provider/nvidia.js +1 -1
  552. package/dist/plugin/provider/ollama.js +133 -133
  553. package/dist/plugin/provider/openai-context-caps.js +101 -101
  554. package/dist/plugin/provider/openai.js +124 -124
  555. package/dist/plugin/provider/opencode.js +127 -127
  556. package/dist/plugin/provider/openrouter.js +102 -102
  557. package/dist/plugin/provider/poe.js +88 -88
  558. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  559. package/dist/plugin/provider/sap-ai-core.js +102 -102
  560. package/dist/plugin/provider/sdk-factory.js +1 -1
  561. package/dist/plugin/provider/snowflake-cortex.js +123 -123
  562. package/dist/plugin/provider/vllm.js +131 -131
  563. package/dist/plugin/provider/xai.js +102 -102
  564. package/dist/plugin/provider/zenmux.js +1 -1
  565. package/dist/plugin/provider.js +175 -175
  566. package/dist/plugin/sdk.js +81 -81
  567. package/dist/plugin/service.js +3 -3
  568. package/dist/plugin/skill.js +142 -142
  569. package/dist/plugin/source-directory.js +1 -1
  570. package/dist/plugin/supervisor.js +363 -363
  571. package/dist/plugin/tool-input-repair.js +4 -4
  572. package/dist/plugin/update.js +2 -2
  573. package/dist/plugin/vcs/git.js +95 -95
  574. package/dist/plugin/vcs/hg.js +95 -95
  575. package/dist/plugin/verbosity.js +104 -104
  576. package/dist/plugin/warming.js +120 -120
  577. package/dist/plugin/websearch/exa.js +7 -7
  578. package/dist/plugin/websearch/firecrawl.js +8 -8
  579. package/dist/plugin/websearch/index.js +9 -9
  580. package/dist/plugin/websearch/mcp.js +2 -2
  581. package/dist/plugin/websearch/parallel.js +8 -8
  582. package/dist/plugin/websearch/tavily.js +6 -6
  583. package/dist/plugin/websearch/tinyfish.js +8 -8
  584. package/dist/plugin.js +239 -239
  585. package/dist/project/icon.js +5 -5
  586. package/dist/project/schema.js +8 -8
  587. package/dist/project/sql.js +4 -4
  588. package/dist/project.js +101 -101
  589. package/dist/provider.js +108 -108
  590. package/dist/pty/protocol.js +1 -1
  591. package/dist/pty/ticket.js +1 -1
  592. package/dist/pty.js +105 -105
  593. package/dist/reference/instructions.js +99 -99
  594. package/dist/reference.js +101 -101
  595. package/dist/repository-cache.js +91 -91
  596. package/dist/repository.js +3 -3
  597. package/dist/ripgrep/binary.js +2 -2
  598. package/dist/ripgrep.js +102 -102
  599. package/dist/rpc.js +97 -97
  600. package/dist/schedule/sql.js +6 -6
  601. package/dist/schedule.js +230 -230
  602. package/dist/schema.js +1 -1
  603. package/dist/session/affinity.js +1 -1
  604. package/dist/session/background.js +1 -1
  605. package/dist/session/blob.js +123 -123
  606. package/dist/session/command.js +83 -83
  607. package/dist/session/compaction.js +167 -167
  608. package/dist/session/context.js +189 -189
  609. package/dist/session/diff.js +99 -99
  610. package/dist/session/environment.js +5 -5
  611. package/dist/session/error.js +3 -3
  612. package/dist/session/event.js +1 -1
  613. package/dist/session/execution/restart.js +229 -229
  614. package/dist/session/execution.js +155 -155
  615. package/dist/session/generate.js +191 -191
  616. package/dist/session/history.js +130 -130
  617. package/dist/session/inbox.js +143 -143
  618. package/dist/session/info.js +3 -3
  619. package/dist/session/instruction-entry.js +82 -82
  620. package/dist/session/instruction-state.js +8 -8
  621. package/dist/session/instructions.js +135 -135
  622. package/dist/session/message-updater.js +4 -4
  623. package/dist/session/message.js +1 -1
  624. package/dist/session/model-request.js +154 -154
  625. package/dist/session/model-transport.js +5 -5
  626. package/dist/session/move.js +157 -157
  627. package/dist/session/projector.js +137 -137
  628. package/dist/session/prompt.js +143 -143
  629. package/dist/session/recent-text.js +1 -1
  630. package/dist/session/revert.js +133 -133
  631. package/dist/session/run-coordinator.js +3 -3
  632. package/dist/session/runner/index.js +3 -3
  633. package/dist/session/runner/llm.js +242 -242
  634. package/dist/session/runner/max-steps.js +1 -1
  635. package/dist/session/runner/model.js +111 -111
  636. package/dist/session/runner/publish-llm-event.js +144 -144
  637. package/dist/session/runner/retry.js +3 -3
  638. package/dist/session/runner/step.js +155 -155
  639. package/dist/session/runner/to-llm-message.js +131 -131
  640. package/dist/session/schema.js +1 -1
  641. package/dist/session/session.js +173 -173
  642. package/dist/session/shell.js +138 -138
  643. package/dist/session/skill.js +142 -142
  644. package/dist/session/sql.js +5 -5
  645. package/dist/session/stats.js +82 -82
  646. package/dist/session/store.js +136 -136
  647. package/dist/session/stored.js +2 -2
  648. package/dist/session/subagent-completion.js +1 -1
  649. package/dist/session/subagent-job.js +222 -222
  650. package/dist/session/system-prompt.js +5 -5
  651. package/dist/session/title.js +191 -191
  652. package/dist/session/to-session-error.js +143 -143
  653. package/dist/session/transfer.js +225 -225
  654. package/dist/session/usage.js +1 -1
  655. package/dist/session.js +218 -218
  656. package/dist/shell/parse.js +6 -6
  657. package/dist/shell/result.js +1 -1
  658. package/dist/shell/scan.js +1 -1
  659. package/dist/shell/select.js +15 -15
  660. package/dist/shell.js +140 -140
  661. package/dist/skill/discovery.js +6 -6
  662. package/dist/skill/instructions.js +144 -144
  663. package/dist/skill.js +153 -153
  664. package/dist/snapshot.js +102 -102
  665. package/dist/state.js +1 -1
  666. package/dist/tool/html-markdown.js +1 -1
  667. package/dist/tool/http-body.js +1 -1
  668. package/dist/tool/mcp.js +166 -166
  669. package/dist/tool/plugin/edit.js +159 -159
  670. package/dist/tool/plugin/file-diff.js +1 -1
  671. package/dist/tool/plugin/glob.js +163 -163
  672. package/dist/tool/plugin/grep.js +163 -163
  673. package/dist/tool/plugin/image-generate.js +232 -232
  674. package/dist/tool/plugin/mcp-resource.js +157 -157
  675. package/dist/tool/plugin/opencode.js +156 -156
  676. package/dist/tool/plugin/patch.js +161 -161
  677. package/dist/tool/plugin/question.js +139 -139
  678. package/dist/tool/plugin/read.js +158 -158
  679. package/dist/tool/plugin/schedule.js +222 -222
  680. package/dist/tool/plugin/shell.js +223 -223
  681. package/dist/tool/plugin/skill.js +150 -150
  682. package/dist/tool/plugin/subagent.js +229 -229
  683. package/dist/tool/plugin/todo.js +148 -148
  684. package/dist/tool/plugin/webfetch.js +150 -150
  685. package/dist/tool/plugin/websearch.js +148 -148
  686. package/dist/tool/plugin/write.js +161 -161
  687. package/dist/tool/read-filesystem.js +111 -111
  688. package/dist/tool/runtime.js +1 -1
  689. package/dist/tool-output.js +7 -7
  690. package/dist/tool.js +14 -14
  691. package/dist/usage-limits.js +98 -98
  692. package/dist/util/error-summary.js +1 -1
  693. package/dist/util/git-executable.js +3 -3
  694. package/dist/util/lazy.js +1 -1
  695. package/dist/util/slug.js +1 -1
  696. package/dist/util/token.js +1 -1
  697. package/dist/util/which.js +1 -1
  698. package/dist/util/wildcard.js +1 -1
  699. package/dist/v1/config/agent.js +7 -7
  700. package/dist/v1/config/command.js +3 -3
  701. package/dist/v1/config/mcp.js +4 -4
  702. package/dist/v1/config/migrate.js +103 -103
  703. package/dist/v1/config/permission.js +1 -1
  704. package/dist/v1/config/plugin.js +1 -1
  705. package/dist/v1/config/provider-options.js +1 -1
  706. package/dist/v1/config/provider.js +4 -4
  707. package/dist/variant.js +104 -104
  708. package/dist/vcs/patch.js +1 -1
  709. package/dist/vcs.js +100 -100
  710. package/dist/voice.js +95 -95
  711. package/dist/websearch.js +93 -93
  712. package/dist/wellknown/plugin.js +83 -83
  713. package/dist/wellknown.js +88 -88
  714. package/dist/workspace/driver.js +3 -3
  715. package/dist/workspace/sql.js +1 -1
  716. package/dist/workspace.js +85 -85
  717. package/dist/worktree/directory.js +2 -2
  718. package/dist/worktree/git.js +11 -11
  719. package/dist/worktree/sql.js +5 -5
  720. package/dist/worktree/strategies.js +100 -100
  721. package/dist/worktree.js +107 -107
  722. package/package.json +8 -8
  723. package/dist/chunks/form-aeq1g8b0.js +0 -257
  724. package/dist/chunks/form-d77dj7jw.js +0 -18
  725. /package/dist/chunks/{form-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
  726. /package/dist/chunks/{form-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
  727. /package/dist/chunks/{form-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
  728. /package/dist/chunks/{form-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
  729. /package/dist/chunks/{form-1jakw16s.js → credential-1jakw16s.js} +0 -0
  730. /package/dist/chunks/{form-1kah00gy.js → credential-1kah00gy.js} +0 -0
  731. /package/dist/chunks/{form-24dcb14g.js → credential-24dcb14g.js} +0 -0
  732. /package/dist/chunks/{form-2710q6r3.js → credential-2710q6r3.js} +0 -0
  733. /package/dist/chunks/{form-2bv980vf.js → credential-2bv980vf.js} +0 -0
  734. /package/dist/chunks/{form-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
  735. /package/dist/chunks/{form-359p4xyc.js → credential-359p4xyc.js} +0 -0
  736. /package/dist/chunks/{form-3asan66x.js → credential-3asan66x.js} +0 -0
  737. /package/dist/chunks/{form-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
  738. /package/dist/chunks/{form-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
  739. /package/dist/chunks/{form-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
  740. /package/dist/chunks/{form-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
  741. /package/dist/chunks/{form-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
  742. /package/dist/chunks/{form-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
  743. /package/dist/chunks/{form-53557ph1.js → credential-53557ph1.js} +0 -0
  744. /package/dist/chunks/{form-550bvhaj.js → credential-550bvhaj.js} +0 -0
  745. /package/dist/chunks/{form-5w3e23ze.js → credential-5w3e23ze.js} +0 -0
  746. /package/dist/chunks/{form-6prwharc.js → credential-6prwharc.js} +0 -0
  747. /package/dist/chunks/{form-6q2bdcd1.js → credential-6q2bdcd1.js} +0 -0
  748. /package/dist/chunks/{form-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
  749. /package/dist/chunks/{form-7m9af43g.js → credential-7m9af43g.js} +0 -0
  750. /package/dist/chunks/{form-822emrt2.js → credential-822emrt2.js} +0 -0
  751. /package/dist/chunks/{form-84wd9syh.js → credential-84wd9syh.js} +0 -0
  752. /package/dist/chunks/{form-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
  753. /package/dist/chunks/{form-8n3pysct.js → credential-8n3pysct.js} +0 -0
  754. /package/dist/chunks/{form-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
  755. /package/dist/chunks/{form-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
  756. /package/dist/chunks/{form-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
  757. /package/dist/chunks/{form-a058387c.js → credential-a058387c.js} +0 -0
  758. /package/dist/chunks/{form-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
  759. /package/dist/chunks/{form-af5trqkr.js → credential-af5trqkr.js} +0 -0
  760. /package/dist/chunks/{form-afrmfg78.js → credential-afrmfg78.js} +0 -0
  761. /package/dist/chunks/{form-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
  762. /package/dist/chunks/{form-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
  763. /package/dist/chunks/{form-beh6qq61.js → credential-beh6qq61.js} +0 -0
  764. /package/dist/chunks/{form-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
  765. /package/dist/chunks/{form-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
  766. /package/dist/chunks/{form-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
  767. /package/dist/chunks/{form-cqv5kn06.js → credential-cqv5kn06.js} +0 -0
  768. /package/dist/chunks/{form-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
  769. /package/dist/chunks/{form-d9fn303g.js → credential-d9fn303g.js} +0 -0
  770. /package/dist/chunks/{form-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
  771. /package/dist/chunks/{form-dajrwvna.js → credential-dajrwvna.js} +0 -0
  772. /package/dist/chunks/{form-dap0rakb.js → credential-dap0rakb.js} +0 -0
  773. /package/dist/chunks/{form-df08tz66.js → credential-df08tz66.js} +0 -0
  774. /package/dist/chunks/{form-dy18nga0.js → credential-dy18nga0.js} +0 -0
  775. /package/dist/chunks/{form-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
  776. /package/dist/chunks/{form-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
  777. /package/dist/chunks/{form-ec1grn59.js → credential-ec1grn59.js} +0 -0
  778. /package/dist/chunks/{form-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
  779. /package/dist/chunks/{form-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
  780. /package/dist/chunks/{form-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
  781. /package/dist/chunks/{form-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
  782. /package/dist/chunks/{form-faypxj3z.js → credential-faypxj3z.js} +0 -0
  783. /package/dist/chunks/{form-fd410y7t.js → credential-fd410y7t.js} +0 -0
  784. /package/dist/chunks/{form-fkpq3x5p.js → credential-fkpq3x5p.js} +0 -0
  785. /package/dist/chunks/{form-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
  786. /package/dist/chunks/{form-g86h250q.js → credential-g86h250q.js} +0 -0
  787. /package/dist/chunks/{form-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
  788. /package/dist/chunks/{form-gftt206x.js → credential-gftt206x.js} +0 -0
  789. /package/dist/chunks/{form-hcxmzztb.js → credential-hcxmzztb.js} +0 -0
  790. /package/dist/chunks/{form-hk9envan.js → credential-hk9envan.js} +0 -0
  791. /package/dist/chunks/{form-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
  792. /package/dist/chunks/{form-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
  793. /package/dist/chunks/{form-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
  794. /package/dist/chunks/{form-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
  795. /package/dist/chunks/{form-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
  796. /package/dist/chunks/{form-jwr30sdr.js → credential-jwr30sdr.js} +0 -0
  797. /package/dist/chunks/{form-jze0r7bz.js → credential-jze0r7bz.js} +0 -0
  798. /package/dist/chunks/{form-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
  799. /package/dist/chunks/{form-m18g726c.js → credential-m18g726c.js} +0 -0
  800. /package/dist/chunks/{form-mp448xyj.js → credential-mp448xyj.js} +0 -0
  801. /package/dist/chunks/{form-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
  802. /package/dist/chunks/{form-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
  803. /package/dist/chunks/{form-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
  804. /package/dist/chunks/{form-ncqqe42p.js → credential-ncqqe42p.js} +0 -0
  805. /package/dist/chunks/{form-nh4v3znn.js → credential-nh4v3znn.js} +0 -0
  806. /package/dist/chunks/{form-njntx4h6.js → credential-njntx4h6.js} +0 -0
  807. /package/dist/chunks/{form-p71gwv9c.js → credential-p71gwv9c.js} +0 -0
  808. /package/dist/chunks/{form-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
  809. /package/dist/chunks/{form-q74kybfr.js → credential-q74kybfr.js} +0 -0
  810. /package/dist/chunks/{form-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
  811. /package/dist/chunks/{form-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
  812. /package/dist/chunks/{form-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
  813. /package/dist/chunks/{form-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
  814. /package/dist/chunks/{form-qgfkghh1.js → credential-qgfkghh1.js} +0 -0
  815. /package/dist/chunks/{form-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
  816. /package/dist/chunks/{form-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
  817. /package/dist/chunks/{form-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
  818. /package/dist/chunks/{form-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
  819. /package/dist/chunks/{form-ty7weeps.js → credential-ty7weeps.js} +0 -0
  820. /package/dist/chunks/{form-ve7vex1e.js → credential-ve7vex1e.js} +0 -0
  821. /package/dist/chunks/{form-vx3jgdek.js → credential-vx3jgdek.js} +0 -0
  822. /package/dist/chunks/{form-w803qqfp.js → credential-w803qqfp.js} +0 -0
  823. /package/dist/chunks/{form-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
  824. /package/dist/chunks/{form-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
  825. /package/dist/chunks/{form-wtztk69x.js → credential-wtztk69x.js} +0 -0
  826. /package/dist/chunks/{form-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
  827. /package/dist/chunks/{form-x61499pn.js → credential-x61499pn.js} +0 -0
  828. /package/dist/chunks/{form-y44na4kk.js → credential-y44na4kk.js} +0 -0
  829. /package/dist/chunks/{form-y8f7s663.js → credential-y8f7s663.js} +0 -0
  830. /package/dist/chunks/{form-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
  831. /package/dist/chunks/{form-z5v4ffb3.js → credential-z5v4ffb3.js} +0 -0
  832. /package/dist/chunks/{form-z9919s4g.js → credential-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./form-pz1n0gq8.js";
4
+ } from "./credential-c1z88dhz.js";
5
5
  import {
6
6
  Service86,
7
7
  node90
8
- } from "./form-va23bk0p.js";
8
+ } from "./credential-s8xxgn4g.js";
9
9
  import {
10
- Service54,
11
- node56
12
- } from "./form-asvv9q89.js";
10
+ Service55,
11
+ node58
12
+ } from "./credential-mv2fpsaq.js";
13
13
  import {
14
- Service47,
15
- node49
16
- } from "./form-sq4s6wq1.js";
14
+ Service52,
15
+ node55
16
+ } from "./credential-p580ev26.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./form-ec1grn59.js";
19
+ } from "./credential-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./form-d2887f8n.js";
21
+ make18
22
+ } from "./credential-ssfehs1z.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service44
26
- } from "./form-ztf6n3de.js";
25
+ Service51
26
+ } from "./credential-xsact9zs.js";
27
27
  import {
28
- Service62,
29
- node65
30
- } from "./form-hjb7zt8b.js";
28
+ Service58,
29
+ node61
30
+ } from "./credential-2g02qr0r.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./form-y2wa3a8s.js";
33
+ } from "./credential-m0w0bb4h.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./form-h50dg4rv.js";
36
+ } from "./credential-2xpqyv5y.js";
37
37
  import {
38
38
  __export
39
- } from "./form-9rqn6x4v.js";
39
+ } from "./credential-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service43,
44
+ Service: () => Service50,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer18,
47
- node: () => node46,
46
+ layer: () => layer22,
47
+ node: () => node54,
48
48
  noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service43 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service50 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer18 = Layer.effect(Service43, Effect.gen(function* () {
63
- const store = yield* Service62;
64
- const instances = yield* Service47;
62
+ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
63
+ const store = yield* Service58;
64
+ const instances = yield* Service52;
65
65
  const bus = yield* Service86;
66
- const jobs = yield* Service54;
66
+ const jobs = yield* Service55;
67
67
  const db = (yield* Service87).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service51.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable, result.stepped)
84
84
  });
85
85
  });
86
- const coordinator = yield* make17({
86
+ const coordinator = yield* make18({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service43.of({
107
+ return Service50.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node46 = makeGlobalNode({
127
- service: Service43,
128
- layer: layer18,
129
- deps: [node65, node49, node90, node91, node56]
126
+ var node54 = makeGlobalNode({
127
+ service: Service50,
128
+ layer: layer22,
129
+ deps: [node61, node55, node90, node91, node58]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service43, Service43.of({
131
+ var noopLayer3 = Layer.succeed(Service50, Service50.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service43, Service43.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service43, terminal2, layer18, node46, noopLayer3, exports_execution };
140
+ export { Service50, terminal2, layer22, node54, noopLayer3, exports_execution };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ID13,
3
3
  mergeOverlay2
4
- } from "./form-zht7fzxj.js";
4
+ } from "./credential-wnk70846.js";
5
5
  import {
6
6
  ID12,
7
7
  VariantID2,
8
8
  Info21,
9
9
  compatibility2
10
- } from "./form-rr09v45e.js";
10
+ } from "./credential-ac39bgbj.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./credential-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load3
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load4
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load4(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load4(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load3, derive2, exports_models };
147
+ export { get3, load4, derive3, exports_models2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./form-rb9dy4dg.js";
3
+ } from "./credential-rb9dy4dg.js";
4
4
  import {
5
- ID6,
6
- Service40
7
- } from "./form-r1n5a4qe.js";
5
+ ID7,
6
+ Service48
7
+ } from "./credential-1t4t88x3.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./form-vx3jgdek.js";
10
+ } from "./credential-vx3jgdek.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./form-h4p3pyf8.js";
13
+ } from "./credential-h4p3pyf8.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./form-8z6m94af.js";
16
+ } from "./credential-mb7mbhnz.js";
17
17
  import {
18
18
  __export
19
- } from "./form-9rqn6x4v.js";
19
+ } from "./credential-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service40;
84
+ const snapshot = yield* Service48;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID6.make(from),
91
- to: ID6.make(to),
90
+ from: ID7.make(from),
91
+ to: ID7.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service83
3
- } from "./form-dyd2a8eg.js";
2
+ Service80
3
+ } from "./credential-998ewk3b.js";
4
4
  import {
5
5
  Service78
6
- } from "./form-796fpssb.js";
6
+ } from "./credential-mv2126ff.js";
7
7
  import {
8
- Service13,
8
+ Service18,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./form-h4rvxyzb.js";
11
+ } from "./credential-44jn1514.js";
12
12
  import {
13
- Service17
14
- } from "./form-xyj2z7t9.js";
13
+ Service14
14
+ } from "./credential-6869n964.js";
15
15
  import {
16
- Service60
17
- } from "./form-4n77906h.js";
16
+ Service56
17
+ } from "./credential-2wav6r65.js";
18
18
  import {
19
- Service53,
19
+ Service19,
20
20
  resolvePath2
21
- } from "./form-kmfe92z1.js";
21
+ } from "./credential-rrfeqsm8.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./form-6prwharc.js";
24
+ } from "./credential-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./form-9rqn6x4v.js";
27
+ } from "./credential-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input4,
34
- Output: () => Output3,
35
- Plugin: () => Plugin40,
36
- name: () => name4
33
+ Input: () => Input2,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin38,
36
+ name: () => name2
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai/effect";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name4 = "edit";
43
- var Input4 = Schema.Struct({
42
+ var name2 = "edit";
43
+ var Input2 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output3 = Schema.Struct({
53
+ var Output2 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin40 = {
193
+ var Plugin38 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service53;
197
- const fileMutation = yield* Service13;
196
+ const access = yield* Service19;
197
+ const fileMutation = yield* Service18;
198
198
  const environment = yield* Service78;
199
- const formatter = yield* Service17;
200
- const location = yield* Service83;
201
- const permission = yield* Service60;
199
+ const formatter = yield* Service14;
200
+ const location = yield* Service80;
201
+ const permission = yield* Service56;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name4,
203
+ name: name2,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input4,
207
- output: Output3,
206
+ input: Input2,
207
+ output: Output2,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin40 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name4, Input4, Output3, Plugin40, exports_edit };
279
+ export { name2, Input2, Output2, Plugin38, exports_edit };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./form-svcy3p9a.js";
5
+ } from "./credential-svcy3p9a.js";
6
6
  import {
7
7
  __export
8
- } from "./form-9rqn6x4v.js";
8
+ } from "./credential-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/session/recent-text.ts
6
6
  var exports_recent_text = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  policy3
3
- } from "./form-wnhgecwx.js";
3
+ } from "./credential-wnhgecwx.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./form-ec1grn59.js";
6
+ } from "./credential-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./credential-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID14,
3
- Service70,
4
- node73
5
- } from "./form-6d7rzhz6.js";
2
+ ID17,
3
+ Service83,
4
+ node87
5
+ } from "./credential-aafav67h.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service69,
19
- node72
20
- } from "./form-zht7fzxj.js";
18
+ Service72,
19
+ node75
20
+ } from "./credential-wnk70846.js";
21
21
  import {
22
- Service55,
23
- node57
24
- } from "./form-e6k079pp.js";
22
+ Service71,
23
+ node74
24
+ } from "./credential-afhevj5w.js";
25
25
  import {
26
26
  ID12,
27
27
  VariantID2,
28
28
  Ref3,
29
- Service68,
30
- node71,
29
+ Service64,
30
+ node67,
31
31
  supportsText2
32
- } from "./form-rr09v45e.js";
32
+ } from "./credential-ac39bgbj.js";
33
33
  import {
34
34
  __export
35
- } from "./form-9rqn6x4v.js";
35
+ } from "./credential-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service51,
44
+ Service: () => Service63,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer21,
52
- node: () => node53,
51
+ layer: () => layer26,
52
+ node: () => node66,
53
53
  resolveModel: () => resolveModel3,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
130
130
  }
131
131
  }
132
132
 
133
- class Service51 extends Context.Service()("@opencode/ModelResolver") {
133
+ class Service63 extends Context.Service()("@opencode/ModelResolver") {
134
134
  }
135
135
  var withVariant2 = (model, variantID) => {
136
136
  const id = variantID === "default" ? undefined : variantID;
@@ -297,19 +297,19 @@ var causeMessage = (cause) => {
297
297
  };
298
298
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
299
299
  var hasPackage2 = (model) => Boolean(model.package);
300
- var layer21 = Layer.effect(Service51, Effect.gen(function* () {
301
- const providers = yield* Service69;
302
- const models = yield* Service68;
303
- const integrations = yield* Service70;
300
+ var layer26 = Layer.effect(Service63, Effect.gen(function* () {
301
+ const providers = yield* Service72;
302
+ const models = yield* Service64;
303
+ const integrations = yield* Service83;
304
304
  const npm = yield* Npm.Service;
305
- const aisdk = yield* Service55;
305
+ const aisdk = yield* Service71;
306
306
  const dependencies = {
307
307
  loadPackage: (specifier) => loadPackage2(specifier, npm),
308
308
  loadAISDK: (model) => aisdk.model(model)
309
309
  };
310
310
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
311
311
  const provider = yield* providers.get(selected.providerID);
312
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
312
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
313
313
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
314
314
  const selectedVariant = yield* withVariant2(selected, variant);
315
315
  const runtimeInfo = {
@@ -345,7 +345,7 @@ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
345
345
  const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
346
346
  return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
347
347
  });
348
- return Service51.of({
348
+ return Service63.of({
349
349
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
350
350
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
351
351
  if (!selected)
@@ -368,10 +368,10 @@ function usesAPIKeyAuth(packageName) {
368
368
  const name = packageName2(packageName);
369
369
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
370
370
  }
371
- var node53 = makeLocationNode({
372
- service: Service51,
373
- layer: layer21,
374
- deps: [node72, node71, node73, Npm.node, node57]
371
+ var node66 = makeLocationNode({
372
+ service: Service63,
373
+ layer: layer26,
374
+ deps: [node75, node67, node87, Npm.node, node74]
375
375
  });
376
376
 
377
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer21, node53, exports_model_resolver };
377
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service63, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer26, node66, exports_model_resolver };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service86
3
- } from "./form-va23bk0p.js";
3
+ } from "./credential-s8xxgn4g.js";
4
4
  import {
5
- Service67,
6
- Event12
7
- } from "./form-x07e5g67.js";
5
+ Service61,
6
+ Event11
7
+ } from "./credential-h5kmqadq.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./credential-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
@@ -21,7 +21,7 @@ var Plugin37 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service86;
24
- const wellknown = yield* Service67;
24
+ const wellknown = yield* Service61;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,7 +41,7 @@ var Plugin37 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47