@opencode/core 0.0.0-dev-21289 → 0.0.0-dev-21296

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 (796) 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 +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-retry-n6sdcjf7.js → aisdk-native-004eaj6n.js} +43 -43
  8. package/dist/chunks/{model-retry-8npnpzra.js → aisdk-native-0c1e5scv.js} +3 -3
  9. package/dist/chunks/{model-retry-m0z9j2xs.js → aisdk-native-0jqv4wmc.js} +37 -37
  10. package/dist/chunks/{model-retry-m4gqpe3z.js → aisdk-native-0scb3md8.js} +13 -13
  11. package/dist/chunks/{model-retry-0vbcp93d.js → aisdk-native-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{model-retry-e3jwh7ys.js → aisdk-native-0wd36ghc.js} +4 -4
  13. package/dist/chunks/{model-retry-892mrmp0.js → aisdk-native-0xezjjjn.js} +8 -8
  14. package/dist/chunks/{model-retry-7fccas0j.js → aisdk-native-17ajdbzk.js} +34 -34
  15. package/dist/chunks/{model-retry-jv6mm5r1.js → aisdk-native-19gt07c1.js} +11 -11
  16. package/dist/chunks/{model-retry-gxfsy275.js → aisdk-native-1g2gcyj5.js} +1 -1
  17. package/dist/chunks/{model-retry-bhey597w.js → aisdk-native-1q9mn8hp.js} +23 -23
  18. package/dist/chunks/{model-retry-ktbcyka7.js → aisdk-native-1th8yvsq.js} +4 -4
  19. package/dist/chunks/{model-retry-fw7x2wjw.js → aisdk-native-1z82t5n0.js} +6 -6
  20. package/dist/chunks/{model-retry-1ze9gtzp.js → aisdk-native-1ze9gtzp.js} +4 -4
  21. package/dist/chunks/{model-retry-zkkxzzm7.js → aisdk-native-2087xn0w.js} +15 -15
  22. package/dist/chunks/{model-retry-rkmhvsr4.js → aisdk-native-2098emdn.js} +30 -30
  23. package/dist/chunks/{model-retry-re80xzqk.js → aisdk-native-24vq2c21.js} +35 -35
  24. package/dist/chunks/{model-retry-fwgra7yh.js → aisdk-native-2e7kk2bz.js} +8 -8
  25. package/dist/chunks/{model-retry-7dqw4kz8.js → aisdk-native-2k8khapm.js} +5 -5
  26. package/dist/chunks/{model-retry-xagp7a1s.js → aisdk-native-349kc19m.js} +18 -18
  27. package/dist/chunks/{model-retry-s3j5qb0t.js → aisdk-native-34anad20.js} +18 -18
  28. package/dist/chunks/{model-retry-hadpnrkv.js → aisdk-native-37jxr4m7.js} +27 -27
  29. package/dist/chunks/{model-retry-k6jeefta.js → aisdk-native-3fzs49xt.js} +3 -3
  30. package/dist/chunks/{model-retry-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{model-retry-3hwn7j4h.js → aisdk-native-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{model-retry-r0ena7ce.js → aisdk-native-3qa76a24.js} +25 -25
  33. package/dist/chunks/{model-retry-73wqhfdm.js → aisdk-native-3qrzxmvj.js} +9 -9
  34. package/dist/chunks/{model-retry-cv3t9aez.js → aisdk-native-3rg3ay0p.js} +9 -9
  35. package/dist/chunks/{model-retry-2k0hjz8m.js → aisdk-native-3sc131mt.js} +4 -4
  36. package/dist/chunks/{model-retry-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{model-retry-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{model-retry-qj8x2vxm.js → aisdk-native-3w4y5t9t.js} +11 -11
  39. package/dist/chunks/{model-retry-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{model-retry-7sp0jpsz.js → aisdk-native-409scgpf.js} +7 -7
  41. package/dist/chunks/{model-retry-wn671ba5.js → aisdk-native-40kx92kj.js} +77 -77
  42. package/dist/chunks/{model-retry-yxx1qbg8.js → aisdk-native-41x0g12r.js} +6 -6
  43. package/dist/chunks/{model-retry-xjt2m7da.js → aisdk-native-4bf1vt5e.js} +6 -6
  44. package/dist/chunks/{model-retry-461nxmbv.js → aisdk-native-4ekscj25.js} +5 -5
  45. package/dist/chunks/{model-retry-t39p8j64.js → aisdk-native-4gr0t1kf.js} +13 -13
  46. package/dist/chunks/{model-retry-vdetfpsp.js → aisdk-native-4pjp27mg.js} +28 -28
  47. package/dist/chunks/{model-retry-99wvww9h.js → aisdk-native-53hfdb6m.js} +21 -21
  48. package/dist/chunks/{model-retry-xe38j9wy.js → aisdk-native-53n3eh82.js} +25 -25
  49. package/dist/chunks/{model-retry-54ma36ye.js → aisdk-native-54ma36ye.js} +1 -1
  50. package/dist/chunks/{model-retry-cnn1wj5a.js → aisdk-native-5dv05ep0.js} +26 -26
  51. package/dist/chunks/{model-retry-gebtr55s.js → aisdk-native-5e15319b.js} +5 -5
  52. package/dist/chunks/{model-retry-c4zg4w5q.js → aisdk-native-5ghj4hqh.js} +17 -17
  53. package/dist/chunks/{model-retry-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{model-retry-e3qxr5gk.js → aisdk-native-5qd3pb7m.js} +2 -2
  55. package/dist/chunks/{model-retry-fqqv62af.js → aisdk-native-5vscj5fh.js} +16 -16
  56. package/dist/chunks/{model-retry-km5jseh3.js → aisdk-native-5zdfhw0y.js} +27 -27
  57. package/dist/chunks/aisdk-native-60hy51x2.js +257 -0
  58. package/dist/chunks/{model-retry-a5mx5mz2.js → aisdk-native-65x6c591.js} +2 -2
  59. package/dist/chunks/{model-retry-ef28kdsf.js → aisdk-native-66jvax92.js} +11 -11
  60. package/dist/chunks/{model-retry-6827pfxn.js → aisdk-native-6827pfxn.js} +1 -1
  61. package/dist/chunks/{model-retry-yvvvp4gn.js → aisdk-native-69j91c1q.js} +8 -8
  62. package/dist/chunks/{model-retry-61pea42y.js → aisdk-native-6ab1jen0.js} +8 -8
  63. package/dist/chunks/{model-retry-4psrcf1w.js → aisdk-native-6ebgrc3y.js} +4 -4
  64. package/dist/chunks/{model-retry-1p07q0wb.js → aisdk-native-6pc27hjz.js} +8 -8
  65. package/dist/chunks/{model-retry-v7z2bvyd.js → aisdk-native-6t4hr8r6.js} +4 -4
  66. package/dist/chunks/{model-retry-6xb47vfp.js → aisdk-native-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{model-retry-j8jw8bvb.js → aisdk-native-756c2e5g.js} +21 -21
  68. package/dist/chunks/{model-retry-775gj3j1.js → aisdk-native-775gj3j1.js} +2 -2
  69. package/dist/chunks/{model-retry-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{model-retry-vjtn814f.js → aisdk-native-7gw5bh7d.js} +19 -19
  71. package/dist/chunks/{model-retry-jq37yr04.js → aisdk-native-7karjvyy.js} +9 -9
  72. package/dist/chunks/{model-retry-b27vhd2z.js → aisdk-native-7sbkp4xb.js} +4 -4
  73. package/dist/chunks/{model-retry-f1kd18ve.js → aisdk-native-7vt3v0c3.js} +4 -4
  74. package/dist/chunks/{model-retry-mcgfs8g2.js → aisdk-native-7xhhckav.js} +11 -11
  75. package/dist/chunks/{model-retry-5ze9zbmh.js → aisdk-native-7xqwmsh4.js} +10 -10
  76. package/dist/chunks/{model-retry-84txncab.js → aisdk-native-84txncab.js} +1 -1
  77. package/dist/chunks/{model-retry-3hskxyfj.js → aisdk-native-8b1csnkw.js} +14 -14
  78. package/dist/chunks/{model-retry-vjh35t9b.js → aisdk-native-8e5ng5z0.js} +16 -16
  79. package/dist/chunks/{model-retry-fqyqba4e.js → aisdk-native-8esrbvwc.js} +14 -14
  80. package/dist/chunks/{model-retry-8m6m0r52.js → aisdk-native-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{model-retry-8mywswrd.js → aisdk-native-8mywswrd.js} +1 -1
  82. package/dist/chunks/{model-retry-an6q6vkd.js → aisdk-native-8n5bt5nm.js} +23 -23
  83. package/dist/chunks/{model-retry-t01qgdv4.js → aisdk-native-8wy7662d.js} +17 -17
  84. package/dist/chunks/{model-retry-02w8hjv9.js → aisdk-native-8x5rkv0h.js} +11 -11
  85. package/dist/chunks/{model-retry-ydma693n.js → aisdk-native-8yj6gt86.js} +19 -19
  86. package/dist/chunks/{model-retry-m3vs2jhj.js → aisdk-native-8zzeef0r.js} +13 -13
  87. package/dist/chunks/{model-retry-ebs8qv75.js → aisdk-native-937m0y5f.js} +10 -10
  88. package/dist/chunks/{model-retry-fxjva6qe.js → aisdk-native-9487wnr3.js} +3 -3
  89. package/dist/chunks/{model-retry-3tnvd6qs.js → aisdk-native-95yg8akc.js} +21 -21
  90. package/dist/chunks/{model-retry-0bw8y30e.js → aisdk-native-96vvhf26.js} +51 -51
  91. package/dist/chunks/{model-retry-y3qxx51z.js → aisdk-native-9723mvds.js} +12 -12
  92. package/dist/chunks/{model-retry-3dt4tzwg.js → aisdk-native-9bh5q6pj.js} +2 -2
  93. package/dist/chunks/aisdk-native-9dv7jab0.js +517 -0
  94. package/dist/chunks/{model-retry-hc9hnsc9.js → aisdk-native-9ganr053.js} +14 -14
  95. package/dist/chunks/{model-retry-6xymw6hf.js → aisdk-native-9ham2w87.js} +14 -14
  96. package/dist/chunks/{model-retry-wcgsvnj5.js → aisdk-native-9jphx3mb.js} +8 -8
  97. package/dist/chunks/{model-retry-gx4mz6q7.js → aisdk-native-a0dwc44h.js} +51 -51
  98. package/dist/chunks/{model-retry-7v6vae4w.js → aisdk-native-a20pjse5.js} +3 -3
  99. package/dist/chunks/{model-retry-9pf7je19.js → aisdk-native-a2vq6s7f.js} +3 -3
  100. package/dist/chunks/{model-retry-hj389172.js → aisdk-native-a3bsrsd6.js} +1 -1
  101. package/dist/chunks/{model-retry-h6n0e19c.js → aisdk-native-a50454pt.js} +97 -97
  102. package/dist/chunks/{model-retry-cbrfz1mf.js → aisdk-native-ab3hvh4n.js} +304 -304
  103. package/dist/chunks/{model-retry-snxa7hz3.js → aisdk-native-ae2bqj1x.js} +5 -5
  104. package/dist/chunks/{model-retry-c77dabg0.js → aisdk-native-ahga06gf.js} +13 -13
  105. package/dist/chunks/{model-retry-27dhaw8v.js → aisdk-native-asjjsc90.js} +48 -48
  106. package/dist/chunks/{model-retry-a1hr7aq8.js → aisdk-native-avj3yf7v.js} +3 -3
  107. package/dist/chunks/{model-retry-7jdsj2a9.js → aisdk-native-axe3mf62.js} +3 -3
  108. package/dist/chunks/{model-retry-mhgn79e1.js → aisdk-native-azmw4fcy.js} +52 -52
  109. package/dist/chunks/{model-retry-e4m4ah41.js → aisdk-native-b1yzqvdj.js} +31 -31
  110. package/dist/chunks/{model-retry-7etyqpkv.js → aisdk-native-bc1xqbpd.js} +7 -7
  111. package/dist/chunks/{model-retry-b2zbab51.js → aisdk-native-brek2qp6.js} +9 -9
  112. package/dist/chunks/{model-retry-bzeyqsqd.js → aisdk-native-bzeyqsqd.js} +1 -1
  113. package/dist/chunks/{model-retry-c1fqxshp.js → aisdk-native-c1fqxshp.js} +3 -3
  114. package/dist/chunks/{model-retry-7pg7e456.js → aisdk-native-c5ggqzvz.js} +12 -12
  115. package/dist/chunks/{model-retry-ft3hqk2c.js → aisdk-native-c765mh8b.js} +9 -9
  116. package/dist/chunks/{model-retry-v91zw3m9.js → aisdk-native-cvjsq3wy.js} +14 -14
  117. package/dist/chunks/{model-retry-kzqw00rs.js → aisdk-native-dgm2qr8a.js} +16 -16
  118. package/dist/chunks/{model-retry-b724djfs.js → aisdk-native-dm07sh71.js} +18 -18
  119. package/dist/chunks/{model-retry-sz6fjq3m.js → aisdk-native-dpqarmsa.js} +5 -5
  120. package/dist/chunks/{model-retry-25yddszk.js → aisdk-native-dq407baf.js} +6 -6
  121. package/dist/chunks/{model-retry-qv0gwb50.js → aisdk-native-dqs3mz6s.js} +26 -26
  122. package/dist/chunks/{model-retry-57b9ws8p.js → aisdk-native-drwq78ky.js} +5 -5
  123. package/dist/chunks/{model-retry-dxqvx2bd.js → aisdk-native-dted5cxw.js} +25 -25
  124. package/dist/chunks/{model-retry-v15gsnts.js → aisdk-native-dtkq61nx.js} +50 -50
  125. package/dist/chunks/{model-retry-q7gr6qfd.js → aisdk-native-dw4a8ax5.js} +22 -22
  126. package/dist/chunks/{model-retry-frsszzbj.js → aisdk-native-dwc12cgc.js} +14 -14
  127. package/dist/chunks/{model-retry-xhhxc1wd.js → aisdk-native-dyvax4f1.js} +3 -3
  128. package/dist/chunks/{model-retry-wj5d0sg5.js → aisdk-native-e7qbyzsc.js} +23 -23
  129. package/dist/chunks/{model-retry-nma959mg.js → aisdk-native-e80seqcp.js} +3 -3
  130. package/dist/chunks/{model-retry-eej6y6fw.js → aisdk-native-eej6y6fw.js} +2 -2
  131. package/dist/chunks/{model-retry-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{model-retry-2g47h04h.js → aisdk-native-eh24tkg1.js} +29 -29
  133. package/dist/chunks/{model-retry-wksg1me0.js → aisdk-native-ehb6zgzn.js} +22 -22
  134. package/dist/chunks/{model-retry-yg89wztc.js → aisdk-native-es0z8ca2.js} +11 -11
  135. package/dist/chunks/{model-retry-gchapswt.js → aisdk-native-etf771kz.js} +8 -8
  136. package/dist/chunks/{model-retry-0wcqedam.js → aisdk-native-evvzn8t1.js} +36 -36
  137. package/dist/chunks/{model-retry-heq5p5e1.js → aisdk-native-f5pe91sd.js} +4 -4
  138. package/dist/chunks/{model-retry-197b73fz.js → aisdk-native-f74fvsr6.js} +44 -44
  139. package/dist/chunks/{model-retry-3htr7rzc.js → aisdk-native-fc146j8e.js} +23 -23
  140. package/dist/chunks/{model-retry-fcy631f0.js → aisdk-native-fcy631f0.js} +1 -1
  141. package/dist/chunks/{model-retry-bxqk5pf5.js → aisdk-native-g686f6pq.js} +9 -9
  142. package/dist/chunks/{model-retry-kvpdra3r.js → aisdk-native-gb6t5evv.js} +25 -25
  143. package/dist/chunks/{model-retry-dxt0ht33.js → aisdk-native-gcykmc2m.js} +20 -20
  144. package/dist/chunks/{model-retry-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{model-retry-qq7kxqk9.js → aisdk-native-gfa47pmv.js} +50 -50
  146. package/dist/chunks/{model-retry-qne3fa44.js → aisdk-native-gj71zhbs.js} +5 -5
  147. package/dist/chunks/{model-retry-9amv0j2y.js → aisdk-native-gqsra0s5.js} +9 -9
  148. package/dist/chunks/{model-retry-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{model-retry-z2qvtray.js → aisdk-native-haw017sp.js} +8 -8
  150. package/dist/chunks/{model-retry-b4ytdsdb.js → aisdk-native-hcv80w8f.js} +11 -11
  151. package/dist/chunks/{model-retry-93x8jgcz.js → aisdk-native-hetzgjah.js} +36 -36
  152. package/dist/chunks/{model-retry-pm9cq2zg.js → aisdk-native-hewty47s.js} +35 -35
  153. package/dist/chunks/{model-retry-hgz4x7wa.js → aisdk-native-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{model-retry-s56kzkqb.js → aisdk-native-hh4seyf6.js} +24 -24
  155. package/dist/chunks/{model-retry-eaz4frst.js → aisdk-native-hmpfctkq.js} +8 -8
  156. package/dist/chunks/{model-retry-pfzgmgqq.js → aisdk-native-hmvdm1nr.js} +30 -30
  157. package/dist/chunks/{model-retry-prx1gbh0.js → aisdk-native-hphtwhrw.js} +5 -5
  158. package/dist/chunks/{model-retry-0cbhyycw.js → aisdk-native-hyhyyj61.js} +17 -17
  159. package/dist/chunks/{model-retry-5fxpne0w.js → aisdk-native-j0ay6bhg.js} +2 -2
  160. package/dist/chunks/{model-retry-1th0nyd1.js → aisdk-native-j7tanhw5.js} +23 -23
  161. package/dist/chunks/{model-retry-4dwf0nmp.js → aisdk-native-j8wfa5vk.js} +13 -13
  162. package/dist/chunks/{model-retry-bkb01ez0.js → aisdk-native-jgp073vv.js} +45 -45
  163. package/dist/chunks/{model-retry-k2gfd0vj.js → aisdk-native-jh8env4y.js} +13 -13
  164. package/dist/chunks/{model-retry-9p4ckb4p.js → aisdk-native-jjd2yye4.js} +6 -6
  165. package/dist/chunks/{model-retry-8yaq5rsp.js → aisdk-native-jzy793vj.js} +32 -32
  166. package/dist/chunks/{model-retry-paykg90t.js → aisdk-native-k13rpznb.js} +34 -34
  167. package/dist/chunks/{model-retry-3pw8htx8.js → aisdk-native-kdbcdm2p.js} +1 -1
  168. package/dist/chunks/{model-retry-khmqacep.js → aisdk-native-khmqacep.js} +1 -1
  169. package/dist/chunks/{model-retry-kwb1v3vj.js → aisdk-native-kwb1v3vj.js} +1 -1
  170. package/dist/chunks/{model-retry-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{model-retry-maspj1v3.js → aisdk-native-maspj1v3.js} +1 -1
  172. package/dist/chunks/{model-retry-ffptefkn.js → aisdk-native-meeeyptt.js} +50 -50
  173. package/dist/chunks/{model-retry-m6pj9s11.js → aisdk-native-mey7zhp8.js} +5 -5
  174. package/dist/chunks/{model-retry-wxrr62q2.js → aisdk-native-mg9wc1ev.js} +11 -11
  175. package/dist/chunks/{model-retry-gysb7t93.js → aisdk-native-mmb750pd.js} +91 -91
  176. package/dist/chunks/{model-retry-315ef24x.js → aisdk-native-mt906k1j.js} +8 -8
  177. package/dist/chunks/{model-retry-cccr210v.js → aisdk-native-mwn18k12.js} +35 -35
  178. package/dist/chunks/{model-retry-ftfbzs9m.js → aisdk-native-n1p81jna.js} +19 -19
  179. package/dist/chunks/{model-retry-scbxxt86.js → aisdk-native-nc721mq8.js} +21 -21
  180. package/dist/chunks/{model-retry-120g7207.js → aisdk-native-nckm1509.js} +2 -2
  181. package/dist/chunks/{model-retry-jcjcjx0t.js → aisdk-native-nesm380x.js} +12 -12
  182. package/dist/chunks/{model-retry-dvwsp6mb.js → aisdk-native-nkfb0x16.js} +2 -2
  183. package/dist/chunks/{model-retry-q8wdfhzq.js → aisdk-native-nx9gpye3.js} +12 -12
  184. package/dist/chunks/{model-retry-nz56sr1f.js → aisdk-native-nz56sr1f.js} +2 -2
  185. package/dist/chunks/{model-retry-2xr9pws4.js → aisdk-native-p139kb1p.js} +13 -13
  186. package/dist/chunks/{model-retry-f82ss59t.js → aisdk-native-p1rw895a.js} +3 -3
  187. package/dist/chunks/{model-retry-9hn6k4tm.js → aisdk-native-p42hj8p8.js} +8 -8
  188. package/dist/chunks/{model-retry-grv8yzns.js → aisdk-native-p5dx8j25.js} +36 -36
  189. package/dist/chunks/{model-retry-sh9986p4.js → aisdk-native-p7kjzj47.js} +16 -16
  190. package/dist/chunks/{model-retry-s0s52qkt.js → aisdk-native-pd5d6pm6.js} +15 -15
  191. package/dist/chunks/{model-retry-tebr7jg9.js → aisdk-native-pfavk0gx.js} +12 -12
  192. package/dist/chunks/{model-retry-fc3q91nw.js → aisdk-native-pgeyzwhg.js} +42 -42
  193. package/dist/chunks/{model-retry-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{model-retry-6xsr5dks.js → aisdk-native-pk4wa1v7.js} +33 -33
  195. package/dist/chunks/{model-retry-ekp1j1b5.js → aisdk-native-pk6da7aj.js} +18 -18
  196. package/dist/chunks/{model-retry-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  197. package/dist/chunks/{model-retry-h896pcm5.js → aisdk-native-prmgem5b.js} +6 -6
  198. package/dist/chunks/{model-retry-v8chhsy3.js → aisdk-native-py3bbhv5.js} +11 -11
  199. package/dist/chunks/{model-retry-tz35mf6x.js → aisdk-native-pz0ytm9k.js} +8 -8
  200. package/dist/chunks/{model-retry-v7024ht3.js → aisdk-native-q5b8y3xv.js} +14 -14
  201. package/dist/chunks/{model-retry-zqma82cw.js → aisdk-native-q8ejgrh7.js} +11 -11
  202. package/dist/chunks/{model-retry-nentvqe9.js → aisdk-native-qat70s67.js} +24 -24
  203. package/dist/chunks/{model-retry-5kzpfxft.js → aisdk-native-qcan06tx.js} +21 -21
  204. package/dist/chunks/{model-retry-qt88z79s.js → aisdk-native-qe206vge.js} +7 -7
  205. package/dist/chunks/{model-retry-bhk1rbmp.js → aisdk-native-qmj4b9ja.js} +32 -32
  206. package/dist/chunks/{model-retry-7kw0mv8e.js → aisdk-native-qna8jnyk.js} +29 -29
  207. package/dist/chunks/{model-retry-qnc92qwc.js → aisdk-native-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{model-retry-5c6h6vqc.js → aisdk-native-qq2qmwe2.js} +9 -9
  209. package/dist/chunks/{model-retry-0svm4j11.js → aisdk-native-qqmhr94f.js} +15 -15
  210. package/dist/chunks/{model-retry-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
  211. package/dist/chunks/{model-retry-6vmd7p6h.js → aisdk-native-r7epa8w9.js} +10 -10
  212. package/dist/chunks/{model-retry-rv11vn85.js → aisdk-native-r939pgrs.js} +11 -11
  213. package/dist/chunks/{model-retry-gcsxsjs6.js → aisdk-native-rbddshgb.js} +18 -18
  214. package/dist/chunks/{model-retry-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{model-retry-5yx9a2ww.js → aisdk-native-rdx6zs89.js} +8 -8
  216. package/dist/chunks/{model-retry-rert0e01.js → aisdk-native-rert0e01.js} +2 -2
  217. package/dist/chunks/{model-retry-rhjbct0v.js → aisdk-native-rhjbct0v.js} +1 -1
  218. package/dist/chunks/{model-retry-1acjjqhc.js → aisdk-native-rhraev7y.js} +4 -4
  219. package/dist/chunks/{model-retry-rj3eygr5.js → aisdk-native-rj3eygr5.js} +2 -2
  220. package/dist/chunks/{model-retry-embw8kgh.js → aisdk-native-rwm5vee1.js} +4 -4
  221. package/dist/chunks/{model-retry-rf6pfzwp.js → aisdk-native-s6btdq5g.js} +1 -1
  222. package/dist/chunks/{model-retry-mq044fh7.js → aisdk-native-s6cpq0wz.js} +13 -13
  223. package/dist/chunks/{model-retry-rr55ymyq.js → aisdk-native-s6qcaefa.js} +29 -29
  224. package/dist/chunks/{model-retry-sa8ekw3f.js → aisdk-native-sa8ekw3f.js} +2 -2
  225. package/dist/chunks/{model-retry-8h4b0cs1.js → aisdk-native-skpgndjp.js} +24 -24
  226. package/dist/chunks/{model-retry-wn3g4ypj.js → aisdk-native-svj5pvzg.js} +28 -28
  227. package/dist/chunks/{model-retry-syv4x271.js → aisdk-native-syv4x271.js} +1 -1
  228. package/dist/chunks/{model-retry-dkpq1bsc.js → aisdk-native-t2wwn0ay.js} +19 -19
  229. package/dist/chunks/{model-retry-4vk656gf.js → aisdk-native-t3dkae6y.js} +9 -9
  230. package/dist/chunks/{model-retry-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{model-retry-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{model-retry-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
  233. package/dist/chunks/{model-retry-zdqemt2t.js → aisdk-native-tk7tezdh.js} +15 -15
  234. package/dist/chunks/{model-retry-tm0kqsz3.js → aisdk-native-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{model-retry-1trs7s7z.js → aisdk-native-tprq4g7a.js} +16 -16
  236. package/dist/chunks/{model-retry-bx29z6jj.js → aisdk-native-tqngjy9q.js} +20 -20
  237. package/dist/chunks/{model-retry-7cx595n2.js → aisdk-native-txm3e8qz.js} +9 -9
  238. package/dist/chunks/{model-retry-tyytaxap.js → aisdk-native-tyytaxap.js} +1 -1
  239. package/dist/chunks/{model-retry-tx0gtb9m.js → aisdk-native-v210v162.js} +9 -9
  240. package/dist/chunks/{model-retry-v7p4zvkq.js → aisdk-native-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{model-retry-yxwmwsaj.js → aisdk-native-v9e4g1jz.js} +19 -19
  242. package/dist/chunks/{model-retry-eefqbebw.js → aisdk-native-v9zzqvcp.js} +24 -24
  243. package/dist/chunks/{model-retry-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
  244. package/dist/chunks/aisdk-native-vnkjks7b.js +18 -0
  245. package/dist/chunks/aisdk-native-vr5m31t5.js +26 -0
  246. package/dist/chunks/{model-retry-fx6hsjqx.js → aisdk-native-vvhh43p5.js} +22 -22
  247. package/dist/chunks/{model-retry-qjch4pc3.js → aisdk-native-vzkxfwdq.js} +15 -15
  248. package/dist/chunks/{model-retry-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{model-retry-z3ammv4w.js → aisdk-native-w1wn6h8h.js} +17 -17
  250. package/dist/chunks/{model-retry-kjdm35cs.js → aisdk-native-w39jehkq.js} +5 -5
  251. package/dist/chunks/{model-retry-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{model-retry-jcen6etv.js → aisdk-native-w5rv5vav.js} +33 -33
  253. package/dist/chunks/{model-retry-13xvemqm.js → aisdk-native-w62gg202.js} +17 -17
  254. package/dist/chunks/{model-retry-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  255. package/dist/chunks/{model-retry-npr0wz9t.js → aisdk-native-wfpqd2wx.js} +6 -6
  256. package/dist/chunks/{model-retry-w3x15rym.js → aisdk-native-wh5h9wdx.js} +24 -24
  257. package/dist/chunks/{model-retry-bjx1sjef.js → aisdk-native-wjr9rjd7.js} +6 -6
  258. package/dist/chunks/{model-retry-fdms3n6w.js → aisdk-native-wk5z6jzv.js} +9 -9
  259. package/dist/chunks/{model-retry-tz70ab5q.js → aisdk-native-wks1wfwf.js} +30 -30
  260. package/dist/chunks/{model-retry-5mrmcz26.js → aisdk-native-x68jtk21.js} +37 -37
  261. package/dist/chunks/{model-retry-n8v5cbt0.js → aisdk-native-x8ghw6e7.js} +20 -20
  262. package/dist/chunks/{model-retry-tcpq0y9r.js → aisdk-native-xfjx2aft.js} +13 -13
  263. package/dist/chunks/{model-retry-87pge11c.js → aisdk-native-xgc9sej2.js} +61 -61
  264. package/dist/chunks/{model-retry-wp3yb7k0.js → aisdk-native-xm0e89ad.js} +11 -11
  265. package/dist/chunks/{model-retry-4ndyr8vy.js → aisdk-native-xsnfp990.js} +13 -13
  266. package/dist/chunks/{model-retry-ry6831an.js → aisdk-native-xvedb59m.js} +9 -9
  267. package/dist/chunks/{model-retry-f5rb7yq3.js → aisdk-native-xx1gnxvy.js} +32 -32
  268. package/dist/chunks/{model-retry-g36mkr7n.js → aisdk-native-xx6p3jw0.js} +21 -21
  269. package/dist/chunks/{model-retry-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-retry-3y377wv9.js → aisdk-native-y6bex35g.js} +4 -4
  271. package/dist/chunks/{model-retry-vkfdnwpx.js → aisdk-native-y6mhz57t.js} +4 -4
  272. package/dist/chunks/{model-retry-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
  273. package/dist/chunks/{model-retry-qwemz3ha.js → aisdk-native-ya06qa3k.js} +21 -21
  274. package/dist/chunks/{model-retry-c3z27sd6.js → aisdk-native-ynanx4br.js} +9 -9
  275. package/dist/chunks/{model-retry-cm7k2cvd.js → aisdk-native-yq3mx877.js} +11 -11
  276. package/dist/chunks/{model-retry-zsg3hbgq.js → aisdk-native-ysetzwh9.js} +3 -3
  277. package/dist/chunks/{model-retry-pq9chy9c.js → aisdk-native-yvrjrdnb.js} +10 -10
  278. package/dist/chunks/{model-retry-1pr61bwh.js → aisdk-native-yx2dkg0t.js} +18 -18
  279. package/dist/chunks/{model-retry-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{model-retry-67zw56js.js → aisdk-native-z0tj0v41.js} +32 -32
  281. package/dist/chunks/{model-retry-z18fegx4.js → aisdk-native-z18fegx4.js} +1 -1
  282. package/dist/chunks/{model-retry-m9c6r0nn.js → aisdk-native-zfjehv6x.js} +13 -13
  283. package/dist/chunks/{model-retry-4n984778.js → aisdk-native-zgftg0pe.js} +32 -32
  284. package/dist/chunks/{model-retry-enbzs98c.js → aisdk-native-zqz7cba6.js} +15 -15
  285. package/dist/chunks/{model-retry-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{model-retry-pp4zh5st.js → aisdk-native-zssq29w7.js} +168 -168
  287. package/dist/chunks/{model-retry-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +208 -208
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +114 -114
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +115 -115
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +72 -72
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +81 -81
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +221 -221
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +82 -82
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +136 -136
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +131 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +98 -98
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +100 -100
  481. package/dist/models-dev.js +107 -107
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +82 -82
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +123 -123
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +217 -217
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +95 -95
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +155 -155
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +77 -77
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +116 -116
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +128 -128
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +203 -203
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +82 -82
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/model-retry-374yendz.js +0 -26
  693. package/dist/chunks/model-retry-9yd845wg.js +0 -517
  694. package/dist/chunks/model-retry-9zdhvgqs.js +0 -18
  695. package/dist/chunks/model-retry-zw8e9rvj.js +0 -257
  696. /package/dist/chunks/{model-retry-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{model-retry-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{model-retry-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{model-retry-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{model-retry-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{model-retry-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{model-retry-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{model-retry-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{model-retry-2bv980vf.js → aisdk-native-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{model-retry-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{model-retry-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{model-retry-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  708. /package/dist/chunks/{model-retry-3t0ybcrp.js → aisdk-native-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{model-retry-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{model-retry-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{model-retry-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{model-retry-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{model-retry-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{model-retry-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{model-retry-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  716. /package/dist/chunks/{model-retry-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{model-retry-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  718. /package/dist/chunks/{model-retry-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{model-retry-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{model-retry-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{model-retry-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  722. /package/dist/chunks/{model-retry-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{model-retry-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{model-retry-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{model-retry-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{model-retry-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{model-retry-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{model-retry-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{model-retry-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{model-retry-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{model-retry-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{model-retry-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{model-retry-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{model-retry-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{model-retry-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{model-retry-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{model-retry-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{model-retry-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{model-retry-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{model-retry-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{model-retry-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  742. /package/dist/chunks/{model-retry-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{model-retry-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{model-retry-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{model-retry-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{model-retry-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{model-retry-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{model-retry-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{model-retry-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{model-retry-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{model-retry-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{model-retry-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{model-retry-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  754. /package/dist/chunks/{model-retry-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{model-retry-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  756. /package/dist/chunks/{model-retry-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{model-retry-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  758. /package/dist/chunks/{model-retry-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{model-retry-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{model-retry-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{model-retry-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{model-retry-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{model-retry-jze0r7bz.js → aisdk-native-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{model-retry-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{model-retry-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
  766. /package/dist/chunks/{model-retry-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{model-retry-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{model-retry-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{model-retry-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{model-retry-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{model-retry-pkyv6v7h.js → aisdk-native-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{model-retry-pyv0edze.js → aisdk-native-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{model-retry-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{model-retry-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{model-retry-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{model-retry-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{model-retry-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{model-retry-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{model-retry-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{model-retry-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{model-retry-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{model-retry-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{model-retry-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{model-retry-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{model-retry-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{model-retry-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{model-retry-wjj7prxr.js → aisdk-native-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{model-retry-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{model-retry-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{model-retry-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  791. /package/dist/chunks/{model-retry-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{model-retry-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{model-retry-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{model-retry-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{model-retry-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{model-retry-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./model-retry-wxrr62q2.js";
2
+ Service86,
3
+ node90
4
+ } from "./aisdk-native-mg9wc1ev.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./model-retry-fqqv62af.js";
6
+ Service85,
7
+ node89
8
+ } from "./aisdk-native-5vscj5fh.js";
9
+ import {
10
+ Service73,
11
+ node77
12
+ } from "./aisdk-native-8b1csnkw.js";
9
13
  import {
10
14
  Service64,
11
15
  node68
12
- } from "./model-retry-3hskxyfj.js";
13
- import {
14
- Service50,
15
- node52
16
- } from "./model-retry-h896pcm5.js";
16
+ } from "./aisdk-native-prmgem5b.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./model-retry-ec1grn59.js";
19
+ } from "./aisdk-native-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./model-retry-1acjjqhc.js";
21
+ make19
22
+ } from "./aisdk-native-rhraev7y.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service47
26
- } from "./model-retry-embw8kgh.js";
25
+ Service61
26
+ } from "./aisdk-native-rwm5vee1.js";
27
27
  import {
28
- Service58,
29
- node62
30
- } from "./model-retry-0cbhyycw.js";
28
+ Service66,
29
+ node70
30
+ } from "./aisdk-native-hyhyyj61.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./model-retry-snxa7hz3.js";
33
+ } from "./aisdk-native-ae2bqj1x.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./model-retry-km5jseh3.js";
36
+ } from "./aisdk-native-5zdfhw0y.js";
37
37
  import {
38
38
  __export
39
- } from "./model-retry-9rqn6x4v.js";
39
+ } from "./aisdk-native-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service46,
44
+ Service: () => Service60,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer20,
47
- node: () => node49,
48
- noopLayer: () => noopLayer2,
46
+ layer: () => layer24,
47
+ node: () => node65,
48
+ noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service46 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service60 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer20 = Layer.effect(Service46, Effect.gen(function* () {
63
- const store = yield* Service58;
64
- const instances = yield* Service50;
65
- const bus = yield* Service83;
66
- const jobs = yield* Service64;
67
- const db = (yield* Service84).db;
62
+ var layer24 = Layer.effect(Service60, Effect.gen(function* () {
63
+ const store = yield* Service66;
64
+ const instances = yield* Service64;
65
+ const bus = yield* Service85;
66
+ const jobs = yield* Service73;
67
+ const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
70
70
  commit: () => store.claim(sessionID)
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service61.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make17({
86
+ const coordinator = yield* make19({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service46.of({
107
+ return Service60.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node49 = makeGlobalNode({
127
- service: Service46,
128
- layer: layer20,
129
- deps: [node62, node52, node87, node88, node68]
126
+ var node65 = makeGlobalNode({
127
+ service: Service60,
128
+ layer: layer24,
129
+ deps: [node70, node68, node89, node90, node77]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service46, Service46.of({
131
+ var noopLayer3 = Layer.succeed(Service60, Service60.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service46, Service46.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service46, terminal2, layer20, node49, noopLayer2, exports_execution };
140
+ export { Service60, terminal2, layer24, node65, noopLayer3, exports_execution };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-retry-z5v4ffb3.js";
4
+ } from "./aisdk-native-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node82
10
- } from "./model-retry-7pg7e456.js";
8
+ Service84,
9
+ node88
10
+ } from "./aisdk-native-c5ggqzvz.js";
11
11
  import {
12
- Service76,
13
- node80
14
- } from "./model-retry-6xymw6hf.js";
12
+ Service79,
13
+ node83
14
+ } from "./aisdk-native-9ham2w87.js";
15
15
  import {
16
16
  create3
17
- } from "./model-retry-rdw6cm16.js";
17
+ } from "./aisdk-native-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./model-retry-9rqn6x4v.js";
20
+ } from "./aisdk-native-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID6,
27
- Service: () => Service54,
25
+ Error: () => Error5,
26
+ ID: () => ID7,
27
+ Service: () => Service57,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node57,
30
- noopLayer: () => noopLayer3
29
+ node: () => node62,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service54 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service57 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service54, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service79;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID6.make(tree);
99
+ return ID7.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service54.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service57.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node57 = makeLocationNode({
153
- service: Service54,
152
+ var node62 = makeLocationNode({
153
+ service: Service57,
154
154
  layer,
155
- deps: [FSUtil.node, node82, Global.node, node80]
155
+ deps: [FSUtil.node, node88, Global.node, node83]
156
156
  });
157
- var noopLayer3 = Layer.succeed(Service54, Service54.of({
157
+ var noopLayer2 = Layer.succeed(Service57, Service57.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service54, Service54.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error4 && cause.operation === operation)
166
+ if (cause instanceof Error5 && cause.operation === operation)
167
167
  return cause;
168
- return new Error4({
168
+ return new Error5({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID6, Error4, Service54, node57, noopLayer3, exports_snapshot2 };
175
+ export { ID7, Error5, Service57, node62, noopLayer2, exports_snapshot2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./model-retry-fqqv62af.js";
2
+ Service85,
3
+ node89
4
+ } from "./aisdk-native-5vscj5fh.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./model-retry-z5v4ffb3.js";
8
+ } from "./aisdk-native-z5v4ffb3.js";
9
9
  import {
10
10
  Ref3,
11
- Service76,
12
- node80
13
- } from "./model-retry-6xymw6hf.js";
11
+ Service79,
12
+ node83
13
+ } from "./aisdk-native-9ham2w87.js";
14
14
  import {
15
15
  __export
16
- } from "./model-retry-9rqn6x4v.js";
16
+ } from "./aisdk-native-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service75,
22
+ Service: () => Service52,
23
23
  define: () => define2,
24
- node: () => node79
24
+ node: () => node57
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service75 extends Context.Service()("@opencode/Rpc") {
30
+ class Service52 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service75, Effect.gen(function* () {
43
- const bus = yield* Service83;
44
- const location = yield* Service76;
42
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
43
+ const bus = yield* Service85;
44
+ const location = yield* Service79;
45
45
  const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service75.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service52.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80] });
128
+ var node57 = makeLocationNode({ service: Service52, layer, deps: [node89, node83] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service75, node79, exports_rpc, define2 };
213
+ export { Service52, node57, exports_rpc, define2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-retry-qfa1cgps.js";
3
+ } from "./aisdk-native-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service50,
10
- node: () => node52
9
+ Service: () => Service64,
10
+ node: () => node68
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service50 extends Context.Service()("@opencode/Instance") {
16
+ class Service64 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node52 = LayerNode.unbound(Service50, Node.tags.values.global);
18
+ var node68 = LayerNode.unbound(Service64, Node.tags.values.global);
19
19
 
20
- export { Service50, node52, exports_service2 };
20
+ export { Service64, node68, exports_service2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service65
4
- } from "./model-retry-qq7kxqk9.js";
3
+ Service41
4
+ } from "./aisdk-native-gfa47pmv.js";
5
5
  import {
6
- Service53
7
- } from "./model-retry-ydma693n.js";
6
+ Service76
7
+ } from "./aisdk-native-8yj6gt86.js";
8
8
  import {
9
9
  observe2
10
- } from "./model-retry-qsdy395h.js";
10
+ } from "./aisdk-native-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./aisdk-native-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell = {};
17
17
  __export(exports_shell, {
18
18
  ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin22
19
+ Plugin: () => Plugin5
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin22 = define({
23
+ var Plugin5 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service65;
27
- const shell = yield* Service53;
26
+ const config = yield* Service41;
27
+ const shell = yield* Service76;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin22 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin22, exports_shell };
37
+ export { Plugin5, exports_shell };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./model-retry-bjx1sjef.js";
3
+ } from "./aisdk-native-wjr9rjd7.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./aisdk-native-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin6,
11
+ Plugin: () => Plugin24,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint6
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/http";
18
- var endpoint3 = "https://mcp.exa.ai/mcp";
18
+ var endpoint6 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin6 = define({
30
+ var Plugin24 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin6 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint3);
52
+ const url = new URL(endpoint6);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint3, Plugin6, exports_exa };
83
+ export { endpoint6, Plugin24, exports_exa };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service84
3
- } from "./model-retry-wxrr62q2.js";
2
+ Service86
3
+ } from "./aisdk-native-mg9wc1ev.js";
4
4
  import {
5
- Service50
6
- } from "./model-retry-h896pcm5.js";
5
+ Service64
6
+ } from "./aisdk-native-prmgem5b.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./model-retry-9zdhvgqs.js";
9
+ } from "./aisdk-native-vnkjks7b.js";
10
10
  import {
11
11
  preview2
12
- } from "./model-retry-qj8x2vxm.js";
12
+ } from "./aisdk-native-3w4y5t9t.js";
13
13
  import {
14
14
  baseTranscript2
15
- } from "./model-retry-rkmhvsr4.js";
15
+ } from "./aisdk-native-2098emdn.js";
16
16
  import {
17
- Service31
18
- } from "./model-retry-gysb7t93.js";
17
+ Service16
18
+ } from "./aisdk-native-mmb750pd.js";
19
19
  import {
20
20
  retry2
21
- } from "./model-retry-fcy631f0.js";
21
+ } from "./aisdk-native-fcy631f0.js";
22
22
  import {
23
23
  __export
24
- } from "./model-retry-9rqn6x4v.js";
24
+ } from "./aisdk-native-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service50;
36
- const database = yield* Service84;
35
+ const instances = yield* Service64;
36
+ const database = yield* Service86;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service31;
40
+ const context = yield* Service16;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./model-retry-gd4qta3r.js";
3
+ } from "./aisdk-native-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./model-retry-rdw6cm16.js";
6
+ } from "./aisdk-native-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./aisdk-native-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service86,
18
+ Service: () => Service34,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node90
21
+ node: () => node37
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service86 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service34 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service86, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service86.of({
119
+ return Service34.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node90 = makeLocationNode({
137
- service: Service86,
136
+ var node37 = makeLocationNode({
137
+ service: Service34,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service86, node90, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service34, node37, exports_tool_output2 };