@opencode/core 0.0.0-dev-21318 → 0.0.0-dev-21324

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{persistent-pty-x8ga927e.js → aisdk-00bmw6dv.js} +9 -9
  8. package/dist/chunks/{persistent-pty-g0fh3ss2.js → aisdk-047q4skb.js} +24 -24
  9. package/dist/chunks/{persistent-pty-2saep75g.js → aisdk-056d99rx.js} +13 -13
  10. package/dist/chunks/{persistent-pty-3dk6vdcf.js → aisdk-0jc67g57.js} +10 -10
  11. package/dist/chunks/{persistent-pty-cpccs97c.js → aisdk-0k01pgta.js} +30 -30
  12. package/dist/chunks/{persistent-pty-q7468z42.js → aisdk-0mt6hxw9.js} +25 -25
  13. package/dist/chunks/{persistent-pty-x9yke5vr.js → aisdk-0v8x6p8x.js} +11 -11
  14. package/dist/chunks/{persistent-pty-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{persistent-pty-7k2k32yg.js → aisdk-0vz1xsh1.js} +9 -9
  16. package/dist/chunks/{persistent-pty-yf9n42xk.js → aisdk-0wnhc6t5.js} +6 -6
  17. package/dist/chunks/{persistent-pty-4e4yjs3s.js → aisdk-1bpek4ns.js} +1 -1
  18. package/dist/chunks/{persistent-pty-j6hdhn3t.js → aisdk-1cr8jbb5.js} +4 -4
  19. package/dist/chunks/aisdk-1m1d203r.js +26 -0
  20. package/dist/chunks/{persistent-pty-xnc4q7tf.js → aisdk-1pg55zv1.js} +18 -18
  21. package/dist/chunks/{persistent-pty-sx8q409h.js → aisdk-1pkx2pwy.js} +50 -50
  22. package/dist/chunks/{persistent-pty-38963ezr.js → aisdk-1syts2m9.js} +15 -15
  23. package/dist/chunks/{persistent-pty-yysedm6f.js → aisdk-1wk2y6dw.js} +30 -30
  24. package/dist/chunks/{persistent-pty-8058wneq.js → aisdk-21cgkpgk.js} +15 -15
  25. package/dist/chunks/{persistent-pty-25yddszk.js → aisdk-25yddszk.js} +3 -3
  26. package/dist/chunks/{persistent-pty-n2srvep7.js → aisdk-277eer69.js} +4 -4
  27. package/dist/chunks/{persistent-pty-33b5xt83.js → aisdk-2gn8x791.js} +5 -5
  28. package/dist/chunks/{persistent-pty-qeee8n96.js → aisdk-2hbz9bv6.js} +2 -2
  29. package/dist/chunks/{persistent-pty-w7vq87x6.js → aisdk-2mtw4739.js} +14 -14
  30. package/dist/chunks/{persistent-pty-y8p4cb47.js → aisdk-2vrh575f.js} +15 -15
  31. package/dist/chunks/{persistent-pty-7ht1svp9.js → aisdk-32f4e43b.js} +8 -8
  32. package/dist/chunks/{persistent-pty-jyj86nsz.js → aisdk-396dw5cn.js} +21 -21
  33. package/dist/chunks/{persistent-pty-3ssz1k3q.js → aisdk-39e7ax7r.js} +8 -8
  34. package/dist/chunks/{persistent-pty-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{persistent-pty-3hwn7j4h.js → aisdk-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{persistent-pty-rety19fn.js → aisdk-3kr3psva.js} +324 -324
  37. package/dist/chunks/{persistent-pty-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{persistent-pty-xda8t08s.js → aisdk-3smz0h1x.js} +15 -15
  39. package/dist/chunks/{persistent-pty-6wqpa5p1.js → aisdk-3ss3n9f3.js} +15 -15
  40. package/dist/chunks/{persistent-pty-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{persistent-pty-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{persistent-pty-bmc8ajke.js → aisdk-40rwdhm3.js} +14 -14
  43. package/dist/chunks/{persistent-pty-3y24yfnm.js → aisdk-41w3aw4y.js} +9 -9
  44. package/dist/chunks/{persistent-pty-24f3f4ex.js → aisdk-42q20knj.js} +2 -2
  45. package/dist/chunks/{persistent-pty-3h7b0ae1.js → aisdk-43h622c1.js} +3 -3
  46. package/dist/chunks/{persistent-pty-fs2f0xkk.js → aisdk-440hf589.js} +26 -26
  47. package/dist/chunks/{persistent-pty-wa9g86nq.js → aisdk-44ak30pa.js} +4 -4
  48. package/dist/chunks/{persistent-pty-aqebbdxj.js → aisdk-4nrgyf0s.js} +17 -17
  49. package/dist/chunks/{persistent-pty-pzs9fcbn.js → aisdk-4ttbfvsw.js} +62 -62
  50. package/dist/chunks/{persistent-pty-eqefekej.js → aisdk-4vmnwshs.js} +4 -4
  51. package/dist/chunks/{persistent-pty-54ma36ye.js → aisdk-54ma36ye.js} +1 -1
  52. package/dist/chunks/{persistent-pty-sm301jd3.js → aisdk-56z46vh2.js} +5 -5
  53. package/dist/chunks/{persistent-pty-17d5gh3d.js → aisdk-59v9kkpq.js} +32 -32
  54. package/dist/chunks/{persistent-pty-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{persistent-pty-hq42ga31.js → aisdk-5mmmpc4a.js} +4 -4
  56. package/dist/chunks/{persistent-pty-me0hkc2z.js → aisdk-5r7c8608.js} +11 -11
  57. package/dist/chunks/{persistent-pty-45swxcnn.js → aisdk-5y5d0hy9.js} +43 -43
  58. package/dist/chunks/{persistent-pty-rs9qg7cf.js → aisdk-5zmrz0b0.js} +11 -11
  59. package/dist/chunks/{persistent-pty-5r7ac250.js → aisdk-60qzgww1.js} +5 -5
  60. package/dist/chunks/{persistent-pty-k0y4bd87.js → aisdk-62zvm31z.js} +27 -27
  61. package/dist/chunks/{persistent-pty-j15m0rxy.js → aisdk-64v2dhyn.js} +7 -7
  62. package/dist/chunks/{persistent-pty-6827pfxn.js → aisdk-6827pfxn.js} +1 -1
  63. package/dist/chunks/{persistent-pty-zz9094w6.js → aisdk-6g56tt84.js} +15 -15
  64. package/dist/chunks/{persistent-pty-asnz67s1.js → aisdk-6gwr451s.js} +32 -32
  65. package/dist/chunks/{persistent-pty-qnjyk5by.js → aisdk-6kxcmnfb.js} +38 -38
  66. package/dist/chunks/{persistent-pty-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{persistent-pty-zft5sqdw.js → aisdk-6y6m1db0.js} +24 -24
  68. package/dist/chunks/{persistent-pty-9a5j5arz.js → aisdk-6z551tr8.js} +3 -3
  69. package/dist/chunks/{persistent-pty-n0kentm7.js → aisdk-73q9sqgf.js} +38 -38
  70. package/dist/chunks/{persistent-pty-k9rjnmc5.js → aisdk-75eppkn0.js} +4 -4
  71. package/dist/chunks/{persistent-pty-775gj3j1.js → aisdk-775gj3j1.js} +2 -2
  72. package/dist/chunks/{persistent-pty-emhr29ne.js → aisdk-780eb7ey.js} +13 -13
  73. package/dist/chunks/{persistent-pty-cjx84n6d.js → aisdk-7azf985a.js} +13 -13
  74. package/dist/chunks/{persistent-pty-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{persistent-pty-rzs3gq0x.js → aisdk-7j2qha59.js} +8 -8
  76. package/dist/chunks/{persistent-pty-ef9fmmj9.js → aisdk-7jsv9w5x.js} +11 -11
  77. package/dist/chunks/{persistent-pty-ep3f3pzc.js → aisdk-7p20k8kk.js} +83 -83
  78. package/dist/chunks/{persistent-pty-t4q75hqt.js → aisdk-7pt0f378.js} +5 -5
  79. package/dist/chunks/{persistent-pty-b39zvbqb.js → aisdk-7rvv22n1.js} +14 -14
  80. package/dist/chunks/{persistent-pty-wbk0qewy.js → aisdk-7zkbhs7g.js} +11 -11
  81. package/dist/chunks/{persistent-pty-84txncab.js → aisdk-84txncab.js} +1 -1
  82. package/dist/chunks/{persistent-pty-4ghta6c5.js → aisdk-89342957.js} +14 -14
  83. package/dist/chunks/{persistent-pty-t7errb51.js → aisdk-8j2p51rp.js} +4 -4
  84. package/dist/chunks/{persistent-pty-pv0cg4pn.js → aisdk-8jj7q8bh.js} +13 -13
  85. package/dist/chunks/{persistent-pty-8m6m0r52.js → aisdk-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{persistent-pty-8mywswrd.js → aisdk-8mywswrd.js} +1 -1
  87. package/dist/chunks/{persistent-pty-2cd9y53g.js → aisdk-936td50e.js} +17 -17
  88. package/dist/chunks/{persistent-pty-s2z0d44b.js → aisdk-97aeaand.js} +4 -4
  89. package/dist/chunks/{persistent-pty-w1w1g3rz.js → aisdk-982r6ak3.js} +11 -11
  90. package/dist/chunks/{persistent-pty-g8mv3vbb.js → aisdk-9axd8ffr.js} +11 -11
  91. package/dist/chunks/{persistent-pty-ygdna4kr.js → aisdk-9hwaqfsw.js} +5 -5
  92. package/dist/chunks/{persistent-pty-edx5d1yh.js → aisdk-9kkyv4q2.js} +10 -10
  93. package/dist/chunks/{persistent-pty-j4fafyv9.js → aisdk-9n75maxh.js} +14 -14
  94. package/dist/chunks/{persistent-pty-a8nkje97.js → aisdk-9sgsjpgv.js} +11 -11
  95. package/dist/chunks/{persistent-pty-9sh4wc5j.js → aisdk-9sh4wc5j.js} +1 -1
  96. package/dist/chunks/{persistent-pty-a20pjse5.js → aisdk-a20pjse5.js} +3 -3
  97. package/dist/chunks/{persistent-pty-sxvetcyn.js → aisdk-a5dfv94n.js} +21 -21
  98. package/dist/chunks/{persistent-pty-7nskfpwv.js → aisdk-a5z4q8xw.js} +22 -22
  99. package/dist/chunks/{persistent-pty-x661k3y3.js → aisdk-addxnjmp.js} +4 -4
  100. package/dist/chunks/{persistent-pty-n26v5e0b.js → aisdk-aehbxfp0.js} +29 -29
  101. package/dist/chunks/{persistent-pty-drdy3fh6.js → aisdk-anfqncwb.js} +4 -4
  102. package/dist/chunks/{persistent-pty-77awh5p4.js → aisdk-aymr4dh1.js} +17 -17
  103. package/dist/chunks/{persistent-pty-hsm9kfyy.js → aisdk-b89bbj8v.js} +20 -20
  104. package/dist/chunks/{persistent-pty-3f2ed3kj.js → aisdk-bb1bdzfz.js} +46 -46
  105. package/dist/chunks/{persistent-pty-er69x7n9.js → aisdk-bcqtfwds.js} +44 -44
  106. package/dist/chunks/{persistent-pty-1ffvrpkg.js → aisdk-bjx1sjef.js} +6 -6
  107. package/dist/chunks/{persistent-pty-xxsrzv4p.js → aisdk-bq7px1h6.js} +35 -35
  108. package/dist/chunks/{persistent-pty-bzeyqsqd.js → aisdk-bzeyqsqd.js} +1 -1
  109. package/dist/chunks/{persistent-pty-es1vcfrp.js → aisdk-c1fqxshp.js} +3 -3
  110. package/dist/chunks/{persistent-pty-x6msxz42.js → aisdk-c4ngjp15.js} +19 -19
  111. package/dist/chunks/{persistent-pty-makc3bj9.js → aisdk-c6xgtk77.js} +30 -30
  112. package/dist/chunks/{persistent-pty-9mawegkx.js → aisdk-cbged2qp.js} +172 -172
  113. package/dist/chunks/aisdk-cdpy720h.js +257 -0
  114. package/dist/chunks/{persistent-pty-5wfxtdqx.js → aisdk-cdvss074.js} +10 -10
  115. package/dist/chunks/{persistent-pty-tpw6cwsb.js → aisdk-cmwkp3r5.js} +8 -8
  116. package/dist/chunks/{persistent-pty-4zvfssd5.js → aisdk-cnzcdzg3.js} +14 -14
  117. package/dist/chunks/{persistent-pty-ye0tt9gc.js → aisdk-ctwznnqj.js} +1 -1
  118. package/dist/chunks/{persistent-pty-cb7pdjkb.js → aisdk-d11crm59.js} +22 -22
  119. package/dist/chunks/{persistent-pty-nyydq7ew.js → aisdk-d2xcp0g9.js} +5 -5
  120. package/dist/chunks/{persistent-pty-55vsgkjg.js → aisdk-d3k8nhh8.js} +20 -20
  121. package/dist/chunks/{persistent-pty-x39rm370.js → aisdk-da9abyxd.js} +21 -21
  122. package/dist/chunks/{persistent-pty-tv4xwgy3.js → aisdk-dak8fsqp.js} +18 -18
  123. package/dist/chunks/{persistent-pty-0996nyz8.js → aisdk-depwzj9d.js} +9 -9
  124. package/dist/chunks/{persistent-pty-zjtrsxny.js → aisdk-dhb2hta4.js} +5 -5
  125. package/dist/chunks/{persistent-pty-k2e5s4re.js → aisdk-djkg3n3d.js} +14 -14
  126. package/dist/chunks/{persistent-pty-cwa6csj7.js → aisdk-djszqvmq.js} +9 -9
  127. package/dist/chunks/{persistent-pty-mywch70t.js → aisdk-dnhgzxjw.js} +36 -36
  128. package/dist/chunks/{persistent-pty-vhgfq7sf.js → aisdk-dr7ky5v1.js} +15 -15
  129. package/dist/chunks/{persistent-pty-drwq78ky.js → aisdk-drwq78ky.js} +1 -1
  130. package/dist/chunks/{persistent-pty-0jmk01at.js → aisdk-dvmqpkeb.js} +19 -19
  131. package/dist/chunks/{persistent-pty-q37amjjg.js → aisdk-dzxqpf8v.js} +8 -8
  132. package/dist/chunks/{persistent-pty-mxnmfhj8.js → aisdk-e75q9ks7.js} +30 -30
  133. package/dist/chunks/{persistent-pty-t550f9t1.js → aisdk-eaj1djv9.js} +8 -8
  134. package/dist/chunks/{persistent-pty-eej6y6fw.js → aisdk-eej6y6fw.js} +2 -2
  135. package/dist/chunks/{persistent-pty-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{persistent-pty-na1s3jgb.js → aisdk-en3czrfr.js} +18 -18
  137. package/dist/chunks/{persistent-pty-ny7egkeb.js → aisdk-en9pdr26.js} +32 -32
  138. package/dist/chunks/{persistent-pty-sqk4q3nv.js → aisdk-eqy3tk16.js} +11 -11
  139. package/dist/chunks/{persistent-pty-sqmmasjp.js → aisdk-etb936cy.js} +19 -19
  140. package/dist/chunks/{persistent-pty-rq7yc33n.js → aisdk-ezyfgyp4.js} +5 -5
  141. package/dist/chunks/{persistent-pty-6d7mtdks.js → aisdk-ezztc0y5.js} +35 -35
  142. package/dist/chunks/{persistent-pty-fx5bd5w2.js → aisdk-f0k3pvmx.js} +23 -23
  143. package/dist/chunks/{persistent-pty-86sh86sv.js → aisdk-f1xs821d.js} +15 -15
  144. package/dist/chunks/{persistent-pty-yp2x3t23.js → aisdk-f2n192rq.js} +4 -4
  145. package/dist/chunks/{persistent-pty-fcy631f0.js → aisdk-fcy631f0.js} +1 -1
  146. package/dist/chunks/{persistent-pty-phvw6tnp.js → aisdk-fdarrw0r.js} +25 -25
  147. package/dist/chunks/{persistent-pty-s6an5wth.js → aisdk-fe0218cq.js} +9 -9
  148. package/dist/chunks/{persistent-pty-y40k0vp3.js → aisdk-fhcmdyq1.js} +30 -30
  149. package/dist/chunks/{persistent-pty-j0aph1pe.js → aisdk-fkf14f6t.js} +11 -11
  150. package/dist/chunks/{persistent-pty-6bazcnan.js → aisdk-fms46r5q.js} +14 -14
  151. package/dist/chunks/{persistent-pty-a5v8ppv0.js → aisdk-fnfyz0zn.js} +14 -14
  152. package/dist/chunks/{persistent-pty-sk770vk8.js → aisdk-fnrbd9jj.js} +18 -18
  153. package/dist/chunks/{persistent-pty-fcs9x2eq.js → aisdk-fwsyqh4k.js} +16 -16
  154. package/dist/chunks/{persistent-pty-hq3c8me3.js → aisdk-fxaymqdw.js} +4 -4
  155. package/dist/chunks/{persistent-pty-5xqqgpy7.js → aisdk-g8me4dm9.js} +6 -6
  156. package/dist/chunks/{persistent-pty-wgahhr0x.js → aisdk-gcam0d1y.js} +6 -6
  157. package/dist/chunks/{persistent-pty-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{persistent-pty-h9rm1rrn.js → aisdk-gfhhve88.js} +5 -5
  159. package/dist/chunks/{persistent-pty-z0gbbqnd.js → aisdk-gm21aw58.js} +21 -21
  160. package/dist/chunks/{persistent-pty-eksc9b63.js → aisdk-gnsda3cn.js} +17 -17
  161. package/dist/chunks/{persistent-pty-ty2f7v9a.js → aisdk-gx24va27.js} +10 -10
  162. package/dist/chunks/{persistent-pty-mm2wf4xp.js → aisdk-gy8c6kfk.js} +51 -51
  163. package/dist/chunks/{persistent-pty-nz47wyzy.js → aisdk-h08rwe1z.js} +10 -10
  164. package/dist/chunks/{persistent-pty-mk51tt9h.js → aisdk-h0vnctsm.js} +18 -18
  165. package/dist/chunks/{persistent-pty-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{persistent-pty-q2mbf3pn.js → aisdk-haf40wny.js} +23 -23
  167. package/dist/chunks/{persistent-pty-0fjq3n4t.js → aisdk-hdxjxcpe.js} +18 -18
  168. package/dist/chunks/{persistent-pty-vy5j2tyc.js → aisdk-he90334m.js} +1 -1
  169. package/dist/chunks/{persistent-pty-hgz4x7wa.js → aisdk-hgz4x7wa.js} +1 -1
  170. package/dist/chunks/{persistent-pty-gbe60986.js → aisdk-j50aspkt.js} +12 -12
  171. package/dist/chunks/{persistent-pty-r66vvgts.js → aisdk-jd5msw35.js} +31 -31
  172. package/dist/chunks/{persistent-pty-9eq17axm.js → aisdk-jds9g6c9.js} +6 -6
  173. package/dist/chunks/{persistent-pty-0rhcgknv.js → aisdk-jekssrtq.js} +8 -8
  174. package/dist/chunks/{persistent-pty-23zvew7z.js → aisdk-jmt4g3es.js} +6 -6
  175. package/dist/chunks/{persistent-pty-hsnnjyxg.js → aisdk-jphyq3c9.js} +21 -21
  176. package/dist/chunks/{persistent-pty-f6pky1vc.js → aisdk-jr510039.js} +29 -29
  177. package/dist/chunks/{persistent-pty-a546n9dx.js → aisdk-jtn8fkbr.js} +5 -5
  178. package/dist/chunks/{persistent-pty-20hv8fes.js → aisdk-jwmjf2jk.js} +33 -33
  179. package/dist/chunks/{persistent-pty-035sr1nw.js → aisdk-jzjmtnfy.js} +19 -19
  180. package/dist/chunks/{persistent-pty-4071dj26.js → aisdk-k18zvgt1.js} +8 -8
  181. package/dist/chunks/{persistent-pty-2jqwmjzy.js → aisdk-k4qv8byp.js} +11 -11
  182. package/dist/chunks/{persistent-pty-5tad8fcc.js → aisdk-k7qyzj90.js} +17 -17
  183. package/dist/chunks/{persistent-pty-k41hn50r.js → aisdk-k99h67nd.js} +27 -27
  184. package/dist/chunks/{persistent-pty-v9dvedb1.js → aisdk-kb5pvcwp.js} +10 -10
  185. package/dist/chunks/{persistent-pty-nd4tfyg0.js → aisdk-kjd40bgk.js} +9 -9
  186. package/dist/chunks/{persistent-pty-btd9bnp8.js → aisdk-kvafxj4x.js} +12 -12
  187. package/dist/chunks/{persistent-pty-kwb1v3vj.js → aisdk-kwb1v3vj.js} +1 -1
  188. package/dist/chunks/{persistent-pty-3gdz7m67.js → aisdk-kwjm7zv1.js} +39 -39
  189. package/dist/chunks/{persistent-pty-h03re434.js → aisdk-m2hjyvdx.js} +10 -10
  190. package/dist/chunks/{persistent-pty-eajddnhb.js → aisdk-m9mvnc4r.js} +10 -10
  191. package/dist/chunks/{persistent-pty-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{persistent-pty-maspj1v3.js → aisdk-maspj1v3.js} +1 -1
  193. package/dist/chunks/{persistent-pty-xaazkcd4.js → aisdk-mb7tgq19.js} +22 -22
  194. package/dist/chunks/{persistent-pty-583x3kah.js → aisdk-mfp912v4.js} +20 -20
  195. package/dist/chunks/{persistent-pty-amtxxzg7.js → aisdk-mv3sjw3a.js} +28 -28
  196. package/dist/chunks/{persistent-pty-mgx30ams.js → aisdk-mwd75yrz.js} +13 -13
  197. package/dist/chunks/{persistent-pty-3cqwnyj9.js → aisdk-n61013np.js} +8 -8
  198. package/dist/chunks/{persistent-pty-mb1r8vg9.js → aisdk-n6ez5m6f.js} +26 -26
  199. package/dist/chunks/{persistent-pty-whb9jbcp.js → aisdk-n7shbngr.js} +13 -13
  200. package/dist/chunks/{persistent-pty-carh3x97.js → aisdk-nkjv9872.js} +35 -35
  201. package/dist/chunks/{persistent-pty-983z13s5.js → aisdk-nv1y27w1.js} +11 -11
  202. package/dist/chunks/{persistent-pty-1wsnph7m.js → aisdk-p06yjkdd.js} +14 -14
  203. package/dist/chunks/{persistent-pty-5z5javj1.js → aisdk-p1ckhtk6.js} +31 -31
  204. package/dist/chunks/{persistent-pty-tcyndk34.js → aisdk-p6565xch.js} +13 -13
  205. package/dist/chunks/{persistent-pty-msxpg58k.js → aisdk-p8a3kt25.js} +5 -5
  206. package/dist/chunks/{persistent-pty-36qpgp0j.js → aisdk-p8tn15b5.js} +3 -3
  207. package/dist/chunks/{persistent-pty-vqeemvyx.js → aisdk-p93753sc.js} +20 -20
  208. package/dist/chunks/{persistent-pty-b5wyey98.js → aisdk-pbd9p82f.js} +27 -27
  209. package/dist/chunks/{persistent-pty-vh14538p.js → aisdk-pc28xrpv.js} +13 -13
  210. package/dist/chunks/{persistent-pty-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{persistent-pty-pknna89w.js → aisdk-pknna89w.js} +1 -1
  212. package/dist/chunks/{persistent-pty-5bes61s4.js → aisdk-pqhrbekt.js} +45 -45
  213. package/dist/chunks/{persistent-pty-514z3gf3.js → aisdk-pwzfss56.js} +19 -19
  214. package/dist/chunks/{persistent-pty-s33waz5b.js → aisdk-py4bf79r.js} +23 -23
  215. package/dist/chunks/{persistent-pty-eamzdkr9.js → aisdk-q8x523z1.js} +6 -6
  216. package/dist/chunks/{persistent-pty-0jwsre1p.js → aisdk-qgn6gcr1.js} +5 -5
  217. package/dist/chunks/{persistent-pty-pah6vszw.js → aisdk-qh9ftvky.js} +53 -53
  218. package/dist/chunks/{persistent-pty-qkt0m9pt.js → aisdk-qk1a4acp.js} +24 -24
  219. package/dist/chunks/{persistent-pty-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
  220. package/dist/chunks/{persistent-pty-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
  221. package/dist/chunks/{persistent-pty-r2z489rp.js → aisdk-r2z489rp.js} +1 -1
  222. package/dist/chunks/{persistent-pty-1fj32kga.js → aisdk-r3kscm1n.js} +18 -18
  223. package/dist/chunks/{persistent-pty-mxfgkdzc.js → aisdk-r8cn72x5.js} +42 -42
  224. package/dist/chunks/{persistent-pty-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{persistent-pty-tkb22qbm.js → aisdk-rert0e01.js} +2 -2
  226. package/dist/chunks/{persistent-pty-c41wscbt.js → aisdk-rj3eygr5.js} +2 -2
  227. package/dist/chunks/{persistent-pty-rkprpv83.js → aisdk-rkprpv83.js} +2 -2
  228. package/dist/chunks/{persistent-pty-0nndfddn.js → aisdk-rr804bvb.js} +13 -13
  229. package/dist/chunks/{persistent-pty-t4b6mted.js → aisdk-rspw6ztp.js} +2 -2
  230. package/dist/chunks/{persistent-pty-5y480sgp.js → aisdk-rvf0m9x6.js} +8 -8
  231. package/dist/chunks/{persistent-pty-93c0dbkk.js → aisdk-s498xgrk.js} +5 -5
  232. package/dist/chunks/{persistent-pty-c8ax2afj.js → aisdk-sa8ekw3f.js} +2 -2
  233. package/dist/chunks/{persistent-pty-n87gffhn.js → aisdk-sj4zqd76.js} +9 -9
  234. package/dist/chunks/{persistent-pty-rrt0a0ha.js → aisdk-sjgsw2hk.js} +2 -2
  235. package/dist/chunks/{persistent-pty-am4eehff.js → aisdk-ssc23rd5.js} +12 -12
  236. package/dist/chunks/{persistent-pty-edrmdtr5.js → aisdk-sxz6gkc3.js} +4 -4
  237. package/dist/chunks/{persistent-pty-syv4x271.js → aisdk-syv4x271.js} +1 -1
  238. package/dist/chunks/{persistent-pty-9md2mt7s.js → aisdk-t6x5qaf3.js} +14 -14
  239. package/dist/chunks/{persistent-pty-g4f8ytex.js → aisdk-taz8ab55.js} +7 -7
  240. package/dist/chunks/{persistent-pty-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{persistent-pty-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{persistent-pty-fjr4y1sz.js → aisdk-tdc0jx11.js} +35 -35
  243. package/dist/chunks/{persistent-pty-tdstcens.js → aisdk-tdstcens.js} +1 -1
  244. package/dist/chunks/{persistent-pty-s670sq9m.js → aisdk-tkc1dt97.js} +11 -11
  245. package/dist/chunks/{persistent-pty-tm0kqsz3.js → aisdk-tm0kqsz3.js} +1 -1
  246. package/dist/chunks/{persistent-pty-k76fn4kw.js → aisdk-ttqh24zm.js} +4 -4
  247. package/dist/chunks/{persistent-pty-tyytaxap.js → aisdk-tyytaxap.js} +1 -1
  248. package/dist/chunks/{persistent-pty-nz56sr1f.js → aisdk-v13b12ef.js} +5 -5
  249. package/dist/chunks/{persistent-pty-9m1d1fqb.js → aisdk-v1bzczhr.js} +9 -9
  250. package/dist/chunks/{persistent-pty-vpzmhxff.js → aisdk-v3g7kk0r.js} +9 -9
  251. package/dist/chunks/{persistent-pty-m9sgcpcv.js → aisdk-v6zs622x.js} +4 -4
  252. package/dist/chunks/{persistent-pty-v7p4zvkq.js → aisdk-v7p4zvkq.js} +2 -2
  253. package/dist/chunks/{persistent-pty-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  254. package/dist/chunks/{persistent-pty-j1ycnkr6.js → aisdk-vmbbdnnp.js} +4 -4
  255. package/dist/chunks/{persistent-pty-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{persistent-pty-qaswbwd2.js → aisdk-w3g6mcc0.js} +15 -15
  257. package/dist/chunks/{persistent-pty-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{persistent-pty-xcd0eash.js → aisdk-w5yqftge.js} +6 -6
  259. package/dist/chunks/{persistent-pty-3r96jsjz.js → aisdk-w86a2sjx.js} +14 -14
  260. package/dist/chunks/{persistent-pty-wd87259q.js → aisdk-wd87259q.js} +1 -1
  261. package/dist/chunks/{persistent-pty-6znwa2ze.js → aisdk-wen6jb9x.js} +16 -16
  262. package/dist/chunks/{persistent-pty-vrrq7v3g.js → aisdk-wh6zw745.js} +5 -5
  263. package/dist/chunks/{persistent-pty-ydkcdr9n.js → aisdk-wh8krjve.js} +28 -28
  264. package/dist/chunks/{persistent-pty-jfp883ba.js → aisdk-wr5tgkas.js} +3 -3
  265. package/dist/chunks/{persistent-pty-8e9wk3v6.js → aisdk-wy0wjjws.js} +4 -4
  266. package/dist/chunks/{persistent-pty-5mz3x8vb.js → aisdk-x5tm040t.js} +21 -21
  267. package/dist/chunks/{persistent-pty-2688anfm.js → aisdk-xyh9mp2t.js} +21 -21
  268. package/dist/chunks/{persistent-pty-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{persistent-pty-4y7j986s.js → aisdk-y54hr7f3.js} +9 -9
  270. package/dist/chunks/{persistent-pty-ez3v055x.js → aisdk-y5ac8wb2.js} +7 -7
  271. package/dist/chunks/{persistent-pty-y71avatq.js → aisdk-y71avatq.js} +1 -1
  272. package/dist/chunks/{persistent-pty-v40z4tye.js → aisdk-y8gq2w7b.js} +44 -44
  273. package/dist/chunks/{persistent-pty-5b77hntt.js → aisdk-ycbb7f30.js} +4 -4
  274. package/dist/chunks/{persistent-pty-adeqnqa8.js → aisdk-yf5e9rkv.js} +3 -3
  275. package/dist/chunks/{persistent-pty-vqsk1a30.js → aisdk-ys8z7b8e.js} +26 -26
  276. package/dist/chunks/{persistent-pty-t1ndffwz.js → aisdk-ysarqrcq.js} +6 -6
  277. package/dist/chunks/{persistent-pty-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{persistent-pty-z18fegx4.js → aisdk-z18fegx4.js} +1 -1
  279. package/dist/chunks/{persistent-pty-1t2v27cd.js → aisdk-z2x1thfk.js} +46 -46
  280. package/dist/chunks/{persistent-pty-m662wk7b.js → aisdk-zabp4rd0.js} +3 -3
  281. package/dist/chunks/{persistent-pty-6e60yqyp.js → aisdk-zq9002ca.js} +28 -28
  282. package/dist/chunks/{persistent-pty-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{persistent-pty-jg4qz7te.js → aisdk-zrb2xrrk.js} +26 -26
  284. package/dist/chunks/{persistent-pty-d4a9a1gx.js → aisdk-ztp261xd.js} +5 -5
  285. package/dist/chunks/{persistent-pty-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{persistent-pty-1p3zcfwq.js → aisdk-zyfcs08x.js} +14 -14
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +115 -115
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +95 -95
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +100 -100
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +8 -8
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +87 -87
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +98 -98
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +107 -107
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +111 -111
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +90 -90
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +114 -114
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +123 -123
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +1 -1
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +221 -221
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +88 -88
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +103 -103
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +223 -223
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +162 -162
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +210 -210
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +210 -210
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +105 -105
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +130 -130
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +118 -118
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +118 -118
  644. package/dist/tool/plugin/question.js +107 -107
  645. package/dist/tool/plugin/read.js +123 -123
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +211 -211
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +114 -114
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +8 -8
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +86 -86
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/persistent-pty-5wm8vv17.js +0 -257
  692. package/dist/chunks/persistent-pty-a3q4bfq8.js +0 -26
  693. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-2bv980vf.js → aisdk-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-3asan66x.js → aisdk-3asan66x.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-53557ph1.js → aisdk-53557ph1.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-6prwharc.js → aisdk-6prwharc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-822emrt2.js → aisdk-822emrt2.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-df08tz66.js → aisdk-df08tz66.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-g86h250q.js → aisdk-g86h250q.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-gftt206x.js → aisdk-gftt206x.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-hk9envan.js → aisdk-hk9envan.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-jze0r7bz.js → aisdk-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-m18g726c.js → aisdk-m18g726c.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-pkyv6v7h.js → aisdk-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-pyv0edze.js → aisdk-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-wjj7prxr.js → aisdk-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-x61499pn.js → aisdk-x61499pn.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./persistent-pty-hq42ga31.js";
4
+ } from "./aisdk-5mmmpc4a.js";
5
5
  import {
6
- Event19,
7
- Service74,
8
- node77
9
- } from "./persistent-pty-y40k0vp3.js";
6
+ Event18,
7
+ Service78,
8
+ node82
9
+ } from "./aisdk-fhcmdyq1.js";
10
10
  import {
11
- Service40,
12
- node43
13
- } from "./persistent-pty-7nskfpwv.js";
11
+ Service49,
12
+ node52
13
+ } from "./aisdk-a5z4q8xw.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./persistent-pty-z5v4ffb3.js";
16
+ } from "./aisdk-z5v4ffb3.js";
17
17
  import {
18
- Service81,
18
+ Service80,
19
19
  node84
20
- } from "./persistent-pty-vh14538p.js";
20
+ } from "./aisdk-pc28xrpv.js";
21
21
  import {
22
22
  substitute2
23
- } from "./persistent-pty-kwb1v3vj.js";
23
+ } from "./aisdk-kwb1v3vj.js";
24
24
  import {
25
25
  normalize2
26
- } from "./persistent-pty-0fjq3n4t.js";
26
+ } from "./aisdk-hdxjxcpe.js";
27
27
  import {
28
28
  names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./persistent-pty-93c0dbkk.js";
31
+ } from "./aisdk-s498xgrk.js";
32
32
  import {
33
33
  plan2
34
- } from "./persistent-pty-6827pfxn.js";
34
+ } from "./aisdk-6827pfxn.js";
35
35
  import {
36
- Service69,
37
- Event15,
38
- node72
39
- } from "./persistent-pty-vqeemvyx.js";
36
+ Service50,
37
+ Event9,
38
+ node53
39
+ } from "./aisdk-p93753sc.js";
40
40
  import {
41
41
  __export
42
- } from "./persistent-pty-9rqn6x4v.js";
42
+ } from "./aisdk-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options4,
49
- Service: () => Service39,
48
+ Options: () => Options6,
49
+ Service: () => Service48,
50
50
  Test: () => Test2,
51
- configured: () => configured4,
51
+ configured: () => configured6,
52
52
  latest: () => latest2,
53
- layer: () => layer17,
54
- node: () => node42,
53
+ layer: () => layer19,
54
+ node: () => node51,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options4 = Schema.Struct({
70
+ var Options6 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options4 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service39 extends Context.Service()("@opencode/Config") {
79
+ class Service48 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service39, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service48, service), Context.add(Test2, service));
98
98
  }));
99
- var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
99
+ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service81;
102
- const watcher = yield* Service40;
101
+ const location = yield* Service80;
102
+ const watcher = yield* Service49;
103
103
  const bus = yield* Service85;
104
- const credentials = yield* Service74;
104
+ const credentials = yield* Service78;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service69;
106
+ const wellknown = yield* Service50;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -254,8 +254,8 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
+ yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
261
261
  return Effect.void;
@@ -283,7 +283,7 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service39.of({
286
+ return Service48.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured4(options) {
298
+ function configured6(options) {
299
299
  return makeLocationNode({
300
- service: Service39,
301
- layer: layer17(options),
300
+ service: Service48,
301
+ layer: layer19(options),
302
302
  deps: [
303
- node43,
303
+ node52,
304
304
  node89,
305
305
  FSUtil.node,
306
306
  Global.node,
307
307
  node84,
308
- node77,
309
- node72,
308
+ node82,
309
+ node53,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node42 = configured4();
314
+ var node51 = configured6();
315
315
 
316
- export { latest2, Options4, Service39, Test2, testLayer2, layer17, configured4, node42, exports_config };
316
+ export { latest2, Options6, Service48, Test2, testLayer2, layer19, configured6, node51, exports_config };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./persistent-pty-3v8g72cx.js";
3
+ } from "./aisdk-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./aisdk-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
10
10
  __export(exports_mcp, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
12
  WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/http";
18
- var MAX_RESPONSE_BYTES3 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES2 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./persistent-pty-hq42ga31.js";
4
+ } from "./aisdk-5mmmpc4a.js";
5
5
  import {
6
- Service81,
6
+ Service80,
7
7
  node84
8
- } from "./persistent-pty-vh14538p.js";
8
+ } from "./aisdk-pc28xrpv.js";
9
9
  import {
10
- Service77,
10
+ Service47,
11
11
  login2,
12
- node80
13
- } from "./persistent-pty-xaazkcd4.js";
12
+ node50
13
+ } from "./aisdk-mb7tgq19.js";
14
14
  import {
15
15
  lazy2
16
- } from "./persistent-pty-88xbtdfr.js";
16
+ } from "./aisdk-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./aisdk-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput3,
25
- Event: () => Event14,
24
+ CreateInput: () => CreateInput2,
25
+ Event: () => Event2,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID10,
28
- Info: () => Info19,
29
- NotFoundError: () => NotFoundError9,
27
+ ID: () => ID2,
28
+ Info: () => Info3,
29
+ NotFoundError: () => NotFoundError2,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service67,
32
- UpdateInput: () => UpdateInput3,
33
- node: () => node70
31
+ Service: () => Service14,
32
+ UpdateInput: () => UpdateInput2,
33
+ node: () => node16
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event14 } from "@opencode/schema/pty";
38
+ import { Event as Event2 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID10 = Pty.ID;
43
- var Info19 = Pty.Info;
44
- var CreateInput3 = Pty.CreateInput;
45
- var UpdateInput3 = Pty.UpdateInput;
42
+ var ID2 = Pty.ID;
43
+ var Info3 = Pty.Info;
44
+ var CreateInput2 = Pty.CreateInput;
45
+ var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError9 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID10
47
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID2
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID10
53
+ ptyID: ID2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service67 extends Context.Service()("@opencode/Pty") {
57
+ class Service14 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service67, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
60
60
  const bus = yield* Service85;
61
- const location = yield* Service81;
62
- const shell = yield* Service77;
61
+ const location = yield* Service80;
62
+ const shell = yield* Service47;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError9({ ptyID: id });
99
+ return yield* new NotFoundError2({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID10.ascending();
125
+ const id = ID2.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service67.of({ list, get, create, update, remove, write, attach });
270
+ return Service14.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node70 = makeLocationNode({
273
- service: Service67,
272
+ var node16 = makeLocationNode({
273
+ service: Service14,
274
274
  layer,
275
- deps: [node89, node84, node80]
275
+ deps: [node89, node84, node50]
276
276
  });
277
277
 
278
- export { ID10, Info19, CreateInput3, UpdateInput3, NotFoundError9, ExitedError2, Service67, node70, exports_pty, Event14 };
278
+ export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./persistent-pty-qnc92qwc.js";
4
+ } from "./aisdk-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./persistent-pty-qfa1cgps.js";
7
+ } from "./aisdk-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./persistent-pty-c41wscbt.js";
10
+ } from "./aisdk-rj3eygr5.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./persistent-pty-hq42ga31.js";
4
+ } from "./aisdk-5mmmpc4a.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./persistent-pty-tazgh4e4.js";
9
+ } from "./aisdk-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./persistent-pty-qnjyk5by.js";
12
+ } from "./aisdk-6kxcmnfb.js";
13
13
  import {
14
- Service81,
14
+ Service80,
15
15
  node84
16
- } from "./persistent-pty-vh14538p.js";
16
+ } from "./aisdk-pc28xrpv.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./persistent-pty-rdw6cm16.js";
20
+ } from "./aisdk-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./persistent-pty-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: () => Info4,
32
+ Info: () => Info5,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service21,
35
+ Service: () => Service23,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node24
37
+ node: () => node26
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 Info4, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, 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 Service21 extends Context.Service()("@opencode/Vcs") {
57
+ class Service23 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service21, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service81;
61
+ const location = yield* Service80;
62
62
  const bus = yield* Service85;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
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(Service21, 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 Service21.of({
132
+ return Service23.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(Service21, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node24 = makeLocationNode({
191
- service: Service21,
190
+ var node26 = makeLocationNode({
191
+ service: Service23,
192
192
  layer,
193
193
  deps: [FSUtil.node, node84, node89]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service21, node24, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service23, node26, exports_vcs };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./persistent-pty-x661k3y3.js";
3
+ } from "./aisdk-addxnjmp.js";
4
4
  import {
5
5
  Service85
6
- } from "./persistent-pty-hq42ga31.js";
6
+ } from "./aisdk-5mmmpc4a.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./persistent-pty-y40k0vp3.js";
9
+ Event18
10
+ } from "./aisdk-fhcmdyq1.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./persistent-pty-yysedm6f.js";
14
+ } from "./aisdk-1wk2y6dw.js";
15
15
  import {
16
- ID12,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service72
20
- } from "./persistent-pty-n26v5e0b.js";
19
+ Service76
20
+ } from "./aisdk-aehbxfp0.js";
21
21
  import {
22
- ID11
23
- } from "./persistent-pty-mxnmfhj8.js";
22
+ ID12
23
+ } from "./aisdk-e75q9ks7.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./persistent-pty-s670sq9m.js";
27
+ } from "./aisdk-tkc1dt97.js";
28
28
  import {
29
29
  useragent2
30
- } from "./persistent-pty-t1ndffwz.js";
30
+ } from "./aisdk-ysarqrcq.js";
31
31
  import {
32
32
  ID9
33
- } from "./persistent-pty-s6an5wth.js";
33
+ } from "./aisdk-fe0218cq.js";
34
34
  import {
35
35
  get5
36
- } from "./persistent-pty-54ma36ye.js";
36
+ } from "./aisdk-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID13.make("github-copilot"),
68
+ integrationID: ID14.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,7 +163,7 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service72;
166
+ const providers = yield* Service76;
167
167
  const bus = yield* Service85;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID12.githubCopilot);
183
+ const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
185
  try: () => load2(url, {
186
186
  ...provider?.headers,
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID12.githubCopilot);
205
+ const item = evt.get(ID13.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
230
230
  }
231
231
  });
232
232
  yield* ctx.model.transform((models) => {
233
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
234
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
233
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
234
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
235
235
  model.enabled = false;
236
236
  });
237
237
  }
238
238
  });
239
239
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
240
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
240
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
241
  yield* refresh().pipe(Effect.forkScoped);
242
242
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
243
- if (evt.model.providerID !== ID12.githubCopilot)
243
+ if (evt.model.providerID !== ID13.githubCopilot)
244
244
  return;
245
245
  if (evt.package !== "@ai-sdk/github-copilot")
246
246
  return;
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
249
249
  evt.sdk = mod.createOpenaiCompatible(evt.options);
250
250
  }));
251
251
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
252
- if (evt.model.providerID !== ID12.githubCopilot)
252
+ if (evt.model.providerID !== ID13.githubCopilot)
253
253
  return;
254
254
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
255
255
  return;
@@ -259,9 +259,9 @@ var GithubCopilotPlugin2 = define({
259
259
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
260
260
  if (interaction !== "conversation-agent")
261
261
  evt.headers["x-initiator"] = "agent";
262
- }), { providerID: ID12.githubCopilot });
262
+ }), { providerID: ID13.githubCopilot });
263
263
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
264
- if (evt.model.providerID !== ID12.githubCopilot)
264
+ if (evt.model.providerID !== ID13.githubCopilot)
265
265
  return;
266
266
  if (!loaded.baseURL || !loaded.token || !loaded.models)
267
267
  return;
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
276
276
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
277
277
  return;
278
278
  }));
279
- }), { providerID: ID12.githubCopilot });
279
+ }), { providerID: ID13.githubCopilot });
280
280
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
281
- if (evt.model.providerID !== ID12.githubCopilot)
281
+ if (evt.model.providerID !== ID13.githubCopilot)
282
282
  return;
283
283
  const token = evt.request.headers.get("x-api-key");
284
284
  if (!token)
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
286
286
  const text = yield* Effect.promise(() => evt.request.clone().text());
287
287
  const body = Option.getOrUndefined(decodeBody(text));
288
288
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
289
- }), { providerID: ID12.githubCopilot });
289
+ }), { providerID: ID13.githubCopilot });
290
290
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
291
- if (evt.model.providerID !== ID12.githubCopilot)
291
+ if (evt.model.providerID !== ID13.githubCopilot)
292
292
  return;
293
293
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
294
294
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);