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

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 (932) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  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 +250 -250
  7. package/dist/bus.js +86 -86
  8. package/dist/chunks/{repository-034tev2y.js → model-resolver-034tev2y.js} +2 -2
  9. package/dist/chunks/{repository-6t40r86m.js → model-resolver-0arnxmba.js} +11 -11
  10. package/dist/chunks/{repository-0ma9gw4f.js → model-resolver-0ma9gw4f.js} +2 -2
  11. package/dist/chunks/{repository-a9q3ynkc.js → model-resolver-0nmph3wa.js} +16 -16
  12. package/dist/chunks/{repository-g442wsqe.js → model-resolver-0y15sqga.js} +9 -9
  13. package/dist/chunks/{repository-fx5c1tjh.js → model-resolver-0zbvvfdb.js} +36 -36
  14. package/dist/chunks/{repository-k83g76qh.js → model-resolver-12w1x9kt.js} +6 -6
  15. package/dist/chunks/{repository-ddvn7d3w.js → model-resolver-160yv0cs.js} +8 -8
  16. package/dist/chunks/{repository-bgn5hadf.js → model-resolver-16prz1ep.js} +8 -8
  17. package/dist/chunks/{repository-63qfzx3d.js → model-resolver-16t52pqt.js} +8 -8
  18. package/dist/chunks/{repository-1aqsckx4.js → model-resolver-1aqsckx4.js} +1 -1
  19. package/dist/chunks/{repository-d146bgny.js → model-resolver-1ay57j6c.js} +13 -13
  20. package/dist/chunks/{repository-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{repository-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{repository-5zrxpy3q.js → model-resolver-1yq9hg58.js} +5 -5
  23. package/dist/chunks/{repository-7st6202b.js → model-resolver-25f4tn1f.js} +35 -35
  24. package/dist/chunks/{repository-8b3vzgkx.js → model-resolver-25h84942.js} +4 -4
  25. package/dist/chunks/{repository-9wyr9weg.js → model-resolver-26nyybnb.js} +6 -6
  26. package/dist/chunks/{repository-42z7z3wx.js → model-resolver-27mpw206.js} +181 -181
  27. package/dist/chunks/{repository-36mbjf8k.js → model-resolver-293g14mp.js} +13 -13
  28. package/dist/chunks/{repository-zfyw8qbd.js → model-resolver-2bkra2hq.js} +5 -5
  29. package/dist/chunks/{repository-gywxy7j9.js → model-resolver-2cz5jp9j.js} +7 -7
  30. package/dist/chunks/{repository-4dvckpb1.js → model-resolver-2f3qc8cv.js} +22 -22
  31. package/dist/chunks/{repository-2fc7eemy.js → model-resolver-2fc7eemy.js} +1 -1
  32. package/dist/chunks/{repository-9j20w6gs.js → model-resolver-2g0ar3nh.js} +4 -4
  33. package/dist/chunks/{repository-w79nt68w.js → model-resolver-2kg89srt.js} +4 -4
  34. package/dist/chunks/{repository-5k4n6v37.js → model-resolver-2n444ktb.js} +2 -2
  35. package/dist/chunks/{repository-2p60zmnr.js → model-resolver-2p60zmnr.js} +2 -2
  36. package/dist/chunks/{repository-9a9v4e1n.js → model-resolver-367emvgy.js} +56 -56
  37. package/dist/chunks/{repository-8rapdqzr.js → model-resolver-39sgvy3e.js} +4 -4
  38. package/dist/chunks/{repository-3adw4bt5.js → model-resolver-3adw4bt5.js} +2 -2
  39. package/dist/chunks/{repository-vek77fn1.js → model-resolver-3bgf9gas.js} +4 -4
  40. package/dist/chunks/{repository-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{repository-esnzksqe.js → model-resolver-3kh0gcb1.js} +37 -37
  42. package/dist/chunks/{repository-58xa946s.js → model-resolver-3khhh005.js} +8 -8
  43. package/dist/chunks/{repository-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{repository-s16hq6hq.js → model-resolver-3nw1k2zv.js} +6 -6
  45. package/dist/chunks/{repository-40y6dtc2.js → model-resolver-40y6dtc2.js} +1 -1
  46. package/dist/chunks/{repository-4eyab45f.js → model-resolver-424veqmr.js} +16 -16
  47. package/dist/chunks/{repository-44pmzq9c.js → model-resolver-44pmzq9c.js} +2 -2
  48. package/dist/chunks/{repository-vatm92p4.js → model-resolver-4abk2202.js} +9 -9
  49. package/dist/chunks/{repository-4dx1dgte.js → model-resolver-4dx1dgte.js} +1 -1
  50. package/dist/chunks/{repository-5ypa17q2.js → model-resolver-4krr2nde.js} +3 -3
  51. package/dist/chunks/{repository-7d1znp7a.js → model-resolver-4pw6mjnh.js} +3 -3
  52. package/dist/chunks/{repository-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
  53. package/dist/chunks/{repository-m0y6w2jg.js → model-resolver-4r2ajar3.js} +12 -12
  54. package/dist/chunks/{repository-2gszavhy.js → model-resolver-4rbajnk5.js} +16 -16
  55. package/dist/chunks/{repository-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  56. package/dist/chunks/{repository-r7z0jfb4.js → model-resolver-530xg6vw.js} +3 -3
  57. package/dist/chunks/{repository-tbthaakc.js → model-resolver-55mv56yt.js} +9 -9
  58. package/dist/chunks/{repository-hdrtk87s.js → model-resolver-5ebpawpv.js} +57 -57
  59. package/dist/chunks/{repository-z931v3a9.js → model-resolver-5f7x8gmd.js} +4 -4
  60. package/dist/chunks/{repository-mngayyt0.js → model-resolver-5j4k0msb.js} +22 -22
  61. package/dist/chunks/{repository-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{repository-k7taw3e3.js → model-resolver-5vegt1x0.js} +13 -13
  63. package/dist/chunks/{repository-8cg7mtm3.js → model-resolver-5whx36p1.js} +4 -4
  64. package/dist/chunks/{repository-454ezavw.js → model-resolver-5ycptf1v.js} +10 -10
  65. package/dist/chunks/{repository-kze6nzna.js → model-resolver-62zd5tzk.js} +4 -4
  66. package/dist/chunks/model-resolver-692b72pa.js +577 -0
  67. package/dist/chunks/{repository-akt0fjbd.js → model-resolver-6axc0njm.js} +4 -4
  68. package/dist/chunks/{repository-8hbz69sy.js → model-resolver-6fpa6ee2.js} +11 -11
  69. package/dist/chunks/{repository-7b9gqgn8.js → model-resolver-6kfx1qy7.js} +28 -28
  70. package/dist/chunks/{repository-mej5exg2.js → model-resolver-6pxtshje.js} +10 -10
  71. package/dist/chunks/{repository-bh59f9rd.js → model-resolver-6rccv5kh.js} +9 -9
  72. package/dist/chunks/{repository-v7v806p5.js → model-resolver-6t791ah0.js} +11 -11
  73. package/dist/chunks/{repository-ecz89gw5.js → model-resolver-7117yfp2.js} +16 -16
  74. package/dist/chunks/{repository-27m2756j.js → model-resolver-77gvcwrw.js} +43 -43
  75. package/dist/chunks/{repository-k0nkxeqt.js → model-resolver-78chxwwj.js} +9 -9
  76. package/dist/chunks/{repository-pgqxr0th.js → model-resolver-7a2bwsmz.js} +4 -4
  77. package/dist/chunks/{repository-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{repository-1zc261y1.js → model-resolver-7f840skq.js} +8 -8
  79. package/dist/chunks/{repository-xpve62cf.js → model-resolver-7h09t6vy.js} +4 -4
  80. package/dist/chunks/{repository-a8cfcyt3.js → model-resolver-7k6n85sm.js} +12 -12
  81. package/dist/chunks/{repository-2h7px8sz.js → model-resolver-7majwt7k.js} +24 -24
  82. package/dist/chunks/{repository-a5fx33f2.js → model-resolver-7nqkf5r1.js} +6 -6
  83. package/dist/chunks/{repository-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  84. package/dist/chunks/{repository-7weczvnd.js → model-resolver-7weczvnd.js} +1 -1
  85. package/dist/chunks/{repository-80mg3ag8.js → model-resolver-80mg3ag8.js} +3 -3
  86. package/dist/chunks/model-resolver-82dat0k4.js +265 -0
  87. package/dist/chunks/{repository-cfrsedvg.js → model-resolver-844xcd9v.js} +31 -31
  88. package/dist/chunks/{repository-89287pr7.js → model-resolver-89287pr7.js} +1 -1
  89. package/dist/chunks/{repository-633ywpet.js → model-resolver-8b1ad6cn.js} +17 -17
  90. package/dist/chunks/{repository-znt7rw13.js → model-resolver-8bg7n6cy.js} +40 -40
  91. package/dist/chunks/{repository-rs5qbk4v.js → model-resolver-8ex2vaqz.js} +4 -4
  92. package/dist/chunks/{repository-ep6pe98a.js → model-resolver-8hfctyyf.js} +5 -5
  93. package/dist/chunks/{repository-jkmg1q5b.js → model-resolver-8kqgm7kj.js} +33 -33
  94. package/dist/chunks/{repository-eb5bs4av.js → model-resolver-8n6drvjh.js} +5 -5
  95. package/dist/chunks/{repository-g87nr3nw.js → model-resolver-8qd8xmta.js} +5 -5
  96. package/dist/chunks/{repository-8sxe6kv8.js → model-resolver-8sxe6kv8.js} +2 -2
  97. package/dist/chunks/{repository-r17fbvme.js → model-resolver-8t99kr38.js} +4 -4
  98. package/dist/chunks/{repository-j4r7kv1t.js → model-resolver-8thehkgp.js} +36 -36
  99. package/dist/chunks/{repository-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  100. package/dist/chunks/model-resolver-8x060fmy.js +18 -0
  101. package/dist/chunks/{repository-2v4kkva7.js → model-resolver-8xpmpcne.js} +18 -18
  102. package/dist/chunks/{repository-yts2a8qm.js → model-resolver-8xz27cp9.js} +4 -4
  103. package/dist/chunks/{repository-8zv0xmg5.js → model-resolver-8zv0xmg5.js} +1 -1
  104. package/dist/chunks/{repository-tde0pya5.js → model-resolver-90pag9bh.js} +12 -12
  105. package/dist/chunks/{repository-68cs06h1.js → model-resolver-963hk181.js} +5 -5
  106. package/dist/chunks/{repository-mc0exbqp.js → model-resolver-9b40hqz5.js} +11 -11
  107. package/dist/chunks/{repository-8b8x22w8.js → model-resolver-9gq99r53.js} +10 -10
  108. package/dist/chunks/{repository-pbh4n44j.js → model-resolver-9k53ynq8.js} +15 -15
  109. package/dist/chunks/{repository-b35jvm0v.js → model-resolver-9nkyp312.js} +36 -36
  110. package/dist/chunks/{repository-v9vs06em.js → model-resolver-a3fn0gmm.js} +2 -2
  111. package/dist/chunks/{repository-xqcb3zgw.js → model-resolver-aa29szgn.js} +12 -12
  112. package/dist/chunks/{repository-mvckngtm.js → model-resolver-adn5hbq3.js} +11 -11
  113. package/dist/chunks/{repository-jt43vy5p.js → model-resolver-aj8vk75y.js} +45 -45
  114. package/dist/chunks/{repository-tn4wd2fq.js → model-resolver-apxf9kk0.js} +15 -15
  115. package/dist/chunks/{repository-fefngcxr.js → model-resolver-aq0c685a.js} +25 -25
  116. package/dist/chunks/{repository-b14gg4sh.js → model-resolver-at67j8j1.js} +6 -6
  117. package/dist/chunks/{repository-x9nycdzm.js → model-resolver-axkdp7x4.js} +5 -5
  118. package/dist/chunks/{repository-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
  119. package/dist/chunks/{repository-wqr24bzv.js → model-resolver-b1egqa0g.js} +16 -16
  120. package/dist/chunks/{repository-b26ddj6h.js → model-resolver-b26ddj6h.js} +4 -4
  121. package/dist/chunks/{repository-jcapt50a.js → model-resolver-b4as5qea.js} +77 -77
  122. package/dist/chunks/{repository-r44sxzgf.js → model-resolver-b5bt1xzp.js} +14 -14
  123. package/dist/chunks/{repository-11kbg32g.js → model-resolver-b7ajv3td.js} +5 -5
  124. package/dist/chunks/{repository-vyk6e2d4.js → model-resolver-bdebq1ap.js} +27 -27
  125. package/dist/chunks/{repository-0ty4dky8.js → model-resolver-bhvbxzqx.js} +5 -5
  126. package/dist/chunks/{repository-5h5zemyv.js → model-resolver-bjsh8jr1.js} +18 -18
  127. package/dist/chunks/{repository-cnx94ynn.js → model-resolver-bjsqebk6.js} +51 -51
  128. package/dist/chunks/{repository-tv28p82x.js → model-resolver-bn2zw3xc.js} +5 -5
  129. package/dist/chunks/{repository-2qtxdwzg.js → model-resolver-bqx0pjzp.js} +51 -51
  130. package/dist/chunks/{repository-xd9cc171.js → model-resolver-bstexjd6.js} +5 -5
  131. package/dist/chunks/{repository-ksg0sazg.js → model-resolver-bxg7f7wz.js} +45 -45
  132. package/dist/chunks/{repository-by8ty0bx.js → model-resolver-by8ty0bx.js} +1 -1
  133. package/dist/chunks/{repository-08xzxa8e.js → model-resolver-c2x10qzh.js} +1 -1
  134. package/dist/chunks/{repository-0ahs07zn.js → model-resolver-c6x7d2ts.js} +4 -4
  135. package/dist/chunks/{repository-346hvfgb.js → model-resolver-c730cvbw.js} +90 -90
  136. package/dist/chunks/{repository-8dncjpvn.js → model-resolver-cc1wdjjp.js} +19 -19
  137. package/dist/chunks/{repository-fpcrbcat.js → model-resolver-cjw47p47.js} +14 -14
  138. package/dist/chunks/{repository-pyc3gczw.js → model-resolver-cr44ae3x.js} +5 -5
  139. package/dist/chunks/{repository-yg1k5wpw.js → model-resolver-crfn2jq4.js} +18 -18
  140. package/dist/chunks/{repository-92ehh6cz.js → model-resolver-ctkjerjk.js} +11 -11
  141. package/dist/chunks/{repository-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
  142. package/dist/chunks/{repository-7tjync5t.js → model-resolver-cx3hb6ey.js} +21 -21
  143. package/dist/chunks/{repository-57v9t8b1.js → model-resolver-d0ga4tqw.js} +19 -19
  144. package/dist/chunks/{repository-bws3jtw9.js → model-resolver-d4ddsjkz.js} +4 -4
  145. package/dist/chunks/{repository-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
  146. package/dist/chunks/{repository-2v04724g.js → model-resolver-d642wqae.js} +18 -18
  147. package/dist/chunks/{repository-n2najmm2.js → model-resolver-d7exky8c.js} +3 -3
  148. package/dist/chunks/{repository-t2yp4qp9.js → model-resolver-da06b4s7.js} +23 -23
  149. package/dist/chunks/{repository-229tvxdn.js → model-resolver-dg5naf6e.js} +4 -4
  150. package/dist/chunks/{repository-myxktkwz.js → model-resolver-dkzgvvqa.js} +11 -11
  151. package/dist/chunks/{repository-dt77769w.js → model-resolver-dt77769w.js} +1 -1
  152. package/dist/chunks/{repository-jzbd9n56.js → model-resolver-dtbk5dvx.js} +24 -24
  153. package/dist/chunks/{repository-f8f6ttpt.js → model-resolver-dy77j9k9.js} +25 -25
  154. package/dist/chunks/{repository-sga6cxxk.js → model-resolver-e0ptrsep.js} +23 -23
  155. package/dist/chunks/{repository-vycsk1c7.js → model-resolver-e71bb87j.js} +8 -8
  156. package/dist/chunks/{repository-e834z07m.js → model-resolver-e834z07m.js} +1 -1
  157. package/dist/chunks/{repository-dy9wc0ek.js → model-resolver-ea2sb0gq.js} +27 -27
  158. package/dist/chunks/{repository-bymwvmjr.js → model-resolver-ecgc45x3.js} +4 -4
  159. package/dist/chunks/{repository-ggej6006.js → model-resolver-efb1daz1.js} +13 -13
  160. package/dist/chunks/{repository-rkkjt8fb.js → model-resolver-emwwbyqs.js} +20 -20
  161. package/dist/chunks/{repository-my66mdgm.js → model-resolver-epha14vy.js} +21 -21
  162. package/dist/chunks/{repository-eqw4pqj1.js → model-resolver-eqw4pqj1.js} +2 -2
  163. package/dist/chunks/{repository-p4s9hdeb.js → model-resolver-es9bhtwg.js} +27 -27
  164. package/dist/chunks/{repository-a70dxxxa.js → model-resolver-f2gbqpvw.js} +5 -5
  165. package/dist/chunks/{repository-f6e7p22k.js → model-resolver-f9ay64ez.js} +29 -29
  166. package/dist/chunks/{repository-b4hsppa9.js → model-resolver-fbs1s4s5.js} +9 -9
  167. package/dist/chunks/{repository-mgx1zyr6.js → model-resolver-fcazfteq.js} +16 -16
  168. package/dist/chunks/{repository-gg1x98p9.js → model-resolver-ffck4b23.js} +9 -9
  169. package/dist/chunks/{repository-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  170. package/dist/chunks/{repository-prq7xxp2.js → model-resolver-fg9p65nk.js} +6 -6
  171. package/dist/chunks/{repository-w3h50mwv.js → model-resolver-fkcm1skw.js} +9 -9
  172. package/dist/chunks/{repository-m92nfpf5.js → model-resolver-fkjhewes.js} +9 -9
  173. package/dist/chunks/{repository-k426ppv8.js → model-resolver-fknvcfgj.js} +11 -11
  174. package/dist/chunks/{repository-rvwmk2rc.js → model-resolver-fmaaxttr.js} +23 -23
  175. package/dist/chunks/{repository-6mkkvg4d.js → model-resolver-fsqa7v6j.js} +18 -18
  176. package/dist/chunks/{repository-s3ap151k.js → model-resolver-fsyjsbe8.js} +36 -36
  177. package/dist/chunks/{repository-2m82kwf8.js → model-resolver-fvg558bg.js} +6 -6
  178. package/dist/chunks/{repository-64pz71zv.js → model-resolver-fvpy6jgn.js} +15 -15
  179. package/dist/chunks/{repository-4ccmkn1k.js → model-resolver-fwc8hngx.js} +4 -4
  180. package/dist/chunks/{repository-xq13qa7d.js → model-resolver-g3na21v9.js} +23 -23
  181. package/dist/chunks/model-resolver-g3wp5e7k.js +26 -0
  182. package/dist/chunks/{repository-gbjdnr5j.js → model-resolver-gbjdnr5j.js} +2 -2
  183. package/dist/chunks/{repository-5t0t932v.js → model-resolver-gcd56e55.js} +29 -29
  184. package/dist/chunks/{repository-k370mbj3.js → model-resolver-gjvd2ca0.js} +15 -15
  185. package/dist/chunks/{repository-kcv0p6qs.js → model-resolver-gkdd9kd3.js} +31 -31
  186. package/dist/chunks/{repository-wfbepe62.js → model-resolver-gtp06tzn.js} +58 -58
  187. package/dist/chunks/{repository-jy6ht0vf.js → model-resolver-gtsr79pn.js} +30 -30
  188. package/dist/chunks/{repository-7ptaasd0.js → model-resolver-h94v5e48.js} +8 -8
  189. package/dist/chunks/{repository-mfth9ytk.js → model-resolver-ha42g787.js} +18 -18
  190. package/dist/chunks/{repository-z8tfykde.js → model-resolver-hc1y14nv.js} +3 -3
  191. package/dist/chunks/{repository-hgzwgvze.js → model-resolver-hgzwgvze.js} +2 -2
  192. package/dist/chunks/{repository-etrnj9s7.js → model-resolver-hjnjc3ts.js} +8 -8
  193. package/dist/chunks/{repository-ajvm5x1k.js → model-resolver-hn9vjnxk.js} +59 -59
  194. package/dist/chunks/{repository-v0xx51e0.js → model-resolver-hv5amfp3.js} +32 -32
  195. package/dist/chunks/{repository-e9shpzm4.js → model-resolver-hvfsqw1r.js} +4 -4
  196. package/dist/chunks/{repository-yr3c35qq.js → model-resolver-j0q1dch4.js} +5 -5
  197. package/dist/chunks/{repository-10ahnnaz.js → model-resolver-j1ask773.js} +6 -6
  198. package/dist/chunks/{repository-9nh708zh.js → model-resolver-j43gwz94.js} +3 -3
  199. package/dist/chunks/{repository-z88rdk3t.js → model-resolver-jg1x7y7h.js} +9 -9
  200. package/dist/chunks/{repository-jm70asfg.js → model-resolver-jm70asfg.js} +1 -1
  201. package/dist/chunks/{repository-4pfcg8b2.js → model-resolver-jp23w26z.js} +17 -17
  202. package/dist/chunks/{repository-813cb08y.js → model-resolver-jqknj5pf.js} +19 -19
  203. package/dist/chunks/{repository-em9xfsjv.js → model-resolver-jsjn536r.js} +41 -41
  204. package/dist/chunks/{repository-y3p3hzkr.js → model-resolver-jv5ccajn.js} +5 -5
  205. package/dist/chunks/{repository-f6z7z56m.js → model-resolver-jyw0kdm1.js} +21 -21
  206. package/dist/chunks/{repository-s5she26k.js → model-resolver-k01n733z.js} +13 -13
  207. package/dist/chunks/{repository-xxxmm4tr.js → model-resolver-k742f7an.js} +18 -18
  208. package/dist/chunks/{repository-n6r6k69t.js → model-resolver-k9xvfvyx.js} +6 -6
  209. package/dist/chunks/{repository-c8gd2j19.js → model-resolver-kgdnhpch.js} +8 -8
  210. package/dist/chunks/{repository-42jetmjj.js → model-resolver-khqrnh1g.js} +33 -33
  211. package/dist/chunks/{repository-7p3kv0s7.js → model-resolver-knw5e895.js} +27 -27
  212. package/dist/chunks/{repository-ktck1cjp.js → model-resolver-ktck1cjp.js} +3 -3
  213. package/dist/chunks/{repository-ts0309y8.js → model-resolver-ktfadywa.js} +7 -7
  214. package/dist/chunks/{repository-7rb9v8wg.js → model-resolver-kz76vf0d.js} +29 -29
  215. package/dist/chunks/{repository-kzczzf4v.js → model-resolver-kzczzf4v.js} +1 -1
  216. package/dist/chunks/{repository-m1714858.js → model-resolver-m1714858.js} +1 -1
  217. package/dist/chunks/{repository-43kg0q29.js → model-resolver-m2hxkh02.js} +21 -21
  218. package/dist/chunks/model-resolver-m6cfdtf3.js +16 -0
  219. package/dist/chunks/{repository-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  220. package/dist/chunks/{repository-mb7mbhnz.js → model-resolver-mb7mbhnz.js} +3 -3
  221. package/dist/chunks/{repository-ttqkg3t3.js → model-resolver-mdbsqr6s.js} +16 -16
  222. package/dist/chunks/{repository-5g90fmrv.js → model-resolver-me215f18.js} +1 -1
  223. package/dist/chunks/{repository-mm06edep.js → model-resolver-mm06edep.js} +1 -1
  224. package/dist/chunks/{repository-cmn9htvg.js → model-resolver-mn28p41s.js} +4 -4
  225. package/dist/chunks/{repository-mbvsapx9.js → model-resolver-mn9t0epx.js} +38 -38
  226. package/dist/chunks/{repository-zc6sszfw.js → model-resolver-mphw11w2.js} +13 -13
  227. package/dist/chunks/{repository-msd2a3qm.js → model-resolver-msd2a3qm.js} +4 -4
  228. package/dist/chunks/{repository-mpm8yx7z.js → model-resolver-nbpgvrja.js} +7 -7
  229. package/dist/chunks/{repository-g5gt5c3n.js → model-resolver-nd2qx06s.js} +9 -9
  230. package/dist/chunks/{repository-9cfmkamw.js → model-resolver-ngqnsspn.js} +12 -12
  231. package/dist/chunks/{repository-kmh9f3xz.js → model-resolver-nj85fgyx.js} +5 -5
  232. package/dist/chunks/{repository-6wsypzda.js → model-resolver-nqyr67f6.js} +6 -6
  233. package/dist/chunks/{repository-kszkre2j.js → model-resolver-nrw2j6d4.js} +8 -8
  234. package/dist/chunks/{repository-1psp2qsj.js → model-resolver-nss8bwdy.js} +19 -19
  235. package/dist/chunks/{repository-94e33dpz.js → model-resolver-nt907s04.js} +3 -3
  236. package/dist/chunks/{repository-t49a5w8f.js → model-resolver-p4zp4vdv.js} +6 -6
  237. package/dist/chunks/{repository-qtq380bn.js → model-resolver-p5gfs0ne.js} +27 -27
  238. package/dist/chunks/{repository-q43319pn.js → model-resolver-p9t7fqqw.js} +28 -28
  239. package/dist/chunks/{repository-najwffq5.js → model-resolver-pcbkngps.js} +32 -32
  240. package/dist/chunks/{repository-9jy8mats.js → model-resolver-pgp4x778.js} +2 -2
  241. package/dist/chunks/{repository-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  242. package/dist/chunks/{repository-2dd1gyky.js → model-resolver-psd8nhz2.js} +11 -11
  243. package/dist/chunks/{repository-0994vbbn.js → model-resolver-pzd7a51q.js} +29 -29
  244. package/dist/chunks/{repository-h5gm5jf1.js → model-resolver-q6a7h9km.js} +7 -7
  245. package/dist/chunks/{repository-vntxrryt.js → model-resolver-q7kt9bgk.js} +36 -36
  246. package/dist/chunks/{repository-3ts1yv15.js → model-resolver-qa34d95v.js} +22 -22
  247. package/dist/chunks/{repository-a0p8mqkt.js → model-resolver-qbg5x5nk.js} +11 -11
  248. package/dist/chunks/{repository-4hwm0yv8.js → model-resolver-qef5wpr2.js} +15 -15
  249. package/dist/chunks/{repository-naadnz2w.js → model-resolver-qezbz7k4.js} +14 -14
  250. package/dist/chunks/{repository-hp5xq2f7.js → model-resolver-qm0rg8rs.js} +13 -13
  251. package/dist/chunks/{repository-vsnyj3xr.js → model-resolver-qmns6g7h.js} +44 -44
  252. package/dist/chunks/{repository-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
  253. package/dist/chunks/{repository-wfdx5ztx.js → model-resolver-qsdghx1p.js} +4 -4
  254. package/dist/chunks/{repository-ews15w8r.js → model-resolver-qt75d4zp.js} +5 -5
  255. package/dist/chunks/{repository-0bz9q8qd.js → model-resolver-qwey4zz2.js} +20 -20
  256. package/dist/chunks/{repository-86kkc16z.js → model-resolver-qyh1x08y.js} +38 -38
  257. package/dist/chunks/{repository-5wb77t7x.js → model-resolver-r21c3xnz.js} +12 -12
  258. package/dist/chunks/{repository-z5rnheqe.js → model-resolver-r3xas383.js} +11 -11
  259. package/dist/chunks/{repository-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
  260. package/dist/chunks/{repository-7vb5mjx9.js → model-resolver-r5evet85.js} +19 -19
  261. package/dist/chunks/{repository-p94p4v4n.js → model-resolver-r7zrbnjn.js} +4 -4
  262. package/dist/chunks/{repository-ygymdc53.js → model-resolver-r88dn4za.js} +11 -11
  263. package/dist/chunks/{repository-w5ce9yke.js → model-resolver-r8nj5tkc.js} +29 -29
  264. package/dist/chunks/{repository-b78vcyc5.js → model-resolver-r9cgykq9.js} +22 -22
  265. package/dist/chunks/{repository-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  266. package/dist/chunks/{repository-9c2bqs4t.js → model-resolver-regfzdhd.js} +9 -9
  267. package/dist/chunks/{repository-hfdeg0q9.js → model-resolver-rg08ty0x.js} +31 -31
  268. package/dist/chunks/{repository-g6hens4m.js → model-resolver-rg889x3e.js} +28 -28
  269. package/dist/chunks/{repository-rgc9cx3e.js → model-resolver-rgc9cx3e.js} +2 -2
  270. package/dist/chunks/{repository-st4hg3gb.js → model-resolver-rt18gyq5.js} +11 -11
  271. package/dist/chunks/{repository-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  272. package/dist/chunks/{repository-h3j309gg.js → model-resolver-rx3mgszk.js} +25 -25
  273. package/dist/chunks/{repository-96q4hcrt.js → model-resolver-rzw5mefb.js} +23 -23
  274. package/dist/chunks/{repository-stztmf2b.js → model-resolver-s1y60vvv.js} +30 -30
  275. package/dist/chunks/{repository-5n0rnk8e.js → model-resolver-s26c8eb5.js} +4 -4
  276. package/dist/chunks/{repository-ten44rr7.js → model-resolver-s8q9980p.js} +2 -2
  277. package/dist/chunks/{repository-ej1gfyzk.js → model-resolver-sb76bcem.js} +13 -13
  278. package/dist/chunks/{repository-g3e3vmrx.js → model-resolver-sbtnyaht.js} +6 -6
  279. package/dist/chunks/{repository-sbya78hr.js → model-resolver-sbya78hr.js} +1 -1
  280. package/dist/chunks/{repository-ghrv1g9c.js → model-resolver-sdt5j0rm.js} +4 -4
  281. package/dist/chunks/{repository-sf9y72b7.js → model-resolver-sf9y72b7.js} +1 -1
  282. package/dist/chunks/{repository-wqwf5vb3.js → model-resolver-sgtxanvd.js} +10 -10
  283. package/dist/chunks/{repository-0j7gp832.js → model-resolver-sqjzf8x2.js} +4 -4
  284. package/dist/chunks/{repository-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
  285. package/dist/chunks/{repository-q07m0qr2.js → model-resolver-t1907cxx.js} +28 -28
  286. package/dist/chunks/{repository-8akjpyn6.js → model-resolver-t48jrnqq.js} +3 -3
  287. package/dist/chunks/{repository-txan6bsn.js → model-resolver-t6kpe0w9.js} +40 -40
  288. package/dist/chunks/{repository-qcvzp09b.js → model-resolver-t742eyav.js} +31 -31
  289. package/dist/chunks/{repository-bn84h1pr.js → model-resolver-t9qtt0fb.js} +43 -43
  290. package/dist/chunks/{repository-tbpn7jtk.js → model-resolver-tbpn7jtk.js} +1 -1
  291. package/dist/chunks/{repository-htz3qjhf.js → model-resolver-tcmngs5t.js} +5 -5
  292. package/dist/chunks/{repository-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  293. package/dist/chunks/{repository-zc5hv29m.js → model-resolver-te265475.js} +39 -39
  294. package/dist/chunks/{repository-teav1bzy.js → model-resolver-teav1bzy.js} +2 -2
  295. package/dist/chunks/{repository-9hxzqb8n.js → model-resolver-tejpjfnb.js} +10 -10
  296. package/dist/chunks/{repository-tg7s7b5t.js → model-resolver-tg7s7b5t.js} +1 -1
  297. package/dist/chunks/{repository-tr8x705m.js → model-resolver-tr8x705m.js} +1 -1
  298. package/dist/chunks/{repository-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
  299. package/dist/chunks/{repository-a55devgp.js → model-resolver-txr8cjwm.js} +36 -36
  300. package/dist/chunks/{repository-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  301. package/dist/chunks/{repository-1g8et7f3.js → model-resolver-v3jt56e1.js} +15 -15
  302. package/dist/chunks/{repository-ynkzm82q.js → model-resolver-vhyxqj1s.js} +25 -25
  303. package/dist/chunks/{repository-vjf35v1f.js → model-resolver-vjf35v1f.js} +1 -1
  304. package/dist/chunks/{repository-8a1b5gq0.js → model-resolver-vme06a9b.js} +7 -7
  305. package/dist/chunks/{repository-vmqe41cb.js → model-resolver-vmqe41cb.js} +1 -1
  306. package/dist/chunks/{repository-fr4kys9t.js → model-resolver-vxcdg492.js} +20 -20
  307. package/dist/chunks/{repository-c9vkkpgm.js → model-resolver-vz5amzxd.js} +9 -9
  308. package/dist/chunks/{repository-w2eysc6j.js → model-resolver-w2eysc6j.js} +2 -2
  309. package/dist/chunks/{repository-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  310. package/dist/chunks/{repository-w3vqc4ke.js → model-resolver-w48gbg6x.js} +8 -8
  311. package/dist/chunks/{repository-hxm880w8.js → model-resolver-w6psvvet.js} +32 -32
  312. package/dist/chunks/{repository-k9akkpr2.js → model-resolver-w86158h9.js} +9 -9
  313. package/dist/chunks/{repository-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  314. package/dist/chunks/{repository-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  315. package/dist/chunks/{repository-wegkxhrn.js → model-resolver-wegkxhrn.js} +2 -2
  316. package/dist/chunks/{repository-ad4g1b77.js → model-resolver-wh88c09m.js} +16 -16
  317. package/dist/chunks/{repository-94x7x2bc.js → model-resolver-wj9f81d9.js} +11 -11
  318. package/dist/chunks/{repository-wr3re1en.js → model-resolver-wr3re1en.js} +1 -1
  319. package/dist/chunks/{repository-rxvjga48.js → model-resolver-wrqm41rr.js} +16 -16
  320. package/dist/chunks/{repository-e4nwzbzr.js → model-resolver-wt01axzz.js} +33 -33
  321. package/dist/chunks/{repository-c7cw818c.js → model-resolver-wt99tj4q.js} +5 -5
  322. package/dist/chunks/{repository-wvr8xscb.js → model-resolver-wvr8xscb.js} +1 -1
  323. package/dist/chunks/{repository-a84sc8bh.js → model-resolver-x20pshzq.js} +83 -83
  324. package/dist/chunks/{repository-9m9rb66j.js → model-resolver-x5ra0hxg.js} +24 -24
  325. package/dist/chunks/{repository-h18d68bp.js → model-resolver-xbwyvq27.js} +15 -15
  326. package/dist/chunks/{repository-ndj0qvc1.js → model-resolver-xfhqxy2h.js} +16 -16
  327. package/dist/chunks/{repository-s5hs9nb1.js → model-resolver-xk21k2xb.js} +44 -44
  328. package/dist/chunks/{repository-8zkf5cgt.js → model-resolver-xm1rq0mn.js} +6 -6
  329. package/dist/chunks/{repository-3rykqk9c.js → model-resolver-xprkaztp.js} +8 -8
  330. package/dist/chunks/{repository-n320gsn2.js → model-resolver-xvn8mnch.js} +4 -4
  331. package/dist/chunks/{repository-xxschbft.js → model-resolver-xxschbft.js} +1 -1
  332. package/dist/chunks/{repository-2yh5f2q3.js → model-resolver-y85g5nsf.js} +17 -17
  333. package/dist/chunks/{repository-r1pfe6de.js → model-resolver-y8bnb9h8.js} +9 -9
  334. package/dist/chunks/{repository-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  335. package/dist/chunks/{repository-ywab437h.js → model-resolver-yg5hjkmc.js} +33 -33
  336. package/dist/chunks/{repository-x6dx5rh2.js → model-resolver-ykee85ey.js} +23 -23
  337. package/dist/chunks/{repository-yr705xyq.js → model-resolver-yr705xyq.js} +1 -1
  338. package/dist/chunks/{repository-w8xzxbk7.js → model-resolver-ystpxhhk.js} +5 -5
  339. package/dist/chunks/{repository-f5fh1k3t.js → model-resolver-ytktxama.js} +7 -7
  340. package/dist/chunks/{repository-yvtc2x31.js → model-resolver-yvtc2x31.js} +1 -1
  341. package/dist/chunks/{repository-8sfccg3j.js → model-resolver-yw62prwp.js} +14 -14
  342. package/dist/chunks/{repository-f25p614d.js → model-resolver-ywnm2ad1.js} +18 -18
  343. package/dist/chunks/{repository-et652733.js → model-resolver-z5kgqz4s.js} +15 -15
  344. package/dist/chunks/{repository-b4k47k2s.js → model-resolver-za1h6cmh.js} +5 -5
  345. package/dist/chunks/{repository-k311np5h.js → model-resolver-zdq92zr8.js} +14 -14
  346. package/dist/chunks/{repository-ze75qvmd.js → model-resolver-ze75qvmd.js} +3 -3
  347. package/dist/chunks/{repository-dw0j9b8q.js → model-resolver-zeavkgg3.js} +54 -54
  348. package/dist/chunks/{repository-0jbwgxgf.js → model-resolver-zrtqzpc7.js} +9 -9
  349. package/dist/chunks/{repository-2vj3mcb9.js → model-resolver-ztbda904.js} +7 -7
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +5 -5
  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 +92 -92
  356. package/dist/config/discovery.js +97 -97
  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 +131 -131
  362. package/dist/config/plugin/command.js +238 -238
  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 +141 -141
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +132 -132
  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 +154 -154
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +128 -128
  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 +7 -7
  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 +83 -83
  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 +100 -100
  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 +107 -107
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +1 -1
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +85 -85
  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 +91 -91
  496. package/dist/filesystem/location-watcher-policy.js +2 -2
  497. package/dist/filesystem/location-watcher.js +251 -251
  498. package/dist/filesystem/protected.js +3 -3
  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 +118 -118
  503. package/dist/flag.js +129 -129
  504. package/dist/form.js +93 -93
  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 +112 -112
  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 +3 -3
  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 +96 -96
  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 +88 -88
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +185 -185
  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 +104 -104
  554. package/dist/mcp/index.js +120 -120
  555. package/dist/mcp/instructions.js +183 -183
  556. package/dist/mcp/oauth.js +89 -89
  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 +112 -112
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +113 -113
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +117 -117
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +89 -89
  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 +99 -99
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +85 -85
  577. package/dist/plugin/command.js +117 -117
  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 +407 -407
  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 +127 -127
  587. package/dist/plugin/optimize.js +4 -4
  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 +117 -117
  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 +1 -1
  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 +7 -7
  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 +115 -115
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  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 +1 -1
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  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 +1 -1
  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 +135 -135
  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 +85 -85
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +150 -150
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +415 -415
  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 +7 -7
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +2 -2
  672. package/dist/plugin/websearch/parallel.js +7 -7
  673. package/dist/plugin/websearch/provider.js +1 -1
  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 +101 -101
  681. package/dist/provider.js +110 -110
  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 +99 -99
  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 +109 -109
  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 +1 -1
  698. package/dist/session/blob.js +132 -132
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +173 -173
  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 +254 -254
  707. package/dist/session/execution.js +171 -171
  708. package/dist/session/generate.js +206 -206
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +152 -152
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +144 -144
  715. package/dist/session/message-updater.js +4 -4
  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 +3 -3
  731. package/dist/session/runner/step.js +164 -164
  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 +3 -3
  742. package/dist/session/subagent-job.js +237 -237
  743. package/dist/session/system-prompt.js +1 -1
  744. package/dist/session/title.js +207 -207
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +247 -247
  747. package/dist/session/usage.js +1 -1
  748. package/dist/session.js +237 -237
  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 +15 -15
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +2 -2
  756. package/dist/skill/instructions.js +148 -148
  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 +184 -184
  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 +247 -247
  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 +151 -151
  773. package/dist/tool/plugin/read.js +175 -175
  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 +158 -158
  777. package/dist/tool/plugin/subagent.js +244 -244
  778. package/dist/tool/plugin/todo.js +156 -156
  779. package/dist/tool/plugin/webfetch.js +158 -158
  780. package/dist/tool/plugin/websearch.js +156 -156
  781. package/dist/tool/plugin/write.js +161 -161
  782. package/dist/tool/read-filesystem.js +110 -110
  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 +106 -106
  804. package/dist/vcs/patch.js +1 -1
  805. package/dist/vcs.js +100 -100
  806. package/dist/voice.js +101 -101
  807. package/dist/websearch.js +101 -101
  808. package/dist/wellknown/plugin.js +87 -87
  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 +93 -93
  813. package/dist/worktree/directory.js +2 -2
  814. package/dist/worktree/git.js +9 -9
  815. package/dist/worktree/sql.js +5 -5
  816. package/dist/worktree/strategies.js +102 -102
  817. package/dist/worktree.js +111 -111
  818. package/package.json +8 -8
  819. package/dist/chunks/repository-2b5ete4v.js +0 -577
  820. package/dist/chunks/repository-4wbbxyz1.js +0 -16
  821. package/dist/chunks/repository-c6k7fcz8.js +0 -265
  822. package/dist/chunks/repository-s1f96faj.js +0 -26
  823. package/dist/chunks/repository-z7bdqmx5.js +0 -18
  824. /package/dist/chunks/{repository-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  825. /package/dist/chunks/{repository-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  826. /package/dist/chunks/{repository-108x4f4w.js → model-resolver-108x4f4w.js} +0 -0
  827. /package/dist/chunks/{repository-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  828. /package/dist/chunks/{repository-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  829. /package/dist/chunks/{repository-1kah00gy.js → model-resolver-1kah00gy.js} +0 -0
  830. /package/dist/chunks/{repository-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  831. /package/dist/chunks/{repository-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  832. /package/dist/chunks/{repository-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  833. /package/dist/chunks/{repository-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  834. /package/dist/chunks/{repository-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  835. /package/dist/chunks/{repository-3af0jn4w.js → model-resolver-3af0jn4w.js} +0 -0
  836. /package/dist/chunks/{repository-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  837. /package/dist/chunks/{repository-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  838. /package/dist/chunks/{repository-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  839. /package/dist/chunks/{repository-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  840. /package/dist/chunks/{repository-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  841. /package/dist/chunks/{repository-4qk9sjk2.js → model-resolver-4qk9sjk2.js} +0 -0
  842. /package/dist/chunks/{repository-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  843. /package/dist/chunks/{repository-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  844. /package/dist/chunks/{repository-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  845. /package/dist/chunks/{repository-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
  846. /package/dist/chunks/{repository-6agm2x70.js → model-resolver-6agm2x70.js} +0 -0
  847. /package/dist/chunks/{repository-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  848. /package/dist/chunks/{repository-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  849. /package/dist/chunks/{repository-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  850. /package/dist/chunks/{repository-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  851. /package/dist/chunks/{repository-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  852. /package/dist/chunks/{repository-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  853. /package/dist/chunks/{repository-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  854. /package/dist/chunks/{repository-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  855. /package/dist/chunks/{repository-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  856. /package/dist/chunks/{repository-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  857. /package/dist/chunks/{repository-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  858. /package/dist/chunks/{repository-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  859. /package/dist/chunks/{repository-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{repository-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{repository-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{repository-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{repository-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{repository-bhmrqjy3.js → model-resolver-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{repository-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{repository-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{repository-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{repository-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{repository-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{repository-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{repository-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{repository-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{repository-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  874. /package/dist/chunks/{repository-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{repository-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{repository-ean2d8b5.js → model-resolver-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{repository-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{repository-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{repository-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{repository-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{repository-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{repository-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{repository-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{repository-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{repository-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  886. /package/dist/chunks/{repository-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{repository-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  888. /package/dist/chunks/{repository-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{repository-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  890. /package/dist/chunks/{repository-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{repository-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{repository-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{repository-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{repository-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{repository-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{repository-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{repository-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  898. /package/dist/chunks/{repository-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{repository-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{repository-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{repository-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{repository-nh4v3znn.js → model-resolver-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{repository-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{repository-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{repository-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{repository-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{repository-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{repository-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{repository-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{repository-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{repository-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{repository-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{repository-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{repository-syrav9an.js → model-resolver-syrav9an.js} +0 -0
  915. /package/dist/chunks/{repository-t03h4f5z.js → model-resolver-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{repository-ty7weeps.js → model-resolver-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{repository-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{repository-vtarvj67.js → model-resolver-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{repository-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{repository-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{repository-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{repository-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{repository-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{repository-x4th4bpe.js → model-resolver-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{repository-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  926. /package/dist/chunks/{repository-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{repository-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{repository-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{repository-z0h12gs8.js → model-resolver-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{repository-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{repository-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{repository-zxpyjp51.js → model-resolver-zxpyjp51.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service91,
3
- node95
4
- } from "./repository-ad4g1b77.js";
2
+ Service90,
3
+ node93
4
+ } from "./model-resolver-wh88c09m.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./repository-40y6dtc2.js";
8
+ } from "./model-resolver-40y6dtc2.js";
9
9
  import {
10
10
  evaluate3
11
- } from "./repository-mbvsapx9.js";
11
+ } from "./model-resolver-mn9t0epx.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./model-resolver-9rqn6x4v.js";
15
15
 
16
16
  // src/skill.ts
17
17
  var exports_skill5 = {};
@@ -19,16 +19,16 @@ __export(exports_skill5, {
19
19
  DirectorySource: () => DirectorySource2,
20
20
  EmbeddedSource: () => EmbeddedSource2,
21
21
  Event: () => Event8,
22
- ID: () => ID8,
23
- Info: () => Info12,
22
+ ID: () => ID9,
23
+ Info: () => Info11,
24
24
  Name: () => Name2,
25
- Service: () => Service50,
25
+ Service: () => Service51,
26
26
  Skill: () => exports_skill5,
27
- Source: () => Source3,
27
+ Source: () => Source4,
28
28
  UrlSource: () => UrlSource2,
29
- available: () => available3,
29
+ available: () => available4,
30
30
  isUri: () => isUri2,
31
- node: () => node52,
31
+ node: () => node53,
32
32
  prepare: () => prepare3,
33
33
  toModelOutput: () => toModelOutput3,
34
34
  uri: () => uri2
@@ -42,11 +42,11 @@ import { Event as Event8 } from "@opencode/schema/skill";
42
42
  var DirectorySource2 = Skill.DirectorySource;
43
43
  var UrlSource2 = Skill.UrlSource;
44
44
  var EmbeddedSource2 = Skill.EmbeddedSource;
45
- var Source3 = Skill.Source;
46
- var Info12 = Skill.Info;
47
- var ID8 = Skill.ID;
45
+ var Source4 = Skill.Source;
46
+ var Info11 = Skill.Info;
47
+ var ID9 = Skill.ID;
48
48
  var Name2 = Skill.Name;
49
- var available3 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
49
+ var available4 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
50
50
  var uri2 = (id, file) => file ? `skill://${id}/${file}` : `skill://${id}`;
51
51
  var isUri2 = (value) => value.startsWith("skill://");
52
52
  var toModelOutput3 = (skill, files) => {
@@ -91,16 +91,16 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill, virtualFiles) {
91
91
  };
92
92
  });
93
93
 
94
- class Service50 extends Context.Service()("@opencode/Skill") {
94
+ class Service51 extends Context.Service()("@opencode/Skill") {
95
95
  }
96
- var layer = Layer.effect(Service50, Effect.gen(function* () {
97
- const bus = yield* Service91;
96
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
97
+ const bus = yield* Service90;
98
98
  const state = create4({
99
99
  name: "skill",
100
100
  initial: () => ({ skills: new Map, files: new Map }),
101
101
  editor: (editor) => ({
102
102
  list: () => Array.from(editor.skills.values()),
103
- get: (id) => editor.skills.get(ID8.make(id)),
103
+ get: (id) => editor.skills.get(ID9.make(id)),
104
104
  add: (skill, files) => {
105
105
  editor.skills.set(skill.id, { ...skill });
106
106
  const entries = files ? Object.entries(files).filter(([file]) => file !== "SKILL.md").toSorted(([a], [b]) => a.localeCompare(b)) : [];
@@ -111,7 +111,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
111
111
  editor.files.set(skill.id, new Map(entries));
112
112
  },
113
113
  update: (id, update) => {
114
- const key = ID8.make(id);
114
+ const key = ID9.make(id);
115
115
  const current = editor.skills.get(key);
116
116
  if (!current)
117
117
  return;
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
119
119
  current.id = key;
120
120
  },
121
121
  remove: (id) => {
122
- const key = ID8.make(id);
122
+ const key = ID9.make(id);
123
123
  editor.skills.delete(key);
124
124
  editor.files.delete(key);
125
125
  }
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
129
129
  Array.from(data.files, ([id, entries]) => [id, Array.from(entries)])
130
130
  ], () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
131
131
  });
132
- return Service50.of({
132
+ return Service51.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  get: Effect.fn("Skill.get")(function* (id) {
@@ -144,10 +144,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
144
144
  })
145
145
  });
146
146
  }));
147
- var node52 = makeLocationNode({
148
- service: Service50,
147
+ var node53 = makeLocationNode({
148
+ service: Service51,
149
149
  layer,
150
- deps: [node95]
150
+ deps: [node93]
151
151
  });
152
152
 
153
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info12, ID8, Name2, available3, uri2, isUri2, toModelOutput3, prepare3, Service50, node52, exports_skill5, Event8 };
153
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info11, ID9, Name2, available4, uri2, isUri2, toModelOutput3, prepare3, Service51, node53, exports_skill5, Event8 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service92,
3
- node96
4
- } from "./repository-94x7x2bc.js";
3
+ node95
4
+ } from "./model-resolver-wj9f81d9.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service91,
8
- node95
9
- } from "./repository-ad4g1b77.js";
7
+ Service90,
8
+ node93
9
+ } from "./model-resolver-wh88c09m.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./repository-0ma9gw4f.js";
12
+ } from "./model-resolver-0ma9gw4f.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./repository-ec1grn59.js";
15
+ } from "./model-resolver-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./repository-mej5exg2.js";
18
+ } from "./model-resolver-6pxtshje.js";
19
19
  import {
20
- Service67,
21
- node70
22
- } from "./repository-ggej6006.js";
20
+ Service66,
21
+ node67
22
+ } from "./model-resolver-efb1daz1.js";
23
23
  import {
24
- Service26,
25
- node31
26
- } from "./repository-jcapt50a.js";
24
+ Service30,
25
+ node33
26
+ } from "./model-resolver-b4as5qea.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./repository-r542h3bh.js";
30
+ } from "./model-resolver-r542h3bh.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-9rqn6x4v.js";
33
+ } from "./model-resolver-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer3,
42
- node: () => node3
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
76
- const bus = yield* Service91;
75
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
76
+ const bus = yield* Service90;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service26;
79
- const store = yield* Service67;
78
+ const context = yield* Service30;
79
+ const store = yield* Service66;
80
80
  const db = (yield* Service92).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -158,12 +158,12 @@ Recent conversation:
158
158
  title: truncate(title)
159
159
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
160
160
  });
161
- return Service2.of({ generate });
161
+ return Service3.of({ generate });
162
162
  }));
163
- var node3 = makeLocationNode({
164
- service: Service2,
163
+ var node4 = makeLocationNode({
164
+ service: Service3,
165
165
  layer: layer3,
166
- deps: [node95, llmClient2, node31, node70, node96]
166
+ deps: [node93, llmClient2, node33, node67, node95]
167
167
  });
168
168
 
169
- export { Service2, isUntitled2, layer3, node3, exports_title };
169
+ export { Service3, isUntitled2, layer3, node4, exports_title };
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./repository-z5v4ffb3.js";
5
+ } from "./model-resolver-z5v4ffb3.js";
6
6
  import {
7
- Service83,
8
- node87
9
- } from "./repository-8sfccg3j.js";
7
+ Service87,
8
+ node90
9
+ } from "./model-resolver-yw62prwp.js";
10
10
  import {
11
- Service44,
12
- node47
13
- } from "./repository-7p3kv0s7.js";
11
+ Service83,
12
+ node85
13
+ } from "./model-resolver-knw5e895.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content4,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event7,
27
+ Event: () => Event20,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError6,
34
- Service: () => Service43,
33
+ NotFoundError: () => NotFoundError13,
34
+ Service: () => Service82,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node46
37
+ node: () => node84
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError13 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content3 = Schema.Struct({
68
+ var Content4 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event7 = FileSystem.Event;
95
+ var Event20 = FileSystem.Event;
96
96
 
97
- class Service43 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service82 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service82, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service83;
102
- const search = yield* Service44;
101
+ const location = yield* Service87;
102
+ const search = yield* Service83;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError6({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError13({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError6({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError13({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError13({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError6({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError13({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service43.of({
121
+ return Service82.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError13({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError6({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError13({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError13({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
159
159
  })
160
160
  });
161
161
  }));
162
- var node46 = makeLocationNode({
163
- service: Service43,
162
+ var node84 = makeLocationNode({
163
+ service: Service82,
164
164
  layer: baseLayer,
165
- deps: [FSUtil.node, node87, node47]
165
+ deps: [FSUtil.node, node90, node85]
166
166
  });
167
167
 
168
- export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service43, node46, exports_filesystem, Entry2, Match2, Submatch2 };
168
+ export { FindInput2, Write2, NotFoundError13, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content4, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service82, node84, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  kept2
3
- } from "./repository-v2r1d0zg.js";
3
+ } from "./model-resolver-v2r1d0zg.js";
4
4
  import {
5
5
  NativeWindow2
6
- } from "./repository-mej5exg2.js";
6
+ } from "./model-resolver-6pxtshje.js";
7
7
 
8
8
  // src/session/runner/to-llm-message.ts
9
9
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./repository-qfa1cgps.js";
3
+ } from "./model-resolver-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-8hbz69sy.js";
3
+ } from "./model-resolver-6fpa6ee2.js";
4
4
  import {
5
5
  OAuth3,
6
- Service80
7
- } from "./repository-2h7px8sz.js";
6
+ Service79
7
+ } from "./model-resolver-7majwt7k.js";
8
8
  import {
9
- ID18,
9
+ ID17,
10
10
  MethodID2
11
- } from "./repository-p4s9hdeb.js";
11
+ } from "./model-resolver-es9bhtwg.js";
12
12
  import {
13
- ID17,
13
+ ID16,
14
14
  mergeOverlay2
15
- } from "./repository-f6e7p22k.js";
15
+ } from "./model-resolver-f9ay64ez.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID17.make("xai");
27
+ var providerID = ID16.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID18.make("xai"),
47
+ integrationID: ID17.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service80;
73
- yield* Effect.forEach(yield* credentials.list(ID18.make("xai")), (credential) => {
72
+ const credentials = yield* Service79;
73
+ yield* Effect.forEach(yield* credentials.list(ID17.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./repository-svcy3p9a.js";
3
+ } from "./model-resolver-svcy3p9a.js";
4
4
  import {
5
5
  makeFiles2
6
- } from "./repository-rgc9cx3e.js";
6
+ } from "./model-resolver-rgc9cx3e.js";
7
7
  import {
8
8
  Service92,
9
- node96
10
- } from "./repository-94x7x2bc.js";
9
+ node95
10
+ } from "./model-resolver-wj9f81d9.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./repository-8cg7mtm3.js";
13
+ } from "./model-resolver-5whx36p1.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node63
18
- } from "./repository-s16hq6hq.js";
17
+ node89
18
+ } from "./model-resolver-3nw1k2zv.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./repository-faypxj3z.js";
21
+ } from "./model-resolver-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./repository-9rqn6x4v.js";
24
+ } from "./model-resolver-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID10,
31
- Info: () => Info15,
30
+ ID: () => ID20,
31
+ Info: () => Info29,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service60,
33
+ Service: () => Service86,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured6,
36
- node: () => node62
35
+ configured: () => configured11,
36
+ node: () => node88
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID10 = Workspace.ID;
44
+ var ID20 = Workspace.ID;
45
45
 
46
- class Info15 extends Schema.Class("Workspace.Info")({
47
- id: ID10,
46
+ class Info29 extends Schema.Class("Workspace.Info")({
47
+ id: ID20,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info15 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID20 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID10,
59
+ workspaceID: ID20,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service60 extends Context.Service()("@opencode/Workspace") {
65
+ class Service86 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured6 = (options = {}) => makeGlobalNode({
68
- service: Service60,
67
+ var configured11 = (options = {}) => makeGlobalNode({
68
+ service: Service86,
69
69
  layer: layer(options),
70
- deps: [node96, node63]
70
+ deps: [node95, node89]
71
71
  });
72
- var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service86, Effect.gen(function* () {
73
73
  const db = (yield* Service92).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info15({
89
+ const info = (row, binding) => new Info29({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -161,9 +161,9 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
161
161
  yield* Scope.close(connection.scope, Exit.void);
162
162
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
163
163
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
164
- return Service60.of({
164
+ return Service86.of({
165
165
  create: Effect.fn("Workspace.create")(function* (input) {
166
- const workspaceID = input.id ?? ID10.create();
166
+ const workspaceID = input.id ?? ID20.create();
167
167
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
168
168
  if (existing) {
169
169
  if (existing.provider === input.provider)
@@ -239,6 +239,6 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
239
239
  })
240
240
  });
241
241
  }));
242
- var node62 = configured6();
242
+ var node88 = configured11();
243
243
 
244
- export { ID10, Info15, NotFound2, CreateConflict2, Service60, configured6, node62, exports_workspace };
244
+ export { ID20, Info29, NotFound2, CreateConflict2, Service86, configured11, node88, exports_workspace };
@@ -1,12 +1,12 @@
1
- import {
2
- make15
3
- } from "./repository-5n0rnk8e.js";
4
1
  import {
5
2
  make16
6
- } from "./repository-ep6pe98a.js";
3
+ } from "./model-resolver-s26c8eb5.js";
4
+ import {
5
+ make15
6
+ } from "./model-resolver-8hfctyyf.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/claude/query-options.ts
12
12
  var exports_query_options = {};
@@ -80,14 +80,14 @@ async function session2(input) {
80
80
  systemPrompt: input.system,
81
81
  includePartialMessages: true,
82
82
  persistSession: input.persist,
83
- hooks: make15(input.pending),
83
+ hooks: make16(input.pending),
84
84
  mcpServers: {}
85
85
  };
86
86
  if (input.maxOutputTokens !== undefined) {
87
87
  options.env = { ...options.env, CLAUDE_CODE_MAX_OUTPUT_TOKENS: String(input.maxOutputTokens) };
88
88
  }
89
89
  if (input.tools.length > 0)
90
- options.mcpServers = { opencode: await make16(input.tools, input.pending) };
90
+ options.mcpServers = { opencode: await make15(input.tools, input.pending) };
91
91
  if (input.resume !== undefined) {
92
92
  options.resume = input.resume;
93
93
  return options;