@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,39 +1,39 @@
1
1
  import {
2
- node80
3
- } from "./wellknown-pvnyw987.js";
2
+ node74
3
+ } from "./repository-8hbz69sy.js";
4
4
  import {
5
5
  Service91,
6
6
  node95
7
- } from "./wellknown-mfep6jn1.js";
7
+ } from "./repository-ad4g1b77.js";
8
8
  import {
9
- Service86,
10
- node90
11
- } from "./wellknown-4nhvs03x.js";
9
+ Service83,
10
+ node87
11
+ } from "./repository-8sfccg3j.js";
12
12
  import {
13
13
  changes2,
14
14
  create4
15
- } from "./wellknown-40y6dtc2.js";
15
+ } from "./repository-40y6dtc2.js";
16
16
  import {
17
17
  Service90,
18
18
  node94
19
- } from "./wellknown-6vqyxaxn.js";
19
+ } from "./repository-mvckngtm.js";
20
20
  import {
21
- Service75,
22
- node78
23
- } from "./wellknown-6myazjdb.js";
21
+ Service71,
22
+ node75
23
+ } from "./repository-9a9v4e1n.js";
24
24
  import {
25
25
  resolver2
26
- } from "./wellknown-pk8xjp7c.js";
26
+ } from "./repository-m92nfpf5.js";
27
27
  import {
28
28
  detect2
29
- } from "./wellknown-4pyp9zr9.js";
29
+ } from "./repository-4pyp9zr9.js";
30
30
  import {
31
- Service20,
32
- node24
33
- } from "./wellknown-ygd9658s.js";
31
+ Service24,
32
+ node28
33
+ } from "./repository-346hvfgb.js";
34
34
  import {
35
35
  __export
36
- } from "./wellknown-9rqn6x4v.js";
36
+ } from "./repository-9rqn6x4v.js";
37
37
 
38
38
  // src/artifact.ts
39
39
  var exports_artifact2 = {};
@@ -41,23 +41,23 @@ __export(exports_artifact2, {
41
41
  Artifact: () => exports_artifact2,
42
42
  Capability: () => Capability2,
43
43
  Content: () => Content2,
44
- CreateInput: () => CreateInput3,
44
+ CreateInput: () => CreateInput5,
45
45
  DisabledError: () => DisabledError3,
46
- Event: () => Event3,
46
+ Event: () => Event6,
47
47
  FileMissingError: () => FileMissingError2,
48
- ID: () => ID6,
49
- Info: () => Info7,
48
+ ID: () => ID7,
49
+ Info: () => Info9,
50
50
  InvalidError: () => InvalidError3,
51
51
  LocalProviderID: () => LocalProviderID2,
52
- NotFoundError: () => NotFoundError3,
52
+ NotFoundError: () => NotFoundError4,
53
53
  Provider: () => Provider2,
54
54
  ProviderError: () => ProviderError2,
55
55
  ProviderID: () => ProviderID2,
56
56
  ProviderNotFoundError: () => ProviderNotFoundError2,
57
- Service: () => Service19,
58
- UpdateInput: () => UpdateInput2,
57
+ Service: () => Service23,
58
+ UpdateInput: () => UpdateInput3,
59
59
  locate: () => locate2,
60
- node: () => node23
60
+ node: () => node27
61
61
  });
62
62
  import { randomUUID } from "node:crypto";
63
63
  import fs from "node:fs/promises";
@@ -66,13 +66,13 @@ import { lookup } from "mime-types";
66
66
  import {
67
67
  Capability as Capability2,
68
68
  Content as Content2,
69
- CreateInput as CreateInput3,
70
- Event as Event3,
71
- ID as ID6,
72
- Info as Info7,
69
+ CreateInput as CreateInput5,
70
+ Event as Event6,
71
+ ID as ID7,
72
+ Info as Info9,
73
73
  Provider as Provider2,
74
74
  ProviderID as ProviderID2,
75
- UpdateInput as UpdateInput2
75
+ UpdateInput as UpdateInput3
76
76
  } from "@opencode/schema/artifact";
77
77
  import { Global } from "@opencode/util/global";
78
78
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -86,8 +86,8 @@ class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {})
86
86
  }
87
87
  }
88
88
 
89
- class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
90
- artifactID: ID6
89
+ class NotFoundError4 extends Schema.TaggedError()("Artifact.NotFoundError", {
90
+ artifactID: ID7
91
91
  }) {
92
92
  get message() {
93
93
  return `Artifact not found: ${this.artifactID}`;
@@ -95,7 +95,7 @@ class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
95
95
  }
96
96
 
97
97
  class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
98
- artifactID: ID6,
98
+ artifactID: ID7,
99
99
  path: Schema.String
100
100
  }) {
101
101
  get message() {
@@ -129,10 +129,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
129
129
  }
130
130
  }
131
131
 
132
- class Service19 extends Context.Service()("@opencode/Artifact") {
132
+ class Service23 extends Context.Service()("@opencode/Artifact") {
133
133
  }
134
134
  var StoredRecord = Schema.Struct({
135
- info: Info7,
135
+ info: Info9,
136
136
  directory: Schema.String,
137
137
  projectID: Schema.String
138
138
  });
@@ -145,17 +145,17 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
145
145
  const decoded = decodeStoredRecord(stored);
146
146
  return Option.isSome(decoded) ? decoded.value.directory : undefined;
147
147
  }));
148
- var layer = Layer.effect(Service19, Effect.gen(function* () {
148
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
149
149
  const bus = yield* Service91;
150
- const config = yield* Service75;
150
+ const config = yield* Service71;
151
151
  const global = yield* Global.Service;
152
152
  const kv = yield* Service90;
153
- const location = yield* Service86;
154
- const sessions = yield* Service20;
153
+ const location = yield* Service83;
154
+ const sessions = yield* Service24;
155
155
  const flags = yield* resolver2;
156
156
  const rootDir = path.join(global.data, "artifacts");
157
157
  const itemDir = (id) => path.join(rootDir, id);
158
- const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError3({ artifactID: id }))));
158
+ const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError4({ artifactID: id }))));
159
159
  const localProvider = {
160
160
  id: LocalProviderID2,
161
161
  name: "Local",
@@ -194,7 +194,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
194
194
  }
195
195
  }
196
196
  }),
197
- notify: changes2(snapshotProviders, () => bus.publish(Event3.Updated, {}).pipe(Effect.asVoid))
197
+ notify: changes2(snapshotProviders, () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid))
198
198
  });
199
199
  const isEnabled = Effect.fn("Artifact.enabled")(function* () {
200
200
  const entries = yield* config.entries();
@@ -212,7 +212,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
212
212
  return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
213
213
  };
214
214
  const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
215
- return Service19.of({
215
+ return Service23.of({
216
216
  transform: state.transform,
217
217
  reload: state.reload,
218
218
  enabled: isEnabled,
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
256
256
  const files = yield* normalizeFiles(encodeStringFiles(input.files));
257
257
  const entry = yield* resolveEntry(files, input.entry);
258
258
  const provider = yield* resolveProvider(input.provider);
259
- const id = ID6.create();
259
+ const id = ID7.create();
260
260
  const now = yield* Clock.currentTimeMillis;
261
261
  const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
262
- const info = Info7.make({
262
+ const info = Info9.make({
263
263
  id,
264
264
  provider: provider.id,
265
265
  ...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
@@ -303,7 +303,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
303
303
  const now = yield* Clock.currentTimeMillis;
304
304
  const sessionID = input.sessionID ?? existing.info.sessionID;
305
305
  const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
306
- const info = Info7.make({
306
+ const info = Info9.make({
307
307
  id,
308
308
  provider: existing.info.provider,
309
309
  ...sessionID === undefined ? {} : { sessionID },
@@ -347,10 +347,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
347
347
  })
348
348
  });
349
349
  }));
350
- var node23 = makeLocationNode({
351
- service: Service19,
350
+ var node27 = makeLocationNode({
351
+ service: Service23,
352
352
  layer,
353
- deps: [node80, node95, node78, Global.node, node94, node90, node24]
353
+ deps: [node74, node95, node75, Global.node, node94, node87, node28]
354
354
  });
355
355
  function encodeStringFiles(files) {
356
356
  return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
491
491
  });
492
492
  }
493
493
 
494
- export { Capability2, Content2, CreateInput3, Event3, ID6, Info7, Provider2, ProviderID2, UpdateInput2, LocalProviderID2, DisabledError3, NotFoundError3, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service19, locate2, node23, exports_artifact2 };
494
+ export { Capability2, Content2, CreateInput5, Event6, ID7, Info9, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service23, locate2, node27, exports_artifact2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./wellknown-q7y3b9g0.js";
4
+ } from "./repository-kszkre2j.js";
5
5
  import {
6
- ID17,
6
+ ID18,
7
7
  Service79,
8
8
  node83
9
- } from "./wellknown-9nd1m1ds.js";
9
+ } from "./repository-p4s9hdeb.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
- Info: () => Info3,
18
- Service: () => Service14,
19
- UnavailableError: () => UnavailableError3,
17
+ Info: () => Info5,
18
+ Service: () => Service15,
19
+ UnavailableError: () => UnavailableError2,
20
20
  UsageLimits: () => exports_usage_limits,
21
- layer: () => layer10,
22
- node: () => node16
21
+ layer: () => layer9,
22
+ node: () => node17
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
25
  import { Money } from "@opencode/schema/money";
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { httpClient } from "@opencode/util/effect/app-node-platform";
30
30
  import { Context, Duration, Effect, Layer, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
- var Info3 = UsageLimits.Info;
32
+ var Info5 = UsageLimits.Info;
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service14 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service15 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer10 = Layer.effect(Service14, Effect.gen(function* () {
41
+ var layer9 = Layer.effect(Service15, Effect.gen(function* () {
42
42
  const integrations = yield* Service79;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
- const connection = yield* integrations.connection.active(ID17.make("opencode"));
45
+ const connection = yield* integrations.connection.active(ID18.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
- const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
48
+ const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
49
49
  if (!credential || credential.type === "external")
50
50
  return;
51
51
  const workspaceID = credential.metadata?.orgID;
@@ -54,7 +54,7 @@ var layer10 = Layer.effect(Service14, Effect.gen(function* () {
54
54
  const server = server2(credential);
55
55
  const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
56
56
  duration: Duration.seconds(15),
57
- orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
57
+ orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
58
58
  }));
59
59
  return {
60
60
  workspace: {
@@ -66,11 +66,11 @@ var layer10 = Layer.effect(Service14, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service14.of({ get });
69
+ return Service15.of({ get });
70
70
  }));
71
- var node16 = makeLocationNode({
72
- service: Service14,
73
- layer: layer10,
71
+ var node17 = makeLocationNode({
72
+ service: Service15,
73
+ layer: layer9,
74
74
  deps: [node83, httpClient]
75
75
  });
76
76
  var ConsoleBudget = Schema.Struct({
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
117
117
  picked: budget.picked,
118
118
  shared: budget.shared,
119
119
  resetsAt: budget.resetsAt.getTime()
120
- }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
120
+ }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
121
121
  }
122
122
  function readGo(http, server, credential, workspaceID) {
123
123
  return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
124
124
  rolling: meter(body.usage.rolling),
125
125
  weekly: meter(body.usage.weekly),
126
126
  monthly: meter(body.usage.monthly)
127
- })))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
127
+ })))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
128
128
  }
129
129
  function meter(value) {
130
130
  return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
131
131
  }
132
132
 
133
- export { Info3, UnavailableError3, Service14, layer10, node16, exports_usage_limits };
133
+ export { Info5, UnavailableError2, Service15, layer9, node17, exports_usage_limits };
@@ -1,28 +1,28 @@
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
- Service86,
11
- node90
12
- } from "./wellknown-4nhvs03x.js";
10
+ Service83,
11
+ node87
12
+ } from "./repository-8sfccg3j.js";
13
13
  import {
14
14
  rewrite2,
15
- ID16,
15
+ ID17,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
19
  Service78,
20
20
  node82,
21
- Event14
22
- } from "./wellknown-fv8f8142.js";
21
+ Event16
22
+ } from "./repository-f6e7p22k.js";
23
23
  import {
24
24
  __export
25
- } from "./wellknown-9rqn6x4v.js";
25
+ } from "./repository-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,10 +30,10 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event13,
33
+ Event: () => Event15,
34
34
  Family: () => Family2,
35
- ID: () => ID15,
36
- Info: () => Info23,
35
+ ID: () => ID16,
36
+ Info: () => Info24,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref3,
@@ -43,15 +43,15 @@ __export(exports_model2, {
43
43
  compatibility: () => compatibility2,
44
44
  mergeCapabilities: () => mergeCapabilities2,
45
45
  node: () => node81,
46
- parse: () => parse5,
46
+ parse: () => parse4,
47
47
  supportsText: () => supportsText2
48
48
  });
49
49
  import { Model } from "@opencode/schema/model";
50
50
  import { Context, Effect, Layer, Stream } from "effect";
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import { freeze } from "immer";
53
- import { Event as Event13 } from "@opencode/schema/model";
54
- var ID15 = Model.ID;
53
+ import { Event as Event15 } from "@opencode/schema/model";
54
+ var ID16 = Model.ID;
55
55
  var VariantID2 = Model.VariantID;
56
56
  var Family2 = Model.Family;
57
57
  var ReasoningField2 = Model.ReasoningField;
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
69
69
  var Cost2 = Model.Cost;
70
70
  var Type2 = Model.Type;
71
71
  var Ref3 = Model.Ref;
72
- var Info23 = Model.Info;
72
+ var Info24 = Model.Info;
73
73
 
74
74
  class Service77 extends Context.Service()("@opencode/Model") {
75
75
  }
76
76
  var layer = Layer.effect(Service77, Effect.gen(function* () {
77
77
  const providers = yield* Service78;
78
78
  const bus = yield* Service91;
79
- const location = yield* Service86;
79
+ const location = yield* Service83;
80
80
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
81
81
  let input;
82
82
  const state = create4({
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
122
122
  const models = writable(providerID);
123
123
  if (!models)
124
124
  return;
125
- const model = draft(providerID, modelID) ?? Info23.default(providerID, modelID);
125
+ const model = draft(providerID, modelID) ?? Info24.default(providerID, modelID);
126
126
  update(model);
127
127
  model.id = modelID;
128
128
  model.providerID = providerID;
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
191
191
  ];
192
192
  }));
193
193
  if (disableFree)
194
- for (const providerID of [ID16.opencode, ID16.make("opencode-go")])
194
+ for (const providerID of [ID17.opencode, ID17.make("opencode-go")])
195
195
  byProvider.get(providerID)?.forEach((model, id, models) => {
196
196
  if (!model.cost.some((cost) => cost.input > 0))
197
197
  models.delete(id);
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
227
227
  location: { directory: location.directory, workspaceID: location.workspaceID }
228
228
  });
229
229
  });
230
- yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
231
231
  return Service77.of({
232
232
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
233
233
  reload,
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
247
247
  })
248
248
  });
249
249
  }));
250
- var node81 = makeLocationNode({ service: Service77, layer, deps: [node82, node95, node90] });
250
+ var node81 = makeLocationNode({ service: Service77, layer, deps: [node82, node95, node87] });
251
251
  var PREFERRED_FREE = [
252
252
  "big-pickle",
253
253
  "deepseek-v4.1-flash-free",
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
255
255
  "muse-spark-1.3-contributor-free"
256
256
  ];
257
257
  function preferFree(models) {
258
- const freeOnly = models.every((model) => model.providerID === ID16.opencode && !model.cost.some((cost) => cost.input > 0));
258
+ const freeOnly = models.every((model) => model.providerID === ID17.opencode && !model.cost.some((cost) => cost.input > 0));
259
259
  if (!freeOnly)
260
260
  return models;
261
261
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -271,12 +271,12 @@ function compatibility2(input) {
271
271
  return;
272
272
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
273
273
  }
274
- function parse5(input) {
274
+ function parse4(input) {
275
275
  const index = input.indexOf("/");
276
276
  return {
277
- providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
278
- modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
277
+ providerID: ID17.make(index === -1 ? input : input.slice(0, index)),
278
+ modelID: ID16.make(index === -1 ? "" : input.slice(index + 1))
279
279
  };
280
280
  }
281
281
 
282
- export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info23, Service77, node81, supportsText2, compatibility2, parse5, exports_model2, Event13 };
282
+ export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info24, Service77, node81, supportsText2, compatibility2, parse4, exports_model2, Event15 };
@@ -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/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./wellknown-ztve9pxa.js";
3
+ } from "./repository-r44sxzgf.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
19
19
  }).pipe(Schema.optional)
20
20
  });
21
21
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
22
- var make13 = createLocalProviderPlugin2({
22
+ var make18 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make13 = createLocalProviderPlugin2({
38
38
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
39
39
  })
40
40
  });
41
- var LMStudioPlugin2 = make13();
41
+ var LMStudioPlugin2 = make18();
42
42
 
43
- export { make13, LMStudioPlugin2 };
43
+ export { make18, LMStudioPlugin2 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./wellknown-7j94rk72.js";
5
+ } from "./repository-08xzxa8e.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make34,
9
+ make35,
10
10
  makeWithDefaults2
11
- } from "./wellknown-j4henpby.js";
11
+ } from "./repository-10ahnnaz.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make34,
25
+ make: () => make35,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./wellknown-z0h12gs8.js";
3
+ } from "./repository-z0h12gs8.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./wellknown-njcw23t2.js";
6
+ } from "./repository-a8cfcyt3.js";
7
7
  import {
8
8
  invocation2,
9
- Service70
10
- } from "./wellknown-ca56qfen.js";
9
+ Service65
10
+ } from "./repository-mbvsapx9.js";
11
11
  import {
12
- Service67
13
- } from "./wellknown-wdby45ga.js";
12
+ Service18
13
+ } from "./repository-h3j309gg.js";
14
14
  import {
15
15
  DirectoryUnavailableError2
16
- } from "./wellknown-d4v9tmah.js";
16
+ } from "./repository-d4v9tmah.js";
17
17
  import {
18
- Info29,
18
+ Info7,
19
19
  List2,
20
20
  InvalidDirectoryError2,
21
21
  StrategyUnavailableError2,
22
22
  OperationError2
23
- } from "./wellknown-rdsbca89.js";
23
+ } from "./repository-znt7rw13.js";
24
24
  import {
25
25
  __export
26
- } from "./wellknown-9rqn6x4v.js";
26
+ } from "./repository-9rqn6x4v.js";
27
27
 
28
28
  // src/tool/plugin/opencode.ts
29
29
  var exports_opencode = {};
@@ -31,7 +31,7 @@ __export(exports_opencode, {
31
31
  ModelsInput: () => ModelsInput2,
32
32
  MoveInput: () => MoveInput2,
33
33
  OpenCodeTools: () => exports_opencode,
34
- Plugin: () => Plugin24,
34
+ Plugin: () => Plugin18,
35
35
  RenameInput: () => RenameInput2,
36
36
  WorktreeCreateInput: () => WorktreeCreateInput2,
37
37
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -109,11 +109,11 @@ var ModelsOutput = Schema.Struct({
109
109
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
110
110
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
111
111
  });
112
- var Plugin24 = {
112
+ var Plugin18 = {
113
113
  id: "opencode.tools",
114
114
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
115
- const access = yield* Service67;
116
- const permission = yield* Service70;
115
+ const access = yield* Service18;
116
+ const permission = yield* Service65;
117
117
  const hook = (event) => Effect.sync(() => {
118
118
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
119
119
  });
@@ -165,7 +165,7 @@ var Plugin24 = {
165
165
  name: "worktree_create",
166
166
  description: "Create a named worktree. Returns its directory.",
167
167
  input: WorktreeCreateInput2,
168
- output: Info29,
168
+ output: Info7,
169
169
  options: { namespace: "opencode", codemode: true, pinned: true },
170
170
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
171
171
  });
@@ -260,4 +260,4 @@ function removeFailure(directory, error) {
260
260
  return `Unable to remove worktree ${directory}.`;
261
261
  }
262
262
 
263
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin24, exports_opencode };
263
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin18, exports_opencode };