@opencode/core 0.0.0-dev-20041 → 0.0.0-dev-20042

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-retention-26qmxnyk.js → persistent-pty-02e6q2g2.js} +70 -70
  8. package/dist/chunks/{file-retention-j90ng04k.js → persistent-pty-0735k9hj.js} +19 -19
  9. package/dist/chunks/{file-retention-c8xagm8x.js → persistent-pty-07yja43e.js} +18 -18
  10. package/dist/chunks/{file-retention-6pjdvyme.js → persistent-pty-0bx2se0g.js} +11 -11
  11. package/dist/chunks/{file-retention-7dqw4kz8.js → persistent-pty-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{file-retention-d66rg99j.js → persistent-pty-0p8fja5q.js} +44 -44
  13. package/dist/chunks/{file-retention-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-retention-rfetvjjn.js → persistent-pty-0qd1hc9n.js} +5 -5
  15. package/dist/chunks/{file-retention-1q3whged.js → persistent-pty-0w62qmxp.js} +8 -8
  16. package/dist/chunks/{file-retention-q87stdvj.js → persistent-pty-0xp9wjxv.js} +32 -32
  17. package/dist/chunks/{file-retention-ss0awb04.js → persistent-pty-15zevn5w.js} +6 -6
  18. package/dist/chunks/{file-retention-5qzhcqq0.js → persistent-pty-1636sbse.js} +22 -22
  19. package/dist/chunks/{file-retention-9z3eexy9.js → persistent-pty-17ggxybq.js} +38 -38
  20. package/dist/chunks/{file-retention-t3hb2ca5.js → persistent-pty-1a1mrdgb.js} +27 -27
  21. package/dist/chunks/{file-retention-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{file-retention-2z5xr0mg.js → persistent-pty-1q803bdb.js} +9 -9
  23. package/dist/chunks/{file-retention-7zxdsfz3.js → persistent-pty-1qvkgnpd.js} +27 -27
  24. package/dist/chunks/{file-retention-h3jew788.js → persistent-pty-1stbn8g0.js} +7 -7
  25. package/dist/chunks/{file-retention-56gdpj1q.js → persistent-pty-1ygqh575.js} +9 -9
  26. package/dist/chunks/{file-retention-x90ppevt.js → persistent-pty-1z9ngvxm.js} +15 -15
  27. package/dist/chunks/{file-retention-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  28. package/dist/chunks/{file-retention-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  29. package/dist/chunks/{file-retention-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{file-retention-4w5f3qm5.js → persistent-pty-2eegacq4.js} +8 -8
  31. package/dist/chunks/{file-retention-d2rrq94d.js → persistent-pty-2g96k7vx.js} +1 -1
  32. package/dist/chunks/{file-retention-p3p972wa.js → persistent-pty-2vgzs72b.js} +5 -5
  33. package/dist/chunks/{file-retention-bv8m9t85.js → persistent-pty-2wyfts5g.js} +24 -24
  34. package/dist/chunks/{file-retention-49x2wa8a.js → persistent-pty-2x1xwv6h.js} +20 -20
  35. package/dist/chunks/{file-retention-ds5m9dev.js → persistent-pty-31k44zkb.js} +16 -16
  36. package/dist/chunks/{file-retention-fmvrqh2q.js → persistent-pty-39q291vc.js} +32 -32
  37. package/dist/chunks/{file-retention-7fw3nddj.js → persistent-pty-3dav9012.js} +9 -9
  38. package/dist/chunks/{file-retention-jwyf9651.js → persistent-pty-3f3jqxta.js} +19 -19
  39. package/dist/chunks/{file-retention-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{file-retention-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{file-retention-k9avtbwf.js → persistent-pty-3ktbe3hf.js} +6 -6
  42. package/dist/chunks/{file-retention-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{file-retention-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{file-retention-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{file-retention-knb7evpn.js → persistent-pty-44ke2mar.js} +2 -2
  46. package/dist/chunks/{file-retention-1ayg86nt.js → persistent-pty-4685a8f7.js} +18 -18
  47. package/dist/chunks/{file-retention-kdwpteqf.js → persistent-pty-4d3yg0sd.js} +3 -3
  48. package/dist/chunks/{file-retention-3dbq0asv.js → persistent-pty-4d5pscc0.js} +6 -6
  49. package/dist/chunks/{file-retention-crg2e90r.js → persistent-pty-4k8me329.js} +14 -14
  50. package/dist/chunks/{file-retention-y1wbvcwc.js → persistent-pty-4pfpv52f.js} +8 -8
  51. package/dist/chunks/{file-retention-h74hxk69.js → persistent-pty-4t9wz2vk.js} +10 -10
  52. package/dist/chunks/persistent-pty-4v7qdvcn.js +18 -0
  53. package/dist/chunks/{file-retention-y5xxxn1t.js → persistent-pty-4ws8fjcn.js} +54 -54
  54. package/dist/chunks/{file-retention-dg2cj1yd.js → persistent-pty-53fyba40.js} +4 -4
  55. package/dist/chunks/{file-retention-p5m3p7d0.js → persistent-pty-544cyea4.js} +26 -26
  56. package/dist/chunks/{file-retention-vtyxdczd.js → persistent-pty-55cx5064.js} +9 -9
  57. package/dist/chunks/{file-retention-g88pctsh.js → persistent-pty-56scbdfa.js} +28 -24
  58. package/dist/chunks/{file-retention-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{file-retention-8t9xkh8k.js → persistent-pty-58fpexbr.js} +10 -10
  60. package/dist/chunks/{file-retention-4pbsmvv3.js → persistent-pty-5brb0pbm.js} +182 -182
  61. package/dist/chunks/{file-retention-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  62. package/dist/chunks/{file-retention-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
  63. package/dist/chunks/{file-retention-3xvqt3tk.js → persistent-pty-5pt64gxx.js} +26 -26
  64. package/dist/chunks/{file-retention-gzbkpp9m.js → persistent-pty-5qkxfyep.js} +4 -4
  65. package/dist/chunks/{file-retention-k30r2j3z.js → persistent-pty-5qxx2m82.js} +3 -3
  66. package/dist/chunks/{file-retention-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{file-retention-zvcs6vph.js → persistent-pty-5zr303av.js} +10 -10
  68. package/dist/chunks/{file-retention-669tq793.js → persistent-pty-669tq793.js} +1 -1
  69. package/dist/chunks/{file-retention-p1wcy1sd.js → persistent-pty-66t0h02t.js} +16 -16
  70. package/dist/chunks/{file-retention-petwabaa.js → persistent-pty-679wzm8a.js} +31 -31
  71. package/dist/chunks/{file-retention-ms71xcq7.js → persistent-pty-6am04jn1.js} +41 -41
  72. package/dist/chunks/{file-retention-32k8n31x.js → persistent-pty-6d0k74d0.js} +12 -12
  73. package/dist/chunks/{file-retention-3tqvv29e.js → persistent-pty-6hc4pxhc.js} +3 -3
  74. package/dist/chunks/{file-retention-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{file-retention-tjt0qs6c.js → persistent-pty-6qv05xq0.js} +32 -32
  76. package/dist/chunks/{file-retention-prw4r7p3.js → persistent-pty-6xypr7jz.js} +13 -13
  77. package/dist/chunks/{file-retention-3376ssn9.js → persistent-pty-6y4kmedr.js} +80 -80
  78. package/dist/chunks/{file-retention-0w7zs8bt.js → persistent-pty-6ydfbg1r.js} +17 -17
  79. package/dist/chunks/{file-retention-1v3ghhgs.js → persistent-pty-73hrd7m9.js} +6 -6
  80. package/dist/chunks/{file-retention-rjgxhawe.js → persistent-pty-768gsh1v.js} +6 -6
  81. package/dist/chunks/{file-retention-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-retention-eez4ae6w.js → persistent-pty-7gryrk58.js} +24 -24
  83. package/dist/chunks/{file-retention-xgmqxxb1.js → persistent-pty-7k1gvst3.js} +12 -12
  84. package/dist/chunks/{file-retention-rsz70btv.js → persistent-pty-7k434ymz.js} +12 -12
  85. package/dist/chunks/{file-retention-eh9pyrvh.js → persistent-pty-7vbsp9bb.js} +11 -11
  86. package/dist/chunks/{file-retention-5t76re1k.js → persistent-pty-7vtw3tkk.js} +2 -2
  87. package/dist/chunks/{file-retention-6e1xm13d.js → persistent-pty-7xzxry9y.js} +3 -3
  88. package/dist/chunks/{file-retention-c5gn303e.js → persistent-pty-7z7az0f5.js} +4 -4
  89. package/dist/chunks/{file-retention-n5kbdkqy.js → persistent-pty-86dkkjnf.js} +15 -15
  90. package/dist/chunks/{file-retention-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
  91. package/dist/chunks/{file-retention-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{file-retention-jnp949yc.js → persistent-pty-8dzzav18.js} +4 -4
  93. package/dist/chunks/{file-retention-7ee7cgcp.js → persistent-pty-8eh4zvff.js} +23 -23
  94. package/dist/chunks/{file-retention-g022mkhv.js → persistent-pty-8pw1b0j6.js} +11 -11
  95. package/dist/chunks/{file-retention-qhbjehys.js → persistent-pty-8qc9bzp8.js} +20 -20
  96. package/dist/chunks/{file-retention-gn2hfjap.js → persistent-pty-8wsye86r.js} +8 -8
  97. package/dist/chunks/{file-retention-2wwy9jkx.js → persistent-pty-8xvk34tp.js} +10 -10
  98. package/dist/chunks/{file-retention-svmcaxnz.js → persistent-pty-90rjpb8w.js} +15 -15
  99. package/dist/chunks/{file-retention-2m5gpsjc.js → persistent-pty-90w267cj.js} +18 -18
  100. package/dist/chunks/{file-retention-94ek1h2f.js → persistent-pty-94ek1h2f.js} +2 -2
  101. package/dist/chunks/{file-retention-p2p01y4a.js → persistent-pty-9cn3db03.js} +37 -37
  102. package/dist/chunks/{file-retention-9sxnqw9k.js → persistent-pty-9v19sw1s.js} +43 -43
  103. package/dist/chunks/{file-retention-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  104. package/dist/chunks/{file-retention-avd8ev9v.js → persistent-pty-ajvrh1yc.js} +4 -4
  105. package/dist/chunks/{file-retention-xnc27n98.js → persistent-pty-apek9f9a.js} +28 -28
  106. package/dist/chunks/{file-retention-20zxcxps.js → persistent-pty-ayw4b9ht.js} +8 -8
  107. package/dist/chunks/{file-retention-rza38swf.js → persistent-pty-b0mhge8s.js} +1 -1
  108. package/dist/chunks/{file-retention-trqbdvny.js → persistent-pty-b5s03rd7.js} +3 -3
  109. package/dist/chunks/{file-retention-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{file-retention-zdgtn3pv.js → persistent-pty-b8kh8k48.js} +33 -33
  111. package/dist/chunks/{file-retention-akcjkw95.js → persistent-pty-bhd4rr5x.js} +17 -17
  112. package/dist/chunks/{file-retention-q66jrkrp.js → persistent-pty-bm48e2a0.js} +6 -6
  113. package/dist/chunks/{file-retention-rye6va4d.js → persistent-pty-bpjsyh0e.js} +20 -20
  114. package/dist/chunks/{file-retention-g97k7hqe.js → persistent-pty-bqvjxhzq.js} +6 -6
  115. package/dist/chunks/{file-retention-mryfz2cp.js → persistent-pty-bsd2nd03.js} +18 -18
  116. package/dist/chunks/{file-retention-8xk7ktgq.js → persistent-pty-bwvhsys1.js} +22 -22
  117. package/dist/chunks/{file-retention-qry02hsx.js → persistent-pty-bx1t6bcv.js} +8 -8
  118. package/dist/chunks/{file-retention-tn0aqsam.js → persistent-pty-c78bbtc9.js} +5 -5
  119. package/dist/chunks/{file-retention-g190xswt.js → persistent-pty-cavr175a.js} +4 -4
  120. package/dist/chunks/{file-retention-g74g176x.js → persistent-pty-cgkdtpn3.js} +92 -92
  121. package/dist/chunks/{file-retention-03k3acwf.js → persistent-pty-chwd528f.js} +5 -5
  122. package/dist/chunks/{file-retention-9fp0xjb7.js → persistent-pty-cj484d79.js} +10 -10
  123. package/dist/chunks/{file-retention-ckecvw8r.js → persistent-pty-ckecvw8r.js} +2 -2
  124. package/dist/chunks/{file-retention-cmwkp3r5.js → persistent-pty-cmwkp3r5.js} +1 -1
  125. package/dist/chunks/{file-retention-h6r3nrb9.js → persistent-pty-cpj0znwe.js} +4 -4
  126. package/dist/chunks/{file-retention-0f9afca0.js → persistent-pty-cr07tj7n.js} +5 -5
  127. package/dist/chunks/{file-retention-m26hz9p9.js → persistent-pty-crhd7pgs.js} +32 -32
  128. package/dist/chunks/{file-retention-g6q9qykm.js → persistent-pty-cwa6csj7.js} +9 -9
  129. package/dist/chunks/{file-retention-vqfhhw58.js → persistent-pty-cwykn6m4.js} +8 -8
  130. package/dist/chunks/{file-retention-65396x6s.js → persistent-pty-d1fh6jb3.js} +33 -33
  131. package/dist/chunks/{file-retention-fevyjzxn.js → persistent-pty-d5fc3ham.js} +24 -24
  132. package/dist/chunks/{file-retention-khj5rq36.js → persistent-pty-d6d69879.js} +17 -17
  133. package/dist/chunks/{file-retention-b0dgvpy7.js → persistent-pty-depwzj9d.js} +9 -9
  134. package/dist/chunks/{file-retention-f1qkhhqk.js → persistent-pty-dfnn5kbd.js} +3 -3
  135. package/dist/chunks/{file-retention-kb60wjr3.js → persistent-pty-dwj2yfa0.js} +35 -35
  136. package/dist/chunks/{file-retention-a9a955e9.js → persistent-pty-e8nxqz0t.js} +22 -22
  137. package/dist/chunks/{file-retention-s8d7rejh.js → persistent-pty-eaj1djv9.js} +6 -6
  138. package/dist/chunks/{file-retention-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{file-retention-hjg7zh7c.js → persistent-pty-enrp2nyv.js} +33 -33
  140. package/dist/chunks/{file-retention-73tb2d7t.js → persistent-pty-eq1pz5kg.js} +3 -3
  141. package/dist/chunks/{file-retention-a3aaahat.js → persistent-pty-eqtj21ma.js} +13 -13
  142. package/dist/chunks/{file-retention-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  143. package/dist/chunks/{file-retention-g5ae0avw.js → persistent-pty-et5dj639.js} +22 -22
  144. package/dist/chunks/{file-retention-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{file-retention-vghw8xx0.js → persistent-pty-ey7c8yx5.js} +11 -11
  146. package/dist/chunks/{file-retention-ntf9h0sg.js → persistent-pty-f43wcbcr.js} +17 -17
  147. package/dist/chunks/{file-retention-qv5nhp8w.js → persistent-pty-f8h9tg4t.js} +4 -4
  148. package/dist/chunks/{file-retention-ksx3x1ny.js → persistent-pty-fcj2ezqc.js} +20 -20
  149. package/dist/chunks/{file-retention-c9jyf434.js → persistent-pty-fm4gasdc.js} +35 -35
  150. package/dist/chunks/{file-retention-4hfmy0rs.js → persistent-pty-fqeda9mf.js} +24 -24
  151. package/dist/chunks/{file-retention-sqkw1tam.js → persistent-pty-g58xhhsy.js} +58 -58
  152. package/dist/chunks/{file-retention-r2rczy8f.js → persistent-pty-g5r6kmbd.js} +32 -32
  153. package/dist/chunks/{file-retention-jfqtm2ew.js → persistent-pty-g8d3gcyj.js} +7 -7
  154. package/dist/chunks/{file-retention-818pfwc9.js → persistent-pty-g8jasmdt.js} +8 -8
  155. package/dist/chunks/{file-retention-2vsnwkke.js → persistent-pty-g95rc6bm.js} +5 -5
  156. package/dist/chunks/{file-retention-vkcyb6cw.js → persistent-pty-gapsx7my.js} +22 -22
  157. package/dist/chunks/{file-retention-540sh223.js → persistent-pty-gcftrmma.js} +48 -48
  158. package/dist/chunks/{file-retention-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{file-retention-hzp3bmsz.js → persistent-pty-gd9e8kac.js} +13 -13
  160. package/dist/chunks/{file-retention-qn4ba14w.js → persistent-pty-gg7pg1rj.js} +5 -5
  161. package/dist/chunks/{file-retention-ha9jdhyk.js → persistent-pty-ggfg2vv6.js} +10 -10
  162. package/dist/chunks/{file-retention-68xfyy0m.js → persistent-pty-gj0qw44p.js} +15 -15
  163. package/dist/chunks/{file-retention-vy4zg7qh.js → persistent-pty-gmjq4p6e.js} +5 -5
  164. package/dist/chunks/{file-retention-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{file-retention-4024s05h.js → persistent-pty-gw2tvx6f.js} +14 -14
  166. package/dist/chunks/{file-retention-5vgsf7vz.js → persistent-pty-gw4e1bwq.js} +30 -30
  167. package/dist/chunks/{file-retention-8caw9eqq.js → persistent-pty-gx8rf7xa.js} +11 -11
  168. package/dist/chunks/{file-retention-7jcskesy.js → persistent-pty-h5crna56.js} +26 -26
  169. package/dist/chunks/{file-retention-hka1ns4r.js → persistent-pty-h663anem.js} +14 -14
  170. package/dist/chunks/{file-retention-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  171. package/dist/chunks/persistent-pty-ha2kee0e.js +503 -0
  172. package/dist/chunks/{file-retention-yt3hy1g9.js → persistent-pty-hbyhqfhs.js} +5 -5
  173. package/dist/chunks/{file-retention-ekx7ze3j.js → persistent-pty-hg9qxph4.js} +11 -11
  174. package/dist/chunks/{file-retention-4etebsex.js → persistent-pty-hj5k1nvz.js} +58 -58
  175. package/dist/chunks/{file-retention-qm98202t.js → persistent-pty-hkx3gg44.js} +27 -27
  176. package/dist/chunks/{file-retention-3jzbwf7q.js → persistent-pty-hm529q5d.js} +28 -28
  177. package/dist/chunks/{file-retention-9c38mvzz.js → persistent-pty-hmn5tmn4.js} +14 -14
  178. package/dist/chunks/{file-retention-prmgem5b.js → persistent-pty-hq8zt1th.js} +6 -6
  179. package/dist/chunks/{file-retention-k3x2wr2k.js → persistent-pty-hrd0j5f2.js} +13 -13
  180. package/dist/chunks/{file-retention-wjvnz8yh.js → persistent-pty-hxj44d9p.js} +27 -27
  181. package/dist/chunks/{file-retention-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  182. package/dist/chunks/{file-retention-feb5mkp6.js → persistent-pty-j64w6b8p.js} +30 -30
  183. package/dist/chunks/{file-retention-n8hmmtzx.js → persistent-pty-j7kjea59.js} +11 -11
  184. package/dist/chunks/{file-retention-n6ht9sbt.js → persistent-pty-j8s0raxh.js} +19 -19
  185. package/dist/chunks/{file-retention-nng2ktcm.js → persistent-pty-jca4demv.js} +2 -2
  186. package/dist/chunks/{file-retention-khvqtdky.js → persistent-pty-jegrsze7.js} +49 -49
  187. package/dist/chunks/{file-retention-aw030d2s.js → persistent-pty-jgnkgs1r.js} +25 -25
  188. package/dist/chunks/{file-retention-ae1qpy6d.js → persistent-pty-k1sg37e2.js} +4 -4
  189. package/dist/chunks/{file-retention-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
  190. package/dist/chunks/{file-retention-8rpqbtbt.js → persistent-pty-k589v2yc.js} +20 -20
  191. package/dist/chunks/{file-retention-wt2bt8rh.js → persistent-pty-kh3ehkc0.js} +4 -4
  192. package/dist/chunks/{file-retention-5hvmyetr.js → persistent-pty-kk3qww5s.js} +28 -28
  193. package/dist/chunks/{file-retention-c4fmhh0h.js → persistent-pty-kqjd1yhv.js} +20 -20
  194. package/dist/chunks/persistent-pty-kx0ks824.js +26 -0
  195. package/dist/chunks/{file-retention-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  196. package/dist/chunks/{file-retention-qeadq54g.js → persistent-pty-m6bhc56w.js} +9 -9
  197. package/dist/chunks/{file-retention-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{file-retention-775tmf4k.js → persistent-pty-mkhen09b.js} +4 -4
  199. package/dist/chunks/{file-retention-pw47d8q8.js → persistent-pty-mncdga5g.js} +3 -3
  200. package/dist/chunks/{file-retention-33qd89zh.js → persistent-pty-mw5r620c.js} +25 -25
  201. package/dist/chunks/{file-retention-ms1chagy.js → persistent-pty-mwpvdsq8.js} +22 -22
  202. package/dist/chunks/{file-retention-xmv4zd28.js → persistent-pty-n0knvxp1.js} +17 -17
  203. package/dist/chunks/{file-retention-0664arss.js → persistent-pty-n6881739.js} +37 -37
  204. package/dist/chunks/{file-retention-xd50rb0f.js → persistent-pty-n9z7mj6d.js} +26 -26
  205. package/dist/chunks/{file-retention-za96cmcy.js → persistent-pty-ndmt31ja.js} +10 -10
  206. package/dist/chunks/{file-retention-qvhhy2sw.js → persistent-pty-neppcg31.js} +24 -24
  207. package/dist/chunks/{file-retention-0zkr977k.js → persistent-pty-nmjdsd9n.js} +17 -17
  208. package/dist/chunks/{file-retention-z1m0hqzv.js → persistent-pty-p5ntwjzn.js} +11 -11
  209. package/dist/chunks/{file-retention-865ms8yh.js → persistent-pty-pgnaq8k5.js} +40 -40
  210. package/dist/chunks/{file-retention-cm6x1q2e.js → persistent-pty-pgxezfdk.js} +5 -5
  211. package/dist/chunks/{file-retention-5fkt7nnq.js → persistent-pty-ph20cxtq.js} +9 -9
  212. package/dist/chunks/{file-retention-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{file-retention-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  214. package/dist/chunks/{file-retention-e8nz2nx7.js → persistent-pty-prpvt0tr.js} +13 -13
  215. package/dist/chunks/{file-retention-4tnhmcyh.js → persistent-pty-pz5z3jcr.js} +40 -40
  216. package/dist/chunks/{file-retention-rvk9xysn.js → persistent-pty-pzgzmqw9.js} +17 -17
  217. package/dist/chunks/{file-retention-66bbhz8t.js → persistent-pty-pzwa7kng.js} +12 -12
  218. package/dist/chunks/{file-retention-7w99qc9d.js → persistent-pty-q3t37ft6.js} +3 -3
  219. package/dist/chunks/{file-retention-g4q7we8z.js → persistent-pty-q7r8ektg.js} +9 -9
  220. package/dist/chunks/persistent-pty-qapv375x.js +4 -0
  221. package/dist/chunks/{file-retention-nq7qbqzc.js → persistent-pty-qg0jgkcp.js} +9 -9
  222. package/dist/chunks/{file-retention-et0rkxxj.js → persistent-pty-qp3v07n2.js} +8 -8
  223. package/dist/chunks/{file-retention-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  224. package/dist/chunks/{file-retention-k53npxr2.js → persistent-pty-r3c4069c.js} +1 -1
  225. package/dist/chunks/{file-retention-sq7rfx6k.js → persistent-pty-r4v8qatr.js} +8 -8
  226. package/dist/chunks/{file-retention-8v9yv9bq.js → persistent-pty-r677t44f.js} +35 -35
  227. package/dist/chunks/{file-retention-r8xr0va3.js → persistent-pty-r8xr0va3.js} +1 -1
  228. package/dist/chunks/{file-retention-bafk1heq.js → persistent-pty-rbd4k96t.js} +23 -23
  229. package/dist/chunks/{file-retention-379cs1ec.js → persistent-pty-rcbfacwh.js} +6 -6
  230. package/dist/chunks/{file-retention-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{file-retention-a09z2ym9.js → persistent-pty-re89hen7.js} +3 -3
  232. package/dist/chunks/persistent-pty-rh3p3f6n.js +252 -0
  233. package/dist/chunks/{file-retention-f7r00ng2.js → persistent-pty-rqqq06ty.js} +37 -37
  234. package/dist/chunks/{file-retention-s2sgpvg3.js → persistent-pty-rvrv9k52.js} +25 -25
  235. package/dist/chunks/{file-retention-vwzd1dr8.js → persistent-pty-s1x2d4kw.js} +19 -19
  236. package/dist/chunks/{file-retention-4qgnjzgs.js → persistent-pty-s43hhkdm.js} +32 -32
  237. package/dist/chunks/{file-retention-5tsjnb8p.js → persistent-pty-s4ahaey6.js} +7 -7
  238. package/dist/chunks/{file-retention-41wzkj33.js → persistent-pty-sds13m34.js} +8 -8
  239. package/dist/chunks/{file-retention-avf7bgaf.js → persistent-pty-sg4wm2jf.js} +46 -46
  240. package/dist/chunks/{file-retention-caepx5ad.js → persistent-pty-sg81b8ak.js} +9 -9
  241. package/dist/chunks/{file-retention-yg97ajga.js → persistent-pty-ss4mfvwp.js} +5 -5
  242. package/dist/chunks/{file-retention-3jpka5e8.js → persistent-pty-t4cdje0c.js} +4 -4
  243. package/dist/chunks/{file-retention-7qbzk5hm.js → persistent-pty-t7gzm03g.js} +18 -18
  244. package/dist/chunks/{file-retention-0bv1bvwy.js → persistent-pty-t898jj0x.js} +10 -10
  245. package/dist/chunks/{file-retention-vncycja5.js → persistent-pty-t9zs3egg.js} +4 -4
  246. package/dist/chunks/{file-retention-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  247. package/dist/chunks/{file-retention-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  248. package/dist/chunks/{file-retention-1y283654.js → persistent-pty-tjedn1bk.js} +4 -4
  249. package/dist/chunks/{file-retention-p7r5mfnx.js → persistent-pty-tn3aw0th.js} +27 -27
  250. package/dist/chunks/{file-retention-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  251. package/dist/chunks/{file-retention-6ab1dfve.js → persistent-pty-tw6qbae6.js} +21 -21
  252. package/dist/chunks/{file-retention-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  253. package/dist/chunks/{file-retention-vtxr0yy2.js → persistent-pty-vtxr0yy2.js} +2 -2
  254. package/dist/chunks/{file-retention-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{file-retention-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{file-retention-nj1j17x6.js → persistent-pty-w4scjadp.js} +8 -8
  257. package/dist/chunks/{file-retention-wd3x2cqz.js → persistent-pty-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{file-retention-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  259. package/dist/chunks/{file-retention-nbnr4nbs.js → persistent-pty-wmdbx2q5.js} +27 -27
  260. package/dist/chunks/{file-retention-5xpznt2d.js → persistent-pty-wq4mmp7m.js} +4 -4
  261. package/dist/chunks/{file-retention-9h7wvxm5.js → persistent-pty-wqb2bwtv.js} +5 -5
  262. package/dist/chunks/{file-retention-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{file-retention-w6abkha8.js → persistent-pty-x3yd748b.js} +29 -29
  264. package/dist/chunks/{file-retention-6517vpn3.js → persistent-pty-xcwzx241.js} +14 -14
  265. package/dist/chunks/{file-retention-k7nxnay7.js → persistent-pty-xe08wmx0.js} +17 -17
  266. package/dist/chunks/{file-retention-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
  267. package/dist/chunks/{file-retention-22z5w8qs.js → persistent-pty-xj2bvnk1.js} +18 -18
  268. package/dist/chunks/{file-retention-3bjec645.js → persistent-pty-xq7gw347.js} +51 -51
  269. package/dist/chunks/{file-retention-kxqbxb34.js → persistent-pty-xr54qchj.js} +8 -8
  270. package/dist/chunks/{file-retention-v718bg0p.js → persistent-pty-xw1ps8cb.js} +17 -17
  271. package/dist/chunks/{file-retention-g4dcbn2w.js → persistent-pty-y170be0p.js} +8 -8
  272. package/dist/chunks/{file-retention-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{file-retention-9ajszpws.js → persistent-pty-y56hh3ws.js} +11 -11
  274. package/dist/chunks/{file-retention-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
  275. package/dist/chunks/{file-retention-rsvh1r19.js → persistent-pty-yfj0yy3f.js} +5 -5
  276. package/dist/chunks/{file-retention-mt8kbkqe.js → persistent-pty-yhnkyc0a.js} +29 -29
  277. package/dist/chunks/{file-retention-0y8sfxad.js → persistent-pty-yjpe6epv.js} +6 -6
  278. package/dist/chunks/{file-retention-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{file-retention-9n30v2t0.js → persistent-pty-yrvhhsj7.js} +12 -12
  280. package/dist/chunks/{file-retention-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  281. package/dist/chunks/{file-retention-wjxxvj74.js → persistent-pty-yxpsvedr.js} +15 -15
  282. package/dist/chunks/{file-retention-z07pqspn.js → persistent-pty-z07pqspn.js} +3 -3
  283. package/dist/chunks/{file-retention-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{file-retention-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  285. package/dist/chunks/{file-retention-rwm5vee1.js → persistent-pty-zav06jzw.js} +4 -4
  286. package/dist/chunks/{file-retention-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-retention-14wy2v1y.js → persistent-pty-zhth6nwz.js} +10 -10
  288. package/dist/chunks/{file-retention-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-retention-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{file-retention-3xtf7kjc.js → persistent-pty-zz56sx2x.js} +13 -13
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +83 -83
  296. package/dist/config/discovery.js +84 -84
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +162 -162
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  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 +76 -76
  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 +93 -93
  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 +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +108 -108
  431. package/dist/form.js +86 -86
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +101 -101
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +361 -361
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +83 -83
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +135 -135
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +358 -358
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +108 -108
  477. package/dist/mcp/instructions.js +128 -128
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +99 -99
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/compaction.js +133 -133
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +1 -1
  501. package/dist/plugin/internal.js +332 -332
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +93 -93
  520. package/dist/plugin/provider/gitlab.js +91 -91
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +92 -92
  529. package/dist/plugin/provider/opencode.js +95 -94
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +160 -160
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +349 -349
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +229 -229
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +84 -84
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +98 -98
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +134 -134
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +224 -224
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +151 -151
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +115 -115
  596. package/dist/session/model-transport.js +5 -5
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +1 -1
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +114 -114
  609. package/dist/session/runner/step.js +124 -124
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +210 -210
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +154 -154
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +220 -220
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +220 -220
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +89 -89
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +123 -123
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +118 -118
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +109 -109
  649. package/dist/tool/plugin/subagent.js +217 -217
  650. package/dist/tool/plugin/webfetch.js +110 -110
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +100 -100
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +14 -14
  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/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +3 -3
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +91 -91
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/websearch.js +84 -84
  687. package/dist/wellknown/plugin.js +76 -76
  688. package/dist/wellknown.js +79 -79
  689. package/dist/workspace/driver.js +7 -7
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +98 -98
  697. package/package.json +8 -8
  698. package/dist/chunks/file-retention-0mesazry.js +0 -4
  699. package/dist/chunks/file-retention-c896jrwc.js +0 -26
  700. package/dist/chunks/file-retention-rap9a73h.js +0 -18
  701. package/dist/chunks/file-retention-w5jkjmtp.js +0 -252
  702. package/dist/chunks/file-retention-ybxrcnqf.js +0 -503
  703. /package/dist/chunks/{file-retention-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{file-retention-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{file-retention-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{file-retention-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{file-retention-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{file-retention-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{file-retention-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{file-retention-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{file-retention-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{file-retention-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{file-retention-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{file-retention-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  715. /package/dist/chunks/{file-retention-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{file-retention-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{file-retention-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{file-retention-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{file-retention-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{file-retention-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{file-retention-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{file-retention-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  723. /package/dist/chunks/{file-retention-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{file-retention-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{file-retention-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  726. /package/dist/chunks/{file-retention-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{file-retention-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{file-retention-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  729. /package/dist/chunks/{file-retention-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{file-retention-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{file-retention-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{file-retention-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  733. /package/dist/chunks/{file-retention-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{file-retention-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{file-retention-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{file-retention-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{file-retention-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{file-retention-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{file-retention-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{file-retention-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{file-retention-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{file-retention-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{file-retention-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{file-retention-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{file-retention-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{file-retention-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{file-retention-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{file-retention-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  749. /package/dist/chunks/{file-retention-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{file-retention-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{file-retention-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{file-retention-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{file-retention-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{file-retention-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{file-retention-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{file-retention-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{file-retention-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{file-retention-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{file-retention-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{file-retention-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{file-retention-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  762. /package/dist/chunks/{file-retention-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{file-retention-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  764. /package/dist/chunks/{file-retention-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{file-retention-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  766. /package/dist/chunks/{file-retention-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{file-retention-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{file-retention-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{file-retention-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{file-retention-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{file-retention-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{file-retention-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{file-retention-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{file-retention-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{file-retention-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{file-retention-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{file-retention-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{file-retention-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{file-retention-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{file-retention-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{file-retention-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{file-retention-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{file-retention-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{file-retention-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{file-retention-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{file-retention-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{file-retention-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{file-retention-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{file-retention-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{file-retention-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{file-retention-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{file-retention-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{file-retention-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  794. /package/dist/chunks/{file-retention-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{file-retention-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{file-retention-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{file-retention-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{file-retention-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{file-retention-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node39
5
- } from "./file-retention-qry02hsx.js";
4
+ node38
5
+ } from "./persistent-pty-bx1t6bcv.js";
6
6
  import {
7
- Service81,
8
- node85
9
- } from "./file-retention-xgmqxxb1.js";
7
+ Service83,
8
+ node87
9
+ } from "./persistent-pty-7k1gvst3.js";
10
10
  import {
11
11
  native2,
12
- ID13,
12
+ ID7,
13
13
  aisdk2
14
- } from "./file-retention-c9jyf434.js";
14
+ } from "./persistent-pty-fm4gasdc.js";
15
15
  import {
16
- ID12,
16
+ ID6,
17
17
  Family2,
18
18
  compatibility2
19
- } from "./file-retention-zdgtn3pv.js";
19
+ } from "./persistent-pty-b8kh8k48.js";
20
20
  import {
21
21
  resolve2
22
- } from "./file-retention-f1qkhhqk.js";
22
+ } from "./persistent-pty-dfnn5kbd.js";
23
23
  import {
24
- Service83,
25
- node87
26
- } from "./file-retention-h74hxk69.js";
24
+ Service72,
25
+ node76
26
+ } from "./persistent-pty-4t9wz2vk.js";
27
27
  import {
28
28
  __export
29
- } from "./file-retention-9rqn6x4v.js";
29
+ } from "./persistent-pty-9rqn6x4v.js";
30
30
 
31
31
  // src/models-dev.ts
32
32
  var exports_models_dev = {};
@@ -35,11 +35,11 @@ __export(exports_models_dev, {
35
35
  Event: () => Event2,
36
36
  ModelsDev: () => exports_models_dev,
37
37
  Options: () => Options2,
38
- Service: () => Service15,
38
+ Service: () => Service13,
39
39
  bodyDigest: () => bodyDigest2,
40
40
  configured: () => configured2,
41
41
  layer: () => layer8,
42
- node: () => node17
42
+ node: () => node15
43
43
  });
44
44
  import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
45
45
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
@@ -63,7 +63,7 @@ function nativePackage(provider, model) {
63
63
  function normalize(input) {
64
64
  const providers = [];
65
65
  for (const item of Object.values(input)) {
66
- const providerID = ID13.make(item.id);
66
+ const providerID = ID7.make(item.id);
67
67
  const packageName = nativePackage(item);
68
68
  const info = {
69
69
  id: providerID,
@@ -75,12 +75,12 @@ function normalize(input) {
75
75
  const models = [];
76
76
  for (const model of Object.values(item.models)) {
77
77
  const baseCost = cost(model.cost);
78
- const id = ID12.make(model.id);
78
+ const id = ID6.make(model.id);
79
79
  const base = modelInfo(item, id, model, { cost: baseCost });
80
80
  const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
81
81
  models.push({ ...base, variants });
82
82
  for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
83
- const modeID = ID12.make(`${model.id}-${mode}`);
83
+ const modeID = ID6.make(`${model.id}-${mode}`);
84
84
  models.push(modelInfo(item, modeID, model, {
85
85
  name: modeName(model, mode),
86
86
  cost: mergeCost(baseCost, options.cost),
@@ -164,7 +164,7 @@ function supports(model) {
164
164
  return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
165
165
  }
166
166
  function modelInfo(provider, id, model, input = {}) {
167
- const providerID = ID13.make(provider.id);
167
+ const providerID = ID7.make(provider.id);
168
168
  const pkg = model.provider?.npm ? nativePackage(provider, model) : undefined;
169
169
  const settings = {
170
170
  ...model.provider?.api ? { baseURL: model.provider.api } : {},
@@ -172,7 +172,7 @@ function modelInfo(provider, id, model, input = {}) {
172
172
  };
173
173
  return {
174
174
  id,
175
- modelID: ID12.make(model.id),
175
+ modelID: ID6.make(model.id),
176
176
  providerID,
177
177
  name: input.name ?? model.name,
178
178
  compatibility: compatibility2(model.interleaved),
@@ -205,7 +205,7 @@ var Options2 = Schema.Struct({
205
205
  snapshot: Schema.optional(Schema.Boolean)
206
206
  });
207
207
 
208
- class Service15 extends Context.Service()("@opencode/ModelsDev") {
208
+ class Service13 extends Context.Service()("@opencode/ModelsDev") {
209
209
  }
210
210
  var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
211
211
  var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
@@ -228,11 +228,11 @@ function cacheKey(source) {
228
228
  function bodyDigest2(text) {
229
229
  return Hash.sha256(text);
230
230
  }
231
- var layer8 = (options) => Layer.effect(Service15, Effect.gen(function* () {
231
+ var layer8 = (options) => Layer.effect(Service13, Effect.gen(function* () {
232
232
  const fs = yield* FSUtil.Service;
233
- const bus = yield* Service81;
233
+ const bus = yield* Service83;
234
234
  const app = yield* Metadata2;
235
- const kv = yield* Service83;
235
+ const kv = yield* Service72;
236
236
  const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
237
237
  retryOn: "errors-and-responses",
238
238
  times: 2,
@@ -312,15 +312,15 @@ var layer8 = (options) => Layer.effect(Service15, Effect.gen(function* () {
312
312
  if (fetch && !process.argv.includes("--get-yargs-completions")) {
313
313
  yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
314
314
  }
315
- return Service15.of({ get, refresh });
315
+ return Service13.of({ get, refresh });
316
316
  }));
317
317
  function configured2(options) {
318
318
  return makeGlobalNode({
319
- service: Service15,
319
+ service: Service13,
320
320
  layer: layer8(options),
321
- deps: [FSUtil.node, node85, node39, node87, httpClient]
321
+ deps: [FSUtil.node, node87, node38, node76, httpClient]
322
322
  });
323
323
  }
324
- var node17 = configured2();
324
+ var node15 = configured2();
325
325
 
326
- export { CatalogModelStatus2, Options2, Service15, bodyDigest2, layer8, configured2, node17, exports_models_dev, Event2 };
326
+ export { CatalogModelStatus2, Options2, Service13, bodyDigest2, layer8, configured2, node15, exports_models_dev, Event2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service57
3
- } from "./file-retention-5qzhcqq0.js";
2
+ Service39
3
+ } from "./persistent-pty-1636sbse.js";
4
4
  import {
5
- Service56
6
- } from "./file-retention-khvqtdky.js";
5
+ Service38
6
+ } from "./persistent-pty-jegrsze7.js";
7
7
  import {
8
8
  parse2
9
- } from "./file-retention-0y8sfxad.js";
9
+ } from "./persistent-pty-yjpe6epv.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin6
18
+ Plugin: () => Plugin40
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin6 = define({
24
+ var Plugin40 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service56;
27
+ const config = yield* Service38;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service57;
29
+ const watcher = yield* Service39;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin6 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin6, exports_compatibility };
76
+ export { Plugin40, exports_compatibility };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-retention-k30r2j3z.js";
4
+ } from "./persistent-pty-5qxx2m82.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service81,
8
- node85
9
- } from "./file-retention-xgmqxxb1.js";
7
+ Service83,
8
+ node87
9
+ } from "./persistent-pty-7k1gvst3.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./file-retention-ec1grn59.js";
12
+ } from "./persistent-pty-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./file-retention-gftt206x.js";
15
+ } from "./persistent-pty-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./file-retention-vtxr0yy2.js";
18
+ } from "./persistent-pty-vtxr0yy2.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./file-retention-922hggd3.js";
22
+ } from "./persistent-pty-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./file-retention-wd3x2cqz.js";
25
+ } from "./persistent-pty-wd3x2cqz.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./file-retention-z07pqspn.js";
30
+ } from "./persistent-pty-z07pqspn.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./file-retention-nbnr4nbs.js";
36
+ } from "./persistent-pty-wmdbx2q5.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./file-retention-5xpznt2d.js";
42
+ } from "./persistent-pty-wq4mmp7m.js";
43
43
  import {
44
44
  initialize2
45
- } from "./file-retention-68xfyy0m.js";
45
+ } from "./persistent-pty-gj0qw44p.js";
46
46
  import {
47
47
  Slug2
48
- } from "./file-retention-gebd4c9n.js";
48
+ } from "./persistent-pty-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./file-retention-9rqn6x4v.js";
51
+ } from "./persistent-pty-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node28
58
+ node: () => node26
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -276,7 +276,7 @@ function projectIdle(db, event) {
276
276
  });
277
277
  }
278
278
  var layer = Layer.effectDiscard(Effect.gen(function* () {
279
- const bus = yield* Service81;
279
+ const bus = yield* Service83;
280
280
  const db = (yield* Service84).db;
281
281
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
282
282
  const stored = yield* db.insert(SessionTable2).values({
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
459
459
  return publishSessionUsage(db, bus, event.data.sessionID);
460
460
  }), Effect.forkScoped({ startImmediately: true }));
461
461
  }));
462
- var node28 = makeGlobalNode({ name: "session-projector", layer, deps: [node85, node88] });
462
+ var node26 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
463
463
 
464
- export { SessionAlreadyProjected2, node28, exports_projector };
464
+ export { SessionAlreadyProjected2, node26, exports_projector };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-retention-922hggd3.js";
4
+ } from "./persistent-pty-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./file-retention-7w99qc9d.js";
7
+ } from "./persistent-pty-q3t37ft6.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./file-retention-xgmqxxb1.js";
2
+ Service83,
3
+ node87
4
+ } from "./persistent-pty-7k1gvst3.js";
5
5
  import {
6
- Event19,
7
- Service77,
8
- node81
9
- } from "./file-retention-65396x6s.js";
6
+ Event15,
7
+ Service62,
8
+ node65
9
+ } from "./persistent-pty-d1fh6jb3.js";
10
10
  import {
11
- Service57,
12
- node62
13
- } from "./file-retention-5qzhcqq0.js";
11
+ Service39,
12
+ node43
13
+ } from "./persistent-pty-1636sbse.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./file-retention-922hggd3.js";
16
+ } from "./persistent-pty-922hggd3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./file-retention-crg2e90r.js";
18
+ Service80,
19
+ node84
20
+ } from "./persistent-pty-4k8me329.js";
21
21
  import {
22
22
  substitute2
23
- } from "./file-retention-yrznvahk.js";
23
+ } from "./persistent-pty-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./file-retention-bv8m9t85.js";
26
+ } from "./persistent-pty-2wyfts5g.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  discover3
30
- } from "./file-retention-2wwy9jkx.js";
30
+ } from "./persistent-pty-8xvk34tp.js";
31
31
  import {
32
32
  plan2
33
- } from "./file-retention-j56e64zr.js";
33
+ } from "./persistent-pty-j56e64zr.js";
34
34
  import {
35
- Service58,
36
- Event13,
37
- node63
38
- } from "./file-retention-8rpqbtbt.js";
35
+ Service71,
36
+ Event18,
37
+ node75
38
+ } from "./persistent-pty-k589v2yc.js";
39
39
  import {
40
40
  __export
41
- } from "./file-retention-9rqn6x4v.js";
41
+ } from "./persistent-pty-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options8,
48
- Service: () => Service56,
47
+ Options: () => Options5,
48
+ Service: () => Service38,
49
49
  Test: () => Test2,
50
- configured: () => configured10,
50
+ configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer20,
53
- node: () => node61,
52
+ layer: () => layer16,
53
+ node: () => node42,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options8 = Schema.Struct({
67
+ var Options5 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service56 extends Context.Service()("@opencode/Config") {
74
+ class Service38 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service56, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service38, service), Context.add(Test2, service));
93
93
  }));
94
- var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
94
+ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service79;
97
- const watcher = yield* Service57;
98
- const bus = yield* Service81;
99
- const credentials = yield* Service77;
96
+ const location = yield* Service80;
97
+ const watcher = yield* Service39;
98
+ const bus = yield* Service83;
99
+ const credentials = yield* Service62;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service58;
101
+ const wellknown = yield* Service71;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -221,8 +221,8 @@ var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  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 }));
224
- 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 }));
225
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event15.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 }));
225
+ yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -235,7 +235,7 @@ var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names4.map((name) => path.join(directory, name));
238
+ const candidates = names3.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service56.of({
253
+ return Service38.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured10(options) {
265
+ function configured6(options) {
266
266
  return makeLocationNode({
267
- service: Service56,
268
- layer: layer20(options),
269
- deps: [node62, node85, FSUtil.node, Global.node, node83, node81, node63]
267
+ service: Service38,
268
+ layer: layer16(options),
269
+ deps: [node43, node87, FSUtil.node, Global.node, node84, node65, node75]
270
270
  });
271
271
  }
272
- var node61 = configured10();
272
+ var node42 = configured6();
273
273
 
274
- export { latest2, Options8, Service56, Test2, testLayer2, layer20, configured10, node61, exports_config };
274
+ export { latest2, Options5, Service38, Test2, testLayer2, layer16, configured6, node42, exports_config };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-qry02hsx.js";
3
+ } from "./persistent-pty-bx1t6bcv.js";
4
4
  import {
5
- Service81
6
- } from "./file-retention-xgmqxxb1.js";
5
+ Service83
6
+ } from "./persistent-pty-7k1gvst3.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./file-retention-65396x6s.js";
9
+ Event15
10
+ } from "./persistent-pty-d1fh6jb3.js";
11
11
  import {
12
- ID14,
12
+ ID8,
13
13
  MethodID2
14
- } from "./file-retention-4qgnjzgs.js";
14
+ } from "./persistent-pty-s43hhkdm.js";
15
15
  import {
16
16
  which2
17
- } from "./file-retention-qaymkmh1.js";
17
+ } from "./persistent-pty-qaymkmh1.js";
18
18
  import {
19
- ID13
20
- } from "./file-retention-c9jyf434.js";
19
+ ID7
20
+ } from "./persistent-pty-fm4gasdc.js";
21
21
  import {
22
22
  iife2
23
- } from "./file-retention-1kg9ymc8.js";
23
+ } from "./persistent-pty-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-retention-1v3ghhgs.js";
26
+ } from "./persistent-pty-73hrd7m9.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID13.azure);
46
+ const configured = yield* configuredSettings2(ID7.azure);
47
47
  const processes = yield* AppProcess.Service;
48
- const bus = yield* Service81;
48
+ const bus = yield* Service83;
49
49
  const tokens = new Map;
50
50
  const loading = Semaphore.makeUnsafe(1);
51
51
  const loaded = {};
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID13.azure,
82
+ integrationID: ID7.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID13.azure,
88
+ integrationID: ID7.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID13.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID7.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID13.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID7.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID13.azure)
178
+ if (evt.model.providerID !== ID7.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID13.azure });
187
+ }), { providerID: ID7.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID13.azure)
189
+ if (evt.model.providerID !== ID7.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID13.azure });
198
+ }), { providerID: ID7.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./file-retention-0paq2nw3.js";
4
+ } from "./persistent-pty-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./file-retention-c9jyf434.js";
7
+ } from "./persistent-pty-fm4gasdc.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./file-retention-zdgtn3pv.js";
11
+ } from "./persistent-pty-b8kh8k48.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};