@opencode/core 0.0.0-dev-385 → 0.0.0-dev-393

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 (914) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -86
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +236 -236
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{filesystem-aj7mw0zk.js → state-034tev2y.js} +2 -2
  9. package/dist/chunks/{filesystem-7dmr4t8m.js → state-056p44da.js} +18 -18
  10. package/dist/chunks/{filesystem-apms2mrw.js → state-05mm50vf.js} +11 -11
  11. package/dist/chunks/{filesystem-8rbph9sy.js → state-0a20qbkp.js} +27 -27
  12. package/dist/chunks/{filesystem-kw362g4m.js → state-0csbgeh2.js} +9 -9
  13. package/dist/chunks/{filesystem-jdq9dv0a.js → state-0dct8czz.js} +12 -12
  14. package/dist/chunks/{filesystem-0j7gp832.js → state-0j7gp832.js} +1 -1
  15. package/dist/chunks/{filesystem-0s767t8h.js → state-0smt5b1y.js} +4 -4
  16. package/dist/chunks/{filesystem-wz5tj16h.js → state-0t098hqn.js} +5 -5
  17. package/dist/chunks/{filesystem-be2qad6y.js → state-19d303gc.js} +13 -13
  18. package/dist/chunks/{filesystem-bnv5zz2f.js → state-1afv7ask.js} +9 -9
  19. package/dist/chunks/{filesystem-1aqsckx4.js → state-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{filesystem-27w5k9zf.js → state-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{filesystem-7v32djr5.js → state-1m0e4qdv.js} +11 -11
  22. package/dist/chunks/{filesystem-ybws1qgk.js → state-1v2g13eq.js} +4 -4
  23. package/dist/chunks/{filesystem-8r6v9khj.js → state-1v3j17r1.js} +17 -17
  24. package/dist/chunks/{filesystem-1x2knyw4.js → state-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{filesystem-5zrxpy3q.js → state-1yq9hg58.js} +5 -5
  26. package/dist/chunks/{filesystem-s1a15ccr.js → state-21tb34h2.js} +6 -6
  27. package/dist/chunks/{filesystem-mn00fh9h.js → state-2kykchgf.js} +15 -15
  28. package/dist/chunks/{filesystem-s1ba0vj0.js → state-2p60zmnr.js} +2 -2
  29. package/dist/chunks/{filesystem-8fb3spgr.js → state-31avdb49.js} +8 -8
  30. package/dist/chunks/{filesystem-8fb0arrr.js → state-36k98q34.js} +14 -14
  31. package/dist/chunks/{filesystem-8pbhkp7h.js → state-3h8z8wz5.js} +4 -4
  32. package/dist/chunks/{filesystem-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{filesystem-h4nf0qxy.js → state-3n03ejdw.js} +10 -10
  34. package/dist/chunks/{filesystem-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{filesystem-xmx7xj34.js → state-3ryz99p0.js} +4 -4
  36. package/dist/chunks/{filesystem-ajstjzwv.js → state-3rz1gwbg.js} +10 -10
  37. package/dist/chunks/{filesystem-kgx5mhz5.js → state-3v0spw5n.js} +18 -18
  38. package/dist/chunks/{filesystem-40y6dtc2.js → state-40y6dtc2.js} +1 -1
  39. package/dist/chunks/{filesystem-5enarcya.js → state-40za9wsf.js} +6 -6
  40. package/dist/chunks/{filesystem-y3de7ed5.js → state-42qdq8te.js} +13 -13
  41. package/dist/chunks/{filesystem-jxd6f16v.js → state-44pmzq9c.js} +2 -2
  42. package/dist/chunks/{filesystem-xzyc158b.js → state-452tx3w1.js} +11 -11
  43. package/dist/chunks/{filesystem-zqzzyd4q.js → state-47s8f065.js} +50 -50
  44. package/dist/chunks/{filesystem-3v49se44.js → state-48m0p4qs.js} +6 -6
  45. package/dist/chunks/{filesystem-4d2dtj2f.js → state-4d2dtj2f.js} +1 -1
  46. package/dist/chunks/{filesystem-4dx1dgte.js → state-4dx1dgte.js} +1 -1
  47. package/dist/chunks/{filesystem-4f25tdd0.js → state-4f25tdd0.js} +1 -1
  48. package/dist/chunks/{filesystem-rx1waf6z.js → state-4k0twk1c.js} +7 -7
  49. package/dist/chunks/{filesystem-7gyk422d.js → state-4mk899yb.js} +17 -17
  50. package/dist/chunks/{filesystem-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
  51. package/dist/chunks/{filesystem-4v008n1t.js → state-4v008n1t.js} +1 -1
  52. package/dist/chunks/{filesystem-g7kaawny.js → state-4wt7fhby.js} +11 -11
  53. package/dist/chunks/{filesystem-jwve1gmd.js → state-539dw32x.js} +4 -4
  54. package/dist/chunks/{filesystem-ce6y1dpc.js → state-56ddg3xh.js} +3 -3
  55. package/dist/chunks/{filesystem-9tp1sxbe.js → state-58rf0bjp.js} +16 -16
  56. package/dist/chunks/{filesystem-vr9fx7j5.js → state-5d9nbz4j.js} +8 -8
  57. package/dist/chunks/{filesystem-awr76603.js → state-5m4ecct2.js} +25 -25
  58. package/dist/chunks/{filesystem-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{filesystem-30np0s0y.js → state-5ngvdyzg.js} +16 -16
  60. package/dist/chunks/{filesystem-b6vsg801.js → state-5nnwax6m.js} +5 -5
  61. package/dist/chunks/{filesystem-1acdmn0m.js → state-5pg8y8w0.js} +19 -19
  62. package/dist/chunks/{filesystem-a15qcg7t.js → state-5v42y69a.js} +5 -5
  63. package/dist/chunks/{filesystem-ayfqptq7.js → state-5vvgeqy8.js} +8 -8
  64. package/dist/chunks/{filesystem-wexf2k6a.js → state-5xemk3sw.js} +14 -14
  65. package/dist/chunks/{filesystem-gz7axp6c.js → state-61qraad9.js} +5 -5
  66. package/dist/chunks/{filesystem-4jmrnn9a.js → state-641q1vjj.js} +59 -59
  67. package/dist/chunks/{filesystem-2413zvty.js → state-67kb74bv.js} +5 -5
  68. package/dist/chunks/{filesystem-8xz27cp9.js → state-67wwskyb.js} +4 -4
  69. package/dist/chunks/{filesystem-6esdw8yj.js → state-6esdw8yj.js} +1 -1
  70. package/dist/chunks/{filesystem-tx11yp5c.js → state-6m3cdbvc.js} +25 -25
  71. package/dist/chunks/{filesystem-a4867apv.js → state-6srxf2b1.js} +5 -5
  72. package/dist/chunks/{filesystem-hpce2bxp.js → state-728a2w8f.js} +30 -30
  73. package/dist/chunks/{filesystem-tfr9yjjd.js → state-73gkfqd7.js} +29 -29
  74. package/dist/chunks/{filesystem-qg1qtv71.js → state-76aqqymw.js} +43 -43
  75. package/dist/chunks/{filesystem-qwvsjm6j.js → state-7b0yxgp4.js} +11 -11
  76. package/dist/chunks/{filesystem-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{filesystem-entb9tz6.js → state-7c1acd8m.js} +22 -22
  78. package/dist/chunks/{filesystem-4c01b23b.js → state-7g5zg8tv.js} +17 -17
  79. package/dist/chunks/{filesystem-31xrnzxp.js → state-7jen3kst.js} +9 -9
  80. package/dist/chunks/{filesystem-dxan1mrp.js → state-7k20sj52.js} +7 -7
  81. package/dist/chunks/{filesystem-7kr66rt3.js → state-7kr66rt3.js} +1 -1
  82. package/dist/chunks/{filesystem-na0k9was.js → state-7pj2069b.js} +5 -5
  83. package/dist/chunks/{filesystem-y2byerj0.js → state-7rn2tgva.js} +20 -20
  84. package/dist/chunks/{filesystem-zfrx22gp.js → state-7sysqgzb.js} +4 -4
  85. package/dist/chunks/{filesystem-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
  86. package/dist/chunks/{filesystem-775hqbnd.js → state-80mg3ag8.js} +3 -3
  87. package/dist/chunks/{filesystem-fhxbqm4w.js → state-85f9c9n5.js} +13 -13
  88. package/dist/chunks/{filesystem-89287pr7.js → state-89287pr7.js} +1 -1
  89. package/dist/chunks/{filesystem-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
  90. package/dist/chunks/{filesystem-y34nwz0g.js → state-8g90eqn0.js} +7 -7
  91. package/dist/chunks/{filesystem-v02g83pj.js → state-8mw53c6m.js} +14 -14
  92. package/dist/chunks/{filesystem-bnah3mpw.js → state-8pjtyw4w.js} +21 -21
  93. package/dist/chunks/{filesystem-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
  94. package/dist/chunks/{filesystem-38aws4xb.js → state-90ct6wq4.js} +4 -4
  95. package/dist/chunks/{filesystem-90zstvax.js → state-90zstvax.js} +1 -1
  96. package/dist/chunks/{filesystem-pwsg9qb0.js → state-996qv2g3.js} +3 -3
  97. package/dist/chunks/{filesystem-d5fxwhvd.js → state-9hxvq81s.js} +28 -28
  98. package/dist/chunks/{filesystem-w3b8frf0.js → state-9rne3ehg.js} +15 -15
  99. package/dist/chunks/{filesystem-dv96216k.js → state-9sy1j1hj.js} +4 -4
  100. package/dist/chunks/{filesystem-yayjxqrm.js → state-9tjhwdqk.js} +8 -8
  101. package/dist/chunks/{filesystem-ac5tzc4s.js → state-9w88qcrs.js} +5 -5
  102. package/dist/chunks/{filesystem-ghzysasn.js → state-9wer7rt0.js} +35 -35
  103. package/dist/chunks/{filesystem-m0yvy5wq.js → state-9z88th0c.js} +3 -3
  104. package/dist/chunks/{filesystem-54y7003s.js → state-a0g2880y.js} +14 -14
  105. package/dist/chunks/{filesystem-gkjtw3vz.js → state-a4bbeqg1.js} +13 -13
  106. package/dist/chunks/state-a4h8tact.js +16 -0
  107. package/dist/chunks/{filesystem-a5fx33f2.js → state-a5fx33f2.js} +2 -2
  108. package/dist/chunks/{filesystem-wgegyvat.js → state-agz3tzmp.js} +48 -48
  109. package/dist/chunks/{filesystem-s57ahyn0.js → state-an1qcwxm.js} +7 -7
  110. package/dist/chunks/{filesystem-88vdz3ne.js → state-an6hzmd3.js} +6 -6
  111. package/dist/chunks/{filesystem-wr7t8v2s.js → state-apsxpycy.js} +21 -21
  112. package/dist/chunks/{filesystem-fje97jh5.js → state-aqxk7krm.js} +27 -27
  113. package/dist/chunks/{filesystem-3cbjf1nt.js → state-ayjs7tqn.js} +2 -2
  114. package/dist/chunks/{filesystem-wey7npy0.js → state-b0573t9j.js} +13 -13
  115. package/dist/chunks/{filesystem-2parprfh.js → state-b2kx2yqz.js} +10 -10
  116. package/dist/chunks/{filesystem-mb69jzyx.js → state-bcyyfzcr.js} +11 -11
  117. package/dist/chunks/{filesystem-1cbt02ab.js → state-be10j6na.js} +4 -4
  118. package/dist/chunks/{filesystem-b42hm3pt.js → state-bkd2snnm.js} +34 -34
  119. package/dist/chunks/{filesystem-gk1nhyk8.js → state-bnhkbqse.js} +12 -12
  120. package/dist/chunks/{filesystem-f30vev53.js → state-bnzx9dwt.js} +5 -5
  121. package/dist/chunks/{filesystem-bstexjd6.js → state-bstexjd6.js} +1 -1
  122. package/dist/chunks/{filesystem-xrktf55d.js → state-bthfbq8f.js} +8 -8
  123. package/dist/chunks/{filesystem-qez3dbcf.js → state-bwfkpp7v.js} +19 -19
  124. package/dist/chunks/{filesystem-gjdx25xd.js → state-byd6yge4.js} +18 -18
  125. package/dist/chunks/{filesystem-jw30vyg7.js → state-bzr3b510.js} +12 -12
  126. package/dist/chunks/{filesystem-e95pk719.js → state-c2dbbhpx.js} +19 -19
  127. package/dist/chunks/{filesystem-zsqyp6r6.js → state-c37n0erx.js} +16 -16
  128. package/dist/chunks/{filesystem-rkrz0p91.js → state-cfzf4vym.js} +26 -26
  129. package/dist/chunks/{filesystem-cwrgdav8.js → state-cwrgdav8.js} +2 -2
  130. package/dist/chunks/{filesystem-w2tkwyqq.js → state-cy49dps4.js} +24 -24
  131. package/dist/chunks/{filesystem-e0f7z133.js → state-d2k1f648.js} +5 -5
  132. package/dist/chunks/{filesystem-gn8tkhbf.js → state-d4v9tmah.js} +2 -2
  133. package/dist/chunks/{filesystem-rxh8q6q6.js → state-dcxawmaj.js} +12 -12
  134. package/dist/chunks/{filesystem-mvrp13k1.js → state-dd8xfryb.js} +72 -72
  135. package/dist/chunks/{filesystem-smhgajzj.js → state-dqhj5fe3.js} +24 -24
  136. package/dist/chunks/{filesystem-dt77769w.js → state-dt77769w.js} +1 -1
  137. package/dist/chunks/{filesystem-4bwwa86y.js → state-e255q57e.js} +27 -27
  138. package/dist/chunks/{filesystem-vb6dc4cy.js → state-e2sg7jdv.js} +26 -26
  139. package/dist/chunks/{filesystem-j1qc7ve1.js → state-e2wtfr6s.js} +5 -5
  140. package/dist/chunks/{filesystem-5d5m1bnp.js → state-e3k523fc.js} +8 -8
  141. package/dist/chunks/{filesystem-mak3w6xr.js → state-e4sxjejc.js} +18 -18
  142. package/dist/chunks/{filesystem-e834z07m.js → state-e834z07m.js} +1 -1
  143. package/dist/chunks/{filesystem-qmernfek.js → state-e8c43dd8.js} +33 -33
  144. package/dist/chunks/{filesystem-eavcrtrz.js → state-eavcrtrz.js} +2 -2
  145. package/dist/chunks/{filesystem-k4nexr3a.js → state-egfzd81v.js} +15 -15
  146. package/dist/chunks/{filesystem-b6apdh58.js → state-ehmn5k6t.js} +24 -24
  147. package/dist/chunks/{filesystem-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
  148. package/dist/chunks/state-exkwt65j.js +549 -0
  149. package/dist/chunks/{filesystem-fqm9ha3d.js → state-f27d80qk.js} +15 -15
  150. package/dist/chunks/{filesystem-4s2hr3n5.js → state-f4w02zpr.js} +9 -9
  151. package/dist/chunks/{filesystem-8rab1k8r.js → state-faqpyehj.js} +25 -25
  152. package/dist/chunks/{filesystem-02sby4r7.js → state-fde7s928.js} +4 -4
  153. package/dist/chunks/{filesystem-ywy4tt7w.js → state-fe1ga2fx.js} +12 -12
  154. package/dist/chunks/{filesystem-fffv3p7h.js → state-fffv3p7h.js} +1 -1
  155. package/dist/chunks/{filesystem-venm01wt.js → state-ffy3twbs.js} +15 -15
  156. package/dist/chunks/{filesystem-fg9p65nk.js → state-fg9p65nk.js} +2 -2
  157. package/dist/chunks/{filesystem-7n4dg79f.js → state-fjrrbk94.js} +8 -8
  158. package/dist/chunks/{filesystem-0y32geeb.js → state-frzebw3v.js} +39 -39
  159. package/dist/chunks/{filesystem-qdgzn1sm.js → state-fynmzd3d.js} +8 -8
  160. package/dist/chunks/{filesystem-fznmdakp.js → state-fznmdakp.js} +1 -1
  161. package/dist/chunks/{filesystem-tf33zyjq.js → state-g3hn69cm.js} +28 -28
  162. package/dist/chunks/{filesystem-mstrsafp.js → state-g6277kmk.js} +1 -1
  163. package/dist/chunks/{filesystem-m0vh58p1.js → state-g7jaz8th.js} +23 -23
  164. package/dist/chunks/{filesystem-rr9dce24.js → state-gahey6n0.js} +32 -32
  165. package/dist/chunks/{filesystem-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
  166. package/dist/chunks/{filesystem-851knd86.js → state-gcjdgkn2.js} +9 -9
  167. package/dist/chunks/{filesystem-c4qjnaqh.js → state-gfqgkchk.js} +18 -18
  168. package/dist/chunks/{filesystem-jjvvtnfs.js → state-gmemj5zs.js} +4 -4
  169. package/dist/chunks/{filesystem-9vag47b5.js → state-gr1m0gby.js} +13 -13
  170. package/dist/chunks/{filesystem-911syh2y.js → state-gv8f8cne.js} +16 -16
  171. package/dist/chunks/{filesystem-gxs71cxp.js → state-gxs71cxp.js} +1 -1
  172. package/dist/chunks/{filesystem-5mxg0681.js → state-h3gs7wxb.js} +46 -46
  173. package/dist/chunks/{filesystem-tvp0dzzs.js → state-h4k0743s.js} +2 -2
  174. package/dist/chunks/{filesystem-pvtdn4cq.js → state-h7wqn8vn.js} +4 -4
  175. package/dist/chunks/{filesystem-qfne6emw.js → state-h8n75vy4.js} +12 -12
  176. package/dist/chunks/{filesystem-epnmz11s.js → state-h8xga5q6.js} +16 -16
  177. package/dist/chunks/{filesystem-eab5a047.js → state-hb8y0qq0.js} +4 -4
  178. package/dist/chunks/{filesystem-fbghex4f.js → state-hbjv2bz0.js} +14 -14
  179. package/dist/chunks/{filesystem-y24dv8sg.js → state-hbnjngs9.js} +154 -154
  180. package/dist/chunks/{filesystem-6z13xg5v.js → state-hdhewkmr.js} +4 -4
  181. package/dist/chunks/{filesystem-20hgg5jf.js → state-hdreqhvr.js} +6 -6
  182. package/dist/chunks/{filesystem-hh7kjqtw.js → state-hh7kjqtw.js} +1 -1
  183. package/dist/chunks/{filesystem-8frsqbrq.js → state-hkkf7yjp.js} +46 -46
  184. package/dist/chunks/{filesystem-75sqr8bp.js → state-hktgtfdh.js} +23 -23
  185. package/dist/chunks/{filesystem-hpg1pkwy.js → state-hpg1pkwy.js} +1 -1
  186. package/dist/chunks/{filesystem-kf80r4v2.js → state-htep8p36.js} +9 -9
  187. package/dist/chunks/{filesystem-cp4fm39h.js → state-hvbybzt7.js} +14 -14
  188. package/dist/chunks/{filesystem-3jh66j93.js → state-hvyxpd0d.js} +16 -16
  189. package/dist/chunks/{filesystem-xzyap3kx.js → state-hw7nk7v4.js} +10 -10
  190. package/dist/chunks/{filesystem-tg1vr1qt.js → state-hy8c1z76.js} +8 -8
  191. package/dist/chunks/{filesystem-sf3p967d.js → state-j2xdm5pc.js} +26 -26
  192. package/dist/chunks/{filesystem-gcjvkr7v.js → state-j626ddfa.js} +30 -30
  193. package/dist/chunks/{filesystem-95kpfxbj.js → state-j9dm8chg.js} +3 -3
  194. package/dist/chunks/{filesystem-kkb7zeg6.js → state-jc512s3p.js} +8 -8
  195. package/dist/chunks/{filesystem-ag3jbkx2.js → state-jfmt1g8q.js} +8 -8
  196. package/dist/chunks/{filesystem-trs6degs.js → state-jg9csdcz.js} +31 -31
  197. package/dist/chunks/{filesystem-emb4gwtt.js → state-jjk0b4sp.js} +11 -11
  198. package/dist/chunks/{filesystem-gj1by2n5.js → state-jrxc3jgt.js} +3 -3
  199. package/dist/chunks/{filesystem-jtnps1zs.js → state-jtnps1zs.js} +2 -2
  200. package/dist/chunks/{filesystem-x7bzwpv5.js → state-kac21e5p.js} +21 -21
  201. package/dist/chunks/{filesystem-xbhg6p9k.js → state-kcsn6986.js} +13 -13
  202. package/dist/chunks/{filesystem-0zsaa7q1.js → state-kght8exf.js} +32 -32
  203. package/dist/chunks/{filesystem-e2r08tg1.js → state-kke5d6vq.js} +10 -10
  204. package/dist/chunks/{filesystem-3d2mgs8e.js → state-kmrkjxcg.js} +26 -26
  205. package/dist/chunks/{filesystem-jwxa6amh.js → state-kp4j94c3.js} +6 -6
  206. package/dist/chunks/{filesystem-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
  207. package/dist/chunks/{filesystem-kvgb5j4p.js → state-kta770dd.js} +26 -26
  208. package/dist/chunks/{filesystem-kzczzf4v.js → state-kzczzf4v.js} +1 -1
  209. package/dist/chunks/{filesystem-93xmyh8q.js → state-kzdam8c6.js} +5 -5
  210. package/dist/chunks/{filesystem-m1714858.js → state-m1714858.js} +1 -1
  211. package/dist/chunks/{filesystem-jjkv0xf5.js → state-m3np4vj9.js} +21 -21
  212. package/dist/chunks/{filesystem-1vz1ms8q.js → state-m4yf5w44.js} +4 -4
  213. package/dist/chunks/{filesystem-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  214. package/dist/chunks/{filesystem-8z6m94af.js → state-mb7mbhnz.js} +3 -3
  215. package/dist/chunks/{filesystem-9jzjkbjk.js → state-mcz497rw.js} +14 -14
  216. package/dist/chunks/{filesystem-fze2smjz.js → state-mdvtz8t2.js} +27 -27
  217. package/dist/chunks/{filesystem-gwgzfe9g.js → state-mq52ddsp.js} +11 -11
  218. package/dist/chunks/{filesystem-7kzq0522.js → state-mzfc5fp5.js} +16 -16
  219. package/dist/chunks/{filesystem-mzm8bzzq.js → state-mzm8bzzq.js} +1 -1
  220. package/dist/chunks/{filesystem-kmvhrvnb.js → state-n15nns0h.js} +16 -16
  221. package/dist/chunks/{filesystem-f3205147.js → state-n1gmb7dt.js} +27 -27
  222. package/dist/chunks/{filesystem-2xqw2xge.js → state-n4r92pqm.js} +34 -34
  223. package/dist/chunks/{filesystem-1qj53enc.js → state-n7m4s8k6.js} +44 -44
  224. package/dist/chunks/{filesystem-nah043kf.js → state-nah043kf.js} +1 -1
  225. package/dist/chunks/{filesystem-xzc3sbzj.js → state-ndnbjp53.js} +11 -11
  226. package/dist/chunks/{filesystem-99jjt1dz.js → state-nge6p6vt.js} +13 -17
  227. package/dist/chunks/{filesystem-p4cp848n.js → state-nkkeh327.js} +12 -12
  228. package/dist/chunks/{filesystem-8qv3wgvp.js → state-np1324p3.js} +32 -32
  229. package/dist/chunks/{filesystem-s064dzw5.js → state-nrtv0tdb.js} +18 -18
  230. package/dist/chunks/{filesystem-p015t6z3.js → state-p015t6z3.js} +2 -2
  231. package/dist/chunks/{filesystem-2swc61r8.js → state-p2zgsc1h.js} +11 -11
  232. package/dist/chunks/{filesystem-gmfpnxc6.js → state-p3w2d4be.js} +3 -3
  233. package/dist/chunks/{filesystem-m3dvshv8.js → state-pb811aet.js} +3 -3
  234. package/dist/chunks/{filesystem-pknna89w.js → state-pknna89w.js} +1 -1
  235. package/dist/chunks/{filesystem-vqgxj1ns.js → state-pmy97759.js} +20 -20
  236. package/dist/chunks/{filesystem-mrngp2m4.js → state-pwwe1nns.js} +17 -17
  237. package/dist/chunks/{filesystem-px7qpgcn.js → state-px7qpgcn.js} +1 -1
  238. package/dist/chunks/{filesystem-bn9c6z9f.js → state-px9xmdpy.js} +9 -9
  239. package/dist/chunks/{filesystem-bvjhtxhe.js → state-pxhs3dky.js} +9 -9
  240. package/dist/chunks/{filesystem-e8k50g8j.js → state-q1y1sb9f.js} +13 -13
  241. package/dist/chunks/{filesystem-epk2gzwc.js → state-q75c6g3b.js} +9 -9
  242. package/dist/chunks/{filesystem-h8ky61s5.js → state-qax8vj9h.js} +9 -9
  243. package/dist/chunks/{filesystem-fge9q26e.js → state-qf93q27e.js} +12 -12
  244. package/dist/chunks/{filesystem-k46dd5bg.js → state-qfz6bxfd.js} +4 -4
  245. package/dist/chunks/{filesystem-ckwjbbtz.js → state-qjrsxg5x.js} +25 -25
  246. package/dist/chunks/{filesystem-ztf6n3de.js → state-qkc3z5ds.js} +4 -4
  247. package/dist/chunks/state-qmh7vbk2.js +18 -0
  248. package/dist/chunks/{filesystem-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
  249. package/dist/chunks/{filesystem-qqvy8y24.js → state-qqvy8y24.js} +1 -1
  250. package/dist/chunks/{filesystem-c0scmcj4.js → state-qsn63thd.js} +6 -6
  251. package/dist/chunks/{filesystem-rhewgjmk.js → state-qvg3z4qx.js} +32 -32
  252. package/dist/chunks/{filesystem-bf4f9x8x.js → state-qvne8qvj.js} +12 -12
  253. package/dist/chunks/{filesystem-1n9etsek.js → state-qyf7yaea.js} +24 -24
  254. package/dist/chunks/{filesystem-bb0pw8zc.js → state-qzm6zhs2.js} +31 -31
  255. package/dist/chunks/{filesystem-vkde5m3x.js → state-r2sbm81b.js} +40 -40
  256. package/dist/chunks/{filesystem-50nzf0t7.js → state-r3851nav.js} +12 -12
  257. package/dist/chunks/{filesystem-fte7kk04.js → state-r58d8wgj.js} +41 -41
  258. package/dist/chunks/{filesystem-ja3akpp7.js → state-r6a1wz6v.js} +49 -49
  259. package/dist/chunks/{filesystem-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
  260. package/dist/chunks/{filesystem-rjkfg8bm.js → state-rf1cvd9q.js} +7 -7
  261. package/dist/chunks/{filesystem-xhza9kst.js → state-rm34t0fx.js} +3 -3
  262. package/dist/chunks/{filesystem-qw2t3dzn.js → state-rmv7fhs4.js} +6 -6
  263. package/dist/chunks/{filesystem-gbd4m27s.js → state-rqysqgs5.js} +3 -3
  264. package/dist/chunks/{filesystem-msvaqh22.js → state-rs34vge8.js} +29 -29
  265. package/dist/chunks/{filesystem-9hff56gs.js → state-rsjg3dzm.js} +28 -28
  266. package/dist/chunks/{filesystem-rt5dr6hb.js → state-rt5dr6hb.js} +1 -1
  267. package/dist/chunks/{filesystem-skxmj5sa.js → state-rte4cdn2.js} +18 -18
  268. package/dist/chunks/{filesystem-ftbvkkmh.js → state-s0ny4jqw.js} +9 -9
  269. package/dist/chunks/{filesystem-69gkttxc.js → state-s4sm4tqg.js} +5 -5
  270. package/dist/chunks/{filesystem-sa3fpqfw.js → state-sa3fpqfw.js} +2 -2
  271. package/dist/chunks/{filesystem-sbya78hr.js → state-sbya78hr.js} +1 -1
  272. package/dist/chunks/{filesystem-vg0erq9k.js → state-sbz71ybr.js} +3 -3
  273. package/dist/chunks/{filesystem-4e588zmg.js → state-sf8nbxbe.js} +25 -25
  274. package/dist/chunks/{filesystem-rgxvcxqq.js → state-sfn12v13.js} +8 -8
  275. package/dist/chunks/{filesystem-x7ddy58s.js → state-sng0s06c.js} +15 -15
  276. package/dist/chunks/{filesystem-nt907s04.js → state-sv909n4y.js} +3 -3
  277. package/dist/chunks/{filesystem-svcy3p9a.js → state-svcy3p9a.js} +1 -1
  278. package/dist/chunks/{filesystem-96djdqw5.js → state-szwm4crx.js} +4 -4
  279. package/dist/chunks/{filesystem-ew022wxf.js → state-t0nz5sn8.js} +20 -20
  280. package/dist/chunks/state-t27kz4yw.js +261 -0
  281. package/dist/chunks/{filesystem-j3sy6vx4.js → state-t2jtqtvw.js} +43 -43
  282. package/dist/chunks/{filesystem-mzpzfnav.js → state-t614117q.js} +30 -30
  283. package/dist/chunks/{filesystem-mv5c0h3x.js → state-t9pdq77j.js} +6 -6
  284. package/dist/chunks/{filesystem-tczq8hjw.js → state-tczq8hjw.js} +1 -1
  285. package/dist/chunks/{filesystem-x7de2wha.js → state-teav1bzy.js} +9 -9
  286. package/dist/chunks/{filesystem-smjfwefw.js → state-tjc4negf.js} +17 -17
  287. package/dist/chunks/{filesystem-q2nmdwkj.js → state-tjw6pmwz.js} +47 -47
  288. package/dist/chunks/{filesystem-j376ae4e.js → state-tr8x705m.js} +5 -5
  289. package/dist/chunks/{filesystem-ch4aym42.js → state-trx7nt34.js} +10 -10
  290. package/dist/chunks/{filesystem-twssxy5n.js → state-twssxy5n.js} +2 -2
  291. package/dist/chunks/{filesystem-9q8g9sv8.js → state-v0t96s7a.js} +4 -4
  292. package/dist/chunks/{filesystem-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
  293. package/dist/chunks/{filesystem-ra34yqmw.js → state-v80n1jgs.js} +6 -6
  294. package/dist/chunks/{filesystem-tyk53y9h.js → state-vbssec1d.js} +29 -29
  295. package/dist/chunks/{filesystem-gnbjw61v.js → state-vg3bhdbp.js} +4 -4
  296. package/dist/chunks/{filesystem-vjf35v1f.js → state-vjf35v1f.js} +1 -1
  297. package/dist/chunks/{filesystem-npk60vfe.js → state-vjm7mjrg.js} +86 -86
  298. package/dist/chunks/{filesystem-chxzm0p6.js → state-vknx7eh1.js} +6 -6
  299. package/dist/chunks/{filesystem-cr4rfj9z.js → state-vmxsyvj6.js} +4 -4
  300. package/dist/chunks/{filesystem-jy5kj527.js → state-vv26esct.js} +11 -11
  301. package/dist/chunks/{filesystem-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  302. package/dist/chunks/{filesystem-rhkye7cx.js → state-w3yh1k6j.js} +4 -4
  303. package/dist/chunks/{filesystem-53kbtjgk.js → state-w8m2qkq0.js} +8 -8
  304. package/dist/chunks/{filesystem-w8qtt4th.js → state-w8qtt4th.js} +1 -1
  305. package/dist/chunks/{filesystem-9yd64rvx.js → state-w9bn5hmw.js} +8 -8
  306. package/dist/chunks/{filesystem-wakvkjy4.js → state-wakvkjy4.js} +1 -1
  307. package/dist/chunks/state-wck9qmcv.js +26 -0
  308. package/dist/chunks/{filesystem-wd87259q.js → state-wd87259q.js} +1 -1
  309. package/dist/chunks/{filesystem-nx4vzyjd.js → state-wegkxhrn.js} +2 -2
  310. package/dist/chunks/{filesystem-7syp706q.js → state-wewpmm4b.js} +14 -14
  311. package/dist/chunks/{filesystem-qsdghx1p.js → state-wfdx5ztx.js} +4 -4
  312. package/dist/chunks/{filesystem-8t99kr38.js → state-wfs84ra6.js} +4 -4
  313. package/dist/chunks/{filesystem-wnhgecwx.js → state-wnhgecwx.js} +1 -1
  314. package/dist/chunks/{filesystem-x243gcnx.js → state-ws94v0ha.js} +19 -19
  315. package/dist/chunks/{filesystem-wvr8xscb.js → state-wvr8xscb.js} +1 -1
  316. package/dist/chunks/{filesystem-bst7srfy.js → state-x1vk2575.js} +9 -9
  317. package/dist/chunks/{filesystem-j6dbc10v.js → state-xay38q9g.js} +22 -22
  318. package/dist/chunks/{filesystem-c951tkze.js → state-xnyrm20a.js} +7 -7
  319. package/dist/chunks/{filesystem-cw6n7824.js → state-xxav5nwt.js} +5 -5
  320. package/dist/chunks/{filesystem-ztn69bwn.js → state-xz097ptw.js} +2 -2
  321. package/dist/chunks/{filesystem-8eb5dz3y.js → state-xzr21tmy.js} +43 -43
  322. package/dist/chunks/{filesystem-hczps8gs.js → state-y4narh25.js} +8 -8
  323. package/dist/chunks/{filesystem-bkxq22ca.js → state-y6n1sdeh.js} +79 -79
  324. package/dist/chunks/{filesystem-1y12nts7.js → state-y6rtrkcm.js} +12 -12
  325. package/dist/chunks/{filesystem-pxtfkpje.js → state-yara3q77.js} +2 -2
  326. package/dist/chunks/{filesystem-yb20nhc3.js → state-yb20nhc3.js} +1 -1
  327. package/dist/chunks/{filesystem-gb53k21n.js → state-yetjgbjc.js} +37 -37
  328. package/dist/chunks/{filesystem-tc9vsh1h.js → state-yhfwd5gc.js} +35 -35
  329. package/dist/chunks/{filesystem-2j17t4ma.js → state-yn2kpmvn.js} +20 -20
  330. package/dist/chunks/{filesystem-yr705xyq.js → state-yr705xyq.js} +1 -1
  331. package/dist/chunks/{filesystem-746ypka0.js → state-zc7avgqx.js} +16 -16
  332. package/dist/chunks/{filesystem-j9nxzz3g.js → state-ze75qvmd.js} +3 -3
  333. package/dist/chunks/{filesystem-xsvq7cjt.js → state-zfyb5tr4.js} +4 -4
  334. package/dist/chunks/{filesystem-9wb03w19.js → state-zqsp8fck.js} +4 -4
  335. package/dist/chunks/{filesystem-9fatc37w.js → state-zwgy8ndz.js} +54 -54
  336. package/dist/chunks/{filesystem-0b5y8qrs.js → state-zyfhsknv.js} +2 -2
  337. package/dist/chunks/{filesystem-fq7kzv5e.js → state-zzsw4thw.js} +33 -33
  338. package/dist/codemode/catalog.js +1 -1
  339. package/dist/codemode/execution.js +5 -5
  340. package/dist/codemode/fetch.js +145 -145
  341. package/dist/codemode/instructions.js +9 -9
  342. package/dist/codemode/tool.js +151 -151
  343. package/dist/command.js +90 -90
  344. package/dist/config/discovery.js +95 -95
  345. package/dist/config/integration.js +3 -3
  346. package/dist/config/managed.js +1 -1
  347. package/dist/config/markdown.js +1 -1
  348. package/dist/config/normalize.js +112 -112
  349. package/dist/config/plugin/agent.js +132 -132
  350. package/dist/config/plugin/command.js +231 -231
  351. package/dist/config/plugin/compaction.js +171 -171
  352. package/dist/config/plugin/compatibility.js +150 -150
  353. package/dist/config/plugin/entry-observer.js +1 -1
  354. package/dist/config/plugin/formatter.js +131 -131
  355. package/dist/config/plugin/image.js +130 -130
  356. package/dist/config/plugin/instruction.js +130 -130
  357. package/dist/config/plugin/location-watcher.js +130 -130
  358. package/dist/config/plugin/mcp.js +141 -141
  359. package/dist/config/plugin/policy.js +130 -130
  360. package/dist/config/plugin/provider.js +130 -130
  361. package/dist/config/plugin/reference.js +132 -132
  362. package/dist/config/plugin/shell.js +132 -132
  363. package/dist/config/plugin/skill-file.js +146 -146
  364. package/dist/config/plugin/skill-scan.js +1 -1
  365. package/dist/config/plugin/skill.js +153 -153
  366. package/dist/config/plugin/snapshot.js +130 -130
  367. package/dist/config/plugin/source.js +133 -133
  368. package/dist/config/plugin/tool-output.js +131 -131
  369. package/dist/config/plugin/websearch.js +131 -131
  370. package/dist/config/plugin/worktree.js +132 -132
  371. package/dist/config/variable.js +1 -1
  372. package/dist/config/watch.js +1 -1
  373. package/dist/config.js +135 -135
  374. package/dist/console-access.js +1 -1
  375. package/dist/credential/sql.js +2 -2
  376. package/dist/credential.js +94 -94
  377. package/dist/database/database.js +77 -77
  378. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  379. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  380. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  381. package/dist/database/drizzle/index.js +13 -13
  382. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  383. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  384. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  385. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  386. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  387. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  388. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  389. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  390. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  391. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  392. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  393. package/dist/database/drizzle.js +14 -14
  394. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  395. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  396. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  397. package/dist/database/migration/20260225215848_workspace.js +1 -1
  398. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  399. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  400. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  401. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  402. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  403. package/dist/database/migration/20260323234822_events.js +1 -1
  404. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  405. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  406. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  407. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  408. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  409. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  410. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  411. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  412. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  413. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  414. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  415. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  416. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  417. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  418. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  419. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  420. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  421. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  422. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  423. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  424. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  425. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  426. package/dist/database/migration/20260611035744_credential.js +1 -1
  427. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  428. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  429. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  430. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  431. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  432. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  433. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  434. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  435. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  436. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  437. package/dist/database/migration/20260812213948_worktree.js +1 -1
  438. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  439. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  440. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  441. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  442. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  443. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  444. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  445. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  446. package/dist/database/migration/20261025123711_blob.js +1 -1
  447. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  448. package/dist/database/migration/20261026223005_schedule.js +1 -1
  449. package/dist/database/migration/20261029002625_session_part.js +1 -1
  450. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  451. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  452. package/dist/database/migration/20261030054400_job.js +1 -1
  453. package/dist/database/migration.gen.js +60 -60
  454. package/dist/database/migration.js +62 -62
  455. package/dist/database/path.js +2 -2
  456. package/dist/database/schema.gen.js +1 -1
  457. package/dist/database/schema.sql.js +1 -1
  458. package/dist/database/sqlite.bun.js +1 -1
  459. package/dist/database/sqlite.js +1 -1
  460. package/dist/database/sqlite.node.js +1 -1
  461. package/dist/database/sqlite.workerd.js +1 -1
  462. package/dist/database/v1-migration.bun.js +100 -100
  463. package/dist/database/v1-migration.js +1 -1
  464. package/dist/effect/app-node-builder.js +428 -428
  465. package/dist/effect/app-node-platform.js +2 -2
  466. package/dist/effect/keyed-mutex.js +1 -1
  467. package/dist/effect/websocket-constructor.js +1 -1
  468. package/dist/environment/driver.js +1 -1
  469. package/dist/environment/environment.js +106 -106
  470. package/dist/environment/exec-defaults.js +2 -2
  471. package/dist/environment/files.js +1 -1
  472. package/dist/environment/index.js +106 -106
  473. package/dist/environment/local.js +2 -2
  474. package/dist/environment/memory.js +2 -2
  475. package/dist/environment/unavailable.js +1 -1
  476. package/dist/event/sql.js +1 -1
  477. package/dist/event-logger.js +81 -81
  478. package/dist/file-access.js +156 -156
  479. package/dist/file-mutation.js +107 -107
  480. package/dist/file-retention.js +1 -1
  481. package/dist/filesystem/fff.bun.js +2 -2
  482. package/dist/filesystem/fff.js +1 -1
  483. package/dist/filesystem/fff.node.js +2 -2
  484. package/dist/filesystem/fff.workerd.js +2 -2
  485. package/dist/filesystem/file-watch.js +88 -88
  486. package/dist/filesystem/location-watcher-policy.js +6 -6
  487. package/dist/filesystem/location-watcher.js +243 -243
  488. package/dist/filesystem/protected.js +1 -1
  489. package/dist/filesystem/search.js +112 -112
  490. package/dist/filesystem/watcher-binding.js +1 -1
  491. package/dist/filesystem/watcher.js +11 -11
  492. package/dist/filesystem.js +115 -115
  493. package/dist/form.js +95 -95
  494. package/dist/formatter/builtins.js +4 -4
  495. package/dist/formatter.js +98 -98
  496. package/dist/generate.js +120 -120
  497. package/dist/git.js +11 -11
  498. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  499. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  500. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  501. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  502. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  503. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  504. package/dist/github-copilot/copilot-provider.js +17 -17
  505. package/dist/github-copilot/models.js +104 -104
  506. package/dist/github-copilot/openai-compatible-error.js +1 -1
  507. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  508. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  509. package/dist/github-copilot/responses/openai-error.js +1 -1
  510. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  511. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  512. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  513. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  514. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  515. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  516. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  517. package/dist/image/notice.js +1 -1
  518. package/dist/image/photon-normalize.js +1 -1
  519. package/dist/image/photon-worker.js +1 -1
  520. package/dist/image/photon.js +4 -4
  521. package/dist/image.js +6 -6
  522. package/dist/instance/service.js +5 -5
  523. package/dist/instance.js +419 -419
  524. package/dist/instruction-discovery.js +93 -93
  525. package/dist/instructions/builtins.js +100 -100
  526. package/dist/instructions/index.js +3 -3
  527. package/dist/integration/connection.js +1 -1
  528. package/dist/integration.js +92 -92
  529. package/dist/job/sql.js +2 -2
  530. package/dist/job.js +86 -86
  531. package/dist/kv/sql.js +2 -2
  532. package/dist/kv.js +84 -84
  533. package/dist/location-activity.js +172 -172
  534. package/dist/location-lifecycle.js +150 -150
  535. package/dist/location-service-map.js +99 -99
  536. package/dist/location-services.js +416 -416
  537. package/dist/location.js +98 -98
  538. package/dist/managed-policy.js +3 -3
  539. package/dist/mcp/client.js +104 -104
  540. package/dist/mcp/index.js +122 -122
  541. package/dist/mcp/instructions.js +179 -179
  542. package/dist/mcp/oauth.js +89 -89
  543. package/dist/mcp/socket-client.js +1 -1
  544. package/dist/mcp/stdio.js +103 -103
  545. package/dist/mime.js +1 -1
  546. package/dist/modal/models.js +104 -104
  547. package/dist/model-resolver.js +112 -112
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +113 -113
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +115 -115
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/permission/saved.js +89 -89
  554. package/dist/permission/sql.js +5 -5
  555. package/dist/permission.js +149 -149
  556. package/dist/persistent-pty/binary.bun.js +1 -1
  557. package/dist/persistent-pty/daemon.js +1 -1
  558. package/dist/persistent-pty/index.js +99 -99
  559. package/dist/persistent-pty/pty-binding.js +1 -1
  560. package/dist/persistent-pty.js +86 -86
  561. package/dist/plugin/agent.js +87 -87
  562. package/dist/plugin/command.js +115 -115
  563. package/dist/plugin/goal.js +3 -3
  564. package/dist/plugin/hooks.js +5 -5
  565. package/dist/plugin/host.js +236 -236
  566. package/dist/plugin/identity.js +5 -5
  567. package/dist/plugin/instance.js +5 -5
  568. package/dist/plugin/internal.js +395 -395
  569. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  570. package/dist/plugin/models-dev.js +110 -110
  571. package/dist/plugin/module.js +129 -129
  572. package/dist/plugin/optimize.js +2 -2
  573. package/dist/plugin/plan.js +146 -146
  574. package/dist/plugin/promise.js +1 -1
  575. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  576. package/dist/plugin/provider/azure.js +130 -130
  577. package/dist/plugin/provider/cerebras.js +1 -1
  578. package/dist/plugin/provider/chatgpt.js +130 -130
  579. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  580. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  581. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  582. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  585. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  587. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  588. package/dist/plugin/provider/claude-agent/index.js +145 -145
  589. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  590. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  591. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  592. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  593. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  594. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  595. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  596. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  597. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  598. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  599. package/dist/plugin/provider/claude-agent/session.js +112 -112
  600. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  601. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  602. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  603. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  604. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  605. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  607. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  608. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  610. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  611. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  612. package/dist/plugin/provider/configured.js +126 -126
  613. package/dist/plugin/provider/credential-settings.js +85 -85
  614. package/dist/plugin/provider/databricks.js +1 -1
  615. package/dist/plugin/provider/digitalocean.js +106 -106
  616. package/dist/plugin/provider/dynamic.js +2 -2
  617. package/dist/plugin/provider/github-copilot.js +108 -108
  618. package/dist/plugin/provider/gitlab.js +107 -107
  619. package/dist/plugin/provider/google-vertex.js +127 -127
  620. package/dist/plugin/provider/kilo.js +1 -1
  621. package/dist/plugin/provider/llmgateway.js +89 -89
  622. package/dist/plugin/provider/lmstudio.js +139 -139
  623. package/dist/plugin/provider/local.js +136 -136
  624. package/dist/plugin/provider/modal.js +105 -105
  625. package/dist/plugin/provider/neon.js +1 -1
  626. package/dist/plugin/provider/nvidia.js +1 -1
  627. package/dist/plugin/provider/ollama.js +139 -139
  628. package/dist/plugin/provider/openai-context-caps.js +103 -103
  629. package/dist/plugin/provider/openai.js +130 -130
  630. package/dist/plugin/provider/opencode.js +132 -132
  631. package/dist/plugin/provider/openrouter.js +104 -104
  632. package/dist/plugin/provider/poe.js +90 -90
  633. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  634. package/dist/plugin/provider/sap-ai-core.js +104 -104
  635. package/dist/plugin/provider/sdk-factory.js +1 -1
  636. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  637. package/dist/plugin/provider/vllm.js +139 -139
  638. package/dist/plugin/provider/xai.js +104 -104
  639. package/dist/plugin/provider/zenmux.js +1 -1
  640. package/dist/plugin/provider.js +210 -210
  641. package/dist/plugin/sdk.js +89 -89
  642. package/dist/plugin/service.js +3 -3
  643. package/dist/plugin/skill.js +149 -149
  644. package/dist/plugin/source-directory.js +1 -1
  645. package/dist/plugin/supervisor.js +405 -405
  646. package/dist/plugin/tool-input-repair.js +4 -4
  647. package/dist/plugin/update.js +6 -6
  648. package/dist/plugin/vcs/git.js +99 -99
  649. package/dist/plugin/vcs/hg.js +99 -99
  650. package/dist/plugin/verbosity.js +106 -106
  651. package/dist/plugin/warming.js +128 -128
  652. package/dist/plugin/websearch/exa.js +7 -7
  653. package/dist/plugin/websearch/firecrawl.js +8 -8
  654. package/dist/plugin/websearch/index.js +9 -9
  655. package/dist/plugin/websearch/mcp.js +4 -4
  656. package/dist/plugin/websearch/parallel.js +8 -8
  657. package/dist/plugin/websearch/tavily.js +6 -6
  658. package/dist/plugin/websearch/tinyfish.js +8 -8
  659. package/dist/plugin.js +247 -247
  660. package/dist/project/icon.js +5 -5
  661. package/dist/project/schema.js +2 -2
  662. package/dist/project/sql.js +4 -4
  663. package/dist/project.js +99 -99
  664. package/dist/provider.js +112 -112
  665. package/dist/pty/protocol.js +1 -1
  666. package/dist/pty/ticket.js +1 -1
  667. package/dist/pty.js +111 -111
  668. package/dist/reference/instructions.js +101 -101
  669. package/dist/reference.js +99 -99
  670. package/dist/repository-cache.js +93 -93
  671. package/dist/repository.js +1 -1
  672. package/dist/ripgrep/binary.js +2 -2
  673. package/dist/ripgrep.js +108 -108
  674. package/dist/rpc.js +99 -99
  675. package/dist/schedule/check.js +241 -241
  676. package/dist/schedule/sql.js +6 -6
  677. package/dist/schedule.js +255 -255
  678. package/dist/schema.js +1 -1
  679. package/dist/session/affinity.js +1 -1
  680. package/dist/session/background.js +1 -1
  681. package/dist/session/blob.js +129 -129
  682. package/dist/session/command.js +85 -85
  683. package/dist/session/compaction.js +173 -173
  684. package/dist/session/context.js +196 -196
  685. package/dist/session/diff.js +101 -101
  686. package/dist/session/environment.js +5 -5
  687. package/dist/session/error.js +5 -5
  688. package/dist/session/event.js +1 -1
  689. package/dist/session/execution/restart.js +239 -239
  690. package/dist/session/execution.js +165 -165
  691. package/dist/session/generate.js +198 -198
  692. package/dist/session/history.js +136 -136
  693. package/dist/session/inbox.js +149 -149
  694. package/dist/session/info.js +3 -3
  695. package/dist/session/instruction-entry.js +86 -86
  696. package/dist/session/instruction-state.js +8 -8
  697. package/dist/session/instructions.js +141 -141
  698. package/dist/session/message-updater.js +4 -4
  699. package/dist/session/message.js +1 -1
  700. package/dist/session/model-request.js +168 -168
  701. package/dist/session/model-transport.js +9 -9
  702. package/dist/session/move.js +165 -165
  703. package/dist/session/projector.js +143 -143
  704. package/dist/session/prompt.js +148 -148
  705. package/dist/session/recent-text.js +1 -1
  706. package/dist/session/revert.js +139 -139
  707. package/dist/session/run-coordinator.js +3 -3
  708. package/dist/session/runner/index.js +3 -3
  709. package/dist/session/runner/llm.js +250 -250
  710. package/dist/session/runner/max-steps.js +1 -1
  711. package/dist/session/runner/model.js +113 -113
  712. package/dist/session/runner/publish-llm-event.js +149 -149
  713. package/dist/session/runner/retry.js +5 -5
  714. package/dist/session/runner/step.js +163 -163
  715. package/dist/session/runner/to-llm-message.js +137 -137
  716. package/dist/session/schema.js +1 -1
  717. package/dist/session/session.js +181 -181
  718. package/dist/session/shell.js +144 -144
  719. package/dist/session/skill.js +147 -147
  720. package/dist/session/sql.js +5 -5
  721. package/dist/session/stats.js +84 -84
  722. package/dist/session/store.js +142 -142
  723. package/dist/session/stored.js +2 -2
  724. package/dist/session/subagent-completion.js +1 -1
  725. package/dist/session/subagent-job.js +229 -229
  726. package/dist/session/system-prompt.js +1 -1
  727. package/dist/session/title.js +202 -202
  728. package/dist/session/to-session-error.js +148 -148
  729. package/dist/session/transfer.js +235 -235
  730. package/dist/session/usage.js +1 -1
  731. package/dist/session.js +231 -231
  732. package/dist/shell/parse.js +6 -6
  733. package/dist/shell/result.js +1 -1
  734. package/dist/shell/scan.js +1 -1
  735. package/dist/shell/select.js +15 -15
  736. package/dist/shell.js +146 -146
  737. package/dist/skill/discovery.js +6 -6
  738. package/dist/skill/instructions.js +149 -149
  739. package/dist/skill.js +150 -150
  740. package/dist/snapshot.js +100 -100
  741. package/dist/state.js +1 -1
  742. package/dist/tool/html-markdown.js +1 -1
  743. package/dist/tool/http-body.js +1 -1
  744. package/dist/tool/mcp.js +176 -176
  745. package/dist/tool/plugin/artifact.js +228 -228
  746. package/dist/tool/plugin/edit.js +162 -162
  747. package/dist/tool/plugin/file-diff.js +1 -1
  748. package/dist/tool/plugin/glob.js +168 -168
  749. package/dist/tool/plugin/grep.js +168 -168
  750. package/dist/tool/plugin/image-generate.js +239 -239
  751. package/dist/tool/plugin/mcp-resource.js +162 -162
  752. package/dist/tool/plugin/opencode.js +161 -161
  753. package/dist/tool/plugin/patch.js +166 -166
  754. package/dist/tool/plugin/question.js +144 -144
  755. package/dist/tool/plugin/read.js +169 -169
  756. package/dist/tool/plugin/schedule.js +247 -247
  757. package/dist/tool/plugin/shell.js +235 -235
  758. package/dist/tool/plugin/skill.js +155 -155
  759. package/dist/tool/plugin/subagent.js +236 -236
  760. package/dist/tool/plugin/todo.js +153 -153
  761. package/dist/tool/plugin/webfetch.js +153 -153
  762. package/dist/tool/plugin/websearch.js +155 -155
  763. package/dist/tool/plugin/write.js +166 -166
  764. package/dist/tool/read-filesystem.js +113 -113
  765. package/dist/tool/runtime.js +1 -1
  766. package/dist/tool-output.js +7 -7
  767. package/dist/tool.js +157 -157
  768. package/dist/usage-limits.js +100 -100
  769. package/dist/util/error-summary.js +1 -1
  770. package/dist/util/git-executable.js +3 -3
  771. package/dist/util/lazy.js +1 -1
  772. package/dist/util/slug.js +1 -1
  773. package/dist/util/token.js +1 -1
  774. package/dist/util/which.js +1 -1
  775. package/dist/util/wildcard.js +1 -1
  776. package/dist/v1/config/agent.js +5 -5
  777. package/dist/v1/config/command.js +3 -3
  778. package/dist/v1/config/mcp.js +4 -4
  779. package/dist/v1/config/migrate.js +105 -105
  780. package/dist/v1/config/permission.js +3 -3
  781. package/dist/v1/config/plugin.js +3 -3
  782. package/dist/v1/config/provider-options.js +1 -1
  783. package/dist/v1/config/provider.js +4 -4
  784. package/dist/variant.js +104 -104
  785. package/dist/vcs/patch.js +1 -1
  786. package/dist/vcs.js +102 -102
  787. package/dist/voice.js +101 -101
  788. package/dist/websearch.js +99 -99
  789. package/dist/wellknown/plugin.js +87 -87
  790. package/dist/wellknown.js +90 -90
  791. package/dist/workspace/driver.js +3 -3
  792. package/dist/workspace/sql.js +1 -1
  793. package/dist/workspace.js +93 -93
  794. package/dist/worktree/directory.js +2 -2
  795. package/dist/worktree/git.js +9 -9
  796. package/dist/worktree/sql.js +5 -5
  797. package/dist/worktree/strategies.js +102 -102
  798. package/dist/worktree.js +107 -107
  799. package/package.json +8 -8
  800. package/dist/chunks/filesystem-2db194wd.js +0 -261
  801. package/dist/chunks/filesystem-86kd7kzh.js +0 -16
  802. package/dist/chunks/filesystem-ev660z6k.js +0 -18
  803. package/dist/chunks/filesystem-vqkw5cgx.js +0 -549
  804. package/dist/chunks/filesystem-wefpawbm.js +0 -26
  805. /package/dist/chunks/{filesystem-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  806. /package/dist/chunks/{filesystem-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  807. /package/dist/chunks/{filesystem-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  808. /package/dist/chunks/{filesystem-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  809. /package/dist/chunks/{filesystem-1kah00gy.js → state-1kah00gy.js} +0 -0
  810. /package/dist/chunks/{filesystem-1pevy3nx.js → state-1pevy3nx.js} +0 -0
  811. /package/dist/chunks/{filesystem-24dcb14g.js → state-24dcb14g.js} +0 -0
  812. /package/dist/chunks/{filesystem-2710q6r3.js → state-2710q6r3.js} +0 -0
  813. /package/dist/chunks/{filesystem-2bv980vf.js → state-2bv980vf.js} +0 -0
  814. /package/dist/chunks/{filesystem-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  815. /package/dist/chunks/{filesystem-359p4xyc.js → state-359p4xyc.js} +0 -0
  816. /package/dist/chunks/{filesystem-3asan66x.js → state-3asan66x.js} +0 -0
  817. /package/dist/chunks/{filesystem-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  818. /package/dist/chunks/{filesystem-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  819. /package/dist/chunks/{filesystem-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  820. /package/dist/chunks/{filesystem-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  821. /package/dist/chunks/{filesystem-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
  822. /package/dist/chunks/{filesystem-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  823. /package/dist/chunks/{filesystem-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  824. /package/dist/chunks/{filesystem-53557ph1.js → state-53557ph1.js} +0 -0
  825. /package/dist/chunks/{filesystem-550bvhaj.js → state-550bvhaj.js} +0 -0
  826. /package/dist/chunks/{filesystem-5w3e23ze.js → state-5w3e23ze.js} +0 -0
  827. /package/dist/chunks/{filesystem-6agm2x70.js → state-6agm2x70.js} +0 -0
  828. /package/dist/chunks/{filesystem-6prwharc.js → state-6prwharc.js} +0 -0
  829. /package/dist/chunks/{filesystem-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  830. /package/dist/chunks/{filesystem-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  831. /package/dist/chunks/{filesystem-7m9af43g.js → state-7m9af43g.js} +0 -0
  832. /package/dist/chunks/{filesystem-7stb81gk.js → state-7stb81gk.js} +0 -0
  833. /package/dist/chunks/{filesystem-822emrt2.js → state-822emrt2.js} +0 -0
  834. /package/dist/chunks/{filesystem-84wd9syh.js → state-84wd9syh.js} +0 -0
  835. /package/dist/chunks/{filesystem-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  836. /package/dist/chunks/{filesystem-8n3pysct.js → state-8n3pysct.js} +0 -0
  837. /package/dist/chunks/{filesystem-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  838. /package/dist/chunks/{filesystem-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  839. /package/dist/chunks/{filesystem-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  840. /package/dist/chunks/{filesystem-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  841. /package/dist/chunks/{filesystem-af5trqkr.js → state-af5trqkr.js} +0 -0
  842. /package/dist/chunks/{filesystem-afrmfg78.js → state-afrmfg78.js} +0 -0
  843. /package/dist/chunks/{filesystem-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  844. /package/dist/chunks/{filesystem-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  845. /package/dist/chunks/{filesystem-beh6qq61.js → state-beh6qq61.js} +0 -0
  846. /package/dist/chunks/{filesystem-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  847. /package/dist/chunks/{filesystem-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  848. /package/dist/chunks/{filesystem-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  849. /package/dist/chunks/{filesystem-cqv5kn06.js → state-cqv5kn06.js} +0 -0
  850. /package/dist/chunks/{filesystem-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  851. /package/dist/chunks/{filesystem-d9fn303g.js → state-d9fn303g.js} +0 -0
  852. /package/dist/chunks/{filesystem-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  853. /package/dist/chunks/{filesystem-dap0rakb.js → state-dap0rakb.js} +0 -0
  854. /package/dist/chunks/{filesystem-df08tz66.js → state-df08tz66.js} +0 -0
  855. /package/dist/chunks/{filesystem-dy18nga0.js → state-dy18nga0.js} +0 -0
  856. /package/dist/chunks/{filesystem-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  857. /package/dist/chunks/{filesystem-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  858. /package/dist/chunks/{filesystem-ean2d8b5.js → state-ean2d8b5.js} +0 -0
  859. /package/dist/chunks/{filesystem-ec1grn59.js → state-ec1grn59.js} +0 -0
  860. /package/dist/chunks/{filesystem-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  861. /package/dist/chunks/{filesystem-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  862. /package/dist/chunks/{filesystem-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  863. /package/dist/chunks/{filesystem-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  864. /package/dist/chunks/{filesystem-faypxj3z.js → state-faypxj3z.js} +0 -0
  865. /package/dist/chunks/{filesystem-fd410y7t.js → state-fd410y7t.js} +0 -0
  866. /package/dist/chunks/{filesystem-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
  867. /package/dist/chunks/{filesystem-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  868. /package/dist/chunks/{filesystem-g86h250q.js → state-g86h250q.js} +0 -0
  869. /package/dist/chunks/{filesystem-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  870. /package/dist/chunks/{filesystem-gftt206x.js → state-gftt206x.js} +0 -0
  871. /package/dist/chunks/{filesystem-hcxmzztb.js → state-hcxmzztb.js} +0 -0
  872. /package/dist/chunks/{filesystem-hk9envan.js → state-hk9envan.js} +0 -0
  873. /package/dist/chunks/{filesystem-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  874. /package/dist/chunks/{filesystem-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  875. /package/dist/chunks/{filesystem-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  876. /package/dist/chunks/{filesystem-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  877. /package/dist/chunks/{filesystem-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  878. /package/dist/chunks/{filesystem-jwr30sdr.js → state-jwr30sdr.js} +0 -0
  879. /package/dist/chunks/{filesystem-jze0r7bz.js → state-jze0r7bz.js} +0 -0
  880. /package/dist/chunks/{filesystem-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  881. /package/dist/chunks/{filesystem-m18g726c.js → state-m18g726c.js} +0 -0
  882. /package/dist/chunks/{filesystem-mp448xyj.js → state-mp448xyj.js} +0 -0
  883. /package/dist/chunks/{filesystem-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  884. /package/dist/chunks/{filesystem-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  885. /package/dist/chunks/{filesystem-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  886. /package/dist/chunks/{filesystem-nh4v3znn.js → state-nh4v3znn.js} +0 -0
  887. /package/dist/chunks/{filesystem-njntx4h6.js → state-njntx4h6.js} +0 -0
  888. /package/dist/chunks/{filesystem-p71gwv9c.js → state-p71gwv9c.js} +0 -0
  889. /package/dist/chunks/{filesystem-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  890. /package/dist/chunks/{filesystem-q74kybfr.js → state-q74kybfr.js} +0 -0
  891. /package/dist/chunks/{filesystem-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  892. /package/dist/chunks/{filesystem-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  893. /package/dist/chunks/{filesystem-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  894. /package/dist/chunks/{filesystem-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  895. /package/dist/chunks/{filesystem-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  896. /package/dist/chunks/{filesystem-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  897. /package/dist/chunks/{filesystem-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  898. /package/dist/chunks/{filesystem-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  899. /package/dist/chunks/{filesystem-t03h4f5z.js → state-t03h4f5z.js} +0 -0
  900. /package/dist/chunks/{filesystem-ty7weeps.js → state-ty7weeps.js} +0 -0
  901. /package/dist/chunks/{filesystem-ve7vex1e.js → state-ve7vex1e.js} +0 -0
  902. /package/dist/chunks/{filesystem-vnjc296t.js → state-vnjc296t.js} +0 -0
  903. /package/dist/chunks/{filesystem-vtarvj67.js → state-vtarvj67.js} +0 -0
  904. /package/dist/chunks/{filesystem-w803qqfp.js → state-w803qqfp.js} +0 -0
  905. /package/dist/chunks/{filesystem-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  906. /package/dist/chunks/{filesystem-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  907. /package/dist/chunks/{filesystem-wtztk69x.js → state-wtztk69x.js} +0 -0
  908. /package/dist/chunks/{filesystem-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  909. /package/dist/chunks/{filesystem-x61499pn.js → state-x61499pn.js} +0 -0
  910. /package/dist/chunks/{filesystem-y44na4kk.js → state-y44na4kk.js} +0 -0
  911. /package/dist/chunks/{filesystem-y8f7s663.js → state-y8f7s663.js} +0 -0
  912. /package/dist/chunks/{filesystem-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  913. /package/dist/chunks/{filesystem-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  914. /package/dist/chunks/{filesystem-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-xzyap3kx.js";
3
+ } from "./state-hw7nk7v4.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./filesystem-3v8g72cx.js";
6
+ } from "./state-3v8g72cx.js";
7
7
  import {
8
8
  MAX_RESPONSE_BYTES2,
9
9
  call2
10
- } from "./filesystem-5enarcya.js";
10
+ } from "./state-40za9wsf.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin26,
18
+ Plugin: () => Plugin7,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint6
20
+ endpoint: () => endpoint5
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Duration, Effect, Option, Schema } from "effect";
24
24
  import { HttpClient, HttpClientRequest } from "effect/http";
25
- var endpoint6 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint5 = "https://agent.tinyfish.ai/mcp";
26
26
  var McpInput = Schema.Struct({
27
27
  query: Schema.String
28
28
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin26 = define({
54
+ var Plugin7 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -78,7 +78,7 @@ var Plugin26 = define({
78
78
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
79
79
  };
80
80
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
81
- const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
82
82
  const content = result?.content.find((item) => item.text);
83
83
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
84
84
  return response?.results.map((item) => ({
@@ -94,7 +94,7 @@ var Plugin26 = define({
94
94
  });
95
95
  var initialize = (http, headers) => Effect.gen(function* () {
96
96
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
97
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
98
98
  jsonrpc: "2.0",
99
99
  id: 1,
100
100
  method: "initialize",
@@ -109,7 +109,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
112
- const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
112
+ const notification = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
113
113
  jsonrpc: "2.0",
114
114
  method: "notifications/initialized"
115
115
  }));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint6, Plugin26, exports_tinyfish };
123
+ export { endpoint5, Plugin7, exports_tinyfish };
@@ -1,86 +1,86 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./filesystem-xhza9kst.js";
4
+ } from "./state-rm34t0fx.js";
5
5
  import {
6
6
  Service88,
7
7
  node91
8
- } from "./filesystem-pvtdn4cq.js";
8
+ } from "./state-h7wqn8vn.js";
9
9
  import {
10
10
  create4
11
- } from "./filesystem-40y6dtc2.js";
11
+ } from "./state-40y6dtc2.js";
12
12
  import {
13
13
  ID13,
14
- Service64,
15
- node66
16
- } from "./filesystem-e2r08tg1.js";
14
+ Service68,
15
+ node70
16
+ } from "./state-kke5d6vq.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./filesystem-p015t6z3.js";
19
+ } from "./state-p015t6z3.js";
20
20
  import {
21
21
  join2
22
- } from "./filesystem-dv96216k.js";
22
+ } from "./state-9sy1j1hj.js";
23
23
  import {
24
- Service77,
25
- node80
26
- } from "./filesystem-0zsaa7q1.js";
24
+ Service74,
25
+ node76
26
+ } from "./state-kght8exf.js";
27
27
  import {
28
28
  estimate2
29
- } from "./filesystem-8wtp7s3z.js";
29
+ } from "./state-8wtp7s3z.js";
30
30
  import {
31
31
  SessionEvent2
32
- } from "./filesystem-ec1grn59.js";
32
+ } from "./state-ec1grn59.js";
33
33
  import {
34
34
  kept2,
35
35
  messageToText2,
36
36
  serializeToolContent2
37
- } from "./filesystem-v2r1d0zg.js";
37
+ } from "./state-v2r1d0zg.js";
38
38
  import {
39
39
  isNativeCompaction2,
40
40
  load6
41
- } from "./filesystem-bst7srfy.js";
41
+ } from "./state-x1vk2575.js";
42
42
  import {
43
- Service50,
44
- node51
45
- } from "./filesystem-mrngp2m4.js";
43
+ Service59,
44
+ node61
45
+ } from "./state-pwwe1nns.js";
46
46
  import {
47
47
  toSessionError2,
48
48
  contentFilterError2
49
- } from "./filesystem-69gkttxc.js";
49
+ } from "./state-s4sm4tqg.js";
50
50
  import {
51
51
  toLLMMessages2
52
- } from "./filesystem-ztn69bwn.js";
52
+ } from "./state-xz097ptw.js";
53
53
  import {
54
54
  outputLimit2,
55
55
  baseTranscript2,
56
56
  unsupportedParts2,
57
57
  boundImages2,
58
- Service39,
59
- node43
60
- } from "./filesystem-tyk53y9h.js";
58
+ Service41,
59
+ node44
60
+ } from "./state-vbssec1d.js";
61
61
  import {
62
62
  isRetryable2,
63
63
  policy2
64
- } from "./filesystem-qw2t3dzn.js";
64
+ } from "./state-rmv7fhs4.js";
65
65
  import {
66
66
  calculateCost2,
67
67
  record2,
68
68
  add2
69
- } from "./filesystem-4f25tdd0.js";
69
+ } from "./state-4f25tdd0.js";
70
70
  import {
71
71
  __export
72
- } from "./filesystem-9rqn6x4v.js";
72
+ } from "./state-9rqn6x4v.js";
73
73
 
74
74
  // src/session/compaction.ts
75
75
  var exports_compaction2 = {};
76
76
  __export(exports_compaction2, {
77
- Service: () => Service12,
77
+ Service: () => Service9,
78
78
  SessionCompaction: () => exports_compaction2,
79
79
  buildPrompt: () => buildPrompt2,
80
80
  estimateContext: () => estimateContext2,
81
81
  estimatePrompt: () => estimatePrompt2,
82
- layer: () => layer8,
83
- node: () => node14,
82
+ layer: () => layer7,
83
+ node: () => node11,
84
84
  recentUserMessages: () => recentUserMessages2
85
85
  });
86
86
  import {
@@ -97,7 +97,7 @@ import {
97
97
  } from "@opencode/ai/effect";
98
98
  import { makeLocationNode } from "@opencode/util/effect/app-node";
99
99
  import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
100
- class Service12 extends Context.Service()("@opencode/SessionCompaction") {
100
+ class Service9 extends Context.Service()("@opencode/SessionCompaction") {
101
101
  }
102
102
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
103
103
  var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
@@ -188,14 +188,14 @@ var buildPrompt2 = (update, legacy = false) => {
188
188
  };
189
189
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
190
190
  var LEGACY_HEADING = "## Additional Context";
191
- var layer8 = Layer.effect(Service12, Effect.gen(function* () {
192
- const agents = yield* Service64;
191
+ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
192
+ const agents = yield* Service68;
193
193
  const bus = yield* Service88;
194
194
  const llm = yield* LLMClient.Service;
195
- const catalog = yield* Service77;
196
- const models = yield* Service50;
195
+ const catalog = yield* Service74;
196
+ const models = yield* Service59;
197
197
  const db = (yield* Service89).db;
198
- const requests = yield* Service39;
198
+ const requests = yield* Service41;
199
199
  const scope = yield* Scope.Scope;
200
200
  const precomputed = new Map;
201
201
  const state = create4({
@@ -589,17 +589,17 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
589
589
  }, { metadata: outcome.metadata });
590
590
  return { status: "completed" };
591
591
  });
592
- return Service12.of({
592
+ return Service9.of({
593
593
  transform: state.transform,
594
594
  reload: state.reload,
595
595
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
596
596
  precompute
597
597
  });
598
598
  }));
599
- var node14 = makeLocationNode({
600
- service: Service12,
601
- layer: layer8,
602
- deps: [node66, node91, node92, llmClient2, node80, node43, node51]
599
+ var node11 = makeLocationNode({
600
+ service: Service9,
601
+ layer: layer7,
602
+ deps: [node70, node91, node92, llmClient2, node76, node44, node61]
603
603
  });
604
604
  var heldIndex = (held, context) => {
605
605
  if (held.firstID !== context.messages[0]?.id || held.initial !== join2(context.initial))
@@ -790,4 +790,4 @@ var estimateMedia = (mime) => {
790
790
  return 0;
791
791
  };
792
792
 
793
- export { Service12, buildPrompt2, layer8, node14, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
793
+ export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  Service88,
3
3
  node91
4
- } from "./filesystem-pvtdn4cq.js";
4
+ } from "./state-h7wqn8vn.js";
5
5
  import {
6
- ID22,
7
- Event21,
8
- Service85,
9
- node88
10
- } from "./filesystem-tf33zyjq.js";
6
+ ID21,
7
+ Event20,
8
+ Service86,
9
+ node89
10
+ } from "./state-g3hn69cm.js";
11
11
  import {
12
- Service67,
13
- node69
14
- } from "./filesystem-7dmr4t8m.js";
12
+ Service70,
13
+ node72
14
+ } from "./state-056p44da.js";
15
15
  import {
16
16
  AbsolutePath2
17
- } from "./filesystem-z5v4ffb3.js";
17
+ } from "./state-z5v4ffb3.js";
18
18
  import {
19
- Service79,
20
- node82
21
- } from "./filesystem-54y7003s.js";
19
+ Service81,
20
+ node84
21
+ } from "./state-a0g2880y.js";
22
22
  import {
23
23
  substitute2
24
- } from "./filesystem-7w2ypzdf.js";
24
+ } from "./state-7w2ypzdf.js";
25
25
  import {
26
26
  normalize3
27
- } from "./filesystem-4c01b23b.js";
27
+ } from "./state-7g5zg8tv.js";
28
28
  import {
29
29
  names3,
30
30
  stripPreferenceMetadata2,
31
31
  discover3
32
- } from "./filesystem-2413zvty.js";
32
+ } from "./state-67kb74bv.js";
33
33
  import {
34
34
  plan2
35
- } from "./filesystem-1x2knyw4.js";
35
+ } from "./state-1x2knyw4.js";
36
36
  import {
37
37
  Document3,
38
38
  WellKnownDocument2
39
- } from "./filesystem-8t99kr38.js";
39
+ } from "./state-wfs84ra6.js";
40
40
  import {
41
41
  Document2
42
- } from "./filesystem-4dx1dgte.js";
42
+ } from "./state-4dx1dgte.js";
43
43
  import {
44
44
  statements2,
45
45
  decision2,
46
46
  integrationResource2,
47
47
  account2
48
- } from "./filesystem-nt907s04.js";
48
+ } from "./state-sv909n4y.js";
49
49
  import {
50
- Service68,
50
+ Service71,
51
51
  Event14,
52
- node70
53
- } from "./filesystem-x7ddy58s.js";
52
+ node73
53
+ } from "./state-sng0s06c.js";
54
54
  import {
55
55
  __export
56
- } from "./filesystem-9rqn6x4v.js";
56
+ } from "./state-9rqn6x4v.js";
57
57
 
58
58
  // src/config.ts
59
59
  var exports_config = {};
60
60
  __export(exports_config, {
61
61
  Config: () => exports_config,
62
- Options: () => Options5,
63
- Service: () => Service66,
62
+ Options: () => Options7,
63
+ Service: () => Service69,
64
64
  Test: () => Test2,
65
- configured: () => configured6,
65
+ configured: () => configured8,
66
66
  latest: () => latest2,
67
- layer: () => layer22,
68
- node: () => node68,
67
+ layer: () => layer24,
68
+ node: () => node71,
69
69
  testLayer: () => testLayer2
70
70
  });
71
71
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -81,7 +81,7 @@ import { ChildProcess } from "effect/process";
81
81
  function latest2(entries, key) {
82
82
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
83
83
  }
84
- var Options5 = Schema.Struct({
84
+ var Options7 = Schema.Struct({
85
85
  project: Schema.optional(Schema.Boolean),
86
86
  global: Schema.optional(Schema.Boolean),
87
87
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -90,7 +90,7 @@ var Options5 = Schema.Struct({
90
90
  content: Schema.optional(Schema.String)
91
91
  });
92
92
 
93
- class Service66 extends Context.Service()("@opencode/Config") {
93
+ class Service69 extends Context.Service()("@opencode/Config") {
94
94
  }
95
95
 
96
96
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -114,16 +114,16 @@ var testLayer2 = (initial = [], compatibility = {
114
114
  return document ? next.set(integrationID, document) : next;
115
115
  })
116
116
  });
117
- return Context.empty().pipe(Context.add(Service66, service), Context.add(Test2, service));
117
+ return Context.empty().pipe(Context.add(Service69, service), Context.add(Test2, service));
118
118
  }));
119
- var layer22 = (options) => Layer.effect(Service66, Effect.gen(function* () {
119
+ var layer24 = (options) => Layer.effect(Service69, Effect.gen(function* () {
120
120
  const fs = yield* FSUtil.Service;
121
- const location = yield* Service79;
122
- const watcher = yield* Service67;
121
+ const location = yield* Service81;
122
+ const watcher = yield* Service70;
123
123
  const bus = yield* Service88;
124
- const credentials = yield* Service85;
124
+ const credentials = yield* Service86;
125
125
  const globalService = yield* Global.Service;
126
- const wellknown = yield* Service68;
126
+ const wellknown = yield* Service71;
127
127
  const processes = yield* AppProcess.Service;
128
128
  const integrations = new Map;
129
129
  const context = yield* Effect.context();
@@ -194,7 +194,7 @@ var layer22 = (options) => Layer.effect(Service66, Effect.gen(function* () {
194
194
  return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
195
195
  });
196
196
  const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
197
- const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
197
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID21.make(connection.id)) : undefined;
198
198
  const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
199
199
  return decision2(lockdown, "integration.use", resource) !== "deny";
200
200
  });
@@ -292,7 +292,7 @@ var layer22 = (options) => Layer.effect(Service66, Effect.gen(function* () {
292
292
  }, (effect) => reloadLock.withPermit(effect));
293
293
  const pendingReloads = yield* PubSub.subscribe(reloads);
294
294
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
295
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
295
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
296
296
  yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
297
297
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
298
298
  if (!wellknown.snapshot().length)
@@ -321,7 +321,7 @@ var layer22 = (options) => Layer.effect(Service66, Effect.gen(function* () {
321
321
  `);
322
322
  yield* requestReload;
323
323
  }, (effect) => updateLock.withPermit(effect));
324
- return Service66.of({
324
+ return Service69.of({
325
325
  entries: Effect.fnUntraced(function* () {
326
326
  return configs;
327
327
  }),
@@ -341,22 +341,22 @@ var layer22 = (options) => Layer.effect(Service66, Effect.gen(function* () {
341
341
  })
342
342
  });
343
343
  }));
344
- function configured6(options) {
344
+ function configured8(options) {
345
345
  return makeLocationNode({
346
- service: Service66,
347
- layer: layer22(options),
346
+ service: Service69,
347
+ layer: layer24(options),
348
348
  deps: [
349
- node69,
349
+ node72,
350
350
  node91,
351
351
  FSUtil.node,
352
352
  Global.node,
353
- node82,
354
- node88,
355
- node70,
353
+ node84,
354
+ node89,
355
+ node73,
356
356
  AppProcess.node
357
357
  ]
358
358
  });
359
359
  }
360
- var node68 = configured6();
360
+ var node71 = configured8();
361
361
 
362
- export { latest2, Options5, Service66, Test2, testLayer2, layer22, configured6, node68, exports_config };
362
+ export { latest2, Options7, Service69, Test2, testLayer2, layer24, configured8, node71, exports_config };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
- make14
3
- } from "./filesystem-cr4rfj9z.js";
2
+ make11
3
+ } from "./state-vmxsyvj6.js";
4
4
  import {
5
- make13
6
- } from "./filesystem-93xmyh8q.js";
5
+ make12
6
+ } from "./state-kzdam8c6.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/claude/query-options.ts
12
12
  var exports_query_options = {};
@@ -78,14 +78,14 @@ async function session2(input) {
78
78
  systemPrompt: input.system,
79
79
  includePartialMessages: true,
80
80
  persistSession: input.persist,
81
- hooks: make14(input.pending),
81
+ hooks: make11(input.pending),
82
82
  mcpServers: {}
83
83
  };
84
84
  if (input.maxOutputTokens !== undefined) {
85
85
  options.env = { ...options.env, CLAUDE_CODE_MAX_OUTPUT_TOKENS: String(input.maxOutputTokens) };
86
86
  }
87
87
  if (input.tools.length > 0)
88
- options.mcpServers = { opencode: await make13(input.tools, input.pending) };
88
+ options.mcpServers = { opencode: await make12(input.tools, input.pending) };
89
89
  if (input.resume !== undefined) {
90
90
  options.resume = input.resume;
91
91
  return options;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./filesystem-m0yvy5wq.js";
3
+ } from "./state-9z88th0c.js";
4
4
  import {
5
5
  apply3
6
- } from "./filesystem-m3dvshv8.js";
6
+ } from "./state-pb811aet.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  policy3
3
- } from "./filesystem-wnhgecwx.js";
3
+ } from "./state-wnhgecwx.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./filesystem-ec1grn59.js";
6
+ } from "./state-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make20,
16
+ make: () => make19,
17
17
  policy: () => policy2
18
18
  });
19
19
  import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
39
39
  return { retry: true, attempt: next.attempt, delay: normalized };
40
40
  });
41
41
  });
42
- var make20 = (bus, sessionID) => Effect.gen(function* () {
42
+ var make19 = (bus, sessionID) => Effect.gen(function* () {
43
43
  const decide = yield* policy2(sessionID);
44
44
  const wait = (input) => Effect.gen(function* () {
45
45
  const scheduled = yield* Clock.currentTimeMillis;
@@ -56,4 +56,4 @@ var make20 = (bus, sessionID) => Effect.gen(function* () {
56
56
  return { decide, wait };
57
57
  });
58
58
 
59
- export { isRetryable2, policy2, make20, exports_retry };
59
+ export { isRetryable2, policy2, make19, exports_retry };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./filesystem-ec1grn59.js";
3
+ } from "./state-ec1grn59.js";
4
4
  import {
5
5
  stringify2
6
- } from "./filesystem-7stb81gk.js";
6
+ } from "./state-7stb81gk.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./filesystem-69gkttxc.js";
9
+ } from "./state-s4sm4tqg.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { isRecord } from "@opencode/util/record";
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service88,
3
3
  node91
4
- } from "./filesystem-pvtdn4cq.js";
4
+ } from "./state-h7wqn8vn.js";
5
+ import {
6
+ Service83,
7
+ node86
8
+ } from "./state-bnhkbqse.js";
5
9
  import {
6
10
  Service81,
7
11
  node84
8
- } from "./filesystem-gk1nhyk8.js";
9
- import {
10
- Service79,
11
- node82
12
- } from "./filesystem-54y7003s.js";
12
+ } from "./state-a0g2880y.js";
13
13
  import {
14
- Service67,
15
- node69
16
- } from "./filesystem-7dmr4t8m.js";
14
+ Service70,
15
+ node72
16
+ } from "./state-056p44da.js";
17
17
  import {
18
18
  awaitActivation2
19
- } from "./filesystem-ev660z6k.js";
19
+ } from "./state-qmh7vbk2.js";
20
20
  import {
21
- node19
22
- } from "./filesystem-ew022wxf.js";
21
+ node24
22
+ } from "./state-t0nz5sn8.js";
23
23
  import {
24
- Service6,
25
- node7
26
- } from "./filesystem-x7de2wha.js";
24
+ Service10,
25
+ node12
26
+ } from "./state-teav1bzy.js";
27
27
  import {
28
28
  __export
29
- } from "./filesystem-9rqn6x4v.js";
29
+ } from "./state-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service2,
36
- node: () => node2
35
+ Service: () => Service5,
36
+ node: () => node6
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service2 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service5 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service2, Effect.gen(function* () {
46
- const location = yield* Service79;
47
- const watcher = yield* Service67;
45
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
46
+ const location = yield* Service81;
47
+ const watcher = yield* Service70;
48
48
  const bus = yield* Service88;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
51
- const policy = yield* Service6;
50
+ const git = yield* Service83;
51
+ const policy = yield* Service10;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service2.of({});
103
+ return Service5.of({});
104
104
  }));
105
- var node2 = makeLocationNode({
106
- service: Service2,
105
+ var node6 = makeLocationNode({
106
+ service: Service5,
107
107
  layer,
108
- deps: [node69, FSUtil.node, node82, node84, node91, node19, node7]
108
+ deps: [node72, FSUtil.node, node84, node86, node91, node24, node12]
109
109
  });
110
110
 
111
- export { Service2, node2, exports_location_watcher };
111
+ export { Service5, node6, exports_location_watcher };