@opencode/core 0.0.0-dev-20881 → 0.0.0-dev-20927

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{file-access-q866mrsk.js → aisdk-00wk05ge.js} +11 -11
  8. package/dist/chunks/{file-access-ta9h6rc8.js → aisdk-00xyqfxv.js} +15 -15
  9. package/dist/chunks/{file-access-rj7vaynp.js → aisdk-04nrchp2.js} +15 -15
  10. package/dist/chunks/{file-access-9qaf42c8.js → aisdk-0559y0cb.js} +29 -29
  11. package/dist/chunks/{file-access-dw28k738.js → aisdk-0e6rss5m.js} +16 -16
  12. package/dist/chunks/{file-access-n31904rg.js → aisdk-0h8hk730.js} +11 -11
  13. package/dist/chunks/{file-access-7p43bsgp.js → aisdk-0rnweg5q.js} +9 -9
  14. package/dist/chunks/{file-access-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{file-access-v7vqgwnw.js → aisdk-1bkw5bdq.js} +11 -11
  16. package/dist/chunks/{file-access-vegf0t4s.js → aisdk-1bstbm9e.js} +23 -23
  17. package/dist/chunks/{file-access-x634pv7c.js → aisdk-1f2gyj3q.js} +11 -11
  18. package/dist/chunks/aisdk-1qryn0z5.js +26 -0
  19. package/dist/chunks/{file-access-ph2x0fg2.js → aisdk-1s8mjp65.js} +13 -13
  20. package/dist/chunks/{file-access-ak9nxzt9.js → aisdk-1tk9ptda.js} +26 -26
  21. package/dist/chunks/{file-access-khmqacep.js → aisdk-1w2wqhfv.js} +4 -4
  22. package/dist/chunks/{file-access-wyrb85n5.js → aisdk-1xdmmj5x.js} +6 -6
  23. package/dist/chunks/{file-access-6cwz3yre.js → aisdk-25xrqn66.js} +8 -8
  24. package/dist/chunks/{file-access-dhcaxbkm.js → aisdk-29eamcyx.js} +13 -13
  25. package/dist/chunks/{file-access-0jwsre1p.js → aisdk-2k8khapm.js} +5 -5
  26. package/dist/chunks/{file-access-n3dz8fb2.js → aisdk-2mzgcd7p.js} +1 -1
  27. package/dist/chunks/{file-access-qvn3sktm.js → aisdk-2z84r0k0.js} +15 -15
  28. package/dist/chunks/{file-access-1xtm2zgn.js → aisdk-304b167w.js} +28 -28
  29. package/dist/chunks/{file-access-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{file-access-99z9zg9e.js → aisdk-3gsvm8tc.js} +24 -24
  31. package/dist/chunks/{file-access-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{file-access-3hwn7j4h.js → aisdk-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{file-access-pbahfm5x.js → aisdk-3rmrymsq.js} +21 -21
  34. package/dist/chunks/{file-access-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{file-access-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{file-access-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{file-access-zja718nw.js → aisdk-42bsfdxy.js} +12 -12
  38. package/dist/chunks/{file-access-bepc4jha.js → aisdk-4dwm8zny.js} +5 -5
  39. package/dist/chunks/{file-access-dygjvfrp.js → aisdk-4fy38wjj.js} +7 -7
  40. package/dist/chunks/{file-access-gqvrx0k4.js → aisdk-4ggt5f5q.js} +12 -12
  41. package/dist/chunks/aisdk-4nsv302d.js +253 -0
  42. package/dist/chunks/{file-access-pf5ssx8n.js → aisdk-4pyxqwyk.js} +35 -35
  43. package/dist/chunks/{file-access-4ts7tf6z.js → aisdk-4ts7tf6z.js} +2 -2
  44. package/dist/chunks/{file-access-td4xfqsh.js → aisdk-4z0gqkar.js} +27 -27
  45. package/dist/chunks/{file-access-rn3dpxc7.js → aisdk-53575mss.js} +25 -25
  46. package/dist/chunks/{file-access-54ma36ye.js → aisdk-54ma36ye.js} +1 -1
  47. package/dist/chunks/{file-access-gxcpmwxq.js → aisdk-5cjh3zh7.js} +49 -49
  48. package/dist/chunks/{file-access-w39jehkq.js → aisdk-5fykfdj7.js} +5 -5
  49. package/dist/chunks/{file-access-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{file-access-dfq2h1zq.js → aisdk-5qwpt1yw.js} +80 -80
  51. package/dist/chunks/{file-access-fpcyfj4p.js → aisdk-5yfjahdb.js} +10 -10
  52. package/dist/chunks/{file-access-j73xaykt.js → aisdk-61vg84b0.js} +50 -50
  53. package/dist/chunks/{file-access-r5tn31vm.js → aisdk-63ft016j.js} +20 -20
  54. package/dist/chunks/{file-access-ggmp41wd.js → aisdk-67c4ky7v.js} +15 -15
  55. package/dist/chunks/{file-access-dfj37skf.js → aisdk-6ajhbynx.js} +18 -18
  56. package/dist/chunks/{file-access-kd5678n6.js → aisdk-6cak8h0t.js} +11 -11
  57. package/dist/chunks/{file-access-40xnfwfw.js → aisdk-6kcy1g95.js} +46 -46
  58. package/dist/chunks/{file-access-3hesyp2p.js → aisdk-6ktrewj4.js} +9 -9
  59. package/dist/chunks/{file-access-w92k2e0p.js → aisdk-6pc27hjz.js} +4 -4
  60. package/dist/chunks/{file-access-z12amds2.js → aisdk-6q6768w4.js} +21 -21
  61. package/dist/chunks/{file-access-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{file-access-x1ppmybn.js → aisdk-6xczqt7x.js} +15 -15
  63. package/dist/chunks/{file-access-m0nv8qas.js → aisdk-76b2c9rp.js} +14 -14
  64. package/dist/chunks/{file-access-775gj3j1.js → aisdk-775gj3j1.js} +2 -2
  65. package/dist/chunks/{file-access-4hc0rj7b.js → aisdk-782n1raf.js} +326 -326
  66. package/dist/chunks/{file-access-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{file-access-vyqay02k.js → aisdk-7kh9td1h.js} +21 -21
  68. package/dist/chunks/{file-access-0brq2jxt.js → aisdk-7m2e2fgz.js} +4 -4
  69. package/dist/chunks/{file-access-xj676ht6.js → aisdk-7q5164vr.js} +32 -32
  70. package/dist/chunks/{file-access-tgd5gdg0.js → aisdk-7rh6rafk.js} +21 -21
  71. package/dist/chunks/{file-access-mpt1m363.js → aisdk-7wqs6zev.js} +29 -29
  72. package/dist/chunks/{file-access-bprgs97j.js → aisdk-7zsq3j4g.js} +8 -8
  73. package/dist/chunks/{file-access-y7nndgyc.js → aisdk-80z0vyq9.js} +9 -9
  74. package/dist/chunks/{file-access-7y0h7tfm.js → aisdk-82x8s2rf.js} +19 -19
  75. package/dist/chunks/{file-access-s5dv59ce.js → aisdk-876cynaq.js} +6 -6
  76. package/dist/chunks/{file-access-0az8jfhv.js → aisdk-87m862kp.js} +35 -35
  77. package/dist/chunks/{file-access-136xvk4g.js → aisdk-8bh9q5mt.js} +5 -5
  78. package/dist/chunks/{file-access-nvjdyy3z.js → aisdk-8kdhekhe.js} +2 -2
  79. package/dist/chunks/{file-access-8m6m0r52.js → aisdk-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{file-access-v5fpz4k6.js → aisdk-8s9metdf.js} +17 -17
  81. package/dist/chunks/{file-access-j09zfasm.js → aisdk-91qna3x0.js} +3 -3
  82. package/dist/chunks/{file-access-w54rakr2.js → aisdk-92fp36nx.js} +18 -18
  83. package/dist/chunks/{file-access-97aeaand.js → aisdk-97aeaand.js} +1 -1
  84. package/dist/chunks/{file-access-22d1dh2a.js → aisdk-9gsz9xej.js} +15 -15
  85. package/dist/chunks/{file-access-9hwaqfsw.js → aisdk-9hwaqfsw.js} +2 -2
  86. package/dist/chunks/aisdk-9sh4wc5j.js +18 -0
  87. package/dist/chunks/{file-access-rdb5mbw2.js → aisdk-9shyng8h.js} +5 -5
  88. package/dist/chunks/{file-access-xgdprf3q.js → aisdk-9tjjhrg5.js} +5 -5
  89. package/dist/chunks/{file-access-kn5tafaf.js → aisdk-a034y3yd.js} +22 -22
  90. package/dist/chunks/{file-access-x3gqap9d.js → aisdk-a2rpfkac.js} +4 -4
  91. package/dist/chunks/{file-access-3q95jmjr.js → aisdk-a5xb6rp9.js} +23 -23
  92. package/dist/chunks/{file-access-qk0trefb.js → aisdk-aappkvgq.js} +27 -27
  93. package/dist/chunks/{file-access-j2zn7p5s.js → aisdk-abbyb99j.js} +52 -52
  94. package/dist/chunks/{file-access-18x10m8s.js → aisdk-ad3207xk.js} +15 -15
  95. package/dist/chunks/{file-access-qjx1ax0j.js → aisdk-ag1vmkq5.js} +5 -5
  96. package/dist/chunks/{file-access-ppbmqrvr.js → aisdk-ahd542yp.js} +8 -8
  97. package/dist/chunks/{file-access-tky9nxkg.js → aisdk-azy2ac7d.js} +11 -11
  98. package/dist/chunks/{file-access-jvb9xte8.js → aisdk-b0dgvpy7.js} +9 -9
  99. package/dist/chunks/{file-access-9v3zftw3.js → aisdk-b0sz5pfq.js} +32 -32
  100. package/dist/chunks/{file-access-pnzf6mjf.js → aisdk-bczx5ry5.js} +1 -1
  101. package/dist/chunks/{file-access-m928h0gj.js → aisdk-bkcx3r11.js} +10 -10
  102. package/dist/chunks/{file-access-6yrvyhas.js → aisdk-bmt34esd.js} +5 -5
  103. package/dist/chunks/{file-access-n8yw2qpj.js → aisdk-brr9ad8x.js} +14 -14
  104. package/dist/chunks/{file-access-c41wscbt.js → aisdk-c41wscbt.js} +2 -2
  105. package/dist/chunks/{file-access-hcqrq8nm.js → aisdk-c4hxf7c1.js} +4 -4
  106. package/dist/chunks/{file-access-c8ax2afj.js → aisdk-c8ax2afj.js} +2 -2
  107. package/dist/chunks/{file-access-jhf3jymm.js → aisdk-c8bydgjz.js} +6 -6
  108. package/dist/chunks/{file-access-t66kkf9x.js → aisdk-ca1hzz0z.js} +7 -7
  109. package/dist/chunks/{file-access-nqv9yqds.js → aisdk-cbz4cyr6.js} +37 -37
  110. package/dist/chunks/{file-access-z3wfwvnq.js → aisdk-cebjs1pj.js} +34 -34
  111. package/dist/chunks/{file-access-4nssqvjp.js → aisdk-ckzv1z6f.js} +23 -23
  112. package/dist/chunks/{file-access-efss0yr1.js → aisdk-cnspkvmr.js} +8 -8
  113. package/dist/chunks/{file-access-4s3dfb2j.js → aisdk-czyyzgrn.js} +3 -3
  114. package/dist/chunks/{file-access-edv1g30z.js → aisdk-d0n2pa2f.js} +20 -20
  115. package/dist/chunks/{file-access-at6df953.js → aisdk-ddhw5281.js} +13 -13
  116. package/dist/chunks/{file-access-m70sbz6t.js → aisdk-dhmh7aw6.js} +4 -4
  117. package/dist/chunks/{file-access-dqxsqydv.js → aisdk-dqxsqydv.js} +1 -1
  118. package/dist/chunks/{file-access-57b9ws8p.js → aisdk-drwq78ky.js} +5 -5
  119. package/dist/chunks/{file-access-mjwk6wfx.js → aisdk-dt5fbgdr.js} +8 -8
  120. package/dist/chunks/{file-access-pbkhx8jc.js → aisdk-e1175tqm.js} +6 -6
  121. package/dist/chunks/{file-access-ed1g29hy.js → aisdk-ed1g29hy.js} +1 -1
  122. package/dist/chunks/{file-access-eej6y6fw.js → aisdk-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{file-access-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{file-access-rv3vf44n.js → aisdk-eh0arz98.js} +17 -17
  125. package/dist/chunks/{file-access-zrkpefyn.js → aisdk-ek71yh6y.js} +3 -3
  126. package/dist/chunks/{file-access-vg6c8hx6.js → aisdk-ep1drg1v.js} +19 -19
  127. package/dist/chunks/{file-access-es1vcfrp.js → aisdk-es1vcfrp.js} +3 -3
  128. package/dist/chunks/{file-access-1acjjqhc.js → aisdk-f2n192rq.js} +4 -4
  129. package/dist/chunks/{file-access-vwnm4pgh.js → aisdk-fep59p9d.js} +15 -15
  130. package/dist/chunks/{file-access-faydtw9x.js → aisdk-fy2jq6zh.js} +24 -24
  131. package/dist/chunks/{file-access-veqsm63q.js → aisdk-g3bpjfm9.js} +16 -16
  132. package/dist/chunks/{file-access-kdvfx77d.js → aisdk-g69z2b5z.js} +4 -4
  133. package/dist/chunks/{file-access-d4he2qe1.js → aisdk-g6q9qykm.js} +9 -9
  134. package/dist/chunks/{file-access-kdz0rk07.js → aisdk-g8zcrvva.js} +8 -8
  135. package/dist/chunks/{file-access-eaj1djv9.js → aisdk-gbt6w4kb.js} +4 -4
  136. package/dist/chunks/{file-access-ckacr8qp.js → aisdk-gcpn98ra.js} +11 -11
  137. package/dist/chunks/{file-access-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{file-access-4drgpw32.js → aisdk-ghrzdqqx.js} +5 -5
  139. package/dist/chunks/{file-access-ph104vey.js → aisdk-gjg2yaky.js} +16 -16
  140. package/dist/chunks/{file-access-f5xdkyf5.js → aisdk-gntdkxck.js} +11 -11
  141. package/dist/chunks/{file-access-xjh793w0.js → aisdk-gnwtzy4t.js} +10 -10
  142. package/dist/chunks/{file-access-addxnjmp.js → aisdk-gqtdsdt7.js} +4 -4
  143. package/dist/chunks/{file-access-g1sxm558.js → aisdk-gqxmd7mw.js} +8 -8
  144. package/dist/chunks/{file-access-k1st3y5b.js → aisdk-gyprjd1a.js} +9 -9
  145. package/dist/chunks/{file-access-gwfvn308.js → aisdk-h1ewnpgd.js} +8 -8
  146. package/dist/chunks/{file-access-85twavks.js → aisdk-h4wt8rpg.js} +11 -11
  147. package/dist/chunks/{file-access-a1d4wr68.js → aisdk-h5kszb2b.js} +6 -6
  148. package/dist/chunks/{file-access-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{file-access-h7s7r6s9.js → aisdk-h7s7r6s9.js} +2 -2
  150. package/dist/chunks/{file-access-b9grawmm.js → aisdk-had4kgfk.js} +6 -6
  151. package/dist/chunks/{file-access-wecqtg5s.js → aisdk-hdkng2sj.js} +5 -5
  152. package/dist/chunks/{file-access-dexacah2.js → aisdk-hdzb4m3t.js} +58 -18
  153. package/dist/chunks/{file-access-hgz4x7wa.js → aisdk-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{file-access-a8pvjcdf.js → aisdk-hn64vtcm.js} +33 -33
  155. package/dist/chunks/{file-access-7x2zck9f.js → aisdk-hn7a938y.js} +31 -31
  156. package/dist/chunks/{file-access-wkxs5zxa.js → aisdk-hy2fzc5d.js} +4 -4
  157. package/dist/chunks/{file-access-qs5g4tjy.js → aisdk-j5g18e5b.js} +11 -11
  158. package/dist/chunks/{file-access-0ebkhaww.js → aisdk-j618ymcj.js} +7 -7
  159. package/dist/chunks/{file-access-yae8t1qx.js → aisdk-jncmynhd.js} +12 -12
  160. package/dist/chunks/{file-access-w1c1cf4j.js → aisdk-jp40yajm.js} +29 -29
  161. package/dist/chunks/{file-access-v7j34b1q.js → aisdk-jqc51egb.js} +32 -32
  162. package/dist/chunks/{file-access-jqm0p7na.js → aisdk-jrp51j04.js} +42 -42
  163. package/dist/chunks/{file-access-ph2th0nb.js → aisdk-jtq8c6bz.js} +22 -22
  164. package/dist/chunks/{file-access-tb41x54d.js → aisdk-jzvqt58q.js} +180 -180
  165. package/dist/chunks/{file-access-8n22xprd.js → aisdk-k1y0fary.js} +14 -14
  166. package/dist/chunks/{file-access-mb14aw74.js → aisdk-k6t9754k.js} +2 -2
  167. package/dist/chunks/{file-access-nhkznqrv.js → aisdk-kcjr7fdz.js} +18 -18
  168. package/dist/chunks/{file-access-kmcktn5j.js → aisdk-khqk2y7t.js} +4 -4
  169. package/dist/chunks/{file-access-0996j27y.js → aisdk-kk382q8p.js} +18 -18
  170. package/dist/chunks/{file-access-wj76ss2k.js → aisdk-kkp8zx71.js} +4 -4
  171. package/dist/chunks/{file-access-rq3fykv0.js → aisdk-kn8evc9s.js} +11 -11
  172. package/dist/chunks/{file-access-nnpypz22.js → aisdk-kqzqf6w1.js} +32 -32
  173. package/dist/chunks/{file-access-7ws6qndy.js → aisdk-kvkn6k3t.js} +12 -7
  174. package/dist/chunks/{file-access-pes7pnh1.js → aisdk-kwg875ew.js} +6 -6
  175. package/dist/chunks/{file-access-d2gv4akw.js → aisdk-kwqxa2v3.js} +27 -27
  176. package/dist/chunks/{file-access-1q6h5e96.js → aisdk-kwtnqx2s.js} +43 -43
  177. package/dist/chunks/{file-access-0c4n6ehw.js → aisdk-m8sxp9ep.js} +4 -4
  178. package/dist/chunks/{file-access-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{file-access-maspj1v3.js → aisdk-maspj1v3.js} +1 -1
  180. package/dist/chunks/{file-access-n2erk2qq.js → aisdk-mczb847s.js} +79 -62
  181. package/dist/chunks/{file-access-ssabpyyc.js → aisdk-mhnyy3p3.js} +11 -11
  182. package/dist/chunks/{file-access-pyhps8rr.js → aisdk-mssy7j36.js} +15 -15
  183. package/dist/chunks/{file-access-am6f2qjv.js → aisdk-n61013np.js} +6 -6
  184. package/dist/chunks/{file-access-btgcmbzv.js → aisdk-ndvnmqc7.js} +5 -5
  185. package/dist/chunks/{file-access-mbjvzahx.js → aisdk-ney03z9t.js} +11 -11
  186. package/dist/chunks/{file-access-k1szzmcz.js → aisdk-ng0v81ka.js} +32 -32
  187. package/dist/chunks/{file-access-k4k4514v.js → aisdk-nkfzcvx9.js} +17 -17
  188. package/dist/chunks/{file-access-z393mc3q.js → aisdk-ny7nr0z6.js} +13 -13
  189. package/dist/chunks/{file-access-xyxdq3nn.js → aisdk-p25etbfn.js} +49 -49
  190. package/dist/chunks/{file-access-phstrbs2.js → aisdk-p4mj4rdp.js} +8 -8
  191. package/dist/chunks/{file-access-bwccqm6j.js → aisdk-p7hn8v3g.js} +16 -16
  192. package/dist/chunks/{file-access-tvhzy6at.js → aisdk-pawv45b9.js} +7 -7
  193. package/dist/chunks/{file-access-j8vs3k5w.js → aisdk-pee0pbdz.js} +22 -22
  194. package/dist/chunks/{file-access-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{file-access-pknna89w.js → aisdk-pknna89w.js} +1 -1
  196. package/dist/chunks/{file-access-bkxyw0dr.js → aisdk-pnkbpv6t.js} +9 -9
  197. package/dist/chunks/{file-access-0y8qz4tc.js → aisdk-pt21w9jz.js} +10 -10
  198. package/dist/chunks/{file-access-ngyrtr94.js → aisdk-pxka6q5y.js} +3 -3
  199. package/dist/chunks/{file-access-b3x2bcz3.js → aisdk-py916kcr.js} +42 -42
  200. package/dist/chunks/{file-access-q0xm7vwc.js → aisdk-q0xm7vwc.js} +2 -2
  201. package/dist/chunks/{file-access-zn6q40y3.js → aisdk-q5667xnb.js} +32 -32
  202. package/dist/chunks/{file-access-mjyfvzvk.js → aisdk-qkvv7exj.js} +3 -3
  203. package/dist/chunks/{file-access-tkmwgdpd.js → aisdk-qm0v3jhh.js} +4 -4
  204. package/dist/chunks/{file-access-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
  205. package/dist/chunks/{file-access-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
  206. package/dist/chunks/{file-access-m7kegrcq.js → aisdk-r301by7f.js} +34 -34
  207. package/dist/chunks/{file-access-pbxbebnn.js → aisdk-r5a5netf.js} +3 -3
  208. package/dist/chunks/{file-access-npjgym32.js → aisdk-r6ws07f9.js} +19 -19
  209. package/dist/chunks/{file-access-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{file-access-4nvgp7n5.js → aisdk-rhcvmn6p.js} +17 -17
  211. package/dist/chunks/{file-access-3e93frrs.js → aisdk-rn4mn6ps.js} +26 -26
  212. package/dist/chunks/{file-access-b58cry0v.js → aisdk-rnmftz9c.js} +5 -5
  213. package/dist/chunks/{file-access-7y6n2aky.js → aisdk-rnxtg4z5.js} +23 -23
  214. package/dist/chunks/{file-access-4rpmq0gy.js → aisdk-rvcf04rx.js} +10 -10
  215. package/dist/chunks/{file-access-g5aztb9w.js → aisdk-rwcz0b7d.js} +1 -1
  216. package/dist/chunks/{file-access-rapc5ygk.js → aisdk-s134j6s3.js} +34 -34
  217. package/dist/chunks/{file-access-dkhqf1q0.js → aisdk-sfvhxs4k.js} +6 -6
  218. package/dist/chunks/{file-access-1j626q9f.js → aisdk-snjfpvqg.js} +4 -4
  219. package/dist/chunks/{file-access-yg2fry7j.js → aisdk-srrgwxhj.js} +6 -6
  220. package/dist/chunks/{file-access-d5xh5z6d.js → aisdk-srsfvfn6.js} +9 -9
  221. package/dist/chunks/{file-access-13y28twm.js → aisdk-sxxbqwwt.js} +14 -14
  222. package/dist/chunks/{file-access-yrcj3v3g.js → aisdk-syf57q56.js} +4 -4
  223. package/dist/chunks/{file-access-syv4x271.js → aisdk-syv4x271.js} +1 -1
  224. package/dist/chunks/{file-access-75cf00gp.js → aisdk-t285x4g3.js} +5 -5
  225. package/dist/chunks/{file-access-k9hzba59.js → aisdk-ta649at8.js} +13 -13
  226. package/dist/chunks/{file-access-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{file-access-89znhe33.js → aisdk-tcezcvh9.js} +4 -4
  228. package/dist/chunks/{file-access-6afn1j2f.js → aisdk-tcfggkjh.js} +28 -28
  229. package/dist/chunks/{file-access-tdstcens.js → aisdk-tdstcens.js} +1 -1
  230. package/dist/chunks/{file-access-tg1sa0zd.js → aisdk-tg1sa0zd.js} +2 -2
  231. package/dist/chunks/{file-access-wv5qhq9f.js → aisdk-tk29pyxt.js} +33 -33
  232. package/dist/chunks/{file-access-tkb22qbm.js → aisdk-tkb22qbm.js} +2 -2
  233. package/dist/chunks/{file-access-58kgsrwr.js → aisdk-tktqgzb5.js} +13 -13
  234. package/dist/chunks/{file-access-tm0kqsz3.js → aisdk-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{file-access-d48vtfkp.js → aisdk-tm1yjyv5.js} +15 -15
  236. package/dist/chunks/{file-access-tjh2ebqe.js → aisdk-tnxf96wz.js} +47 -47
  237. package/dist/chunks/{file-access-bm13kvhf.js → aisdk-tqnthxgz.js} +24 -24
  238. package/dist/chunks/{file-access-cf0apvch.js → aisdk-tt0r5krd.js} +32 -32
  239. package/dist/chunks/{file-access-tyytaxap.js → aisdk-tyytaxap.js} +1 -1
  240. package/dist/chunks/{file-access-0bg0bx69.js → aisdk-v0es1rhs.js} +5 -5
  241. package/dist/chunks/{file-access-v7p4zvkq.js → aisdk-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{file-access-t7991sab.js → aisdk-v87reym6.js} +18 -18
  243. package/dist/chunks/{file-access-tsf7jqnv.js → aisdk-v8mj3nbf.js} +11 -11
  244. package/dist/chunks/{file-access-7dknjm6k.js → aisdk-v8yjsky9.js} +21 -21
  245. package/dist/chunks/{file-access-znvgkdeh.js → aisdk-vc8rkrvg.js} +11 -11
  246. package/dist/chunks/{file-access-9z4knqn6.js → aisdk-vdwrby47.js} +84 -84
  247. package/dist/chunks/{file-access-m0p4awvf.js → aisdk-vefpcrtg.js} +16 -16
  248. package/dist/chunks/{file-access-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  249. package/dist/chunks/{file-access-zrfr384z.js → aisdk-vwt754jt.js} +24 -24
  250. package/dist/chunks/{file-access-0xydnfy0.js → aisdk-vy7zp3s1.js} +45 -45
  251. package/dist/chunks/{file-access-nb5065av.js → aisdk-vzqtbm0w.js} +8 -8
  252. package/dist/chunks/{file-access-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{file-access-84txncab.js → aisdk-w1eejvng.js} +5 -5
  254. package/dist/chunks/{file-access-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{file-access-c2sed5cq.js → aisdk-w8yd89gy.js} +3 -3
  256. package/dist/chunks/{file-access-se7f09tz.js → aisdk-w9c29var.js} +14 -14
  257. package/dist/chunks/{file-access-apzb49za.js → aisdk-wb0zn2k1.js} +28 -28
  258. package/dist/chunks/{file-access-wd87259q.js → aisdk-wd87259q.js} +1 -1
  259. package/dist/chunks/{file-access-7b71byjj.js → aisdk-weztskp3.js} +20 -23
  260. package/dist/chunks/{file-access-048dg1q1.js → aisdk-wfhw6drb.js} +20 -20
  261. package/dist/chunks/{file-access-ffmtf96p.js → aisdk-wmr7txpb.js} +8 -8
  262. package/dist/chunks/{file-access-fa3fxms1.js → aisdk-wr23jhdb.js} +15 -15
  263. package/dist/chunks/{file-access-hfe3etvx.js → aisdk-wvwwzcbm.js} +1 -1
  264. package/dist/chunks/{file-access-61mt751v.js → aisdk-x289r1av.js} +9 -9
  265. package/dist/chunks/{file-access-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-access-dpkg50ah.js → aisdk-y71avatq.js} +4 -4
  267. package/dist/chunks/{file-access-pqz03z8g.js → aisdk-yja080mn.js} +15 -15
  268. package/dist/chunks/{file-access-vmvedq7t.js → aisdk-ymg6w8bb.js} +12 -12
  269. package/dist/chunks/{file-access-bcw6cn9v.js → aisdk-yq8szx40.js} +14 -14
  270. package/dist/chunks/{file-access-svqj1re3.js → aisdk-ys0ya0h1.js} +10 -10
  271. package/dist/chunks/{file-access-4xkcgd99.js → aisdk-yscr5c9x.js} +4 -4
  272. package/dist/chunks/{file-access-6nx5eb34.js → aisdk-yt6k9cb9.js} +11 -11
  273. package/dist/chunks/{file-access-2s0a30gw.js → aisdk-yvft115s.js} +30 -30
  274. package/dist/chunks/{file-access-ywt8jp22.js → aisdk-ywt8jp22.js} +2 -2
  275. package/dist/chunks/{file-access-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{file-access-ky0k6zys.js → aisdk-zqjt0nqh.js} +17 -17
  277. package/dist/chunks/{file-access-gjwgnwyt.js → aisdk-zqsenmzc.js} +36 -36
  278. package/dist/chunks/{file-access-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
  279. package/dist/chunks/{file-access-cap6c1x0.js → aisdk-zrkpd8am.js} +15 -15
  280. package/dist/chunks/{file-access-dzbmxh5c.js → aisdk-zvsjz6zg.js} +32 -32
  281. package/dist/chunks/{file-access-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{file-access-zhkxd4p1.js → aisdk-zyjphah6.js} +22 -22
  283. package/dist/chunks/{file-access-nfvkw1mm.js → aisdk-zzyddtb8.js} +5 -5
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +86 -86
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +92 -92
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +120 -120
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +115 -115
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +108 -108
  424. package/dist/form.js +78 -78
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +103 -103
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +133 -133
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +87 -87
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +111 -111
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +103 -103
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +113 -113
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +88 -88
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +125 -125
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +118 -118
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +346 -346
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  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 +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +86 -86
  557. package/dist/provider.js +103 -103
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  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 +216 -216
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +77 -77
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  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 +3 -3
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  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 +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  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 +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +203 -203
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +157 -157
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +212 -212
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  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 +15 -15
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +95 -95
  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 +130 -130
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +107 -107
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +212 -212
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +110 -110
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
  652. package/dist/types/session/runner/step.d.ts +32 -3
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +1 -1
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +2 -2
  671. package/dist/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +81 -81
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +100 -100
  685. package/package.json +8 -8
  686. package/dist/chunks/file-access-84h0zvm6.js +0 -26
  687. package/dist/chunks/file-access-9zdhvgqs.js +0 -18
  688. package/dist/chunks/file-access-x3hek3ek.js +0 -253
  689. /package/dist/chunks/{file-access-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-access-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-access-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-access-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-access-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-access-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{file-access-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{file-access-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{file-access-2bv980vf.js → aisdk-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{file-access-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{file-access-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-access-3asan66x.js → aisdk-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-access-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{file-access-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{file-access-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-access-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-access-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-access-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{file-access-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{file-access-53557ph1.js → aisdk-53557ph1.js} +0 -0
  709. /package/dist/chunks/{file-access-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{file-access-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{file-access-6prwharc.js → aisdk-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-access-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{file-access-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{file-access-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{file-access-822emrt2.js → aisdk-822emrt2.js} +0 -0
  716. /package/dist/chunks/{file-access-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{file-access-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{file-access-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{file-access-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{file-access-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{file-access-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{file-access-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{file-access-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{file-access-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{file-access-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{file-access-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{file-access-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{file-access-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{file-access-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{file-access-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{file-access-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{file-access-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{file-access-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{file-access-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{file-access-df08tz66.js → aisdk-df08tz66.js} +0 -0
  736. /package/dist/chunks/{file-access-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{file-access-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{file-access-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{file-access-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{file-access-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{file-access-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{file-access-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{file-access-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{file-access-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{file-access-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{file-access-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-access-g86h250q.js → aisdk-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-access-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-access-gftt206x.js → aisdk-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-access-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{file-access-hk9envan.js → aisdk-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-access-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{file-access-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{file-access-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{file-access-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-access-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-access-jze0r7bz.js → aisdk-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{file-access-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{file-access-m18g726c.js → aisdk-m18g726c.js} +0 -0
  760. /package/dist/chunks/{file-access-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{file-access-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{file-access-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{file-access-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{file-access-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{file-access-pkyv6v7h.js → aisdk-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{file-access-pyv0edze.js → aisdk-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{file-access-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{file-access-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{file-access-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{file-access-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{file-access-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{file-access-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{file-access-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{file-access-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{file-access-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{file-access-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{file-access-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{file-access-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{file-access-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{file-access-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{file-access-wjj7prxr.js → aisdk-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{file-access-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{file-access-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{file-access-x61499pn.js → aisdk-x61499pn.js} +0 -0
  785. /package/dist/chunks/{file-access-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{file-access-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{file-access-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{file-access-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{file-access-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{file-access-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./file-access-emrn6kk6.js";
5
+ } from "./aisdk-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-access-efss0yr1.js";
3
+ } from "./aisdk-cnspkvmr.js";
4
4
  import {
5
5
  Service84
6
- } from "./file-access-hcqrq8nm.js";
6
+ } from "./aisdk-c4hxf7c1.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19,
10
- Service79
11
- } from "./file-access-1xtm2zgn.js";
9
+ Event17,
10
+ Service68
11
+ } from "./aisdk-304b167w.js";
12
12
  import {
13
- ID14,
13
+ ID9,
14
14
  MethodID2
15
- } from "./file-access-ak9nxzt9.js";
15
+ } from "./aisdk-1tk9ptda.js";
16
16
  import {
17
- ID13,
17
+ ID8,
18
18
  mergeOverlay2
19
- } from "./file-access-nnpypz22.js";
19
+ } from "./aisdk-kqzqf6w1.js";
20
20
  import {
21
- ID12,
21
+ ID6,
22
22
  VariantID2,
23
- Info21
24
- } from "./file-access-k1szzmcz.js";
23
+ Info15
24
+ } from "./aisdk-ng0v81ka.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./file-access-pjvnvgmy.js";
28
+ } from "./aisdk-pjvnvgmy.js";
29
29
  import {
30
30
  get5
31
- } from "./file-access-54ma36ye.js";
31
+ } from "./aisdk-54ma36ye.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./file-access-pbkhx8jc.js";
34
+ } from "./aisdk-e1175tqm.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID13.openai;
47
- var integrationID = ID14.make("openai");
46
+ var providerID = ID8.openai;
47
+ var integrationID = ID9.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
182
  const bus = yield* Service84;
183
- const credentials = yield* Service79;
183
+ const credentials = yield* Service68;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID9.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info15.default(ID8.openai, ID6.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./file-access-n8yw2qpj.js";
3
+ } from "./aisdk-brr9ad8x.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make6 = createLocalProviderPlugin2({
37
+ var make7 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make6 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make6();
70
+ var OllamaPlugin2 = make7();
71
71
 
72
- export { make6, OllamaPlugin2 };
72
+ export { make7, OllamaPlugin2 };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service80
3
- } from "./file-access-m0nv8qas.js";
2
+ Service81
3
+ } from "./aisdk-76b2c9rp.js";
4
4
  import {
5
- Service53
6
- } from "./file-access-99z9zg9e.js";
5
+ Service79
6
+ } from "./aisdk-3gsvm8tc.js";
7
7
  import {
8
- Service18,
8
+ Service78,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./file-access-k9hzba59.js";
11
+ } from "./aisdk-ta649at8.js";
12
12
  import {
13
- Service43
14
- } from "./file-access-pqz03z8g.js";
13
+ Service53
14
+ } from "./aisdk-yja080mn.js";
15
15
  import {
16
- Service64
17
- } from "./file-access-xyxdq3nn.js";
16
+ Service70
17
+ } from "./aisdk-p25etbfn.js";
18
18
  import {
19
- Service63,
19
+ Service17,
20
20
  resolvePath2
21
- } from "./file-access-w54rakr2.js";
21
+ } from "./aisdk-92fp36nx.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./file-access-6prwharc.js";
24
+ } from "./aisdk-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./file-access-9rqn6x4v.js";
27
+ } from "./aisdk-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: () => Input5,
34
- Output: () => Output3,
35
- Plugin: () => Plugin5,
36
- name: () => name5
33
+ Input: () => Input2,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin20,
36
+ name: () => name2
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
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 name5 = "edit";
43
- var Input5 = 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 Input5 = 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 Plugin5 = {
193
+ var Plugin20 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service63;
197
- const fileMutation = yield* Service18;
198
- const environment = yield* Service53;
199
- const formatter = yield* Service43;
200
- const location = yield* Service80;
201
- const permission = yield* Service64;
196
+ const access = yield* Service17;
197
+ const fileMutation = yield* Service78;
198
+ const environment = yield* Service79;
199
+ const formatter = yield* Service53;
200
+ const location = yield* Service81;
201
+ const permission = yield* Service70;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name5,
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: Input5,
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 Plugin5 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name5, Input5, Output3, Plugin5, exports_edit };
279
+ export { name2, Input2, Output2, Plugin20, exports_edit };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-access-hcqrq8nm.js";
4
+ } from "./aisdk-c4hxf7c1.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./file-access-tazgh4e4.js";
9
+ } from "./aisdk-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./file-access-d2gv4akw.js";
12
+ } from "./aisdk-kwqxa2v3.js";
13
13
  import {
14
- Service80,
15
- node84
16
- } from "./file-access-m0nv8qas.js";
14
+ Service81,
15
+ node85
16
+ } from "./aisdk-76b2c9rp.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./file-access-rdw6cm16.js";
20
+ } from "./aisdk-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./file-access-9rqn6x4v.js";
23
+ } from "./aisdk-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info6,
32
+ Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service42,
35
+ Service: () => Service20,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node44
37
+ node: () => node23
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service42 extends Context.Service()("@opencode/Vcs") {
57
+ class Service20 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service42, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service80;
61
+ const location = yield* Service81;
62
62
  const bus = yield* Service84;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service42.of({
132
+ return Service20.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node44 = makeLocationNode({
191
- service: Service42,
190
+ var node23 = makeLocationNode({
191
+ service: Service20,
192
192
  layer,
193
- deps: [FSUtil.node, node84, node88]
193
+ deps: [FSUtil.node, node85, node88]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, InitializeError2, Service42, node44, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service20, node23, exports_vcs };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-access-4s3dfb2j.js";
4
+ } from "./aisdk-czyyzgrn.js";
5
5
  import {
6
6
  Service84,
7
7
  node88
8
- } from "./file-access-hcqrq8nm.js";
8
+ } from "./aisdk-c4hxf7c1.js";
9
9
  import {
10
10
  create3
11
- } from "./file-access-rdw6cm16.js";
11
+ } from "./aisdk-rdw6cm16.js";
12
12
  import {
13
- ID11,
14
- Service68,
15
- node72
16
- } from "./file-access-pbahfm5x.js";
13
+ ID14,
14
+ Service74,
15
+ node76
16
+ } from "./aisdk-3rmrymsq.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./file-access-775gj3j1.js";
19
+ } from "./aisdk-775gj3j1.js";
20
20
  import {
21
- Service75,
22
- node79
23
- } from "./file-access-k1szzmcz.js";
21
+ Service60,
22
+ node62
23
+ } from "./aisdk-ng0v81ka.js";
24
24
  import {
25
25
  estimate2
26
- } from "./file-access-h6vf3j39.js";
26
+ } from "./aisdk-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./file-access-ec1grn59.js";
29
+ } from "./aisdk-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./file-access-yrcj3v3g.js";
35
+ } from "./aisdk-syf57q56.js";
36
36
  import {
37
37
  load5
38
- } from "./file-access-nb5065av.js";
38
+ } from "./aisdk-vzqtbm0w.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./file-access-pnzf6mjf.js";
41
+ } from "./aisdk-bczx5ry5.js";
42
42
  import {
43
43
  baseTranscript2,
44
44
  unsupportedParts2,
45
45
  boundImages2,
46
46
  Service27,
47
47
  node31
48
- } from "./file-access-bwccqm6j.js";
48
+ } from "./aisdk-p7hn8v3g.js";
49
49
  import {
50
- Service36,
51
- node38
52
- } from "./file-access-z393mc3q.js";
50
+ Service48,
51
+ node50
52
+ } from "./aisdk-ny7nr0z6.js";
53
53
  import {
54
54
  isRetryable2,
55
55
  policy2
56
- } from "./file-access-wecqtg5s.js";
56
+ } from "./aisdk-hdkng2sj.js";
57
57
  import {
58
58
  toSessionError2,
59
59
  contentFilterError2
60
- } from "./file-access-btgcmbzv.js";
60
+ } from "./aisdk-ndvnmqc7.js";
61
61
  import {
62
62
  calculateCost2,
63
63
  record2,
64
64
  add2
65
- } from "./file-access-tdstcens.js";
65
+ } from "./aisdk-tdstcens.js";
66
66
  import {
67
67
  __export
68
- } from "./file-access-9rqn6x4v.js";
68
+ } from "./aisdk-9rqn6x4v.js";
69
69
 
70
70
  // src/session/compaction.ts
71
71
  var exports_compaction2 = {};
@@ -172,11 +172,11 @@ var buildPrompt2 = (update, legacy = false) => {
172
172
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
173
173
  var LEGACY_HEADING = "## Additional Context";
174
174
  var layer6 = Layer.effect(Service7, Effect.gen(function* () {
175
- const agents = yield* Service68;
175
+ const agents = yield* Service74;
176
176
  const bus = yield* Service84;
177
177
  const llm = yield* LLMClient.Service;
178
- const catalog = yield* Service75;
179
- const models = yield* Service36;
178
+ const catalog = yield* Service60;
179
+ const models = yield* Service48;
180
180
  const db = (yield* Service85).db;
181
181
  const requests = yield* Service27;
182
182
  const state = create3({
@@ -196,7 +196,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
196
196
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
197
197
  return { status: "skipped" };
198
198
  const native = context.model.compaction?.type === "native";
199
- const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
199
+ const agent = native ? undefined : yield* agents.get(ID14.make("compaction"));
200
200
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
201
201
  return;
202
202
  })))) ?? context.model;
@@ -481,7 +481,7 @@ ${text}`;
481
481
  var node9 = makeLocationNode({
482
482
  service: Service7,
483
483
  layer: layer6,
484
- deps: [node72, node88, node89, llmClient2, node79, node31, node38]
484
+ deps: [node76, node88, node89, llmClient2, node62, node31, node50]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service56
3
- } from "./file-access-7dknjm6k.js";
2
+ Service61
3
+ } from "./aisdk-v8yjsky9.js";
4
4
  import {
5
- Service37
6
- } from "./file-access-jhf3jymm.js";
5
+ Service49
6
+ } from "./aisdk-c8bydgjz.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./file-access-9zdhvgqs.js";
9
+ } from "./aisdk-9sh4wc5j.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./aisdk-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service37;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service56), instances.provide(input.session));
22
+ const instances = yield* Service49;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service61), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-access-z5v4ffb3.js";
3
+ } from "./aisdk-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./aisdk-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service10,
11
+ Service: () => Service5,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node12
13
+ node: () => node7
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service10, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service10.of({
66
+ return Service5.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node7 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service10, node12, exports_discovery };
155
+ export { Service5, node7, exports_discovery };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-access-efss0yr1.js";
3
+ } from "./aisdk-cnspkvmr.js";
4
4
  import {
5
5
  Service84
6
- } from "./file-access-hcqrq8nm.js";
6
+ } from "./aisdk-c4hxf7c1.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./file-access-1xtm2zgn.js";
9
+ Event17
10
+ } from "./aisdk-304b167w.js";
11
11
  import {
12
- ID14,
12
+ ID9,
13
13
  MethodID2
14
- } from "./file-access-ak9nxzt9.js";
14
+ } from "./aisdk-1tk9ptda.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./file-access-pjvnvgmy.js";
18
+ } from "./aisdk-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID8,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./file-access-nnpypz22.js";
23
+ } from "./aisdk-kqzqf6w1.js";
24
24
  import {
25
25
  get5
26
- } from "./file-access-54ma36ye.js";
26
+ } from "./aisdk-54ma36ye.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./file-access-pbkhx8jc.js";
29
+ } from "./aisdk-e1175tqm.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID14.make("openai"),
53
+ integrationID: ID9.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID14.make("openai"),
126
+ integrationID: ID9.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
183
183
  editor.method.update(headless(ctx.app));
184
184
  });
185
185
  yield* load();
186
- const configured = yield* configuredSettings2(ID13.openai);
186
+ const configured = yield* configuredSettings2(ID8.openai);
187
187
  yield* ctx.provider.transform((providers) => {
188
- const item = providers.get(ID13.openai);
188
+ const item = providers.get(ID8.openai);
189
189
  if (!item)
190
190
  return;
191
191
  const account = chatgpt?.metadata?.accountID;
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
205
205
  });
206
206
  });
207
207
  yield* ctx.model.transform((models) => {
208
- for (const model of models.list(ID13.openai)) {
208
+ for (const model of models.list(ID8.openai)) {
209
209
  models.update(model.providerID, model.id, (draft) => {
210
210
  if (!chatgpt)
211
211
  return;
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
236
236
  }));
237
237
  evt.headers.originator = "opencode";
238
238
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
239
- }), { providerID: ID13.openai });
239
+ }), { providerID: ID8.openai });
240
240
  const omitOutputLimit = (evt) => Effect.sync(() => {
241
241
  delete evt.options.maxTokens;
242
242
  });
243
243
  for (const name of ["context", "compaction"])
244
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
244
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID8.openai });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
246
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  })
248
248
  });
249
249
  function headers(contentType, app) {