@opencode/core 0.0.0-dev-823 → 0.0.0-dev-825

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 (930) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +248 -248
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{wellknown-034tev2y.js → repository-034tev2y.js} +2 -2
  9. package/dist/chunks/{wellknown-7j94rk72.js → repository-08xzxa8e.js} +1 -1
  10. package/dist/chunks/{wellknown-wwz7dnvk.js → repository-0994vbbn.js} +22 -22
  11. package/dist/chunks/{wellknown-c6x7d2ts.js → repository-0ahs07zn.js} +4 -4
  12. package/dist/chunks/{wellknown-0ymw6mjd.js → repository-0bz9q8qd.js} +20 -20
  13. package/dist/chunks/{wellknown-0j7gp832.js → repository-0j7gp832.js} +1 -1
  14. package/dist/chunks/{wellknown-a5047r6p.js → repository-0jbwgxgf.js} +11 -11
  15. package/dist/chunks/{wellknown-0ma9gw4f.js → repository-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{wellknown-5h4ksnbd.js → repository-0ty4dky8.js} +5 -5
  17. package/dist/chunks/{wellknown-j4henpby.js → repository-10ahnnaz.js} +6 -6
  18. package/dist/chunks/{wellknown-eb1k2ff7.js → repository-11kbg32g.js} +5 -5
  19. package/dist/chunks/{wellknown-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{wellknown-1ep2p91f.js → repository-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{wellknown-jhksa21n.js → repository-1g8et7f3.js} +15 -15
  22. package/dist/chunks/{wellknown-m97qm5d9.js → repository-1psp2qsj.js} +16 -16
  23. package/dist/chunks/{wellknown-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{wellknown-j0p3wt22.js → repository-1zc261y1.js} +8 -8
  25. package/dist/chunks/{wellknown-dg5naf6e.js → repository-229tvxdn.js} +4 -4
  26. package/dist/chunks/{wellknown-yzbmrf8g.js → repository-27m2756j.js} +41 -41
  27. package/dist/chunks/{wellknown-4aznty22.js → repository-2b5ete4v.js} +353 -353
  28. package/dist/chunks/{wellknown-r1njr88m.js → repository-2dd1gyky.js} +9 -9
  29. package/dist/chunks/{wellknown-2fc7eemy.js → repository-2fc7eemy.js} +1 -1
  30. package/dist/chunks/{wellknown-tvz99awf.js → repository-2gszavhy.js} +10 -10
  31. package/dist/chunks/{wellknown-8pn38srv.js → repository-2h7px8sz.js} +22 -22
  32. package/dist/chunks/{wellknown-thrtd5jr.js → repository-2m82kwf8.js} +7 -7
  33. package/dist/chunks/{wellknown-s1ba0vj0.js → repository-2p60zmnr.js} +2 -2
  34. package/dist/chunks/{wellknown-2z7b7tah.js → repository-2qtxdwzg.js} +47 -47
  35. package/dist/chunks/{wellknown-h0y2yt0a.js → repository-2v04724g.js} +15 -15
  36. package/dist/chunks/{wellknown-jh1m9pe1.js → repository-2v4kkva7.js} +18 -18
  37. package/dist/chunks/{wellknown-ea55hvz5.js → repository-2vj3mcb9.js} +4 -4
  38. package/dist/chunks/{wellknown-ny2jebh8.js → repository-2yh5f2q3.js} +17 -17
  39. package/dist/chunks/{wellknown-ygd9658s.js → repository-346hvfgb.js} +84 -84
  40. package/dist/chunks/{wellknown-4ke7k162.js → repository-36mbjf8k.js} +13 -13
  41. package/dist/chunks/{wellknown-xjbsd7zy.js → repository-3adw4bt5.js} +9 -9
  42. package/dist/chunks/{wellknown-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{wellknown-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{wellknown-a6d7t23s.js → repository-3rykqk9c.js} +8 -8
  45. package/dist/chunks/{wellknown-89tzbd8d.js → repository-3ts1yv15.js} +11 -11
  46. package/dist/chunks/{wellknown-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
  47. package/dist/chunks/{wellknown-2cnx9f3z.js → repository-42jetmjj.js} +36 -36
  48. package/dist/chunks/{wellknown-14z7jyrw.js → repository-42z7z3wx.js} +164 -164
  49. package/dist/chunks/{wellknown-6t38ktfv.js → repository-43kg0q29.js} +20 -20
  50. package/dist/chunks/{wellknown-jxd6f16v.js → repository-44pmzq9c.js} +2 -2
  51. package/dist/chunks/{wellknown-2g6hsqe0.js → repository-454ezavw.js} +10 -10
  52. package/dist/chunks/{wellknown-4ncm91qr.js → repository-4ccmkn1k.js} +4 -4
  53. package/dist/chunks/{wellknown-59b56h02.js → repository-4dvckpb1.js} +15 -15
  54. package/dist/chunks/{wellknown-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
  55. package/dist/chunks/{wellknown-beysg269.js → repository-4eyab45f.js} +16 -16
  56. package/dist/chunks/{wellknown-knay5361.js → repository-4hwm0yv8.js} +18 -18
  57. package/dist/chunks/{wellknown-mbgap2ge.js → repository-4pfcg8b2.js} +17 -17
  58. package/dist/chunks/{wellknown-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
  59. package/dist/chunks/{wellknown-4v008n1t.js → repository-4v008n1t.js} +1 -1
  60. package/dist/chunks/{wellknown-zw6d6ftc.js → repository-4wbbxyz1.js} +4 -4
  61. package/dist/chunks/{wellknown-amt2n5m1.js → repository-57v9t8b1.js} +17 -17
  62. package/dist/chunks/{wellknown-1kyp8029.js → repository-58xa946s.js} +8 -8
  63. package/dist/chunks/{wellknown-tyr5qtmx.js → repository-5g90fmrv.js} +1 -1
  64. package/dist/chunks/{wellknown-50fc83zq.js → repository-5h5zemyv.js} +18 -18
  65. package/dist/chunks/{wellknown-vnjc296t.js → repository-5k4n6v37.js} +2 -2
  66. package/dist/chunks/{wellknown-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
  67. package/dist/chunks/{wellknown-vmxsyvj6.js → repository-5n0rnk8e.js} +4 -4
  68. package/dist/chunks/{wellknown-s9tvx9xg.js → repository-5t0t932v.js} +23 -23
  69. package/dist/chunks/{wellknown-jfrm3877.js → repository-5wb77t7x.js} +12 -12
  70. package/dist/chunks/{wellknown-g95r1ctc.js → repository-5ypa17q2.js} +3 -3
  71. package/dist/chunks/{wellknown-bdhd9h6e.js → repository-5zrxpy3q.js} +5 -5
  72. package/dist/chunks/{wellknown-sapx0xxc.js → repository-633ywpet.js} +20 -20
  73. package/dist/chunks/{wellknown-7dmx38jg.js → repository-63qfzx3d.js} +6 -6
  74. package/dist/chunks/{wellknown-4jh1qy0h.js → repository-64pz71zv.js} +15 -15
  75. package/dist/chunks/{wellknown-spz5sz38.js → repository-68cs06h1.js} +5 -5
  76. package/dist/chunks/{wellknown-2sxmvdga.js → repository-6mkkvg4d.js} +12 -12
  77. package/dist/chunks/{wellknown-nymz80y4.js → repository-6t40r86m.js} +11 -11
  78. package/dist/chunks/{wellknown-yzcmx281.js → repository-6wsypzda.js} +6 -6
  79. package/dist/chunks/{wellknown-yc858zyw.js → repository-7b9gqgn8.js} +22 -22
  80. package/dist/chunks/{wellknown-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{wellknown-529ata79.js → repository-7d1znp7a.js} +3 -3
  82. package/dist/chunks/{wellknown-e403530c.js → repository-7p3kv0s7.js} +25 -25
  83. package/dist/chunks/{wellknown-7n3yjsfg.js → repository-7ptaasd0.js} +8 -8
  84. package/dist/chunks/{wellknown-9y4b1a0n.js → repository-7rb9v8wg.js} +29 -29
  85. package/dist/chunks/{wellknown-4v4ptchh.js → repository-7st6202b.js} +35 -35
  86. package/dist/chunks/{wellknown-yk6wg6gz.js → repository-7tjync5t.js} +20 -20
  87. package/dist/chunks/{wellknown-4qgj33nx.js → repository-7vb5mjx9.js} +17 -17
  88. package/dist/chunks/{wellknown-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
  89. package/dist/chunks/{wellknown-7weczvnd.js → repository-7weczvnd.js} +1 -1
  90. package/dist/chunks/{wellknown-80mg3ag8.js → repository-80mg3ag8.js} +3 -3
  91. package/dist/chunks/{wellknown-kwb0nqaj.js → repository-813cb08y.js} +21 -21
  92. package/dist/chunks/{wellknown-9jbe924b.js → repository-86kkc16z.js} +41 -41
  93. package/dist/chunks/{wellknown-89287pr7.js → repository-89287pr7.js} +1 -1
  94. package/dist/chunks/{wellknown-dckwvqsm.js → repository-8a1b5gq0.js} +4 -4
  95. package/dist/chunks/{wellknown-t48jrnqq.js → repository-8akjpyn6.js} +3 -3
  96. package/dist/chunks/{wellknown-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
  97. package/dist/chunks/{wellknown-hy86wy35.js → repository-8b8x22w8.js} +10 -10
  98. package/dist/chunks/{wellknown-5whx36p1.js → repository-8cg7mtm3.js} +4 -4
  99. package/dist/chunks/{wellknown-1zc8hq94.js → repository-8dncjpvn.js} +21 -21
  100. package/dist/chunks/{wellknown-pvnyw987.js → repository-8hbz69sy.js} +11 -11
  101. package/dist/chunks/{wellknown-0php2d2a.js → repository-8rapdqzr.js} +4 -4
  102. package/dist/chunks/{wellknown-4nhvs03x.js → repository-8sfccg3j.js} +14 -14
  103. package/dist/chunks/{wellknown-8sxe6kv8.js → repository-8sxe6kv8.js} +2 -2
  104. package/dist/chunks/{wellknown-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
  105. package/dist/chunks/{wellknown-0w9sd8e0.js → repository-8zkf5cgt.js} +6 -6
  106. package/dist/chunks/{wellknown-8zv0xmg5.js → repository-8zv0xmg5.js} +1 -1
  107. package/dist/chunks/{wellknown-qhyhhvb1.js → repository-92ehh6cz.js} +11 -11
  108. package/dist/chunks/{wellknown-sv909n4y.js → repository-94e33dpz.js} +3 -3
  109. package/dist/chunks/{wellknown-heea339g.js → repository-94x7x2bc.js} +4 -4
  110. package/dist/chunks/{wellknown-8dpzbka1.js → repository-96q4hcrt.js} +23 -23
  111. package/dist/chunks/{wellknown-6myazjdb.js → repository-9a9v4e1n.js} +47 -47
  112. package/dist/chunks/{wellknown-6dwnsnxk.js → repository-9c2bqs4t.js} +9 -9
  113. package/dist/chunks/{wellknown-m2fmqt5z.js → repository-9cfmkamw.js} +13 -13
  114. package/dist/chunks/{wellknown-ern98hx3.js → repository-9hxzqb8n.js} +5 -5
  115. package/dist/chunks/{wellknown-6d18qbed.js → repository-9j20w6gs.js} +4 -4
  116. package/dist/chunks/{wellknown-frg18t34.js → repository-9jy8mats.js} +2 -2
  117. package/dist/chunks/{wellknown-mrgh35se.js → repository-9m9rb66j.js} +20 -20
  118. package/dist/chunks/{wellknown-5v51mt63.js → repository-9nh708zh.js} +6 -6
  119. package/dist/chunks/{wellknown-42qd5zy0.js → repository-9wyr9weg.js} +3 -3
  120. package/dist/chunks/{wellknown-c64qexw9.js → repository-a0p8mqkt.js} +11 -11
  121. package/dist/chunks/{wellknown-cdea1mb6.js → repository-a55devgp.js} +32 -32
  122. package/dist/chunks/{wellknown-a5fx33f2.js → repository-a5fx33f2.js} +2 -2
  123. package/dist/chunks/{wellknown-yeym8y4s.js → repository-a70dxxxa.js} +5 -5
  124. package/dist/chunks/{wellknown-2n4m40x4.js → repository-a84sc8bh.js} +81 -81
  125. package/dist/chunks/{wellknown-njcw23t2.js → repository-a8cfcyt3.js} +12 -12
  126. package/dist/chunks/{wellknown-avxjzvpf.js → repository-a9q3ynkc.js} +16 -16
  127. package/dist/chunks/{wellknown-mfep6jn1.js → repository-ad4g1b77.js} +4 -4
  128. package/dist/chunks/{wellknown-dgca0334.js → repository-ajvm5x1k.js} +59 -59
  129. package/dist/chunks/{wellknown-c57e8gyz.js → repository-akt0fjbd.js} +4 -4
  130. package/dist/chunks/{wellknown-ayjs7tqn.js → repository-ayjs7tqn.js} +2 -2
  131. package/dist/chunks/{wellknown-9bzp5kc8.js → repository-b14gg4sh.js} +8 -8
  132. package/dist/chunks/{wellknown-g4txs7zc.js → repository-b26ddj6h.js} +4 -4
  133. package/dist/chunks/{wellknown-w5xwqsx9.js → repository-b35jvm0v.js} +29 -29
  134. package/dist/chunks/{wellknown-y1yy2kgj.js → repository-b4hsppa9.js} +7 -7
  135. package/dist/chunks/{wellknown-ecj07vsr.js → repository-b4k47k2s.js} +5 -5
  136. package/dist/chunks/{wellknown-mt1p4kgh.js → repository-b78vcyc5.js} +25 -25
  137. package/dist/chunks/{wellknown-y3fs6vak.js → repository-bgn5hadf.js} +6 -6
  138. package/dist/chunks/{wellknown-6kzkc3y6.js → repository-bh59f9rd.js} +9 -9
  139. package/dist/chunks/{wellknown-1e85kr9t.js → repository-bn84h1pr.js} +38 -38
  140. package/dist/chunks/{wellknown-ap560aa3.js → repository-bws3jtw9.js} +4 -4
  141. package/dist/chunks/{wellknown-zpdbqgja.js → repository-by8ty0bx.js} +4 -4
  142. package/dist/chunks/{wellknown-w66wm2f6.js → repository-bymwvmjr.js} +4 -4
  143. package/dist/chunks/repository-c6k7fcz8.js +265 -0
  144. package/dist/chunks/{wellknown-c7cw818c.js → repository-c7cw818c.js} +2 -2
  145. package/dist/chunks/{wellknown-ys1fvpkc.js → repository-c8gd2j19.js} +8 -8
  146. package/dist/chunks/{wellknown-f7yx8396.js → repository-c9vkkpgm.js} +9 -9
  147. package/dist/chunks/{wellknown-fnpxfbaj.js → repository-cfrsedvg.js} +27 -27
  148. package/dist/chunks/{wellknown-w59ebzcn.js → repository-cmn9htvg.js} +4 -4
  149. package/dist/chunks/{wellknown-zar5314p.js → repository-cnx94ynn.js} +44 -44
  150. package/dist/chunks/{wellknown-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
  151. package/dist/chunks/{wellknown-xy9zd165.js → repository-d146bgny.js} +16 -16
  152. package/dist/chunks/{wellknown-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
  153. package/dist/chunks/{wellknown-tg1vr1qt.js → repository-ddvn7d3w.js} +8 -8
  154. package/dist/chunks/{wellknown-dt77769w.js → repository-dt77769w.js} +1 -1
  155. package/dist/chunks/{wellknown-ve9b2r3j.js → repository-dw0j9b8q.js} +49 -49
  156. package/dist/chunks/{wellknown-5vwfcm24.js → repository-dy9wc0ek.js} +23 -23
  157. package/dist/chunks/{wellknown-368j3b0x.js → repository-e4nwzbzr.js} +26 -26
  158. package/dist/chunks/{wellknown-e834z07m.js → repository-e834z07m.js} +1 -1
  159. package/dist/chunks/{wellknown-5rx6p12d.js → repository-e9shpzm4.js} +4 -4
  160. package/dist/chunks/{wellknown-1tabwk46.js → repository-eb5bs4av.js} +5 -5
  161. package/dist/chunks/{wellknown-0rt7ms7h.js → repository-ecz89gw5.js} +16 -16
  162. package/dist/chunks/{wellknown-11ng74wv.js → repository-ej1gfyzk.js} +14 -14
  163. package/dist/chunks/{wellknown-hbjg3pty.js → repository-em9xfsjv.js} +39 -39
  164. package/dist/chunks/{wellknown-kzdam8c6.js → repository-ep6pe98a.js} +7 -7
  165. package/dist/chunks/{wellknown-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
  166. package/dist/chunks/{wellknown-ktvrvfes.js → repository-esnzksqe.js} +37 -37
  167. package/dist/chunks/{wellknown-zmadjz91.js → repository-et652733.js} +11 -11
  168. package/dist/chunks/{wellknown-8ykqf5wm.js → repository-etrnj9s7.js} +8 -8
  169. package/dist/chunks/{wellknown-c4vcqz1j.js → repository-ews15w8r.js} +5 -5
  170. package/dist/chunks/{wellknown-sp2e8k64.js → repository-f25p614d.js} +18 -18
  171. package/dist/chunks/{wellknown-a6n5nb0w.js → repository-f5fh1k3t.js} +7 -7
  172. package/dist/chunks/{wellknown-fv8f8142.js → repository-f6e7p22k.js} +22 -22
  173. package/dist/chunks/{wellknown-pcm2j0ns.js → repository-f6z7z56m.js} +19 -19
  174. package/dist/chunks/{wellknown-vz14m8m3.js → repository-f8f6ttpt.js} +31 -31
  175. package/dist/chunks/{wellknown-2y3qfkpp.js → repository-fefngcxr.js} +28 -28
  176. package/dist/chunks/{wellknown-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
  177. package/dist/chunks/{wellknown-stjxg0tr.js → repository-fpcrbcat.js} +18 -18
  178. package/dist/chunks/{wellknown-0kp57gkx.js → repository-fr4kys9t.js} +18 -18
  179. package/dist/chunks/{wellknown-evd8hnze.js → repository-fx5c1tjh.js} +19 -19
  180. package/dist/chunks/{wellknown-y7z7a679.js → repository-g3e3vmrx.js} +6 -6
  181. package/dist/chunks/{wellknown-5yydhn6j.js → repository-g442wsqe.js} +11 -11
  182. package/dist/chunks/{wellknown-z95tv15s.js → repository-g5gt5c3n.js} +9 -9
  183. package/dist/chunks/{wellknown-f1c8mtb1.js → repository-g6hens4m.js} +28 -28
  184. package/dist/chunks/{wellknown-vs7550bz.js → repository-g87nr3nw.js} +8 -8
  185. package/dist/chunks/{wellknown-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
  186. package/dist/chunks/{wellknown-wvvhsaqs.js → repository-gg1x98p9.js} +7 -7
  187. package/dist/chunks/{wellknown-7681j39h.js → repository-ggej6006.js} +12 -12
  188. package/dist/chunks/{wellknown-ghrv1g9c.js → repository-ghrv1g9c.js} +1 -1
  189. package/dist/chunks/{wellknown-ts7vbyhh.js → repository-gywxy7j9.js} +12 -12
  190. package/dist/chunks/{wellknown-f9fgxh9m.js → repository-h18d68bp.js} +15 -15
  191. package/dist/chunks/{wellknown-wdby45ga.js → repository-h3j309gg.js} +25 -25
  192. package/dist/chunks/{wellknown-bj78ahtb.js → repository-h5gm5jf1.js} +7 -7
  193. package/dist/chunks/{wellknown-96het0nm.js → repository-hdrtk87s.js} +51 -51
  194. package/dist/chunks/{wellknown-xgrzk770.js → repository-hfdeg0q9.js} +31 -31
  195. package/dist/chunks/{wellknown-hgzwgvze.js → repository-hgzwgvze.js} +2 -2
  196. package/dist/chunks/{wellknown-br72scxt.js → repository-hp5xq2f7.js} +13 -13
  197. package/dist/chunks/{wellknown-v0hdkz4s.js → repository-htz3qjhf.js} +3 -3
  198. package/dist/chunks/{wellknown-s9ck7496.js → repository-hxm880w8.js} +30 -30
  199. package/dist/chunks/{wellknown-4409q8zr.js → repository-j4r7kv1t.js} +33 -33
  200. package/dist/chunks/{wellknown-0re3b127.js → repository-jcapt50a.js} +78 -78
  201. package/dist/chunks/{wellknown-pw5x6zgj.js → repository-jkmg1q5b.js} +44 -44
  202. package/dist/chunks/{wellknown-jm70asfg.js → repository-jm70asfg.js} +1 -1
  203. package/dist/chunks/{wellknown-z6c9yvgt.js → repository-jt43vy5p.js} +44 -44
  204. package/dist/chunks/{wellknown-tnrvv70e.js → repository-jy6ht0vf.js} +20 -20
  205. package/dist/chunks/{wellknown-nc6w21hv.js → repository-jzbd9n56.js} +27 -27
  206. package/dist/chunks/{wellknown-yfhf8yf1.js → repository-k0nkxeqt.js} +11 -11
  207. package/dist/chunks/{wellknown-vhqcmzzn.js → repository-k311np5h.js} +9 -9
  208. package/dist/chunks/{wellknown-e8tjpn0f.js → repository-k370mbj3.js} +18 -18
  209. package/dist/chunks/{wellknown-mh84av5k.js → repository-k426ppv8.js} +11 -11
  210. package/dist/chunks/{wellknown-f2kyng0n.js → repository-k7taw3e3.js} +17 -17
  211. package/dist/chunks/{wellknown-9qqenyh8.js → repository-k83g76qh.js} +4 -4
  212. package/dist/chunks/{wellknown-970agceq.js → repository-k9akkpr2.js} +9 -9
  213. package/dist/chunks/{wellknown-wrsg8tw1.js → repository-kcv0p6qs.js} +28 -28
  214. package/dist/chunks/{wellknown-m6ptmqpb.js → repository-kmh9f3xz.js} +8 -8
  215. package/dist/chunks/{wellknown-qkyxqnty.js → repository-ksg0sazg.js} +36 -36
  216. package/dist/chunks/{wellknown-q7y3b9g0.js → repository-kszkre2j.js} +4 -4
  217. package/dist/chunks/{wellknown-ckn0kvtp.js → repository-ktck1cjp.js} +6 -6
  218. package/dist/chunks/{wellknown-kzczzf4v.js → repository-kzczzf4v.js} +1 -1
  219. package/dist/chunks/{wellknown-gmemj5zs.js → repository-kze6nzna.js} +7 -7
  220. package/dist/chunks/{wellknown-012vppat.js → repository-m0y6w2jg.js} +12 -12
  221. package/dist/chunks/{wellknown-m1714858.js → repository-m1714858.js} +1 -1
  222. package/dist/chunks/{wellknown-pk8xjp7c.js → repository-m92nfpf5.js} +9 -9
  223. package/dist/chunks/{wellknown-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  224. package/dist/chunks/{wellknown-mb7mbhnz.js → repository-mb7mbhnz.js} +3 -3
  225. package/dist/chunks/{wellknown-ca56qfen.js → repository-mbvsapx9.js} +36 -36
  226. package/dist/chunks/{wellknown-mtb9appm.js → repository-mc0exbqp.js} +19 -19
  227. package/dist/chunks/{wellknown-57g0vy2k.js → repository-mej5exg2.js} +10 -10
  228. package/dist/chunks/{wellknown-hjjj3417.js → repository-mfth9ytk.js} +13 -13
  229. package/dist/chunks/{wellknown-s1z3th6t.js → repository-mgx1zyr6.js} +9 -9
  230. package/dist/chunks/{wellknown-mm06edep.js → repository-mm06edep.js} +1 -1
  231. package/dist/chunks/{wellknown-v5d5sz7h.js → repository-mngayyt0.js} +19 -19
  232. package/dist/chunks/{wellknown-mj8gva1v.js → repository-mpm8yx7z.js} +7 -7
  233. package/dist/chunks/{wellknown-ybws1qgk.js → repository-msd2a3qm.js} +4 -4
  234. package/dist/chunks/{wellknown-6vqyxaxn.js → repository-mvckngtm.js} +3 -3
  235. package/dist/chunks/{wellknown-44c8w61j.js → repository-my66mdgm.js} +15 -15
  236. package/dist/chunks/{wellknown-k0zm5ezq.js → repository-myxktkwz.js} +11 -11
  237. package/dist/chunks/{wellknown-8x747090.js → repository-n2najmm2.js} +3 -3
  238. package/dist/chunks/{wellknown-xvn8mnch.js → repository-n320gsn2.js} +4 -4
  239. package/dist/chunks/{wellknown-7f3vk1fc.js → repository-n6r6k69t.js} +6 -6
  240. package/dist/chunks/{wellknown-j3c3bgfm.js → repository-naadnz2w.js} +15 -15
  241. package/dist/chunks/{wellknown-f5zb5n2w.js → repository-najwffq5.js} +30 -30
  242. package/dist/chunks/{wellknown-4hddpjsw.js → repository-ndj0qvc1.js} +28 -28
  243. package/dist/chunks/{wellknown-9nd1m1ds.js → repository-p4s9hdeb.js} +15 -15
  244. package/dist/chunks/{wellknown-n3j33rb6.js → repository-p94p4v4n.js} +4 -4
  245. package/dist/chunks/{wellknown-sgrq29aj.js → repository-pbh4n44j.js} +22 -22
  246. package/dist/chunks/{wellknown-zfyb5tr4.js → repository-pgqxr0th.js} +4 -4
  247. package/dist/chunks/{wellknown-pknna89w.js → repository-pknna89w.js} +1 -1
  248. package/dist/chunks/{wellknown-fg9p65nk.js → repository-prq7xxp2.js} +6 -6
  249. package/dist/chunks/{wellknown-82phgae0.js → repository-pyc3gczw.js} +5 -5
  250. package/dist/chunks/{wellknown-j3fx1ajd.js → repository-q07m0qr2.js} +21 -21
  251. package/dist/chunks/{wellknown-75tr5p9r.js → repository-q43319pn.js} +26 -26
  252. package/dist/chunks/{wellknown-zd14nn2m.js → repository-qcvzp09b.js} +31 -31
  253. package/dist/chunks/{wellknown-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
  254. package/dist/chunks/{wellknown-qq2mwbh9.js → repository-qtq380bn.js} +23 -23
  255. package/dist/chunks/{wellknown-wfs84ra6.js → repository-r17fbvme.js} +4 -4
  256. package/dist/chunks/{wellknown-3hb2xc43.js → repository-r1pfe6de.js} +9 -9
  257. package/dist/chunks/{wellknown-ztve9pxa.js → repository-r44sxzgf.js} +14 -14
  258. package/dist/chunks/{wellknown-4f25tdd0.js → repository-r542h3bh.js} +5 -5
  259. package/dist/chunks/{wellknown-hdreqhvr.js → repository-r7z0jfb4.js} +3 -3
  260. package/dist/chunks/{wellknown-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
  261. package/dist/chunks/{wellknown-rgc9cx3e.js → repository-rgc9cx3e.js} +2 -2
  262. package/dist/chunks/{wellknown-krmzrwgx.js → repository-rkkjt8fb.js} +18 -18
  263. package/dist/chunks/{wellknown-ykq0kfag.js → repository-rs5qbk4v.js} +4 -4
  264. package/dist/chunks/{wellknown-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
  265. package/dist/chunks/{wellknown-vkvze0a7.js → repository-rvwmk2rc.js} +12 -12
  266. package/dist/chunks/{wellknown-j28x6z3x.js → repository-rxvjga48.js} +23 -23
  267. package/dist/chunks/{wellknown-v1v31pdt.js → repository-s16hq6hq.js} +6 -6
  268. package/dist/chunks/repository-s1f96faj.js +26 -0
  269. package/dist/chunks/{wellknown-k7j8q8yd.js → repository-s3ap151k.js} +35 -35
  270. package/dist/chunks/{wellknown-6wm6r6n9.js → repository-s5hs9nb1.js} +35 -35
  271. package/dist/chunks/{wellknown-0y36v7g0.js → repository-s5she26k.js} +13 -13
  272. package/dist/chunks/{wellknown-sbya78hr.js → repository-sbya78hr.js} +1 -1
  273. package/dist/chunks/{wellknown-g5ajqn12.js → repository-sf9y72b7.js} +4 -4
  274. package/dist/chunks/{wellknown-qnrn026e.js → repository-sga6cxxk.js} +12 -12
  275. package/dist/chunks/{wellknown-3ppfbg49.js → repository-st4hg3gb.js} +11 -11
  276. package/dist/chunks/{wellknown-824rjzjt.js → repository-stztmf2b.js} +32 -32
  277. package/dist/chunks/{wellknown-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
  278. package/dist/chunks/{wellknown-5xhkdypz.js → repository-t2yp4qp9.js} +28 -28
  279. package/dist/chunks/{wellknown-99452jzt.js → repository-t49a5w8f.js} +6 -6
  280. package/dist/chunks/{wellknown-tbpn7jtk.js → repository-tbpn7jtk.js} +1 -1
  281. package/dist/chunks/{wellknown-fr714hnc.js → repository-tbthaakc.js} +9 -9
  282. package/dist/chunks/{wellknown-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
  283. package/dist/chunks/{wellknown-x7r3ewyc.js → repository-tde0pya5.js} +7 -7
  284. package/dist/chunks/{wellknown-ctmpqb7w.js → repository-teav1bzy.js} +9 -9
  285. package/dist/chunks/{wellknown-d5q8ehee.js → repository-ten44rr7.js} +2 -2
  286. package/dist/chunks/{wellknown-gxs71cxp.js → repository-tg7s7b5t.js} +4 -4
  287. package/dist/chunks/{wellknown-spxaqr5k.js → repository-tn4wd2fq.js} +18 -18
  288. package/dist/chunks/{wellknown-j376ae4e.js → repository-tr8x705m.js} +5 -5
  289. package/dist/chunks/{wellknown-hn21y2dz.js → repository-ts0309y8.js} +12 -12
  290. package/dist/chunks/{wellknown-kyf91wtg.js → repository-ttqkg3t3.js} +16 -16
  291. package/dist/chunks/{wellknown-cpn2qgdq.js → repository-tv28p82x.js} +5 -5
  292. package/dist/chunks/{wellknown-twssxy5n.js → repository-twssxy5n.js} +2 -2
  293. package/dist/chunks/{wellknown-gfaj8d6w.js → repository-txan6bsn.js} +40 -40
  294. package/dist/chunks/{wellknown-ryfk1n83.js → repository-v0xx51e0.js} +30 -30
  295. package/dist/chunks/{wellknown-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
  296. package/dist/chunks/{wellknown-4g9qjkaz.js → repository-v7v806p5.js} +11 -11
  297. package/dist/chunks/{wellknown-eavcrtrz.js → repository-v9vs06em.js} +2 -2
  298. package/dist/chunks/{wellknown-6dtmjp15.js → repository-vatm92p4.js} +11 -11
  299. package/dist/chunks/{wellknown-btnkw9ag.js → repository-vek77fn1.js} +4 -4
  300. package/dist/chunks/{wellknown-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
  301. package/dist/chunks/{wellknown-qfz6bxfd.js → repository-vmqe41cb.js} +4 -4
  302. package/dist/chunks/{wellknown-1w0gsnth.js → repository-vntxrryt.js} +36 -36
  303. package/dist/chunks/{wellknown-qm8rtjyv.js → repository-vsnyj3xr.js} +42 -42
  304. package/dist/chunks/{wellknown-hx3mz2q2.js → repository-vycsk1c7.js} +8 -8
  305. package/dist/chunks/{wellknown-ydpd80t7.js → repository-vyk6e2d4.js} +23 -23
  306. package/dist/chunks/{wellknown-40za9wsf.js → repository-w2eysc6j.js} +9 -9
  307. package/dist/chunks/{wellknown-mtn21kgn.js → repository-w3h50mwv.js} +12 -12
  308. package/dist/chunks/{wellknown-m3emfr1b.js → repository-w3vqc4ke.js} +8 -8
  309. package/dist/chunks/{wellknown-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  310. package/dist/chunks/{wellknown-engb00gj.js → repository-w5ce9yke.js} +31 -31
  311. package/dist/chunks/{wellknown-s7kyse9r.js → repository-w79nt68w.js} +4 -4
  312. package/dist/chunks/{wellknown-p07e6qfb.js → repository-w8xzxbk7.js} +5 -5
  313. package/dist/chunks/{wellknown-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
  314. package/dist/chunks/{wellknown-wd87259q.js → repository-wd87259q.js} +1 -1
  315. package/dist/chunks/{wellknown-wegkxhrn.js → repository-wegkxhrn.js} +2 -2
  316. package/dist/chunks/{wellknown-pecfd7fz.js → repository-wfbepe62.js} +50 -50
  317. package/dist/chunks/{wellknown-k3cx6fhe.js → repository-wfdx5ztx.js} +4 -4
  318. package/dist/chunks/{wellknown-ynqck4rb.js → repository-wqr24bzv.js} +19 -19
  319. package/dist/chunks/{wellknown-q5tr3698.js → repository-wqwf5vb3.js} +16 -16
  320. package/dist/chunks/{wellknown-b6z35kmf.js → repository-wr3re1en.js} +4 -4
  321. package/dist/chunks/{wellknown-wvr8xscb.js → repository-wvr8xscb.js} +1 -1
  322. package/dist/chunks/{wellknown-gb6gjynn.js → repository-x6dx5rh2.js} +20 -20
  323. package/dist/chunks/{wellknown-jy1f4pdx.js → repository-x9nycdzm.js} +5 -5
  324. package/dist/chunks/{wellknown-bstexjd6.js → repository-xd9cc171.js} +5 -5
  325. package/dist/chunks/{wellknown-c5kjsz6q.js → repository-xpve62cf.js} +4 -4
  326. package/dist/chunks/{wellknown-7ftdjwjy.js → repository-xq13qa7d.js} +19 -19
  327. package/dist/chunks/{wellknown-4t931gn5.js → repository-xqcb3zgw.js} +12 -12
  328. package/dist/chunks/{wellknown-xjr6c8m4.js → repository-xxschbft.js} +4 -4
  329. package/dist/chunks/{wellknown-9nj56vvz.js → repository-xxxmm4tr.js} +16 -16
  330. package/dist/chunks/{wellknown-61qraad9.js → repository-y3p3hzkr.js} +5 -5
  331. package/dist/chunks/{wellknown-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{wellknown-bfmc676p.js → repository-yg1k5wpw.js} +18 -18
  333. package/dist/chunks/{wellknown-bbtkg250.js → repository-ygymdc53.js} +11 -11
  334. package/dist/chunks/{wellknown-2fhr7n17.js → repository-ynkzm82q.js} +24 -24
  335. package/dist/chunks/{wellknown-atdv9yw4.js → repository-yr3c35qq.js} +5 -5
  336. package/dist/chunks/{wellknown-yr705xyq.js → repository-yr705xyq.js} +1 -1
  337. package/dist/chunks/{wellknown-yybgvvmq.js → repository-yts2a8qm.js} +4 -4
  338. package/dist/chunks/{wellknown-yvtc2x31.js → repository-yvtc2x31.js} +1 -1
  339. package/dist/chunks/{wellknown-e02s8dmr.js → repository-ywab437h.js} +27 -27
  340. package/dist/chunks/{wellknown-g03ew8zh.js → repository-z5rnheqe.js} +11 -11
  341. package/dist/chunks/repository-z7bdqmx5.js +18 -0
  342. package/dist/chunks/{wellknown-tz8eqr11.js → repository-z88rdk3t.js} +9 -9
  343. package/dist/chunks/{wellknown-m48bde1a.js → repository-z8tfykde.js} +3 -3
  344. package/dist/chunks/{wellknown-4cxqddpb.js → repository-z931v3a9.js} +19 -19
  345. package/dist/chunks/{wellknown-fvspbttf.js → repository-zc5hv29m.js} +36 -36
  346. package/dist/chunks/{wellknown-zv75mt7c.js → repository-zc6sszfw.js} +17 -17
  347. package/dist/chunks/{wellknown-ze75qvmd.js → repository-ze75qvmd.js} +3 -3
  348. package/dist/chunks/{wellknown-058dka3b.js → repository-zfyw8qbd.js} +8 -8
  349. package/dist/chunks/{wellknown-rdsbca89.js → repository-znt7rw13.js} +40 -40
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +3 -3
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +7 -7
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +88 -88
  356. package/dist/config/discovery.js +95 -95
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +133 -133
  362. package/dist/config/plugin/command.js +240 -240
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +145 -145
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +130 -130
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +156 -156
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +134 -134
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +129 -129
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +135 -135
  386. package/dist/console-access.js +3 -3
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +90 -90
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +15 -15
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +16 -16
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +105 -105
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -440
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +3 -3
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +109 -109
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +3 -3
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +81 -81
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +88 -88
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +251 -251
  498. package/dist/filesystem/protected.js +1 -1
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +11 -11
  502. package/dist/filesystem.js +116 -116
  503. package/dist/flag.js +129 -129
  504. package/dist/form.js +91 -91
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +122 -122
  508. package/dist/git.js +11 -11
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +104 -104
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +1 -1
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +97 -97
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +3 -3
  538. package/dist/integration/connection.js +3 -3
  539. package/dist/integration.js +94 -94
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +90 -90
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +80 -80
  546. package/dist/location-activity.js +182 -182
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +98 -98
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +106 -106
  554. package/dist/mcp/index.js +126 -126
  555. package/dist/mcp/instructions.js +189 -189
  556. package/dist/mcp/oauth.js +86 -86
  557. package/dist/mcp/pool.js +112 -112
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +104 -104
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +111 -111
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +121 -121
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +91 -91
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +152 -152
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +97 -97
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +87 -87
  577. package/dist/plugin/command.js +119 -119
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +409 -409
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +129 -129
  587. package/dist/plugin/optimize.js +2 -2
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  600. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  605. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  613. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  614. package/dist/plugin/provider/claude-agent/session.js +112 -112
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +140 -140
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +140 -140
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +133 -133
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +140 -140
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +89 -89
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +152 -152
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +419 -419
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +6 -6
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +8 -8
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +6 -6
  672. package/dist/plugin/websearch/parallel.js +9 -9
  673. package/dist/plugin/websearch/provider.js +3 -3
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +9 -9
  676. package/dist/plugin.js +255 -255
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +4 -4
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +103 -103
  681. package/dist/provider.js +108 -108
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +113 -113
  685. package/dist/reference/instructions.js +101 -101
  686. package/dist/reference.js +103 -103
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +3 -3
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +111 -111
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +261 -261
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +3 -3
  698. package/dist/session/blob.js +132 -132
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +175 -175
  701. package/dist/session/context.js +205 -205
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +3 -3
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +247 -247
  707. package/dist/session/execution.js +167 -167
  708. package/dist/session/generate.js +206 -206
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +148 -148
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +86 -86
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +146 -146
  715. package/dist/session/message-updater.js +2 -2
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +171 -171
  718. package/dist/session/model-transport.js +9 -9
  719. package/dist/session/move.js +171 -171
  720. package/dist/session/projector.js +146 -146
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +3 -3
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +258 -258
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +5 -5
  731. package/dist/session/runner/step.js +166 -166
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +3 -3
  734. package/dist/session/session.js +188 -188
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -150
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +85 -85
  739. package/dist/session/store.js +145 -145
  740. package/dist/session/stored.js +4 -4
  741. package/dist/session/subagent-completion.js +1 -1
  742. package/dist/session/subagent-job.js +237 -237
  743. package/dist/session/system-prompt.js +1 -1
  744. package/dist/session/title.js +209 -209
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +243 -243
  747. package/dist/session/usage.js +3 -3
  748. package/dist/session.js +239 -239
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +13 -13
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +152 -152
  757. package/dist/skill.js +159 -159
  758. package/dist/snapshot.js +104 -104
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +188 -188
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +170 -170
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +174 -174
  767. package/dist/tool/plugin/grep.js +173 -173
  768. package/dist/tool/plugin/image-generate.js +245 -245
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +171 -171
  772. package/dist/tool/plugin/question.js +149 -149
  773. package/dist/tool/plugin/read.js +173 -173
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +241 -241
  776. package/dist/tool/plugin/skill.js +160 -160
  777. package/dist/tool/plugin/subagent.js +244 -244
  778. package/dist/tool/plugin/todo.js +152 -152
  779. package/dist/tool/plugin/webfetch.js +160 -160
  780. package/dist/tool/plugin/websearch.js +154 -154
  781. package/dist/tool/plugin/write.js +171 -171
  782. package/dist/tool/read-filesystem.js +116 -116
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +163 -163
  787. package/dist/usage-limits.js +100 -100
  788. package/dist/util/error-summary.js +1 -1
  789. package/dist/util/git-executable.js +3 -3
  790. package/dist/util/lazy.js +1 -1
  791. package/dist/util/slug.js +1 -1
  792. package/dist/util/token.js +1 -1
  793. package/dist/util/which.js +1 -1
  794. package/dist/util/wildcard.js +1 -1
  795. package/dist/v1/config/agent.js +5 -5
  796. package/dist/v1/config/command.js +3 -3
  797. package/dist/v1/config/mcp.js +4 -4
  798. package/dist/v1/config/migrate.js +105 -105
  799. package/dist/v1/config/permission.js +3 -3
  800. package/dist/v1/config/plugin.js +3 -3
  801. package/dist/v1/config/provider-options.js +1 -1
  802. package/dist/v1/config/provider.js +4 -4
  803. package/dist/variant.js +104 -104
  804. package/dist/vcs/patch.js +1 -1
  805. package/dist/vcs.js +102 -102
  806. package/dist/voice.js +101 -101
  807. package/dist/websearch.js +93 -93
  808. package/dist/wellknown/plugin.js +85 -85
  809. package/dist/wellknown.js +90 -90
  810. package/dist/workspace/driver.js +5 -5
  811. package/dist/workspace/sql.js +1 -1
  812. package/dist/workspace.js +91 -91
  813. package/dist/worktree/directory.js +2 -2
  814. package/dist/worktree/git.js +11 -11
  815. package/dist/worktree/sql.js +5 -5
  816. package/dist/worktree/strategies.js +102 -102
  817. package/dist/worktree.js +113 -113
  818. package/package.json +8 -8
  819. package/dist/chunks/wellknown-2dkjcnxp.js +0 -18
  820. package/dist/chunks/wellknown-c7wfcfme.js +0 -26
  821. package/dist/chunks/wellknown-wxqa8hm3.js +0 -265
  822. /package/dist/chunks/{wellknown-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  823. /package/dist/chunks/{wellknown-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  824. /package/dist/chunks/{wellknown-108x4f4w.js → repository-108x4f4w.js} +0 -0
  825. /package/dist/chunks/{wellknown-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  826. /package/dist/chunks/{wellknown-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  827. /package/dist/chunks/{wellknown-1kah00gy.js → repository-1kah00gy.js} +0 -0
  828. /package/dist/chunks/{wellknown-24dcb14g.js → repository-24dcb14g.js} +0 -0
  829. /package/dist/chunks/{wellknown-2710q6r3.js → repository-2710q6r3.js} +0 -0
  830. /package/dist/chunks/{wellknown-2bv980vf.js → repository-2bv980vf.js} +0 -0
  831. /package/dist/chunks/{wellknown-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  832. /package/dist/chunks/{wellknown-359p4xyc.js → repository-359p4xyc.js} +0 -0
  833. /package/dist/chunks/{wellknown-3af0jn4w.js → repository-3af0jn4w.js} +0 -0
  834. /package/dist/chunks/{wellknown-3asan66x.js → repository-3asan66x.js} +0 -0
  835. /package/dist/chunks/{wellknown-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  836. /package/dist/chunks/{wellknown-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  837. /package/dist/chunks/{wellknown-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  838. /package/dist/chunks/{wellknown-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  839. /package/dist/chunks/{wellknown-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
  840. /package/dist/chunks/{wellknown-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  841. /package/dist/chunks/{wellknown-53557ph1.js → repository-53557ph1.js} +0 -0
  842. /package/dist/chunks/{wellknown-550bvhaj.js → repository-550bvhaj.js} +0 -0
  843. /package/dist/chunks/{wellknown-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
  844. /package/dist/chunks/{wellknown-6agm2x70.js → repository-6agm2x70.js} +0 -0
  845. /package/dist/chunks/{wellknown-6prwharc.js → repository-6prwharc.js} +0 -0
  846. /package/dist/chunks/{wellknown-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
  847. /package/dist/chunks/{wellknown-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  848. /package/dist/chunks/{wellknown-7m9af43g.js → repository-7m9af43g.js} +0 -0
  849. /package/dist/chunks/{wellknown-822emrt2.js → repository-822emrt2.js} +0 -0
  850. /package/dist/chunks/{wellknown-84wd9syh.js → repository-84wd9syh.js} +0 -0
  851. /package/dist/chunks/{wellknown-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  852. /package/dist/chunks/{wellknown-8n3pysct.js → repository-8n3pysct.js} +0 -0
  853. /package/dist/chunks/{wellknown-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  854. /package/dist/chunks/{wellknown-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  855. /package/dist/chunks/{wellknown-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  856. /package/dist/chunks/{wellknown-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  857. /package/dist/chunks/{wellknown-af5trqkr.js → repository-af5trqkr.js} +0 -0
  858. /package/dist/chunks/{wellknown-afrmfg78.js → repository-afrmfg78.js} +0 -0
  859. /package/dist/chunks/{wellknown-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  860. /package/dist/chunks/{wellknown-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  861. /package/dist/chunks/{wellknown-beh6qq61.js → repository-beh6qq61.js} +0 -0
  862. /package/dist/chunks/{wellknown-bhmrqjy3.js → repository-bhmrqjy3.js} +0 -0
  863. /package/dist/chunks/{wellknown-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  864. /package/dist/chunks/{wellknown-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  865. /package/dist/chunks/{wellknown-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  866. /package/dist/chunks/{wellknown-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
  867. /package/dist/chunks/{wellknown-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  868. /package/dist/chunks/{wellknown-d9fn303g.js → repository-d9fn303g.js} +0 -0
  869. /package/dist/chunks/{wellknown-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  870. /package/dist/chunks/{wellknown-dap0rakb.js → repository-dap0rakb.js} +0 -0
  871. /package/dist/chunks/{wellknown-df08tz66.js → repository-df08tz66.js} +0 -0
  872. /package/dist/chunks/{wellknown-dy18nga0.js → repository-dy18nga0.js} +0 -0
  873. /package/dist/chunks/{wellknown-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  874. /package/dist/chunks/{wellknown-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
  875. /package/dist/chunks/{wellknown-ec1grn59.js → repository-ec1grn59.js} +0 -0
  876. /package/dist/chunks/{wellknown-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  877. /package/dist/chunks/{wellknown-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  878. /package/dist/chunks/{wellknown-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  879. /package/dist/chunks/{wellknown-faypxj3z.js → repository-faypxj3z.js} +0 -0
  880. /package/dist/chunks/{wellknown-fd410y7t.js → repository-fd410y7t.js} +0 -0
  881. /package/dist/chunks/{wellknown-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
  882. /package/dist/chunks/{wellknown-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  883. /package/dist/chunks/{wellknown-g86h250q.js → repository-g86h250q.js} +0 -0
  884. /package/dist/chunks/{wellknown-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  885. /package/dist/chunks/{wellknown-gftt206x.js → repository-gftt206x.js} +0 -0
  886. /package/dist/chunks/{wellknown-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
  887. /package/dist/chunks/{wellknown-hk9envan.js → repository-hk9envan.js} +0 -0
  888. /package/dist/chunks/{wellknown-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  889. /package/dist/chunks/{wellknown-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  890. /package/dist/chunks/{wellknown-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  891. /package/dist/chunks/{wellknown-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  892. /package/dist/chunks/{wellknown-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  893. /package/dist/chunks/{wellknown-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
  894. /package/dist/chunks/{wellknown-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{wellknown-m18g726c.js → repository-m18g726c.js} +0 -0
  896. /package/dist/chunks/{wellknown-mp448xyj.js → repository-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{wellknown-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{wellknown-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{wellknown-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{wellknown-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{wellknown-njntx4h6.js → repository-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{wellknown-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{wellknown-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{wellknown-q74kybfr.js → repository-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{wellknown-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  906. /package/dist/chunks/{wellknown-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  907. /package/dist/chunks/{wellknown-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  908. /package/dist/chunks/{wellknown-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  909. /package/dist/chunks/{wellknown-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  910. /package/dist/chunks/{wellknown-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  911. /package/dist/chunks/{wellknown-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  912. /package/dist/chunks/{wellknown-syrav9an.js → repository-syrav9an.js} +0 -0
  913. /package/dist/chunks/{wellknown-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
  914. /package/dist/chunks/{wellknown-ty7weeps.js → repository-ty7weeps.js} +0 -0
  915. /package/dist/chunks/{wellknown-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
  916. /package/dist/chunks/{wellknown-vtarvj67.js → repository-vtarvj67.js} +0 -0
  917. /package/dist/chunks/{wellknown-w803qqfp.js → repository-w803qqfp.js} +0 -0
  918. /package/dist/chunks/{wellknown-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  919. /package/dist/chunks/{wellknown-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  920. /package/dist/chunks/{wellknown-wtztk69x.js → repository-wtztk69x.js} +0 -0
  921. /package/dist/chunks/{wellknown-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  922. /package/dist/chunks/{wellknown-x4th4bpe.js → repository-x4th4bpe.js} +0 -0
  923. /package/dist/chunks/{wellknown-x61499pn.js → repository-x61499pn.js} +0 -0
  924. /package/dist/chunks/{wellknown-y44na4kk.js → repository-y44na4kk.js} +0 -0
  925. /package/dist/chunks/{wellknown-y8f7s663.js → repository-y8f7s663.js} +0 -0
  926. /package/dist/chunks/{wellknown-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  927. /package/dist/chunks/{wellknown-z0h12gs8.js → repository-z0h12gs8.js} +0 -0
  928. /package/dist/chunks/{wellknown-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  929. /package/dist/chunks/{wellknown-z9919s4g.js → repository-z9919s4g.js} +0 -0
  930. /package/dist/chunks/{wellknown-zxpyjp51.js → repository-zxpyjp51.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./wellknown-z5v4ffb3.js";
3
+ } from "./repository-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./wellknown-s7kyse9r.js";
6
+ } from "./repository-w79nt68w.js";
7
7
  import {
8
- Info17
9
- } from "./wellknown-8ykqf5wm.js";
8
+ Info21
9
+ } from "./repository-etrnj9s7.js";
10
10
  import {
11
- Info19
12
- } from "./wellknown-c6x7d2ts.js";
11
+ Info20
12
+ } from "./repository-0ahs07zn.js";
13
13
  import {
14
- Info21
15
- } from "./wellknown-61qraad9.js";
14
+ Info23
15
+ } from "./repository-y3p3hzkr.js";
16
16
  import {
17
17
  Spec2
18
- } from "./wellknown-bdhd9h6e.js";
18
+ } from "./repository-5zrxpy3q.js";
19
19
  import {
20
- Info20
21
- } from "./wellknown-82phgae0.js";
20
+ Info19
21
+ } from "./repository-pyc3gczw.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -28,10 +28,10 @@ import {
28
28
  migrateMcp2,
29
29
  migrateProvider2,
30
30
  providerID2
31
- } from "./wellknown-c57e8gyz.js";
31
+ } from "./repository-akt0fjbd.js";
32
32
  import {
33
33
  __export
34
- } from "./wellknown-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/config/normalize.ts
37
37
  var exports_normalize = {};
@@ -98,12 +98,12 @@ function normalize3(input) {
98
98
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
99
99
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
100
100
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
101
- const legacyCommands = decodeMap(input.command, Info19, ["command"], diagnostics, decodeValue);
101
+ const legacyCommands = decodeMap(input.command, Info20, ["command"], diagnostics, decodeValue);
102
102
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
103
103
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
104
104
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
105
105
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
106
- const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info21, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
107
107
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
108
108
  const migratedSmallModel = modelSelection2(legacySmallModel);
109
109
  if (legacySmallModel && !migratedSmallModel)
@@ -117,7 +117,7 @@ function normalize3(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info21, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
121
121
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
122
122
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
123
123
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -220,7 +220,7 @@ function normalizeMcp(input, encoded, diagnostics) {
220
220
  normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
221
221
  return;
222
222
  }
223
- const server = decodeValue(Info21, value, path, diagnostics);
223
+ const server = decodeValue(Info23, value, path, diagnostics);
224
224
  if (server !== undefined)
225
225
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
226
226
  });
@@ -423,7 +423,7 @@ function migrateProviders(value, diagnostics) {
423
423
  diagnoseProviderUnsupported(raw, path, diagnostics);
424
424
  if (invalidProviderOverlays(raw, path, diagnostics))
425
425
  return [];
426
- const provider = decodeValue(Info20, raw, path, diagnostics);
426
+ const provider = decodeValue(Info19, raw, path, diagnostics);
427
427
  if (provider === undefined)
428
428
  return [];
429
429
  const destination = providerID2(name);
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./wellknown-f0mxakyp.js";
3
+ } from "./repository-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./wellknown-w3wsvvr9.js";
6
+ } from "./repository-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./wellknown-7bmhse3q.js";
9
+ } from "./repository-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./wellknown-cf4snx6d.js";
12
+ } from "./repository-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./wellknown-822emrt2.js";
15
+ } from "./repository-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./wellknown-wd87259q.js";
18
+ } from "./repository-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./wellknown-m9w0rfyh.js";
21
+ } from "./repository-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service91,
3
3
  node95
4
- } from "./wellknown-mfep6jn1.js";
4
+ } from "./repository-ad4g1b77.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create4
8
- } from "./wellknown-40y6dtc2.js";
8
+ } from "./repository-40y6dtc2.js";
9
9
  import {
10
10
  key3
11
- } from "./wellknown-xvn8mnch.js";
11
+ } from "./repository-n320gsn2.js";
12
12
  import {
13
- ID17,
13
+ ID18,
14
14
  Service79,
15
15
  node83,
16
- Event15
17
- } from "./wellknown-9nd1m1ds.js";
16
+ Event17
17
+ } from "./repository-p4s9hdeb.js";
18
18
  import {
19
- Service86,
20
- node90
21
- } from "./wellknown-4nhvs03x.js";
19
+ Service83,
20
+ node87
21
+ } from "./repository-8sfccg3j.js";
22
22
  import {
23
23
  __export
24
- } from "./wellknown-9rqn6x4v.js";
24
+ } from "./repository-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider5 = {};
@@ -31,9 +31,9 @@ __export(exports_provider5, {
31
31
  Compaction: () => Compaction3,
32
32
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
33
33
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
34
- Event: () => Event14,
35
- ID: () => ID16,
36
- Info: () => Info24,
34
+ Event: () => Event16,
35
+ ID: () => ID17,
36
+ Info: () => Info25,
37
37
  LoadError: () => LoadError3,
38
38
  Provider: () => exports_provider5,
39
39
  Request: () => Request4,
@@ -331,8 +331,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
331
331
  var decode = Schema.decodeUnknownSync(Legacy);
332
332
 
333
333
  // src/provider.ts
334
- import { Event as Event14 } from "@opencode/schema/provider";
335
- var ID16 = Provider.ID;
334
+ import { Event as Event16 } from "@opencode/schema/provider";
335
+ var ID17 = Provider.ID;
336
336
  var AISDK_PREFIX2 = "aisdk:";
337
337
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
338
338
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -577,7 +577,7 @@ var Compaction3 = Provider.Compaction;
577
577
  var Cache2 = Provider.Cache;
578
578
  var Transport2 = Provider.Transport;
579
579
  var Settings2 = Provider.Settings;
580
- var Info24 = Provider.Info;
580
+ var Info25 = Provider.Info;
581
581
 
582
582
  class Service78 extends Context.Service()("@opencode/Provider") {
583
583
  }
@@ -595,7 +595,7 @@ function index(providerID, models) {
595
595
  var layer = Layer.effect(Service78, Effect2.gen(function* () {
596
596
  const bus = yield* Service91;
597
597
  const integrations = yield* Service79;
598
- const location = yield* Service86;
598
+ const location = yield* Service83;
599
599
  const state = create4({
600
600
  name: "provider",
601
601
  initial: () => new Map,
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
606
606
  const current = records.get(id);
607
607
  if (current)
608
608
  return current;
609
- const added = { provider: Info24.empty(id), models: new Map };
609
+ const added = { provider: Info25.empty(id), models: new Map };
610
610
  records.set(id, added);
611
611
  maps.add(added.models);
612
612
  return added;
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
687
687
  const available = Array.from(records.values()).filter((record) => {
688
688
  if (record.provider.activation === "disabled")
689
689
  return false;
690
- const integration = byID.get(record.provider.integrationID ?? ID17.make(record.provider.id));
690
+ const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
691
691
  if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
692
692
  return false;
693
693
  if (record.provider.activation === "enabled")
@@ -713,7 +713,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
713
713
  location: { directory: location.directory, workspaceID: location.workspaceID }
714
714
  });
715
715
  });
716
- yield* bus.subscribe([Event15.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
716
+ yield* bus.subscribe([Event17.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
717
717
  return Service78.of({
718
718
  transform: state.transform,
719
719
  reload: state.reload,
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
723
723
  snapshot
724
724
  });
725
725
  }));
726
- var node82 = makeLocationNode({ service: Service78, layer, deps: [node95, node83, node90] });
726
+ var node82 = makeLocationNode({ service: Service78, layer, deps: [node95, node83, node87] });
727
727
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
728
728
  const module = yield* Effect2.tryPromise({
729
729
  try: () => {
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
745
745
  return module;
746
746
  });
747
747
 
748
- export { rewrite2, native2, exports_aisdk_native, ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service78, node82, exports_provider5, Event14 };
748
+ export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service78, node82, exports_provider5, Event16 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service41,
3
- node44
4
- } from "./wellknown-j3c3bgfm.js";
2
+ Service57,
3
+ node59
4
+ } from "./repository-naadnz2w.js";
5
5
  import {
6
- Service20,
7
- node24
8
- } from "./wellknown-ygd9658s.js";
6
+ Service24,
7
+ node28
8
+ } from "./repository-346hvfgb.js";
9
9
  import {
10
10
  text3,
11
11
  deliver2
12
- } from "./wellknown-0j7gp832.js";
12
+ } from "./repository-0j7gp832.js";
13
13
  import {
14
14
  __export
15
- } from "./wellknown-9rqn6x4v.js";
15
+ } from "./repository-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service12,
20
+ Service: () => Service11,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node14
22
+ node: () => node13
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service12 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service11 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service20;
30
- const jobs = yield* Service41;
29
+ const sessions = yield* Service24;
30
+ const jobs = yield* Service57;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service12.of({
45
+ return Service11.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node14 = Node.makeGlobalNode({
68
- service: Service12,
69
- layer: Layer.effect(Service12, make),
70
- deps: [node24, node44]
67
+ var node13 = Node.makeGlobalNode({
68
+ service: Service11,
69
+ layer: Layer.effect(Service11, make),
70
+ deps: [node28, node59]
71
71
  });
72
72
 
73
- export { Service12, node14, exports_subagent_job };
73
+ export { Service11, node13, exports_subagent_job };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./wellknown-z5v4ffb3.js";
4
+ } from "./repository-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service88,
9
- node92
10
- } from "./wellknown-njcw23t2.js";
11
- import {
12
8
  Service86,
13
9
  node90
14
- } from "./wellknown-4nhvs03x.js";
10
+ } from "./repository-a8cfcyt3.js";
11
+ import {
12
+ Service83,
13
+ node87
14
+ } from "./repository-8sfccg3j.js";
15
15
  import {
16
16
  create4
17
- } from "./wellknown-40y6dtc2.js";
17
+ } from "./repository-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./wellknown-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID7,
27
- Service: () => Service42,
25
+ Error: () => Error3,
26
+ ID: () => ID9,
27
+ Service: () => Service55,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node45,
29
+ node: () => node57,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID7 } from "@opencode/schema/snapshot";
37
+ import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service42 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service55 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service42, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service88;
50
+ const git = yield* Service86;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service86;
52
+ const location = yield* Service83;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID7.make(tree);
100
+ return ID9.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node45 = makeLocationNode({
159
- service: Service42,
158
+ var node57 = makeLocationNode({
159
+ service: Service55,
160
160
  layer,
161
- deps: [FSUtil.node, node92, Global.node, node90]
161
+ deps: [FSUtil.node, node90, Global.node, node87]
162
162
  });
163
- var noopLayer3 = Layer.succeed(Service42, Service42.of({
163
+ var noopLayer3 = Layer.succeed(Service55, Service55.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer3 = Layer.succeed(Service42, Service42.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error2 && cause.operation === operation)
172
+ if (cause instanceof Error3 && cause.operation === operation)
173
173
  return cause;
174
- return new Error2({
174
+ return new Error3({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID7, Error2, Service42, node45, noopLayer3, exports_snapshot2 };
181
+ export { ID9, Error3, Service55, node57, noopLayer3, exports_snapshot2 };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  invocation2,
3
- Service70
4
- } from "./wellknown-ca56qfen.js";
3
+ Service65
4
+ } from "./repository-mbvsapx9.js";
5
5
  import {
6
- ID9,
6
+ ID8,
7
7
  Name2,
8
8
  toModelOutput3,
9
9
  prepare3,
10
- Service62
11
- } from "./wellknown-qq2mwbh9.js";
10
+ Service50
11
+ } from "./repository-qtq380bn.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/tool/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
19
- Input: () => Input12,
20
- Output: () => Output8,
21
- Plugin: () => Plugin34,
22
- SkillTool: () => exports_skill2,
23
- description: () => description7,
24
- name: () => name12,
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
+ Input: () => Input8,
20
+ Output: () => Output6,
21
+ Plugin: () => Plugin12,
22
+ SkillTool: () => exports_skill,
23
+ description: () => description3,
24
+ name: () => name8,
25
25
  toModelOutput: () => toModelOutput2
26
26
  });
27
27
  import { ToolFailure } from "@opencode/ai/effect";
28
28
  import { Effect, Schema } from "effect";
29
29
  import { FSUtil } from "@opencode/util/fs-util";
30
- var name12 = "skill";
31
- var Input12 = Schema.Struct({
32
- id: ID9.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
30
+ var name8 = "skill";
31
+ var Input8 = Schema.Struct({
32
+ id: ID8.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
33
33
  });
34
- var Output8 = Schema.Struct({
34
+ var Output6 = Schema.Struct({
35
35
  name: Name2,
36
36
  directory: Schema.String,
37
37
  output: Schema.String
38
38
  });
39
- var description7 = [
39
+ var description3 = [
40
40
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
41
41
  "",
42
42
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -44,25 +44,25 @@ var description7 = [
44
44
  `);
45
45
  var toModelOutput2 = toModelOutput3;
46
46
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
47
- var Plugin34 = {
47
+ var Plugin12 = {
48
48
  id: "opencode.tool.skill",
49
49
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
50
50
  const fs = yield* FSUtil.Service;
51
- const skills = yield* Service62;
52
- const permission = yield* Service70;
51
+ const skills = yield* Service50;
52
+ const permission = yield* Service65;
53
53
  yield* ctx.tool.transform((editor) => editor.add({
54
- name: name12,
54
+ name: name8,
55
55
  options: { codemode: false },
56
- description: description7,
57
- input: Input12,
58
- output: Output8,
56
+ description: description3,
57
+ input: Input8,
58
+ output: Output6,
59
59
  execute: (input, context) => Effect.gen(function* () {
60
60
  const skill = yield* skills.get(input.id);
61
61
  if (!skill)
62
62
  return yield* unableToLoad(input.id);
63
63
  return yield* Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name12,
65
+ action: name8,
66
66
  resources: [skill.id],
67
67
  save: [skill.id],
68
68
  ...invocation2(context)
@@ -79,4 +79,4 @@ var Plugin34 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name12, Input12, Output8, description7, toModelOutput2, Plugin34, exports_skill2 };
82
+ export { name8, Input8, Output6, description3, toModelOutput2, Plugin12, exports_skill };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./wellknown-z5v4ffb3.js";
5
+ } from "./repository-z5v4ffb3.js";
6
6
  import {
7
- Service68,
8
- node70
9
- } from "./wellknown-0ymw6mjd.js";
7
+ Service59,
8
+ node61
9
+ } from "./repository-0bz9q8qd.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./wellknown-tbpn7jtk.js";
12
+ } from "./repository-tbpn7jtk.js";
13
13
  import {
14
14
  __export
15
- } from "./wellknown-9rqn6x4v.js";
15
+ } from "./repository-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error3,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service48,
24
- node: () => node51
23
+ Service: () => Service58,
24
+ node: () => node60
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
47
47
  });
48
48
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
49
49
 
50
- class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
51
51
  message: Schema.String,
52
52
  cause: Schema.optional(Schema.Defect())
53
53
  }) {
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
59
59
  }) {
60
60
  }
61
61
 
62
- class Service48 extends Context.Service()("@opencode/Ripgrep") {
62
+ class Service58 extends Context.Service()("@opencode/Ripgrep") {
63
63
  }
64
- var failure = (message, cause) => new Error3({ message, cause });
64
+ var failure = (message, cause) => new Error4({ message, cause });
65
65
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
66
66
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
67
- var layer = Layer.effect(Service48, Effect.gen(function* () {
68
- const environment = yield* Service68;
67
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
68
+ const environment = yield* Service59;
69
69
  const binary = yield* RipgrepBinary2.Service;
70
70
  const run = (input) => {
71
71
  const program = Effect.scoped(Effect.gen(function* () {
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
91
91
  return code === 1 ? [] : rows;
92
92
  }));
93
93
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
94
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
95
95
  };
96
- return Service48.of({
96
+ return Service58.of({
97
97
  glob: (input) => run({
98
98
  cwd: input.cwd,
99
99
  limit: input.limit,
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
179
179
  }))))
180
180
  });
181
181
  }));
182
- var node51 = makeLocationNode({ service: Service48, layer, deps: [node70, RipgrepBinary2.node] });
182
+ var node60 = makeLocationNode({ service: Service58, layer, deps: [node61, RipgrepBinary2.node] });
183
183
 
184
- export { Error3, InvalidPatternError2, Service48, node51, exports_ripgrep };
184
+ export { Error4, InvalidPatternError2, Service58, node60, exports_ripgrep };