@opencode/core 0.0.0-dev-442 → 0.0.0-dev-445

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 (918) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +240 -240
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{repository-cache-034tev2y.js → tool-034tev2y.js} +2 -2
  9. package/dist/chunks/{repository-cache-zqbv3gar.js → tool-04hrbnke.js} +22 -22
  10. package/dist/chunks/{repository-cache-cawz4cxe.js → tool-058p9g98.js} +19 -19
  11. package/dist/chunks/{repository-cache-0j7gp832.js → tool-0j7gp832.js} +1 -1
  12. package/dist/chunks/{repository-cache-4pw98qd4.js → tool-0m9q59s6.js} +4 -4
  13. package/dist/chunks/{repository-cache-0ma9gw4f.js → tool-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{repository-cache-4dg124c5.js → tool-0nde5ztd.js} +5 -5
  15. package/dist/chunks/{repository-cache-yav33qdh.js → tool-0qzsd7h4.js} +14 -14
  16. package/dist/chunks/{repository-cache-3g08hg2f.js → tool-0r9rxd8b.js} +25 -25
  17. package/dist/chunks/{repository-cache-prdpr5kc.js → tool-0ybp4qnq.js} +12 -12
  18. package/dist/chunks/{repository-cache-hy8c1z76.js → tool-160yv0cs.js} +8 -8
  19. package/dist/chunks/{repository-cache-1aqsckx4.js → tool-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{repository-cache-mvb2pkyv.js → tool-1e5yc0yj.js} +11 -11
  21. package/dist/chunks/{repository-cache-1ep2p91f.js → tool-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{repository-cache-xh3hzwmr.js → tool-1q4j3vt9.js} +20 -20
  23. package/dist/chunks/{repository-cache-3fsaky9c.js → tool-1scpnkam.js} +12 -12
  24. package/dist/chunks/{repository-cache-cxz2fhw5.js → tool-1vcr586d.js} +10 -10
  25. package/dist/chunks/{repository-cache-zz1fbq3g.js → tool-1wyzen4g.js} +48 -48
  26. package/dist/chunks/{repository-cache-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{repository-cache-k7j4356s.js → tool-1yrt9mfc.js} +6 -6
  28. package/dist/chunks/{repository-cache-qxga34ac.js → tool-1z80j9s6.js} +24 -24
  29. package/dist/chunks/{repository-cache-vpwbrwqk.js → tool-290jyxrn.js} +39 -39
  30. package/dist/chunks/{repository-cache-52gwzjjv.js → tool-29smdr3c.js} +21 -21
  31. package/dist/chunks/{repository-cache-68hqcxr6.js → tool-2b08w8wg.js} +15 -15
  32. package/dist/chunks/{repository-cache-0gyzmnp3.js → tool-2b7p4jrd.js} +5 -5
  33. package/dist/chunks/{repository-cache-0hgar71m.js → tool-2j56ds13.js} +18 -18
  34. package/dist/chunks/{repository-cache-xmx7xj34.js → tool-2kj7f5bg.js} +7 -7
  35. package/dist/chunks/{repository-cache-zez9874q.js → tool-2m3wp1kk.js} +5 -5
  36. package/dist/chunks/{repository-cache-ad21tgm2.js → tool-2p60zmnr.js} +4 -4
  37. package/dist/chunks/tool-2t0varmf.js +26 -0
  38. package/dist/chunks/{repository-cache-vwj0z6sg.js → tool-2y7n45nv.js} +20 -20
  39. package/dist/chunks/{repository-cache-nbvtxs6e.js → tool-37hg9b8g.js} +59 -59
  40. package/dist/chunks/{repository-cache-0x0dw6ca.js → tool-3etgmwdh.js} +18 -18
  41. package/dist/chunks/{repository-cache-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{repository-cache-jh6r09h5.js → tool-3n0w1hcj.js} +8 -8
  43. package/dist/chunks/{repository-cache-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{repository-cache-bbn0gsv3.js → tool-3scsgznq.js} +26 -26
  45. package/dist/chunks/{repository-cache-e049sp69.js → tool-3smz2ab8.js} +32 -32
  46. package/dist/chunks/{repository-cache-vb8z5b0v.js → tool-3wz7pzfc.js} +6 -6
  47. package/dist/chunks/{repository-cache-40y6dtc2.js → tool-40y6dtc2.js} +1 -1
  48. package/dist/chunks/tool-447e52ps.js +555 -0
  49. package/dist/chunks/{repository-cache-twhtcdx9.js → tool-44pmzq9c.js} +4 -4
  50. package/dist/chunks/{repository-cache-qk4mrd8m.js → tool-4cdp6f63.js} +4 -4
  51. package/dist/chunks/{repository-cache-hjab8tmw.js → tool-4dtk0t2m.js} +13 -13
  52. package/dist/chunks/{repository-cache-4dx1dgte.js → tool-4dx1dgte.js} +1 -1
  53. package/dist/chunks/{repository-cache-4f25tdd0.js → tool-4f25tdd0.js} +1 -1
  54. package/dist/chunks/{repository-cache-7rrfv9s3.js → tool-4jd043gh.js} +15 -15
  55. package/dist/chunks/{repository-cache-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
  56. package/dist/chunks/{repository-cache-wtr3736h.js → tool-4smfr4z1.js} +17 -17
  57. package/dist/chunks/{repository-cache-4v008n1t.js → tool-4v008n1t.js} +1 -1
  58. package/dist/chunks/{repository-cache-qt2z3a0z.js → tool-4wsaayw1.js} +7 -7
  59. package/dist/chunks/{repository-cache-2jf9w73g.js → tool-4z3kjcpx.js} +12 -12
  60. package/dist/chunks/{repository-cache-h060p2hk.js → tool-52nze26m.js} +46 -46
  61. package/dist/chunks/{repository-cache-9y98b3v5.js → tool-53qxhngr.js} +4 -4
  62. package/dist/chunks/{repository-cache-xy38xmvm.js → tool-555cqe3y.js} +9 -9
  63. package/dist/chunks/{repository-cache-rx1f5s7v.js → tool-57fs3qve.js} +31 -31
  64. package/dist/chunks/{repository-cache-3dempbt2.js → tool-5j89vnby.js} +8 -8
  65. package/dist/chunks/{repository-cache-c3drhxjj.js → tool-5kexb1yv.js} +60 -60
  66. package/dist/chunks/{repository-cache-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  67. package/dist/chunks/{repository-cache-3s9d6j15.js → tool-5nzp4atq.js} +12 -12
  68. package/dist/chunks/{repository-cache-zcnch7vt.js → tool-62b0mtf4.js} +11 -11
  69. package/dist/chunks/{repository-cache-jkjd442p.js → tool-65531gnt.js} +18 -18
  70. package/dist/chunks/{repository-cache-67xca3db.js → tool-67xca3db.js} +3 -3
  71. package/dist/chunks/{repository-cache-q4m8323c.js → tool-68yz8wc5.js} +3 -3
  72. package/dist/chunks/{repository-cache-mavfbhde.js → tool-6cda7skz.js} +1 -1
  73. package/dist/chunks/{repository-cache-est5w5t7.js → tool-6d0d1q6g.js} +4 -4
  74. package/dist/chunks/{repository-cache-wwy9zr36.js → tool-6m7kkc6m.js} +12 -12
  75. package/dist/chunks/{repository-cache-2c6sxtb9.js → tool-6sg7v011.js} +2 -2
  76. package/dist/chunks/{repository-cache-9987b4hv.js → tool-6t99sjh8.js} +31 -31
  77. package/dist/chunks/{repository-cache-rwf8drt1.js → tool-6xvz3m61.js} +19 -19
  78. package/dist/chunks/{repository-cache-96137s5q.js → tool-6ybchgnd.js} +3 -3
  79. package/dist/chunks/{repository-cache-289tt5w7.js → tool-737qxf4j.js} +10 -10
  80. package/dist/chunks/{repository-cache-s42kcc5g.js → tool-73aa81yw.js} +15 -15
  81. package/dist/chunks/{repository-cache-pfv09rma.js → tool-78xkbf55.js} +15 -15
  82. package/dist/chunks/{repository-cache-4rx7jpwk.js → tool-79sfw1xt.js} +22 -22
  83. package/dist/chunks/{repository-cache-sr4yt9k3.js → tool-7bfv676c.js} +91 -91
  84. package/dist/chunks/{repository-cache-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{repository-cache-1sg5dvqw.js → tool-7cs3xdpe.js} +5 -5
  86. package/dist/chunks/{repository-cache-z75nd8wb.js → tool-7gba69t1.js} +10 -10
  87. package/dist/chunks/{repository-cache-jm6whcwz.js → tool-7hk62ckt.js} +35 -35
  88. package/dist/chunks/{repository-cache-7kr66rt3.js → tool-7kr66rt3.js} +1 -1
  89. package/dist/chunks/{repository-cache-1ap8nk4y.js → tool-7mv4edyq.js} +27 -27
  90. package/dist/chunks/{repository-cache-0j3vgrzm.js → tool-7n98e5dz.js} +3 -3
  91. package/dist/chunks/{repository-cache-7amawddc.js → tool-7t3apcn0.js} +12 -12
  92. package/dist/chunks/{repository-cache-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
  93. package/dist/chunks/{repository-cache-7weczvnd.js → tool-7weczvnd.js} +1 -1
  94. package/dist/chunks/{repository-cache-3e73c9p6.js → tool-7wx6r3ca.js} +10 -10
  95. package/dist/chunks/{repository-cache-ydwj82v4.js → tool-7zev22rg.js} +1 -1
  96. package/dist/chunks/{repository-cache-775hqbnd.js → tool-80mg3ag8.js} +3 -3
  97. package/dist/chunks/{repository-cache-pjexw8hq.js → tool-825z9ch3.js} +13 -13
  98. package/dist/chunks/{repository-cache-pd4m7bts.js → tool-832bdyzy.js} +11 -11
  99. package/dist/chunks/{repository-cache-8azmfwdk.js → tool-83qakqap.js} +35 -35
  100. package/dist/chunks/{repository-cache-89287pr7.js → tool-89287pr7.js} +1 -1
  101. package/dist/chunks/{repository-cache-8b3vzgkx.js → tool-8b3vzgkx.js} +1 -1
  102. package/dist/chunks/{repository-cache-b2armg7w.js → tool-8cg7mtm3.js} +4 -4
  103. package/dist/chunks/{repository-cache-p9j2z5m0.js → tool-8dfptpqb.js} +4 -4
  104. package/dist/chunks/{repository-cache-pwpvfwx2.js → tool-8etydfns.js} +23 -23
  105. package/dist/chunks/{repository-cache-ega415az.js → tool-8hfqzg5m.js} +9 -9
  106. package/dist/chunks/{repository-cache-a52zaz86.js → tool-8jkte0s5.js} +29 -29
  107. package/dist/chunks/{repository-cache-crfddmzc.js → tool-8n09hdvs.js} +8 -8
  108. package/dist/chunks/{repository-cache-rmv7fhs4.js → tool-8wjgamp7.js} +3 -3
  109. package/dist/chunks/{repository-cache-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
  110. package/dist/chunks/{repository-cache-6cbzbqkd.js → tool-8zzaerw3.js} +11 -11
  111. package/dist/chunks/{repository-cache-90zstvax.js → tool-90zstvax.js} +1 -1
  112. package/dist/chunks/{repository-cache-94s5f2xb.js → tool-94s5f2xb.js} +1 -1
  113. package/dist/chunks/{repository-cache-a0fq0pbv.js → tool-963hk181.js} +9 -9
  114. package/dist/chunks/{repository-cache-ag06drps.js → tool-9e82rw41.js} +8 -8
  115. package/dist/chunks/{repository-cache-49rfwdh8.js → tool-9gf1atxf.js} +43 -43
  116. package/dist/chunks/{repository-cache-2p2ngww5.js → tool-9pfjt3e4.js} +14 -14
  117. package/dist/chunks/{repository-cache-rnsjpp0v.js → tool-9wy3h6q7.js} +15 -15
  118. package/dist/chunks/{repository-cache-fn5v6rn7.js → tool-9x0zyyhc.js} +56 -56
  119. package/dist/chunks/{repository-cache-pfwm222d.js → tool-a1qh0yc6.js} +21 -21
  120. package/dist/chunks/{repository-cache-4w17k448.js → tool-a237czk6.js} +9 -9
  121. package/dist/chunks/{repository-cache-q85rya1m.js → tool-a4ww6fpm.js} +6 -6
  122. package/dist/chunks/{repository-cache-7nqkf5r1.js → tool-a5fx33f2.js} +6 -6
  123. package/dist/chunks/{repository-cache-wpfagg7q.js → tool-a784801j.js} +30 -30
  124. package/dist/chunks/{repository-cache-anaenpns.js → tool-amcjzf78.js} +17 -17
  125. package/dist/chunks/{repository-cache-ayjs7tqn.js → tool-ayjs7tqn.js} +2 -2
  126. package/dist/chunks/{repository-cache-d5rganww.js → tool-ayrp2r0n.js} +17 -17
  127. package/dist/chunks/{repository-cache-gbkhbwft.js → tool-b1wr2abc.js} +23 -23
  128. package/dist/chunks/{repository-cache-gkkfeabc.js → tool-b4st0wny.js} +49 -49
  129. package/dist/chunks/{repository-cache-v1evv7rr.js → tool-b64wsfyg.js} +8 -8
  130. package/dist/chunks/{repository-cache-5nnwax6m.js → tool-b6vsg801.js} +5 -5
  131. package/dist/chunks/{repository-cache-zewg1mz5.js → tool-b7tb94b1.js} +30 -29
  132. package/dist/chunks/{repository-cache-wjbv9knt.js → tool-bcqqg7ry.js} +11 -11
  133. package/dist/chunks/{repository-cache-cb6pr36r.js → tool-bgd4zz6g.js} +23 -23
  134. package/dist/chunks/{repository-cache-bhfd478d.js → tool-bhfd478d.js} +1 -1
  135. package/dist/chunks/{repository-cache-1xj78a1d.js → tool-bs9sdagx.js} +40 -40
  136. package/dist/chunks/{repository-cache-jqsw4n81.js → tool-bsek2bbw.js} +5 -5
  137. package/dist/chunks/{repository-cache-82q75xp6.js → tool-bsfkzme1.js} +9 -9
  138. package/dist/chunks/{repository-cache-bstexjd6.js → tool-bstexjd6.js} +1 -1
  139. package/dist/chunks/{repository-cache-89hwzfe6.js → tool-c291rzpy.js} +23 -23
  140. package/dist/chunks/{repository-cache-6x9fp5f4.js → tool-c32zfq3f.js} +8 -8
  141. package/dist/chunks/{repository-cache-35edbg34.js → tool-cbs4h58g.js} +31 -31
  142. package/dist/chunks/{repository-cache-0mfja933.js → tool-ckykdpc8.js} +58 -58
  143. package/dist/chunks/{repository-cache-xq55bs10.js → tool-cr2zpvyx.js} +82 -82
  144. package/dist/chunks/{repository-cache-0bx5gdyx.js → tool-cv5az1t0.js} +21 -21
  145. package/dist/chunks/{repository-cache-xkgrgrva.js → tool-cvtbhvpz.js} +45 -45
  146. package/dist/chunks/{repository-cache-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
  147. package/dist/chunks/{repository-cache-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
  148. package/dist/chunks/{repository-cache-e1bmcdag.js → tool-d80yaymc.js} +4 -4
  149. package/dist/chunks/{repository-cache-ybvsasn0.js → tool-db7wnpf4.js} +18 -18
  150. package/dist/chunks/{repository-cache-dgvyj81v.js → tool-dbfaamx1.js} +23 -23
  151. package/dist/chunks/{repository-cache-7stb81gk.js → tool-dbht28n9.js} +10 -13
  152. package/dist/chunks/{repository-cache-gtwncx8g.js → tool-dbvhy92c.js} +29 -29
  153. package/dist/chunks/{repository-cache-f59g66b7.js → tool-dcwp1qph.js} +28 -28
  154. package/dist/chunks/{repository-cache-q42sg809.js → tool-dkwky0e9.js} +1 -1
  155. package/dist/chunks/{repository-cache-qtwp1x96.js → tool-ds7k7p4f.js} +53 -53
  156. package/dist/chunks/{repository-cache-dt77769w.js → tool-dt77769w.js} +1 -1
  157. package/dist/chunks/{repository-cache-dv96216k.js → tool-dxsywhez.js} +6 -5
  158. package/dist/chunks/{repository-cache-bz6hdee9.js → tool-e354rcns.js} +12 -12
  159. package/dist/chunks/{repository-cache-epxy24xv.js → tool-e6dhz8k8.js} +2 -2
  160. package/dist/chunks/{repository-cache-e834z07m.js → tool-e834z07m.js} +1 -1
  161. package/dist/chunks/{repository-cache-e5jpawtk.js → tool-eavck919.js} +6 -6
  162. package/dist/chunks/{repository-cache-dqhrmf7j.js → tool-ejk6sxm0.js} +13 -13
  163. package/dist/chunks/{repository-cache-eqw4pqj1.js → tool-eqw4pqj1.js} +2 -2
  164. package/dist/chunks/{repository-cache-5ajs5fv3.js → tool-erqa4ym4.js} +17 -17
  165. package/dist/chunks/{repository-cache-w3r8pvyd.js → tool-eyjfkt33.js} +22 -22
  166. package/dist/chunks/tool-ezna1kdx.js +18 -0
  167. package/dist/chunks/{repository-cache-49fetqk2.js → tool-fb609nat.js} +31 -31
  168. package/dist/chunks/{repository-cache-vt801hez.js → tool-fbywdd3x.js} +18 -18
  169. package/dist/chunks/{repository-cache-fg0mp2nh.js → tool-fdjq7h4v.js} +9 -9
  170. package/dist/chunks/{repository-cache-n4de5rt9.js → tool-ff0yba6y.js} +12 -12
  171. package/dist/chunks/{repository-cache-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
  172. package/dist/chunks/{repository-cache-e2pvbaw5.js → tool-ffmpd7vv.js} +5 -5
  173. package/dist/chunks/{repository-cache-fg9p65nk.js → tool-fg9p65nk.js} +2 -2
  174. package/dist/chunks/{repository-cache-jvkzgxpb.js → tool-fmrn1hft.js} +5 -5
  175. package/dist/chunks/{repository-cache-vsnnaxjq.js → tool-fwp9mfc9.js} +4 -4
  176. package/dist/chunks/{repository-cache-ax1ejevv.js → tool-g1j6mga3.js} +26 -26
  177. package/dist/chunks/{repository-cache-x3h2bqkh.js → tool-g2b8th34.js} +26 -26
  178. package/dist/chunks/{repository-cache-6f6jm3cp.js → tool-g6axq7c8.js} +8 -8
  179. package/dist/chunks/{repository-cache-jmg7y0j6.js → tool-g8088phe.js} +11 -11
  180. package/dist/chunks/{repository-cache-vn5mpp1y.js → tool-g8v7jdav.js} +4 -4
  181. package/dist/chunks/{repository-cache-gbjdnr5j.js → tool-gbjdnr5j.js} +2 -2
  182. package/dist/chunks/{repository-cache-11zs7ceg.js → tool-gp2v4fwm.js} +50 -50
  183. package/dist/chunks/{repository-cache-vk84a1qz.js → tool-gt5pd5rr.js} +12 -12
  184. package/dist/chunks/{repository-cache-9010571t.js → tool-h0sr4r5j.js} +9 -9
  185. package/dist/chunks/{repository-cache-pzqn12hg.js → tool-h34azzt3.js} +17 -17
  186. package/dist/chunks/{repository-cache-yrsk760m.js → tool-h4ydtgpm.js} +32 -32
  187. package/dist/chunks/{repository-cache-mwh0kypr.js → tool-h6p8j4j4.js} +27 -27
  188. package/dist/chunks/{repository-cache-031xjkpy.js → tool-h7ggae4k.js} +7 -7
  189. package/dist/chunks/{repository-cache-n83rrxve.js → tool-hdssvm4n.js} +11 -11
  190. package/dist/chunks/{repository-cache-pzx81v4b.js → tool-hhfn9b2w.js} +14 -14
  191. package/dist/chunks/{repository-cache-hpg1pkwy.js → tool-hpg1pkwy.js} +1 -1
  192. package/dist/chunks/{repository-cache-tp6jxtjv.js → tool-htk595z3.js} +22 -22
  193. package/dist/chunks/{repository-cache-1atc1ew8.js → tool-jpb17t0e.js} +32 -32
  194. package/dist/chunks/{repository-cache-jtnps1zs.js → tool-jtnps1zs.js} +2 -2
  195. package/dist/chunks/{repository-cache-g8tbqp6f.js → tool-jzx7em37.js} +22 -22
  196. package/dist/chunks/{repository-cache-zqbe7jzz.js → tool-k0epm85s.js} +7 -7
  197. package/dist/chunks/{repository-cache-9mm8k45w.js → tool-k3mdht1r.js} +16 -16
  198. package/dist/chunks/{repository-cache-cf3f13z6.js → tool-k5027ak4.js} +8 -8
  199. package/dist/chunks/{repository-cache-2gw5j43h.js → tool-kenm8tf1.js} +7 -7
  200. package/dist/chunks/{repository-cache-6wjqvx4f.js → tool-kfs9y5dj.js} +15 -15
  201. package/dist/chunks/{repository-cache-kt3bjfbg.js → tool-kt3bjfbg.js} +1 -1
  202. package/dist/chunks/{repository-cache-ke9ajvg5.js → tool-kynaxm5r.js} +81 -81
  203. package/dist/chunks/{repository-cache-kzczzf4v.js → tool-kzczzf4v.js} +1 -1
  204. package/dist/chunks/{repository-cache-m1714858.js → tool-m1714858.js} +1 -1
  205. package/dist/chunks/{repository-cache-5wzzagzn.js → tool-m45z9njj.js} +43 -43
  206. package/dist/chunks/{repository-cache-c3ce7cxf.js → tool-m4h69yn9.js} +6 -6
  207. package/dist/chunks/{repository-cache-vgt9qsck.js → tool-m58h2mss.js} +26 -26
  208. package/dist/chunks/{repository-cache-8nf6shhp.js → tool-m5db3969.js} +8 -8
  209. package/dist/chunks/{repository-cache-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  210. package/dist/chunks/{repository-cache-mb7mbhnz.js → tool-mb7mbhnz.js} +3 -3
  211. package/dist/chunks/{repository-cache-fttgx5bx.js → tool-mfmx1eew.js} +1 -1
  212. package/dist/chunks/{repository-cache-bcwyzmh3.js → tool-mn5c993e.js} +11 -11
  213. package/dist/chunks/{repository-cache-4tnarq1t.js → tool-msd2a3qm.js} +6 -6
  214. package/dist/chunks/{repository-cache-xyxz2bdy.js → tool-mtbbaj7x.js} +3 -3
  215. package/dist/chunks/{repository-cache-3xwqryxq.js → tool-mxqsamga.js} +23 -23
  216. package/dist/chunks/{repository-cache-bjnwfd5d.js → tool-n0jb8c2e.js} +43 -43
  217. package/dist/chunks/{repository-cache-xhtv64v8.js → tool-n6dz78md.js} +6 -6
  218. package/dist/chunks/{repository-cache-pefks0an.js → tool-n9y93s8c.js} +11 -11
  219. package/dist/chunks/{repository-cache-a5e3yv5v.js → tool-nn1wv3tr.js} +32 -32
  220. package/dist/chunks/{repository-cache-kj9n5bvh.js → tool-nr915jn7.js} +4 -4
  221. package/dist/chunks/{repository-cache-hsnq1va6.js → tool-p55ejza0.js} +5 -5
  222. package/dist/chunks/{repository-cache-1yq9hg58.js → tool-p7vhpwh8.js} +5 -5
  223. package/dist/chunks/{repository-cache-hdcneay5.js → tool-pdjdgfy6.js} +36 -36
  224. package/dist/chunks/{repository-cache-sm3wp3c9.js → tool-pe5efk4e.js} +24 -24
  225. package/dist/chunks/{repository-cache-v5bt1qpq.js → tool-pehkm274.js} +17 -17
  226. package/dist/chunks/{repository-cache-fxq8aqd2.js → tool-pgdk3wa7.js} +8 -8
  227. package/dist/chunks/{repository-cache-rz8thg42.js → tool-pjgv8mag.js} +14 -14
  228. package/dist/chunks/{repository-cache-pknna89w.js → tool-pknna89w.js} +1 -1
  229. package/dist/chunks/{repository-cache-hnqwc8w0.js → tool-pqg96c18.js} +48 -48
  230. package/dist/chunks/{repository-cache-zqjd7nbm.js → tool-psae579h.js} +6 -6
  231. package/dist/chunks/{repository-cache-fhczekzs.js → tool-q23ydmn6.js} +21 -21
  232. package/dist/chunks/{repository-cache-2sqajb4m.js → tool-q5kjt1w2.js} +45 -45
  233. package/dist/chunks/{repository-cache-xbnjv5gq.js → tool-q8f5p1vv.js} +20 -20
  234. package/dist/chunks/{repository-cache-602q2zhr.js → tool-q9v326zp.js} +7 -7
  235. package/dist/chunks/{repository-cache-j3qkssg1.js → tool-qbcc8k40.js} +27 -27
  236. package/dist/chunks/{repository-cache-x9v0acas.js → tool-qgv65c24.js} +14 -14
  237. package/dist/chunks/{repository-cache-awzfe97c.js → tool-qhnnvwnt.js} +5 -5
  238. package/dist/chunks/{repository-cache-c32j6rj9.js → tool-qj97zj8m.js} +11 -11
  239. package/dist/chunks/{repository-cache-qk5sk9d1.js → tool-qk5sk9d1.js} +2 -2
  240. package/dist/chunks/{repository-cache-b9tgh6dx.js → tool-qmre421v.js} +43 -43
  241. package/dist/chunks/{repository-cache-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
  242. package/dist/chunks/{repository-cache-qqvy8y24.js → tool-qqvy8y24.js} +1 -1
  243. package/dist/chunks/{repository-cache-eyx805n4.js → tool-qrct5xj0.js} +5 -5
  244. package/dist/chunks/{repository-cache-qsdghx1p.js → tool-qsdghx1p.js} +1 -1
  245. package/dist/chunks/{repository-cache-8et7qpna.js → tool-r0dnx8s7.js} +9 -9
  246. package/dist/chunks/{repository-cache-w2eysc6j.js → tool-r41sfy63.js} +6 -6
  247. package/dist/chunks/{repository-cache-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
  248. package/dist/chunks/{repository-cache-be5kz4xp.js → tool-rbt3gx7m.js} +27 -27
  249. package/dist/chunks/{repository-cache-qz95d27t.js → tool-rc7cmy01.js} +9 -9
  250. package/dist/chunks/{repository-cache-e32ybkv4.js → tool-re139r5f.js} +24 -24
  251. package/dist/chunks/{repository-cache-men5760m.js → tool-rhtjkvex.js} +6 -6
  252. package/dist/chunks/{repository-cache-px7qpgcn.js → tool-rj7j5fvs.js} +4 -4
  253. package/dist/chunks/tool-rks6qm78.js +261 -0
  254. package/dist/chunks/{repository-cache-t31x65z6.js → tool-rn9y9nwd.js} +28 -28
  255. package/dist/chunks/{repository-cache-6qk1bgz2.js → tool-rsb624gb.js} +11 -11
  256. package/dist/chunks/{repository-cache-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
  257. package/dist/chunks/{repository-cache-12fg3f5q.js → tool-s780xm4q.js} +11 -11
  258. package/dist/chunks/{repository-cache-zdnc43b0.js → tool-s79dcpfj.js} +31 -31
  259. package/dist/chunks/{repository-cache-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
  260. package/dist/chunks/{repository-cache-sbya78hr.js → tool-sbya78hr.js} +1 -1
  261. package/dist/chunks/{repository-cache-sbz71ybr.js → tool-sbz71ybr.js} +1 -1
  262. package/dist/chunks/{repository-cache-ghs03ebf.js → tool-sg3kcgds.js} +31 -31
  263. package/dist/chunks/{repository-cache-nt907s04.js → tool-sv909n4y.js} +3 -3
  264. package/dist/chunks/{repository-cache-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
  265. package/dist/chunks/{repository-cache-21evxy92.js → tool-sxbmj56q.js} +9 -9
  266. package/dist/chunks/{repository-cache-n4z1q12f.js → tool-szwm4crx.js} +7 -7
  267. package/dist/chunks/{repository-cache-eccy49gq.js → tool-t5fyb1pe.js} +19 -19
  268. package/dist/chunks/{repository-cache-mza2f58d.js → tool-t7ymes5c.js} +27 -27
  269. package/dist/chunks/{repository-cache-a8vh61nm.js → tool-t885gawg.js} +3 -3
  270. package/dist/chunks/{repository-cache-78p2h4ex.js → tool-t8erkws8.js} +5 -5
  271. package/dist/chunks/{repository-cache-msw5c1mm.js → tool-t8ndxv1j.js} +15 -15
  272. package/dist/chunks/{repository-cache-tb2mrvc9.js → tool-tb2mrvc9.js} +1 -1
  273. package/dist/chunks/{repository-cache-p7xbj0p1.js → tool-tbw8x9kh.js} +37 -37
  274. package/dist/chunks/{repository-cache-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
  275. package/dist/chunks/{repository-cache-t4r86xne.js → tool-te79g26x.js} +16 -16
  276. package/dist/chunks/{repository-cache-tg7s7b5t.js → tool-tg7s7b5t.js} +1 -1
  277. package/dist/chunks/{repository-cache-cx61cqrc.js → tool-tkq69f88.js} +9 -9
  278. package/dist/chunks/{repository-cache-h4681ke1.js → tool-tp9ny8ts.js} +17 -17
  279. package/dist/chunks/{repository-cache-jht64jd1.js → tool-tr8x705m.js} +4 -4
  280. package/dist/chunks/{repository-cache-ekyq4vzh.js → tool-tv3k6abg.js} +25 -25
  281. package/dist/chunks/{repository-cache-twssxy5n.js → tool-twssxy5n.js} +2 -2
  282. package/dist/chunks/{repository-cache-w79nt68w.js → tool-v0t96s7a.js} +4 -4
  283. package/dist/chunks/{repository-cache-7vgs2abw.js → tool-v15137jy.js} +19 -19
  284. package/dist/chunks/{repository-cache-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
  285. package/dist/chunks/{repository-cache-3beq3wdw.js → tool-v37bc009.js} +3 -3
  286. package/dist/chunks/{repository-cache-qf05fjbm.js → tool-v4ecg2k6.js} +9 -9
  287. package/dist/chunks/{repository-cache-rbsynrdk.js → tool-v7cge4gd.js} +12 -12
  288. package/dist/chunks/{repository-cache-vjf35v1f.js → tool-vjf35v1f.js} +1 -1
  289. package/dist/chunks/{repository-cache-pc7cxy0a.js → tool-vkh42pcj.js} +21 -21
  290. package/dist/chunks/{repository-cache-vrcsa8qx.js → tool-vrcsa8qx.js} +2 -2
  291. package/dist/chunks/{repository-cache-vt4r9rmy.js → tool-vt4r9rmy.js} +2 -2
  292. package/dist/chunks/{repository-cache-58jqnd8c.js → tool-vv55e3d6.js} +10 -10
  293. package/dist/chunks/{repository-cache-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  294. package/dist/chunks/{repository-cache-hv10taw4.js → tool-w5v2pv5a.js} +6 -6
  295. package/dist/chunks/{repository-cache-76cb1hcw.js → tool-w8qtt4th.js} +4 -4
  296. package/dist/chunks/{repository-cache-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
  297. package/dist/chunks/{repository-cache-wd87259q.js → tool-wd87259q.js} +1 -1
  298. package/dist/chunks/{repository-cache-wegkxhrn.js → tool-wegkxhrn.js} +2 -2
  299. package/dist/chunks/{repository-cache-zernnfch.js → tool-wfd7zevv.js} +15 -15
  300. package/dist/chunks/{repository-cache-8t99kr38.js → tool-wfs84ra6.js} +4 -4
  301. package/dist/chunks/{repository-cache-qsv15wez.js → tool-wgbdfxvd.js} +2 -2
  302. package/dist/chunks/{repository-cache-0jk5z70p.js → tool-wjet1gt7.js} +21 -21
  303. package/dist/chunks/{repository-cache-ve6517wg.js → tool-wjmtt3sa.js} +12 -12
  304. package/dist/chunks/{repository-cache-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
  305. package/dist/chunks/{repository-cache-wr3re1en.js → tool-wr3re1en.js} +1 -1
  306. package/dist/chunks/{repository-cache-wvr8xscb.js → tool-wvr8xscb.js} +1 -1
  307. package/dist/chunks/{repository-cache-xk2zn0cv.js → tool-wws03c5r.js} +4 -4
  308. package/dist/chunks/{repository-cache-jfphy7h7.js → tool-x7z34gyb.js} +15 -15
  309. package/dist/chunks/{repository-cache-m15ha2ry.js → tool-xbc6qp68.js} +6 -6
  310. package/dist/chunks/{repository-cache-n5aej1f0.js → tool-xct3fz6j.js} +25 -25
  311. package/dist/chunks/{repository-cache-mfp0246b.js → tool-xhhsv7mw.js} +16 -16
  312. package/dist/chunks/{repository-cache-0fn91hv4.js → tool-xkgdstsx.js} +17 -17
  313. package/dist/chunks/{repository-cache-8xz27cp9.js → tool-xksw6ev0.js} +4 -4
  314. package/dist/chunks/{repository-cache-g1kn1j67.js → tool-xy2adanr.js} +11 -11
  315. package/dist/chunks/{repository-cache-kwzdg89x.js → tool-xywpwjrw.js} +20 -20
  316. package/dist/chunks/{repository-cache-4fhmhmr6.js → tool-y5dj6wdq.js} +35 -35
  317. package/dist/chunks/{repository-cache-175211nj.js → tool-y6vvtwtt.js} +25 -25
  318. package/dist/chunks/{repository-cache-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
  319. package/dist/chunks/{repository-cache-6x15x9ww.js → tool-yh6977xb.js} +5 -5
  320. package/dist/chunks/{repository-cache-9ha9v93m.js → tool-yn59mty3.js} +21 -21
  321. package/dist/chunks/{repository-cache-ad76pa0e.js → tool-yp73enjn.js} +5 -5
  322. package/dist/chunks/{repository-cache-t3zzabwd.js → tool-ypsgcf07.js} +33 -33
  323. package/dist/chunks/{repository-cache-yr705xyq.js → tool-yr705xyq.js} +1 -1
  324. package/dist/chunks/{repository-cache-yvtc2x31.js → tool-yvtc2x31.js} +1 -1
  325. package/dist/chunks/{repository-cache-gyg1jafw.js → tool-ywh3xphk.js} +4 -4
  326. package/dist/chunks/{repository-cache-paq6k2z6.js → tool-yx0pjcef.js} +35 -35
  327. package/dist/chunks/{repository-cache-nwadgmv1.js → tool-z075a5s0.js} +34 -34
  328. package/dist/chunks/{repository-cache-90ct6wq4.js → tool-z080rjh6.js} +4 -4
  329. package/dist/chunks/{repository-cache-1pk9kqsa.js → tool-z4jb0rsa.js} +16 -16
  330. package/dist/chunks/{repository-cache-22hcmjv3.js → tool-z5rxwr3j.js} +5 -5
  331. package/dist/chunks/{repository-cache-jd51mnhp.js → tool-z88rdk3t.js} +9 -9
  332. package/dist/chunks/{repository-cache-nzd0ryw2.js → tool-zb6s5z6p.js} +12 -12
  333. package/dist/chunks/{repository-cache-nbc9912s.js → tool-zc0xxg4w.js} +21 -21
  334. package/dist/chunks/{repository-cache-p8x08v0y.js → tool-zcacabc5.js} +31 -31
  335. package/dist/chunks/{repository-cache-j9nxzz3g.js → tool-ze75qvmd.js} +3 -3
  336. package/dist/chunks/{repository-cache-3dbnmnyb.js → tool-zf1j68yb.js} +204 -204
  337. package/dist/chunks/{repository-cache-zm27gg57.js → tool-zm27gg57.js} +2 -2
  338. package/dist/chunks/{repository-cache-zzht5m2h.js → tool-zp1akbf2.js} +29 -29
  339. package/dist/chunks/{repository-cache-3hns5yw3.js → tool-zr0ks51n.js} +38 -38
  340. package/dist/chunks/{repository-cache-hfksw2yx.js → tool-zzm7r7mg.js} +9 -9
  341. package/dist/chunks/{repository-cache-4x5tmy1n.js → tool-zztbgrz9.js} +9 -9
  342. package/dist/codemode/catalog.js +1 -1
  343. package/dist/codemode/execution.js +3 -3
  344. package/dist/codemode/fetch.js +145 -145
  345. package/dist/codemode/instructions.js +7 -7
  346. package/dist/codemode/tool.js +151 -151
  347. package/dist/command.js +96 -96
  348. package/dist/config/discovery.js +97 -97
  349. package/dist/config/integration.js +3 -3
  350. package/dist/config/managed.js +1 -1
  351. package/dist/config/markdown.js +1 -1
  352. package/dist/config/normalize.js +112 -112
  353. package/dist/config/plugin/agent.js +132 -132
  354. package/dist/config/plugin/command.js +231 -231
  355. package/dist/config/plugin/compaction.js +171 -171
  356. package/dist/config/plugin/compatibility.js +150 -150
  357. package/dist/config/plugin/entry-observer.js +1 -1
  358. package/dist/config/plugin/formatter.js +131 -131
  359. package/dist/config/plugin/image.js +130 -130
  360. package/dist/config/plugin/instruction.js +130 -130
  361. package/dist/config/plugin/location-watcher.js +130 -130
  362. package/dist/config/plugin/mcp.js +141 -141
  363. package/dist/config/plugin/policy.js +130 -130
  364. package/dist/config/plugin/provider.js +130 -130
  365. package/dist/config/plugin/reference.js +132 -132
  366. package/dist/config/plugin/shell.js +132 -132
  367. package/dist/config/plugin/skill-file.js +146 -146
  368. package/dist/config/plugin/skill-scan.js +1 -1
  369. package/dist/config/plugin/skill.js +153 -153
  370. package/dist/config/plugin/snapshot.js +130 -130
  371. package/dist/config/plugin/source.js +133 -133
  372. package/dist/config/plugin/tool-output.js +131 -131
  373. package/dist/config/plugin/websearch.js +131 -131
  374. package/dist/config/plugin/worktree.js +132 -132
  375. package/dist/config/variable.js +1 -1
  376. package/dist/config/watch.js +1 -1
  377. package/dist/config.js +135 -135
  378. package/dist/console-access.js +1 -1
  379. package/dist/credential/sql.js +2 -2
  380. package/dist/credential.js +94 -94
  381. package/dist/database/database.js +77 -77
  382. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  383. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  384. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  385. package/dist/database/drizzle/index.js +15 -15
  386. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  387. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  388. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  389. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  390. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  391. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  392. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  394. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  396. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  397. package/dist/database/drizzle.js +16 -16
  398. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  399. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  400. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  401. package/dist/database/migration/20260225215848_workspace.js +1 -1
  402. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  403. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  404. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  405. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  406. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  407. package/dist/database/migration/20260323234822_events.js +1 -1
  408. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  409. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  410. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  411. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  412. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  413. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  414. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  415. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  416. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  417. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  418. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  419. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  420. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  421. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  422. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  423. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  424. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  425. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  426. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  427. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  428. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  429. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  430. package/dist/database/migration/20260611035744_credential.js +1 -1
  431. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  432. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  433. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  434. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  435. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  436. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  437. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  438. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  439. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  440. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  441. package/dist/database/migration/20260812213948_worktree.js +1 -1
  442. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  443. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  444. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  445. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  446. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  447. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  448. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  449. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  450. package/dist/database/migration/20261025123711_blob.js +1 -1
  451. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  452. package/dist/database/migration/20261026223005_schedule.js +1 -1
  453. package/dist/database/migration/20261029002625_session_part.js +1 -1
  454. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  455. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  456. package/dist/database/migration/20261030054400_job.js +1 -1
  457. package/dist/database/migration.gen.js +60 -60
  458. package/dist/database/migration.js +62 -62
  459. package/dist/database/path.js +2 -2
  460. package/dist/database/schema.gen.js +1 -1
  461. package/dist/database/schema.sql.js +1 -1
  462. package/dist/database/sqlite.bun.js +1 -1
  463. package/dist/database/sqlite.js +1 -1
  464. package/dist/database/sqlite.node.js +1 -1
  465. package/dist/database/sqlite.workerd.js +1 -1
  466. package/dist/database/v1-migration.bun.js +105 -105
  467. package/dist/database/v1-migration.js +1 -1
  468. package/dist/effect/app-node-builder.js +430 -430
  469. package/dist/effect/app-node-platform.js +2 -2
  470. package/dist/effect/keyed-mutex.js +3 -3
  471. package/dist/effect/websocket-constructor.js +1 -1
  472. package/dist/environment/driver.js +1 -1
  473. package/dist/environment/environment.js +106 -106
  474. package/dist/environment/exec-defaults.js +2 -2
  475. package/dist/environment/files.js +1 -1
  476. package/dist/environment/index.js +106 -106
  477. package/dist/environment/local.js +2 -2
  478. package/dist/environment/memory.js +2 -2
  479. package/dist/environment/unavailable.js +1 -1
  480. package/dist/event/sql.js +1 -1
  481. package/dist/event-logger.js +85 -85
  482. package/dist/file-access.js +156 -156
  483. package/dist/file-mutation.js +107 -107
  484. package/dist/file-retention.js +1 -1
  485. package/dist/filesystem/fff.bun.js +2 -2
  486. package/dist/filesystem/fff.js +1 -1
  487. package/dist/filesystem/fff.node.js +2 -2
  488. package/dist/filesystem/fff.workerd.js +2 -2
  489. package/dist/filesystem/file-watch.js +91 -91
  490. package/dist/filesystem/location-watcher-policy.js +2 -2
  491. package/dist/filesystem/location-watcher.js +239 -239
  492. package/dist/filesystem/protected.js +3 -3
  493. package/dist/filesystem/search.js +112 -112
  494. package/dist/filesystem/watcher-binding.js +1 -1
  495. package/dist/filesystem/watcher.js +11 -11
  496. package/dist/filesystem.js +117 -117
  497. package/dist/form.js +89 -89
  498. package/dist/formatter/builtins.js +2 -2
  499. package/dist/formatter.js +100 -100
  500. package/dist/generate.js +122 -122
  501. package/dist/git.js +11 -11
  502. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  503. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  504. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  505. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  506. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  507. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  508. package/dist/github-copilot/copilot-provider.js +17 -17
  509. package/dist/github-copilot/models.js +106 -106
  510. package/dist/github-copilot/openai-compatible-error.js +1 -1
  511. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  512. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  513. package/dist/github-copilot/responses/openai-error.js +1 -1
  514. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  515. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  516. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  517. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  518. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  519. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  520. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  521. package/dist/image/notice.js +1 -1
  522. package/dist/image/photon-normalize.js +1 -1
  523. package/dist/image/photon-worker.js +1 -1
  524. package/dist/image/photon.js +4 -4
  525. package/dist/image.js +6 -6
  526. package/dist/instance/service.js +5 -5
  527. package/dist/instance.js +421 -421
  528. package/dist/instruction-discovery.js +95 -95
  529. package/dist/instructions/builtins.js +96 -96
  530. package/dist/instructions/index.js +3 -3
  531. package/dist/integration/connection.js +3 -3
  532. package/dist/integration.js +100 -100
  533. package/dist/job/sql.js +2 -2
  534. package/dist/job.js +88 -88
  535. package/dist/kv/sql.js +2 -2
  536. package/dist/kv.js +84 -84
  537. package/dist/location-activity.js +179 -179
  538. package/dist/location-lifecycle.js +150 -150
  539. package/dist/location-service-map.js +99 -99
  540. package/dist/location-services.js +418 -418
  541. package/dist/location.js +102 -102
  542. package/dist/managed-policy.js +3 -3
  543. package/dist/mcp/client.js +104 -104
  544. package/dist/mcp/index.js +122 -122
  545. package/dist/mcp/instructions.js +181 -181
  546. package/dist/mcp/oauth.js +89 -89
  547. package/dist/mcp/socket-client.js +1 -1
  548. package/dist/mcp/stdio.js +103 -103
  549. package/dist/mime.js +1 -1
  550. package/dist/modal/models.js +104 -104
  551. package/dist/model-resolver.js +112 -112
  552. package/dist/model-retry.js +1 -1
  553. package/dist/model.js +111 -111
  554. package/dist/models-dev/v1.js +1 -1
  555. package/dist/models-dev.js +121 -121
  556. package/dist/oauth/page.js +1 -1
  557. package/dist/permission/saved.js +93 -93
  558. package/dist/permission/sql.js +5 -5
  559. package/dist/permission.js +153 -153
  560. package/dist/persistent-pty/binary.bun.js +1 -1
  561. package/dist/persistent-pty/daemon.js +1 -1
  562. package/dist/persistent-pty/index.js +99 -99
  563. package/dist/persistent-pty/pty-binding.js +1 -1
  564. package/dist/persistent-pty.js +86 -86
  565. package/dist/plugin/agent.js +87 -87
  566. package/dist/plugin/command.js +115 -115
  567. package/dist/plugin/goal.js +3 -3
  568. package/dist/plugin/hooks.js +5 -5
  569. package/dist/plugin/host.js +236 -236
  570. package/dist/plugin/identity.js +5 -5
  571. package/dist/plugin/instance.js +5 -5
  572. package/dist/plugin/internal.js +397 -397
  573. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  574. package/dist/plugin/models-dev.js +110 -110
  575. package/dist/plugin/module.js +129 -129
  576. package/dist/plugin/optimize.js +4 -4
  577. package/dist/plugin/plan.js +146 -146
  578. package/dist/plugin/promise.js +1 -1
  579. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  580. package/dist/plugin/provider/azure.js +130 -130
  581. package/dist/plugin/provider/cerebras.js +1 -1
  582. package/dist/plugin/provider/chatgpt.js +130 -130
  583. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  584. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  587. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  589. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  590. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  591. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  592. package/dist/plugin/provider/claude-agent/index.js +143 -143
  593. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  594. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  595. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  597. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  598. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  602. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  603. package/dist/plugin/provider/claude-agent/session.js +112 -112
  604. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  605. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  606. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  608. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  610. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  611. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  614. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  615. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  616. package/dist/plugin/provider/configured.js +126 -126
  617. package/dist/plugin/provider/credential-settings.js +85 -85
  618. package/dist/plugin/provider/databricks.js +1 -1
  619. package/dist/plugin/provider/digitalocean.js +108 -108
  620. package/dist/plugin/provider/dynamic.js +2 -2
  621. package/dist/plugin/provider/github-copilot.js +110 -110
  622. package/dist/plugin/provider/gitlab.js +107 -107
  623. package/dist/plugin/provider/google-vertex.js +127 -127
  624. package/dist/plugin/provider/kilo.js +1 -1
  625. package/dist/plugin/provider/llmgateway.js +89 -89
  626. package/dist/plugin/provider/lmstudio.js +137 -137
  627. package/dist/plugin/provider/local.js +136 -136
  628. package/dist/plugin/provider/modal.js +107 -107
  629. package/dist/plugin/provider/neon.js +1 -1
  630. package/dist/plugin/provider/nvidia.js +1 -1
  631. package/dist/plugin/provider/ollama.js +137 -137
  632. package/dist/plugin/provider/openai-context-caps.js +103 -103
  633. package/dist/plugin/provider/openai.js +132 -132
  634. package/dist/plugin/provider/opencode.js +132 -132
  635. package/dist/plugin/provider/openrouter.js +104 -104
  636. package/dist/plugin/provider/poe.js +90 -90
  637. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  638. package/dist/plugin/provider/refresh.js +87 -87
  639. package/dist/plugin/provider/sap-ai-core.js +104 -104
  640. package/dist/plugin/provider/sdk-factory.js +1 -1
  641. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  642. package/dist/plugin/provider/vllm.js +137 -137
  643. package/dist/plugin/provider/xai.js +104 -104
  644. package/dist/plugin/provider/zenmux.js +1 -1
  645. package/dist/plugin/provider.js +212 -212
  646. package/dist/plugin/sdk.js +85 -85
  647. package/dist/plugin/service.js +3 -3
  648. package/dist/plugin/skill.js +149 -149
  649. package/dist/plugin/source-directory.js +1 -1
  650. package/dist/plugin/supervisor.js +409 -409
  651. package/dist/plugin/tool-input-repair.js +4 -4
  652. package/dist/plugin/update.js +6 -6
  653. package/dist/plugin/vcs/git.js +99 -99
  654. package/dist/plugin/vcs/hg.js +99 -99
  655. package/dist/plugin/verbosity.js +106 -106
  656. package/dist/plugin/warming.js +128 -128
  657. package/dist/plugin/websearch/exa.js +7 -7
  658. package/dist/plugin/websearch/firecrawl.js +8 -8
  659. package/dist/plugin/websearch/index.js +9 -9
  660. package/dist/plugin/websearch/mcp.js +4 -4
  661. package/dist/plugin/websearch/parallel.js +8 -8
  662. package/dist/plugin/websearch/tavily.js +6 -6
  663. package/dist/plugin/websearch/tinyfish.js +8 -8
  664. package/dist/plugin.js +247 -247
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +8 -8
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +103 -103
  669. package/dist/provider.js +110 -110
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +113 -113
  673. package/dist/reference/instructions.js +99 -99
  674. package/dist/reference.js +101 -101
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +1 -1
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +110 -110
  679. package/dist/rpc.js +99 -99
  680. package/dist/schedule/check.js +241 -241
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +255 -255
  683. package/dist/schema.js +1 -1
  684. package/dist/session/affinity.js +1 -1
  685. package/dist/session/background.js +1 -1
  686. package/dist/session/blob.js +129 -129
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +173 -173
  689. package/dist/session/context.js +198 -198
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +5 -5
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +241 -241
  695. package/dist/session/execution.js +163 -163
  696. package/dist/session/generate.js +200 -200
  697. package/dist/session/history.js +136 -136
  698. package/dist/session/inbox.js +149 -149
  699. package/dist/session/info.js +3 -3
  700. package/dist/session/instruction-entry.js +90 -90
  701. package/dist/session/instruction-state.js +8 -8
  702. package/dist/session/instructions.js +143 -143
  703. package/dist/session/message-updater.js +4 -4
  704. package/dist/session/message.js +1 -1
  705. package/dist/session/model-request.js +168 -168
  706. package/dist/session/model-transport.js +9 -9
  707. package/dist/session/move.js +165 -165
  708. package/dist/session/projector.js +143 -143
  709. package/dist/session/prompt.js +148 -148
  710. package/dist/session/recent-text.js +1 -1
  711. package/dist/session/revert.js +139 -139
  712. package/dist/session/run-coordinator.js +1 -1
  713. package/dist/session/runner/index.js +3 -3
  714. package/dist/session/runner/llm.js +250 -250
  715. package/dist/session/runner/max-steps.js +1 -1
  716. package/dist/session/runner/model.js +113 -113
  717. package/dist/session/runner/publish-llm-event.js +149 -149
  718. package/dist/session/runner/retry.js +3 -3
  719. package/dist/session/runner/step.js +163 -163
  720. package/dist/session/runner/to-llm-message.js +137 -137
  721. package/dist/session/schema.js +5 -5
  722. package/dist/session/session.js +179 -179
  723. package/dist/session/shell.js +144 -144
  724. package/dist/session/skill.js +147 -147
  725. package/dist/session/sql.js +5 -5
  726. package/dist/session/stats.js +84 -84
  727. package/dist/session/store.js +142 -142
  728. package/dist/session/stored.js +2 -2
  729. package/dist/session/subagent-completion.js +1 -1
  730. package/dist/session/subagent-job.js +229 -229
  731. package/dist/session/system-prompt.js +1 -1
  732. package/dist/session/title.js +202 -202
  733. package/dist/session/to-session-error.js +148 -148
  734. package/dist/session/transfer.js +240 -240
  735. package/dist/session/usage.js +1 -1
  736. package/dist/session.js +235 -235
  737. package/dist/shared-cache.js +5 -5
  738. package/dist/shell/parse.js +6 -6
  739. package/dist/shell/result.js +1 -1
  740. package/dist/shell/scan.js +1 -1
  741. package/dist/shell/select.js +13 -13
  742. package/dist/shell.js +146 -146
  743. package/dist/skill/discovery.js +2 -2
  744. package/dist/skill/instructions.js +149 -149
  745. package/dist/skill.js +154 -154
  746. package/dist/snapshot.js +104 -104
  747. package/dist/state.js +1 -1
  748. package/dist/tool/html-markdown.js +1 -1
  749. package/dist/tool/http-body.js +1 -1
  750. package/dist/tool/mcp.js +178 -178
  751. package/dist/tool/plugin/artifact.js +228 -228
  752. package/dist/tool/plugin/edit.js +164 -164
  753. package/dist/tool/plugin/file-diff.js +1 -1
  754. package/dist/tool/plugin/glob.js +168 -168
  755. package/dist/tool/plugin/grep.js +168 -168
  756. package/dist/tool/plugin/image-generate.js +231 -231
  757. package/dist/tool/plugin/mcp-resource.js +162 -162
  758. package/dist/tool/plugin/opencode.js +161 -161
  759. package/dist/tool/plugin/patch.js +162 -162
  760. package/dist/tool/plugin/question.js +144 -144
  761. package/dist/tool/plugin/read.js +163 -163
  762. package/dist/tool/plugin/schedule.js +247 -247
  763. package/dist/tool/plugin/shell.js +235 -235
  764. package/dist/tool/plugin/skill.js +153 -153
  765. package/dist/tool/plugin/subagent.js +236 -236
  766. package/dist/tool/plugin/todo.js +153 -153
  767. package/dist/tool/plugin/webfetch.js +155 -155
  768. package/dist/tool/plugin/websearch.js +153 -153
  769. package/dist/tool/plugin/write.js +162 -162
  770. package/dist/tool/read-filesystem.js +113 -113
  771. package/dist/tool/runtime.js +1 -1
  772. package/dist/tool-output.js +7 -7
  773. package/dist/tool.js +161 -161
  774. package/dist/types/instructions/index.d.ts +1 -1
  775. package/dist/usage-limits.js +100 -100
  776. package/dist/util/error-summary.js +1 -1
  777. package/dist/util/git-executable.js +3 -3
  778. package/dist/util/lazy.js +1 -1
  779. package/dist/util/slug.js +1 -1
  780. package/dist/util/token.js +1 -1
  781. package/dist/util/which.js +1 -1
  782. package/dist/util/wildcard.js +1 -1
  783. package/dist/v1/config/agent.js +5 -5
  784. package/dist/v1/config/command.js +5 -5
  785. package/dist/v1/config/mcp.js +4 -4
  786. package/dist/v1/config/migrate.js +105 -105
  787. package/dist/v1/config/permission.js +3 -3
  788. package/dist/v1/config/plugin.js +3 -3
  789. package/dist/v1/config/provider-options.js +1 -1
  790. package/dist/v1/config/provider.js +4 -4
  791. package/dist/variant.js +106 -106
  792. package/dist/vcs/patch.js +1 -1
  793. package/dist/vcs.js +102 -102
  794. package/dist/voice.js +101 -101
  795. package/dist/websearch.js +93 -93
  796. package/dist/wellknown/plugin.js +87 -87
  797. package/dist/wellknown.js +92 -92
  798. package/dist/workspace/driver.js +5 -5
  799. package/dist/workspace/sql.js +1 -1
  800. package/dist/workspace.js +91 -91
  801. package/dist/worktree/directory.js +2 -2
  802. package/dist/worktree/git.js +9 -9
  803. package/dist/worktree/sql.js +5 -5
  804. package/dist/worktree/strategies.js +102 -102
  805. package/dist/worktree.js +111 -111
  806. package/package.json +8 -8
  807. package/dist/chunks/repository-cache-awcrk201.js +0 -261
  808. package/dist/chunks/repository-cache-f8ma18fn.js +0 -18
  809. package/dist/chunks/repository-cache-h2qmm28k.js +0 -555
  810. package/dist/chunks/repository-cache-yk088mje.js +0 -26
  811. /package/dist/chunks/{repository-cache-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  812. /package/dist/chunks/{repository-cache-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  813. /package/dist/chunks/{repository-cache-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  814. /package/dist/chunks/{repository-cache-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  815. /package/dist/chunks/{repository-cache-1kah00gy.js → tool-1kah00gy.js} +0 -0
  816. /package/dist/chunks/{repository-cache-1pevy3nx.js → tool-1pevy3nx.js} +0 -0
  817. /package/dist/chunks/{repository-cache-24dcb14g.js → tool-24dcb14g.js} +0 -0
  818. /package/dist/chunks/{repository-cache-2710q6r3.js → tool-2710q6r3.js} +0 -0
  819. /package/dist/chunks/{repository-cache-2bv980vf.js → tool-2bv980vf.js} +0 -0
  820. /package/dist/chunks/{repository-cache-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  821. /package/dist/chunks/{repository-cache-359p4xyc.js → tool-359p4xyc.js} +0 -0
  822. /package/dist/chunks/{repository-cache-3asan66x.js → tool-3asan66x.js} +0 -0
  823. /package/dist/chunks/{repository-cache-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  824. /package/dist/chunks/{repository-cache-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  825. /package/dist/chunks/{repository-cache-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  826. /package/dist/chunks/{repository-cache-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  827. /package/dist/chunks/{repository-cache-4qk9sjk2.js → tool-4qk9sjk2.js} +0 -0
  828. /package/dist/chunks/{repository-cache-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  829. /package/dist/chunks/{repository-cache-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  830. /package/dist/chunks/{repository-cache-53557ph1.js → tool-53557ph1.js} +0 -0
  831. /package/dist/chunks/{repository-cache-550bvhaj.js → tool-550bvhaj.js} +0 -0
  832. /package/dist/chunks/{repository-cache-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
  833. /package/dist/chunks/{repository-cache-6agm2x70.js → tool-6agm2x70.js} +0 -0
  834. /package/dist/chunks/{repository-cache-6prwharc.js → tool-6prwharc.js} +0 -0
  835. /package/dist/chunks/{repository-cache-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  836. /package/dist/chunks/{repository-cache-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  837. /package/dist/chunks/{repository-cache-7m9af43g.js → tool-7m9af43g.js} +0 -0
  838. /package/dist/chunks/{repository-cache-822emrt2.js → tool-822emrt2.js} +0 -0
  839. /package/dist/chunks/{repository-cache-84wd9syh.js → tool-84wd9syh.js} +0 -0
  840. /package/dist/chunks/{repository-cache-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  841. /package/dist/chunks/{repository-cache-8n3pysct.js → tool-8n3pysct.js} +0 -0
  842. /package/dist/chunks/{repository-cache-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  843. /package/dist/chunks/{repository-cache-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  844. /package/dist/chunks/{repository-cache-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  845. /package/dist/chunks/{repository-cache-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  846. /package/dist/chunks/{repository-cache-af5trqkr.js → tool-af5trqkr.js} +0 -0
  847. /package/dist/chunks/{repository-cache-afrmfg78.js → tool-afrmfg78.js} +0 -0
  848. /package/dist/chunks/{repository-cache-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  849. /package/dist/chunks/{repository-cache-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  850. /package/dist/chunks/{repository-cache-beh6qq61.js → tool-beh6qq61.js} +0 -0
  851. /package/dist/chunks/{repository-cache-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  852. /package/dist/chunks/{repository-cache-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  853. /package/dist/chunks/{repository-cache-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  854. /package/dist/chunks/{repository-cache-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
  855. /package/dist/chunks/{repository-cache-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  856. /package/dist/chunks/{repository-cache-d9fn303g.js → tool-d9fn303g.js} +0 -0
  857. /package/dist/chunks/{repository-cache-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  858. /package/dist/chunks/{repository-cache-dap0rakb.js → tool-dap0rakb.js} +0 -0
  859. /package/dist/chunks/{repository-cache-df08tz66.js → tool-df08tz66.js} +0 -0
  860. /package/dist/chunks/{repository-cache-dy18nga0.js → tool-dy18nga0.js} +0 -0
  861. /package/dist/chunks/{repository-cache-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  862. /package/dist/chunks/{repository-cache-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  863. /package/dist/chunks/{repository-cache-ean2d8b5.js → tool-ean2d8b5.js} +0 -0
  864. /package/dist/chunks/{repository-cache-ec1grn59.js → tool-ec1grn59.js} +0 -0
  865. /package/dist/chunks/{repository-cache-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  866. /package/dist/chunks/{repository-cache-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  867. /package/dist/chunks/{repository-cache-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  868. /package/dist/chunks/{repository-cache-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  869. /package/dist/chunks/{repository-cache-faypxj3z.js → tool-faypxj3z.js} +0 -0
  870. /package/dist/chunks/{repository-cache-fd410y7t.js → tool-fd410y7t.js} +0 -0
  871. /package/dist/chunks/{repository-cache-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
  872. /package/dist/chunks/{repository-cache-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  873. /package/dist/chunks/{repository-cache-g86h250q.js → tool-g86h250q.js} +0 -0
  874. /package/dist/chunks/{repository-cache-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  875. /package/dist/chunks/{repository-cache-gftt206x.js → tool-gftt206x.js} +0 -0
  876. /package/dist/chunks/{repository-cache-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  877. /package/dist/chunks/{repository-cache-hk9envan.js → tool-hk9envan.js} +0 -0
  878. /package/dist/chunks/{repository-cache-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  879. /package/dist/chunks/{repository-cache-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  880. /package/dist/chunks/{repository-cache-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  881. /package/dist/chunks/{repository-cache-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  882. /package/dist/chunks/{repository-cache-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  883. /package/dist/chunks/{repository-cache-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
  884. /package/dist/chunks/{repository-cache-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  885. /package/dist/chunks/{repository-cache-m18g726c.js → tool-m18g726c.js} +0 -0
  886. /package/dist/chunks/{repository-cache-mp448xyj.js → tool-mp448xyj.js} +0 -0
  887. /package/dist/chunks/{repository-cache-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  888. /package/dist/chunks/{repository-cache-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  889. /package/dist/chunks/{repository-cache-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  890. /package/dist/chunks/{repository-cache-nh4v3znn.js → tool-nh4v3znn.js} +0 -0
  891. /package/dist/chunks/{repository-cache-njntx4h6.js → tool-njntx4h6.js} +0 -0
  892. /package/dist/chunks/{repository-cache-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
  893. /package/dist/chunks/{repository-cache-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  894. /package/dist/chunks/{repository-cache-q74kybfr.js → tool-q74kybfr.js} +0 -0
  895. /package/dist/chunks/{repository-cache-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  896. /package/dist/chunks/{repository-cache-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  897. /package/dist/chunks/{repository-cache-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  898. /package/dist/chunks/{repository-cache-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  899. /package/dist/chunks/{repository-cache-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  900. /package/dist/chunks/{repository-cache-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  901. /package/dist/chunks/{repository-cache-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  902. /package/dist/chunks/{repository-cache-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  903. /package/dist/chunks/{repository-cache-syrav9an.js → tool-syrav9an.js} +0 -0
  904. /package/dist/chunks/{repository-cache-t03h4f5z.js → tool-t03h4f5z.js} +0 -0
  905. /package/dist/chunks/{repository-cache-ty7weeps.js → tool-ty7weeps.js} +0 -0
  906. /package/dist/chunks/{repository-cache-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  907. /package/dist/chunks/{repository-cache-vtarvj67.js → tool-vtarvj67.js} +0 -0
  908. /package/dist/chunks/{repository-cache-w803qqfp.js → tool-w803qqfp.js} +0 -0
  909. /package/dist/chunks/{repository-cache-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  910. /package/dist/chunks/{repository-cache-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  911. /package/dist/chunks/{repository-cache-wtztk69x.js → tool-wtztk69x.js} +0 -0
  912. /package/dist/chunks/{repository-cache-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  913. /package/dist/chunks/{repository-cache-x61499pn.js → tool-x61499pn.js} +0 -0
  914. /package/dist/chunks/{repository-cache-y44na4kk.js → tool-y44na4kk.js} +0 -0
  915. /package/dist/chunks/{repository-cache-y8f7s663.js → tool-y8f7s663.js} +0 -0
  916. /package/dist/chunks/{repository-cache-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  917. /package/dist/chunks/{repository-cache-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  918. /package/dist/chunks/{repository-cache-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  resolveModel2
3
- } from "./repository-cache-7nqkf5r1.js";
3
+ } from "./tool-a5fx33f2.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/identity.ts
9
9
  var exports_identity = {};
10
10
  __export(exports_identity, {
11
11
  IdentityPlugin: () => exports_identity,
12
- Plugin: () => Plugin47,
12
+ Plugin: () => Plugin27,
13
13
  identity: () => identity2
14
14
  });
15
15
  import { SystemPart } from "@opencode/ai/effect";
@@ -24,7 +24,7 @@ function identity2(model) {
24
24
  ].join(`
25
25
  `);
26
26
  }
27
- var Plugin47 = define({
27
+ var Plugin27 = define({
28
28
  id: "opencode.prompt.identity",
29
29
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
30
30
  const hook = (event) => Effect.gen(function* () {
@@ -37,4 +37,4 @@ var Plugin47 = define({
37
37
  })
38
38
  });
39
39
 
40
- export { identity2, Plugin47, exports_identity };
40
+ export { identity2, Plugin27, exports_identity };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create4
3
- } from "./repository-cache-40y6dtc2.js";
3
+ } from "./tool-40y6dtc2.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service62,
14
+ Service: () => Service61,
15
15
  SizeError: () => SizeError2,
16
- node: () => node64
16
+ node: () => node62
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service62 extends Context.Service()("@opencode/Image") {
45
+ class Service61 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service62, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
48
48
  const state = create4({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service62.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service61.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node64 = makeLocationNode({ service: Service62, layer, deps: [] });
79
+ var node62 = makeLocationNode({ service: Service61, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service62, node64, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service61, node62, exports_image2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-cache-c32j6rj9.js";
3
+ } from "./tool-qj97zj8m.js";
4
4
  import {
5
- Service88
6
- } from "./repository-cache-n4de5rt9.js";
5
+ Service89
6
+ } from "./tool-ff0yba6y.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./repository-cache-rx1f5s7v.js";
9
+ Event19
10
+ } from "./tool-57fs3qve.js";
11
11
  import {
12
12
  key2
13
- } from "./repository-cache-xk2zn0cv.js";
13
+ } from "./tool-wws03c5r.js";
14
14
  import {
15
- ID19,
15
+ ID18,
16
16
  MethodID2
17
- } from "./repository-cache-zdnc43b0.js";
17
+ } from "./tool-s79dcpfj.js";
18
18
  import {
19
- ID16,
19
+ ID17,
20
20
  aisdk2,
21
- Service80
22
- } from "./repository-cache-49fetqk2.js";
21
+ Service82
22
+ } from "./tool-fb609nat.js";
23
23
  import {
24
- ID15,
25
- Info23
26
- } from "./repository-cache-p8x08v0y.js";
24
+ ID16,
25
+ Info24
26
+ } from "./tool-zcacabc5.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./repository-cache-yb20nhc3.js";
30
+ } from "./tool-yb20nhc3.js";
31
31
  import {
32
32
  credentialSettings2,
33
33
  metadataSettings2
34
- } from "./repository-cache-z75nd8wb.js";
34
+ } from "./tool-7gba69t1.js";
35
35
 
36
36
  // src/plugin/provider/gitlab.ts
37
37
  import os from "os";
@@ -39,8 +39,8 @@ import { Clock, Deferred, Effect, Equal, Exit, Option, Schema, Semaphore, Stream
39
39
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
40
40
  import { define } from "@opencode/plugin/effect/plugin";
41
41
  import { Form } from "@opencode/schema/form";
42
- var providerID = ID16.gitlab;
43
- var integrationID = ID19.make("gitlab");
42
+ var providerID = ID17.gitlab;
43
+ var integrationID = ID18.make("gitlab");
44
44
  var methodID = MethodID2.make("pkce");
45
45
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
46
46
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -61,8 +61,8 @@ var refreshRetention = 60000;
61
61
  var GitLabPlugin2 = define({
62
62
  id: "opencode.provider.gitlab",
63
63
  effect: Effect.fn(function* (ctx) {
64
- const providers = yield* Service80;
65
- const bus = yield* Service88;
64
+ const providers = yield* Service82;
65
+ const bus = yield* Service89;
66
66
  const http = yield* HttpClient.HttpClient;
67
67
  const loading = Semaphore.makeUnsafe(1);
68
68
  const loaded = {};
@@ -197,7 +197,7 @@ var GitLabPlugin2 = define({
197
197
  models: [
198
198
  ...item.models.values(),
199
199
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
200
- ...Info23.default(providerID, ID15.make(model.id)),
200
+ ...Info24.default(providerID, ID16.make(model.id)),
201
201
  name: `Agent Platform (${model.name})`,
202
202
  package: aisdk2("gitlab-ai-provider"),
203
203
  settings: { workflowRef: model.ref },
@@ -208,7 +208,7 @@ var GitLabPlugin2 = define({
208
208
  });
209
209
  });
210
210
  const refresh = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
211
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
211
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
212
212
  yield* refresh().pipe(Effect.forkScoped);
213
213
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
214
214
  if (evt.package !== "gitlab-ai-provider")
@@ -231,7 +231,7 @@ var GitLabPlugin2 = define({
231
231
  });
232
232
  }));
233
233
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
234
- if (evt.model.providerID !== ID16.gitlab)
234
+ if (evt.model.providerID !== ID17.gitlab)
235
235
  return;
236
236
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
237
237
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/shared-cache.ts
6
6
  var exports_shared_cache = {};
7
7
  __export(exports_shared_cache, {
8
- Service: () => Service41,
8
+ Service: () => Service14,
9
9
  SharedCache: () => exports_shared_cache,
10
10
  fingerprint: () => fingerprint2,
11
11
  interval: () => interval2,
12
- node: () => node44,
12
+ node: () => node16,
13
13
  transient: () => transient2
14
14
  });
15
15
  import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
18
18
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  var interval2 = Duration.minutes(10);
20
20
 
21
- class Service41 extends Context.Service()("@opencode/SharedCache") {
21
+ class Service14 extends Context.Service()("@opencode/SharedCache") {
22
22
  }
23
23
  var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
24
24
  var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
25
25
  var unread = Duration.toMillis(Duration.hours(24));
26
- var layer = Layer.effect(Service41, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
27
27
  const run = yield* FiberSet.makeRuntime();
28
28
  const entries = new Map;
29
29
  const start = Effect.fnUntraced(function* (key, entry, load) {
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
59
59
  }))));
60
60
  return yield* Fiber.join(entry.loading);
61
61
  });
62
- return Service41.of({ get });
62
+ return Service14.of({ get });
63
63
  }));
64
- var node44 = makeGlobalNode({ service: Service41, layer, deps: [] });
64
+ var node16 = makeGlobalNode({ service: Service14, layer, deps: [] });
65
65
 
66
- export { interval2, Service41, fingerprint2, transient2, node44, exports_shared_cache };
66
+ export { interval2, Service14, fingerprint2, transient2, node16, exports_shared_cache };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service90
3
- } from "./repository-cache-96137s5q.js";
3
+ } from "./tool-6ybchgnd.js";
4
4
  import {
5
- Service88
6
- } from "./repository-cache-n4de5rt9.js";
5
+ Service89
6
+ } from "./tool-ff0yba6y.js";
7
7
  import {
8
- Service56
9
- } from "./repository-cache-q85rya1m.js";
8
+ Service44
9
+ } from "./tool-a4ww6fpm.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./repository-cache-89287pr7.js";
12
+ } from "./tool-89287pr7.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./repository-cache-gftt206x.js";
15
+ } from "./tool-gftt206x.js";
16
16
  import {
17
- NotFoundError12,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./repository-cache-zqjd7nbm.js";
23
+ } from "./tool-psae579h.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./repository-cache-ec1grn59.js";
26
+ } from "./tool-ec1grn59.js";
27
27
  import {
28
- Service73
29
- } from "./repository-cache-7amawddc.js";
28
+ Service63
29
+ } from "./tool-7t3apcn0.js";
30
30
  import {
31
31
  SyntheticPayload2,
32
- Service55
33
- } from "./repository-cache-zzht5m2h.js";
32
+ Service43
33
+ } from "./tool-zp1akbf2.js";
34
34
  import {
35
- Service53
36
- } from "./repository-cache-p7xbj0p1.js";
35
+ Service41
36
+ } from "./tool-tbw8x9kh.js";
37
37
  import {
38
38
  prepare2
39
- } from "./repository-cache-mfp0246b.js";
39
+ } from "./tool-xhhsv7mw.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./repository-cache-eccy49gq.js";
44
+ } from "./tool-t5fyb1pe.js";
45
45
  import {
46
46
  start4
47
- } from "./repository-cache-4w17k448.js";
47
+ } from "./tool-a237czk6.js";
48
48
  import {
49
49
  get4
50
- } from "./repository-cache-cx61cqrc.js";
50
+ } from "./tool-tkq69f88.js";
51
51
  import {
52
52
  __export
53
- } from "./repository-cache-9rqn6x4v.js";
53
+ } from "./tool-9rqn6x4v.js";
54
54
 
55
55
  // src/session/session.ts
56
56
  var exports_session4 = {};
@@ -62,18 +62,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
62
62
  import { Event } from "@opencode/schema/event";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  var make23 = Effect.fn("Session.make")(function* () {
65
- const bus = yield* Service88;
65
+ const bus = yield* Service89;
66
66
  const database = yield* Service90;
67
- const store = yield* Service73;
68
- const instances = yield* Service56;
69
- const execution = yield* Service53;
70
- const admission = yield* Service55;
67
+ const store = yield* Service63;
68
+ const instances = yield* Service44;
69
+ const execution = yield* Service41;
70
+ const admission = yield* Service43;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
74
74
  const session = yield* store.get(sessionID);
75
75
  if (!session)
76
- return yield* new NotFoundError12({ sessionID });
76
+ return yield* new NotFoundError9({ sessionID });
77
77
  return session;
78
78
  });
79
79
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -164,7 +164,7 @@ var make23 = Effect.fn("Session.make")(function* () {
164
164
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
165
165
  const session = yield* get(sessionID);
166
166
  const running = yield* Effect.gen(function* () {
167
- const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service56, instances), Effect.tapError((error) => synthetic(sessionID, {
167
+ const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service44, instances), Effect.tapError((error) => synthetic(sessionID, {
168
168
  text: `User shell command failed to start:
169
169
  ${input.command}
170
170
 
@@ -193,7 +193,7 @@ ${error.message}`,
193
193
  });
194
194
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
195
195
  const session = yield* get(sessionID);
196
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service56, instances));
196
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service44, instances));
197
197
  yield* bus.publish(SessionEvent2.Skill.Activated, {
198
198
  sessionID,
199
199
  id: skill.id,
@@ -250,13 +250,13 @@ ${error.message}`,
250
250
  const session = yield* get(sessionID);
251
251
  if (yield* execution.isActive(sessionID))
252
252
  return yield* new BusyError2({ sessionID });
253
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service90, database), Effect.provideService(Service88, bus));
253
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service90, database), Effect.provideService(Service89, bus));
254
254
  });
255
255
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- yield* clear2(session).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service88, bus));
259
+ yield* clear2(session).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service89, bus));
260
260
  return yield* execution.wake(sessionID);
261
261
  });
262
262
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,71 +1,71 @@
1
1
  import {
2
- Service88,
3
- node91
4
- } from "./repository-cache-n4de5rt9.js";
2
+ Service89,
3
+ node92
4
+ } from "./tool-ff0yba6y.js";
5
5
  import {
6
- ID21,
7
- Event21,
8
- Service87,
9
- node90
10
- } from "./repository-cache-rx1f5s7v.js";
6
+ ID19,
7
+ Event19,
8
+ Service84,
9
+ node87
10
+ } from "./tool-57fs3qve.js";
11
11
  import {
12
- Service77,
13
- node80
14
- } from "./repository-cache-jkjd442p.js";
12
+ Service68,
13
+ node69
14
+ } from "./tool-65531gnt.js";
15
15
  import {
16
16
  AbsolutePath2
17
- } from "./repository-cache-z5v4ffb3.js";
17
+ } from "./tool-z5v4ffb3.js";
18
18
  import {
19
- Service81,
20
- node84
21
- } from "./repository-cache-h4681ke1.js";
19
+ Service86,
20
+ node89
21
+ } from "./tool-tp9ny8ts.js";
22
22
  import {
23
23
  substitute2
24
- } from "./repository-cache-7w2ypzdf.js";
24
+ } from "./tool-7w2ypzdf.js";
25
25
  import {
26
26
  normalize3
27
- } from "./repository-cache-0x0dw6ca.js";
27
+ } from "./tool-3etgmwdh.js";
28
28
  import {
29
- names4,
29
+ names3,
30
30
  stripPreferenceMetadata2,
31
31
  discover3
32
- } from "./repository-cache-cxz2fhw5.js";
32
+ } from "./tool-1vcr586d.js";
33
33
  import {
34
34
  plan2
35
- } from "./repository-cache-1x2knyw4.js";
35
+ } from "./tool-1x2knyw4.js";
36
36
  import {
37
37
  Document3,
38
38
  WellKnownDocument2
39
- } from "./repository-cache-8t99kr38.js";
39
+ } from "./tool-wfs84ra6.js";
40
40
  import {
41
41
  Document2
42
- } from "./repository-cache-4dx1dgte.js";
42
+ } from "./tool-4dx1dgte.js";
43
43
  import {
44
44
  statements2,
45
45
  decision2,
46
46
  integrationResource2,
47
47
  account2
48
- } from "./repository-cache-nt907s04.js";
48
+ } from "./tool-sv909n4y.js";
49
49
  import {
50
- Service78,
51
- Event15,
52
- node81
53
- } from "./repository-cache-pwpvfwx2.js";
50
+ Service69,
51
+ Event12,
52
+ node70
53
+ } from "./tool-8etydfns.js";
54
54
  import {
55
55
  __export
56
- } from "./repository-cache-9rqn6x4v.js";
56
+ } from "./tool-9rqn6x4v.js";
57
57
 
58
58
  // src/config.ts
59
59
  var exports_config = {};
60
60
  __export(exports_config, {
61
61
  Config: () => exports_config,
62
- Options: () => Options7,
63
- Service: () => Service76,
62
+ Options: () => Options6,
63
+ Service: () => Service67,
64
64
  Test: () => Test2,
65
- configured: () => configured10,
65
+ configured: () => configured6,
66
66
  latest: () => latest2,
67
- layer: () => layer25,
68
- node: () => node79,
67
+ layer: () => layer20,
68
+ node: () => node68,
69
69
  testLayer: () => testLayer2
70
70
  });
71
71
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -81,7 +81,7 @@ import { ChildProcess } from "effect/process";
81
81
  function latest2(entries, key) {
82
82
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
83
83
  }
84
- var Options7 = Schema.Struct({
84
+ var Options6 = Schema.Struct({
85
85
  project: Schema.optional(Schema.Boolean),
86
86
  global: Schema.optional(Schema.Boolean),
87
87
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -90,7 +90,7 @@ var Options7 = Schema.Struct({
90
90
  content: Schema.optional(Schema.String)
91
91
  });
92
92
 
93
- class Service76 extends Context.Service()("@opencode/Config") {
93
+ class Service67 extends Context.Service()("@opencode/Config") {
94
94
  }
95
95
 
96
96
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -114,16 +114,16 @@ var testLayer2 = (initial = [], compatibility = {
114
114
  return document ? next.set(integrationID, document) : next;
115
115
  })
116
116
  });
117
- return Context.empty().pipe(Context.add(Service76, service), Context.add(Test2, service));
117
+ return Context.empty().pipe(Context.add(Service67, service), Context.add(Test2, service));
118
118
  }));
119
- var layer25 = (options) => Layer.effect(Service76, Effect.gen(function* () {
119
+ var layer20 = (options) => Layer.effect(Service67, Effect.gen(function* () {
120
120
  const fs = yield* FSUtil.Service;
121
- const location = yield* Service81;
122
- const watcher = yield* Service77;
123
- const bus = yield* Service88;
124
- const credentials = yield* Service87;
121
+ const location = yield* Service86;
122
+ const watcher = yield* Service68;
123
+ const bus = yield* Service89;
124
+ const credentials = yield* Service84;
125
125
  const globalService = yield* Global.Service;
126
- const wellknown = yield* Service78;
126
+ const wellknown = yield* Service69;
127
127
  const processes = yield* AppProcess.Service;
128
128
  const integrations = new Map;
129
129
  const context = yield* Effect.context();
@@ -194,7 +194,7 @@ var layer25 = (options) => Layer.effect(Service76, Effect.gen(function* () {
194
194
  return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
195
195
  });
196
196
  const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
197
- const stored = connection?.type === "credential" ? yield* credentials.get(ID21.make(connection.id)) : undefined;
197
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
198
198
  const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
199
199
  return decision2(lockdown, "integration.use", resource) !== "deny";
200
200
  });
@@ -217,7 +217,7 @@ var layer25 = (options) => Layer.effect(Service76, Effect.gen(function* () {
217
217
  });
218
218
  const loadDirectory = Effect.fnUntraced(function* (directory) {
219
219
  return [
220
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
220
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
221
221
  new Directory({ type: "directory", path: directory })
222
222
  ];
223
223
  });
@@ -292,8 +292,8 @@ var layer25 = (options) => Layer.effect(Service76, Effect.gen(function* () {
292
292
  }, (effect) => reloadLock.withPermit(effect));
293
293
  const pendingReloads = yield* PubSub.subscribe(reloads);
294
294
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
295
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
296
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
295
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
296
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
297
297
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
298
298
  if (!wellknown.snapshot().length)
299
299
  return Effect.void;
@@ -306,7 +306,7 @@ var layer25 = (options) => Layer.effect(Service76, Effect.gen(function* () {
306
306
  yield* reloadLock.withPermit(reconcile(initial));
307
307
  const update = Effect.fn("Config.update")(function* (patch) {
308
308
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
309
- const candidates = names4.map((name) => path.join(directory, name));
309
+ const candidates = names3.map((name) => path.join(directory, name));
310
310
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
311
311
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
312
312
  `;
@@ -321,7 +321,7 @@ var layer25 = (options) => Layer.effect(Service76, Effect.gen(function* () {
321
321
  `);
322
322
  yield* requestReload;
323
323
  }, (effect) => updateLock.withPermit(effect));
324
- return Service76.of({
324
+ return Service67.of({
325
325
  entries: Effect.fnUntraced(function* () {
326
326
  return configs;
327
327
  }),
@@ -341,22 +341,22 @@ var layer25 = (options) => Layer.effect(Service76, Effect.gen(function* () {
341
341
  })
342
342
  });
343
343
  }));
344
- function configured10(options) {
344
+ function configured6(options) {
345
345
  return makeLocationNode({
346
- service: Service76,
347
- layer: layer25(options),
346
+ service: Service67,
347
+ layer: layer20(options),
348
348
  deps: [
349
- node80,
350
- node91,
349
+ node69,
350
+ node92,
351
351
  FSUtil.node,
352
352
  Global.node,
353
- node84,
354
- node90,
355
- node81,
353
+ node89,
354
+ node87,
355
+ node70,
356
356
  AppProcess.node
357
357
  ]
358
358
  });
359
359
  }
360
- var node79 = configured10();
360
+ var node68 = configured6();
361
361
 
362
- export { latest2, Options7, Service76, Test2, testLayer2, layer25, configured10, node79, exports_config };
362
+ export { latest2, Options6, Service67, Test2, testLayer2, layer20, configured6, node68, exports_config };