@opencode/core 0.0.0-dev-21641 → 0.0.0-dev-21651

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 (806) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{instance-034tev2y.js → persistent-pty-034tev2y.js} +2 -2
  8. package/dist/chunks/{instance-mdvh07w7.js → persistent-pty-04qzb6ng.js} +15 -15
  9. package/dist/chunks/{instance-qrmqkw27.js → persistent-pty-0a4e2wep.js} +18 -18
  10. package/dist/chunks/{instance-vy2h0p7t.js → persistent-pty-0gxwnce6.js} +14 -14
  11. package/dist/chunks/{instance-79ascwz8.js → persistent-pty-0r8hms5j.js} +27 -27
  12. package/dist/chunks/{instance-2zj16vbw.js → persistent-pty-0vawvjhj.js} +6 -6
  13. package/dist/chunks/{instance-c4wf1ysj.js → persistent-pty-10jwkg0d.js} +20 -20
  14. package/dist/chunks/{instance-mf1ymtqj.js → persistent-pty-14x9rdgq.js} +21 -21
  15. package/dist/chunks/{instance-pfam02kk.js → persistent-pty-1689f439.js} +5 -5
  16. package/dist/chunks/{instance-aq1tnhw0.js → persistent-pty-18qnwgya.js} +5 -5
  17. package/dist/chunks/{instance-1ep2p91f.js → persistent-pty-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{instance-ykhahs5v.js → persistent-pty-1h6ms3ts.js} +35 -35
  19. package/dist/chunks/{instance-nd09pmcx.js → persistent-pty-1ncazf2z.js} +19 -19
  20. package/dist/chunks/{instance-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{instance-ccqcnw0e.js → persistent-pty-1xxray5a.js} +21 -21
  22. package/dist/chunks/{instance-8sxdqgb0.js → persistent-pty-1z6jjy5p.js} +6 -6
  23. package/dist/chunks/{instance-cs87y13h.js → persistent-pty-231a8wys.js} +8 -8
  24. package/dist/chunks/{instance-gxna9qj8.js → persistent-pty-26d30kmm.js} +28 -28
  25. package/dist/chunks/{instance-ka99wkw2.js → persistent-pty-27zy431c.js} +4 -4
  26. package/dist/chunks/{instance-bw4xbwfn.js → persistent-pty-2aabkt2r.js} +11 -11
  27. package/dist/chunks/{instance-xc7x0jwv.js → persistent-pty-2bky7t1z.js} +70 -70
  28. package/dist/chunks/{instance-yyk2zdd2.js → persistent-pty-2dwppexq.js} +42 -42
  29. package/dist/chunks/{instance-4h8x6jdk.js → persistent-pty-2ex3p3f1.js} +12 -12
  30. package/dist/chunks/{instance-71sd8a42.js → persistent-pty-2f50b9jg.js} +1 -1
  31. package/dist/chunks/{instance-qkm1qb3q.js → persistent-pty-2hep2db8.js} +11 -11
  32. package/dist/chunks/{instance-n1nj23tb.js → persistent-pty-2m6p7yk7.js} +16 -16
  33. package/dist/chunks/{instance-fp2av3pw.js → persistent-pty-2xk6ct32.js} +19 -19
  34. package/dist/chunks/{instance-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
  35. package/dist/chunks/{instance-0t1mekc8.js → persistent-pty-3837d0nm.js} +6 -6
  36. package/dist/chunks/{instance-tfnjv676.js → persistent-pty-3b8pv6kk.js} +24 -24
  37. package/dist/chunks/{instance-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{instance-gsjs8xe3.js → persistent-pty-3k9f0r09.js} +19 -19
  39. package/dist/chunks/{instance-7xg2jm5b.js → persistent-pty-3kdbrncp.js} +5 -5
  40. package/dist/chunks/{instance-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
  41. package/dist/chunks/{instance-xewy3d53.js → persistent-pty-3pjdfsqh.js} +8 -8
  42. package/dist/chunks/{instance-vsbb40rd.js → persistent-pty-3y9jhrfk.js} +17 -17
  43. package/dist/chunks/{instance-a41wq1zg.js → persistent-pty-3z6cn8x0.js} +13 -13
  44. package/dist/chunks/{instance-97pvg7tb.js → persistent-pty-437171mk.js} +9 -9
  45. package/dist/chunks/{instance-6wz3wy1g.js → persistent-pty-44etcz8n.js} +5 -5
  46. package/dist/chunks/{instance-mb1ys4h0.js → persistent-pty-4b0snw21.js} +12 -12
  47. package/dist/chunks/{instance-5mjn8n6s.js → persistent-pty-4ccqqpnm.js} +4 -4
  48. package/dist/chunks/{instance-nhxzfzhp.js → persistent-pty-4dzz3k2c.js} +10 -10
  49. package/dist/chunks/{instance-gcnhbd6s.js → persistent-pty-4h1ntjay.js} +7 -7
  50. package/dist/chunks/{instance-nskgx1xy.js → persistent-pty-4jq3hvv0.js} +8 -8
  51. package/dist/chunks/{instance-wkataeax.js → persistent-pty-4nnbnrz1.js} +11 -11
  52. package/dist/chunks/{instance-c2sed5cq.js → persistent-pty-4pa8nav4.js} +3 -3
  53. package/dist/chunks/{instance-n26ndsk8.js → persistent-pty-4s573z1s.js} +4 -4
  54. package/dist/chunks/{instance-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
  55. package/dist/chunks/{instance-tdptfwvd.js → persistent-pty-4v888qby.js} +3 -3
  56. package/dist/chunks/{instance-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
  57. package/dist/chunks/{instance-yy9yh1zy.js → persistent-pty-506rfma8.js} +13 -13
  58. package/dist/chunks/{instance-8jb2vj22.js → persistent-pty-53fkqhzs.js} +14 -14
  59. package/dist/chunks/{instance-1narx8j0.js → persistent-pty-57y9frfy.js} +12 -12
  60. package/dist/chunks/{instance-qz6fnwq9.js → persistent-pty-5dzbshvg.js} +4 -4
  61. package/dist/chunks/{instance-w2eysc6j.js → persistent-pty-5enarcya.js} +6 -6
  62. package/dist/chunks/{instance-0pv52n9j.js → persistent-pty-5kfkg5r8.js} +5 -5
  63. package/dist/chunks/{instance-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{instance-s2e6s221.js → persistent-pty-5r569r17.js} +13 -13
  65. package/dist/chunks/{instance-cvkqj1s3.js → persistent-pty-5s24fm1p.js} +14 -14
  66. package/dist/chunks/{instance-fka6syst.js → persistent-pty-5vgcj10y.js} +6 -6
  67. package/dist/chunks/{instance-f35f93zp.js → persistent-pty-5zrxpy3q.js} +5 -5
  68. package/dist/chunks/{instance-ybq2x5w5.js → persistent-pty-603avsaw.js} +11 -11
  69. package/dist/chunks/{instance-9y5b6854.js → persistent-pty-630bcr6j.js} +11 -11
  70. package/dist/chunks/{instance-mn6tycs6.js → persistent-pty-64tk1142.js} +2 -2
  71. package/dist/chunks/{instance-sn4dp65s.js → persistent-pty-65xym8dq.js} +26 -26
  72. package/dist/chunks/{instance-dz0r9je1.js → persistent-pty-66hjg21n.js} +31 -31
  73. package/dist/chunks/{instance-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
  74. package/dist/chunks/{instance-es4ckx34.js → persistent-pty-6g0s59t4.js} +16 -16
  75. package/dist/chunks/{instance-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
  76. package/dist/chunks/{instance-thtq1t3d.js → persistent-pty-6wm2ekws.js} +17 -17
  77. package/dist/chunks/{instance-76cb1hcw.js → persistent-pty-76cb1hcw.js} +1 -1
  78. package/dist/chunks/{instance-40d435vb.js → persistent-pty-77ffb5fa.js} +5 -5
  79. package/dist/chunks/{instance-0421tmwc.js → persistent-pty-799ckdtf.js} +9 -9
  80. package/dist/chunks/{instance-smzpb4qx.js → persistent-pty-79fsmkt2.js} +10 -10
  81. package/dist/chunks/{instance-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{instance-7h8n1k9e.js → persistent-pty-7q3wyea1.js} +23 -23
  83. package/dist/chunks/{instance-ak0aewvz.js → persistent-pty-7vhe8rph.js} +15 -15
  84. package/dist/chunks/{instance-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
  85. package/dist/chunks/{instance-dzd5qgxq.js → persistent-pty-7xcfq1ha.js} +6 -6
  86. package/dist/chunks/{instance-fxn4g1bv.js → persistent-pty-7yz8t82k.js} +5 -5
  87. package/dist/chunks/{instance-jc8qqhy4.js → persistent-pty-8rcbafry.js} +3 -3
  88. package/dist/chunks/{instance-mksvdkta.js → persistent-pty-8tqac9jx.js} +8 -8
  89. package/dist/chunks/{instance-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
  90. package/dist/chunks/{instance-019pepzp.js → persistent-pty-8xz0jfv3.js} +6 -6
  91. package/dist/chunks/{instance-yx2krnhd.js → persistent-pty-8y3ed661.js} +9 -9
  92. package/dist/chunks/{instance-pkmkbjbs.js → persistent-pty-8zn70gxd.js} +8 -8
  93. package/dist/chunks/{instance-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
  94. package/dist/chunks/{instance-end80c8k.js → persistent-pty-96jdb81n.js} +3 -3
  95. package/dist/chunks/{instance-benw8c0p.js → persistent-pty-97arjhc9.js} +11 -11
  96. package/dist/chunks/{instance-998yhzzq.js → persistent-pty-998yhzzq.js} +3 -3
  97. package/dist/chunks/{instance-643ga4pe.js → persistent-pty-9e7skq3b.js} +50 -50
  98. package/dist/chunks/{instance-5dnx8fh9.js → persistent-pty-9k8g54ar.js} +14 -14
  99. package/dist/chunks/{instance-03rv3xxr.js → persistent-pty-9mw7dhxy.js} +46 -46
  100. package/dist/chunks/{instance-dwa4y1he.js → persistent-pty-9nc01p2h.js} +13 -13
  101. package/dist/chunks/{instance-e5dqjz6v.js → persistent-pty-9p9xqj3m.js} +8 -8
  102. package/dist/chunks/{instance-qvg0xc96.js → persistent-pty-a4316p25.js} +24 -24
  103. package/dist/chunks/{instance-e526twks.js → persistent-pty-a4ab7jhs.js} +3 -3
  104. package/dist/chunks/{instance-3g836nb0.js → persistent-pty-a4extrcm.js} +11 -11
  105. package/dist/chunks/{instance-2e0h6wjp.js → persistent-pty-a9ya4442.js} +29 -29
  106. package/dist/chunks/{instance-cgwkqn27.js → persistent-pty-acqhz89c.js} +33 -33
  107. package/dist/chunks/{instance-py2y684m.js → persistent-pty-ak32zwvb.js} +11 -11
  108. package/dist/chunks/{instance-21eye7vx.js → persistent-pty-amwp0aeg.js} +42 -42
  109. package/dist/chunks/{instance-ybc5hkqb.js → persistent-pty-ap300940.js} +4 -4
  110. package/dist/chunks/{instance-zba5tm1j.js → persistent-pty-ar2j3j0f.js} +4 -4
  111. package/dist/chunks/{instance-w6cgdp5v.js → persistent-pty-avrfdzax.js} +15 -15
  112. package/dist/chunks/{instance-ayjs7tqn.js → persistent-pty-ayjs7tqn.js} +2 -2
  113. package/dist/chunks/{instance-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
  114. package/dist/chunks/{instance-5se3rbtp.js → persistent-pty-b0wr9pq4.js} +12 -12
  115. package/dist/chunks/{instance-dytf95nn.js → persistent-pty-b25rcpjn.js} +5 -5
  116. package/dist/chunks/{instance-635rwy07.js → persistent-pty-b3dt0wfc.js} +85 -85
  117. package/dist/chunks/{instance-2xjd1gex.js → persistent-pty-b430ghfg.js} +48 -48
  118. package/dist/chunks/{instance-b6vsg801.js → persistent-pty-b6vsg801.js} +2 -2
  119. package/dist/chunks/{instance-kkp7zrme.js → persistent-pty-br64vc86.js} +4 -4
  120. package/dist/chunks/{instance-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
  121. package/dist/chunks/{instance-8dqwvc3g.js → persistent-pty-c0ahb6m2.js} +49 -49
  122. package/dist/chunks/{instance-c3cfh5w6.js → persistent-pty-c3cfh5w6.js} +2 -2
  123. package/dist/chunks/{instance-aef5n06x.js → persistent-pty-c3z1dwp4.js} +32 -32
  124. package/dist/chunks/{instance-h2xt6wet.js → persistent-pty-c4970w7t.js} +6 -6
  125. package/dist/chunks/{instance-3tfzn32a.js → persistent-pty-c5mdmb7d.js} +7 -7
  126. package/dist/chunks/{instance-932en0hc.js → persistent-pty-c97kafxv.js} +12 -12
  127. package/dist/chunks/{instance-c9t2ty9q.js → persistent-pty-c9t2ty9q.js} +1 -1
  128. package/dist/chunks/{instance-0rvbv8dn.js → persistent-pty-cmtp12gq.js} +9 -9
  129. package/dist/chunks/{instance-m03db124.js → persistent-pty-cn8x8bav.js} +9 -9
  130. package/dist/chunks/{instance-8h479pk7.js → persistent-pty-csnq1vx8.js} +4 -4
  131. package/dist/chunks/{instance-d2dx6a7h.js → persistent-pty-d2dx6a7h.js} +1 -1
  132. package/dist/chunks/{instance-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
  133. package/dist/chunks/{instance-abbph779.js → persistent-pty-d622t3vc.js} +15 -15
  134. package/dist/chunks/persistent-pty-d77dj7jw.js +18 -0
  135. package/dist/chunks/{instance-d8qd4w10.js → persistent-pty-d8qd4w10.js} +3 -3
  136. package/dist/chunks/persistent-pty-ddefqdxn.js +257 -0
  137. package/dist/chunks/{instance-0ss1ygn7.js → persistent-pty-dh62xe4r.js} +3 -3
  138. package/dist/chunks/persistent-pty-dj18ndtz.js +26 -0
  139. package/dist/chunks/{instance-r6wgv8c9.js → persistent-pty-dkq45v8d.js} +2 -2
  140. package/dist/chunks/{instance-dhdpjt8g.js → persistent-pty-dpy78jr7.js} +21 -21
  141. package/dist/chunks/{instance-9622d4vt.js → persistent-pty-dpyjajp2.js} +21 -21
  142. package/dist/chunks/{instance-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
  143. package/dist/chunks/{instance-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{instance-057a905h.js → persistent-pty-ep8g8f2q.js} +18 -18
  145. package/dist/chunks/{instance-m8z5e2ce.js → persistent-pty-epts1v3z.js} +2 -2
  146. package/dist/chunks/{instance-w47qp9je.js → persistent-pty-epv93m9y.js} +13 -13
  147. package/dist/chunks/{instance-ebdpzygg.js → persistent-pty-etps9a87.js} +16 -16
  148. package/dist/chunks/{instance-vb1hb692.js → persistent-pty-evvj0048.js} +6 -6
  149. package/dist/chunks/{instance-4z5wzpcn.js → persistent-pty-f2m57aq3.js} +7 -7
  150. package/dist/chunks/{instance-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
  151. package/dist/chunks/{instance-x3t9xer4.js → persistent-pty-fvc4bqe2.js} +5 -5
  152. package/dist/chunks/{instance-wr3re1en.js → persistent-pty-fznmdakp.js} +4 -4
  153. package/dist/chunks/persistent-pty-fzppqy49.js +523 -0
  154. package/dist/chunks/{instance-66a4zrw5.js → persistent-pty-g45kmxae.js} +12 -12
  155. package/dist/chunks/{instance-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
  156. package/dist/chunks/{instance-h1krfj2j.js → persistent-pty-gbkbh0za.js} +30 -30
  157. package/dist/chunks/{instance-xh28yaa3.js → persistent-pty-gd1vvcjv.js} +9 -9
  158. package/dist/chunks/{instance-q45e6md9.js → persistent-pty-gsnt20he.js} +19 -19
  159. package/dist/chunks/{instance-p3bdjd75.js → persistent-pty-gtwwgaxd.js} +17 -17
  160. package/dist/chunks/{instance-9e6f5ka6.js → persistent-pty-h1fcnfrv.js} +14 -14
  161. package/dist/chunks/{instance-mkcmjcp5.js → persistent-pty-h4ja5x6t.js} +8 -8
  162. package/dist/chunks/{instance-s389g6rp.js → persistent-pty-h9gq6eq0.js} +2 -2
  163. package/dist/chunks/{instance-c4ktk0av.js → persistent-pty-hffck5p6.js} +27 -27
  164. package/dist/chunks/{instance-aj7g8w0t.js → persistent-pty-hqqyr421.js} +26 -26
  165. package/dist/chunks/{instance-bgdafpbn.js → persistent-pty-hsn14kaz.js} +50 -50
  166. package/dist/chunks/{instance-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
  167. package/dist/chunks/{instance-z52esc5y.js → persistent-pty-j4mbz3fw.js} +7 -7
  168. package/dist/chunks/{instance-bstch1wt.js → persistent-pty-j975cw6z.js} +4 -4
  169. package/dist/chunks/{instance-rhng211m.js → persistent-pty-jc99n3kj.js} +20 -19
  170. package/dist/chunks/{instance-wa9sj95e.js → persistent-pty-jcq455ft.js} +10 -10
  171. package/dist/chunks/{instance-3dfnask5.js → persistent-pty-jefvzq89.js} +11 -11
  172. package/dist/chunks/{instance-6285fq4d.js → persistent-pty-jfjbts63.js} +8 -8
  173. package/dist/chunks/{instance-b7jk63p6.js → persistent-pty-jmz0pryv.js} +15 -15
  174. package/dist/chunks/{instance-xt6gvx32.js → persistent-pty-jrqenxex.js} +11 -11
  175. package/dist/chunks/{instance-4w3nch3z.js → persistent-pty-k0c2abhw.js} +15 -15
  176. package/dist/chunks/{instance-gtghw66j.js → persistent-pty-k6e6yg7w.js} +42 -42
  177. package/dist/chunks/{instance-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
  178. package/dist/chunks/{instance-0p88zpcm.js → persistent-pty-kedzwwnr.js} +4 -4
  179. package/dist/chunks/{instance-jb5x7epa.js → persistent-pty-kgeqanye.js} +18 -18
  180. package/dist/chunks/{instance-ndz5nh7p.js → persistent-pty-kjzbhe9f.js} +23 -23
  181. package/dist/chunks/{instance-263kv34p.js → persistent-pty-knck272c.js} +25 -25
  182. package/dist/chunks/{instance-nqsqkrgf.js → persistent-pty-kqnnmbvx.js} +32 -32
  183. package/dist/chunks/{instance-qs8dqg3k.js → persistent-pty-kzatpa33.js} +28 -28
  184. package/dist/chunks/{instance-m1714858.js → persistent-pty-m1714858.js} +1 -1
  185. package/dist/chunks/{instance-vmfhgzt5.js → persistent-pty-m37sd98t.js} +4 -4
  186. package/dist/chunks/{instance-9kfxcdfw.js → persistent-pty-m3kqm4cm.js} +2 -2
  187. package/dist/chunks/{instance-wxxnmnk9.js → persistent-pty-m8qqb4k3.js} +38 -38
  188. package/dist/chunks/{instance-e6d4carx.js → persistent-pty-m9458166.js} +30 -30
  189. package/dist/chunks/{instance-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{instance-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
  191. package/dist/chunks/{instance-ngyanjke.js → persistent-pty-mb72d0pe.js} +5 -5
  192. package/dist/chunks/{instance-x2pp485p.js → persistent-pty-mcbaxyan.js} +9 -9
  193. package/dist/chunks/{instance-f8b6bmk9.js → persistent-pty-mgn9jeqr.js} +85 -85
  194. package/dist/chunks/{instance-dgyds9m6.js → persistent-pty-mgqesnpe.js} +8 -8
  195. package/dist/chunks/{instance-b3qt6n5e.js → persistent-pty-mqpc6sp9.js} +14 -14
  196. package/dist/chunks/{instance-cvg4qkkk.js → persistent-pty-mr4m2xt3.js} +18 -18
  197. package/dist/chunks/{instance-07pgb3x5.js → persistent-pty-msgnwe08.js} +4 -4
  198. package/dist/chunks/{instance-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
  199. package/dist/chunks/{instance-xg8ch27q.js → persistent-pty-n8km3ktm.js} +24 -24
  200. package/dist/chunks/{instance-29fq8x7w.js → persistent-pty-n8ys9nef.js} +25 -25
  201. package/dist/chunks/{instance-8w97pe4x.js → persistent-pty-n9qkr232.js} +9 -9
  202. package/dist/chunks/{instance-770pw0s1.js → persistent-pty-nah043kf.js} +4 -4
  203. package/dist/chunks/{instance-cyw0hgcw.js → persistent-pty-nbtna00v.js} +18 -18
  204. package/dist/chunks/{instance-fekxwpm0.js → persistent-pty-ncjgtf7q.js} +11 -11
  205. package/dist/chunks/{instance-r0wpwzbc.js → persistent-pty-nf6qtgmx.js} +15 -15
  206. package/dist/chunks/{instance-ee15qck3.js → persistent-pty-nvk1va1n.js} +28 -28
  207. package/dist/chunks/{instance-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
  208. package/dist/chunks/{instance-184a1rnm.js → persistent-pty-p0tsr9h6.js} +7 -7
  209. package/dist/chunks/{instance-j0sbyfgz.js → persistent-pty-p5fvs1tf.js} +27 -27
  210. package/dist/chunks/{instance-ndtgrced.js → persistent-pty-p8zvtb4f.js} +16 -16
  211. package/dist/chunks/{instance-r6xrhh99.js → persistent-pty-pb7j0m6g.js} +19 -19
  212. package/dist/chunks/{instance-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  213. package/dist/chunks/{instance-y3nk2kzt.js → persistent-pty-pnb0v8tr.js} +16 -16
  214. package/dist/chunks/{instance-e3xe61ee.js → persistent-pty-ptp6ncr1.js} +22 -22
  215. package/dist/chunks/{instance-q1mbbp6t.js → persistent-pty-q7hewr9v.js} +22 -22
  216. package/dist/chunks/{instance-qjgzc4b4.js → persistent-pty-qjgzc4b4.js} +1 -1
  217. package/dist/chunks/{instance-9kgv9zpv.js → persistent-pty-qkzpeykj.js} +20 -20
  218. package/dist/chunks/{instance-etaatxhn.js → persistent-pty-qq9errcn.js} +32 -32
  219. package/dist/chunks/{instance-9abypapv.js → persistent-pty-qqef8819.js} +36 -36
  220. package/dist/chunks/{instance-qdvsamhb.js → persistent-pty-qwe9t09h.js} +32 -32
  221. package/dist/chunks/{instance-9qtzb502.js → persistent-pty-qycnq4qn.js} +17 -17
  222. package/dist/chunks/{instance-062ja7nb.js → persistent-pty-qyt594kh.js} +24 -24
  223. package/dist/chunks/{instance-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
  224. package/dist/chunks/{instance-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
  225. package/dist/chunks/{instance-c9nxf8hy.js → persistent-pty-rf77k6n7.js} +21 -21
  226. package/dist/chunks/{instance-18g90bpv.js → persistent-pty-rmt6m6se.js} +5 -5
  227. package/dist/chunks/{instance-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
  228. package/dist/chunks/{instance-fv41sqmf.js → persistent-pty-rth52m3v.js} +11 -11
  229. package/dist/chunks/{instance-10kkr2v5.js → persistent-pty-s2dg58v9.js} +11 -11
  230. package/dist/chunks/{instance-a465j6ww.js → persistent-pty-s6p20e1k.js} +8 -8
  231. package/dist/chunks/{instance-5t0rc2x5.js → persistent-pty-s9ty2h8k.js} +11 -11
  232. package/dist/chunks/{instance-01trdk4e.js → persistent-pty-sd1t0gyg.js} +1 -1
  233. package/dist/chunks/{instance-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
  234. package/dist/chunks/{instance-w5t2v68b.js → persistent-pty-ssg99487.js} +35 -35
  235. package/dist/chunks/{instance-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{instance-enkpkfwx.js → persistent-pty-tg1vr1qt.js} +8 -8
  237. package/dist/chunks/{instance-4tqs0jzk.js → persistent-pty-tmd1r8tg.js} +4 -4
  238. package/dist/chunks/{instance-qfeyg0ce.js → persistent-pty-tndygt87.js} +9 -9
  239. package/dist/chunks/{instance-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
  240. package/dist/chunks/{instance-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
  241. package/dist/chunks/{instance-7772sstq.js → persistent-pty-v1smpbvx.js} +24 -24
  242. package/dist/chunks/{instance-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
  243. package/dist/chunks/{instance-93pnaaqa.js → persistent-pty-v568fy96.js} +42 -42
  244. package/dist/chunks/{instance-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
  245. package/dist/chunks/{instance-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  246. package/dist/chunks/{instance-mpjpcg5e.js → persistent-pty-vm0wcjea.js} +10 -10
  247. package/dist/chunks/{instance-mtrbqqrq.js → persistent-pty-vrpz8t5t.js} +5 -5
  248. package/dist/chunks/{instance-skmar0xn.js → persistent-pty-vt63w9ze.js} +17 -17
  249. package/dist/chunks/{instance-hfnmjrv2.js → persistent-pty-vxsjar9r.js} +7 -7
  250. package/dist/chunks/{instance-9150gt3p.js → persistent-pty-w2jp9fqe.js} +33 -33
  251. package/dist/chunks/{instance-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{instance-9nmmcy3f.js → persistent-pty-w7s37af3.js} +7 -7
  253. package/dist/chunks/{instance-yqveydy6.js → persistent-pty-w9w8mt4n.js} +4 -4
  254. package/dist/chunks/{instance-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{instance-5t7qnrbf.js → persistent-pty-wbrbrqnn.js} +3 -3
  256. package/dist/chunks/{instance-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  257. package/dist/chunks/{instance-e191mv4p.js → persistent-pty-wgxpxc97.js} +43 -43
  258. package/dist/chunks/{instance-96has99t.js → persistent-pty-wjfsv5vx.js} +178 -178
  259. package/dist/chunks/{instance-nc72wgnk.js → persistent-pty-wjj9j73p.js} +29 -29
  260. package/dist/chunks/{instance-agyjn1qf.js → persistent-pty-wqb48wsw.js} +45 -45
  261. package/dist/chunks/{instance-fme36196.js → persistent-pty-ws8qaw4q.js} +21 -21
  262. package/dist/chunks/{instance-jmjdpnd3.js → persistent-pty-ww71evjc.js} +20 -20
  263. package/dist/chunks/{instance-esgjes53.js → persistent-pty-xcarn5dh.js} +4 -4
  264. package/dist/chunks/{instance-p5jsan2v.js → persistent-pty-xcawzme1.js} +20 -20
  265. package/dist/chunks/{instance-tge5hkw0.js → persistent-pty-xmb6acqt.js} +8 -8
  266. package/dist/chunks/{instance-b5szyexk.js → persistent-pty-xqtsmx9f.js} +11 -11
  267. package/dist/chunks/{instance-jfm41t20.js → persistent-pty-xx92f0z9.js} +3 -3
  268. package/dist/chunks/{instance-z827xawd.js → persistent-pty-xz8jn1n5.js} +45 -45
  269. package/dist/chunks/{instance-8pw73atm.js → persistent-pty-xzhmj86d.js} +4 -4
  270. package/dist/chunks/{instance-xcmymtr1.js → persistent-pty-y4rx9zcm.js} +20 -20
  271. package/dist/chunks/{instance-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{instance-9yw7q74z.js → persistent-pty-ypqy3h3f.js} +13 -13
  273. package/dist/chunks/{instance-6xzp1e9z.js → persistent-pty-yte8j0g9.js} +14 -14
  274. package/dist/chunks/{instance-00v81f22.js → persistent-pty-yw5cr2kg.js} +25 -25
  275. package/dist/chunks/{instance-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{instance-26qqh6c2.js → persistent-pty-z18nf20h.js} +9 -9
  277. package/dist/chunks/{instance-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
  278. package/dist/chunks/{instance-xd2vqhy1.js → persistent-pty-z5dq5ktq.js} +28 -28
  279. package/dist/chunks/{instance-kt6jvn8v.js → persistent-pty-z5ya83ez.js} +15 -15
  280. package/dist/chunks/{instance-p2skkwsg.js → persistent-pty-z600r55a.js} +33 -33
  281. package/dist/chunks/{instance-4jwczs9z.js → persistent-pty-z6k1srac.js} +14 -14
  282. package/dist/chunks/{instance-sx4k8dnq.js → persistent-pty-zgfrp2wc.js} +18 -18
  283. package/dist/chunks/{instance-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{instance-8rhgew23.js → persistent-pty-zkvx2ye6.js} +20 -20
  285. package/dist/chunks/{instance-39x48ya0.js → persistent-pty-zntgk0c3.js} +16 -16
  286. package/dist/chunks/{instance-dsfs4g6t.js → persistent-pty-zx0t21mj.js} +13 -13
  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 +87 -87
  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 +212 -212
  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 +117 -117
  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 +3 -3
  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 +87 -87
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  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 +97 -97
  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 +227 -227
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +88 -88
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +105 -105
  432. package/dist/git.js +6 -6
  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 +360 -360
  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 +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/socket-client.js +1 -1
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +88 -88
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +82 -82
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +164 -164
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +214 -214
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +4 -4
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +139 -139
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +120 -120
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +132 -132
  651. package/dist/tool/plugin/webfetch.js +115 -115
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/types/job.d.ts +1 -4
  659. package/dist/types/permission.d.ts +0 -1
  660. package/dist/types/persistent-pty/daemon.d.ts +0 -6
  661. package/dist/types/session/diff.d.ts +0 -1
  662. package/dist/types/session/error.d.ts +6 -16
  663. package/dist/types/session/inbox.d.ts +1 -1
  664. package/dist/types/session/runner/model.d.ts +0 -1
  665. package/dist/types/session/schema.d.ts +6 -12
  666. package/dist/types/session/stats.d.ts +12 -11
  667. package/dist/types/session/store.d.ts +0 -6
  668. package/dist/types/session/transfer.d.ts +19 -25
  669. package/dist/types/session.d.ts +0 -6
  670. package/dist/types/tool/plugin/opencode.d.ts +0 -2
  671. package/dist/types/tool/plugin/subagent.d.ts +0 -2
  672. package/dist/util/error-summary.js +1 -1
  673. package/dist/util/git-executable.js +2 -2
  674. package/dist/util/lazy.js +1 -1
  675. package/dist/util/slug.js +1 -1
  676. package/dist/util/token.js +1 -1
  677. package/dist/util/which.js +1 -1
  678. package/dist/util/wildcard.js +1 -1
  679. package/dist/v1/config/agent.js +3 -3
  680. package/dist/v1/config/command.js +5 -5
  681. package/dist/v1/config/mcp.js +4 -4
  682. package/dist/v1/config/migrate.js +94 -94
  683. package/dist/v1/config/permission.js +1 -1
  684. package/dist/v1/config/plugin.js +3 -3
  685. package/dist/v1/config/provider-options.js +1 -1
  686. package/dist/v1/config/provider.js +4 -4
  687. package/dist/variant.js +95 -95
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +91 -91
  690. package/dist/voice.js +88 -88
  691. package/dist/websearch.js +84 -84
  692. package/dist/wellknown/plugin.js +78 -78
  693. package/dist/wellknown.js +83 -83
  694. package/dist/workspace/driver.js +7 -7
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +84 -84
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +10 -10
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +91 -91
  701. package/dist/worktree.js +102 -102
  702. package/package.json +8 -8
  703. package/dist/chunks/instance-6zjm2phc.js +0 -18
  704. package/dist/chunks/instance-j2jyevz2.js +0 -257
  705. package/dist/chunks/instance-mnx6182w.js +0 -523
  706. package/dist/chunks/instance-qxc5czc4.js +0 -26
  707. /package/dist/chunks/{instance-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{instance-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{instance-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{instance-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{instance-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{instance-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{instance-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  714. /package/dist/chunks/{instance-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{instance-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{instance-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  717. /package/dist/chunks/{instance-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{instance-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{instance-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{instance-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{instance-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{instance-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{instance-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  724. /package/dist/chunks/{instance-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{instance-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
  726. /package/dist/chunks/{instance-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{instance-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  728. /package/dist/chunks/{instance-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  729. /package/dist/chunks/{instance-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{instance-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{instance-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  732. /package/dist/chunks/{instance-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  733. /package/dist/chunks/{instance-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{instance-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{instance-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  736. /package/dist/chunks/{instance-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{instance-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{instance-a058387c.js → persistent-pty-a058387c.js} +0 -0
  739. /package/dist/chunks/{instance-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{instance-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{instance-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{instance-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{instance-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{instance-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{instance-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{instance-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{instance-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{instance-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{instance-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{instance-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{instance-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{instance-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  753. /package/dist/chunks/{instance-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{instance-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{instance-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{instance-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{instance-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{instance-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{instance-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{instance-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{instance-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{instance-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{instance-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{instance-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  765. /package/dist/chunks/{instance-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{instance-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  767. /package/dist/chunks/{instance-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  768. /package/dist/chunks/{instance-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  769. /package/dist/chunks/{instance-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{instance-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{instance-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{instance-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{instance-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{instance-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  775. /package/dist/chunks/{instance-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{instance-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  777. /package/dist/chunks/{instance-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{instance-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{instance-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{instance-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{instance-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{instance-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  783. /package/dist/chunks/{instance-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{instance-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{instance-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{instance-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{instance-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{instance-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{instance-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{instance-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{instance-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{instance-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{instance-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  794. /package/dist/chunks/{instance-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{instance-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{instance-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{instance-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
  798. /package/dist/chunks/{instance-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  799. /package/dist/chunks/{instance-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  800. /package/dist/chunks/{instance-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  801. /package/dist/chunks/{instance-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  802. /package/dist/chunks/{instance-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{instance-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{instance-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{instance-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  806. /package/dist/chunks/{instance-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./instance-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service48
7
- } from "./instance-21eye7vx.js";
6
+ Service63
7
+ } from "./persistent-pty-amwp0aeg.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./instance-zkg84ctx.js";
10
+ } from "./persistent-pty-zkg84ctx.js";
11
11
  import {
12
- Service40
13
- } from "./instance-mf1ymtqj.js";
12
+ Service65
13
+ } from "./persistent-pty-14x9rdgq.js";
14
14
  import {
15
- Service46
16
- } from "./instance-ndtgrced.js";
15
+ Service55
16
+ } from "./persistent-pty-p8zvtb4f.js";
17
17
  import {
18
- Service68
19
- } from "./instance-03rv3xxr.js";
18
+ Service76
19
+ } from "./persistent-pty-9mw7dhxy.js";
20
20
  import {
21
- Service33,
21
+ Service17,
22
22
  resolvePath2
23
- } from "./instance-mdvh07w7.js";
23
+ } from "./persistent-pty-04qzb6ng.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./instance-k814nvkf.js";
29
+ } from "./persistent-pty-k814nvkf.js";
30
30
  import {
31
- Service65,
31
+ Service70,
32
32
  name16
33
- } from "./instance-kt6jvn8v.js";
33
+ } from "./persistent-pty-z5ya83ez.js";
34
34
  import {
35
- NotFoundError3,
36
- Service27
37
- } from "./instance-yyk2zdd2.js";
35
+ NotFoundError6,
36
+ Service60
37
+ } from "./persistent-pty-2dwppexq.js";
38
38
  import {
39
- Service13
40
- } from "./instance-f8b6bmk9.js";
39
+ Service25
40
+ } from "./persistent-pty-mgn9jeqr.js";
41
41
  import {
42
- scan2
43
- } from "./instance-9nmmcy3f.js";
42
+ scan3
43
+ } from "./persistent-pty-w7s37af3.js";
44
44
  import {
45
45
  __export
46
- } from "./instance-9rqn6x4v.js";
46
+ } from "./persistent-pty-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input2,
53
- Plugin: () => Plugin2,
54
- ShellTool: () => exports_shell,
55
- name: () => name2
52
+ Input: () => Input13,
53
+ Plugin: () => Plugin50,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name13
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name2 = "shell";
60
+ var name13 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input2 = Schema.Struct({
74
+ var Input13 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin2 = {
120
+ var Plugin50 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service13;
124
- const jobs = yield* Service46;
123
+ const sessions = yield* Service25;
124
+ const jobs = yield* Service55;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service40;
127
- const access = yield* Service33;
128
- const shell = yield* Service27;
129
- const shellSelect = yield* Service65;
126
+ const environment = yield* Service65;
127
+ const access = yield* Service17;
128
+ const shell = yield* Service60;
129
+ const shellSelect = yield* Service70;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service68;
132
- const config = yield* Service48;
131
+ const permission = yield* Service76;
132
+ const config = yield* Service63;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin2 = {
140
140
  invocation.cwd = target.absolute;
141
141
  const timeout = invocation.timeout;
142
142
  const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
143
- const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
143
+ const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
144
144
  const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
145
145
  path: resolvePath2(target.absolute, directory),
146
146
  kind: "directory"
@@ -148,7 +148,7 @@ var Plugin2 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name2,
151
+ action: name13,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin2 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name2,
188
+ name: name13,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input2,
191
+ input: Input13,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin2 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError3({ id: info.id });
214
+ return yield* new NotFoundError6({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name2,
228
+ type: name13,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name2];
258
+ const tool = event.tools[name13];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin2, exports_shell };
269
+ export { name13, DEFAULT_TIMEOUT_MS2, Input13, Plugin50, exports_shell2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./instance-gftt206x.js";
3
+ } from "./persistent-pty-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./instance-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service40
3
- } from "./instance-mf1ymtqj.js";
2
+ Service65
3
+ } from "./persistent-pty-14x9rdgq.js";
4
4
  import {
5
5
  __export
6
- } from "./instance-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service40;
24
+ const environment = yield* Service65;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instance-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./instance-qjgzc4b4.js";
3
+ } from "./persistent-pty-qjgzc4b4.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./instance-5mjn8n6s.js";
7
+ } from "./persistent-pty-4ccqqpnm.js";
8
8
  import {
9
- Event17,
10
- Service78,
11
- node82
12
- } from "./instance-h1krfj2j.js";
9
+ Event16,
10
+ Service73,
11
+ node77
12
+ } from "./persistent-pty-gbkbh0za.js";
13
13
  import {
14
14
  Service82,
15
15
  node86
16
- } from "./instance-m8z5e2ce.js";
16
+ } from "./persistent-pty-epts1v3z.js";
17
17
  import {
18
- Service40,
19
- node43
20
- } from "./instance-mf1ymtqj.js";
18
+ Service65,
19
+ node68
20
+ } from "./persistent-pty-14x9rdgq.js";
21
21
  import {
22
- ID16,
23
- Service79,
24
- node83
25
- } from "./instance-aj7g8w0t.js";
22
+ ID11,
23
+ Service72,
24
+ node76
25
+ } from "./persistent-pty-hqqyr421.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./instance-vd3b3yk9.js";
29
+ } from "./persistent-pty-vd3b3yk9.js";
30
30
  import {
31
- ID14,
31
+ ID10,
32
32
  MethodID2,
33
- Service77,
34
- node81
35
- } from "./instance-e6d4carx.js";
33
+ Service71,
34
+ node75
35
+ } from "./persistent-pty-m9458166.js";
36
36
  import {
37
37
  __export
38
- } from "./instance-9rqn6x4v.js";
38
+ } from "./persistent-pty-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service25,
52
+ Service: () => Service37,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
56
- layer: () => layer13,
57
- node: () => node29
55
+ configured: () => configured3,
56
+ layer: () => layer16,
57
+ node: () => node40
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
104
104
  var endpointLoads = makeUnsafe2();
105
105
  var cloneConfig = (config) => structuredClone(config);
106
106
 
107
- class Service25 extends Context.Service()("@opencode/MCP") {
107
+ class Service37 extends Context.Service()("@opencode/MCP") {
108
108
  }
109
- var Options2 = Schema.Struct({
109
+ var Options3 = Schema.Struct({
110
110
  clientInfo: Schema.optional(Schema.Struct({
111
111
  name: Schema.String,
112
112
  version: Schema.String
113
113
  }))
114
114
  });
115
- var layer13 = (options) => Layer.effect(Service25, Effect.gen(function* () {
115
+ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
116
116
  const location = yield* Service82;
117
- const environment = yield* Service40;
117
+ const environment = yield* Service65;
118
118
  const bus = yield* Service85;
119
- const forms = yield* Service79;
120
- const integration = yield* Service77;
121
- const credentials = yield* Service78;
119
+ const forms = yield* Service72;
120
+ const integration = yield* Service71;
121
+ const credentials = yield* Service73;
122
122
  const root = yield* Effect.scope;
123
123
  const fork = yield* FiberSet.makeRuntime();
124
124
  const entries = new Map;
@@ -132,7 +132,7 @@ var layer13 = (options) => Layer.effect(Service25, Effect.gen(function* () {
132
132
  return;
133
133
  const remote = entry.config;
134
134
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
135
- const integrationID = ID14.make(suffix);
135
+ const integrationID = ID10.make(suffix);
136
136
  entry.integrationID = integrationID;
137
137
  owned.add(integrationID);
138
138
  const methodID = MethodID2.make(suffix);
@@ -148,7 +148,7 @@ var layer13 = (options) => Layer.effect(Service25, Effect.gen(function* () {
148
148
  method: { id: methodID, type: "oauth", label: name },
149
149
  authorize: () => Effect.gen(function* () {
150
150
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
151
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
151
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
152
152
  })
153
153
  });
154
154
  }).pipe(Scope.provide(scope));
@@ -156,19 +156,19 @@ var layer13 = (options) => Layer.effect(Service25, Effect.gen(function* () {
156
156
  const requireServer = Effect.fnUntraced(function* (name) {
157
157
  const entry = entries.get(name);
158
158
  if (!entry)
159
- return yield* new NotFoundError2({ server: name });
159
+ return yield* new NotFoundError3({ server: name });
160
160
  return { name, entry };
161
161
  });
162
162
  const connectProvider = Effect.fnUntraced(function* (entry) {
163
163
  if (entry.config.type !== "remote" || !entry.integrationID)
164
164
  return;
165
165
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
166
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
166
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
167
167
  });
168
168
  const elicitation = {
169
169
  create: (input) => Effect.gen(function* () {
170
170
  if (input.params.mode === "url") {
171
- const formID = ID16.create();
171
+ const formID = ID11.create();
172
172
  const elicitationID = input.params.elicitationId;
173
173
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
174
174
  if (key)
@@ -271,7 +271,7 @@ var layer13 = (options) => Layer.effect(Service25, Effect.gen(function* () {
271
271
  entry.scope = scope;
272
272
  const authProvider = yield* connectProvider(entry);
273
273
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
274
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service40, environment), Scope.provide(scope));
274
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope));
275
275
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
276
276
  if (Exit.isSuccess(result)) {
277
277
  entry.client = result.value.connection;
@@ -372,7 +372,7 @@ var layer13 = (options) => Layer.effect(Service25, Effect.gen(function* () {
372
372
  let closed = false;
373
373
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
374
374
  closed = true;
375
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service40, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
375
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
376
376
  const register = Effect.gen(function* () {
377
377
  if (closed) {
378
378
  yield* Scope.close(scope, Exit.void);
@@ -447,7 +447,7 @@ var layer13 = (options) => Layer.effect(Service25, Effect.gen(function* () {
447
447
  yield* startServer(name, entry);
448
448
  }).pipe(locks.withLock(name));
449
449
  });
450
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
450
+ fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
451
451
  const state = create3({
452
452
  name: "mcp",
453
453
  initial: () => ({
@@ -473,7 +473,7 @@ var layer13 = (options) => Layer.effect(Service25, Effect.gen(function* () {
473
473
  }),
474
474
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
475
475
  });
476
- return Service25.of({
476
+ return Service37.of({
477
477
  transform: state.transform,
478
478
  reload: state.reload,
479
479
  servers: Effect.fn("MCP.servers")(function* () {
@@ -601,14 +601,14 @@ function mergeCatalogs(catalogs) {
601
601
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
602
602
  });
603
603
  }
604
- function configured2(options) {
604
+ function configured3(options) {
605
605
  return makeLocationNode({
606
- service: Service25,
607
- layer: layer13(options),
608
- deps: [node86, node43, node89, node83, node81, node82]
606
+ service: Service37,
607
+ layer: layer16(options),
608
+ deps: [node86, node68, node89, node76, node75, node77]
609
609
  });
610
610
  }
611
- var node29 = configured2();
611
+ var node40 = configured3();
612
612
  function toElicitationField(key, property, required) {
613
613
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
614
614
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -659,4 +659,4 @@ function toElicitationField(key, property, required) {
659
659
  }
660
660
  }
661
661
 
662
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service25, Options2, layer13, configured2, node29, exports_mcp4 };
662
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service37, Options3, layer16, configured3, node40, exports_mcp4 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instance-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./instance-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service40
3
- } from "./instance-mf1ymtqj.js";
2
+ Service65
3
+ } from "./persistent-pty-14x9rdgq.js";
4
4
  import {
5
- Service34,
5
+ Service19,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./instance-dwa4y1he.js";
8
+ } from "./persistent-pty-9nc01p2h.js";
9
9
  import {
10
- Service55
11
- } from "./instance-3g836nb0.js";
10
+ Service13
11
+ } from "./persistent-pty-a4extrcm.js";
12
12
  import {
13
- Service68
14
- } from "./instance-03rv3xxr.js";
13
+ Service76
14
+ } from "./persistent-pty-9mw7dhxy.js";
15
15
  import {
16
- Service33
17
- } from "./instance-mdvh07w7.js";
16
+ Service17
17
+ } from "./persistent-pty-04qzb6ng.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./instance-6prwharc.js";
20
+ } from "./persistent-pty-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./instance-9rqn6x4v.js";
23
+ } from "./persistent-pty-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input13,
29
- Output: () => Output9,
30
- Plugin: () => Plugin14,
28
+ Input: () => Input11,
29
+ Output: () => Output8,
30
+ Plugin: () => Plugin48,
31
31
  WriteTool: () => exports_write,
32
- name: () => name13,
33
- toModelContent: () => toModelContent6
32
+ name: () => name11,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name13 = "write";
39
- var Input13 = Schema.Struct({
38
+ var name11 = "write";
39
+ var Input11 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output9 = Schema.Struct({
45
+ var Output8 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin14 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin48 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service33;
56
- const fileMutation = yield* Service34;
57
- const environment = yield* Service40;
58
- const formatter = yield* Service55;
59
- const permission = yield* Service68;
55
+ const access = yield* Service17;
56
+ const fileMutation = yield* Service19;
57
+ const environment = yield* Service65;
58
+ const formatter = yield* Service13;
59
+ const permission = yield* Service76;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name13,
61
+ name: name11,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input13,
69
- output: Output9,
68
+ input: Input11,
69
+ output: Output8,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name13, Input13, Output9, toModelContent6, Plugin14, exports_write };
101
+ export { name11, Input11, Output8, toModelContent5, Plugin48, exports_write };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./instance-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service47,
10
- node: () => node50
9
+ Service: () => Service51,
10
+ node: () => node53
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service47 extends Context.Service()("@opencode/Instance") {
16
+ class Service51 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node50 = LayerNode.unbound(Service47, Node.tags.values.global);
18
+ var node53 = LayerNode.unbound(Service51, Node.tags.values.global);
19
19
 
20
- export { Service47, node50, exports_service2 };
20
+ export { Service51, node53, exports_service2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service85
3
- } from "./instance-5mjn8n6s.js";
3
+ } from "./persistent-pty-4ccqqpnm.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./instance-2e0h6wjp.js";
6
+ } from "./persistent-pty-a9ya4442.js";
7
7
  import {
8
- Service74,
9
- Event13
10
- } from "./instance-wxxnmnk9.js";
8
+ Service18,
9
+ Event3
10
+ } from "./persistent-pty-m8qqb4k3.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service74;
41
+ const modelsDev = yield* Service18;
42
42
  const bus = yield* Service85;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);