@opencode/core 2.0.6 → 2.0.8

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{persistent-pty-byea612g.js → provider-01gts7tv.js} +24 -15
  8. package/dist/chunks/{persistent-pty-em6q0j7w.js → provider-09nc05e3.js} +11 -11
  9. package/dist/chunks/{persistent-pty-v85t9p8e.js → provider-0b3fz7z6.js} +18 -18
  10. package/dist/chunks/{persistent-pty-g3v3qf95.js → provider-0esb4psk.js} +5 -5
  11. package/dist/chunks/{persistent-pty-xh49vxj8.js → provider-0gapa1rm.js} +5 -5
  12. package/dist/chunks/provider-0mesazry.js +4 -0
  13. package/dist/chunks/{persistent-pty-dhwr7h25.js → provider-0ne02q5f.js} +8 -8
  14. package/dist/chunks/{persistent-pty-ry98d82p.js → provider-0p838j47.js} +20 -20
  15. package/dist/chunks/{persistent-pty-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{persistent-pty-0q0f95c6.js → provider-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{persistent-pty-23mp22r0.js → provider-0qwa4caw.js} +17 -17
  18. package/dist/chunks/{persistent-pty-06dd7vd0.js → provider-0t0bcxwx.js} +15 -15
  19. package/dist/chunks/{persistent-pty-tbpqatpq.js → provider-0t25cr4h.js} +9 -9
  20. package/dist/chunks/{persistent-pty-px9mqhce.js → provider-0xrq8eqy.js} +27 -27
  21. package/dist/chunks/{persistent-pty-2qke6n7n.js → provider-11psvd52.js} +15 -15
  22. package/dist/chunks/{persistent-pty-mns2zg1r.js → provider-15r2v9gh.js} +43 -43
  23. package/dist/chunks/{persistent-pty-a2ew8a62.js → provider-19vf66h0.js} +4 -4
  24. package/dist/chunks/provider-1admmex6.js +252 -0
  25. package/dist/chunks/{persistent-pty-r0185wf8.js → provider-1d5f8fmh.js} +21 -21
  26. package/dist/chunks/{persistent-pty-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{persistent-pty-hz2whg8s.js → provider-1f8ext69.js} +6 -6
  28. package/dist/chunks/{persistent-pty-t1dawjzh.js → provider-1gfgk62c.js} +8 -8
  29. package/dist/chunks/{persistent-pty-5cyty3r2.js → provider-1kc6bgj5.js} +297 -297
  30. package/dist/chunks/{persistent-pty-d3yjsxey.js → provider-1npfg0xs.js} +7 -7
  31. package/dist/chunks/{persistent-pty-svvemcs6.js → provider-1p7te6jw.js} +6 -6
  32. package/dist/chunks/{persistent-pty-wp9pt51y.js → provider-1qjdpwr6.js} +9 -9
  33. package/dist/chunks/{persistent-pty-axsc7vaz.js → provider-1rcq3xh2.js} +1 -1
  34. package/dist/chunks/{persistent-pty-ge476xvj.js → provider-1wbt76dk.js} +174 -174
  35. package/dist/chunks/{persistent-pty-21r38tys.js → provider-21r38tys.js} +1 -1
  36. package/dist/chunks/{persistent-pty-2402vzrj.js → provider-2402vzrj.js} +1 -1
  37. package/dist/chunks/{persistent-pty-29x78va6.js → provider-29x78va6.js} +2 -2
  38. package/dist/chunks/{persistent-pty-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{persistent-pty-w21bzq9q.js → provider-2a6rn6yr.js} +5 -5
  40. package/dist/chunks/{persistent-pty-9rbga6h0.js → provider-2hd5d5xt.js} +32 -32
  41. package/dist/chunks/{persistent-pty-hfwabszm.js → provider-2p6av61j.js} +12 -12
  42. package/dist/chunks/{persistent-pty-hes1j7ga.js → provider-2q8c0gm7.js} +9 -9
  43. package/dist/chunks/{persistent-pty-gfkdt5qx.js → provider-2sfvcfsn.js} +6 -6
  44. package/dist/chunks/{persistent-pty-x3h8tes1.js → provider-2sraqb63.js} +2 -2
  45. package/dist/chunks/{persistent-pty-pxnvhszz.js → provider-2tw8fa6w.js} +4 -4
  46. package/dist/chunks/{persistent-pty-55wk8xf1.js → provider-34v9mh2z.js} +16 -16
  47. package/dist/chunks/{persistent-pty-4aps5ycz.js → provider-351g3160.js} +5 -5
  48. package/dist/chunks/{persistent-pty-gbwj81ez.js → provider-37y816cy.js} +23 -23
  49. package/dist/chunks/{persistent-pty-kesv6def.js → provider-38kvz03f.js} +20 -20
  50. package/dist/chunks/{persistent-pty-j10zwm3w.js → provider-3ck6fvg6.js} +23 -23
  51. package/dist/chunks/{persistent-pty-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
  52. package/dist/chunks/{persistent-pty-1t0nfscf.js → provider-3gdftj2q.js} +67 -67
  53. package/dist/chunks/{persistent-pty-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
  54. package/dist/chunks/{persistent-pty-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{persistent-pty-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{persistent-pty-ze07024f.js → provider-3y2ngnym.js} +4 -4
  57. package/dist/chunks/{persistent-pty-zbxvfzam.js → provider-4c30dr7a.js} +3 -3
  58. package/dist/chunks/{persistent-pty-h6r3nrb9.js → provider-4dgbcxzg.js} +4 -4
  59. package/dist/chunks/{persistent-pty-0f5egwty.js → provider-4g86yzmg.js} +26 -26
  60. package/dist/chunks/{persistent-pty-gek3hqmr.js → provider-4m1f7c2g.js} +26 -26
  61. package/dist/chunks/{persistent-pty-4ka5ffeb.js → provider-4z99h2j9.js} +31 -31
  62. package/dist/chunks/{persistent-pty-51a2ymsf.js → provider-54ttrj93.js} +42 -42
  63. package/dist/chunks/{persistent-pty-5c4hm403.js → provider-5c4hm403.js} +3 -3
  64. package/dist/chunks/{persistent-pty-5daktx2q.js → provider-5daktx2q.js} +1 -1
  65. package/dist/chunks/{persistent-pty-axg0gedx.js → provider-5npzb8nr.js} +25 -25
  66. package/dist/chunks/{persistent-pty-5we05nd2.js → provider-5sf0enm2.js} +12 -12
  67. package/dist/chunks/{persistent-pty-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{persistent-pty-xyxzmjjm.js → provider-5vcg79ee.js} +5 -5
  69. package/dist/chunks/{persistent-pty-hcf1qdgt.js → provider-5yqhmvcr.js} +44 -44
  70. package/dist/chunks/{persistent-pty-mhhfs06f.js → provider-5zwdrvn4.js} +82 -82
  71. package/dist/chunks/{persistent-pty-d9tmdxxh.js → provider-667yc4c2.js} +46 -46
  72. package/dist/chunks/{persistent-pty-669tq793.js → provider-669tq793.js} +1 -1
  73. package/dist/chunks/{persistent-pty-8szzmgce.js → provider-67dmnq4v.js} +7 -7
  74. package/dist/chunks/{persistent-pty-pqkcmren.js → provider-6cdpcxhv.js} +2 -2
  75. package/dist/chunks/{persistent-pty-m2xyr0c9.js → provider-6e4qnhr8.js} +11 -11
  76. package/dist/chunks/{persistent-pty-6msgmcgs.js → provider-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{persistent-pty-qydamkj6.js → provider-6pwmqge3.js} +9 -9
  78. package/dist/chunks/{persistent-pty-tqf3jwg0.js → provider-72376wrz.js} +6 -6
  79. package/dist/chunks/{persistent-pty-zdd5h57h.js → provider-729zp0dx.js} +18 -18
  80. package/dist/chunks/{persistent-pty-74rrnwt7.js → provider-76p4c97e.js} +5 -5
  81. package/dist/chunks/{persistent-pty-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{persistent-pty-ag9w8cw1.js → provider-7bmx80wk.js} +5 -5
  83. package/dist/chunks/{persistent-pty-7dqw4kz8.js → provider-7dqw4kz8.js} +1 -1
  84. package/dist/chunks/{persistent-pty-mvf3rv83.js → provider-7k1xech5.js} +12 -12
  85. package/dist/chunks/{persistent-pty-k4vvbs8q.js → provider-7mhwkgkf.js} +8 -8
  86. package/dist/chunks/{persistent-pty-fjqrscp2.js → provider-7q56wrxt.js} +4 -4
  87. package/dist/chunks/{persistent-pty-z5dnp9d4.js → provider-7qkw4ngt.js} +25 -25
  88. package/dist/chunks/{persistent-pty-b1a1n7cj.js → provider-7w99qc9d.js} +3 -3
  89. package/dist/chunks/{persistent-pty-q5rhn9x0.js → provider-80nc4spm.js} +13 -13
  90. package/dist/chunks/{persistent-pty-qe3x1bke.js → provider-81zyrma5.js} +31 -31
  91. package/dist/chunks/{persistent-pty-5r49kz0e.js → provider-887z4k6m.js} +23 -23
  92. package/dist/chunks/{persistent-pty-y99sa8tk.js → provider-88r4h6e3.js} +21 -21
  93. package/dist/chunks/{persistent-pty-cpxfwkbg.js → provider-8a7sh5jm.js} +10 -10
  94. package/dist/chunks/{persistent-pty-sd29ckz9.js → provider-8b2r4c2a.js} +11 -11
  95. package/dist/chunks/{persistent-pty-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{persistent-pty-crxeq1ff.js → provider-8ke5vzqq.js} +3 -3
  97. package/dist/chunks/{persistent-pty-95t0hkjg.js → provider-8m9ckcb3.js} +5 -5
  98. package/dist/chunks/{persistent-pty-hdb7f41y.js → provider-8r5fzj69.js} +15 -15
  99. package/dist/chunks/{persistent-pty-z84pa76x.js → provider-8xvmqg79.js} +5 -5
  100. package/dist/chunks/{persistent-pty-frk1q65v.js → provider-91g84dh8.js} +34 -34
  101. package/dist/chunks/{persistent-pty-kkpc3vmh.js → provider-9a3rawad.js} +15 -15
  102. package/dist/chunks/{persistent-pty-z1zwcfv4.js → provider-9sbrwvac.js} +10 -10
  103. package/dist/chunks/{persistent-pty-p23m4hfg.js → provider-9vsnydsb.js} +8 -8
  104. package/dist/chunks/{persistent-pty-fhs97t90.js → provider-9wpgsbre.js} +9 -9
  105. package/dist/chunks/{persistent-pty-aaet6srn.js → provider-aaet6srn.js} +2 -2
  106. package/dist/chunks/{persistent-pty-wx6gfcwp.js → provider-actjby0x.js} +16 -16
  107. package/dist/chunks/{persistent-pty-nrby4tch.js → provider-aj1d5q5j.js} +5 -5
  108. package/dist/chunks/{persistent-pty-zjqwybhk.js → provider-awdcnpvv.js} +18 -18
  109. package/dist/chunks/{persistent-pty-zvh69c5a.js → provider-b5x7220n.js} +8 -8
  110. package/dist/chunks/{persistent-pty-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{persistent-pty-dfe8djrf.js → provider-bct739vz.js} +4 -4
  112. package/dist/chunks/{persistent-pty-ayxtpegw.js → provider-bmwcfc8x.js} +30 -30
  113. package/dist/chunks/{persistent-pty-gwk30na0.js → provider-bnyd0tae.js} +24 -24
  114. package/dist/chunks/{persistent-pty-azqw3jb1.js → provider-brwwdzr5.js} +3 -3
  115. package/dist/chunks/{persistent-pty-22k63xb0.js → provider-byyezdhj.js} +11 -11
  116. package/dist/chunks/{persistent-pty-tamw7e85.js → provider-cg1g2n28.js} +14 -14
  117. package/dist/chunks/{persistent-pty-45ke46p8.js → provider-cm7tjn9h.js} +11 -11
  118. package/dist/chunks/{persistent-pty-ene4sphv.js → provider-cnkj3bkk.js} +6 -6
  119. package/dist/chunks/{persistent-pty-csf2jhsg.js → provider-csf2jhsg.js} +1 -1
  120. package/dist/chunks/{persistent-pty-wn0nt2j8.js → provider-cxvz4c6f.js} +24 -24
  121. package/dist/chunks/{persistent-pty-mvpt2jq4.js → provider-cynhgza1.js} +4 -4
  122. package/dist/chunks/{persistent-pty-4st9gtz8.js → provider-d683g0r8.js} +11 -11
  123. package/dist/chunks/{persistent-pty-8y1sr6jq.js → provider-d8rms5sb.js} +7 -7
  124. package/dist/chunks/{persistent-pty-57ez7d0k.js → provider-d9s573fh.js} +2 -2
  125. package/dist/chunks/{persistent-pty-5dwyakjy.js → provider-dcykxfvx.js} +22 -22
  126. package/dist/chunks/{persistent-pty-dj2t23y0.js → provider-dj2t23y0.js} +2 -2
  127. package/dist/chunks/{persistent-pty-f2pnfy76.js → provider-dj316k4n.js} +15 -15
  128. package/dist/chunks/{persistent-pty-j542mbwn.js → provider-drdkww6h.js} +10 -10
  129. package/dist/chunks/{persistent-pty-krracc70.js → provider-ds9fva7f.js} +24 -24
  130. package/dist/chunks/{persistent-pty-amys79f3.js → provider-dwn3ee68.js} +13 -13
  131. package/dist/chunks/{persistent-pty-bjyddaxd.js → provider-e2v82dka.js} +15 -15
  132. package/dist/chunks/{persistent-pty-2ptmrvab.js → provider-e38px6ch.js} +7 -7
  133. package/dist/chunks/{persistent-pty-0n9t5jdb.js → provider-e9a3e76h.js} +22 -22
  134. package/dist/chunks/{persistent-pty-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{persistent-pty-mg0hvqns.js → provider-eg8s060n.js} +20 -20
  136. package/dist/chunks/{persistent-pty-vnzr5dgv.js → provider-ejmhj0m2.js} +13 -13
  137. package/dist/chunks/{persistent-pty-t6xg0e00.js → provider-enbew5pp.js} +20 -20
  138. package/dist/chunks/{persistent-pty-4m8jz26w.js → provider-ep4ghje0.js} +10 -10
  139. package/dist/chunks/{persistent-pty-h03wrkyp.js → provider-erw5rpbs.js} +4 -3
  140. package/dist/chunks/{persistent-pty-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{persistent-pty-qk51h78h.js → provider-eymf4g3t.js} +9 -9
  142. package/dist/chunks/{persistent-pty-1z7bxdr8.js → provider-f3n8kt47.js} +23 -22
  143. package/dist/chunks/{persistent-pty-8649vrz9.js → provider-f466az3m.js} +4 -4
  144. package/dist/chunks/{persistent-pty-am60j996.js → provider-f9y7tnx7.js} +5 -5
  145. package/dist/chunks/{persistent-pty-ngp9tqdp.js → provider-fd13sxf6.js} +12 -12
  146. package/dist/chunks/{persistent-pty-yz26c8tn.js → provider-fkdcvybx.js} +46 -46
  147. package/dist/chunks/{persistent-pty-sgwh5nyn.js → provider-fqj9nv8j.js} +5 -5
  148. package/dist/chunks/{persistent-pty-p4dwv8bm.js → provider-ftrz1f8n.js} +10 -10
  149. package/dist/chunks/{persistent-pty-53vt59dk.js → provider-fva1abr5.js} +7 -7
  150. package/dist/chunks/{persistent-pty-fxbjtjnd.js → provider-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{persistent-pty-sx06aacx.js → provider-fy6z0q13.js} +6 -6
  152. package/dist/chunks/{persistent-pty-gjvcn921.js → provider-fygkmg88.js} +26 -26
  153. package/dist/chunks/{persistent-pty-cmwkp3r5.js → provider-g0445xdp.js} +4 -4
  154. package/dist/chunks/{persistent-pty-awsncmv7.js → provider-ga5vg9fv.js} +3 -3
  155. package/dist/chunks/{persistent-pty-63mn2t91.js → provider-gagp2ybg.js} +21 -21
  156. package/dist/chunks/{persistent-pty-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{persistent-pty-3esknjh8.js → provider-gs0zj1fa.js} +43 -43
  158. package/dist/chunks/{persistent-pty-y10wk092.js → provider-gzbkpp9m.js} +9 -9
  159. package/dist/chunks/{persistent-pty-mzwaw4s1.js → provider-h4v1hw2f.js} +13 -13
  160. package/dist/chunks/{persistent-pty-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{persistent-pty-vkwmxz0p.js → provider-h7j2c3yy.js} +8 -8
  162. package/dist/chunks/{persistent-pty-a89e0tac.js → provider-h90v2x9d.js} +4 -4
  163. package/dist/chunks/{persistent-pty-cs048tcd.js → provider-hafdg6x7.js} +33 -33
  164. package/dist/chunks/{persistent-pty-hdnk95c8.js → provider-hdnk95c8.js} +2 -2
  165. package/dist/chunks/{persistent-pty-hzhe0gvd.js → provider-hhbk8mpt.js} +17 -17
  166. package/dist/chunks/{persistent-pty-1hfd6v93.js → provider-hyybwahv.js} +22 -22
  167. package/dist/chunks/{persistent-pty-73tb2d7t.js → provider-j028xdjb.js} +3 -3
  168. package/dist/chunks/{persistent-pty-5kte75t4.js → provider-j14a3kcd.js} +11 -11
  169. package/dist/chunks/{persistent-pty-axebf1a4.js → provider-j22bfhxa.js} +8 -8
  170. package/dist/chunks/{persistent-pty-tk9ew89t.js → provider-j4g63x3f.js} +8 -8
  171. package/dist/chunks/{persistent-pty-j56e64zr.js → provider-j56e64zr.js} +1 -1
  172. package/dist/chunks/{persistent-pty-3cz8rj72.js → provider-jwbqhvyy.js} +5 -5
  173. package/dist/chunks/{persistent-pty-k3c624dm.js → provider-k3c624dm.js} +3 -3
  174. package/dist/chunks/{persistent-pty-5dp7vyn0.js → provider-k3kkjkzr.js} +10 -10
  175. package/dist/chunks/{persistent-pty-masp7ejj.js → provider-kb20yxx5.js} +8 -8
  176. package/dist/chunks/{persistent-pty-0kraehyv.js → provider-kdqk7nms.js} +11 -11
  177. package/dist/chunks/{persistent-pty-sj90gq8y.js → provider-kj5jsdb7.js} +47 -47
  178. package/dist/chunks/{persistent-pty-4ygxkg3r.js → provider-knkst9z5.js} +25 -25
  179. package/dist/chunks/{persistent-pty-fwwk8vbp.js → provider-kp8q1t60.js} +5 -5
  180. package/dist/chunks/{persistent-pty-ca0tf0b7.js → provider-kpt0jdz6.js} +21 -21
  181. package/dist/chunks/{persistent-pty-m0jqrx5p.js → provider-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{persistent-pty-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{persistent-pty-wsmhkxds.js → provider-m4t7fw5x.js} +11 -11
  184. package/dist/chunks/{persistent-pty-p2860678.js → provider-m7nn889r.js} +36 -36
  185. package/dist/chunks/{persistent-pty-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{persistent-pty-k859smhz.js → provider-mdyjdwxf.js} +37 -37
  187. package/dist/chunks/{persistent-pty-mfqp6xfm.js → provider-mfqp6xfm.js} +2 -2
  188. package/dist/chunks/{persistent-pty-xvrfmkdb.js → provider-mh1qkymb.js} +4 -4
  189. package/dist/chunks/{persistent-pty-nd83aj77.js → provider-mh5wyt4r.js} +19 -19
  190. package/dist/chunks/{persistent-pty-44ke2mar.js → provider-mmr7bq34.js} +8 -8
  191. package/dist/chunks/{persistent-pty-6vxbcxjn.js → provider-mpvph0fb.js} +13 -13
  192. package/dist/chunks/{persistent-pty-1ft1n4nv.js → provider-mr9xcrcq.js} +1 -1
  193. package/dist/chunks/{persistent-pty-e0rr02qg.js → provider-mt181yvh.js} +3 -3
  194. package/dist/chunks/{persistent-pty-w47dka18.js → provider-mwp3erwx.js} +23 -23
  195. package/dist/chunks/{persistent-pty-7knfbc9g.js → provider-mz9p79zm.js} +18 -18
  196. package/dist/chunks/{persistent-pty-6nppgqk8.js → provider-n69ejct9.js} +9 -9
  197. package/dist/chunks/{persistent-pty-nmv4qf5f.js → provider-nctzvp07.js} +6 -6
  198. package/dist/chunks/{persistent-pty-81jqfy1y.js → provider-nn8rne3z.js} +20 -20
  199. package/dist/chunks/{persistent-pty-4vq28sgd.js → provider-nng2ktcm.js} +2 -2
  200. package/dist/chunks/{persistent-pty-61d6m9y9.js → provider-nsk5ek41.js} +6 -6
  201. package/dist/chunks/{persistent-pty-r8b3me2j.js → provider-nwsdknbg.js} +13 -13
  202. package/dist/chunks/{persistent-pty-2jmaghvr.js → provider-p0b4ytnr.js} +6 -6
  203. package/dist/chunks/{persistent-pty-jppvw2tx.js → provider-p28j5sbe.js} +4 -3
  204. package/dist/chunks/{persistent-pty-xz3t98gq.js → provider-p8qz4fmk.js} +3 -3
  205. package/dist/chunks/{persistent-pty-j6sjxh3t.js → provider-phh6jpcy.js} +9 -9
  206. package/dist/chunks/{persistent-pty-gaezwqx6.js → provider-pjbk54rp.js} +17 -17
  207. package/dist/chunks/{persistent-pty-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{persistent-pty-pknna89w.js → provider-pknna89w.js} +1 -1
  209. package/dist/chunks/{persistent-pty-fvsyg6qk.js → provider-psbrwbtd.js} +5 -5
  210. package/dist/chunks/provider-q43a4jj4.js +49 -0
  211. package/dist/chunks/{persistent-pty-5esmf8a0.js → provider-qahhm8db.js} +33 -33
  212. package/dist/chunks/{persistent-pty-95z2c9pc.js → provider-qh2stzd9.js} +16 -16
  213. package/dist/chunks/{persistent-pty-1kvb0kat.js → provider-qq9garkb.js} +36 -36
  214. package/dist/chunks/{persistent-pty-xfkkasph.js → provider-qqeeq2t9.js} +7 -7
  215. package/dist/chunks/{persistent-pty-qsdy395h.js → provider-qsdy395h.js} +1 -1
  216. package/dist/chunks/{persistent-pty-07z5tzwy.js → provider-qwd61y7s.js} +5 -5
  217. package/dist/chunks/{persistent-pty-9x1fwner.js → provider-r4xt06hn.js} +11 -11
  218. package/dist/chunks/{persistent-pty-cppz10m7.js → provider-r963ve15.js} +12 -12
  219. package/dist/chunks/{persistent-pty-qcjne9p2.js → provider-rdkgddmz.js} +25 -25
  220. package/dist/chunks/{persistent-pty-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{persistent-pty-cwa6csj7.js → provider-rey5gbxv.js} +9 -9
  222. package/dist/chunks/{persistent-pty-jp86qn4x.js → provider-rj0ypf2k.js} +17 -17
  223. package/dist/chunks/{persistent-pty-yzdcysfh.js → provider-rjcfzdhg.js} +23 -23
  224. package/dist/chunks/{persistent-pty-h3jkmnye.js → provider-rmbwqpd3.js} +18 -18
  225. package/dist/chunks/{persistent-pty-zeh9ct20.js → provider-rq775frq.js} +2 -2
  226. package/dist/chunks/{persistent-pty-zmtxzyyy.js → provider-rsc2j7te.js} +17 -17
  227. package/dist/chunks/{persistent-pty-6yaq8bgj.js → provider-rscy38nb.js} +16 -16
  228. package/dist/chunks/{persistent-pty-49e0ywga.js → provider-rvm9em84.js} +3 -3
  229. package/dist/chunks/{persistent-pty-sej7e0cf.js → provider-s0hza5ac.js} +4 -4
  230. package/dist/chunks/{persistent-pty-s4enseaf.js → provider-s4enseaf.js} +2 -2
  231. package/dist/chunks/{persistent-pty-5smkf6vr.js → provider-s6cyt6ak.js} +14 -14
  232. package/dist/chunks/{persistent-pty-7ac170kv.js → provider-sdbkfcvv.js} +4 -4
  233. package/dist/chunks/{persistent-pty-vsp1fds9.js → provider-t51qk8jz.js} +4 -4
  234. package/dist/chunks/{persistent-pty-s8d7rejh.js → provider-t550f9t1.js} +4 -4
  235. package/dist/chunks/{persistent-pty-g2er3606.js → provider-t5a1ectr.js} +31 -31
  236. package/dist/chunks/{persistent-pty-gbe3t543.js → provider-t5kkkbc4.js} +16 -16
  237. package/dist/chunks/{persistent-pty-kne8f3cn.js → provider-t7n9q6bq.js} +4 -4
  238. package/dist/chunks/{persistent-pty-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{persistent-pty-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{persistent-pty-tdstcens.js → provider-tdstcens.js} +1 -1
  241. package/dist/chunks/{persistent-pty-mpz2f9hn.js → provider-tfyty9ze.js} +11 -11
  242. package/dist/chunks/{persistent-pty-35v1kxn5.js → provider-tgv2tnbf.js} +30 -30
  243. package/dist/chunks/{persistent-pty-94pybxf5.js → provider-tjqem147.js} +11 -11
  244. package/dist/chunks/{persistent-pty-nga2x94v.js → provider-tq1x5cnr.js} +7 -7
  245. package/dist/chunks/{persistent-pty-ts2x07a1.js → provider-ts2x07a1.js} +1 -1
  246. package/dist/chunks/{persistent-pty-tvtrv512.js → provider-tvtrv512.js} +1 -1
  247. package/dist/chunks/{persistent-pty-768y9nds.js → provider-txcxdz33.js} +20 -20
  248. package/dist/chunks/{persistent-pty-v1faaxn9.js → provider-v1faaxn9.js} +1 -1
  249. package/dist/chunks/{persistent-pty-t3qbpr1w.js → provider-v1q7vfww.js} +3 -3
  250. package/dist/chunks/{persistent-pty-89x64swv.js → provider-v4x1eedp.js} +23 -23
  251. package/dist/chunks/{persistent-pty-q4v54bpb.js → provider-v5fds5j5.js} +34 -34
  252. package/dist/chunks/{persistent-pty-f3r3b7qx.js → provider-vakcje41.js} +12 -12
  253. package/dist/chunks/{persistent-pty-veqvce7d.js → provider-veqvce7d.js} +1 -1
  254. package/dist/chunks/{persistent-pty-4c1zt1be.js → provider-vhmx8meg.js} +82 -82
  255. package/dist/chunks/{persistent-pty-d2z8n5gq.js → provider-vsd9rkc3.js} +8 -8
  256. package/dist/chunks/{persistent-pty-gkq5qcyg.js → provider-vxx6ayt4.js} +15 -15
  257. package/dist/chunks/{persistent-pty-vzcthcp8.js → provider-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{persistent-pty-anj84gah.js → provider-w1f0rjtr.js} +18 -18
  259. package/dist/chunks/{persistent-pty-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{persistent-pty-8g5k0jjx.js → provider-w4axh9wz.js} +8 -8
  261. package/dist/chunks/{persistent-pty-7adxfadd.js → provider-w4qe0sa0.js} +4 -4
  262. package/dist/chunks/{persistent-pty-a4v39hfy.js → provider-w8jt0a6r.js} +11 -11
  263. package/dist/chunks/{persistent-pty-wd87259q.js → provider-wd87259q.js} +1 -1
  264. package/dist/chunks/{persistent-pty-vcntgk60.js → provider-wsdt1w6c.js} +26 -22
  265. package/dist/chunks/{persistent-pty-8558z9wf.js → provider-wtkpzfnv.js} +5 -5
  266. package/dist/chunks/{persistent-pty-4yerfa2a.js → provider-wvf0gkq1.js} +16 -16
  267. package/dist/chunks/{persistent-pty-pbjanjg3.js → provider-x1az8410.js} +44 -44
  268. package/dist/chunks/{persistent-pty-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{persistent-pty-2kg3amvy.js → provider-xc59sqye.js} +27 -27
  270. package/dist/chunks/{persistent-pty-k5z6kse8.js → provider-xc81b6ma.js} +22 -22
  271. package/dist/chunks/{persistent-pty-yyz8jpkn.js → provider-xm667kcd.js} +9 -9
  272. package/dist/chunks/{persistent-pty-jn5zp6kq.js → provider-xpyadjc6.js} +7 -7
  273. package/dist/chunks/{persistent-pty-0eqr15n0.js → provider-xsrj88ys.js} +24 -24
  274. package/dist/chunks/{persistent-pty-z880hw7s.js → provider-xth1q62c.js} +25 -25
  275. package/dist/chunks/{persistent-pty-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{persistent-pty-0wnsc2cx.js → provider-y35pc762.js} +11 -11
  277. package/dist/chunks/{persistent-pty-dpkg50ah.js → provider-y71avatq.js} +4 -4
  278. package/dist/chunks/{persistent-pty-r8xr0va3.js → provider-yp2x3t23.js} +4 -4
  279. package/dist/chunks/{persistent-pty-yrhqyw5v.js → provider-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{persistent-pty-gv6a8nnw.js → provider-yyb7tjpc.js} +2 -2
  281. package/dist/chunks/{persistent-pty-eh332ggn.js → provider-yymhtj63.js} +4 -4
  282. package/dist/chunks/{persistent-pty-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{persistent-pty-h39be83b.js → provider-zjv98bwp.js} +35 -35
  284. package/dist/chunks/{persistent-pty-q00hqmww.js → provider-zpx63w9z.js} +13 -13
  285. package/dist/chunks/{persistent-pty-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{persistent-pty-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{persistent-pty-txckpkgb.js → provider-zzdnm867.js} +25 -25
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +141 -141
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +123 -123
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +80 -80
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +364 -364
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +105 -105
  427. package/dist/form.js +77 -77
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +3 -3
  455. package/dist/instance.js +355 -355
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +83 -83
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +80 -80
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +97 -97
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +75 -75
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +104 -104
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +3 -3
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +119 -119
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +1 -1
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +347 -347
  542. package/dist/plugin/update.js +4 -4
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +226 -226
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +79 -79
  557. package/dist/provider.js +96 -96
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +97 -97
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +88 -88
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +85 -85
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +116 -116
  589. package/dist/session/model-transport.js +7 -7
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +1 -1
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +84 -84
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +213 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +217 -217
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +90 -90
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +124 -124
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +115 -115
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +100 -100
  639. package/dist/tool/plugin/read.js +122 -122
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +107 -107
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +16 -16
  650. package/dist/types/form.d.ts +15 -0
  651. package/dist/types/integration.d.ts +60 -0
  652. package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
  653. package/dist/types/v1/config/migrate.d.ts +3 -3
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +7 -7
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +1 -1
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +81 -81
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +7 -7
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/persistent-pty-7m245gq7.js +0 -38
  696. package/dist/chunks/persistent-pty-gxrgn0ds.js +0 -252
  697. package/dist/chunks/persistent-pty-hr9dp009.js +0 -4
  698. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-24dcb14g.js → provider-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-2710q6r3.js → provider-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-359p4xyc.js → provider-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-3asan66x.js → provider-3asan66x.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-53557ph1.js → provider-53557ph1.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-550bvhaj.js → provider-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-6prwharc.js → provider-6prwharc.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-7m9af43g.js → provider-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-822emrt2.js → provider-822emrt2.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-8n3pysct.js → provider-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-922hggd3.js → provider-922hggd3.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-af5trqkr.js → provider-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-afrmfg78.js → provider-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-d9fn303g.js → provider-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-dajrwvna.js → provider-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-dap0rakb.js → provider-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-df08tz66.js → provider-df08tz66.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-dy18nga0.js → provider-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-e3qxr5gk.js → provider-e3qxr5gk.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-ec1grn59.js → provider-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-faypxj3z.js → provider-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-fd410y7t.js → provider-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-g86h250q.js → provider-g86h250q.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-gftt206x.js → provider-gftt206x.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-hjbc5kem.js → provider-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-hk9envan.js → provider-hk9envan.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-mp448xyj.js → provider-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-njntx4h6.js → provider-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-q74kybfr.js → provider-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-twg0f83k.js → provider-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-w803qqfp.js → provider-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-wtztk69x.js → provider-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-x61499pn.js → provider-x61499pn.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-y44na4kk.js → provider-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-y8f7s663.js → provider-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-ym463w8f.js → provider-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-z9919s4g.js → provider-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./persistent-pty-ze07024f.js";
4
+ } from "./provider-3y2ngnym.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./persistent-pty-rdw6cm16.js";
8
+ } from "./provider-rdw6cm16.js";
9
9
  import {
10
- ID14,
11
- Service75,
12
- node79,
10
+ ID13,
11
+ Service73,
12
+ node76,
13
13
  Event18
14
- } from "./persistent-pty-gbwj81ez.js";
14
+ } from "./provider-37y816cy.js";
15
15
  import {
16
16
  key2
17
- } from "./persistent-pty-h6r3nrb9.js";
17
+ } from "./provider-4dgbcxzg.js";
18
18
  import {
19
19
  Service79,
20
20
  node83
21
- } from "./persistent-pty-pqkcmren.js";
21
+ } from "./provider-6cdpcxhv.js";
22
22
  import {
23
23
  __export
24
- } from "./persistent-pty-9rqn6x4v.js";
24
+ } from "./provider-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,12 +37,12 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Event: () => Event17,
40
- ID: () => ID13,
41
- Info: () => Info27,
40
+ ID: () => ID12,
41
+ Info: () => Info26,
42
42
  LoadError: () => LoadError3,
43
43
  Provider: () => exports_provider3,
44
44
  Request: () => Request3,
45
- Service: () => Service74,
45
+ Service: () => Service72,
46
46
  Settings: () => Settings2,
47
47
  aisdk: () => aisdk2,
48
48
  isAISDK: () => isAISDK2,
@@ -50,7 +50,7 @@ __export(exports_provider3, {
50
50
  mergeHeaders: () => mergeHeaders2,
51
51
  mergeOverlay: () => mergeOverlay2,
52
52
  nativeSettings: () => nativeSettings2,
53
- node: () => node78,
53
+ node: () => node75,
54
54
  packageName: () => packageName2
55
55
  });
56
56
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -62,7 +62,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
62
62
  import { Credential } from "@opencode/schema/credential";
63
63
  import { freeze } from "immer";
64
64
  import { Event as Event17 } from "@opencode/schema/provider";
65
- var ID13 = Provider.ID;
65
+ var ID12 = Provider.ID;
66
66
  var AISDK_PREFIX2 = "aisdk:";
67
67
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
68
68
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -201,9 +201,9 @@ function mergeHeaders2(base, overlay) {
201
201
  }
202
202
  var Request3 = Provider.Request;
203
203
  var Settings2 = Provider.Settings;
204
- var Info27 = Provider.Info;
204
+ var Info26 = Provider.Info;
205
205
 
206
- class Service74 extends Context.Service()("@opencode/Provider") {
206
+ class Service72 extends Context.Service()("@opencode/Provider") {
207
207
  }
208
208
  var definitions = new WeakMap;
209
209
  function index(providerID, models) {
@@ -216,9 +216,9 @@ function index(providerID, models) {
216
216
  definitions.set(models, indexes);
217
217
  return result;
218
218
  }
219
- var layer = Layer.effect(Service74, Effect.gen(function* () {
219
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
220
220
  const bus = yield* Service82;
221
- const integrations = yield* Service75;
221
+ const integrations = yield* Service73;
222
222
  const location = yield* Service79;
223
223
  const state = create3({
224
224
  name: "provider",
@@ -230,7 +230,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
230
230
  const current = records.get(id);
231
231
  if (current)
232
232
  return current;
233
- const added = { provider: Info27.empty(id), models: new Map };
233
+ const added = { provider: Info26.empty(id), models: new Map };
234
234
  records.set(id, added);
235
235
  maps.add(added.models);
236
236
  return added;
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
311
311
  const available = Array.from(records.values()).filter((record) => {
312
312
  if (record.provider.activation === "disabled")
313
313
  return false;
314
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
314
+ const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
315
315
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
316
316
  return false;
317
317
  if (record.provider.activation === "enabled")
@@ -338,7 +338,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
338
338
  });
339
339
  });
340
340
  yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
341
- return Service74.of({
341
+ return Service72.of({
342
342
  transform: state.transform,
343
343
  reload: state.reload,
344
344
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
347
347
  snapshot
348
348
  });
349
349
  }));
350
- var node78 = makeLocationNode({ service: Service74, layer, deps: [node86, node79, node83] });
350
+ var node75 = makeLocationNode({ service: Service72, layer, deps: [node86, node76, node83] });
351
351
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
352
352
  const module = yield* Effect.tryPromise({
353
353
  try: () => {
@@ -607,4 +607,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
607
607
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
608
608
  var decode = Schema2.decodeUnknownSync(Legacy);
609
609
 
610
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, Service74, node78, exports_provider3, Event17 };
610
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info26, Service72, node75, exports_provider3, Event17 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,121 +1,121 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./persistent-pty-e0rr02qg.js";
4
+ } from "./provider-mt181yvh.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./persistent-pty-ze07024f.js";
8
+ } from "./provider-3y2ngnym.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./persistent-pty-gftt206x.js";
11
+ } from "./provider-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./persistent-pty-t3qbpr1w.js";
14
+ } from "./provider-v1q7vfww.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./persistent-pty-ec1grn59.js";
17
+ } from "./provider-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./persistent-pty-5c4hm403.js";
20
+ } from "./provider-5c4hm403.js";
21
21
  import {
22
22
  prepare4
23
- } from "./persistent-pty-7ac170kv.js";
23
+ } from "./provider-sdbkfcvv.js";
24
24
  import {
25
25
  provenance2
26
- } from "./persistent-pty-csf2jhsg.js";
26
+ } from "./provider-csf2jhsg.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./persistent-pty-masp7ejj.js";
30
+ } from "./provider-kb20yxx5.js";
31
31
  import {
32
- Service61,
33
- node65
34
- } from "./persistent-pty-hfwabszm.js";
32
+ Service57,
33
+ node59
34
+ } from "./provider-2p6av61j.js";
35
35
  import {
36
- Service58,
37
- node62
38
- } from "./persistent-pty-gwk30na0.js";
36
+ Service15,
37
+ node17
38
+ } from "./provider-bnyd0tae.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./persistent-pty-5t3nmthw.js";
41
+ } from "./provider-5t3nmthw.js";
42
42
  import {
43
- Service23,
44
- node27
45
- } from "./persistent-pty-yyz8jpkn.js";
43
+ Service30,
44
+ node33
45
+ } from "./provider-xm667kcd.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./persistent-pty-ayxtpegw.js";
48
+ } from "./provider-bmwcfc8x.js";
49
49
  import {
50
- make5
51
- } from "./persistent-pty-nmv4qf5f.js";
50
+ make9
51
+ } from "./provider-nctzvp07.js";
52
52
  import {
53
- Service6,
54
- node8
55
- } from "./persistent-pty-k5z6kse8.js";
53
+ Service9,
54
+ node11
55
+ } from "./provider-xc81b6ma.js";
56
56
  import {
57
- Service19,
58
- node23
59
- } from "./persistent-pty-4c1zt1be.js";
57
+ Service25,
58
+ node28
59
+ } from "./provider-vhmx8meg.js";
60
60
  import {
61
61
  serialized2,
62
62
  nextPromotable2,
63
63
  promote2
64
- } from "./persistent-pty-zjqwybhk.js";
64
+ } from "./provider-awdcnpvv.js";
65
65
  import {
66
- Service2,
66
+ Service8,
67
67
  isUntitled2,
68
- node3
69
- } from "./persistent-pty-gek3hqmr.js";
68
+ node10
69
+ } from "./provider-4m1f7c2g.js";
70
70
  import {
71
71
  DrainResult2,
72
- Service43
73
- } from "./persistent-pty-kne8f3cn.js";
72
+ Service45
73
+ } from "./provider-t7n9q6bq.js";
74
74
  import {
75
- node69
76
- } from "./persistent-pty-txckpkgb.js";
75
+ node62
76
+ } from "./provider-zzdnm867.js";
77
77
  import {
78
- node35
79
- } from "./persistent-pty-ngp9tqdp.js";
78
+ node65
79
+ } from "./provider-fd13sxf6.js";
80
80
  import {
81
81
  Outcome2,
82
- make3
83
- } from "./persistent-pty-1z7bxdr8.js";
82
+ make8
83
+ } from "./provider-f3n8kt47.js";
84
84
  import {
85
85
  Service24
86
- } from "./persistent-pty-v1faaxn9.js";
86
+ } from "./provider-v1faaxn9.js";
87
87
  import {
88
- node15
89
- } from "./persistent-pty-bjyddaxd.js";
88
+ node24
89
+ } from "./provider-e2v82dka.js";
90
90
  import {
91
91
  MAX_STEPS_PROMPT2
92
- } from "./persistent-pty-y44na4kk.js";
92
+ } from "./provider-y44na4kk.js";
93
93
  import {
94
94
  __export
95
- } from "./persistent-pty-9rqn6x4v.js";
95
+ } from "./provider-9rqn6x4v.js";
96
96
 
97
97
  // src/session/runner/llm.ts
98
98
  var exports_llm = {};
99
99
  __export(exports_llm, {
100
100
  SessionRunnerLLM: () => exports_llm,
101
- node: () => node2
101
+ node: () => node9
102
102
  });
103
103
  import { Message } from "@opencode/ai";
104
104
  import { and, desc, eq, sql } from "drizzle-orm";
105
105
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
106
106
  import { makeLocationNode } from "@opencode/util/effect/app-node";
107
107
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
108
- var layer = Layer.effect(Service43, Effect.gen(function* () {
108
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
109
109
  const bus = yield* Service82;
110
- const lifecycle = yield* Service58;
111
- const store = yield* Service61;
112
- const context = yield* Service19;
113
- const modelTransport = yield* Service23;
110
+ const lifecycle = yield* Service15;
111
+ const store = yield* Service57;
112
+ const context = yield* Service25;
113
+ const modelTransport = yield* Service30;
114
114
  const db = (yield* Service83).db;
115
- const compaction = yield* Service6;
115
+ const compaction = yield* Service9;
116
116
  const plugins = yield* Service24;
117
- const title = yield* Service2;
118
- const steps = yield* make3;
117
+ const title = yield* Service8;
118
+ const steps = yield* make8;
119
119
  const titles = yield* FiberMap.make();
120
120
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
121
121
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make5(bus, sessionID);
243
+ const retry = yield* make9(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
361
361
  }
362
362
  }
363
363
  });
364
- return Service43.of({ drain });
364
+ return Service45.of({ drain });
365
365
  }));
366
- var node2 = makeLocationNode({
367
- service: Service43,
366
+ var node9 = makeLocationNode({
367
+ service: Service45,
368
368
  layer,
369
369
  deps: [
370
370
  node86,
371
- node62,
371
+ node17,
372
372
  llmClient2,
373
- node23,
374
- node27,
373
+ node28,
374
+ node33,
375
+ node59,
376
+ node11,
377
+ node24,
378
+ node10,
379
+ node62,
375
380
  node65,
376
- node8,
377
- node15,
378
- node3,
379
- node69,
380
- node35,
381
381
  node87
382
382
  ]
383
383
  });
384
384
 
385
- export { node2, exports_llm };
385
+ export { node9, exports_llm };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./provider-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./persistent-pty-e0rr02qg.js";
4
+ } from "./provider-mt181yvh.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./persistent-pty-2710q6r3.js";
8
+ } from "./provider-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./persistent-pty-dpkg50ah.js";
11
+ } from "./provider-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./provider-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./persistent-pty-j10zwm3w.js";
3
+ } from "./provider-3ck6fvg6.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./persistent-pty-w47dka18.js";
6
+ } from "./provider-mwp3erwx.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./provider-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info28,
10
+ Info: () => Info27,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info28 = Connection.Info;
17
+ var Info27 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info27, key2, exports_connection };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service77
3
- } from "./persistent-pty-h3jkmnye.js";
2
+ Service75
3
+ } from "./provider-rmbwqpd3.js";
4
4
  import {
5
- Service60
6
- } from "./persistent-pty-frk1q65v.js";
5
+ Service56
6
+ } from "./provider-91g84dh8.js";
7
7
  import {
8
- ID3,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service36
14
- } from "./persistent-pty-89x64swv.js";
13
+ Service40
14
+ } from "./provider-v4x1eedp.js";
15
15
  import {
16
16
  __export
17
- } from "./persistent-pty-9rqn6x4v.js";
17
+ } from "./provider-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch2 = {};
21
21
  __export(exports_websearch2, {
22
- Input: () => Input12,
22
+ Input: () => Input7,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin46,
24
+ Plugin: () => Plugin39,
25
25
  WebSearchTool: () => exports_websearch2,
26
- description: () => description5,
27
- name: () => name12
26
+ description: () => description4,
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name12 = "websearch";
32
+ var name7 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input12 = Schema.Struct({
42
+ var Input7 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID3,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin46 = {
49
+ var Plugin39 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service60;
53
- const forms = yield* Service77;
54
- const websearch = yield* Service36;
52
+ const permission = yield* Service56;
53
+ const forms = yield* Service75;
54
+ const websearch = yield* Service40;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name12,
56
+ name: name7,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input12,
58
+ description: description4,
59
+ input: Input7,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name12,
63
+ action: name7,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name12];
179
+ delete event.tools[name7];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name12, NO_RESULTS2, description5, Input12, Plugin46, exports_websearch2 };
187
+ export { name7, NO_RESULTS2, description4, Input7, Plugin39, exports_websearch2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./persistent-pty-e0rr02qg.js";
4
+ } from "./provider-mt181yvh.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service82,
8
8
  node86
9
- } from "./persistent-pty-ze07024f.js";
9
+ } from "./provider-3y2ngnym.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./persistent-pty-5t3nmthw.js";
12
+ } from "./provider-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./persistent-pty-ec1grn59.js";
15
+ } from "./provider-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./persistent-pty-masp7ejj.js";
18
+ } from "./provider-kb20yxx5.js";
19
19
  import {
20
- Service61,
21
- node65
22
- } from "./persistent-pty-hfwabszm.js";
20
+ Service57,
21
+ node59
22
+ } from "./provider-2p6av61j.js";
23
23
  import {
24
- Service19,
25
- node23
26
- } from "./persistent-pty-4c1zt1be.js";
24
+ Service25,
25
+ node28
26
+ } from "./provider-vhmx8meg.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./persistent-pty-tdstcens.js";
30
+ } from "./provider-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./provider-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service8,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node3
41
+ layer: () => layer6,
42
+ node: () => node10
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service8 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
61
+ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
62
62
  const bus = yield* Service82;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service19;
65
- const store = yield* Service61;
64
+ const context = yield* Service25;
65
+ const store = yield* Service57;
66
66
  const db = (yield* Service83).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service2.of({ generate });
148
+ return Service8.of({ generate });
149
149
  }));
150
- var node3 = makeLocationNode({
151
- service: Service2,
152
- layer: layer3,
153
- deps: [node86, llmClient2, node23, node65, node87]
150
+ var node10 = makeLocationNode({
151
+ service: Service8,
152
+ layer: layer6,
153
+ deps: [node86, llmClient2, node28, node59, node87]
154
154
  });
155
155
 
156
- export { Service2, isUntitled2, layer3, node3, exports_title };
156
+ export { Service8, isUntitled2, layer6, node10, exports_title };