@opencode/core 0.0.0-dev-367 → 0.0.0-dev-372

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 (927) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +101 -101
  4. package/dist/aisdk.js +107 -107
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +265 -0
  7. package/dist/bus.js +83 -83
  8. package/dist/chunks/{location-lifecycle-d7bxxawq.js → repository-01f58weh.js} +3 -3
  9. package/dist/chunks/{location-lifecycle-81bq4h1s.js → repository-05qq9bxb.js} +10 -10
  10. package/dist/chunks/{location-lifecycle-63m9y1zf.js → repository-05s84c9e.js} +28 -28
  11. package/dist/chunks/{location-lifecycle-w9e1gm05.js → repository-062cscqh.js} +30 -30
  12. package/dist/chunks/{location-lifecycle-bd1jb5z2.js → repository-09kn1hvj.js} +18 -18
  13. package/dist/chunks/{location-lifecycle-ybws1qgk.js → repository-0h86f0az.js} +4 -4
  14. package/dist/chunks/{location-lifecycle-fznmdakp.js → repository-0h8y3ex8.js} +4 -4
  15. package/dist/chunks/{location-lifecycle-0j7gp832.js → repository-0j7gp832.js} +1 -1
  16. package/dist/chunks/{location-lifecycle-gnvpvbe6.js → repository-0pkedc33.js} +38 -38
  17. package/dist/chunks/{location-lifecycle-j4y3f06j.js → repository-0q74zvx8.js} +5 -5
  18. package/dist/chunks/{location-lifecycle-1qx3whsx.js → repository-0rscem4b.js} +5 -5
  19. package/dist/chunks/{location-lifecycle-5ty8fv2m.js → repository-0t21jw6h.js} +12 -12
  20. package/dist/chunks/{location-lifecycle-xejrfrbz.js → repository-0vh0ztag.js} +30 -30
  21. package/dist/chunks/{location-lifecycle-fwb3ezbk.js → repository-0zf8fpw9.js} +24 -24
  22. package/dist/chunks/{location-lifecycle-bcyg3vhe.js → repository-10rfqpb9.js} +13 -13
  23. package/dist/chunks/{location-lifecycle-yznjhe2r.js → repository-128hmwhq.js} +11 -11
  24. package/dist/chunks/{location-lifecycle-s84e8ggs.js → repository-19g9fh03.js} +12 -12
  25. package/dist/chunks/{location-lifecycle-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
  26. package/dist/chunks/{location-lifecycle-rsnagt9d.js → repository-1bn0y5tn.js} +18 -18
  27. package/dist/chunks/{location-lifecycle-vhcnjsm1.js → repository-1c417wd5.js} +17 -17
  28. package/dist/chunks/{location-lifecycle-a058387c.js → repository-1pevy3nx.js} +11 -4
  29. package/dist/chunks/{location-lifecycle-3dtsw47h.js → repository-1qt7sfqe.js} +59 -34
  30. package/dist/chunks/{location-lifecycle-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
  31. package/dist/chunks/{location-lifecycle-rn5qct79.js → repository-1y7drcmg.js} +9 -9
  32. package/dist/chunks/{location-lifecycle-1yq9hg58.js → repository-1yq9hg58.js} +1 -1
  33. package/dist/chunks/{location-lifecycle-530xg6vw.js → repository-20hgg5jf.js} +6 -6
  34. package/dist/chunks/{location-lifecycle-m4yf5w44.js → repository-22322d3s.js} +4 -4
  35. package/dist/chunks/{location-lifecycle-843dmn7w.js → repository-23zggm3m.js} +14 -14
  36. package/dist/chunks/{location-lifecycle-anr0vv3x.js → repository-27q9sh4d.js} +11 -11
  37. package/dist/chunks/{location-lifecycle-1ep2p91f.js → repository-27w5k9zf.js} +2 -2
  38. package/dist/chunks/{location-lifecycle-5yd4kgkj.js → repository-29pkxvwt.js} +16 -16
  39. package/dist/chunks/{location-lifecycle-g34xrvj6.js → repository-2fpkg984.js} +24 -24
  40. package/dist/chunks/{location-lifecycle-x79ghvf2.js → repository-2gk79xxr.js} +9 -9
  41. package/dist/chunks/{location-lifecycle-xva2mcct.js → repository-2gyf2v4k.js} +36 -36
  42. package/dist/chunks/{location-lifecycle-xsact9zs.js → repository-2mbjfaxd.js} +4 -4
  43. package/dist/chunks/{location-lifecycle-8j98apff.js → repository-2md5m33k.js} +1 -1
  44. package/dist/chunks/{location-lifecycle-6qqarppr.js → repository-349sqrbt.js} +31 -31
  45. package/dist/chunks/{location-lifecycle-1n2wt30b.js → repository-35gq0sf5.js} +11 -11
  46. package/dist/chunks/{location-lifecycle-d87wwgp3.js → repository-35ya7az0.js} +9 -9
  47. package/dist/chunks/{location-lifecycle-vmjndagx.js → repository-3bbxymw0.js} +36 -36
  48. package/dist/chunks/{location-lifecycle-38atze3s.js → repository-3bgf9gas.js} +4 -4
  49. package/dist/chunks/{location-lifecycle-ayjs7tqn.js → repository-3cbjf1nt.js} +2 -2
  50. package/dist/chunks/{location-lifecycle-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{location-lifecycle-tmc7xdjs.js → repository-3nnrz6f6.js} +4 -4
  52. package/dist/chunks/{location-lifecycle-c6x7d2ts.js → repository-3ryz99p0.js} +4 -4
  53. package/dist/chunks/{location-lifecycle-stkknw48.js → repository-3v50s0nm.js} +4 -4
  54. package/dist/chunks/{location-lifecycle-cycjj1y0.js → repository-3vyp6j4y.js} +20 -20
  55. package/dist/chunks/{location-lifecycle-t72xd960.js → repository-3x7atde9.js} +25 -25
  56. package/dist/chunks/{location-lifecycle-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{location-lifecycle-drte4qvg.js → repository-43tmkezd.js} +15 -15
  58. package/dist/chunks/{location-lifecycle-9z7eq7wn.js → repository-45sn5fkz.js} +16 -16
  59. package/dist/chunks/{location-lifecycle-8cg7mtm3.js → repository-4d2dtj2f.js} +4 -4
  60. package/dist/chunks/{location-lifecycle-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
  61. package/dist/chunks/{location-lifecycle-9dn6w71y.js → repository-4e4y46vz.js} +5 -5
  62. package/dist/chunks/{location-lifecycle-hj2ahw1s.js → repository-4esnxtst.js} +6 -6
  63. package/dist/chunks/{location-lifecycle-1ms0nqff.js → repository-4h9x2q52.js} +58 -58
  64. package/dist/chunks/{location-lifecycle-b7avzda6.js → repository-4knj1y15.js} +11 -11
  65. package/dist/chunks/{location-lifecycle-yfftpesd.js → repository-4n2bf6zf.js} +9 -9
  66. package/dist/chunks/{location-lifecycle-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
  67. package/dist/chunks/{location-lifecycle-pef5e46n.js → repository-4sshptwq.js} +11 -11
  68. package/dist/chunks/{location-lifecycle-4v008n1t.js → repository-4v008n1t.js} +1 -1
  69. package/dist/chunks/{location-lifecycle-kzg6s88f.js → repository-4x4a4djr.js} +7 -7
  70. package/dist/chunks/{location-lifecycle-cr81kxgg.js → repository-4xpt6t8e.js} +15 -15
  71. package/dist/chunks/{location-lifecycle-x4k7msxs.js → repository-526g40ts.js} +2 -2
  72. package/dist/chunks/{location-lifecycle-5zexrza4.js → repository-55qjdesv.js} +13 -13
  73. package/dist/chunks/{location-lifecycle-etapyzjt.js → repository-56q51v0r.js} +8 -8
  74. package/dist/chunks/{location-lifecycle-590fncev.js → repository-57fxnk3e.js} +12 -12
  75. package/dist/chunks/{location-lifecycle-0jssrn31.js → repository-593mzzr4.js} +2 -2
  76. package/dist/chunks/{location-lifecycle-6vj2fw2g.js → repository-5hrgbkyt.js} +26 -26
  77. package/dist/chunks/{location-lifecycle-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
  78. package/dist/chunks/{location-lifecycle-aqfqn1zh.js → repository-5pbade4g.js} +8 -8
  79. package/dist/chunks/{location-lifecycle-x23wd618.js → repository-5pmtkemt.js} +20 -20
  80. package/dist/chunks/{location-lifecycle-1q55ah4h.js → repository-5xvv6snx.js} +21 -21
  81. package/dist/chunks/{location-lifecycle-61qraad9.js → repository-61qraad9.js} +2 -2
  82. package/dist/chunks/{location-lifecycle-26wfx3k0.js → repository-62zd5tzk.js} +7 -7
  83. package/dist/chunks/{location-lifecycle-5marpz7d.js → repository-65sg5ez6.js} +12 -12
  84. package/dist/chunks/{location-lifecycle-e6gv5n26.js → repository-68zsf5nd.js} +16 -16
  85. package/dist/chunks/repository-6bshxcsx.js +18 -0
  86. package/dist/chunks/repository-6d7ar4jq.js +152 -0
  87. package/dist/chunks/{location-lifecycle-6esdw8yj.js → repository-6esdw8yj.js} +1 -1
  88. package/dist/chunks/{location-lifecycle-c2qy0506.js → repository-6k31ra67.js} +86 -86
  89. package/dist/chunks/{location-lifecycle-v6ghzfeb.js → repository-6xw3seg4.js} +5 -5
  90. package/dist/chunks/{location-lifecycle-x45vfxqa.js → repository-77cd4dah.js} +18 -18
  91. package/dist/chunks/{location-lifecycle-v3vtwm3k.js → repository-783vkagc.js} +8 -8
  92. package/dist/chunks/repository-79nv3791.js +261 -0
  93. package/dist/chunks/{location-lifecycle-0b9p1w57.js → repository-7a2kvczc.js} +23 -23
  94. package/dist/chunks/{location-lifecycle-x7qpzy2n.js → repository-7afjxmym.js} +8 -8
  95. package/dist/chunks/{location-lifecycle-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  96. package/dist/chunks/{location-lifecycle-hn82nnv7.js → repository-7cs1fm83.js} +17 -17
  97. package/dist/chunks/{location-lifecycle-ac61hc9j.js → repository-7fdj7k1k.js} +17 -17
  98. package/dist/chunks/{location-lifecycle-t3z1vt8c.js → repository-7hx80dab.js} +41 -41
  99. package/dist/chunks/{location-lifecycle-7kr66rt3.js → repository-7kr66rt3.js} +1 -1
  100. package/dist/chunks/{location-lifecycle-54x02qvv.js → repository-7n810yga.js} +13 -13
  101. package/dist/chunks/{location-lifecycle-mrpnjyvf.js → repository-7nqkf5r1.js} +6 -6
  102. package/dist/chunks/{location-lifecycle-k7j8ta0q.js → repository-7qkfad8a.js} +3 -3
  103. package/dist/chunks/{location-lifecycle-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
  104. package/dist/chunks/{location-lifecycle-physa0h7.js → repository-7w8btzrz.js} +6 -6
  105. package/dist/chunks/{location-lifecycle-775hqbnd.js → repository-80mg3ag8.js} +3 -3
  106. package/dist/chunks/{location-lifecycle-4az1a8cs.js → repository-81vzgppv.js} +6 -6
  107. package/dist/chunks/{location-lifecycle-2n0gzjy1.js → repository-86ng5cw0.js} +6 -6
  108. package/dist/chunks/{location-lifecycle-yh2pfthe.js → repository-888nng90.js} +11 -11
  109. package/dist/chunks/{location-lifecycle-89287pr7.js → repository-89287pr7.js} +1 -1
  110. package/dist/chunks/{location-lifecycle-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
  111. package/dist/chunks/{location-lifecycle-tpgns2k8.js → repository-8d2bw64f.js} +13 -13
  112. package/dist/chunks/{location-lifecycle-ksq8v9q8.js → repository-8n9m5z10.js} +22 -22
  113. package/dist/chunks/{location-lifecycle-7gyg9k8b.js → repository-8nftj1yp.js} +8 -8
  114. package/dist/chunks/{location-lifecycle-740ekhr9.js → repository-8ns5k15t.js} +14 -14
  115. package/dist/chunks/{location-lifecycle-zp74q1zm.js → repository-8nxpa0mz.js} +32 -32
  116. package/dist/chunks/{location-lifecycle-gy52bta7.js → repository-8rwpp194.js} +10 -10
  117. package/dist/chunks/{location-lifecycle-r17fbvme.js → repository-8t99kr38.js} +4 -4
  118. package/dist/chunks/{location-lifecycle-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
  119. package/dist/chunks/{location-lifecycle-n7bnkb3p.js → repository-8x9y3wj0.js} +9 -9
  120. package/dist/chunks/{location-lifecycle-mb7mbhnz.js → repository-8z6m94af.js} +3 -3
  121. package/dist/chunks/{location-lifecycle-90zstvax.js → repository-90zstvax.js} +1 -1
  122. package/dist/chunks/{location-lifecycle-xk2zn0cv.js → repository-95sp4hdf.js} +4 -4
  123. package/dist/chunks/{location-lifecycle-dz4x1ap9.js → repository-963hk181.js} +11 -11
  124. package/dist/chunks/{location-lifecycle-96djdqw5.js → repository-96djdqw5.js} +4 -4
  125. package/dist/chunks/{location-lifecycle-n667x9db.js → repository-9bjq5xf8.js} +62 -62
  126. package/dist/chunks/{location-lifecycle-47pqg65j.js → repository-9hm7p4mp.js} +25 -25
  127. package/dist/chunks/{location-lifecycle-hw621kav.js → repository-9kg5w032.js} +8 -8
  128. package/dist/chunks/{location-lifecycle-w79nt68w.js → repository-9q8g9sv8.js} +4 -4
  129. package/dist/chunks/{location-lifecycle-gnm7wfx5.js → repository-9skas3fk.js} +19 -19
  130. package/dist/chunks/{location-lifecycle-cbzxq0az.js → repository-9vb9hd08.js} +17 -17
  131. package/dist/chunks/{location-lifecycle-8aqz02hm.js → repository-9vyktpg8.js} +19 -19
  132. package/dist/chunks/{location-lifecycle-yngvyh0w.js → repository-a1qwck5h.js} +8 -8
  133. package/dist/chunks/{location-lifecycle-g9kapk4a.js → repository-a7dted3c.js} +4 -4
  134. package/dist/chunks/{location-lifecycle-mg9thdmt.js → repository-a7m7r1wt.js} +9 -9
  135. package/dist/chunks/{location-lifecycle-zbbhhjay.js → repository-acnapkdx.js} +29 -29
  136. package/dist/chunks/{location-lifecycle-8ndrzmt3.js → repository-ae3bbkjz.js} +3 -3
  137. package/dist/chunks/{location-lifecycle-sy8vd0m2.js → repository-aejnhepz.js} +8 -8
  138. package/dist/chunks/{location-lifecycle-034tev2y.js → repository-aj7mw0zk.js} +2 -2
  139. package/dist/chunks/{location-lifecycle-r2090g84.js → repository-akg67h4m.js} +17 -17
  140. package/dist/chunks/{location-lifecycle-28721bnc.js → repository-anh26fwf.js} +4 -4
  141. package/dist/chunks/{location-lifecycle-panzxscc.js → repository-awr3zj91.js} +13 -13
  142. package/dist/chunks/{location-lifecycle-vbdyryf8.js → repository-awrz1b32.js} +17 -17
  143. package/dist/chunks/{location-lifecycle-dtm2rd94.js → repository-b2c1mvj5.js} +38 -38
  144. package/dist/chunks/{location-lifecycle-b6vsg801.js → repository-b6vsg801.js} +2 -2
  145. package/dist/chunks/{location-lifecycle-m53yvr8y.js → repository-b9jmvddr.js} +11 -11
  146. package/dist/chunks/{location-lifecycle-ze496185.js → repository-b9wfzyf7.js} +47 -47
  147. package/dist/chunks/{location-lifecycle-za3cvkqq.js → repository-bakhbh47.js} +6 -6
  148. package/dist/chunks/{location-lifecycle-fzqc38jz.js → repository-bh54cvah.js} +14 -14
  149. package/dist/chunks/{location-lifecycle-7cd3pjj6.js → repository-bk2kp955.js} +35 -35
  150. package/dist/chunks/repository-bnp18vzy.js +26 -0
  151. package/dist/chunks/{location-lifecycle-bstexjd6.js → repository-bstexjd6.js} +1 -1
  152. package/dist/chunks/{location-lifecycle-tadmzz22.js → repository-bvafq468.js} +31 -31
  153. package/dist/chunks/{location-lifecycle-wvzzbx7w.js → repository-cfzy73q7.js} +45 -45
  154. package/dist/chunks/{location-lifecycle-fzz1exw6.js → repository-cg0ajkg6.js} +8 -8
  155. package/dist/chunks/{location-lifecycle-jkdcm5hg.js → repository-cr4rfj9z.js} +4 -4
  156. package/dist/chunks/{location-lifecycle-fdstczec.js → repository-crnga6rk.js} +15 -15
  157. package/dist/chunks/{location-lifecycle-51hfqndg.js → repository-ct3v1yt3.js} +210 -181
  158. package/dist/chunks/{location-lifecycle-h91vm5r2.js → repository-ctmpqb7w.js} +9 -9
  159. package/dist/chunks/{location-lifecycle-bjym4gqm.js → repository-cvfsgrs7.js} +6 -6
  160. package/dist/chunks/{location-lifecycle-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
  161. package/dist/chunks/{location-lifecycle-fd9e4rvp.js → repository-cy1pdnrn.js} +36 -36
  162. package/dist/chunks/{location-lifecycle-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
  163. package/dist/chunks/{location-lifecycle-cf3kp6ja.js → repository-d4ww958s.js} +4 -4
  164. package/dist/chunks/{location-lifecycle-1sn4bk8a.js → repository-dcwabf9x.js} +13 -13
  165. package/dist/chunks/{location-lifecycle-dd5pbnsd.js → repository-df4j3dme.js} +2 -2
  166. package/dist/chunks/{location-lifecycle-px7qpgcn.js → repository-dg5naf6e.js} +4 -4
  167. package/dist/chunks/{location-lifecycle-vwzgpct2.js → repository-djvpvna9.js} +5 -5
  168. package/dist/chunks/{location-lifecycle-569f77t5.js → repository-dkn9eszv.js} +32 -32
  169. package/dist/chunks/{location-lifecycle-dt77769w.js → repository-dt77769w.js} +1 -1
  170. package/dist/chunks/{location-lifecycle-9sy1j1hj.js → repository-dv96216k.js} +4 -4
  171. package/dist/chunks/{location-lifecycle-87zyv5f5.js → repository-dyczxt3a.js} +27 -27
  172. package/dist/chunks/{location-lifecycle-0z1nq4bm.js → repository-e5c0k95c.js} +3 -3
  173. package/dist/chunks/{location-lifecycle-e834z07m.js → repository-e834z07m.js} +1 -1
  174. package/dist/chunks/{location-lifecycle-a3fn0gmm.js → repository-eavcrtrz.js} +2 -2
  175. package/dist/chunks/{location-lifecycle-xs5fbjba.js → repository-edf5jh0e.js} +4 -4
  176. package/dist/chunks/{location-lifecycle-xm2874vd.js → repository-ees6xmtq.js} +14 -14
  177. package/dist/chunks/{location-lifecycle-a6ww10xh.js → repository-egabpkp4.js} +4 -4
  178. package/dist/chunks/{location-lifecycle-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
  179. package/dist/chunks/repository-eqy0zkf5.js +549 -0
  180. package/dist/chunks/{location-lifecycle-4xwsx55q.js → repository-ew0azyk8.js} +23 -23
  181. package/dist/chunks/{location-lifecycle-94e33dpz.js → repository-f341sazs.js} +3 -3
  182. package/dist/chunks/{location-lifecycle-9qa86pp8.js → repository-fbp89s9v.js} +7 -7
  183. package/dist/chunks/{location-lifecycle-am8wh8f7.js → repository-fdfqcyn8.js} +28 -28
  184. package/dist/chunks/{location-lifecycle-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
  185. package/dist/chunks/{location-lifecycle-fg9p65nk.js → repository-fg9p65nk.js} +2 -2
  186. package/dist/chunks/{location-lifecycle-ar90s87c.js → repository-fpqm7851.js} +38 -38
  187. package/dist/chunks/{location-lifecycle-x95k7qwf.js → repository-fzf2sxt5.js} +5 -5
  188. package/dist/chunks/{location-lifecycle-3s4h3e1k.js → repository-g00r64yf.js} +10 -10
  189. package/dist/chunks/{location-lifecycle-hg0t6c2z.js → repository-g6fcj31y.js} +13 -13
  190. package/dist/chunks/{location-lifecycle-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
  191. package/dist/chunks/{location-lifecycle-m8hhcq1f.js → repository-gc4t6v4h.js} +21 -21
  192. package/dist/chunks/{location-lifecycle-dtdcr5qf.js → repository-gcpxngxx.js} +7 -7
  193. package/dist/chunks/{location-lifecycle-q98q2sza.js → repository-ggem1gnx.js} +4 -4
  194. package/dist/chunks/{location-lifecycle-t3qveq7d.js → repository-ggk8302d.js} +3 -3
  195. package/dist/chunks/{location-lifecycle-17qkbqjx.js → repository-gsn6ff7q.js} +35 -35
  196. package/dist/chunks/{location-lifecycle-zdyxed1v.js → repository-gvs8gaq9.js} +18 -18
  197. package/dist/chunks/{location-lifecycle-fsz16w92.js → repository-hcneb2c8.js} +24 -24
  198. package/dist/chunks/{location-lifecycle-nv5r9pge.js → repository-hfv14dtg.js} +13 -13
  199. package/dist/chunks/{location-lifecycle-hh7kjqtw.js → repository-hh7kjqtw.js} +1 -1
  200. package/dist/chunks/{location-lifecycle-3gb8268n.js → repository-hmnqfn4v.js} +5 -5
  201. package/dist/chunks/{location-lifecycle-hpg1pkwy.js → repository-hpg1pkwy.js} +1 -1
  202. package/dist/chunks/{location-lifecycle-bnzx9dwt.js → repository-hsnq1va6.js} +5 -5
  203. package/dist/chunks/{location-lifecycle-bnxgvb8e.js → repository-j0a3xxs6.js} +54 -54
  204. package/dist/chunks/{location-lifecycle-y81077qw.js → repository-j0cnhtw8.js} +5 -5
  205. package/dist/chunks/{location-lifecycle-j376ae4e.js → repository-j376ae4e.js} +1 -1
  206. package/dist/chunks/{location-lifecycle-p0cvbzhe.js → repository-ja5h2ebt.js} +17 -17
  207. package/dist/chunks/{location-lifecycle-hbtznkty.js → repository-jcw9q93v.js} +11 -11
  208. package/dist/chunks/{location-lifecycle-c57shnj4.js → repository-jgd4e8e6.js} +7 -8
  209. package/dist/chunks/{location-lifecycle-4cqst6fr.js → repository-jhhtxfg3.js} +7 -7
  210. package/dist/chunks/{location-lifecycle-jtnps1zs.js → repository-jtnps1zs.js} +2 -2
  211. package/dist/chunks/{location-lifecycle-jxd6f16v.js → repository-jxd6f16v.js} +2 -2
  212. package/dist/chunks/{location-lifecycle-d9mb7vcn.js → repository-jzqxvfnq.js} +32 -32
  213. package/dist/chunks/{location-lifecycle-vw8191gw.js → repository-k1c2s8ns.js} +7 -7
  214. package/dist/chunks/{location-lifecycle-kj9n5bvh.js → repository-k46dd5bg.js} +4 -4
  215. package/dist/chunks/{location-lifecycle-babktaw3.js → repository-kbgs7tyr.js} +4 -4
  216. package/dist/chunks/{location-lifecycle-v6d0rpy4.js → repository-kk1ky6ne.js} +45 -45
  217. package/dist/chunks/{location-lifecycle-gs4sptc9.js → repository-kkn8km6v.js} +25 -25
  218. package/dist/chunks/{location-lifecycle-kge96s42.js → repository-kp2tkdrb.js} +11 -11
  219. package/dist/chunks/{location-lifecycle-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
  220. package/dist/chunks/{location-lifecycle-m1714858.js → repository-m1714858.js} +1 -1
  221. package/dist/chunks/{location-lifecycle-cgzq5k3k.js → repository-m7f5x9f3.js} +88 -88
  222. package/dist/chunks/{location-lifecycle-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  223. package/dist/chunks/{location-lifecycle-r32k2vx2.js → repository-mamxj3ye.js} +1 -1
  224. package/dist/chunks/{location-lifecycle-yjjyz0e3.js → repository-mqe7nf5n.js} +3 -3
  225. package/dist/chunks/{location-lifecycle-n5s722db.js → repository-msn6cp5h.js} +19 -19
  226. package/dist/chunks/{location-lifecycle-k5v3pn2n.js → repository-mtpyhzaw.js} +35 -35
  227. package/dist/chunks/{location-lifecycle-nah043kf.js → repository-nah043kf.js} +1 -1
  228. package/dist/chunks/{location-lifecycle-ytxp9m2j.js → repository-nkaf1g71.js} +9 -9
  229. package/dist/chunks/{location-lifecycle-r0tp8gp1.js → repository-nkgn593q.js} +6 -6
  230. package/dist/chunks/{location-lifecycle-v5vt8j6s.js → repository-nmhjkwy5.js} +15 -15
  231. package/dist/chunks/{location-lifecycle-r806webk.js → repository-nrghxvsp.js} +11 -11
  232. package/dist/chunks/{location-lifecycle-wegkxhrn.js → repository-nx4vzyjd.js} +2 -2
  233. package/dist/chunks/{location-lifecycle-p015t6z3.js → repository-p015t6z3.js} +2 -2
  234. package/dist/chunks/{location-lifecycle-nv9tsjma.js → repository-p3g3b7x5.js} +6 -6
  235. package/dist/chunks/{location-lifecycle-nnhy59ky.js → repository-p553nwyy.js} +9 -9
  236. package/dist/chunks/{location-lifecycle-shnpfh5t.js → repository-p5jsydzp.js} +13 -13
  237. package/dist/chunks/{location-lifecycle-9ayv109q.js → repository-pek8xmkz.js} +31 -31
  238. package/dist/chunks/{location-lifecycle-pknna89w.js → repository-pknna89w.js} +1 -1
  239. package/dist/chunks/{location-lifecycle-704a0bd3.js → repository-pnjvkgxk.js} +27 -27
  240. package/dist/chunks/{location-lifecycle-233argac.js → repository-pnwsrq7c.js} +8 -8
  241. package/dist/chunks/{location-lifecycle-xewk668j.js → repository-pny0hvca.js} +11 -11
  242. package/dist/chunks/{location-lifecycle-ye6127aq.js → repository-ppjsjmvn.js} +9 -9
  243. package/dist/chunks/{location-lifecycle-csh6jqny.js → repository-q1ybpa6r.js} +17 -17
  244. package/dist/chunks/{location-lifecycle-zb3dg74j.js → repository-q2xtnwk4.js} +27 -27
  245. package/dist/chunks/{location-lifecycle-jg9n80bn.js → repository-q318mmxc.js} +11 -11
  246. package/dist/chunks/{location-lifecycle-zm40y35g.js → repository-q3y5wvej.js} +10 -10
  247. package/dist/chunks/{location-lifecycle-k8fdhbvv.js → repository-qd7wbecs.js} +43 -43
  248. package/dist/chunks/{location-lifecycle-3yb94czr.js → repository-qfqmsygf.js} +22 -22
  249. package/dist/chunks/{location-lifecycle-3er1499f.js → repository-qgv0hrxy.js} +44 -44
  250. package/dist/chunks/{location-lifecycle-7dyv7vvf.js → repository-qjmmxvsx.js} +7 -7
  251. package/dist/chunks/{location-lifecycle-cxab28sr.js → repository-qk5sk9d1.js} +7 -7
  252. package/dist/chunks/{location-lifecycle-e1mxegf5.js → repository-qkd3x3nb.js} +4 -4
  253. package/dist/chunks/{location-lifecycle-yara3q77.js → repository-qkw2jr9b.js} +2 -2
  254. package/dist/chunks/{location-lifecycle-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
  255. package/dist/chunks/{location-lifecycle-qqvy8y24.js → repository-qqvy8y24.js} +1 -1
  256. package/dist/chunks/{location-lifecycle-k3cx6fhe.js → repository-qsdghx1p.js} +4 -4
  257. package/dist/chunks/{location-lifecycle-jp753ps7.js → repository-qtee3wnm.js} +3 -3
  258. package/dist/chunks/{location-lifecycle-4f25tdd0.js → repository-r542h3bh.js} +5 -5
  259. package/dist/chunks/{location-lifecycle-5v3503g6.js → repository-r5dj3ay3.js} +14 -14
  260. package/dist/chunks/{location-lifecycle-9rjgg7dt.js → repository-r67ym705.js} +31 -31
  261. package/dist/chunks/{location-lifecycle-y2fyprkx.js → repository-r9haahrh.js} +13 -13
  262. package/dist/chunks/{location-lifecycle-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
  263. package/dist/chunks/{location-lifecycle-qk6vrkcy.js → repository-rnpdff07.js} +16 -16
  264. package/dist/chunks/{location-lifecycle-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
  265. package/dist/chunks/{location-lifecycle-15kkxs8d.js → repository-rxcfmx0a.js} +17 -17
  266. package/dist/chunks/{location-lifecycle-s1ba0vj0.js → repository-s1ba0vj0.js} +2 -2
  267. package/dist/chunks/{location-lifecycle-nkw96n0b.js → repository-s1f1w4yj.js} +22 -22
  268. package/dist/chunks/{location-lifecycle-v42bbhrc.js → repository-s8e2nyv7.js} +52 -52
  269. package/dist/chunks/{location-lifecycle-sa3fpqfw.js → repository-sa3fpqfw.js} +2 -2
  270. package/dist/chunks/{location-lifecycle-sbya78hr.js → repository-sbya78hr.js} +1 -1
  271. package/dist/chunks/{location-lifecycle-esa2gnyq.js → repository-sf6bpkgk.js} +26 -26
  272. package/dist/chunks/repository-sn1gkk9y.js +494 -0
  273. package/dist/chunks/{location-lifecycle-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
  274. package/dist/chunks/{location-lifecycle-wptg4vs8.js → repository-svt5zkkd.js} +28 -28
  275. package/dist/chunks/{location-lifecycle-431zt7vf.js → repository-t0ekvtpp.js} +11 -11
  276. package/dist/chunks/{location-lifecycle-8sq2961v.js → repository-t2853657.js} +9 -9
  277. package/dist/chunks/{location-lifecycle-zqs9b1z0.js → repository-t48dq7pj.js} +14 -14
  278. package/dist/chunks/{location-lifecycle-ccp6j38y.js → repository-t4vf48t8.js} +8 -8
  279. package/dist/chunks/{location-lifecycle-e64dkc6m.js → repository-t97kwyt7.js} +17 -17
  280. package/dist/chunks/{location-lifecycle-cwn11z4x.js → repository-tc9nb9a0.js} +9 -9
  281. package/dist/chunks/{location-lifecycle-chgcvgaa.js → repository-tcwqkgek.js} +4 -4
  282. package/dist/chunks/{location-lifecycle-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
  283. package/dist/chunks/{location-lifecycle-p6fcbsc0.js → repository-teyt2nzc.js} +44 -44
  284. package/dist/chunks/{location-lifecycle-zmxhy6j5.js → repository-tf05bass.js} +46 -46
  285. package/dist/chunks/{location-lifecycle-gxs71cxp.js → repository-tg7s7b5t.js} +4 -4
  286. package/dist/chunks/{location-lifecycle-15ft1v7p.js → repository-tmyps9a8.js} +35 -35
  287. package/dist/chunks/{location-lifecycle-mf1d1q46.js → repository-trgewt4a.js} +30 -30
  288. package/dist/chunks/{location-lifecycle-6xcp79ef.js → repository-tway3w7r.js} +25 -25
  289. package/dist/chunks/{location-lifecycle-twssxy5n.js → repository-twssxy5n.js} +2 -2
  290. package/dist/chunks/{location-lifecycle-q7b7qeaz.js → repository-tzxp984n.js} +25 -25
  291. package/dist/chunks/{location-lifecycle-wjs84q2d.js → repository-v2kb3w8t.js} +21 -16
  292. package/dist/chunks/{location-lifecycle-fqstpm9t.js → repository-v2psmyxx.js} +5 -5
  293. package/dist/chunks/{location-lifecycle-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
  294. package/dist/chunks/{location-lifecycle-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
  295. package/dist/chunks/{location-lifecycle-2n444ktb.js → repository-vnjc296t.js} +2 -2
  296. package/dist/chunks/{location-lifecycle-2s9akrt7.js → repository-vzj9tmwp.js} +32 -32
  297. package/dist/chunks/{location-lifecycle-qw2t3dzn.js → repository-vzppetdn.js} +6 -6
  298. package/dist/chunks/{location-lifecycle-5enarcya.js → repository-w2eysc6j.js} +6 -6
  299. package/dist/chunks/{location-lifecycle-26c2sh8t.js → repository-w2h55x57.js} +10 -10
  300. package/dist/chunks/{location-lifecycle-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  301. package/dist/chunks/{location-lifecycle-76cb1hcw.js → repository-w8qtt4th.js} +4 -4
  302. package/dist/chunks/{location-lifecycle-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
  303. package/dist/chunks/{location-lifecycle-wd87259q.js → repository-wd87259q.js} +1 -1
  304. package/dist/chunks/{location-lifecycle-rpta9hr7.js → repository-wefmxetv.js} +28 -28
  305. package/dist/chunks/{location-lifecycle-wnhgecwx.js → repository-wnhgecwx.js} +1 -1
  306. package/dist/chunks/{location-lifecycle-zes6dc12.js → repository-wttgcv7s.js} +23 -23
  307. package/dist/chunks/{location-lifecycle-nyxvvj5y.js → repository-wvr8xscb.js} +4 -4
  308. package/dist/chunks/{location-lifecycle-q8v4hk5r.js → repository-x01ndw86.js} +95 -95
  309. package/dist/chunks/repository-x3c9tvtc.js +16 -0
  310. package/dist/chunks/{location-lifecycle-6bv6805f.js → repository-x6sm40hj.js} +21 -21
  311. package/dist/chunks/{location-lifecycle-33vv1cfk.js → repository-x7arxcmm.js} +23 -23
  312. package/dist/chunks/{location-lifecycle-c9cdamfv.js → repository-x9vm5pcw.js} +27 -27
  313. package/dist/chunks/{location-lifecycle-sp87d2ef.js → repository-xar188fb.js} +2 -2
  314. package/dist/chunks/{location-lifecycle-718r3p8j.js → repository-y4wxtq6w.js} +12 -12
  315. package/dist/chunks/{location-lifecycle-qbm2z9yk.js → repository-yabh6y4a.js} +48 -48
  316. package/dist/chunks/{location-lifecycle-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
  317. package/dist/chunks/{location-lifecycle-520e0f2k.js → repository-yd895q0a.js} +23 -23
  318. package/dist/chunks/{location-lifecycle-yr705xyq.js → repository-yr705xyq.js} +1 -1
  319. package/dist/chunks/{location-lifecycle-dnx8af70.js → repository-ytb3906e.js} +11 -11
  320. package/dist/chunks/{location-lifecycle-dyzkpd80.js → repository-ytebkfn0.js} +9 -9
  321. package/dist/chunks/{location-lifecycle-cj5qwfje.js → repository-z1g44n9p.js} +33 -33
  322. package/dist/chunks/{location-lifecycle-aw8gee7q.js → repository-z7m42cav.js} +30 -30
  323. package/dist/chunks/{location-lifecycle-pxk3y689.js → repository-z7p88xxg.js} +21 -21
  324. package/dist/chunks/{location-lifecycle-qzt30z8m.js → repository-zaf43er9.js} +21 -21
  325. package/dist/chunks/{location-lifecycle-2pje24zm.js → repository-ze1p7jqp.js} +15 -15
  326. package/dist/chunks/{location-lifecycle-j9nxzz3g.js → repository-ze75qvmd.js} +3 -3
  327. package/dist/chunks/{location-lifecycle-j68nh044.js → repository-zemg0r8q.js} +9 -9
  328. package/dist/chunks/{location-lifecycle-yqjv7w07.js → repository-zesyj9kh.js} +15 -15
  329. package/dist/chunks/{location-lifecycle-n2xzp3a2.js → repository-zf1yrpm1.js} +5 -5
  330. package/dist/chunks/{location-lifecycle-eaacydcv.js → repository-zhhyazj6.js} +14 -14
  331. package/dist/chunks/{location-lifecycle-pq9cwvxg.js → repository-zjmn475w.js} +12 -12
  332. package/dist/chunks/{location-lifecycle-qat23r5d.js → repository-zkerd49f.js} +11 -11
  333. package/dist/chunks/{location-lifecycle-d10ay63x.js → repository-zmdhjf1v.js} +14 -14
  334. package/dist/chunks/{location-lifecycle-t655cns0.js → repository-zmesx4nb.js} +26 -26
  335. package/dist/chunks/{location-lifecycle-27nkpqs3.js → repository-zmwfj6xw.js} +14 -14
  336. package/dist/chunks/{location-lifecycle-xd9fwfwa.js → repository-znj3gbds.js} +27 -27
  337. package/dist/chunks/{location-lifecycle-9mfwwdc8.js → repository-ztw1sh5h.js} +32 -32
  338. package/dist/chunks/{location-lifecycle-d1zthfrq.js → repository-zzfr1xvn.js} +27 -27
  339. package/dist/codemode/catalog.js +1 -1
  340. package/dist/codemode/execution.js +5 -5
  341. package/dist/codemode/fetch.js +144 -144
  342. package/dist/codemode/instructions.js +7 -7
  343. package/dist/codemode/tool.js +150 -150
  344. package/dist/command.js +93 -93
  345. package/dist/config/discovery.js +96 -96
  346. package/dist/config/integration.js +3 -3
  347. package/dist/config/managed.js +1 -1
  348. package/dist/config/markdown.js +1 -1
  349. package/dist/config/normalize.js +111 -111
  350. package/dist/config/plugin/agent.js +129 -129
  351. package/dist/config/plugin/command.js +227 -227
  352. package/dist/config/plugin/compaction.js +170 -170
  353. package/dist/config/plugin/compatibility.js +149 -149
  354. package/dist/config/plugin/entry-observer.js +1 -1
  355. package/dist/config/plugin/formatter.js +130 -130
  356. package/dist/config/plugin/image.js +129 -129
  357. package/dist/config/plugin/instruction.js +129 -129
  358. package/dist/config/plugin/location-watcher.js +129 -129
  359. package/dist/config/plugin/mcp.js +136 -136
  360. package/dist/config/plugin/policy.js +129 -129
  361. package/dist/config/plugin/provider.js +129 -129
  362. package/dist/config/plugin/reference.js +131 -131
  363. package/dist/config/plugin/shell.js +131 -131
  364. package/dist/config/plugin/skill-file.js +145 -145
  365. package/dist/config/plugin/skill-scan.js +1 -1
  366. package/dist/config/plugin/skill.js +152 -152
  367. package/dist/config/plugin/snapshot.js +129 -129
  368. package/dist/config/plugin/source.js +132 -132
  369. package/dist/config/plugin/tool-output.js +130 -130
  370. package/dist/config/plugin/websearch.js +130 -130
  371. package/dist/config/plugin/worktree.js +131 -131
  372. package/dist/config/variable.js +1 -1
  373. package/dist/config/watch.js +1 -1
  374. package/dist/config.js +130 -130
  375. package/dist/console-access.js +1 -1
  376. package/dist/credential/sql.js +2 -2
  377. package/dist/credential.js +93 -93
  378. package/dist/database/database.js +80 -80
  379. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  380. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  381. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  382. package/dist/database/drizzle/index.js +15 -15
  383. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  384. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  385. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  386. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  387. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  388. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  389. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  390. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  392. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  393. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  394. package/dist/database/drizzle.js +16 -16
  395. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  396. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  397. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  398. package/dist/database/migration/20260225215848_workspace.js +1 -1
  399. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  400. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  401. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  402. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  403. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  404. package/dist/database/migration/20260323234822_events.js +1 -1
  405. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  406. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  407. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  408. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  409. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  410. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  411. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  412. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  413. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  414. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  415. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  416. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  417. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  418. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  419. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  420. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  421. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  422. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  423. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  424. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  425. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  426. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  427. package/dist/database/migration/20260611035744_credential.js +1 -1
  428. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  429. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  430. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  431. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  432. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  433. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  434. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  435. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  436. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  437. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  438. package/dist/database/migration/20260812213948_worktree.js +1 -1
  439. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  440. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  441. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  442. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  443. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  444. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  445. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  446. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  447. package/dist/database/migration/20261025123711_blob.js +1 -1
  448. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  449. package/dist/database/migration/20261026223005_schedule.js +1 -1
  450. package/dist/database/migration/20261029002625_session_part.js +1 -1
  451. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  452. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  453. package/dist/database/migration.gen.js +59 -59
  454. package/dist/database/migration.js +61 -61
  455. package/dist/database/path.js +2 -2
  456. package/dist/database/schema.gen.js +1 -1
  457. package/dist/database/schema.sql.js +1 -1
  458. package/dist/database/sqlite.bun.js +1 -1
  459. package/dist/database/sqlite.js +1 -1
  460. package/dist/database/sqlite.node.js +1 -1
  461. package/dist/database/sqlite.workerd.js +1 -1
  462. package/dist/database/v1-migration.bun.js +107 -107
  463. package/dist/database/v1-migration.js +1 -1
  464. package/dist/effect/app-node-builder.js +427 -425
  465. package/dist/effect/app-node-platform.js +2 -2
  466. package/dist/effect/keyed-mutex.js +3 -3
  467. package/dist/effect/websocket-constructor.js +1 -1
  468. package/dist/environment/driver.js +1 -1
  469. package/dist/environment/environment.js +105 -105
  470. package/dist/environment/exec-defaults.js +2 -2
  471. package/dist/environment/files.js +1 -1
  472. package/dist/environment/index.js +107 -107
  473. package/dist/environment/local.js +2 -2
  474. package/dist/environment/memory.js +2 -2
  475. package/dist/environment/unavailable.js +3 -3
  476. package/dist/event/sql.js +1 -1
  477. package/dist/event-logger.js +84 -84
  478. package/dist/file-access.js +155 -155
  479. package/dist/file-mutation.js +106 -106
  480. package/dist/file-retention.js +1 -1
  481. package/dist/filesystem/fff.bun.js +2 -2
  482. package/dist/filesystem/fff.js +1 -1
  483. package/dist/filesystem/fff.node.js +2 -2
  484. package/dist/filesystem/fff.workerd.js +2 -2
  485. package/dist/filesystem/file-watch.js +90 -90
  486. package/dist/filesystem/location-watcher-policy.js +6 -6
  487. package/dist/filesystem/location-watcher.js +241 -240
  488. package/dist/filesystem/protected.js +3 -3
  489. package/dist/filesystem/search.js +111 -111
  490. package/dist/filesystem/watcher-binding.js +1 -1
  491. package/dist/filesystem/watcher.js +9 -9
  492. package/dist/filesystem.js +116 -116
  493. package/dist/form.js +92 -92
  494. package/dist/formatter/builtins.js +4 -4
  495. package/dist/formatter.js +99 -99
  496. package/dist/generate.js +117 -117
  497. package/dist/git.js +11 -11
  498. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  499. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  500. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  501. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  502. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  503. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  504. package/dist/github-copilot/copilot-provider.js +17 -17
  505. package/dist/github-copilot/models.js +111 -111
  506. package/dist/github-copilot/openai-compatible-error.js +1 -1
  507. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  508. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  509. package/dist/github-copilot/responses/openai-error.js +1 -1
  510. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  511. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  512. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  513. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  514. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  515. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  516. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  517. package/dist/image/notice.js +1 -1
  518. package/dist/image/photon-normalize.js +1 -1
  519. package/dist/image/photon-worker.js +1 -1
  520. package/dist/image/photon.js +4 -4
  521. package/dist/image.js +6 -6
  522. package/dist/instance/service.js +5 -5
  523. package/dist/instance.js +417 -415
  524. package/dist/instruction-discovery.js +94 -94
  525. package/dist/instructions/builtins.js +99 -99
  526. package/dist/instructions/index.js +3 -3
  527. package/dist/integration/connection.js +3 -3
  528. package/dist/integration.js +99 -99
  529. package/dist/job.js +86 -86
  530. package/dist/kv/sql.js +2 -2
  531. package/dist/kv.js +83 -83
  532. package/dist/location-activity.js +173 -173
  533. package/dist/location-lifecycle.js +149 -149
  534. package/dist/location-service-map.js +98 -98
  535. package/dist/location-services.js +414 -412
  536. package/dist/location.js +101 -101
  537. package/dist/managed-policy.js +3 -3
  538. package/dist/mcp/client.js +103 -103
  539. package/dist/mcp/index.js +113 -113
  540. package/dist/mcp/instructions.js +180 -180
  541. package/dist/mcp/oauth.js +88 -88
  542. package/dist/mcp/socket-client.js +1 -1
  543. package/dist/mcp/stdio.js +102 -102
  544. package/dist/mime.js +1 -1
  545. package/dist/modal/models.js +111 -111
  546. package/dist/model-resolver.js +111 -111
  547. package/dist/model-retry.js +1 -1
  548. package/dist/model.js +106 -106
  549. package/dist/models-dev/v1.js +1 -1
  550. package/dist/models-dev.js +118 -118
  551. package/dist/oauth/page.js +1 -1
  552. package/dist/permission/saved.js +88 -88
  553. package/dist/permission/sql.js +5 -5
  554. package/dist/permission.js +146 -146
  555. package/dist/persistent-pty/binary.bun.js +1 -1
  556. package/dist/persistent-pty/daemon.js +1 -1
  557. package/dist/persistent-pty/index.js +102 -100
  558. package/dist/persistent-pty/pty-binding.js +1 -1
  559. package/dist/persistent-pty.js +85 -85
  560. package/dist/plugin/agent.js +84 -84
  561. package/dist/plugin/command.js +112 -112
  562. package/dist/plugin/goal.js +3 -3
  563. package/dist/plugin/hooks.js +5 -5
  564. package/dist/plugin/host.js +234 -233
  565. package/dist/plugin/identity.js +5 -5
  566. package/dist/plugin/instance.js +5 -5
  567. package/dist/plugin/internal.js +393 -391
  568. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  569. package/dist/plugin/models-dev.js +109 -109
  570. package/dist/plugin/module.js +128 -128
  571. package/dist/plugin/optimize.js +4 -4
  572. package/dist/plugin/plan.js +145 -145
  573. package/dist/plugin/promise.js +1 -1
  574. package/dist/plugin/provider/amazon-bedrock.js +103 -103
  575. package/dist/plugin/provider/azure.js +129 -129
  576. package/dist/plugin/provider/cerebras.js +1 -1
  577. package/dist/plugin/provider/chatgpt.js +129 -129
  578. package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
  579. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  580. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  581. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  582. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  583. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  584. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  586. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  587. package/dist/plugin/provider/claude-agent/index.js +144 -144
  588. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  589. package/dist/plugin/provider/claude-agent/integration.js +112 -112
  590. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  591. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  592. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  593. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  594. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  595. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  596. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  597. package/dist/plugin/provider/claude-agent/provider.js +107 -107
  598. package/dist/plugin/provider/claude-agent/session.js +111 -111
  599. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  600. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  601. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  602. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  603. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  604. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  605. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  609. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
  610. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
  611. package/dist/plugin/provider/configured.js +125 -125
  612. package/dist/plugin/provider/credential-settings.js +84 -84
  613. package/dist/plugin/provider/databricks.js +1 -1
  614. package/dist/plugin/provider/digitalocean.js +105 -105
  615. package/dist/plugin/provider/dynamic.js +2 -2
  616. package/dist/plugin/provider/github-copilot.js +107 -107
  617. package/dist/plugin/provider/gitlab.js +106 -106
  618. package/dist/plugin/provider/google-vertex.js +126 -126
  619. package/dist/plugin/provider/kilo.js +1 -1
  620. package/dist/plugin/provider/llmgateway.js +88 -88
  621. package/dist/plugin/provider/lmstudio.js +138 -138
  622. package/dist/plugin/provider/local.js +135 -135
  623. package/dist/plugin/provider/modal.js +104 -104
  624. package/dist/plugin/provider/neon.js +1 -1
  625. package/dist/plugin/provider/nvidia.js +1 -1
  626. package/dist/plugin/provider/ollama.js +138 -138
  627. package/dist/plugin/provider/openai-context-caps.js +102 -102
  628. package/dist/plugin/provider/openai.js +131 -131
  629. package/dist/plugin/provider/opencode.js +131 -131
  630. package/dist/plugin/provider/openrouter.js +103 -103
  631. package/dist/plugin/provider/poe.js +89 -89
  632. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  633. package/dist/plugin/provider/sap-ai-core.js +103 -103
  634. package/dist/plugin/provider/sdk-factory.js +1 -1
  635. package/dist/plugin/provider/snowflake-cortex.js +128 -128
  636. package/dist/plugin/provider/vllm.js +138 -138
  637. package/dist/plugin/provider/xai.js +103 -103
  638. package/dist/plugin/provider/zenmux.js +1 -1
  639. package/dist/plugin/provider.js +209 -209
  640. package/dist/plugin/sdk.js +86 -86
  641. package/dist/plugin/service.js +3 -3
  642. package/dist/plugin/skill.js +148 -148
  643. package/dist/plugin/source-directory.js +1 -1
  644. package/dist/plugin/supervisor.js +405 -403
  645. package/dist/plugin/tool-input-repair.js +4 -4
  646. package/dist/plugin/update.js +6 -6
  647. package/dist/plugin/vcs/git.js +98 -98
  648. package/dist/plugin/vcs/hg.js +98 -98
  649. package/dist/plugin/verbosity.js +105 -105
  650. package/dist/plugin/warming.js +127 -127
  651. package/dist/plugin/websearch/exa.js +7 -7
  652. package/dist/plugin/websearch/firecrawl.js +8 -8
  653. package/dist/plugin/websearch/index.js +9 -9
  654. package/dist/plugin/websearch/mcp.js +4 -4
  655. package/dist/plugin/websearch/parallel.js +8 -8
  656. package/dist/plugin/websearch/tavily.js +6 -6
  657. package/dist/plugin/websearch/tinyfish.js +8 -8
  658. package/dist/plugin.js +243 -242
  659. package/dist/project/icon.js +5 -5
  660. package/dist/project/schema.js +10 -10
  661. package/dist/project/sql.js +4 -4
  662. package/dist/project.js +104 -104
  663. package/dist/provider.js +105 -105
  664. package/dist/pty/protocol.js +1 -1
  665. package/dist/pty/ticket.js +1 -1
  666. package/dist/pty.js +100 -100
  667. package/dist/reference/instructions.js +96 -96
  668. package/dist/reference.js +102 -102
  669. package/dist/repository-cache.js +92 -92
  670. package/dist/repository.js +1 -1
  671. package/dist/ripgrep/binary.js +2 -2
  672. package/dist/ripgrep.js +107 -107
  673. package/dist/rpc.js +98 -98
  674. package/dist/schedule/check.js +239 -238
  675. package/dist/schedule/sql.js +6 -6
  676. package/dist/schedule.js +247 -246
  677. package/dist/schema.js +1 -1
  678. package/dist/session/affinity.js +3 -3
  679. package/dist/session/background.js +1 -1
  680. package/dist/session/blob.js +128 -128
  681. package/dist/session/command.js +84 -84
  682. package/dist/session/compaction.js +172 -172
  683. package/dist/session/context.js +197 -197
  684. package/dist/session/diff.js +100 -100
  685. package/dist/session/environment.js +5 -5
  686. package/dist/session/error.js +5 -5
  687. package/dist/session/event.js +1 -1
  688. package/dist/session/execution/restart.js +240 -240
  689. package/dist/session/execution.js +163 -163
  690. package/dist/session/generate.js +199 -199
  691. package/dist/session/history.js +135 -135
  692. package/dist/session/inbox.js +146 -146
  693. package/dist/session/info.js +3 -3
  694. package/dist/session/instruction-entry.js +89 -89
  695. package/dist/session/instruction-state.js +8 -8
  696. package/dist/session/instructions.js +142 -142
  697. package/dist/session/message-updater.js +2 -2
  698. package/dist/session/message.js +1 -1
  699. package/dist/session/model-request.js +167 -167
  700. package/dist/session/model-transport.js +9 -9
  701. package/dist/session/move.js +163 -163
  702. package/dist/session/projector.js +142 -142
  703. package/dist/session/prompt.js +147 -147
  704. package/dist/session/recent-text.js +1 -1
  705. package/dist/session/revert.js +138 -138
  706. package/dist/session/run-coordinator.js +3 -3
  707. package/dist/session/runner/index.js +3 -3
  708. package/dist/session/runner/llm.js +248 -247
  709. package/dist/session/runner/max-steps.js +1 -1
  710. package/dist/session/runner/model.js +112 -112
  711. package/dist/session/runner/publish-llm-event.js +148 -148
  712. package/dist/session/runner/retry.js +5 -5
  713. package/dist/session/runner/step.js +162 -162
  714. package/dist/session/runner/to-llm-message.js +136 -136
  715. package/dist/session/schema.js +3 -3
  716. package/dist/session/session.js +179 -179
  717. package/dist/session/shell.js +143 -143
  718. package/dist/session/skill.js +148 -148
  719. package/dist/session/sql.js +5 -5
  720. package/dist/session/stats.js +85 -85
  721. package/dist/session/store.js +141 -141
  722. package/dist/session/stored.js +2 -2
  723. package/dist/session/subagent-completion.js +1 -1
  724. package/dist/session/subagent-job.js +227 -227
  725. package/dist/session/system-prompt.js +3 -3
  726. package/dist/session/title.js +201 -201
  727. package/dist/session/to-session-error.js +147 -147
  728. package/dist/session/transfer.js +239 -239
  729. package/dist/session/usage.js +3 -3
  730. package/dist/session.js +231 -231
  731. package/dist/shell/parse.js +6 -6
  732. package/dist/shell/result.js +1 -1
  733. package/dist/shell/scan.js +1 -1
  734. package/dist/shell/select.js +9 -9
  735. package/dist/shell.js +143 -143
  736. package/dist/skill/discovery.js +6 -6
  737. package/dist/skill/instructions.js +150 -150
  738. package/dist/skill.js +155 -155
  739. package/dist/snapshot.js +103 -103
  740. package/dist/state.js +1 -1
  741. package/dist/tool/html-markdown.js +1 -1
  742. package/dist/tool/http-body.js +1 -1
  743. package/dist/tool/mcp.js +177 -177
  744. package/dist/tool/plugin/artifact.js +239 -0
  745. package/dist/tool/plugin/edit.js +157 -157
  746. package/dist/tool/plugin/file-diff.js +1 -1
  747. package/dist/tool/plugin/glob.js +167 -167
  748. package/dist/tool/plugin/grep.js +167 -167
  749. package/dist/tool/plugin/image-generate.js +237 -237
  750. package/dist/tool/plugin/mcp-resource.js +161 -161
  751. package/dist/tool/plugin/opencode.js +160 -160
  752. package/dist/tool/plugin/patch.js +165 -165
  753. package/dist/tool/plugin/question.js +147 -147
  754. package/dist/tool/plugin/read.js +168 -168
  755. package/dist/tool/plugin/schedule.js +245 -244
  756. package/dist/tool/plugin/shell.js +233 -233
  757. package/dist/tool/plugin/skill.js +156 -156
  758. package/dist/tool/plugin/subagent.js +234 -234
  759. package/dist/tool/plugin/todo.js +152 -152
  760. package/dist/tool/plugin/webfetch.js +154 -154
  761. package/dist/tool/plugin/websearch.js +154 -154
  762. package/dist/tool/plugin/write.js +165 -165
  763. package/dist/tool/read-filesystem.js +112 -112
  764. package/dist/tool/runtime.js +1 -1
  765. package/dist/tool-output.js +7 -7
  766. package/dist/tool.js +158 -158
  767. package/dist/types/artifact.d.ts +123 -0
  768. package/dist/types/instance.d.ts +2 -1
  769. package/dist/types/location-activity.d.ts +1 -1
  770. package/dist/types/persistent-pty/daemon.d.ts +38 -11
  771. package/dist/types/persistent-pty/index.d.ts +6 -0
  772. package/dist/types/plugin/host.d.ts +3 -2
  773. package/dist/types/plugin/internal.d.ts +3 -2
  774. package/dist/types/schedule/check.d.ts +2 -2
  775. package/dist/types/session/prompt.d.ts +1 -1
  776. package/dist/types/tool/mcp.d.ts +1 -1
  777. package/dist/types/tool/plugin/artifact.d.ts +27 -0
  778. package/dist/types/tool/plugin/glob.d.ts +1 -1
  779. package/dist/types/tool/plugin/grep.d.ts +1 -1
  780. package/dist/types/tool/plugin/image-generate.d.ts +1 -1
  781. package/dist/types/tool/plugin/read.d.ts +1 -1
  782. package/dist/types/tool/plugin/shell.d.ts +1 -1
  783. package/dist/types/tool/plugin/subagent.d.ts +1 -1
  784. package/dist/usage-limits.js +99 -99
  785. package/dist/util/error-summary.js +1 -1
  786. package/dist/util/git-executable.js +3 -3
  787. package/dist/util/lazy.js +1 -1
  788. package/dist/util/slug.js +1 -1
  789. package/dist/util/token.js +1 -1
  790. package/dist/util/which.js +1 -1
  791. package/dist/util/wildcard.js +1 -1
  792. package/dist/v1/config/agent.js +5 -5
  793. package/dist/v1/config/command.js +3 -3
  794. package/dist/v1/config/mcp.js +2 -2
  795. package/dist/v1/config/migrate.js +104 -104
  796. package/dist/v1/config/permission.js +3 -3
  797. package/dist/v1/config/plugin.js +1 -1
  798. package/dist/v1/config/provider-options.js +1 -1
  799. package/dist/v1/config/provider.js +4 -4
  800. package/dist/variant.js +103 -103
  801. package/dist/vcs/patch.js +1 -1
  802. package/dist/vcs.js +101 -101
  803. package/dist/voice.js +94 -94
  804. package/dist/websearch.js +100 -100
  805. package/dist/wellknown/plugin.js +84 -84
  806. package/dist/wellknown.js +87 -87
  807. package/dist/workspace/driver.js +5 -5
  808. package/dist/workspace/sql.js +1 -1
  809. package/dist/workspace.js +92 -92
  810. package/dist/worktree/directory.js +2 -2
  811. package/dist/worktree/git.js +9 -9
  812. package/dist/worktree/sql.js +5 -5
  813. package/dist/worktree/strategies.js +101 -101
  814. package/dist/worktree.js +110 -110
  815. package/package.json +8 -8
  816. package/dist/chunks/location-lifecycle-47mgcevd.js +0 -18
  817. package/dist/chunks/location-lifecycle-7c11rzwc.js +0 -539
  818. package/dist/chunks/location-lifecycle-9sjwfh6e.js +0 -26
  819. package/dist/chunks/location-lifecycle-wy2ncnjq.js +0 -257
  820. package/dist/chunks/location-lifecycle-xn7cqzsq.js +0 -16
  821. /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  822. /package/dist/chunks/{location-lifecycle-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  823. /package/dist/chunks/{location-lifecycle-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  824. /package/dist/chunks/{location-lifecycle-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  825. /package/dist/chunks/{location-lifecycle-1kah00gy.js → repository-1kah00gy.js} +0 -0
  826. /package/dist/chunks/{location-lifecycle-24dcb14g.js → repository-24dcb14g.js} +0 -0
  827. /package/dist/chunks/{location-lifecycle-2710q6r3.js → repository-2710q6r3.js} +0 -0
  828. /package/dist/chunks/{location-lifecycle-2bv980vf.js → repository-2bv980vf.js} +0 -0
  829. /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  830. /package/dist/chunks/{location-lifecycle-359p4xyc.js → repository-359p4xyc.js} +0 -0
  831. /package/dist/chunks/{location-lifecycle-3asan66x.js → repository-3asan66x.js} +0 -0
  832. /package/dist/chunks/{location-lifecycle-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  833. /package/dist/chunks/{location-lifecycle-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  834. /package/dist/chunks/{location-lifecycle-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  835. /package/dist/chunks/{location-lifecycle-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  836. /package/dist/chunks/{location-lifecycle-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
  837. /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  838. /package/dist/chunks/{location-lifecycle-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  839. /package/dist/chunks/{location-lifecycle-53557ph1.js → repository-53557ph1.js} +0 -0
  840. /package/dist/chunks/{location-lifecycle-550bvhaj.js → repository-550bvhaj.js} +0 -0
  841. /package/dist/chunks/{location-lifecycle-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
  842. /package/dist/chunks/{location-lifecycle-6prwharc.js → repository-6prwharc.js} +0 -0
  843. /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
  844. /package/dist/chunks/{location-lifecycle-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  845. /package/dist/chunks/{location-lifecycle-7m9af43g.js → repository-7m9af43g.js} +0 -0
  846. /package/dist/chunks/{location-lifecycle-7stb81gk.js → repository-7stb81gk.js} +0 -0
  847. /package/dist/chunks/{location-lifecycle-822emrt2.js → repository-822emrt2.js} +0 -0
  848. /package/dist/chunks/{location-lifecycle-84wd9syh.js → repository-84wd9syh.js} +0 -0
  849. /package/dist/chunks/{location-lifecycle-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  850. /package/dist/chunks/{location-lifecycle-8n3pysct.js → repository-8n3pysct.js} +0 -0
  851. /package/dist/chunks/{location-lifecycle-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  852. /package/dist/chunks/{location-lifecycle-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  853. /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  854. /package/dist/chunks/{location-lifecycle-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  855. /package/dist/chunks/{location-lifecycle-af5trqkr.js → repository-af5trqkr.js} +0 -0
  856. /package/dist/chunks/{location-lifecycle-afrmfg78.js → repository-afrmfg78.js} +0 -0
  857. /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  858. /package/dist/chunks/{location-lifecycle-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  859. /package/dist/chunks/{location-lifecycle-beh6qq61.js → repository-beh6qq61.js} +0 -0
  860. /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  861. /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  862. /package/dist/chunks/{location-lifecycle-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  863. /package/dist/chunks/{location-lifecycle-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
  864. /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  865. /package/dist/chunks/{location-lifecycle-d9fn303g.js → repository-d9fn303g.js} +0 -0
  866. /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  867. /package/dist/chunks/{location-lifecycle-dap0rakb.js → repository-dap0rakb.js} +0 -0
  868. /package/dist/chunks/{location-lifecycle-df08tz66.js → repository-df08tz66.js} +0 -0
  869. /package/dist/chunks/{location-lifecycle-dy18nga0.js → repository-dy18nga0.js} +0 -0
  870. /package/dist/chunks/{location-lifecycle-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  871. /package/dist/chunks/{location-lifecycle-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  872. /package/dist/chunks/{location-lifecycle-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
  873. /package/dist/chunks/{location-lifecycle-ec1grn59.js → repository-ec1grn59.js} +0 -0
  874. /package/dist/chunks/{location-lifecycle-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  875. /package/dist/chunks/{location-lifecycle-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  876. /package/dist/chunks/{location-lifecycle-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  877. /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  878. /package/dist/chunks/{location-lifecycle-faypxj3z.js → repository-faypxj3z.js} +0 -0
  879. /package/dist/chunks/{location-lifecycle-fd410y7t.js → repository-fd410y7t.js} +0 -0
  880. /package/dist/chunks/{location-lifecycle-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
  881. /package/dist/chunks/{location-lifecycle-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  882. /package/dist/chunks/{location-lifecycle-g86h250q.js → repository-g86h250q.js} +0 -0
  883. /package/dist/chunks/{location-lifecycle-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  884. /package/dist/chunks/{location-lifecycle-gftt206x.js → repository-gftt206x.js} +0 -0
  885. /package/dist/chunks/{location-lifecycle-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
  886. /package/dist/chunks/{location-lifecycle-hk9envan.js → repository-hk9envan.js} +0 -0
  887. /package/dist/chunks/{location-lifecycle-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  888. /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  889. /package/dist/chunks/{location-lifecycle-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  890. /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  891. /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  892. /package/dist/chunks/{location-lifecycle-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
  893. /package/dist/chunks/{location-lifecycle-jze0r7bz.js → repository-jze0r7bz.js} +0 -0
  894. /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{location-lifecycle-m18g726c.js → repository-m18g726c.js} +0 -0
  896. /package/dist/chunks/{location-lifecycle-mp448xyj.js → repository-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{location-lifecycle-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{location-lifecycle-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{location-lifecycle-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{location-lifecycle-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{location-lifecycle-njntx4h6.js → repository-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{location-lifecycle-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{location-lifecycle-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{location-lifecycle-q74kybfr.js → repository-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{location-lifecycle-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  906. /package/dist/chunks/{location-lifecycle-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  907. /package/dist/chunks/{location-lifecycle-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  908. /package/dist/chunks/{location-lifecycle-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  909. /package/dist/chunks/{location-lifecycle-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  910. /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  911. /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  912. /package/dist/chunks/{location-lifecycle-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  913. /package/dist/chunks/{location-lifecycle-stkk57rt.js → repository-stkk57rt.js} +0 -0
  914. /package/dist/chunks/{location-lifecycle-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
  915. /package/dist/chunks/{location-lifecycle-ty7weeps.js → repository-ty7weeps.js} +0 -0
  916. /package/dist/chunks/{location-lifecycle-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
  917. /package/dist/chunks/{location-lifecycle-w803qqfp.js → repository-w803qqfp.js} +0 -0
  918. /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  919. /package/dist/chunks/{location-lifecycle-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  920. /package/dist/chunks/{location-lifecycle-wtztk69x.js → repository-wtztk69x.js} +0 -0
  921. /package/dist/chunks/{location-lifecycle-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  922. /package/dist/chunks/{location-lifecycle-x61499pn.js → repository-x61499pn.js} +0 -0
  923. /package/dist/chunks/{location-lifecycle-y44na4kk.js → repository-y44na4kk.js} +0 -0
  924. /package/dist/chunks/{location-lifecycle-y8f7s663.js → repository-y8f7s663.js} +0 -0
  925. /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  926. /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  927. /package/dist/chunks/{location-lifecycle-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-lifecycle-z5v4ffb3.js";
4
+ } from "./repository-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service83,
9
- node86
10
- } from "./location-lifecycle-5marpz7d.js";
8
+ Service87,
9
+ node90
10
+ } from "./repository-65sg5ez6.js";
11
11
  import {
12
- Service80,
13
- node83
14
- } from "./location-lifecycle-csh6jqny.js";
12
+ Service85,
13
+ node88
14
+ } from "./repository-q1ybpa6r.js";
15
15
  import {
16
16
  create4
17
- } from "./location-lifecycle-40y6dtc2.js";
17
+ } from "./repository-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./location-lifecycle-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
25
+ Error: () => Error3,
26
26
  ID: () => ID8,
27
- Service: () => Service43,
27
+ Service: () => Service49,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node46,
30
- noopLayer: () => noopLayer2
29
+ node: () => node50,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID8 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service43 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service49 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service43, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service83;
50
+ const git = yield* Service87;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service85;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node46 = makeLocationNode({
158
- service: Service43,
157
+ var node50 = makeLocationNode({
158
+ service: Service49,
159
159
  layer,
160
- deps: [FSUtil.node, node86, Global.node, node83]
160
+ deps: [FSUtil.node, node90, Global.node, node88]
161
161
  });
162
- var noopLayer2 = Layer.succeed(Service43, Service43.of({
162
+ var noopLayer3 = Layer.succeed(Service49, Service49.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error2 && cause.operation === operation)
171
+ if (cause instanceof Error3 && cause.operation === operation)
172
172
  return cause;
173
- return new Error2({
173
+ return new Error3({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID8, Error2, Service43, node46, noopLayer2, exports_snapshot2 };
180
+ export { ID8, Error3, Service49, node50, noopLayer3, exports_snapshot2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service87,
3
- node90
4
- } from "./location-lifecycle-qk6vrkcy.js";
2
+ Service88,
3
+ node91
4
+ } from "./repository-rnpdff07.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./location-lifecycle-z5v4ffb3.js";
8
+ } from "./repository-z5v4ffb3.js";
9
9
  import {
10
- Ref4,
11
- Service80,
12
- node83
13
- } from "./location-lifecycle-csh6jqny.js";
10
+ Ref5,
11
+ Service85,
12
+ node88
13
+ } from "./repository-q1ybpa6r.js";
14
14
  import {
15
15
  __export
16
- } from "./location-lifecycle-9rqn6x4v.js";
16
+ } from "./repository-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service27,
22
+ Service: () => Service65,
23
23
  define: () => define2,
24
24
  eventDefinition: () => eventDefinition2,
25
- node: () => node30
25
+ node: () => node67
26
26
  });
27
27
  import { define as define2 } from "@opencode/schema/rpc";
28
28
  import { Event } from "@opencode/schema/event";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
31
- class Service27 extends Context.Service()("@opencode/Rpc") {
31
+ class Service65 extends Context.Service()("@opencode/Rpc") {
32
32
  }
33
33
 
34
34
  class DeclaredError extends Error {
@@ -40,10 +40,10 @@ class DeclaredError extends Error {
40
40
  this.data = data;
41
41
  }
42
42
  }
43
- var layer = Layer.effect(Service27, Effect.gen(function* () {
44
- const bus = yield* Service87;
45
- const location = yield* Service80;
46
- const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
43
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
44
+ const bus = yield* Service88;
45
+ const location = yield* Service85;
46
+ const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
47
47
  const closed = yield* Deferred.make();
48
48
  const callContext = {
49
49
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -119,19 +119,19 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
119
119
  const registered = events.get(name);
120
120
  if (!registered)
121
121
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
122
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service85, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
123
123
  }
124
124
  }
125
125
  };
126
126
  };
127
- return Service27.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
+ return Service65.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
128
128
  }));
129
- var node30 = makeLocationNode({ service: Service27, layer, deps: [node90, node83] });
129
+ var node67 = makeLocationNode({ service: Service65, layer, deps: [node91, node88] });
130
130
  var fields = {
131
131
  id: Event.ID,
132
132
  created: Schema.Finite,
133
133
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
134
- location: optional2(Ref4)
134
+ location: optional2(Ref5)
135
135
  };
136
136
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
137
137
  var jsonSchemas = new WeakMap;
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service27, node30, eventDefinition2, exports_rpc, define2 };
213
+ export { Service65, node67, eventDefinition2, exports_rpc, define2 };
@@ -1,52 +1,52 @@
1
1
  import {
2
- Service87
3
- } from "./location-lifecycle-qk6vrkcy.js";
2
+ Service88
3
+ } from "./repository-rnpdff07.js";
4
4
  import {
5
- Service77
6
- } from "./location-lifecycle-tpgns2k8.js";
5
+ Service74
6
+ } from "./repository-8d2bw64f.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  changes2,
12
12
  inherit2
13
- } from "./location-lifecycle-40y6dtc2.js";
13
+ } from "./repository-40y6dtc2.js";
14
14
  import {
15
- Service42,
15
+ Service39,
16
16
  awaitActivation2
17
- } from "./location-lifecycle-47mgcevd.js";
17
+ } from "./repository-6bshxcsx.js";
18
18
  import {
19
19
  make21,
20
20
  requirements3,
21
21
  storage2
22
- } from "./location-lifecycle-51hfqndg.js";
22
+ } from "./repository-ct3v1yt3.js";
23
23
  import {
24
24
  __export
25
- } from "./location-lifecycle-9rqn6x4v.js";
25
+ } from "./repository-9rqn6x4v.js";
26
26
 
27
27
  // src/plugin.ts
28
28
  var exports_plugin2 = {};
29
29
  __export(exports_plugin2, {
30
- Event: () => Event3,
30
+ Event: () => Event4,
31
31
  GuiBundle: () => GuiBundle2,
32
32
  ID: () => ID6,
33
- Info: () => Info5,
33
+ Info: () => Info6,
34
34
  Plugin: () => exports_plugin2,
35
- Service: () => Service42,
35
+ Service: () => Service39,
36
36
  Source: () => Source2,
37
37
  State: () => State2,
38
38
  awaitActivation: () => awaitActivation2,
39
- node: () => node21
39
+ node: () => node24
40
40
  });
41
- import { Event as Event3, GuiBundle as GuiBundle2, ID as ID6, Info as Info5, Source as Source2, State as State2 } from "@opencode/schema/plugin";
41
+ import { Event as Event4, GuiBundle as GuiBundle2, ID as ID6, Info as Info6, Source as Source2, State as State2 } from "@opencode/schema/plugin";
42
42
  import { readFile } from "node:fs/promises";
43
43
  import { fileURLToPath } from "node:url";
44
44
  import { Plugin } from "@opencode/schema/plugin";
45
45
  import { Node } from "@opencode/util/effect/app-node";
46
46
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
47
- var layer = Layer.effect(Service42, Effect.gen(function* () {
48
- const bus = yield* Service87;
49
- const kv = yield* Service77;
47
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
48
+ const bus = yield* Service88;
49
+ const kv = yield* Service74;
50
50
  const scope = yield* Scope.make();
51
51
  const active = new Map;
52
52
  const lock = Semaphore.makeUnsafe(1);
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
214
214
  yield* shutdown2(Scope.close(scope, exit));
215
215
  }));
216
216
  yield* Effect.addFinalizer(close);
217
- return Service42.of({
217
+ return Service39.of({
218
218
  activate,
219
219
  close,
220
220
  awaitActivation: ready.await,
@@ -232,10 +232,10 @@ function slotInfo(slot) {
232
232
  features: slot.plugin.features ?? { server: true }
233
233
  };
234
234
  }
235
- var node21 = Node.makeLocationNode({
236
- service: Service42,
235
+ var node24 = Node.makeLocationNode({
236
+ service: Service39,
237
237
  layer,
238
238
  deps: [requirements3]
239
239
  });
240
240
 
241
- export { node21, exports_plugin2, Event3, GuiBundle2, ID6, Info5, Source2, State2 };
241
+ export { node24, exports_plugin2, Event4, GuiBundle2, ID6, Info6, Source2, State2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service80,
3
- node83
4
- } from "./location-lifecycle-csh6jqny.js";
2
+ Service85,
3
+ node88
4
+ } from "./repository-q1ybpa6r.js";
5
5
  import {
6
6
  create4
7
- } from "./location-lifecycle-40y6dtc2.js";
7
+ } from "./repository-40y6dtc2.js";
8
8
  import {
9
9
  __export
10
- } from "./location-lifecycle-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service15,
17
- node: () => node17
16
+ Service: () => Service18,
17
+ node: () => node20
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service15 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service18 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service15, Effect.gen(function* () {
27
- const location = yield* Service80;
26
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
27
+ const location = yield* Service85;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create4({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service15.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service18.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node17 = makeLocationNode({
91
- service: Service15,
90
+ var node20 = makeLocationNode({
91
+ service: Service18,
92
92
  layer,
93
- deps: [node83, AppProcess.node]
93
+ deps: [node88, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service15, node17, exports_formatter2 };
96
+ export { Service18, node20, exports_formatter2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  content3
3
- } from "./location-lifecycle-sbya78hr.js";
3
+ } from "./repository-sbya78hr.js";
4
4
  import {
5
5
  groups2
6
- } from "./location-lifecycle-vjf35v1f.js";
6
+ } from "./repository-vjf35v1f.js";
7
7
  import {
8
8
  __export
9
- } from "./location-lifecycle-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/tools/result.ts
12
12
  var exports_result = {};
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./location-lifecycle-rb9dy4dg.js";
10
+ } from "./repository-rb9dy4dg.js";
11
11
  import {
12
- Service80
13
- } from "./location-lifecycle-csh6jqny.js";
12
+ Service85
13
+ } from "./repository-q1ybpa6r.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./location-lifecycle-g34xrvj6.js";
16
+ } from "./repository-2fpkg984.js";
17
17
  import {
18
18
  __export
19
- } from "./location-lifecycle-9rqn6x4v.js";
19
+ } from "./repository-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin20,
24
+ Plugin: () => Plugin38,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin20 = define({
33
+ var Plugin38 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service80;
36
+ const location = yield* Service85;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin20, exports_hg };
201
+ export { Plugin38, exports_hg };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./location-lifecycle-5marpz7d.js";
3
+ } from "./repository-65sg5ez6.js";
4
4
  import {
5
- Service68
6
- } from "./location-lifecycle-dtm2rd94.js";
5
+ Service66
6
+ } from "./repository-b2c1mvj5.js";
7
7
  import {
8
- Service18
9
- } from "./location-lifecycle-t72xd960.js";
8
+ Service21
9
+ } from "./repository-3x7atde9.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./location-lifecycle-d4v9tmah.js";
12
+ } from "./repository-d4v9tmah.js";
13
13
  import {
14
- Info7,
14
+ Info9,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./location-lifecycle-wvzzbx7w.js";
19
+ } from "./repository-cfzy73q7.js";
20
20
  import {
21
21
  __export
22
- } from "./location-lifecycle-9rqn6x4v.js";
22
+ } from "./repository-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin46,
30
+ Plugin: () => Plugin3,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -105,11 +105,11 @@ var ModelsOutput = Schema.Struct({
105
105
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
106
106
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
107
107
  });
108
- var Plugin46 = {
108
+ var Plugin3 = {
109
109
  id: "opencode.tools",
110
110
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
111
- const access = yield* Service18;
112
- const permission = yield* Service68;
111
+ const access = yield* Service21;
112
+ const permission = yield* Service66;
113
113
  const hook = (event) => Effect.sync(() => {
114
114
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
115
115
  });
@@ -161,7 +161,7 @@ var Plugin46 = {
161
161
  name: "worktree_create",
162
162
  description: "Create a named worktree. Returns its directory.",
163
163
  input: WorktreeCreateInput2,
164
- output: Info7,
164
+ output: Info9,
165
165
  options: { namespace: "opencode", codemode: true, pinned: true },
166
166
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
167
167
  });
@@ -258,4 +258,4 @@ function removeFailure(directory, error) {
258
258
  return `Unable to remove worktree ${directory}.`;
259
259
  }
260
260
 
261
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin46, exports_opencode };
261
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin3, exports_opencode };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service83
3
- } from "./location-lifecycle-5marpz7d.js";
2
+ Service87
3
+ } from "./repository-65sg5ez6.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./location-lifecycle-d4v9tmah.js";
7
+ } from "./repository-d4v9tmah.js";
8
8
  import {
9
9
  __export
10
- } from "./location-lifecycle-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  var make22 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service83;
23
+ const git = yield* Service87;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ID16,
3
3
  mergeOverlay2
4
- } from "./location-lifecycle-6vj2fw2g.js";
4
+ } from "./repository-5hrgbkyt.js";
5
5
  import {
6
6
  ID15,
7
7
  VariantID2,
8
8
  Info23,
9
9
  compatibility2
10
- } from "./location-lifecycle-6bv6805f.js";
10
+ } from "./repository-x6sm40hj.js";
11
11
  import {
12
12
  __export
13
- } from "./location-lifecycle-9rqn6x4v.js";
13
+ } from "./repository-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load4
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load5
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load4(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load5(baseURL, apiKey), existing);
59
59
  }
60
- async function load4(baseURL, apiKey) {
60
+ async function load5(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,7 +71,7 @@ async function load4(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load4, derive2, exports_models };
147
+ export { get3, load5, derive3, exports_models2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service74
3
- } from "./location-lifecycle-5yd4kgkj.js";
2
+ Service72
3
+ } from "./repository-29pkxvwt.js";
4
4
  import {
5
- Service73
6
- } from "./location-lifecycle-v42bbhrc.js";
5
+ Service71
6
+ } from "./repository-s8e2nyv7.js";
7
7
  import {
8
8
  parse2
9
- } from "./location-lifecycle-physa0h7.js";
9
+ } from "./repository-7w8btzrz.js";
10
10
  import {
11
11
  ignore2,
12
12
  scan2
13
- } from "./location-lifecycle-nah043kf.js";
13
+ } from "./repository-nah043kf.js";
14
14
  import {
15
15
  __export
16
- } from "./location-lifecycle-9rqn6x4v.js";
16
+ } from "./repository-9rqn6x4v.js";
17
17
 
18
18
  // src/config/plugin/compatibility.ts
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin19
22
+ Plugin: () => Plugin33
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin19 = define({
28
+ var Plugin33 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service73;
31
+ const config = yield* Service71;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service74;
33
+ const watcher = yield* Service72;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
81
81
  return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
82
82
  }
83
83
 
84
- export { Plugin19, exports_compatibility };
84
+ export { Plugin33, exports_compatibility };