@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,66 +1,66 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./repository-cache-96137s5q.js";
4
+ } from "./tool-6ybchgnd.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./repository-cache-3hepkmqq.js";
7
+ } from "./tool-3hepkmqq.js";
8
8
  import {
9
9
  latest2,
10
- Service76
11
- } from "./repository-cache-0mfja933.js";
10
+ Service67
11
+ } from "./tool-ckykdpc8.js";
12
12
  import {
13
13
  DirectoryNotFoundError2
14
- } from "./repository-cache-a5e3yv5v.js";
14
+ } from "./tool-nn1wv3tr.js";
15
15
  import {
16
- Service56,
17
- node59
18
- } from "./repository-cache-q85rya1m.js";
16
+ Service44,
17
+ node46
18
+ } from "./tool-a4ww6fpm.js";
19
19
  import {
20
20
  SessionMessage2
21
- } from "./repository-cache-gftt206x.js";
21
+ } from "./tool-gftt206x.js";
22
22
  import {
23
23
  SessionInboxTable2
24
- } from "./repository-cache-mb7mbhnz.js";
24
+ } from "./tool-mb7mbhnz.js";
25
25
  import {
26
- Service53,
27
- node57
28
- } from "./repository-cache-p7xbj0p1.js";
26
+ Service41,
27
+ node44
28
+ } from "./tool-tbw8x9kh.js";
29
29
  import {
30
- Service22,
31
- node25
32
- } from "./repository-cache-sr4yt9k3.js";
30
+ Service26,
31
+ node29
32
+ } from "./tool-7bfv676c.js";
33
33
  import {
34
34
  validate2,
35
35
  describe2,
36
36
  authorize2,
37
37
  evaluate2
38
- } from "./repository-cache-4fhmhmr6.js";
38
+ } from "./tool-y5dj6wdq.js";
39
39
  import {
40
40
  ScheduleTable2
41
- } from "./repository-cache-wegkxhrn.js";
41
+ } from "./tool-wegkxhrn.js";
42
42
  import {
43
43
  __export
44
- } from "./repository-cache-9rqn6x4v.js";
44
+ } from "./tool-9rqn6x4v.js";
45
45
 
46
46
  // src/schedule.ts
47
47
  var exports_schedule2 = {};
48
48
  __export(exports_schedule2, {
49
49
  Condition: () => Condition2,
50
50
  ConditionInput: () => ConditionInput2,
51
- CreateInput: () => CreateInput2,
51
+ CreateInput: () => CreateInput3,
52
52
  DisabledError: () => DisabledError2,
53
- ID: () => ID4,
54
- Info: () => Info3,
53
+ ID: () => ID5,
54
+ Info: () => Info5,
55
55
  InvalidError: () => InvalidError2,
56
- NotFoundError: () => NotFoundError2,
56
+ NotFoundError: () => NotFoundError3,
57
57
  Outcome: () => Outcome3,
58
58
  Request: () => Request2,
59
59
  Schedule: () => exports_schedule2,
60
- Service: () => Service15,
60
+ Service: () => Service20,
61
61
  Status: () => Status2,
62
62
  When: () => When2,
63
- node: () => node17,
63
+ node: () => node22,
64
64
  toCreateInput: () => toCreateInput2
65
65
  });
66
66
  import { randomUUID } from "node:crypto";
@@ -70,18 +70,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
70
70
  import {
71
71
  Condition as Condition2,
72
72
  ConditionInput as ConditionInput2,
73
- CreateInput as CreateInput2,
73
+ CreateInput as CreateInput3,
74
74
  durationMillis,
75
- ID as ID4,
76
- Info as Info3,
75
+ ID as ID5,
76
+ Info as Info5,
77
77
  Outcome as Outcome3,
78
78
  Request as Request2,
79
79
  Status as Status2,
80
80
  toCreateInput as toCreateInput2,
81
81
  When as When2
82
82
  } from "@opencode/schema/schedule";
83
- class NotFoundError2 extends Schema.TaggedError()("Schedule.NotFoundError", {
84
- scheduleID: ID4
83
+ class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
84
+ scheduleID: ID5
85
85
  }) {
86
86
  get message() {
87
87
  return `Schedule not found: ${this.scheduleID}`;
@@ -102,7 +102,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
102
102
  }
103
103
  }
104
104
 
105
- class Service15 extends Context.Service()("@opencode/Schedule") {
105
+ class Service20 extends Context.Service()("@opencode/Schedule") {
106
106
  }
107
107
  var MINUTE = 60000;
108
108
  var HOUR = 60 * MINUTE;
@@ -187,15 +187,15 @@ var toInfo = (row, lastOutput) => ({
187
187
  ...lastOutput === undefined ? {} : { lastOutput },
188
188
  time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
189
189
  });
190
- var layer = Layer.effect(Service15, Effect.gen(function* () {
190
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
191
191
  const database = yield* Service90;
192
192
  const db = database.db;
193
- const sessions = yield* Service22;
194
- const instances = yield* Service56;
195
- const execution = yield* Service53;
193
+ const sessions = yield* Service26;
194
+ const instances = yield* Service44;
195
+ const execution = yield* Service41;
196
196
  const doorbell = yield* Latch.make();
197
197
  const settings = (session) => Effect.gen(function* () {
198
- const config = yield* Effect.serviceOption(Service76);
198
+ const config = yield* Effect.serviceOption(Service67);
199
199
  if (Option.isNone(config))
200
200
  return { enabled: false, timezone: undefined };
201
201
  const entries = yield* config.value.entries();
@@ -204,7 +204,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
204
204
  timezone: latest2(entries, "timezone")
205
205
  };
206
206
  }).pipe(instances.provide(session));
207
- const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError2({ scheduleID: id }))));
207
+ const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
208
208
  const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
209
209
  const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
210
210
  const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
@@ -499,7 +499,7 @@ ${note}`, { error: outcome.error, failures: strikes });
499
499
  return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
500
500
  return Math.min(at.value, after ?? at.value);
501
501
  });
502
- return Service15.of({
502
+ return Service20.of({
503
503
  create: Effect.fn("Schedule.create")(function* (input) {
504
504
  const session = yield* sessions.get(input.sessionID);
505
505
  const config = yield* settings(session).pipe(Effect.catchTag("FileSystem.DirectoryNotFoundError", () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }))));
@@ -517,7 +517,7 @@ ${note}`, { error: outcome.error, failures: strikes });
517
517
  const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
518
518
  if (ends !== null && due > ends)
519
519
  return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
520
- const scheduleID = ID4.create();
520
+ const scheduleID = ID5.create();
521
521
  const seeded = check === undefined ? { matched: false, state: null, checks: 0 } : yield* Effect.gen(function* () {
522
522
  yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }))));
523
523
  const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
@@ -624,10 +624,10 @@ ${note}`, { error: outcome.error, failures: strikes });
624
624
  run
625
625
  });
626
626
  }));
627
- var node17 = makeGlobalNode({
628
- service: Service15,
627
+ var node22 = makeGlobalNode({
628
+ service: Service20,
629
629
  layer,
630
- deps: [node93, node25, node57, node59]
630
+ deps: [node93, node29, node44, node46]
631
631
  });
632
632
 
633
- export { Condition2, ConditionInput2, CreateInput2, ID4, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service15, node17, exports_schedule2 };
633
+ export { Condition2, ConditionInput2, CreateInput3, ID5, Info5, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service20, node22, exports_schedule2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service76
4
- } from "./repository-cache-0mfja933.js";
3
+ Service67
4
+ } from "./tool-ckykdpc8.js";
5
5
  import {
6
- Service52
7
- } from "./repository-cache-nbc9912s.js";
6
+ Service54
7
+ } from "./tool-zc0xxg4w.js";
8
8
  import {
9
9
  observe2
10
- } from "./repository-cache-hpg1pkwy.js";
10
+ } from "./tool-hpg1pkwy.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-cache-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
- var exports_shell = {};
17
- __export(exports_shell, {
18
- ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin9
16
+ var exports_shell2 = {};
17
+ __export(exports_shell2, {
18
+ ConfigShellPlugin: () => exports_shell2,
19
+ Plugin: () => Plugin46
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin9 = define({
23
+ var Plugin46 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service76;
27
- const shell = yield* Service52;
26
+ const config = yield* Service67;
27
+ const shell = yield* Service54;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin9 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin9, exports_shell };
37
+ export { Plugin46, exports_shell2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service81
3
- } from "./repository-cache-h4681ke1.js";
2
+ Service86
3
+ } from "./tool-tp9ny8ts.js";
4
4
  import {
5
- Service76
6
- } from "./repository-cache-0mfja933.js";
5
+ Service67
6
+ } from "./tool-ckykdpc8.js";
7
7
  import {
8
- Service13
9
- } from "./repository-cache-68hqcxr6.js";
8
+ Service16
9
+ } from "./tool-2b08w8wg.js";
10
10
  import {
11
11
  make20
12
- } from "./repository-cache-sbz71ybr.js";
12
+ } from "./tool-sbz71ybr.js";
13
13
  import {
14
14
  observe2
15
- } from "./repository-cache-hpg1pkwy.js";
15
+ } from "./tool-hpg1pkwy.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-cache-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/formatter.ts
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin2
24
+ Plugin: () => Plugin49
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin2 = define({
32
+ var Plugin49 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service76;
36
- const formatter = yield* Service13;
35
+ const config = yield* Service67;
36
+ const formatter = yield* Service16;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
- const location = yield* Service81;
39
+ const location = yield* Service86;
40
40
  const npm = yield* Npm.Service;
41
41
  const processes = yield* AppProcess.Service;
42
42
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin2, exports_formatter };
88
+ export { Plugin49, exports_formatter };
@@ -1,34 +1,34 @@
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
- Service81,
7
- node84
8
- } from "./repository-cache-h4681ke1.js";
6
+ Service86,
7
+ node89
8
+ } from "./tool-tp9ny8ts.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./repository-cache-40y6dtc2.js";
12
+ } from "./tool-40y6dtc2.js";
13
13
  import {
14
- Service83,
15
- node86
16
- } from "./repository-cache-3e73c9p6.js";
14
+ Service80,
15
+ node83
16
+ } from "./tool-7wx6r3ca.js";
17
17
  import {
18
18
  latest2,
19
- Service76,
20
- node79
21
- } from "./repository-cache-0mfja933.js";
19
+ Service67,
20
+ node68
21
+ } from "./tool-ckykdpc8.js";
22
22
  import {
23
23
  detect2
24
- } from "./repository-cache-4pyp9zr9.js";
24
+ } from "./tool-4pyp9zr9.js";
25
25
  import {
26
- Service22,
27
- node25
28
- } from "./repository-cache-sr4yt9k3.js";
26
+ Service26,
27
+ node29
28
+ } from "./tool-7bfv676c.js";
29
29
  import {
30
30
  __export
31
- } from "./repository-cache-9rqn6x4v.js";
31
+ } from "./tool-9rqn6x4v.js";
32
32
 
33
33
  // src/artifact.ts
34
34
  var exports_artifact2 = {};
@@ -36,23 +36,23 @@ __export(exports_artifact2, {
36
36
  Artifact: () => exports_artifact2,
37
37
  Capability: () => Capability2,
38
38
  Content: () => Content2,
39
- CreateInput: () => CreateInput4,
39
+ CreateInput: () => CreateInput5,
40
40
  DisabledError: () => DisabledError4,
41
- Event: () => Event5,
41
+ Event: () => Event6,
42
42
  FileMissingError: () => FileMissingError2,
43
- ID: () => ID7,
44
- Info: () => Info6,
43
+ ID: () => ID8,
44
+ Info: () => Info8,
45
45
  InvalidError: () => InvalidError3,
46
46
  LocalProviderID: () => LocalProviderID2,
47
- NotFoundError: () => NotFoundError3,
47
+ NotFoundError: () => NotFoundError5,
48
48
  Provider: () => Provider3,
49
49
  ProviderError: () => ProviderError2,
50
50
  ProviderID: () => ProviderID2,
51
51
  ProviderNotFoundError: () => ProviderNotFoundError3,
52
- Service: () => Service19,
53
- UpdateInput: () => UpdateInput2,
52
+ Service: () => Service25,
53
+ UpdateInput: () => UpdateInput3,
54
54
  locate: () => locate2,
55
- node: () => node22
55
+ node: () => node28
56
56
  });
57
57
  import { randomUUID } from "node:crypto";
58
58
  import fs from "node:fs/promises";
@@ -61,13 +61,13 @@ import { lookup } from "mime-types";
61
61
  import {
62
62
  Capability as Capability2,
63
63
  Content as Content2,
64
- CreateInput as CreateInput4,
65
- Event as Event5,
66
- ID as ID7,
67
- Info as Info6,
64
+ CreateInput as CreateInput5,
65
+ Event as Event6,
66
+ ID as ID8,
67
+ Info as Info8,
68
68
  Provider as Provider3,
69
69
  ProviderID as ProviderID2,
70
- UpdateInput as UpdateInput2
70
+ UpdateInput as UpdateInput3
71
71
  } from "@opencode/schema/artifact";
72
72
  import { Global } from "@opencode/util/global";
73
73
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -81,8 +81,8 @@ class DisabledError4 extends Schema.TaggedError()("Artifact.DisabledError", {})
81
81
  }
82
82
  }
83
83
 
84
- class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
85
- artifactID: ID7
84
+ class NotFoundError5 extends Schema.TaggedError()("Artifact.NotFoundError", {
85
+ artifactID: ID8
86
86
  }) {
87
87
  get message() {
88
88
  return `Artifact not found: ${this.artifactID}`;
@@ -90,7 +90,7 @@ class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
90
90
  }
91
91
 
92
92
  class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
93
- artifactID: ID7,
93
+ artifactID: ID8,
94
94
  path: Schema.String
95
95
  }) {
96
96
  get message() {
@@ -124,10 +124,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
124
124
  }
125
125
  }
126
126
 
127
- class Service19 extends Context.Service()("@opencode/Artifact") {
127
+ class Service25 extends Context.Service()("@opencode/Artifact") {
128
128
  }
129
129
  var StoredRecord = Schema.Struct({
130
- info: Info6,
130
+ info: Info8,
131
131
  directory: Schema.String,
132
132
  projectID: Schema.String
133
133
  });
@@ -140,13 +140,13 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
140
140
  const decoded = decodeStoredRecord(stored);
141
141
  return Option.isSome(decoded) ? decoded.value.directory : undefined;
142
142
  }));
143
- var layer = Layer.effect(Service19, Effect.gen(function* () {
144
- const bus = yield* Service88;
145
- const config = yield* Service76;
143
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
144
+ const bus = yield* Service89;
145
+ const config = yield* Service67;
146
146
  const global = yield* Global.Service;
147
- const kv = yield* Service83;
148
- const location = yield* Service81;
149
- const sessions = yield* Service22;
147
+ const kv = yield* Service80;
148
+ const location = yield* Service86;
149
+ const sessions = yield* Service26;
150
150
  const rootDir = path.join(global.data, "artifacts");
151
151
  const itemDir = (id) => path.join(rootDir, id);
152
152
  const localProvider = {
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
187
187
  }
188
188
  }
189
189
  }),
190
- notify: changes2(snapshotProviders, () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid))
190
+ notify: changes2(snapshotProviders, () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid))
191
191
  });
192
192
  const isEnabled = Effect.fn("Artifact.enabled")(function* () {
193
193
  const entries = yield* config.entries();
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
205
205
  return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError3({ providerID: target }));
206
206
  };
207
207
  const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
208
- return Service19.of({
208
+ return Service25.of({
209
209
  transform: state.transform,
210
210
  reload: state.reload,
211
211
  enabled: isEnabled,
@@ -249,10 +249,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
249
249
  const files = yield* normalizeFiles(encodeStringFiles(input.files));
250
250
  const entry = yield* resolveEntry(files, input.entry);
251
251
  const provider = yield* resolveProvider(input.provider);
252
- const id = ID7.create();
252
+ const id = ID8.create();
253
253
  const now = yield* Clock.currentTimeMillis;
254
254
  const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
255
- const info = Info6.make({
255
+ const info = Info8.make({
256
256
  id,
257
257
  provider: provider.id,
258
258
  ...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
@@ -272,14 +272,14 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
272
272
  yield* requireEnabled();
273
273
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
274
274
  if (!existing)
275
- return yield* new NotFoundError3({ artifactID: id });
275
+ return yield* new NotFoundError5({ artifactID: id });
276
276
  return existing.info;
277
277
  }),
278
278
  get: Effect.fn("Artifact.get")(function* (id) {
279
279
  yield* requireEnabled();
280
280
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
281
281
  if (!existing)
282
- return yield* new NotFoundError3({ artifactID: id });
282
+ return yield* new NotFoundError5({ artifactID: id });
283
283
  const provider = yield* resolveProvider(existing.info.provider);
284
284
  const raw = yield* provider.read(id).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
285
285
  return Content2.make({
@@ -292,7 +292,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
292
292
  yield* checkSession(input.sessionID);
293
293
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
294
294
  if (!existing)
295
- return yield* new NotFoundError3({ artifactID: id });
295
+ return yield* new NotFoundError5({ artifactID: id });
296
296
  const title = input.title === undefined ? existing.info.title : input.title.trim();
297
297
  if (!title)
298
298
  return yield* new InvalidError3({ reason: "Artifact title must not be empty", field: "title" });
@@ -302,7 +302,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
302
302
  const now = yield* Clock.currentTimeMillis;
303
303
  const sessionID = input.sessionID ?? existing.info.sessionID;
304
304
  const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
305
- const info = Info6.make({
305
+ const info = Info8.make({
306
306
  id,
307
307
  provider: existing.info.provider,
308
308
  ...sessionID === undefined ? {} : { sessionID },
@@ -322,7 +322,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
322
322
  yield* requireEnabled();
323
323
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
324
324
  if (!existing)
325
- return yield* new NotFoundError3({ artifactID: id });
325
+ return yield* new NotFoundError5({ artifactID: id });
326
326
  const provider = state.get().providers.get(existing.info.provider);
327
327
  if (provider) {
328
328
  yield* provider.delete(id).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
@@ -333,7 +333,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
333
333
  yield* requireEnabled();
334
334
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
335
335
  if (!existing)
336
- return yield* new NotFoundError3({ artifactID: id });
336
+ return yield* new NotFoundError5({ artifactID: id });
337
337
  if (existing.info.provider !== LocalProviderID2) {
338
338
  return yield* new InvalidError3({
339
339
  reason: `Artifact ${id} is hosted by provider "${existing.info.provider}", not the local server`,
@@ -350,10 +350,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
350
350
  })
351
351
  });
352
352
  }));
353
- var node22 = makeLocationNode({
354
- service: Service19,
353
+ var node28 = makeLocationNode({
354
+ service: Service25,
355
355
  layer,
356
- deps: [node91, node79, Global.node, node86, node84, node25]
356
+ deps: [node92, node68, Global.node, node83, node89, node29]
357
357
  });
358
358
  function encodeStringFiles(files) {
359
359
  return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
491
491
  });
492
492
  }
493
493
 
494
- export { Capability2, Content2, CreateInput4, Event5, ID7, Info6, Provider3, ProviderID2, UpdateInput2, LocalProviderID2, DisabledError4, NotFoundError3, FileMissingError2, ProviderNotFoundError3, InvalidError3, ProviderError2, Service19, locate2, node22, exports_artifact2 };
494
+ export { Capability2, Content2, CreateInput5, Event6, ID8, Info8, Provider3, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError4, NotFoundError5, FileMissingError2, ProviderNotFoundError3, InvalidError3, ProviderError2, Service25, locate2, node28, exports_artifact2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  latest2,
3
- Service76
4
- } from "./repository-cache-0mfja933.js";
3
+ Service67
4
+ } from "./tool-ckykdpc8.js";
5
5
  import {
6
6
  Content2,
7
- Event5,
8
- ID7,
9
- Info6,
7
+ Event6,
8
+ ID8,
9
+ Info8,
10
10
  ProviderID2,
11
- Service19
12
- } from "./repository-cache-fn5v6rn7.js";
11
+ Service25
12
+ } from "./tool-9x0zyyhc.js";
13
13
  import {
14
14
  observe2
15
- } from "./repository-cache-hpg1pkwy.js";
15
+ } from "./tool-hpg1pkwy.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-cache-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/plugin/artifact.ts
21
21
  var exports_artifact = {};
@@ -23,7 +23,7 @@ __export(exports_artifact, {
23
23
  ArtifactTools: () => exports_artifact,
24
24
  CreateToolInput: () => CreateToolInput2,
25
25
  DeleteToolInput: () => DeleteToolInput2,
26
- Plugin: () => Plugin21,
26
+ Plugin: () => Plugin6,
27
27
  ReadToolInput: () => ReadToolInput2,
28
28
  UpdateToolInput: () => UpdateToolInput2
29
29
  });
@@ -43,10 +43,10 @@ var CreateToolInput2 = Schema.Struct({
43
43
  })
44
44
  });
45
45
  var ReadToolInput2 = Schema.Struct({
46
- id: ID7.annotate({ description: "Artifact ID (art_...) to read." })
46
+ id: ID8.annotate({ description: "Artifact ID (art_...) to read." })
47
47
  });
48
48
  var UpdateToolInput2 = Schema.Struct({
49
- id: ID7.annotate({ description: "Artifact ID (art_...) to update." }),
49
+ id: ID8.annotate({ description: "Artifact ID (art_...) to update." }),
50
50
  title: Schema.String.pipe(optional).annotate({ description: "Updated title, or omit to keep the current title." }),
51
51
  files: Schema.Record(Schema.String, Schema.String).annotate({
52
52
  description: "Replacement UTF-8 file map keyed by relative path."
@@ -54,24 +54,24 @@ var UpdateToolInput2 = Schema.Struct({
54
54
  entry: Schema.String.pipe(optional).annotate({ description: "Updated entry file path." })
55
55
  });
56
56
  var DeleteToolInput2 = Schema.Struct({
57
- id: ID7.annotate({ description: "Artifact ID (art_...) to delete." })
57
+ id: ID8.annotate({ description: "Artifact ID (art_...) to delete." })
58
58
  });
59
59
  var DeleteToolOutput = Schema.Struct({
60
- id: ID7,
60
+ id: ID8,
61
61
  deleted: Schema.Boolean
62
62
  });
63
- var Plugin21 = {
63
+ var Plugin6 = {
64
64
  id: "opencode.tool.artifact",
65
65
  effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
66
- const config = yield* Service76;
67
- const artifacts = yield* Service19;
66
+ const config = yield* Service67;
67
+ const artifacts = yield* Service25;
68
68
  const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
69
69
  const refreshTools = Effect.gen(function* () {
70
70
  promptSnapshot.text = yield* renderCreateDescription(artifacts);
71
71
  yield* ctx.tool.reload();
72
72
  });
73
73
  const loaded = yield* observe2(config, ctx.event, refreshTools);
74
- yield* ctx.event.subscribe({ types: [Event5.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
74
+ yield* ctx.event.subscribe({ types: [Event6.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
75
75
  const enabled = () => latest2(loaded.entries, "experimental")?.artifacts === true;
76
76
  const failure = (error) => new ToolFailure({ message: error.message, error });
77
77
  yield* ctx.tool.transform((editor) => {
@@ -81,7 +81,7 @@ var Plugin21 = {
81
81
  name: "artifact_create",
82
82
  description: promptSnapshot.text,
83
83
  input: CreateToolInput2,
84
- output: Info6,
84
+ output: Info8,
85
85
  options: { namespace: "opencode", codemode: true },
86
86
  execute: (input, context) => artifacts.create({
87
87
  title: input.title,
@@ -109,7 +109,7 @@ var Plugin21 = {
109
109
  name: "artifact_update",
110
110
  description: "Replace an existing artifact's files at the same ID and URL.",
111
111
  input: UpdateToolInput2,
112
- output: Info6,
112
+ output: Info8,
113
113
  options: { namespace: "opencode", codemode: true },
114
114
  execute: (input, context) => artifacts.update(input.id, {
115
115
  title: input.title,
@@ -149,4 +149,4 @@ function renderCreateDescription(artifacts) {
149
149
  }));
150
150
  }
151
151
 
152
- export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin21, exports_artifact };
152
+ export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin6, exports_artifact };