@opencode/core 0.0.0-dev-21744 → 0.0.0-dev-21745

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  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 +75 -75
  7. package/dist/chunks/{persistent-pty-m56xcexf.js → snapshot-01ve1yxr.js} +23 -23
  8. package/dist/chunks/{persistent-pty-034tev2y.js → snapshot-034tev2y.js} +2 -2
  9. package/dist/chunks/{persistent-pty-7rdhxjgc.js → snapshot-06efqm8m.js} +9 -9
  10. package/dist/chunks/{persistent-pty-f4cj6rne.js → snapshot-07c3528d.js} +35 -35
  11. package/dist/chunks/{persistent-pty-phrpk49a.js → snapshot-0k1j1wdr.js} +11 -11
  12. package/dist/chunks/{persistent-pty-6fet8kw9.js → snapshot-0kjrd2qd.js} +22 -22
  13. package/dist/chunks/{persistent-pty-zkgq49d1.js → snapshot-0p88zpcm.js} +4 -4
  14. package/dist/chunks/{persistent-pty-dm97zhd4.js → snapshot-0pchwhq8.js} +10 -10
  15. package/dist/chunks/{persistent-pty-jvgjeprd.js → snapshot-0v17xkyr.js} +8 -8
  16. package/dist/chunks/{persistent-pty-0rm6s08x.js → snapshot-0vn2ss9c.js} +2 -2
  17. package/dist/chunks/{persistent-pty-5pav4dzc.js → snapshot-146q7e0b.js} +12 -12
  18. package/dist/chunks/{persistent-pty-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{persistent-pty-wkmdz1mb.js → snapshot-1g4xnxab.js} +6 -6
  20. package/dist/chunks/{persistent-pty-81cr296g.js → snapshot-1nhpz7zk.js} +4 -4
  21. package/dist/chunks/{persistent-pty-d068nwqk.js → snapshot-1nqgcrc1.js} +45 -45
  22. package/dist/chunks/{persistent-pty-faewc6h3.js → snapshot-1vdntpm3.js} +5 -5
  23. package/dist/chunks/{persistent-pty-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{persistent-pty-1sxr849h.js → snapshot-22whgeeb.js} +18 -18
  25. package/dist/chunks/{persistent-pty-b5wrmqhk.js → snapshot-2njjtkdw.js} +15 -15
  26. package/dist/chunks/{persistent-pty-2z1j29yd.js → snapshot-2z1j29yd.js} +1 -1
  27. package/dist/chunks/{persistent-pty-gshxnf6j.js → snapshot-30ee3db1.js} +2 -2
  28. package/dist/chunks/{persistent-pty-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{persistent-pty-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
  30. package/dist/chunks/{persistent-pty-rmqe3ewt.js → snapshot-3qwxnent.js} +15 -15
  31. package/dist/chunks/{persistent-pty-ywtfgq8q.js → snapshot-3y5jkgnv.js} +11 -11
  32. package/dist/chunks/{persistent-pty-z1k5tgn5.js → snapshot-41peksc2.js} +11 -11
  33. package/dist/chunks/{persistent-pty-8ccrat7s.js → snapshot-49waears.js} +33 -33
  34. package/dist/chunks/snapshot-4a4jqpwz.js +257 -0
  35. package/dist/chunks/{persistent-pty-41sj8m6y.js → snapshot-4kk5y41y.js} +38 -38
  36. package/dist/chunks/{persistent-pty-4r8h05df.js → snapshot-4t0h3ecc.js} +3 -3
  37. package/dist/chunks/{persistent-pty-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
  38. package/dist/chunks/{persistent-pty-bxhrky7s.js → snapshot-4v48c47j.js} +10 -10
  39. package/dist/chunks/{persistent-pty-4xvmh7wp.js → snapshot-4xvmh7wp.js} +3 -3
  40. package/dist/chunks/{persistent-pty-28xx6mqq.js → snapshot-4xz63ymp.js} +36 -36
  41. package/dist/chunks/{persistent-pty-jn8j44c7.js → snapshot-58rbgd2h.js} +22 -22
  42. package/dist/chunks/{persistent-pty-gt2ebmdc.js → snapshot-59t3c98x.js} +4 -4
  43. package/dist/chunks/{persistent-pty-y0fkhhn3.js → snapshot-5bn25yvx.js} +9 -9
  44. package/dist/chunks/{persistent-pty-pc1v25hk.js → snapshot-5crety7g.js} +3 -3
  45. package/dist/chunks/{persistent-pty-rxtgqbtn.js → snapshot-5js31cy8.js} +7 -7
  46. package/dist/chunks/{persistent-pty-zcz73n1t.js → snapshot-5kbev7nh.js} +6 -6
  47. package/dist/chunks/{persistent-pty-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{persistent-pty-5nnwax6m.js → snapshot-5nnwax6m.js} +2 -2
  49. package/dist/chunks/{persistent-pty-e3qxr5gk.js → snapshot-5qd3pb7m.js} +2 -2
  50. package/dist/chunks/{persistent-pty-xtd8sqng.js → snapshot-5tnc4nbn.js} +21 -21
  51. package/dist/chunks/{persistent-pty-06ye6eb3.js → snapshot-5x10bg3a.js} +22 -22
  52. package/dist/chunks/{persistent-pty-1yq9hg58.js → snapshot-5zrxpy3q.js} +5 -5
  53. package/dist/chunks/{persistent-pty-st7enesy.js → snapshot-62w55z8x.js} +8 -8
  54. package/dist/chunks/{persistent-pty-zfyhjv3h.js → snapshot-67pdg5mz.js} +14 -14
  55. package/dist/chunks/{persistent-pty-2w4r60qq.js → snapshot-6e1r9k58.js} +13 -13
  56. package/dist/chunks/{persistent-pty-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{persistent-pty-h8nswts1.js → snapshot-6g24mm1y.js} +6 -6
  58. package/dist/chunks/{persistent-pty-1s0mnecd.js → snapshot-6hzzfs8d.js} +30 -30
  59. package/dist/chunks/{persistent-pty-0napkvzb.js → snapshot-6n1s1dfa.js} +7 -7
  60. package/dist/chunks/{persistent-pty-6pjqjmy2.js → snapshot-6pjqjmy2.js} +1 -1
  61. package/dist/chunks/{persistent-pty-fszm4xf1.js → snapshot-6tjk5bs4.js} +15 -15
  62. package/dist/chunks/{persistent-pty-mp8k340y.js → snapshot-6vh6abp7.js} +2 -2
  63. package/dist/chunks/{persistent-pty-5t3az672.js → snapshot-6zxm3gf7.js} +9 -9
  64. package/dist/chunks/{persistent-pty-b3yw44ee.js → snapshot-75dns9y2.js} +16 -16
  65. package/dist/chunks/{persistent-pty-y1kds4da.js → snapshot-7633k18y.js} +3 -3
  66. package/dist/chunks/{persistent-pty-76cb1hcw.js → snapshot-76cb1hcw.js} +1 -1
  67. package/dist/chunks/{persistent-pty-5gk89hyb.js → snapshot-791mgs72.js} +12 -12
  68. package/dist/chunks/{persistent-pty-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{persistent-pty-dx717f1h.js → snapshot-7m8hecea.js} +18 -18
  70. package/dist/chunks/{persistent-pty-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
  71. package/dist/chunks/{persistent-pty-ef2tezb6.js → snapshot-7yect7x1.js} +2 -2
  72. package/dist/chunks/{persistent-pty-y19asze6.js → snapshot-80pwfyqn.js} +16 -16
  73. package/dist/chunks/{persistent-pty-pcd58cha.js → snapshot-81sa6vvk.js} +17 -17
  74. package/dist/chunks/{persistent-pty-7y4z3x5j.js → snapshot-8f85gbek.js} +13 -13
  75. package/dist/chunks/{persistent-pty-86e8kg08.js → snapshot-8ny5g7zq.js} +19 -19
  76. package/dist/chunks/{persistent-pty-t98ck3nv.js → snapshot-8vvxxr3d.js} +26 -26
  77. package/dist/chunks/{persistent-pty-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
  78. package/dist/chunks/{persistent-pty-qcbcpq9b.js → snapshot-8xa1336w.js} +68 -68
  79. package/dist/chunks/{persistent-pty-2sja5ejk.js → snapshot-8xmxx3r8.js} +24 -24
  80. package/dist/chunks/{persistent-pty-91rj84md.js → snapshot-91rj84md.js} +1 -1
  81. package/dist/chunks/{persistent-pty-xw8eq9f1.js → snapshot-96te9d4b.js} +5 -5
  82. package/dist/chunks/{persistent-pty-998yhzzq.js → snapshot-998yhzzq.js} +3 -3
  83. package/dist/chunks/{persistent-pty-mvb2bgyw.js → snapshot-99e1pwyw.js} +56 -56
  84. package/dist/chunks/{persistent-pty-7a6h672n.js → snapshot-9bqzx224.js} +28 -28
  85. package/dist/chunks/{persistent-pty-xgw47nx1.js → snapshot-9ekt8wk3.js} +1 -1
  86. package/dist/chunks/{persistent-pty-kb4gstwj.js → snapshot-9g4cv0f3.js} +5 -5
  87. package/dist/chunks/{persistent-pty-g1448m63.js → snapshot-9jfbssnq.js} +13 -13
  88. package/dist/chunks/{persistent-pty-g3z36636.js → snapshot-9pjcyyyz.js} +42 -42
  89. package/dist/chunks/{persistent-pty-95e9m93s.js → snapshot-9xvj91tm.js} +32 -32
  90. package/dist/chunks/{persistent-pty-xyv3ye4h.js → snapshot-9ydy8fkm.js} +10 -10
  91. package/dist/chunks/{persistent-pty-bt0t07qj.js → snapshot-a5qg0yvf.js} +11 -11
  92. package/dist/chunks/snapshot-a610t88q.js +18 -0
  93. package/dist/chunks/{persistent-pty-jt1mpbrn.js → snapshot-a8azxzn2.js} +29 -29
  94. package/dist/chunks/{persistent-pty-qqg9c0kv.js → snapshot-an558sqv.js} +4 -4
  95. package/dist/chunks/{persistent-pty-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
  96. package/dist/chunks/{persistent-pty-b0mv4wxm.js → snapshot-b0mv4wxm.js} +2 -2
  97. package/dist/chunks/{persistent-pty-p6xa5pr1.js → snapshot-b5g8zywb.js} +3 -3
  98. package/dist/chunks/{persistent-pty-34sg93nd.js → snapshot-bcey06z6.js} +33 -33
  99. package/dist/chunks/{persistent-pty-bjhzkqyk.js → snapshot-bjhzkqyk.js} +1 -1
  100. package/dist/chunks/{persistent-pty-22nay2w2.js → snapshot-bjk9yhz6.js} +21 -21
  101. package/dist/chunks/{persistent-pty-797shz3x.js → snapshot-bkh5f3ma.js} +4 -4
  102. package/dist/chunks/{persistent-pty-tm64snjr.js → snapshot-brpe5pm9.js} +1 -1
  103. package/dist/chunks/{persistent-pty-bstexjd6.js → snapshot-bstexjd6.js} +1 -1
  104. package/dist/chunks/{persistent-pty-vvh376nc.js → snapshot-bzhcfbtm.js} +33 -33
  105. package/dist/chunks/{persistent-pty-fk3tbwms.js → snapshot-c0jtyzjh.js} +20 -20
  106. package/dist/chunks/{persistent-pty-ft0wh87x.js → snapshot-c1ny7psb.js} +13 -13
  107. package/dist/chunks/{persistent-pty-c3cfh5w6.js → snapshot-c3cfh5w6.js} +2 -2
  108. package/dist/chunks/{persistent-pty-77wcnkh0.js → snapshot-c547q8a8.js} +3 -3
  109. package/dist/chunks/{persistent-pty-tdc7za5y.js → snapshot-c63yzxyg.js} +11 -11
  110. package/dist/chunks/{persistent-pty-n3ktk7aw.js → snapshot-c76bvptd.js} +13 -13
  111. package/dist/chunks/{persistent-pty-1x1aw5pg.js → snapshot-cbdaszja.js} +23 -23
  112. package/dist/chunks/snapshot-cyy23x7w.js +517 -0
  113. package/dist/chunks/{persistent-pty-ejef0twz.js → snapshot-d2121cgz.js} +12 -12
  114. package/dist/chunks/{persistent-pty-ssfehs1z.js → snapshot-d2887f8n.js} +4 -4
  115. package/dist/chunks/{persistent-pty-5fmnhnpa.js → snapshot-d4txh1kp.js} +32 -32
  116. package/dist/chunks/{persistent-pty-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
  117. package/dist/chunks/{persistent-pty-5jdy5dqf.js → snapshot-d69d80k0.js} +11 -11
  118. package/dist/chunks/{persistent-pty-ywqrvznk.js → snapshot-dak4ewys.js} +35 -35
  119. package/dist/chunks/{persistent-pty-edkmkvd1.js → snapshot-damdxvc5.js} +30 -30
  120. package/dist/chunks/{persistent-pty-g9ndtp1p.js → snapshot-dds9zz6p.js} +4 -4
  121. package/dist/chunks/{persistent-pty-67efwznc.js → snapshot-dhn570bz.js} +2 -2
  122. package/dist/chunks/{persistent-pty-0421tmwc.js → snapshot-dz8hhvgv.js} +9 -9
  123. package/dist/chunks/{persistent-pty-jneg3k74.js → snapshot-e5dqjz6v.js} +4 -4
  124. package/dist/chunks/{persistent-pty-e834z07m.js → snapshot-e834z07m.js} +1 -1
  125. package/dist/chunks/{persistent-pty-9r7t50b7.js → snapshot-ed24c9s1.js} +28 -28
  126. package/dist/chunks/{persistent-pty-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{persistent-pty-q5fas5yh.js → snapshot-epqefa0z.js} +5 -5
  128. package/dist/chunks/{persistent-pty-z8wtpd65.js → snapshot-erw1a2px.js} +14 -14
  129. package/dist/chunks/{persistent-pty-td5g3jt1.js → snapshot-ew333j68.js} +33 -33
  130. package/dist/chunks/{persistent-pty-b3xh8pxk.js → snapshot-f3zns29m.js} +17 -17
  131. package/dist/chunks/{persistent-pty-b07vwb4h.js → snapshot-f4p1w2yj.js} +14 -14
  132. package/dist/chunks/{persistent-pty-cp9n3ykm.js → snapshot-f5pnm9ht.js} +5 -5
  133. package/dist/chunks/{persistent-pty-7n4p8fby.js → snapshot-fagjz3hv.js} +9 -9
  134. package/dist/chunks/{persistent-pty-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
  135. package/dist/chunks/{persistent-pty-ehs73kjs.js → snapshot-fjdpkb6n.js} +17 -17
  136. package/dist/chunks/{persistent-pty-jpk6pjf6.js → snapshot-fk87wxfh.js} +20 -20
  137. package/dist/chunks/{persistent-pty-pgvk0yt9.js → snapshot-fkdm3x4n.js} +15 -15
  138. package/dist/chunks/{persistent-pty-c4phwmq5.js → snapshot-fp2kss3x.js} +6 -6
  139. package/dist/chunks/{persistent-pty-h65t1svj.js → snapshot-frncqm0b.js} +24 -24
  140. package/dist/chunks/{persistent-pty-q5dphz2y.js → snapshot-ftzbw7kw.js} +9 -9
  141. package/dist/chunks/{persistent-pty-w687dnns.js → snapshot-fznmdakp.js} +4 -4
  142. package/dist/chunks/{persistent-pty-g5h9c0rr.js → snapshot-g5h9c0rr.js} +2 -2
  143. package/dist/chunks/{persistent-pty-v4aer5v9.js → snapshot-gkwb1x3r.js} +32 -32
  144. package/dist/chunks/{persistent-pty-nck0by46.js → snapshot-gs87y69e.js} +25 -25
  145. package/dist/chunks/{persistent-pty-z7nbqrf3.js → snapshot-gxj7r0cm.js} +4 -4
  146. package/dist/chunks/{persistent-pty-a4se2td7.js → snapshot-gxket47c.js} +18 -18
  147. package/dist/chunks/{persistent-pty-s4q2zy2p.js → snapshot-gxrd13cp.js} +148 -148
  148. package/dist/chunks/{persistent-pty-w8k0m0ac.js → snapshot-h740tfnc.js} +8 -8
  149. package/dist/chunks/{persistent-pty-37ebxhrk.js → snapshot-henamrq6.js} +27 -27
  150. package/dist/chunks/{persistent-pty-gt6rtydt.js → snapshot-hp1h3ap0.js} +11 -11
  151. package/dist/chunks/{persistent-pty-5pdz8c62.js → snapshot-hvbtf1fc.js} +3 -3
  152. package/dist/chunks/{persistent-pty-tg1vr1qt.js → snapshot-hw621kav.js} +8 -8
  153. package/dist/chunks/{persistent-pty-56xpzs9c.js → snapshot-hx3mz2q2.js} +8 -8
  154. package/dist/chunks/{persistent-pty-tqam9rzv.js → snapshot-hyg60882.js} +27 -27
  155. package/dist/chunks/{persistent-pty-vwdcv50m.js → snapshot-j0mfwgby.js} +24 -24
  156. package/dist/chunks/{persistent-pty-j113cymg.js → snapshot-j113cymg.js} +1 -1
  157. package/dist/chunks/{persistent-pty-4epsaaqh.js → snapshot-j368hqxn.js} +46 -46
  158. package/dist/chunks/{persistent-pty-v355h3zv.js → snapshot-jaqz1j5c.js} +10 -10
  159. package/dist/chunks/{persistent-pty-rdatjt93.js → snapshot-jcvhz0ne.js} +5 -5
  160. package/dist/chunks/{persistent-pty-fpsgw1gs.js → snapshot-jevs3q22.js} +6 -6
  161. package/dist/chunks/{persistent-pty-31avdb49.js → snapshot-jj9caqwr.js} +11 -11
  162. package/dist/chunks/{persistent-pty-55xtcbpn.js → snapshot-jxffhsbt.js} +21 -21
  163. package/dist/chunks/{persistent-pty-z6zbh2d4.js → snapshot-jy35taan.js} +24 -24
  164. package/dist/chunks/{persistent-pty-jaa51j8b.js → snapshot-k4a9rn7k.js} +29 -29
  165. package/dist/chunks/{persistent-pty-yagn4zf7.js → snapshot-k5q8ak4g.js} +15 -15
  166. package/dist/chunks/{persistent-pty-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
  167. package/dist/chunks/{persistent-pty-70kc41j2.js → snapshot-k8hjh5qf.js} +15 -15
  168. package/dist/chunks/{persistent-pty-vw0t75j9.js → snapshot-k8repwgk.js} +34 -34
  169. package/dist/chunks/{persistent-pty-ddabbtyq.js → snapshot-kc3jq4k5.js} +9 -9
  170. package/dist/chunks/{persistent-pty-v0j7h7ag.js → snapshot-kfbj1vfn.js} +13 -13
  171. package/dist/chunks/{persistent-pty-664py638.js → snapshot-kk6qbz20.js} +12 -12
  172. package/dist/chunks/{persistent-pty-yncd7x1f.js → snapshot-ks2yvdq8.js} +19 -19
  173. package/dist/chunks/{persistent-pty-tk8b4vaq.js → snapshot-kv3e8w2a.js} +4 -4
  174. package/dist/chunks/{persistent-pty-3gv0spa2.js → snapshot-ky596kc3.js} +4 -4
  175. package/dist/chunks/{persistent-pty-b6rq8t5k.js → snapshot-ky5h0dy4.js} +10 -10
  176. package/dist/chunks/{persistent-pty-m1714858.js → snapshot-m1714858.js} +1 -1
  177. package/dist/chunks/{persistent-pty-s8fhqc85.js → snapshot-m8nqxsmt.js} +20 -20
  178. package/dist/chunks/{persistent-pty-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{persistent-pty-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
  180. package/dist/chunks/{persistent-pty-q5j3x1t5.js → snapshot-mbvkkv9q.js} +4 -4
  181. package/dist/chunks/{persistent-pty-n0p0277s.js → snapshot-n0p0277s.js} +1 -1
  182. package/dist/chunks/{persistent-pty-8je04gjc.js → snapshot-n3q07mde.js} +8 -8
  183. package/dist/chunks/{persistent-pty-8wc2fpae.js → snapshot-n6v2b7cw.js} +5 -5
  184. package/dist/chunks/{persistent-pty-vrcsa8qx.js → snapshot-n7bnkb3p.js} +9 -9
  185. package/dist/chunks/{persistent-pty-ce3j1brk.js → snapshot-n95zghxh.js} +1 -1
  186. package/dist/chunks/{persistent-pty-770pw0s1.js → snapshot-nah043kf.js} +4 -4
  187. package/dist/chunks/{persistent-pty-dg56bc3d.js → snapshot-nb2pkzvt.js} +9 -9
  188. package/dist/chunks/{persistent-pty-58hfgte4.js → snapshot-nca90r8m.js} +17 -17
  189. package/dist/chunks/{persistent-pty-cpnm63yh.js → snapshot-nnbr5qt6.js} +16 -16
  190. package/dist/chunks/{persistent-pty-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
  191. package/dist/chunks/{persistent-pty-5859qd6n.js → snapshot-p0z6e7n7.js} +13 -13
  192. package/dist/chunks/{persistent-pty-8fpr5ab5.js → snapshot-p180b23n.js} +18 -18
  193. package/dist/chunks/{persistent-pty-4ty1vvqa.js → snapshot-p1nmqc4v.js} +34 -34
  194. package/dist/chunks/{persistent-pty-82jsxv0a.js → snapshot-p1qgn14a.js} +9 -9
  195. package/dist/chunks/{persistent-pty-46e84wtw.js → snapshot-p2y5jf41.js} +19 -19
  196. package/dist/chunks/{persistent-pty-hq18ybh7.js → snapshot-p9pds4nr.js} +8 -8
  197. package/dist/chunks/{persistent-pty-814m6n4n.js → snapshot-pbdpbsbw.js} +3 -3
  198. package/dist/chunks/{persistent-pty-t9bqp2qp.js → snapshot-pbnk69jw.js} +11 -11
  199. package/dist/chunks/{persistent-pty-w9jkftfk.js → snapshot-pcc0bmtm.js} +24 -24
  200. package/dist/chunks/{persistent-pty-wxpkhmem.js → snapshot-pg6c20a0.js} +14 -14
  201. package/dist/chunks/{persistent-pty-mwn61fym.js → snapshot-pgbwge99.js} +29 -29
  202. package/dist/chunks/{persistent-pty-pknna89w.js → snapshot-pknna89w.js} +1 -1
  203. package/dist/chunks/snapshot-ps2yext1.js +26 -0
  204. package/dist/chunks/{persistent-pty-xen1jppb.js → snapshot-pyka91yh.js} +18 -18
  205. package/dist/chunks/{persistent-pty-5ynz4802.js → snapshot-pyr79hg3.js} +12 -12
  206. package/dist/chunks/{persistent-pty-3meb4hzg.js → snapshot-q110d9ad.js} +22 -22
  207. package/dist/chunks/{persistent-pty-v3az1vww.js → snapshot-q6swskfy.js} +46 -46
  208. package/dist/chunks/{persistent-pty-0632eqgh.js → snapshot-qgt613xz.js} +3 -3
  209. package/dist/chunks/{persistent-pty-vkgkh0jz.js → snapshot-qhacjaam.js} +2 -2
  210. package/dist/chunks/{persistent-pty-qjgzc4b4.js → snapshot-qjgzc4b4.js} +1 -1
  211. package/dist/chunks/{persistent-pty-dzx8s7jj.js → snapshot-qrnt2mf5.js} +37 -37
  212. package/dist/chunks/{persistent-pty-yhtma1qk.js → snapshot-qt0rakd9.js} +7 -7
  213. package/dist/chunks/{persistent-pty-8k8pzbp4.js → snapshot-qz087kyw.js} +8 -8
  214. package/dist/chunks/{persistent-pty-r0yr0wbs.js → snapshot-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{persistent-pty-syp495bw.js → snapshot-r1nmjmkp.js} +11 -11
  216. package/dist/chunks/{persistent-pty-4n958r4n.js → snapshot-r3t0nk92.js} +11 -11
  217. package/dist/chunks/{persistent-pty-r6wgv8c9.js → snapshot-r6wgv8c9.js} +2 -2
  218. package/dist/chunks/{persistent-pty-c29kbh88.js → snapshot-r83r493t.js} +16 -16
  219. package/dist/chunks/{persistent-pty-5r72z9dp.js → snapshot-r8f6rk3c.js} +5 -5
  220. package/dist/chunks/{persistent-pty-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
  221. package/dist/chunks/{persistent-pty-2h4s3pty.js → snapshot-rfwvsy21.js} +10 -10
  222. package/dist/chunks/{persistent-pty-873dcxyb.js → snapshot-rh14b8v9.js} +14 -14
  223. package/dist/chunks/{persistent-pty-6zrn44nt.js → snapshot-rsgnsn16.js} +25 -25
  224. package/dist/chunks/{persistent-pty-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{persistent-pty-q00mhad8.js → snapshot-rtza7ceg.js} +20 -20
  226. package/dist/chunks/{persistent-pty-d5w3mt28.js → snapshot-rvyv8nvn.js} +47 -47
  227. package/dist/chunks/{persistent-pty-v1t6vrbj.js → snapshot-rwppv50t.js} +27 -27
  228. package/dist/chunks/{persistent-pty-2vpteqgm.js → snapshot-s4gp6xhn.js} +27 -27
  229. package/dist/chunks/{persistent-pty-6swdm730.js → snapshot-s7v4tzf9.js} +11 -11
  230. package/dist/chunks/{persistent-pty-0684c0fn.js → snapshot-skwwrjz6.js} +47 -47
  231. package/dist/chunks/{persistent-pty-sqjzf8x2.js → snapshot-sqjzf8x2.js} +1 -1
  232. package/dist/chunks/{persistent-pty-ye9estr6.js → snapshot-stzta4q0.js} +15 -15
  233. package/dist/chunks/{persistent-pty-h3a8j4mf.js → snapshot-sxs6dstq.js} +11 -11
  234. package/dist/chunks/{persistent-pty-xpsr6m59.js → snapshot-t0n1m2fz.js} +75 -75
  235. package/dist/chunks/{persistent-pty-hty8fpa1.js → snapshot-t4jqr6z5.js} +10 -10
  236. package/dist/chunks/{persistent-pty-c8666r4c.js → snapshot-tasvem1v.js} +6 -6
  237. package/dist/chunks/{persistent-pty-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
  238. package/dist/chunks/{persistent-pty-217xj7j6.js → snapshot-teer94dd.js} +21 -21
  239. package/dist/chunks/{persistent-pty-czrs21h8.js → snapshot-tej0rhj5.js} +22 -22
  240. package/dist/chunks/{persistent-pty-qf1w2vm3.js → snapshot-tjbpd8jx.js} +17 -17
  241. package/dist/chunks/{persistent-pty-aa2f750d.js → snapshot-tqxvqvy9.js} +20 -20
  242. package/dist/chunks/{persistent-pty-1ec99x82.js → snapshot-tvw5eq5w.js} +4 -4
  243. package/dist/chunks/{persistent-pty-tw8zr1ps.js → snapshot-tw8zr1ps.js} +1 -1
  244. package/dist/chunks/{persistent-pty-twv2r8f4.js → snapshot-twv2r8f4.js} +2 -2
  245. package/dist/chunks/{persistent-pty-mpsk2kx1.js → snapshot-v2k3kh21.js} +14 -14
  246. package/dist/chunks/{persistent-pty-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{persistent-pty-wk5gspz5.js → snapshot-v67055n8.js} +14 -14
  248. package/dist/chunks/{persistent-pty-vd3b3yk9.js → snapshot-vd3b3yk9.js} +1 -1
  249. package/dist/chunks/{persistent-pty-nf3vvj52.js → snapshot-veg4raah.js} +50 -50
  250. package/dist/chunks/{persistent-pty-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  251. package/dist/chunks/{persistent-pty-gg4d4fs9.js → snapshot-vkc62rge.js} +13 -13
  252. package/dist/chunks/{persistent-pty-vmfhgzt5.js → snapshot-vmfhgzt5.js} +1 -1
  253. package/dist/chunks/{persistent-pty-xkhfjrgz.js → snapshot-vpm8vpz0.js} +3 -3
  254. package/dist/chunks/{persistent-pty-bqwdyg2t.js → snapshot-vzmjdaw1.js} +9 -9
  255. package/dist/chunks/{persistent-pty-40za9wsf.js → snapshot-w2eysc6j.js} +9 -9
  256. package/dist/chunks/{persistent-pty-45sfs8sj.js → snapshot-w2frxgzv.js} +91 -91
  257. package/dist/chunks/{persistent-pty-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{persistent-pty-rc1szs54.js → snapshot-w71sye8r.js} +6 -6
  259. package/dist/chunks/{persistent-pty-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
  260. package/dist/chunks/{persistent-pty-wd87259q.js → snapshot-wd87259q.js} +1 -1
  261. package/dist/chunks/{persistent-pty-drtz06md.js → snapshot-wfa3pkfz.js} +20 -20
  262. package/dist/chunks/{persistent-pty-v0t96s7a.js → snapshot-wqscedq8.js} +9 -9
  263. package/dist/chunks/{persistent-pty-04weq3x2.js → snapshot-wrj7qkae.js} +1 -1
  264. package/dist/chunks/{persistent-pty-dpj9egcy.js → snapshot-x453mv9b.js} +28 -28
  265. package/dist/chunks/{persistent-pty-32wt4071.js → snapshot-x9s9q40r.js} +33 -33
  266. package/dist/chunks/{persistent-pty-0h92kc2j.js → snapshot-xajebrz9.js} +47 -47
  267. package/dist/chunks/{persistent-pty-21shbp3c.js → snapshot-xfzdx1cq.js} +1 -1
  268. package/dist/chunks/{persistent-pty-7w9zqejt.js → snapshot-xh9mmxn9.js} +6 -6
  269. package/dist/chunks/{persistent-pty-vmt9aa9x.js → snapshot-xqya8bhb.js} +24 -24
  270. package/dist/chunks/{persistent-pty-h6ss1yxx.js → snapshot-xyjma05j.js} +9 -9
  271. package/dist/chunks/{persistent-pty-nfx626fp.js → snapshot-y3g4yaer.js} +21 -21
  272. package/dist/chunks/{persistent-pty-s463agb3.js → snapshot-y3rgpzve.js} +21 -21
  273. package/dist/chunks/{persistent-pty-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
  274. package/dist/chunks/{persistent-pty-2gxrk7d9.js → snapshot-yc89j42n.js} +10 -10
  275. package/dist/chunks/{persistent-pty-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{persistent-pty-rp07j1kz.js → snapshot-z0h4wvmy.js} +16 -16
  277. package/dist/chunks/{persistent-pty-s70gc4nz.js → snapshot-z1v7eazc.js} +24 -24
  278. package/dist/chunks/{persistent-pty-z38nccrw.js → snapshot-z38nccrw.js} +1 -1
  279. package/dist/chunks/{persistent-pty-hkex4stx.js → snapshot-z642n2d8.js} +6 -6
  280. package/dist/chunks/{persistent-pty-rd6jf492.js → snapshot-z6p19xhz.js} +20 -20
  281. package/dist/chunks/{persistent-pty-rv6cja6k.js → snapshot-zedte0ep.js} +13 -13
  282. package/dist/chunks/{persistent-pty-zkg84ctx.js → snapshot-zkg84ctx.js} +1 -1
  283. package/dist/chunks/{persistent-pty-eab1f0bk.js → snapshot-zndjfy4q.js} +4 -4
  284. package/dist/chunks/{persistent-pty-rhz1gb3z.js → snapshot-zng1ess9.js} +12 -12
  285. package/dist/chunks/{persistent-pty-w1rc0f0t.js → snapshot-znnhxh9a.js} +14 -14
  286. package/dist/chunks/{persistent-pty-xxgpgb2s.js → snapshot-zpn8gsta.js} +36 -36
  287. package/dist/chunks/{persistent-pty-z64y35xa.js → snapshot-zv5q208p.js} +3 -3
  288. package/dist/chunks/{persistent-pty-a2w9rrzy.js → snapshot-zy2m570x.js} +11 -11
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +83 -83
  294. package/dist/config/discovery.js +84 -84
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +118 -118
  298. package/dist/config/plugin/command.js +214 -214
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +116 -116
  306. package/dist/config/plugin/mcp.js +125 -125
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +3 -3
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +117 -117
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +79 -79
  324. package/dist/database/database.js +68 -68
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +89 -89
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +97 -97
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +76 -76
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +99 -99
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +102 -102
  430. package/dist/form.js +78 -78
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +109 -109
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +93 -93
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +361 -361
  458. package/dist/instruction-discovery.js +82 -82
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +83 -83
  463. package/dist/job.js +80 -80
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +157 -157
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -358
  470. package/dist/location.js +87 -87
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +105 -105
  474. package/dist/mcp/instructions.js +138 -138
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +93 -93
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +96 -96
  483. package/dist/models-dev.js +109 -109
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +84 -84
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +113 -113
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +92 -92
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +78 -78
  494. package/dist/plugin/command.js +104 -104
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +332 -332
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +117 -117
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +104 -104
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +114 -114
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +123 -123
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +125 -125
  529. package/dist/plugin/provider/openai-context-caps.js +92 -92
  530. package/dist/plugin/provider/openai.js +116 -116
  531. package/dist/plugin/provider/opencode.js +100 -100
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +125 -125
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +168 -168
  544. package/dist/plugin/sdk.js +78 -78
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +134 -134
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +349 -349
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +88 -88
  552. package/dist/plugin/vcs/hg.js +88 -88
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +86 -86
  566. package/dist/provider.js +95 -95
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  570. package/dist/reference/instructions.js +91 -91
  571. package/dist/reference.js +93 -93
  572. package/dist/repository-cache.js +83 -83
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +99 -99
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +138 -138
  581. package/dist/session/context.js +160 -160
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +222 -222
  587. package/dist/session/execution.js +130 -130
  588. package/dist/session/generate.js +166 -166
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +97 -97
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +81 -81
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +122 -122
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +102 -102
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +5 -5
  611. package/dist/session/runner/step.js +128 -128
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +165 -165
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +105 -105
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +168 -168
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +220 -220
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +8 -8
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +130 -130
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +114 -114
  636. package/dist/snapshot.js +95 -95
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +135 -135
  641. package/dist/tool/plugin/edit.js +122 -122
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +126 -126
  644. package/dist/tool/plugin/grep.js +122 -122
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +109 -109
  647. package/dist/tool/plugin/patch.js +124 -124
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +127 -127
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +215 -215
  653. package/dist/tool/plugin/todo.js +138 -138
  654. package/dist/tool/plugin/webfetch.js +115 -115
  655. package/dist/tool/plugin/websearch.js +116 -116
  656. package/dist/tool/plugin/write.js +124 -124
  657. package/dist/tool/read-filesystem.js +102 -102
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +14 -14
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +98 -98
  691. package/package.json +8 -8
  692. package/dist/chunks/persistent-pty-3n162ras.js +0 -257
  693. package/dist/chunks/persistent-pty-eeqys4qb.js +0 -26
  694. package/dist/chunks/persistent-pty-mft421xc.js +0 -517
  695. package/dist/chunks/persistent-pty-vdh3rgac.js +0 -18
  696. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-3asan66x.js → snapshot-3asan66x.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-53557ph1.js → snapshot-53557ph1.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-5fjb7ams.js → snapshot-5fjb7ams.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-6prwharc.js → snapshot-6prwharc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-822emrt2.js → snapshot-822emrt2.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-a058387c.js → snapshot-a058387c.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-df08tz66.js → snapshot-df08tz66.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-g86h250q.js → snapshot-g86h250q.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-gftt206x.js → snapshot-gftt206x.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-hk9envan.js → snapshot-hk9envan.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-m18g726c.js → snapshot-m18g726c.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-x61499pn.js → snapshot-x61499pn.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./persistent-pty-p015t6z3.js";
3
+ } from "./snapshot-p015t6z3.js";
4
4
  import {
5
- Service64,
6
- node68
7
- } from "./persistent-pty-dpj9egcy.js";
5
+ Service57,
6
+ node60
7
+ } from "./snapshot-x453mv9b.js";
8
8
  import {
9
9
  retry2
10
- } from "./persistent-pty-n0p0277s.js";
10
+ } from "./snapshot-n0p0277s.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./snapshot-9rqn6x4v.js";
14
14
 
15
15
  // src/generate.ts
16
- var exports_generate2 = {};
17
- __export(exports_generate2, {
18
- Generate: () => exports_generate2,
16
+ var exports_generate = {};
17
+ __export(exports_generate, {
18
+ Generate: () => exports_generate,
19
19
  ModelSelectionError: () => ModelSelectionError2,
20
- Service: () => Service40,
21
- UnavailableError: () => UnavailableError3,
22
- layer: () => layer17,
23
- node: () => node43
20
+ Service: () => Service20,
21
+ UnavailableError: () => UnavailableError4,
22
+ layer: () => layer11,
23
+ node: () => node23
24
24
  });
25
25
  import { LLM, LLMClient } from "@opencode/ai";
26
26
  import { SessionID } from "@opencode/schema/session-id";
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
34
+ class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service40 extends Context.Service()("@opencode/Generate") {
40
+ class Service20 extends Context.Service()("@opencode/Generate") {
41
41
  }
42
- var layer17 = Layer.effect(Service40, Effect.gen(function* () {
42
+ var layer11 = Layer.effect(Service20, Effect.gen(function* () {
43
43
  const llm = yield* LLMClient.Service;
44
- const resolver = yield* Service64;
44
+ const resolver = yield* Service57;
45
45
  const runText = Effect.fn("Generate.text")(function* (input) {
46
46
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
47
47
  "SessionRunnerModel.VariantUnavailableError",
@@ -51,7 +51,7 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
51
51
  "SessionRunnerModel.UnresolvedProviderVariablesError",
52
52
  "SessionRunnerModel.UnsupportedCompactionError"
53
53
  ], (error) => {
54
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
54
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: error.providerID });
55
55
  return Effect.fail(mapped);
56
56
  }));
57
57
  if (!resolved)
@@ -62,21 +62,21 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
62
62
  model: resolved.model,
63
63
  prompt: input.prompt,
64
64
  http: { headers: { "x-opencode-session": SessionID.create() } }
65
- })).pipe(retry2, Effect.mapError((error) => new UnavailableError3({
65
+ })).pipe(retry2, Effect.mapError((error) => new UnavailableError4({
66
66
  message: error.message,
67
67
  service: resolved.ref.providerID
68
68
  })));
69
69
  return response.text;
70
70
  });
71
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
71
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({
72
72
  message: "Generation credentials are unavailable"
73
73
  })));
74
- return Service40.of({ text });
74
+ return Service20.of({ text });
75
75
  }));
76
- var node43 = makeLocationNode({
77
- service: Service40,
78
- layer: layer17,
79
- deps: [node68, llmClient2]
76
+ var node23 = makeLocationNode({
77
+ service: Service20,
78
+ layer: layer11,
79
+ deps: [node60, llmClient2]
80
80
  });
81
81
 
82
- export { ModelSelectionError2, UnavailableError3, Service40, layer17, node43, exports_generate2 };
82
+ export { ModelSelectionError2, UnavailableError4, Service20, layer11, node23, exports_generate };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,105 +1,105 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./persistent-pty-y1kds4da.js";
4
+ } from "./snapshot-7633k18y.js";
5
5
  import {
6
- Service85,
7
- node89
8
- } from "./persistent-pty-5pav4dzc.js";
6
+ Service82,
7
+ node86
8
+ } from "./snapshot-146q7e0b.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./persistent-pty-gftt206x.js";
11
+ } from "./snapshot-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./persistent-pty-zcz73n1t.js";
14
+ } from "./snapshot-5kbev7nh.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./persistent-pty-ec1grn59.js";
17
+ } from "./snapshot-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./persistent-pty-998yhzzq.js";
20
+ } from "./snapshot-998yhzzq.js";
21
21
  import {
22
22
  prepare4
23
- } from "./persistent-pty-zkgq49d1.js";
23
+ } from "./snapshot-0p88zpcm.js";
24
24
  import {
25
25
  decodeMessageRow2,
26
26
  preview2
27
- } from "./persistent-pty-hty8fpa1.js";
27
+ } from "./snapshot-t4jqr6z5.js";
28
28
  import {
29
29
  Service69,
30
- node73
31
- } from "./persistent-pty-bxhrky7s.js";
30
+ node72
31
+ } from "./snapshot-4v48c47j.js";
32
32
  import {
33
- Service19,
34
- node21
35
- } from "./persistent-pty-xxgpgb2s.js";
33
+ Service17,
34
+ node19
35
+ } from "./snapshot-zpn8gsta.js";
36
36
  import {
37
37
  llmClient2
38
- } from "./persistent-pty-p015t6z3.js";
38
+ } from "./snapshot-p015t6z3.js";
39
39
  import {
40
- Service32,
41
- node35
42
- } from "./persistent-pty-t9bqp2qp.js";
40
+ Service35,
41
+ node38
42
+ } from "./snapshot-pbnk69jw.js";
43
43
  import {
44
44
  baseTranscript2
45
- } from "./persistent-pty-edkmkvd1.js";
45
+ } from "./snapshot-damdxvc5.js";
46
46
  import {
47
- make9
48
- } from "./persistent-pty-c8666r4c.js";
47
+ make10
48
+ } from "./snapshot-tasvem1v.js";
49
49
  import {
50
50
  toSessionError2
51
- } from "./persistent-pty-rdatjt93.js";
51
+ } from "./snapshot-jcvhz0ne.js";
52
52
  import {
53
- Service8,
54
- node10,
53
+ Service12,
54
+ node14,
55
55
  estimatePrompt2
56
- } from "./persistent-pty-d5w3mt28.js";
56
+ } from "./snapshot-rvyv8nvn.js";
57
57
  import {
58
- node57
59
- } from "./persistent-pty-ywtfgq8q.js";
58
+ node51
59
+ } from "./snapshot-3y5jkgnv.js";
60
60
  import {
61
61
  Service23,
62
62
  node26
63
- } from "./persistent-pty-xpsr6m59.js";
63
+ } from "./snapshot-t0n1m2fz.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./persistent-pty-2vpteqgm.js";
68
+ } from "./snapshot-s4gp6xhn.js";
69
69
  import {
70
- Service5,
70
+ Service11,
71
71
  isUntitled2,
72
- node7
73
- } from "./persistent-pty-s70gc4nz.js";
72
+ node13
73
+ } from "./snapshot-z1v7eazc.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service60
77
- } from "./persistent-pty-3gv0spa2.js";
76
+ Service52
77
+ } from "./snapshot-ky596kc3.js";
78
78
  import {
79
- node42
80
- } from "./persistent-pty-34sg93nd.js";
79
+ node75
80
+ } from "./snapshot-bcey06z6.js";
81
81
  import {
82
82
  Outcome2,
83
- make8
84
- } from "./persistent-pty-06ye6eb3.js";
83
+ make9
84
+ } from "./snapshot-5x10bg3a.js";
85
85
  import {
86
- Service25
87
- } from "./persistent-pty-vdh3rgac.js";
86
+ Service33
87
+ } from "./snapshot-a610t88q.js";
88
88
  import {
89
- node23
90
- } from "./persistent-pty-3meb4hzg.js";
89
+ node20
90
+ } from "./snapshot-q110d9ad.js";
91
91
  import {
92
92
  MAX_STEPS_PROMPT2
93
- } from "./persistent-pty-y44na4kk.js";
93
+ } from "./snapshot-y44na4kk.js";
94
94
  import {
95
95
  __export
96
- } from "./persistent-pty-9rqn6x4v.js";
96
+ } from "./snapshot-9rqn6x4v.js";
97
97
 
98
98
  // src/session/runner/llm.ts
99
99
  var exports_llm = {};
100
100
  __export(exports_llm, {
101
101
  SessionRunnerLLM: () => exports_llm,
102
- node: () => node6
102
+ node: () => node10
103
103
  });
104
104
  import { Message } from "@opencode/ai";
105
105
  import { and, desc, eq, inArray, sql } from "drizzle-orm";
@@ -107,17 +107,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
107
107
  import { makeLocationNode } from "@opencode/util/effect/app-node";
108
108
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
109
109
  var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
110
- var layer = Layer.effect(Service60, Effect.gen(function* () {
111
- const bus = yield* Service85;
112
- const lifecycle = yield* Service19;
110
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
111
+ const bus = yield* Service82;
112
+ const lifecycle = yield* Service17;
113
113
  const store = yield* Service69;
114
114
  const context = yield* Service23;
115
- const modelTransport = yield* Service32;
115
+ const modelTransport = yield* Service35;
116
116
  const db = (yield* Service86).db;
117
- const compaction = yield* Service8;
118
- const plugins = yield* Service25;
119
- const title = yield* Service5;
120
- const steps = yield* make8;
117
+ const compaction = yield* Service12;
118
+ const plugins = yield* Service33;
119
+ const title = yield* Service11;
120
+ const steps = yield* make9;
121
121
  const titles = yield* FiberMap.make();
122
122
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
123
123
  const sessionID = input.sessionID;
@@ -238,7 +238,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
238
238
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
239
239
  const sessionID = first.session.id;
240
240
  let assistantMessageID = SessionMessage2.ID.create();
241
- const retry = yield* make9(bus, sessionID);
241
+ const retry = yield* make10(bus, sessionID);
242
242
  let initial = first;
243
243
  let recoverOverflow = true;
244
244
  let recoverContinuation = true;
@@ -375,25 +375,25 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
375
375
  }
376
376
  }
377
377
  });
378
- return Service60.of({ drain });
378
+ return Service52.of({ drain });
379
379
  }));
380
- var node6 = makeLocationNode({
381
- service: Service60,
380
+ var node10 = makeLocationNode({
381
+ service: Service52,
382
382
  layer,
383
383
  deps: [
384
- node89,
385
- node21,
384
+ node86,
385
+ node19,
386
386
  llmClient2,
387
387
  node26,
388
- node35,
389
- node73,
390
- node10,
391
- node23,
392
- node7,
393
- node42,
394
- node57,
388
+ node38,
389
+ node72,
390
+ node14,
391
+ node20,
392
+ node13,
393
+ node75,
394
+ node51,
395
395
  node90
396
396
  ]
397
397
  });
398
398
 
399
- export { node6, exports_llm };
399
+ export { node10, exports_llm };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./persistent-pty-5pav4dzc.js";
2
+ Service82,
3
+ node86
4
+ } from "./snapshot-146q7e0b.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./persistent-pty-rb9dy4dg.js";
9
+ } from "./snapshot-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./persistent-pty-nck0by46.js";
12
+ } from "./snapshot-gs87y69e.js";
13
13
  import {
14
- Service82,
15
- node86
16
- } from "./persistent-pty-zfyhjv3h.js";
14
+ Service80,
15
+ node83
16
+ } from "./snapshot-67pdg5mz.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./persistent-pty-vd3b3yk9.js";
20
+ } from "./snapshot-vd3b3yk9.js";
21
21
  import {
22
22
  __export
23
- } from "./persistent-pty-9rqn6x4v.js";
23
+ } from "./snapshot-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info7,
32
+ Info: () => Info16,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service41,
35
+ Service: () => Service63,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node44
37
+ node: () => node66
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info16, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service41 extends Context.Service()("@opencode/Vcs") {
57
+ class Service63 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service41, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service82;
62
- const bus = yield* Service85;
61
+ const location = yield* Service80;
62
+ const bus = yield* Service82;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info16));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service41.of({
132
+ return Service63.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node44 = makeLocationNode({
191
- service: Service41,
190
+ var node66 = makeLocationNode({
191
+ service: Service63,
192
192
  layer,
193
- deps: [FSUtil.node, node86, node89]
193
+ deps: [FSUtil.node, node83, node86]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, InitializeError2, Service41, node44, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info16, Mode2, DiffError2, InitializeError2, Service63, node66, exports_vcs };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./persistent-pty-eh3zwz77.js";
3
+ } from "./snapshot-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./persistent-pty-e73j6tqm.js";
6
+ } from "./snapshot-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./persistent-pty-3wcehsnq.js";
9
+ } from "./snapshot-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./persistent-pty-dap0rakb.js";
12
+ } from "./snapshot-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./persistent-pty-4y7fprxs.js";
15
+ } from "./snapshot-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./persistent-pty-wakvkjy4.js";
4
+ } from "./snapshot-wakvkjy4.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./persistent-pty-qfa1cgps.js";
7
+ } from "./snapshot-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./persistent-pty-034tev2y.js";
10
+ } from "./snapshot-034tev2y.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";