@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,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service7,
10
10
  bound: () => bound2,
11
- node: () => node5
11
+ node: () => node8
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service7 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node5 = makeLocationNode({
19
- service: Service4,
18
+ var node8 = makeLocationNode({
19
+ service: Service7,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node5, bound2, exports_instance2 };
32
+ export { Service7, node8, bound2, exports_instance2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service51,
8
+ Service: () => Service47,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node55
10
+ node: () => node50
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service51 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service47 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service51, () => {
17
+ var layer = Layer.sync(Service47, () => {
18
18
  const environments = new Map;
19
- return Service51.of({
19
+ return Service47.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service51, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node55 = makeGlobalNode({ service: Service51, layer, deps: [] });
29
+ var node50 = makeGlobalNode({ service: Service47, layer, deps: [] });
30
30
 
31
- export { Service51, node55, exports_environment };
31
+ export { Service47, node50, exports_environment };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
- Service82
6
- } from "./persistent-pty-zfyhjv3h.js";
5
+ Service80
6
+ } from "./snapshot-67pdg5mz.js";
7
7
  import {
8
- Service20
9
- } from "./persistent-pty-a4se2td7.js";
8
+ Service13
9
+ } from "./snapshot-gxket47c.js";
10
10
  import {
11
- Service6
12
- } from "./persistent-pty-86e8kg08.js";
11
+ Service9
12
+ } from "./snapshot-8ny5g7zq.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./persistent-pty-zkg84ctx.js";
15
+ } from "./snapshot-zkg84ctx.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service30
26
- } from "./persistent-pty-70kc41j2.js";
25
+ Service29
26
+ } from "./snapshot-k8hjh5qf.js";
27
27
  import {
28
28
  __export
29
- } from "./persistent-pty-9rqn6x4v.js";
29
+ } from "./snapshot-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input2,
35
- Plugin: () => Plugin18,
34
+ Input: () => Input11,
35
+ Plugin: () => Plugin32,
36
36
  ReadTool: () => exports_read,
37
- name: () => name2,
38
- toModelContent: () => toModelContent2
37
+ name: () => name11,
38
+ toModelContent: () => toModelContent5
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name2 = "read";
44
+ var name11 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input2 = LocationInput;
55
+ var Input11 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin18 = {
57
+ var Plugin32 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service30;
61
- const access = yield* Service20;
62
- const sessionInstructions = yield* Service6;
60
+ const reader = yield* Service29;
61
+ const access = yield* Service13;
62
+ const sessionInstructions = yield* Service9;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service82;
64
+ const location = yield* Service80;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name2,
66
+ name: name11,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input2,
69
+ input: Input11,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin18 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent2(result.path, input.offset, result.output),
113
+ content: toModelContent5(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent2 = (path, offset, output) => {
146
+ var toModelContent5 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent2 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name2, Input2, Plugin18, toModelContent2, exports_read };
182
+ export { name11, Input11, Plugin32, toModelContent5, exports_read };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./persistent-pty-2z1j29yd.js";
3
+ } from "./snapshot-2z1j29yd.js";
4
4
  import {
5
- Service68
6
- } from "./persistent-pty-0684c0fn.js";
5
+ Service67
6
+ } from "./snapshot-skwwrjz6.js";
7
7
  import {
8
8
  MAX_MARKDOWN_BYTES2,
9
9
  convertHTMLToMarkdown2
10
- } from "./persistent-pty-4vcrnpx2.js";
10
+ } from "./snapshot-4vcrnpx2.js";
11
11
  import {
12
12
  collectBoundedResponseBody2
13
- } from "./persistent-pty-3v8g72cx.js";
13
+ } from "./snapshot-3v8g72cx.js";
14
14
  import {
15
15
  __export
16
- } from "./persistent-pty-9rqn6x4v.js";
16
+ } from "./snapshot-9rqn6x4v.js";
17
17
 
18
18
  // src/tool/plugin/webfetch.ts
19
19
  var exports_webfetch = {};
20
20
  __export(exports_webfetch, {
21
21
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
22
- Input: () => Input11,
23
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
22
+ Input: () => Input7,
23
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
24
24
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
25
- Plugin: () => Plugin29,
25
+ Plugin: () => Plugin28,
26
26
  WebFetchTool: () => exports_webfetch,
27
27
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
28
- description: () => description5,
28
+ description: () => description3,
29
29
  extractTextFromHTML: () => extractTextFromHTML2,
30
- name: () => name11
30
+ name: () => name7
31
31
  });
32
32
  import { ToolFailure } from "@opencode/ai";
33
33
  import { Duration, Effect, Schema } from "effect";
34
34
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
35
35
  import { Parser } from "htmlparser2";
36
- var name11 = "webfetch";
37
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
36
+ var name7 = "webfetch";
37
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
38
38
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
39
39
  var MAX_TIMEOUT_SECONDS2 = 120;
40
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
40
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
41
41
 
42
42
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
43
43
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
44
- var Input11 = Schema.Struct({
44
+ var Input7 = Schema.Struct({
45
45
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
46
46
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
47
47
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -51,7 +51,7 @@ var Input11 = Schema.Struct({
51
51
  var Output = Schema.Struct({
52
52
  url: Schema.String,
53
53
  contentType: Schema.String,
54
- format: Input11.fields.format,
54
+ format: Input7.fields.format,
55
55
  output: Schema.String
56
56
  });
57
57
  var acceptHeader = (format) => {
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
82
82
  throw new Error("URL must use http:// or https://");
83
83
  };
84
84
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
85
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
85
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
86
86
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
87
87
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
88
88
  var convert = (content, contentType, format) => {
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
94
94
  return extractTextFromHTML2(content);
95
95
  return content;
96
96
  };
97
- var Plugin29 = {
97
+ var Plugin28 = {
98
98
  id: "opencode.tool.webfetch",
99
99
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
100
100
  const http = yield* HttpClient.HttpClient;
101
- const permission = yield* Service68;
101
+ const permission = yield* Service67;
102
102
  yield* ctx.tool.transform((editor) => editor.add({
103
- name: name11,
103
+ name: name7,
104
104
  options: { codemode: false },
105
- description: description5,
106
- input: Input11,
105
+ description: description3,
106
+ input: Input7,
107
107
  output: Output,
108
108
  execute: (input, context) => Effect.gen(function* () {
109
109
  yield* Effect.try({
@@ -111,7 +111,7 @@ var Plugin29 = {
111
111
  catch: (error) => error
112
112
  });
113
113
  yield* permission.assert({
114
- action: name11,
114
+ action: name7,
115
115
  resources: [input.url],
116
116
  save: ["*"],
117
117
  metadata: input,
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
169
169
  parser.end();
170
170
  return text.trim();
171
171
  }
172
- export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin29, extractTextFromHTML2, exports_webfetch };
172
+ export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input7, Plugin28, extractTextFromHTML2, exports_webfetch };
@@ -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/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service73
7
- } from "./persistent-pty-0h92kc2j.js";
6
+ Service59
7
+ } from "./snapshot-xajebrz9.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./persistent-pty-zkg84ctx.js";
10
+ } from "./snapshot-zkg84ctx.js";
11
11
  import {
12
- Service52
13
- } from "./persistent-pty-vmt9aa9x.js";
12
+ Service49
13
+ } from "./snapshot-xqya8bhb.js";
14
14
  import {
15
- Service66
16
- } from "./persistent-pty-cpnm63yh.js";
15
+ Service56
16
+ } from "./snapshot-nnbr5qt6.js";
17
17
  import {
18
- Service68
19
- } from "./persistent-pty-0684c0fn.js";
18
+ Service67
19
+ } from "./snapshot-skwwrjz6.js";
20
20
  import {
21
- Service20,
21
+ Service13,
22
22
  resolvePath2
23
- } from "./persistent-pty-a4se2td7.js";
23
+ } from "./snapshot-gxket47c.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./persistent-pty-k814nvkf.js";
29
+ } from "./snapshot-k814nvkf.js";
30
30
  import {
31
- Service56,
31
+ Service62,
32
32
  name16
33
- } from "./persistent-pty-q00mhad8.js";
33
+ } from "./snapshot-rtza7ceg.js";
34
34
  import {
35
35
  NotFoundError6,
36
- Service50
37
- } from "./persistent-pty-d068nwqk.js";
36
+ Service46
37
+ } from "./snapshot-1nqgcrc1.js";
38
38
  import {
39
- Service21
40
- } from "./persistent-pty-45sfs8sj.js";
39
+ Service22
40
+ } from "./snapshot-w2frxgzv.js";
41
41
  import {
42
- scan2
43
- } from "./persistent-pty-rxtgqbtn.js";
42
+ scan3
43
+ } from "./snapshot-5js31cy8.js";
44
44
  import {
45
45
  __export
46
- } from "./persistent-pty-9rqn6x4v.js";
46
+ } from "./snapshot-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: () => Input13,
53
- Plugin: () => Plugin31,
54
- ShellTool: () => exports_shell,
55
- name: () => name13
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin24,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name3
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 name13 = "shell";
60
+ var name3 = "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 Input13 = Schema.Struct({
74
+ var Input3 = 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 Plugin31 = {
120
+ var Plugin24 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service21;
124
- const jobs = yield* Service66;
123
+ const sessions = yield* Service22;
124
+ const jobs = yield* Service56;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service52;
127
- const access = yield* Service20;
128
- const shell = yield* Service50;
129
- const shellSelect = yield* Service56;
126
+ const environment = yield* Service49;
127
+ const access = yield* Service13;
128
+ const shell = yield* Service46;
129
+ const shellSelect = yield* Service62;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service68;
132
- const config = yield* Service73;
131
+ const permission = yield* Service67;
132
+ const config = yield* Service59;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin31 = {
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 Plugin31 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name13,
151
+ action: name3,
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 Plugin31 = {
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: name13,
188
+ name: name3,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input13,
191
+ input: Input3,
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;
@@ -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: name13,
228
+ type: name3,
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[name13];
258
+ const tool = event.tools[name3];
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 { name13, DEFAULT_TIMEOUT_MS2, Input13, Plugin31, exports_shell };
269
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin24, exports_shell2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service85
3
- } from "./persistent-pty-5pav4dzc.js";
2
+ Service82
3
+ } from "./snapshot-146q7e0b.js";
4
4
  import {
5
5
  key2
6
- } from "./persistent-pty-bjhzkqyk.js";
6
+ } from "./snapshot-bjhzkqyk.js";
7
7
  import {
8
8
  Event18
9
- } from "./persistent-pty-rmqe3ewt.js";
9
+ } from "./snapshot-3qwxnent.js";
10
10
  import {
11
11
  ID14
12
- } from "./persistent-pty-xtd8sqng.js";
12
+ } from "./snapshot-5tnc4nbn.js";
13
13
  import {
14
14
  ID13,
15
- Service77
16
- } from "./persistent-pty-6fet8kw9.js";
15
+ Service76
16
+ } from "./snapshot-0kjrd2qd.js";
17
17
  import {
18
18
  load2,
19
19
  derive2
20
- } from "./persistent-pty-5pdz8c62.js";
20
+ } from "./snapshot-hvbtf1fc.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service77;
30
- const bus = yield* Service85;
29
+ const providers = yield* Service76;
30
+ const bus = yield* Service82;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./persistent-pty-zcz73n1t.js";
4
+ } from "./snapshot-5kbev7nh.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./persistent-pty-0684c0fn.js";
8
+ } from "./snapshot-skwwrjz6.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./persistent-pty-xtd8sqng.js";
11
+ } from "./snapshot-5tnc4nbn.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./persistent-pty-dpj9egcy.js";
19
+ } from "./snapshot-x453mv9b.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./persistent-pty-58hfgte4.js";
23
+ } from "./snapshot-nca90r8m.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -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/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make17,
14
- node: () => node59,
13
+ make: () => make15,
14
+ node: () => node54,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make17 = (driver) => driver;
32
+ var make15 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node59 = registryNode2({});
47
+ var node54 = registryNode2({});
48
48
 
49
- export { Binding2, Error4, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node59, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make15, RegistryService2, registry2, registryNode2, node54, exports_driver };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info20
7
- } from "./persistent-pty-v0t96s7a.js";
6
+ Info12
7
+ } from "./snapshot-wqscedq8.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./snapshot-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- ConfigAgentV1: () => exports_agent4,
16
- Info: () => Info19
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ ConfigAgentV1: () => exports_agent3,
16
+ Info: () => Info11
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info20)
48
+ permission: Schema.optional(Info12)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info19 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info11 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info19, exports_agent4 };
72
+ export { Info11, exports_agent3 };