@opencode/core 0.0.0-dev-526 → 0.0.0-dev-527

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 (920) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -86
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +248 -248
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{repository-cache-jcb581g0.js → file-write-00av7mmf.js} +5 -5
  9. package/dist/chunks/{repository-cache-034tev2y.js → file-write-034tev2y.js} +2 -2
  10. package/dist/chunks/{repository-cache-45bqgdt1.js → file-write-04fnffnq.js} +40 -40
  11. package/dist/chunks/{repository-cache-5skedt4e.js → file-write-0dkf9s8e.js} +12 -12
  12. package/dist/chunks/{repository-cache-vsb7s5jc.js → file-write-0en22cva.js} +23 -23
  13. package/dist/chunks/{repository-cache-9b3d18bp.js → file-write-0gm6bx6q.js} +9 -9
  14. package/dist/chunks/{repository-cache-1v2g13eq.js → file-write-0h86f0az.js} +4 -4
  15. package/dist/chunks/{repository-cache-0j7gp832.js → file-write-0j7gp832.js} +1 -1
  16. package/dist/chunks/{repository-cache-0ma9gw4f.js → file-write-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{repository-cache-b8rw9snj.js → file-write-0p126jzy.js} +15 -15
  18. package/dist/chunks/{repository-cache-g9m7dw8y.js → file-write-0srsgr1c.js} +28 -28
  19. package/dist/chunks/{repository-cache-jqzkmxe2.js → file-write-10527dbc.js} +32 -32
  20. package/dist/chunks/{repository-cache-s1mx7mtb.js → file-write-11r0096d.js} +25 -25
  21. package/dist/chunks/{repository-cache-1aqsckx4.js → file-write-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{repository-cache-ewd1gnqy.js → file-write-1dw6bgsk.js} +20 -20
  23. package/dist/chunks/{repository-cache-1ep2p91f.js → file-write-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{repository-cache-7994hmqy.js → file-write-1vh67dn1.js} +8 -8
  25. package/dist/chunks/{repository-cache-1x2knyw4.js → file-write-1x2knyw4.js} +1 -1
  26. package/dist/chunks/{repository-cache-1yq9hg58.js → file-write-1yq9hg58.js} +1 -1
  27. package/dist/chunks/{repository-cache-kj9n5bvh.js → file-write-20pht57w.js} +4 -4
  28. package/dist/chunks/{repository-cache-a0vq4gya.js → file-write-21gbqc41.js} +17 -17
  29. package/dist/chunks/{repository-cache-tshvvb5t.js → file-write-21rebgfk.js} +11 -11
  30. package/dist/chunks/{repository-cache-nwnjpwmn.js → file-write-23g9x4bk.js} +29 -29
  31. package/dist/chunks/{repository-cache-dgn1jfts.js → file-write-2hvn09p9.js} +12 -12
  32. package/dist/chunks/{repository-cache-4cqdfm9b.js → file-write-337ct5gq.js} +21 -21
  33. package/dist/chunks/{repository-cache-xjbsd7zy.js → file-write-3adw4bt5.js} +9 -9
  34. package/dist/chunks/{repository-cache-z6z16erj.js → file-write-3ea478js.js} +30 -30
  35. package/dist/chunks/{repository-cache-3hepkmqq.js → file-write-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{repository-cache-fdk2wax1.js → file-write-3jakmj60.js} +11 -11
  37. package/dist/chunks/{repository-cache-czmr4k41.js → file-write-3jwy6mfv.js} +5 -5
  38. package/dist/chunks/{repository-cache-8h2qa1n6.js → file-write-3mvej2qk.js} +9 -9
  39. package/dist/chunks/{repository-cache-3nnrz6f6.js → file-write-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{repository-cache-8z0w46qk.js → file-write-3revcpb3.js} +31 -31
  41. package/dist/chunks/{repository-cache-40y6dtc2.js → file-write-40y6dtc2.js} +1 -1
  42. package/dist/chunks/{repository-cache-0jgpnbrv.js → file-write-4dtg1rfn.js} +30 -30
  43. package/dist/chunks/{repository-cache-4dx1dgte.js → file-write-4dx1dgte.js} +1 -1
  44. package/dist/chunks/{repository-cache-4f25tdd0.js → file-write-4f25tdd0.js} +1 -1
  45. package/dist/chunks/{repository-cache-mre5t62n.js → file-write-4gepvshj.js} +10 -10
  46. package/dist/chunks/{repository-cache-4pyp9zr9.js → file-write-4pyp9zr9.js} +1 -1
  47. package/dist/chunks/{repository-cache-1cr485gj.js → file-write-4tf256t5.js} +11 -11
  48. package/dist/chunks/{repository-cache-4v008n1t.js → file-write-4v008n1t.js} +1 -1
  49. package/dist/chunks/{repository-cache-jaq18jgp.js → file-write-4xz8p7j7.js} +4 -4
  50. package/dist/chunks/{repository-cache-grkapvb9.js → file-write-4yyv3090.js} +29 -29
  51. package/dist/chunks/{repository-cache-415p058j.js → file-write-52z8bjzd.js} +36 -36
  52. package/dist/chunks/{repository-cache-aptmk1eg.js → file-write-537wtyt8.js} +11 -11
  53. package/dist/chunks/{repository-cache-snws2sbm.js → file-write-55ysnm9y.js} +9 -9
  54. package/dist/chunks/{repository-cache-mg4rrfgc.js → file-write-5dqj7a7a.js} +8 -8
  55. package/dist/chunks/{repository-cache-jhwvvc0w.js → file-write-5dv1db4n.js} +6 -6
  56. package/dist/chunks/{repository-cache-yr0w2dxp.js → file-write-5e7xygwc.js} +22 -22
  57. package/dist/chunks/{repository-cache-72mm92v7.js → file-write-5e8hm3df.js} +4 -4
  58. package/dist/chunks/{repository-cache-08wcsawn.js → file-write-5jm7ma5d.js} +8 -8
  59. package/dist/chunks/{repository-cache-5m9w47nd.js → file-write-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{repository-cache-qg88eyhy.js → file-write-5r98j37y.js} +3 -3
  61. package/dist/chunks/{repository-cache-g5mabqyd.js → file-write-5xw4q3zb.js} +30 -30
  62. package/dist/chunks/{repository-cache-yn3x0myd.js → file-write-6669fyxm.js} +5 -5
  63. package/dist/chunks/{repository-cache-p32tcm88.js → file-write-66zyvbav.js} +26 -26
  64. package/dist/chunks/{repository-cache-tk4w63wn.js → file-write-6bz70wpr.js} +1 -1
  65. package/dist/chunks/{repository-cache-93xmyh8q.js → file-write-6edbc7zm.js} +7 -7
  66. package/dist/chunks/{repository-cache-npycpjef.js → file-write-6f4aafsd.js} +27 -27
  67. package/dist/chunks/{repository-cache-hqvawb3t.js → file-write-6fb0z2g9.js} +10 -10
  68. package/dist/chunks/{repository-cache-vt4r9rmy.js → file-write-6h8vcvjm.js} +9 -9
  69. package/dist/chunks/{repository-cache-46qwxyyd.js → file-write-6j0n9nza.js} +17 -17
  70. package/dist/chunks/{repository-cache-5v8na3sb.js → file-write-6k5t937m.js} +20 -20
  71. package/dist/chunks/{repository-cache-fjxa2fmg.js → file-write-6mdrzdb3.js} +25 -25
  72. package/dist/chunks/{repository-cache-n56q8w6a.js → file-write-6qm8pmbm.js} +5 -5
  73. package/dist/chunks/{repository-cache-chjd737s.js → file-write-722bxkcx.js} +16 -16
  74. package/dist/chunks/{repository-cache-4zed97g7.js → file-write-744cdn1c.js} +9 -9
  75. package/dist/chunks/{repository-cache-m8g39vpr.js → file-write-7awjemk3.js} +10 -10
  76. package/dist/chunks/{repository-cache-7bmhse3q.js → file-write-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{repository-cache-cxj8s5x6.js → file-write-7ccwrwdy.js} +52 -52
  78. package/dist/chunks/{repository-cache-hy1zxe59.js → file-write-7h02jzgc.js} +52 -52
  79. package/dist/chunks/{repository-cache-gp7aa7a5.js → file-write-7kr0cs87.js} +170 -170
  80. package/dist/chunks/{repository-cache-ee0tfk34.js → file-write-7mskhvh9.js} +26 -26
  81. package/dist/chunks/{repository-cache-efmq5t8s.js → file-write-7s9jqxsb.js} +6 -6
  82. package/dist/chunks/{repository-cache-4cgc2mha.js → file-write-7tr184c0.js} +36 -36
  83. package/dist/chunks/{repository-cache-7w2ypzdf.js → file-write-7w2ypzdf.js} +1 -1
  84. package/dist/chunks/{repository-cache-7weczvnd.js → file-write-7weczvnd.js} +1 -1
  85. package/dist/chunks/{repository-cache-ppwt3tm7.js → file-write-7y0fnbjb.js} +13 -13
  86. package/dist/chunks/{repository-cache-775hqbnd.js → file-write-80mg3ag8.js} +3 -3
  87. package/dist/chunks/{repository-cache-nc3gng7j.js → file-write-85fpre75.js} +16 -16
  88. package/dist/chunks/{repository-cache-89287pr7.js → file-write-89287pr7.js} +1 -1
  89. package/dist/chunks/{repository-cache-r9g39hxh.js → file-write-89gnwhgc.js} +48 -48
  90. package/dist/chunks/{repository-cache-8b3vzgkx.js → file-write-8b3vzgkx.js} +1 -1
  91. package/dist/chunks/{repository-cache-8cg7mtm3.js → file-write-8cg7mtm3.js} +1 -1
  92. package/dist/chunks/{repository-cache-p0rg1a2b.js → file-write-8d161zxt.js} +8 -8
  93. package/dist/chunks/{repository-cache-4r7b9kq0.js → file-write-8hs8rm5b.js} +73 -73
  94. package/dist/chunks/{repository-cache-paw95bap.js → file-write-8krgsa4b.js} +4 -4
  95. package/dist/chunks/{repository-cache-96y7z9qn.js → file-write-8rb5ms8k.js} +6 -6
  96. package/dist/chunks/{repository-cache-s8qtxmzm.js → file-write-8rt25ezk.js} +4 -4
  97. package/dist/chunks/{repository-cache-8sxe6kv8.js → file-write-8sxe6kv8.js} +2 -2
  98. package/dist/chunks/{repository-cache-8wtp7s3z.js → file-write-8wtp7s3z.js} +1 -1
  99. package/dist/chunks/{repository-cache-90ct6wq4.js → file-write-90ct6wq4.js} +1 -1
  100. package/dist/chunks/{repository-cache-90zstvax.js → file-write-90zstvax.js} +1 -1
  101. package/dist/chunks/{repository-cache-m9k28zk8.js → file-write-937jj0cs.js} +10 -10
  102. package/dist/chunks/{repository-cache-zyfhsknv.js → file-write-963hk181.js} +9 -9
  103. package/dist/chunks/{repository-cache-szwm4crx.js → file-write-96djdqw5.js} +4 -4
  104. package/dist/chunks/{repository-cache-q2582vz5.js → file-write-96kzdsj9.js} +12 -12
  105. package/dist/chunks/{repository-cache-cfydbn62.js → file-write-96r2dqew.js} +31 -31
  106. package/dist/chunks/{repository-cache-q1zvvpt4.js → file-write-98ws7eb4.js} +28 -28
  107. package/dist/chunks/{repository-cache-fp2na9w8.js → file-write-99a15nj6.js} +9 -9
  108. package/dist/chunks/{repository-cache-6avt71pb.js → file-write-9grh0yb5.js} +28 -28
  109. package/dist/chunks/{repository-cache-rrcz77ds.js → file-write-9hdgkd8c.js} +16 -16
  110. package/dist/chunks/{repository-cache-ag70g5yp.js → file-write-9hf24b53.js} +5 -5
  111. package/dist/chunks/{repository-cache-2cjdhjtw.js → file-write-9nm02m01.js} +7 -7
  112. package/dist/chunks/{repository-cache-2kg89srt.js → file-write-9q8g9sv8.js} +4 -4
  113. package/dist/chunks/{repository-cache-12x6ka2x.js → file-write-9qqdfjpd.js} +3 -3
  114. package/dist/chunks/{repository-cache-tpc6d58g.js → file-write-9r30xnr7.js} +22 -22
  115. package/dist/chunks/{repository-cache-akk783yh.js → file-write-9rthgkep.js} +4 -4
  116. package/dist/chunks/{repository-cache-bm75jts0.js → file-write-9s2pvrf4.js} +27 -27
  117. package/dist/chunks/{repository-cache-d77r7qc3.js → file-write-a60em3d8.js} +18 -18
  118. package/dist/chunks/{repository-cache-3t2h34xm.js → file-write-a9cfr4vy.js} +3 -3
  119. package/dist/chunks/{repository-cache-rxc71ntg.js → file-write-abtrrvdj.js} +4 -4
  120. package/dist/chunks/{repository-cache-aa1zzdyt.js → file-write-apxjpn25.js} +4 -4
  121. package/dist/chunks/{repository-cache-ayjs7tqn.js → file-write-ayjs7tqn.js} +2 -2
  122. package/dist/chunks/{repository-cache-b7ph2qht.js → file-write-azmebxfm.js} +11 -11
  123. package/dist/chunks/{repository-cache-mbdnt60s.js → file-write-b03pfvn0.js} +11 -11
  124. package/dist/chunks/{repository-cache-b6vsg801.js → file-write-b6vsg801.js} +2 -2
  125. package/dist/chunks/{repository-cache-2axc9xxh.js → file-write-bc9krb9j.js} +2 -2
  126. package/dist/chunks/{repository-cache-7e8fzpbf.js → file-write-bfq1rn8x.js} +19 -19
  127. package/dist/chunks/{repository-cache-782sfg4x.js → file-write-bpn0cp8t.js} +7 -7
  128. package/dist/chunks/{repository-cache-e0cv4dhg.js → file-write-bscq2kmj.js} +33 -33
  129. package/dist/chunks/{repository-cache-bstexjd6.js → file-write-bstexjd6.js} +1 -1
  130. package/dist/chunks/{repository-cache-btzjsk5g.js → file-write-bxhmwnpr.js} +21 -21
  131. package/dist/chunks/{repository-cache-v3abn69z.js → file-write-bzjfzcdg.js} +23 -23
  132. package/dist/chunks/{repository-cache-gv2m5n15.js → file-write-bzn3spcw.js} +11 -11
  133. package/dist/chunks/{repository-cache-h2wazp8s.js → file-write-c057bs6s.js} +18 -18
  134. package/dist/chunks/{repository-cache-9nkjg9qd.js → file-write-cg3fcpn4.js} +6 -6
  135. package/dist/chunks/{repository-cache-v15j3x2c.js → file-write-cjp6nrxk.js} +20 -20
  136. package/dist/chunks/{repository-cache-5y9anawa.js → file-write-cp4bmr82.js} +35 -35
  137. package/dist/chunks/{repository-cache-pyc3gczw.js → file-write-cr44ae3x.js} +5 -5
  138. package/dist/chunks/{repository-cache-t4vf48t8.js → file-write-crfddmzc.js} +8 -8
  139. package/dist/chunks/{repository-cache-cwrgdav8.js → file-write-cwrgdav8.js} +2 -2
  140. package/dist/chunks/{repository-cache-8x7spqqh.js → file-write-d0gm5tf4.js} +15 -15
  141. package/dist/chunks/{repository-cache-5gnsew3j.js → file-write-d1e9y59e.js} +21 -21
  142. package/dist/chunks/{repository-cache-tjbc8cst.js → file-write-d36j5jkk.js} +50 -50
  143. package/dist/chunks/{repository-cache-d4v9tmah.js → file-write-d4v9tmah.js} +2 -2
  144. package/dist/chunks/{repository-cache-m756dwb2.js → file-write-d6436svb.js} +3 -3
  145. package/dist/chunks/{repository-cache-bvatbj32.js → file-write-dax03rd9.js} +31 -31
  146. package/dist/chunks/{repository-cache-cg17g3bh.js → file-write-df7qtfqv.js} +13 -13
  147. package/dist/chunks/{repository-cache-749e7hnk.js → file-write-djct0mdn.js} +28 -28
  148. package/dist/chunks/{repository-cache-dt77769w.js → file-write-dt77769w.js} +1 -1
  149. package/dist/chunks/{repository-cache-848ppjek.js → file-write-e3vjhvgv.js} +3 -3
  150. package/dist/chunks/{repository-cache-36njk8b9.js → file-write-e42mrdrf.js} +12 -12
  151. package/dist/chunks/{repository-cache-srqj4rh5.js → file-write-e4y0ask3.js} +13 -13
  152. package/dist/chunks/{repository-cache-3h88s19f.js → file-write-e68r1p92.js} +18 -18
  153. package/dist/chunks/{repository-cache-v484v0gw.js → file-write-e78rwhwz.js} +13 -13
  154. package/dist/chunks/{repository-cache-e834z07m.js → file-write-e834z07m.js} +1 -1
  155. package/dist/chunks/{repository-cache-k0h67er9.js → file-write-ebxhk8xz.js} +19 -19
  156. package/dist/chunks/{repository-cache-6fbmsmtz.js → file-write-efk5s08f.js} +9 -9
  157. package/dist/chunks/{repository-cache-8m9wc8b7.js → file-write-eq9csjz2.js} +10 -10
  158. package/dist/chunks/{repository-cache-eqw4pqj1.js → file-write-eqw4pqj1.js} +2 -2
  159. package/dist/chunks/{repository-cache-t3qb3tsy.js → file-write-f0g646vn.js} +5 -5
  160. package/dist/chunks/{repository-cache-yy2fst48.js → file-write-f2j71z4x.js} +28 -28
  161. package/dist/chunks/{repository-cache-882qc2za.js → file-write-f43gk59f.js} +37 -37
  162. package/dist/chunks/{repository-cache-zr85smw1.js → file-write-f4wxb5n2.js} +9 -9
  163. package/dist/chunks/{repository-cache-pzth02e8.js → file-write-f89mfbf6.js} +36 -36
  164. package/dist/chunks/{repository-cache-dqxfp8w4.js → file-write-f95bce9s.js} +9 -9
  165. package/dist/chunks/{repository-cache-fffv3p7h.js → file-write-fffv3p7h.js} +1 -1
  166. package/dist/chunks/{repository-cache-fg9p65nk.js → file-write-fg9p65nk.js} +2 -2
  167. package/dist/chunks/{repository-cache-d4tnbbq2.js → file-write-fj5byt1q.js} +23 -23
  168. package/dist/chunks/{repository-cache-h03b4h8m.js → file-write-fkn8zv55.js} +9 -9
  169. package/dist/chunks/{repository-cache-m5net9xv.js → file-write-fwsrcwhg.js} +22 -22
  170. package/dist/chunks/{repository-cache-fznmdakp.js → file-write-fznmdakp.js} +1 -1
  171. package/dist/chunks/{repository-cache-em1gn7m5.js → file-write-g2abdq6p.js} +7 -7
  172. package/dist/chunks/{repository-cache-kpgqb8fa.js → file-write-g2gy1ppp.js} +12 -12
  173. package/dist/chunks/{repository-cache-bnn3kspk.js → file-write-g39wsmc9.js} +10 -10
  174. package/dist/chunks/{repository-cache-j0p3wt22.js → file-write-g4v74gy6.js} +8 -8
  175. package/dist/chunks/{repository-cache-gbjdnr5j.js → file-write-gbjdnr5j.js} +2 -2
  176. package/dist/chunks/{repository-cache-ghrv1g9c.js → file-write-ghrv1g9c.js} +1 -1
  177. package/dist/chunks/{repository-cache-cxd6nj8e.js → file-write-gkjb3jfv.js} +4 -4
  178. package/dist/chunks/{repository-cache-sn4kj4pg.js → file-write-gr96x15w.js} +25 -25
  179. package/dist/chunks/{repository-cache-grzehpz7.js → file-write-grzehpz7.js} +1 -1
  180. package/dist/chunks/{repository-cache-wfyv9gxw.js → file-write-gw8rec0y.js} +11 -11
  181. package/dist/chunks/{repository-cache-17b8a7h3.js → file-write-gx76kxxn.js} +4 -4
  182. package/dist/chunks/{repository-cache-rj7jtxy8.js → file-write-h5chy42v.js} +3 -3
  183. package/dist/chunks/{repository-cache-7f08ed09.js → file-write-h69kv77m.js} +5 -5
  184. package/dist/chunks/{repository-cache-btnkw9ag.js → file-write-hced1q2j.js} +4 -4
  185. package/dist/chunks/{repository-cache-v5xy8wzz.js → file-write-hms8rgdg.js} +14 -14
  186. package/dist/chunks/{repository-cache-x150ncgg.js → file-write-hretfjjx.js} +2 -2
  187. package/dist/chunks/{repository-cache-9rqhy0gk.js → file-write-hrpg1pdd.js} +7 -7
  188. package/dist/chunks/{repository-cache-crg9fqw5.js → file-write-hs6r15zf.js} +29 -29
  189. package/dist/chunks/{repository-cache-2dj158v7.js → file-write-hw4efvsk.js} +36 -36
  190. package/dist/chunks/{repository-cache-tr8x705m.js → file-write-j376ae4e.js} +5 -5
  191. package/dist/chunks/{repository-cache-cmbezbpz.js → file-write-j5dxgxxj.js} +10 -10
  192. package/dist/chunks/{repository-cache-vtkyewdg.js → file-write-j6vesw1n.js} +11 -11
  193. package/dist/chunks/{repository-cache-q65mdntm.js → file-write-jhwp234h.js} +4 -4
  194. package/dist/chunks/{repository-cache-nn7wnkbg.js → file-write-jj08e610.js} +9 -9
  195. package/dist/chunks/{repository-cache-y3p3hzkr.js → file-write-jv5ccajn.js} +5 -5
  196. package/dist/chunks/{repository-cache-s0qt78mh.js → file-write-jvvxc3c9.js} +17 -17
  197. package/dist/chunks/{repository-cache-44pmzq9c.js → file-write-jxd6f16v.js} +2 -2
  198. package/dist/chunks/{repository-cache-xx8vr308.js → file-write-jxsc99aq.js} +4 -4
  199. package/dist/chunks/{repository-cache-g1e2r5aa.js → file-write-jy2czfqv.js} +4 -4
  200. package/dist/chunks/{repository-cache-qsdghx1p.js → file-write-k3cx6fhe.js} +4 -4
  201. package/dist/chunks/{repository-cache-04tv7frf.js → file-write-k3vhv03a.js} +9 -9
  202. package/dist/chunks/{repository-cache-vs7ka571.js → file-write-k7cbg2ay.js} +17 -17
  203. package/dist/chunks/{repository-cache-kh8gdsej.js → file-write-kh8gdsej.js} +1 -1
  204. package/dist/chunks/{repository-cache-8h4cqdcj.js → file-write-khxj332s.js} +18 -18
  205. package/dist/chunks/{repository-cache-23frs6jw.js → file-write-kmn4r7vb.js} +3 -3
  206. package/dist/chunks/{repository-cache-dgw19g0z.js → file-write-kq8z69ws.js} +13 -13
  207. package/dist/chunks/{repository-cache-js2thteb.js → file-write-kqk7pyt3.js} +10 -10
  208. package/dist/chunks/{repository-cache-z9fg28mj.js → file-write-ksdwk731.js} +18 -18
  209. package/dist/chunks/{repository-cache-kt3bjfbg.js → file-write-kt3bjfbg.js} +1 -1
  210. package/dist/chunks/{repository-cache-kzczzf4v.js → file-write-kzczzf4v.js} +1 -1
  211. package/dist/chunks/{repository-cache-m1714858.js → file-write-m1714858.js} +1 -1
  212. package/dist/chunks/{repository-cache-zegmmy0x.js → file-write-m7r49t4p.js} +8 -8
  213. package/dist/chunks/{repository-cache-m9w0rfyh.js → file-write-m9w0rfyh.js} +1 -1
  214. package/dist/chunks/{repository-cache-mb7mbhnz.js → file-write-mb7mbhnz.js} +3 -3
  215. package/dist/chunks/{repository-cache-dwj3j26y.js → file-write-mcy7dz1w.js} +15 -15
  216. package/dist/chunks/{repository-cache-ftsszdwq.js → file-write-mfte1z5c.js} +16 -16
  217. package/dist/chunks/{repository-cache-77y14vvw.js → file-write-mpsba1jz.js} +14 -14
  218. package/dist/chunks/{repository-cache-n2byyn4z.js → file-write-mxjkg1g8.js} +10 -10
  219. package/dist/chunks/{repository-cache-vc0wvybf.js → file-write-n1n3d8dh.js} +7 -7
  220. package/dist/chunks/file-write-n5b5573m.js +265 -0
  221. package/dist/chunks/{repository-cache-30dm8cba.js → file-write-nb6y8rsg.js} +5 -5
  222. package/dist/chunks/{repository-cache-ct4sd734.js → file-write-nfg5yszf.js} +8 -8
  223. package/dist/chunks/{repository-cache-6dcr0hza.js → file-write-nv25vadm.js} +25 -25
  224. package/dist/chunks/{repository-cache-qtf35215.js → file-write-nv2c5e9q.js} +2 -2
  225. package/dist/chunks/{repository-cache-veyyzc6t.js → file-write-nvbf339d.js} +12 -12
  226. package/dist/chunks/{repository-cache-8qehcy0c.js → file-write-nxc2n3zr.js} +73 -73
  227. package/dist/chunks/{repository-cache-6y2b864j.js → file-write-nyxvvj5y.js} +4 -4
  228. package/dist/chunks/{repository-cache-x82vyxap.js → file-write-p2e00fth.js} +15 -15
  229. package/dist/chunks/{repository-cache-50emzza2.js → file-write-p2tvx8t7.js} +5 -5
  230. package/dist/chunks/{repository-cache-8g483503.js → file-write-p4jsx867.js} +33 -33
  231. package/dist/chunks/file-write-p7e5hsjn.js +26 -0
  232. package/dist/chunks/{repository-cache-vwjpa1de.js → file-write-p7nr35jh.js} +9 -9
  233. package/dist/chunks/{repository-cache-0mw6d3es.js → file-write-pdh4dm2s.js} +11 -11
  234. package/dist/chunks/{repository-cache-pknna89w.js → file-write-pknna89w.js} +1 -1
  235. package/dist/chunks/{repository-cache-e9q4wrrf.js → file-write-pmh9qr5m.js} +11 -11
  236. package/dist/chunks/{repository-cache-d390zwf3.js → file-write-pnwsrq7c.js} +8 -8
  237. package/dist/chunks/{repository-cache-z6d4vqry.js → file-write-pp40bsb9.js} +5 -5
  238. package/dist/chunks/{repository-cache-mawwhskg.js → file-write-q5afgzaq.js} +33 -33
  239. package/dist/chunks/{repository-cache-tk8b4vwr.js → file-write-q5g91w1z.js} +10 -10
  240. package/dist/chunks/{repository-cache-94fryj18.js → file-write-q5n1fct6.js} +25 -25
  241. package/dist/chunks/{repository-cache-9rgr5dz2.js → file-write-q73bnvb9.js} +4 -4
  242. package/dist/chunks/{repository-cache-39v36dn9.js → file-write-q7gxver5.js} +3 -3
  243. package/dist/chunks/{repository-cache-3yycz9r1.js → file-write-qa471xkx.js} +8 -8
  244. package/dist/chunks/{repository-cache-bkscep7p.js → file-write-qf4vf8cc.js} +27 -27
  245. package/dist/chunks/{repository-cache-xz07m27x.js → file-write-qj27ec1j.js} +2 -2
  246. package/dist/chunks/{repository-cache-qp7r0hxv.js → file-write-qp7r0hxv.js} +1 -1
  247. package/dist/chunks/{repository-cache-qqvy8y24.js → file-write-qqvy8y24.js} +1 -1
  248. package/dist/chunks/{repository-cache-0p9dpm4j.js → file-write-qy3my2np.js} +7 -7
  249. package/dist/chunks/{repository-cache-72jpt517.js → file-write-r0gmcr7a.js} +2 -2
  250. package/dist/chunks/{repository-cache-3qgwywyc.js → file-write-r17fbvme.js} +4 -4
  251. package/dist/chunks/{repository-cache-40za9wsf.js → file-write-r41sfy63.js} +6 -6
  252. package/dist/chunks/{repository-cache-yypes0b9.js → file-write-r630h434.js} +79 -79
  253. package/dist/chunks/{repository-cache-rb9dy4dg.js → file-write-rb9dy4dg.js} +1 -1
  254. package/dist/chunks/{repository-cache-kse531ts.js → file-write-rc389a7d.js} +3 -3
  255. package/dist/chunks/{repository-cache-z7cwk02r.js → file-write-rf7v7mat.js} +3 -3
  256. package/dist/chunks/{repository-cache-rgc9cx3e.js → file-write-rgc9cx3e.js} +2 -2
  257. package/dist/chunks/{repository-cache-rj7j5fvs.js → file-write-rj7j5fvs.js} +1 -1
  258. package/dist/chunks/{repository-cache-8wjgamp7.js → file-write-rmv7fhs4.js} +3 -3
  259. package/dist/chunks/{repository-cache-va6gsnfx.js → file-write-rpk8ag22.js} +25 -25
  260. package/dist/chunks/{repository-cache-rt5dr6hb.js → file-write-rt5dr6hb.js} +1 -1
  261. package/dist/chunks/{repository-cache-7aa28e26.js → file-write-rzerpqed.js} +20 -20
  262. package/dist/chunks/{repository-cache-2p60zmnr.js → file-write-s1ba0vj0.js} +2 -2
  263. package/dist/chunks/{repository-cache-5zpqhmp2.js → file-write-s4kyhetj.js} +3 -3
  264. package/dist/chunks/{repository-cache-4sphdqh8.js → file-write-s6qg811h.js} +4 -4
  265. package/dist/chunks/{repository-cache-3yzzx9pt.js → file-write-s80btv7d.js} +10 -10
  266. package/dist/chunks/{repository-cache-3345d27s.js → file-write-s9btps65.js} +45 -45
  267. package/dist/chunks/{repository-cache-fvz47e7v.js → file-write-s9wdejbw.js} +8 -8
  268. package/dist/chunks/{repository-cache-sa3fpqfw.js → file-write-sa3fpqfw.js} +2 -2
  269. package/dist/chunks/{repository-cache-sbya78hr.js → file-write-sbya78hr.js} +1 -1
  270. package/dist/chunks/{repository-cache-sbz71ybr.js → file-write-sbz71ybr.js} +1 -1
  271. package/dist/chunks/{repository-cache-pcfp8313.js → file-write-sesqs1zx.js} +20 -20
  272. package/dist/chunks/{repository-cache-z7nw8j89.js → file-write-sj1z81cb.js} +4 -4
  273. package/dist/chunks/{repository-cache-hprj54m4.js → file-write-sm4a4ez5.js} +15 -15
  274. package/dist/chunks/{repository-cache-9qh0s6d7.js → file-write-sqqa6a84.js} +34 -34
  275. package/dist/chunks/{repository-cache-9j5jnrz7.js → file-write-sseb9byk.js} +12 -12
  276. package/dist/chunks/{repository-cache-svcy3p9a.js → file-write-svcy3p9a.js} +1 -1
  277. package/dist/chunks/{repository-cache-2tehddh2.js → file-write-svppca6f.js} +7 -7
  278. package/dist/chunks/file-write-sw0ng7yn.js +563 -0
  279. package/dist/chunks/{repository-cache-y9b1qepv.js → file-write-t0s3kxx5.js} +2 -2
  280. package/dist/chunks/{repository-cache-n2r2ftb0.js → file-write-t29q7k9w.js} +6 -6
  281. package/dist/chunks/{repository-cache-e5p1c2fw.js → file-write-t5m2t9py.js} +30 -30
  282. package/dist/chunks/{repository-cache-5m2mrva3.js → file-write-t77s4nmz.js} +9 -9
  283. package/dist/chunks/{repository-cache-2hetaxtn.js → file-write-tanqgt4q.js} +23 -23
  284. package/dist/chunks/{repository-cache-tb2mrvc9.js → file-write-tb2mrvc9.js} +1 -1
  285. package/dist/chunks/{repository-cache-tczq8hjw.js → file-write-tczq8hjw.js} +1 -1
  286. package/dist/chunks/{repository-cache-gxs71cxp.js → file-write-tg7s7b5t.js} +4 -4
  287. package/dist/chunks/{repository-cache-tvtps2q9.js → file-write-tvtps2q9.js} +1 -1
  288. package/dist/chunks/{repository-cache-twssxy5n.js → file-write-twssxy5n.js} +2 -2
  289. package/dist/chunks/{repository-cache-ffqnykrn.js → file-write-tx44exa6.js} +4 -4
  290. package/dist/chunks/{repository-cache-a4jgyqzw.js → file-write-tztngc3b.js} +17 -17
  291. package/dist/chunks/{repository-cache-408b6q7j.js → file-write-v10wb8kp.js} +41 -41
  292. package/dist/chunks/{repository-cache-v2r1d0zg.js → file-write-v2r1d0zg.js} +1 -1
  293. package/dist/chunks/{repository-cache-hy8c1z76.js → file-write-v5hpj9dd.js} +8 -8
  294. package/dist/chunks/{repository-cache-x9aa95w6.js → file-write-v6ehynhh.js} +8 -8
  295. package/dist/chunks/{repository-cache-zfbdpczg.js → file-write-va908wz9.js} +19 -19
  296. package/dist/chunks/{repository-cache-f3y09a63.js → file-write-vfe10e44.js} +18 -18
  297. package/dist/chunks/{repository-cache-fzbvjw9m.js → file-write-vgbhzz5z.js} +12 -12
  298. package/dist/chunks/{repository-cache-vjf35v1f.js → file-write-vjf35v1f.js} +1 -1
  299. package/dist/chunks/{repository-cache-v4wwqybb.js → file-write-vjm2x19k.js} +6 -6
  300. package/dist/chunks/{repository-cache-bhfd478d.js → file-write-vmxsyvj6.js} +4 -4
  301. package/dist/chunks/{repository-cache-wcb4m75m.js → file-write-vyy7p69t.js} +3 -3
  302. package/dist/chunks/{repository-cache-0zmxd749.js → file-write-w295xx70.js} +18 -18
  303. package/dist/chunks/{repository-cache-vdhhbsj6.js → file-write-w3c3s7r0.js} +16 -16
  304. package/dist/chunks/{repository-cache-w3wsvvr9.js → file-write-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{repository-cache-qpwcpmm3.js → file-write-w40eadaw.js} +15 -15
  306. package/dist/chunks/{repository-cache-ztf6n3de.js → file-write-w76xjer3.js} +4 -4
  307. package/dist/chunks/{repository-cache-wakvkjy4.js → file-write-wakvkjy4.js} +1 -1
  308. package/dist/chunks/{repository-cache-rq5zfkmw.js → file-write-wd2f8zad.js} +3 -3
  309. package/dist/chunks/{repository-cache-wd87259q.js → file-write-wd87259q.js} +1 -1
  310. package/dist/chunks/{repository-cache-wegkxhrn.js → file-write-wegkxhrn.js} +2 -2
  311. package/dist/chunks/{repository-cache-v22gz8xn.js → file-write-wh78neyf.js} +4 -4
  312. package/dist/chunks/{repository-cache-wdt67p1g.js → file-write-wjwy97sf.js} +7 -7
  313. package/dist/chunks/{repository-cache-qwz295ec.js → file-write-wn192j8h.js} +6 -6
  314. package/dist/chunks/{repository-cache-wnhgecwx.js → file-write-wnhgecwx.js} +1 -1
  315. package/dist/chunks/{repository-cache-09mtnzdp.js → file-write-wq0zq84p.js} +2 -2
  316. package/dist/chunks/{repository-cache-6jh19kms.js → file-write-x23vf9yb.js} +21 -21
  317. package/dist/chunks/{repository-cache-bvzx78na.js → file-write-x6masgrp.js} +17 -17
  318. package/dist/chunks/{repository-cache-xjr6c8m4.js → file-write-xjr6c8m4.js} +1 -1
  319. package/dist/chunks/{repository-cache-xksw6ev0.js → file-write-xksw6ev0.js} +1 -1
  320. package/dist/chunks/{repository-cache-j3f8hyeg.js → file-write-xmx7xj34.js} +4 -4
  321. package/dist/chunks/{repository-cache-b3bsgr18.js → file-write-xntpp5px.js} +59 -59
  322. package/dist/chunks/{repository-cache-gsdm4vs4.js → file-write-xtqzt4fa.js} +3 -3
  323. package/dist/chunks/{repository-cache-4w8rtzkq.js → file-write-xv5e77gk.js} +30 -30
  324. package/dist/chunks/{repository-cache-481fdjcd.js → file-write-xzjxjwf3.js} +15 -15
  325. package/dist/chunks/{repository-cache-qvvdt2ja.js → file-write-yb19agkm.js} +22 -22
  326. package/dist/chunks/{repository-cache-yb20nhc3.js → file-write-yb20nhc3.js} +1 -1
  327. package/dist/chunks/{repository-cache-enqnnpc3.js → file-write-yfmefces.js} +6 -6
  328. package/dist/chunks/{repository-cache-51wjgk96.js → file-write-yg8zfza0.js} +27 -27
  329. package/dist/chunks/{repository-cache-ytc8zafd.js → file-write-yn2x9e3v.js} +21 -21
  330. package/dist/chunks/{repository-cache-mfmzhgah.js → file-write-yqc1gsth.js} +36 -36
  331. package/dist/chunks/{repository-cache-yr705xyq.js → file-write-yr705xyq.js} +1 -1
  332. package/dist/chunks/{repository-cache-yvtc2x31.js → file-write-yvtc2x31.js} +1 -1
  333. package/dist/chunks/{repository-cache-40xydpb7.js → file-write-yxvzv3g5.js} +16 -16
  334. package/dist/chunks/{repository-cache-eab5fpag.js → file-write-yzc6r4am.js} +42 -42
  335. package/dist/chunks/{repository-cache-gm5b10kj.js → file-write-z1mf0jd4.js} +16 -16
  336. package/dist/chunks/{repository-cache-nrv2xqv3.js → file-write-zay9zw0a.js} +18 -18
  337. package/dist/chunks/{repository-cache-sw0fssa3.js → file-write-zc7kj4sy.js} +6 -6
  338. package/dist/chunks/{repository-cache-cnn6pg0y.js → file-write-zcte27nc.js} +13 -13
  339. package/dist/chunks/{repository-cache-j9nxzz3g.js → file-write-ze75qvmd.js} +3 -3
  340. package/dist/chunks/{repository-cache-8qsk2vh0.js → file-write-zeaz7cgc.js} +17 -17
  341. package/dist/chunks/{repository-cache-0570svrq.js → file-write-zkev7xm8.js} +47 -47
  342. package/dist/chunks/{repository-cache-r5f9wcnz.js → file-write-zm9m67ms.js} +11 -11
  343. package/dist/chunks/{repository-cache-4evpypsk.js → file-write-zqqnxavm.js} +1 -1
  344. package/dist/chunks/{repository-cache-f9hv1gb2.js → file-write-zv9w44q5.js} +3 -3
  345. package/dist/codemode/catalog.js +1 -1
  346. package/dist/codemode/execution.js +3 -3
  347. package/dist/codemode/fetch.js +145 -145
  348. package/dist/codemode/instructions.js +7 -7
  349. package/dist/codemode/tool.js +151 -151
  350. package/dist/command.js +92 -92
  351. package/dist/config/discovery.js +95 -95
  352. package/dist/config/integration.js +3 -3
  353. package/dist/config/managed.js +1 -1
  354. package/dist/config/markdown.js +1 -1
  355. package/dist/config/normalize.js +112 -112
  356. package/dist/config/plugin/agent.js +131 -131
  357. package/dist/config/plugin/command.js +232 -232
  358. package/dist/config/plugin/compaction.js +171 -171
  359. package/dist/config/plugin/compatibility.js +150 -150
  360. package/dist/config/plugin/entry-observer.js +1 -1
  361. package/dist/config/plugin/formatter.js +131 -131
  362. package/dist/config/plugin/image.js +130 -130
  363. package/dist/config/plugin/instruction.js +130 -130
  364. package/dist/config/plugin/location-watcher.js +130 -130
  365. package/dist/config/plugin/mcp.js +139 -139
  366. package/dist/config/plugin/policy.js +130 -130
  367. package/dist/config/plugin/provider.js +128 -128
  368. package/dist/config/plugin/reference.js +132 -132
  369. package/dist/config/plugin/shell.js +130 -130
  370. package/dist/config/plugin/skill-file.js +146 -146
  371. package/dist/config/plugin/skill-scan.js +1 -1
  372. package/dist/config/plugin/skill.js +151 -151
  373. package/dist/config/plugin/snapshot.js +130 -130
  374. package/dist/config/plugin/source.js +128 -128
  375. package/dist/config/plugin/tool-output.js +131 -131
  376. package/dist/config/plugin/websearch.js +129 -129
  377. package/dist/config/plugin/worktree.js +132 -132
  378. package/dist/config/variable.js +1 -1
  379. package/dist/config/watch.js +1 -1
  380. package/dist/config.js +131 -131
  381. package/dist/console-access.js +1 -1
  382. package/dist/credential/sql.js +2 -2
  383. package/dist/credential.js +94 -94
  384. package/dist/database/database.js +77 -77
  385. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  386. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  387. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  388. package/dist/database/drizzle/index.js +13 -13
  389. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  390. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  392. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  394. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  398. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  399. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  400. package/dist/database/drizzle.js +14 -14
  401. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  402. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  403. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  404. package/dist/database/migration/20260225215848_workspace.js +1 -1
  405. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  406. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  407. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  408. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  409. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  410. package/dist/database/migration/20260323234822_events.js +1 -1
  411. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  412. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  413. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  414. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  415. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  416. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  417. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  418. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  419. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  420. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  421. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  422. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  423. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  424. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  425. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  426. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  427. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  428. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  429. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  430. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  431. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  432. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  433. package/dist/database/migration/20260611035744_credential.js +1 -1
  434. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  435. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  436. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  437. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  438. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  439. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  440. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  441. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  442. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  443. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  444. package/dist/database/migration/20260812213948_worktree.js +1 -1
  445. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  446. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  447. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  448. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  449. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  450. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  451. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  452. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  453. package/dist/database/migration/20261025123711_blob.js +1 -1
  454. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  455. package/dist/database/migration/20261026223005_schedule.js +1 -1
  456. package/dist/database/migration/20261029002625_session_part.js +1 -1
  457. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  458. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  459. package/dist/database/migration/20261030054400_job.js +1 -1
  460. package/dist/database/migration.gen.js +60 -60
  461. package/dist/database/migration.js +62 -62
  462. package/dist/database/path.js +2 -2
  463. package/dist/database/schema.gen.js +1 -1
  464. package/dist/database/schema.sql.js +1 -1
  465. package/dist/database/v1-migration.bun.js +105 -105
  466. package/dist/database/v1-migration.js +1 -1
  467. package/dist/effect/app-node-builder.js +430 -430
  468. package/dist/effect/app-node-platform.js +2 -2
  469. package/dist/effect/keyed-mutex.js +1 -1
  470. package/dist/effect/websocket-constructor.js +1 -1
  471. package/dist/environment/driver.js +1 -1
  472. package/dist/environment/environment.js +105 -105
  473. package/dist/environment/exec-defaults.js +2 -2
  474. package/dist/environment/files.js +1 -1
  475. package/dist/environment/index.js +107 -107
  476. package/dist/environment/local.js +2 -2
  477. package/dist/environment/memory.js +2 -2
  478. package/dist/environment/unavailable.js +1 -1
  479. package/dist/event/sql.js +1 -1
  480. package/dist/event-logger.js +81 -81
  481. package/dist/file-access.js +157 -157
  482. package/dist/file-mutation.js +108 -108
  483. package/dist/file-retention.js +1 -1
  484. package/dist/file-write.js +161 -161
  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 +88 -88
  490. package/dist/filesystem/location-watcher-policy.js +6 -6
  491. package/dist/filesystem/location-watcher.js +245 -245
  492. package/dist/filesystem/protected.js +1 -1
  493. package/dist/filesystem/search.js +113 -113
  494. package/dist/filesystem/watcher-binding.js +1 -1
  495. package/dist/filesystem/watcher.js +9 -9
  496. package/dist/filesystem.js +116 -116
  497. package/dist/form.js +93 -93
  498. package/dist/formatter/builtins.js +2 -2
  499. package/dist/formatter.js +100 -100
  500. package/dist/generate.js +120 -120
  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 +104 -104
  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 +426 -426
  528. package/dist/instruction-discovery.js +93 -93
  529. package/dist/instructions/builtins.js +100 -100
  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 +80 -80
  537. package/dist/location-activity.js +173 -173
  538. package/dist/location-lifecycle.js +150 -150
  539. package/dist/location-service-map.js +95 -95
  540. package/dist/location-services.js +423 -423
  541. package/dist/location.js +102 -102
  542. package/dist/managed-policy.js +3 -3
  543. package/dist/mcp/client.js +105 -105
  544. package/dist/mcp/connection.js +104 -104
  545. package/dist/mcp/index.js +124 -124
  546. package/dist/mcp/instructions.js +181 -181
  547. package/dist/mcp/oauth.js +89 -89
  548. package/dist/mcp/socket-client.js +1 -1
  549. package/dist/mcp/stdio.js +104 -104
  550. package/dist/mime.js +1 -1
  551. package/dist/modal/models.js +104 -104
  552. package/dist/model-resolver.js +112 -112
  553. package/dist/model-retry.js +1 -1
  554. package/dist/model.js +107 -107
  555. package/dist/models-dev/v1.js +1 -1
  556. package/dist/models-dev.js +115 -115
  557. package/dist/oauth/page.js +1 -1
  558. package/dist/permission/saved.js +87 -87
  559. package/dist/permission/sql.js +5 -5
  560. package/dist/permission.js +147 -147
  561. package/dist/persistent-pty/binary.bun.js +1 -1
  562. package/dist/persistent-pty/daemon.js +1 -1
  563. package/dist/persistent-pty/index.js +99 -99
  564. package/dist/persistent-pty/pty-binding.js +1 -1
  565. package/dist/persistent-pty.js +86 -86
  566. package/dist/plugin/agent.js +85 -85
  567. package/dist/plugin/command.js +115 -115
  568. package/dist/plugin/goal.js +3 -3
  569. package/dist/plugin/hooks.js +5 -5
  570. package/dist/plugin/host.js +238 -238
  571. package/dist/plugin/identity.js +5 -5
  572. package/dist/plugin/instance.js +5 -5
  573. package/dist/plugin/internal.js +402 -402
  574. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  575. package/dist/plugin/models-dev.js +110 -110
  576. package/dist/plugin/module.js +129 -129
  577. package/dist/plugin/optimize.js +2 -2
  578. package/dist/plugin/plan.js +146 -146
  579. package/dist/plugin/promise.js +1 -1
  580. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  581. package/dist/plugin/provider/azure.js +133 -133
  582. package/dist/plugin/provider/cerebras.js +1 -1
  583. package/dist/plugin/provider/chatgpt.js +133 -133
  584. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  585. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  588. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  590. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  592. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  593. package/dist/plugin/provider/claude-agent/index.js +146 -146
  594. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  595. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  598. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
  599. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  601. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  602. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  603. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  604. package/dist/plugin/provider/claude-agent/session.js +112 -112
  605. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  606. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  608. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  609. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  610. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  613. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  615. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  616. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  617. package/dist/plugin/provider/configured.js +126 -126
  618. package/dist/plugin/provider/credential-settings.js +88 -88
  619. package/dist/plugin/provider/databricks.js +1 -1
  620. package/dist/plugin/provider/digitalocean.js +109 -109
  621. package/dist/plugin/provider/dynamic.js +2 -2
  622. package/dist/plugin/provider/github-copilot.js +111 -111
  623. package/dist/plugin/provider/gitlab.js +109 -109
  624. package/dist/plugin/provider/google-vertex.js +127 -127
  625. package/dist/plugin/provider/kilo.js +1 -1
  626. package/dist/plugin/provider/llmgateway.js +89 -89
  627. package/dist/plugin/provider/lmstudio.js +140 -140
  628. package/dist/plugin/provider/local.js +137 -137
  629. package/dist/plugin/provider/modal.js +108 -108
  630. package/dist/plugin/provider/neon.js +1 -1
  631. package/dist/plugin/provider/nvidia.js +1 -1
  632. package/dist/plugin/provider/ollama.js +140 -140
  633. package/dist/plugin/provider/openai-context-caps.js +106 -106
  634. package/dist/plugin/provider/openai.js +133 -133
  635. package/dist/plugin/provider/opencode.js +157 -157
  636. package/dist/plugin/provider/openrouter.js +104 -104
  637. package/dist/plugin/provider/poe.js +90 -90
  638. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  639. package/dist/plugin/provider/refresh.js +87 -87
  640. package/dist/plugin/provider/sap-ai-core.js +104 -104
  641. package/dist/plugin/provider/sdk-factory.js +1 -1
  642. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  643. package/dist/plugin/provider/vllm.js +140 -140
  644. package/dist/plugin/provider/xai.js +104 -104
  645. package/dist/plugin/provider/zenmux.js +1 -1
  646. package/dist/plugin/provider.js +235 -235
  647. package/dist/plugin/sdk.js +89 -89
  648. package/dist/plugin/service.js +1 -1
  649. package/dist/plugin/skill.js +149 -149
  650. package/dist/plugin/source-directory.js +1 -1
  651. package/dist/plugin/supervisor.js +414 -414
  652. package/dist/plugin/tool-input-repair.js +4 -4
  653. package/dist/plugin/update.js +4 -4
  654. package/dist/plugin/vcs/git.js +99 -99
  655. package/dist/plugin/vcs/hg.js +99 -99
  656. package/dist/plugin/verbosity.js +106 -106
  657. package/dist/plugin/warming.js +130 -130
  658. package/dist/plugin/websearch/exa.js +8 -8
  659. package/dist/plugin/websearch/firecrawl.js +9 -9
  660. package/dist/plugin/websearch/index.js +10 -10
  661. package/dist/plugin/websearch/mcp.js +4 -4
  662. package/dist/plugin/websearch/parallel.js +9 -9
  663. package/dist/plugin/websearch/provider.js +1 -1
  664. package/dist/plugin/websearch/tavily.js +7 -7
  665. package/dist/plugin/websearch/tinyfish.js +9 -9
  666. package/dist/plugin.js +247 -247
  667. package/dist/project/icon.js +5 -5
  668. package/dist/project/schema.js +8 -8
  669. package/dist/project/sql.js +4 -4
  670. package/dist/project.js +103 -103
  671. package/dist/provider.js +106 -106
  672. package/dist/pty/protocol.js +1 -1
  673. package/dist/pty/ticket.js +1 -1
  674. package/dist/pty.js +113 -113
  675. package/dist/reference/instructions.js +101 -101
  676. package/dist/reference.js +103 -103
  677. package/dist/repository-cache.js +93 -93
  678. package/dist/repository.js +1 -1
  679. package/dist/ripgrep/binary.js +2 -2
  680. package/dist/ripgrep.js +111 -111
  681. package/dist/rpc.js +99 -99
  682. package/dist/schedule/check.js +243 -243
  683. package/dist/schedule/sql.js +6 -6
  684. package/dist/schedule.js +257 -257
  685. package/dist/schema.js +1 -1
  686. package/dist/session/affinity.js +1 -1
  687. package/dist/session/background.js +1 -1
  688. package/dist/session/blob.js +129 -129
  689. package/dist/session/command.js +85 -85
  690. package/dist/session/compaction.js +167 -167
  691. package/dist/session/context.js +200 -200
  692. package/dist/session/diff.js +101 -101
  693. package/dist/session/environment.js +5 -5
  694. package/dist/session/error.js +3 -3
  695. package/dist/session/event.js +1 -1
  696. package/dist/session/execution/restart.js +238 -238
  697. package/dist/session/execution.js +161 -161
  698. package/dist/session/generate.js +200 -200
  699. package/dist/session/history.js +136 -136
  700. package/dist/session/inbox.js +147 -147
  701. package/dist/session/info.js +3 -3
  702. package/dist/session/instruction-entry.js +88 -88
  703. package/dist/session/instruction-state.js +8 -8
  704. package/dist/session/instructions.js +143 -143
  705. package/dist/session/message-updater.js +2 -2
  706. package/dist/session/message.js +1 -1
  707. package/dist/session/model-request.js +168 -168
  708. package/dist/session/model-transport.js +9 -9
  709. package/dist/session/move.js +165 -165
  710. package/dist/session/projector.js +143 -143
  711. package/dist/session/prompt.js +148 -148
  712. package/dist/session/recent-text.js +1 -1
  713. package/dist/session/revert.js +139 -139
  714. package/dist/session/run-coordinator.js +3 -3
  715. package/dist/session/runner/index.js +3 -3
  716. package/dist/session/runner/llm.js +252 -252
  717. package/dist/session/runner/max-steps.js +1 -1
  718. package/dist/session/runner/model.js +113 -113
  719. package/dist/session/runner/publish-llm-event.js +149 -149
  720. package/dist/session/runner/retry.js +3 -3
  721. package/dist/session/runner/step.js +163 -163
  722. package/dist/session/runner/to-llm-message.js +137 -137
  723. package/dist/session/schema.js +3 -3
  724. package/dist/session/session.js +182 -182
  725. package/dist/session/shell.js +145 -145
  726. package/dist/session/skill.js +147 -147
  727. package/dist/session/sql.js +5 -5
  728. package/dist/session/stats.js +84 -84
  729. package/dist/session/store.js +142 -142
  730. package/dist/session/stored.js +2 -2
  731. package/dist/session/subagent-completion.js +1 -1
  732. package/dist/session/subagent-job.js +231 -231
  733. package/dist/session/system-prompt.js +3 -3
  734. package/dist/session/title.js +204 -204
  735. package/dist/session/to-session-error.js +148 -148
  736. package/dist/session/transfer.js +234 -234
  737. package/dist/session/usage.js +1 -1
  738. package/dist/session.js +229 -229
  739. package/dist/shared-cache.js +5 -5
  740. package/dist/shell/parse.js +6 -6
  741. package/dist/shell/result.js +1 -1
  742. package/dist/shell/scan.js +1 -1
  743. package/dist/shell/select.js +11 -11
  744. package/dist/shell.js +145 -145
  745. package/dist/skill/discovery.js +6 -6
  746. package/dist/skill/instructions.js +149 -149
  747. package/dist/skill.js +156 -156
  748. package/dist/snapshot.js +102 -102
  749. package/dist/state.js +1 -1
  750. package/dist/tool/html-markdown.js +1 -1
  751. package/dist/tool/http-body.js +1 -1
  752. package/dist/tool/mcp.js +178 -178
  753. package/dist/tool/plugin/artifact.js +230 -230
  754. package/dist/tool/plugin/edit.js +167 -167
  755. package/dist/tool/plugin/file-diff.js +1 -1
  756. package/dist/tool/plugin/glob.js +171 -171
  757. package/dist/tool/plugin/grep.js +166 -166
  758. package/dist/tool/plugin/image-generate.js +241 -241
  759. package/dist/tool/plugin/mcp-resource.js +164 -164
  760. package/dist/tool/plugin/opencode.js +163 -163
  761. package/dist/tool/plugin/patch.js +168 -168
  762. package/dist/tool/plugin/question.js +144 -144
  763. package/dist/tool/plugin/read.js +172 -172
  764. package/dist/tool/plugin/schedule.js +249 -249
  765. package/dist/tool/plugin/shell.js +231 -231
  766. package/dist/tool/plugin/skill.js +157 -157
  767. package/dist/tool/plugin/subagent.js +238 -238
  768. package/dist/tool/plugin/todo.js +153 -153
  769. package/dist/tool/plugin/webfetch.js +157 -157
  770. package/dist/tool/plugin/websearch.js +153 -153
  771. package/dist/tool/plugin/write.js +168 -168
  772. package/dist/tool/read-filesystem.js +114 -114
  773. package/dist/tool/runtime.js +1 -1
  774. package/dist/tool/search.js +109 -109
  775. package/dist/tool-output.js +7 -7
  776. package/dist/tool.js +161 -161
  777. package/dist/usage-limits.js +100 -100
  778. package/dist/util/error-summary.js +1 -1
  779. package/dist/util/git-executable.js +3 -3
  780. package/dist/util/lazy.js +1 -1
  781. package/dist/util/slug.js +1 -1
  782. package/dist/util/token.js +1 -1
  783. package/dist/util/which.js +1 -1
  784. package/dist/util/wildcard.js +1 -1
  785. package/dist/v1/config/agent.js +5 -5
  786. package/dist/v1/config/command.js +3 -3
  787. package/dist/v1/config/mcp.js +4 -4
  788. package/dist/v1/config/migrate.js +105 -105
  789. package/dist/v1/config/permission.js +3 -3
  790. package/dist/v1/config/plugin.js +1 -1
  791. package/dist/v1/config/provider-options.js +1 -1
  792. package/dist/v1/config/provider.js +4 -4
  793. package/dist/variant.js +104 -104
  794. package/dist/vcs/patch.js +1 -1
  795. package/dist/vcs.js +102 -102
  796. package/dist/voice.js +101 -101
  797. package/dist/websearch.js +97 -97
  798. package/dist/wellknown/plugin.js +87 -87
  799. package/dist/wellknown.js +88 -88
  800. package/dist/workspace/driver.js +7 -7
  801. package/dist/workspace/sql.js +1 -1
  802. package/dist/workspace.js +91 -91
  803. package/dist/worktree/directory.js +2 -2
  804. package/dist/worktree/git.js +11 -11
  805. package/dist/worktree/sql.js +5 -5
  806. package/dist/worktree/strategies.js +102 -102
  807. package/dist/worktree.js +111 -111
  808. package/package.json +8 -8
  809. package/dist/chunks/repository-cache-8d14trmr.js +0 -265
  810. package/dist/chunks/repository-cache-db88sqcr.js +0 -563
  811. package/dist/chunks/repository-cache-fjk5hyjg.js +0 -26
  812. /package/dist/chunks/{repository-cache-0qkdqm5v.js → file-write-0qkdqm5v.js} +0 -0
  813. /package/dist/chunks/{repository-cache-0zkw76rk.js → file-write-0zkw76rk.js} +0 -0
  814. /package/dist/chunks/{repository-cache-108x4f4w.js → file-write-108x4f4w.js} +0 -0
  815. /package/dist/chunks/{repository-cache-17cy0kzp.js → file-write-17cy0kzp.js} +0 -0
  816. /package/dist/chunks/{repository-cache-1cnp2v09.js → file-write-1cnp2v09.js} +0 -0
  817. /package/dist/chunks/{repository-cache-1kah00gy.js → file-write-1kah00gy.js} +0 -0
  818. /package/dist/chunks/{repository-cache-24dcb14g.js → file-write-24dcb14g.js} +0 -0
  819. /package/dist/chunks/{repository-cache-2710q6r3.js → file-write-2710q6r3.js} +0 -0
  820. /package/dist/chunks/{repository-cache-2bv980vf.js → file-write-2bv980vf.js} +0 -0
  821. /package/dist/chunks/{repository-cache-2c3vjs8z.js → file-write-2c3vjs8z.js} +0 -0
  822. /package/dist/chunks/{repository-cache-359p4xyc.js → file-write-359p4xyc.js} +0 -0
  823. /package/dist/chunks/{repository-cache-3af0jn4w.js → file-write-3af0jn4w.js} +0 -0
  824. /package/dist/chunks/{repository-cache-3asan66x.js → file-write-3asan66x.js} +0 -0
  825. /package/dist/chunks/{repository-cache-3v8g72cx.js → file-write-3v8g72cx.js} +0 -0
  826. /package/dist/chunks/{repository-cache-3wcehsnq.js → file-write-3wcehsnq.js} +0 -0
  827. /package/dist/chunks/{repository-cache-43n2bw4t.js → file-write-43n2bw4t.js} +0 -0
  828. /package/dist/chunks/{repository-cache-4knz6hnm.js → file-write-4knz6hnm.js} +0 -0
  829. /package/dist/chunks/{repository-cache-4qk9sjk2.js → file-write-4qk9sjk2.js} +0 -0
  830. /package/dist/chunks/{repository-cache-4y7fprxs.js → file-write-4y7fprxs.js} +0 -0
  831. /package/dist/chunks/{repository-cache-53557ph1.js → file-write-53557ph1.js} +0 -0
  832. /package/dist/chunks/{repository-cache-550bvhaj.js → file-write-550bvhaj.js} +0 -0
  833. /package/dist/chunks/{repository-cache-5w3e23ze.js → file-write-5w3e23ze.js} +0 -0
  834. /package/dist/chunks/{repository-cache-6agm2x70.js → file-write-6agm2x70.js} +0 -0
  835. /package/dist/chunks/{repository-cache-6prwharc.js → file-write-6prwharc.js} +0 -0
  836. /package/dist/chunks/{repository-cache-6q2bdcd1.js → file-write-6q2bdcd1.js} +0 -0
  837. /package/dist/chunks/{repository-cache-7akdwqpd.js → file-write-7akdwqpd.js} +0 -0
  838. /package/dist/chunks/{repository-cache-7m9af43g.js → file-write-7m9af43g.js} +0 -0
  839. /package/dist/chunks/{repository-cache-822emrt2.js → file-write-822emrt2.js} +0 -0
  840. /package/dist/chunks/{repository-cache-84wd9syh.js → file-write-84wd9syh.js} +0 -0
  841. /package/dist/chunks/{repository-cache-88xbtdfr.js → file-write-88xbtdfr.js} +0 -0
  842. /package/dist/chunks/{repository-cache-8n3pysct.js → file-write-8n3pysct.js} +0 -0
  843. /package/dist/chunks/{repository-cache-8wj87zfr.js → file-write-8wj87zfr.js} +0 -0
  844. /package/dist/chunks/{repository-cache-9a4afbnw.js → file-write-9a4afbnw.js} +0 -0
  845. /package/dist/chunks/{repository-cache-9rqn6x4v.js → file-write-9rqn6x4v.js} +0 -0
  846. /package/dist/chunks/{repository-cache-a6k6eb26.js → file-write-a6k6eb26.js} +0 -0
  847. /package/dist/chunks/{repository-cache-af5trqkr.js → file-write-af5trqkr.js} +0 -0
  848. /package/dist/chunks/{repository-cache-afrmfg78.js → file-write-afrmfg78.js} +0 -0
  849. /package/dist/chunks/{repository-cache-aqzs7mqg.js → file-write-aqzs7mqg.js} +0 -0
  850. /package/dist/chunks/{repository-cache-atq7p7m5.js → file-write-atq7p7m5.js} +0 -0
  851. /package/dist/chunks/{repository-cache-beh6qq61.js → file-write-beh6qq61.js} +0 -0
  852. /package/dist/chunks/{repository-cache-bhmrqjy3.js → file-write-bhmrqjy3.js} +0 -0
  853. /package/dist/chunks/{repository-cache-bkyjaxrp.js → file-write-bkyjaxrp.js} +0 -0
  854. /package/dist/chunks/{repository-cache-bmr6ed5q.js → file-write-bmr6ed5q.js} +0 -0
  855. /package/dist/chunks/{repository-cache-cf4snx6d.js → file-write-cf4snx6d.js} +0 -0
  856. /package/dist/chunks/{repository-cache-cqv5kn06.js → file-write-cqv5kn06.js} +0 -0
  857. /package/dist/chunks/{repository-cache-cvy3z8tj.js → file-write-cvy3z8tj.js} +0 -0
  858. /package/dist/chunks/{repository-cache-d9fn303g.js → file-write-d9fn303g.js} +0 -0
  859. /package/dist/chunks/{repository-cache-d9jj8t3e.js → file-write-d9jj8t3e.js} +0 -0
  860. /package/dist/chunks/{repository-cache-dap0rakb.js → file-write-dap0rakb.js} +0 -0
  861. /package/dist/chunks/{repository-cache-df08tz66.js → file-write-df08tz66.js} +0 -0
  862. /package/dist/chunks/{repository-cache-dy18nga0.js → file-write-dy18nga0.js} +0 -0
  863. /package/dist/chunks/{repository-cache-e5kj55wp.js → file-write-e5kj55wp.js} +0 -0
  864. /package/dist/chunks/{repository-cache-ean2d8b5.js → file-write-ean2d8b5.js} +0 -0
  865. /package/dist/chunks/{repository-cache-ec1grn59.js → file-write-ec1grn59.js} +0 -0
  866. /package/dist/chunks/{repository-cache-emrn6kk6.js → file-write-emrn6kk6.js} +0 -0
  867. /package/dist/chunks/{repository-cache-f0mxakyp.js → file-write-f0mxakyp.js} +0 -0
  868. /package/dist/chunks/{repository-cache-f6n9ztr4.js → file-write-f6n9ztr4.js} +0 -0
  869. /package/dist/chunks/{repository-cache-faypxj3z.js → file-write-faypxj3z.js} +0 -0
  870. /package/dist/chunks/{repository-cache-fd410y7t.js → file-write-fd410y7t.js} +0 -0
  871. /package/dist/chunks/{repository-cache-fkpq3x5p.js → file-write-fkpq3x5p.js} +0 -0
  872. /package/dist/chunks/{repository-cache-g4wezp1m.js → file-write-g4wezp1m.js} +0 -0
  873. /package/dist/chunks/{repository-cache-g86h250q.js → file-write-g86h250q.js} +0 -0
  874. /package/dist/chunks/{repository-cache-gebd4c9n.js → file-write-gebd4c9n.js} +0 -0
  875. /package/dist/chunks/{repository-cache-gftt206x.js → file-write-gftt206x.js} +0 -0
  876. /package/dist/chunks/{repository-cache-hcxmzztb.js → file-write-hcxmzztb.js} +0 -0
  877. /package/dist/chunks/{repository-cache-hk9envan.js → file-write-hk9envan.js} +0 -0
  878. /package/dist/chunks/{repository-cache-j2ntwpah.js → file-write-j2ntwpah.js} +0 -0
  879. /package/dist/chunks/{repository-cache-j5zkgpj8.js → file-write-j5zkgpj8.js} +0 -0
  880. /package/dist/chunks/{repository-cache-jjkms2e6.js → file-write-jjkms2e6.js} +0 -0
  881. /package/dist/chunks/{repository-cache-jr7sbwjy.js → file-write-jr7sbwjy.js} +0 -0
  882. /package/dist/chunks/{repository-cache-jwfs4k6c.js → file-write-jwfs4k6c.js} +0 -0
  883. /package/dist/chunks/{repository-cache-jwr30sdr.js → file-write-jwr30sdr.js} +0 -0
  884. /package/dist/chunks/{repository-cache-jzg6c2d5.js → file-write-jzg6c2d5.js} +0 -0
  885. /package/dist/chunks/{repository-cache-m18g726c.js → file-write-m18g726c.js} +0 -0
  886. /package/dist/chunks/{repository-cache-mp448xyj.js → file-write-mp448xyj.js} +0 -0
  887. /package/dist/chunks/{repository-cache-msx8hqn2.js → file-write-msx8hqn2.js} +0 -0
  888. /package/dist/chunks/{repository-cache-n05xt0ee.js → file-write-n05xt0ee.js} +0 -0
  889. /package/dist/chunks/{repository-cache-n3j8tn72.js → file-write-n3j8tn72.js} +0 -0
  890. /package/dist/chunks/{repository-cache-nh4v3znn.js → file-write-nh4v3znn.js} +0 -0
  891. /package/dist/chunks/{repository-cache-njntx4h6.js → file-write-njntx4h6.js} +0 -0
  892. /package/dist/chunks/{repository-cache-p71gwv9c.js → file-write-p71gwv9c.js} +0 -0
  893. /package/dist/chunks/{repository-cache-q3sfg36h.js → file-write-q3sfg36h.js} +0 -0
  894. /package/dist/chunks/{repository-cache-q74kybfr.js → file-write-q74kybfr.js} +0 -0
  895. /package/dist/chunks/{repository-cache-qaymkmh1.js → file-write-qaymkmh1.js} +0 -0
  896. /package/dist/chunks/{repository-cache-qb87gjwd.js → file-write-qb87gjwd.js} +0 -0
  897. /package/dist/chunks/{repository-cache-qfa1cgps.js → file-write-qfa1cgps.js} +0 -0
  898. /package/dist/chunks/{repository-cache-qg3g05ea.js → file-write-qg3g05ea.js} +0 -0
  899. /package/dist/chunks/{repository-cache-qrg20bc0.js → file-write-qrg20bc0.js} +0 -0
  900. /package/dist/chunks/{repository-cache-rcb2kzg1.js → file-write-rcb2kzg1.js} +0 -0
  901. /package/dist/chunks/{repository-cache-sdp7kfr6.js → file-write-sdp7kfr6.js} +0 -0
  902. /package/dist/chunks/{repository-cache-ssg3fenm.js → file-write-ssg3fenm.js} +0 -0
  903. /package/dist/chunks/{repository-cache-syrav9an.js → file-write-syrav9an.js} +0 -0
  904. /package/dist/chunks/{repository-cache-t03h4f5z.js → file-write-t03h4f5z.js} +0 -0
  905. /package/dist/chunks/{repository-cache-ty7weeps.js → file-write-ty7weeps.js} +0 -0
  906. /package/dist/chunks/{repository-cache-ve7vex1e.js → file-write-ve7vex1e.js} +0 -0
  907. /package/dist/chunks/{repository-cache-vtarvj67.js → file-write-vtarvj67.js} +0 -0
  908. /package/dist/chunks/{repository-cache-w803qqfp.js → file-write-w803qqfp.js} +0 -0
  909. /package/dist/chunks/{repository-cache-wc3fc9cn.js → file-write-wc3fc9cn.js} +0 -0
  910. /package/dist/chunks/{repository-cache-wer8tq1h.js → file-write-wer8tq1h.js} +0 -0
  911. /package/dist/chunks/{repository-cache-wtztk69x.js → file-write-wtztk69x.js} +0 -0
  912. /package/dist/chunks/{repository-cache-x0ckcb58.js → file-write-x0ckcb58.js} +0 -0
  913. /package/dist/chunks/{repository-cache-x61499pn.js → file-write-x61499pn.js} +0 -0
  914. /package/dist/chunks/{repository-cache-y44na4kk.js → file-write-y44na4kk.js} +0 -0
  915. /package/dist/chunks/{repository-cache-y8f7s663.js → file-write-y8f7s663.js} +0 -0
  916. /package/dist/chunks/{repository-cache-ygaqb7jw.js → file-write-ygaqb7jw.js} +0 -0
  917. /package/dist/chunks/{repository-cache-z0h12gs8.js → file-write-z0h12gs8.js} +0 -0
  918. /package/dist/chunks/{repository-cache-z5v4ffb3.js → file-write-z5v4ffb3.js} +0 -0
  919. /package/dist/chunks/{repository-cache-z9919s4g.js → file-write-z9919s4g.js} +0 -0
  920. /package/dist/chunks/{repository-cache-zxpyjp51.js → file-write-zxpyjp51.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizeContent2
4
- } from "./repository-cache-z0h12gs8.js";
4
+ } from "./file-write-z0h12gs8.js";
5
5
  import {
6
6
  __export
7
- } from "./repository-cache-9rqn6x4v.js";
7
+ } from "./file-write-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/tool-input-repair.ts
10
10
  var exports_tool_input_repair = {};
11
11
  __export(exports_tool_input_repair, {
12
- Plugin: () => Plugin6,
12
+ Plugin: () => Plugin27,
13
13
  ToolInputRepairPlugin: () => exports_tool_input_repair
14
14
  });
15
15
  import { ToolFailure } from "@opencode/ai/effect";
@@ -18,7 +18,7 @@ import { Effect, Option, Predicate, Schema } from "effect";
18
18
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
19
19
  var maxDepth = 6;
20
20
  var aliases = new Map([["bash", "shell"]]);
21
- var Plugin6 = define({
21
+ var Plugin27 = define({
22
22
  id: "opencode.tool.input.repair",
23
23
  effect: (ctx) => Effect.gen(function* () {
24
24
  const aliased = new Map;
@@ -153,4 +153,4 @@ function repairArray(value, schema, root, depth) {
153
153
  return compatible ? [repaired] : value;
154
154
  }
155
155
 
156
- export { Plugin6, exports_tool_input_repair };
156
+ export { Plugin27, exports_tool_input_repair };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service76,
3
- node79
4
- } from "./repository-cache-vdhhbsj6.js";
2
+ Service78,
3
+ node81
4
+ } from "./file-write-w3c3s7r0.js";
5
5
  import {
6
- Service82,
7
- node85
8
- } from "./repository-cache-vs7ka571.js";
6
+ Service87,
7
+ node90
8
+ } from "./file-write-k7cbg2ay.js";
9
9
  import {
10
- Service75,
11
- node78
12
- } from "./repository-cache-3345d27s.js";
10
+ Service77,
11
+ node80
12
+ } from "./file-write-s9btps65.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./repository-cache-7weczvnd.js";
16
+ } from "./file-write-7weczvnd.js";
17
17
  import {
18
18
  isDirectorySource2
19
- } from "./repository-cache-tvtps2q9.js";
19
+ } from "./file-write-tvtps2q9.js";
20
20
  import {
21
21
  __export
22
- } from "./repository-cache-9rqn6x4v.js";
22
+ } from "./file-write-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/source.ts
25
25
  var exports_source = {};
@@ -39,10 +39,10 @@ import { fileURLToPath, pathToFileURL } from "url";
39
39
  class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
40
40
  }
41
41
  var layer7 = Layer.effect(Service9, Effect.gen(function* () {
42
- const config = yield* Service75;
43
- const watcher = yield* Service76;
42
+ const config = yield* Service77;
43
+ const watcher = yield* Service78;
44
44
  const fs = yield* FSUtil.Service;
45
- const location = yield* Service82;
45
+ const location = yield* Service87;
46
46
  const configuredChanges = yield* PubSub.unbounded();
47
47
  const watched = new Set;
48
48
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -76,7 +76,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
76
76
  var node11 = makeLocationNode({
77
77
  service: Service9,
78
78
  layer: layer7,
79
- deps: [node78, FSUtil.node, node79, node85]
79
+ deps: [node80, FSUtil.node, node81, node90]
80
80
  });
81
81
  var empty2 = makeLocationNode({
82
82
  service: Service9,
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service45
3
- } from "./repository-cache-9nkjg9qd.js";
2
+ Service49
3
+ } from "./file-write-cg3fcpn4.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./repository-cache-grzehpz7.js";
6
+ } from "./file-write-grzehpz7.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./repository-cache-5zpqhmp2.js";
9
+ } from "./file-write-s4kyhetj.js";
10
10
  import {
11
- Service69
12
- } from "./repository-cache-v3abn69z.js";
11
+ Service50
12
+ } from "./file-write-bzjfzcdg.js";
13
13
  import {
14
14
  __export
15
- } from "./repository-cache-9rqn6x4v.js";
15
+ } from "./file-write-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service45;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service69), instances.provide(input.session));
25
+ const instances = yield* Service49;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./repository-cache-rb9dy4dg.js";
8
+ } from "./file-write-rb9dy4dg.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./repository-cache-sa3fpqfw.js";
11
+ } from "./file-write-sa3fpqfw.js";
12
12
  import {
13
- Service82
14
- } from "./repository-cache-vs7ka571.js";
13
+ Service87
14
+ } from "./file-write-k7cbg2ay.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./repository-cache-ytc8zafd.js";
17
+ } from "./file-write-yn2x9e3v.js";
18
18
  import {
19
19
  __export
20
- } from "./repository-cache-9rqn6x4v.js";
20
+ } from "./file-write-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin5,
25
+ Plugin: () => Plugin20,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin5 = define({
36
+ var Plugin20 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service82;
39
+ const location = yield* Service87;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -561,4 +561,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
561
561
  return yield* diffAgainstRef(ctx, ref, options);
562
562
  });
563
563
 
564
- export { Plugin5, exports_git };
564
+ export { Plugin20, exports_git };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./repository-cache-emrn6kk6.js";
5
+ } from "./file-write-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./repository-cache-4sphdqh8.js";
4
+ } from "./file-write-s6qg811h.js";
5
5
  import {
6
- Service82,
7
- node85
8
- } from "./repository-cache-vs7ka571.js";
6
+ Service87,
7
+ node90
8
+ } from "./file-write-k7cbg2ay.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./repository-cache-40y6dtc2.js";
12
+ } from "./file-write-40y6dtc2.js";
13
13
  import {
14
14
  Service80,
15
15
  node83
16
- } from "./repository-cache-rq5zfkmw.js";
16
+ } from "./file-write-wd2f8zad.js";
17
17
  import {
18
18
  latest2,
19
- Service75,
20
- node78
21
- } from "./repository-cache-3345d27s.js";
19
+ Service77,
20
+ node80
21
+ } from "./file-write-s9btps65.js";
22
22
  import {
23
23
  detect2
24
- } from "./repository-cache-4pyp9zr9.js";
24
+ } from "./file-write-4pyp9zr9.js";
25
25
  import {
26
26
  Service27,
27
27
  node30
28
- } from "./repository-cache-4r7b9kq0.js";
28
+ } from "./file-write-8hs8rm5b.js";
29
29
  import {
30
30
  __export
31
- } from "./repository-cache-9rqn6x4v.js";
31
+ } from "./file-write-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: () => CreateInput3,
40
- DisabledError: () => DisabledError3,
41
- Event: () => Event3,
39
+ CreateInput: () => CreateInput4,
40
+ DisabledError: () => DisabledError4,
41
+ Event: () => Event6,
42
42
  FileMissingError: () => FileMissingError2,
43
- ID: () => ID6,
44
- Info: () => Info5,
43
+ ID: () => ID8,
44
+ Info: () => Info8,
45
45
  InvalidError: () => InvalidError3,
46
46
  LocalProviderID: () => LocalProviderID2,
47
- NotFoundError: () => NotFoundError3,
48
- Provider: () => Provider2,
47
+ NotFoundError: () => NotFoundError5,
48
+ Provider: () => Provider3,
49
49
  ProviderError: () => ProviderError2,
50
50
  ProviderID: () => ProviderID2,
51
- ProviderNotFoundError: () => ProviderNotFoundError2,
52
- Service: () => Service14,
53
- UpdateInput: () => UpdateInput2,
51
+ ProviderNotFoundError: () => ProviderNotFoundError3,
52
+ Service: () => Service26,
53
+ UpdateInput: () => UpdateInput3,
54
54
  locate: () => locate2,
55
- node: () => node17
55
+ node: () => node29
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 CreateInput3,
65
- Event as Event3,
66
- ID as ID6,
67
- Info as Info5,
68
- Provider as Provider2,
64
+ CreateInput as CreateInput4,
65
+ Event as Event6,
66
+ ID as ID8,
67
+ Info as Info8,
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";
@@ -75,14 +75,14 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
75
75
  var LocalProviderID2 = ProviderID2.make("local");
76
76
  var ItemPrefix = "artifact:item:";
77
77
 
78
- class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
78
+ class DisabledError4 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
79
79
  get message() {
80
80
  return "Artifacts are disabled; set experimental.artifacts in config";
81
81
  }
82
82
  }
83
83
 
84
- class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
85
- artifactID: ID6
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: ID6,
93
+ artifactID: ID8,
94
94
  path: Schema.String
95
95
  }) {
96
96
  get message() {
@@ -98,7 +98,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
98
98
  }
99
99
  }
100
100
 
101
- class ProviderNotFoundError2 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
101
+ class ProviderNotFoundError3 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
102
102
  providerID: ProviderID2
103
103
  }) {
104
104
  get message() {
@@ -124,10 +124,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
124
124
  }
125
125
  }
126
126
 
127
- class Service14 extends Context.Service()("@opencode/Artifact") {
127
+ class Service26 extends Context.Service()("@opencode/Artifact") {
128
128
  }
129
129
  var StoredRecord = Schema.Struct({
130
- info: Info5,
130
+ info: Info8,
131
131
  directory: Schema.String,
132
132
  projectID: Schema.String
133
133
  });
@@ -140,16 +140,16 @@ 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(Service14, Effect.gen(function* () {
143
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
144
144
  const bus = yield* Service90;
145
- const config = yield* Service75;
145
+ const config = yield* Service77;
146
146
  const global = yield* Global.Service;
147
147
  const kv = yield* Service80;
148
- const location = yield* Service82;
148
+ const location = yield* Service87;
149
149
  const sessions = yield* Service27;
150
150
  const rootDir = path.join(global.data, "artifacts");
151
151
  const itemDir = (id) => path.join(rootDir, id);
152
- const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError3({ artifactID: id }))));
152
+ const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError5({ artifactID: id }))));
153
153
  const localProvider = {
154
154
  id: LocalProviderID2,
155
155
  name: "Local",
@@ -188,13 +188,13 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
188
188
  }
189
189
  }
190
190
  }),
191
- notify: changes2(snapshotProviders, () => bus.publish(Event3.Updated, {}).pipe(Effect.asVoid))
191
+ notify: changes2(snapshotProviders, () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid))
192
192
  });
193
193
  const isEnabled = Effect.fn("Artifact.enabled")(function* () {
194
194
  const entries = yield* config.entries();
195
195
  return latest2(entries, "experimental")?.artifacts === true;
196
196
  });
197
- const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
197
+ const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError4)));
198
198
  const activeDefaultID = () => {
199
199
  const data = state.get();
200
200
  return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
@@ -203,17 +203,17 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
203
203
  const data = state.get();
204
204
  const target = requested ?? activeDefaultID();
205
205
  const found = data.providers.get(target);
206
- return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
206
+ return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError3({ providerID: target }));
207
207
  };
208
208
  const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
209
- return Service14.of({
209
+ return Service26.of({
210
210
  transform: state.transform,
211
211
  reload: state.reload,
212
212
  enabled: isEnabled,
213
213
  providers: Effect.fn("Artifact.providers")(function* () {
214
214
  yield* requireEnabled();
215
215
  const defaultID = activeDefaultID();
216
- return Array.from(state.get().providers.values(), (provider) => Provider2.make({
216
+ return Array.from(state.get().providers.values(), (provider) => Provider3.make({
217
217
  id: provider.id,
218
218
  name: provider.name,
219
219
  capabilities: [...provider.capabilities],
@@ -250,10 +250,10 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
250
250
  const files = yield* normalizeFiles(encodeStringFiles(input.files));
251
251
  const entry = yield* resolveEntry(files, input.entry);
252
252
  const provider = yield* resolveProvider(input.provider);
253
- const id = ID6.create();
253
+ const id = ID8.create();
254
254
  const now = yield* Clock.currentTimeMillis;
255
255
  const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
256
- const info = Info5.make({
256
+ const info = Info8.make({
257
257
  id,
258
258
  provider: provider.id,
259
259
  ...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
@@ -297,7 +297,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
297
297
  const now = yield* Clock.currentTimeMillis;
298
298
  const sessionID = input.sessionID ?? existing.info.sessionID;
299
299
  const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
300
- const info = Info5.make({
300
+ const info = Info8.make({
301
301
  id,
302
302
  provider: existing.info.provider,
303
303
  ...sessionID === undefined ? {} : { sessionID },
@@ -341,10 +341,10 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
341
341
  })
342
342
  });
343
343
  }));
344
- var node17 = makeLocationNode({
345
- service: Service14,
344
+ var node29 = makeLocationNode({
345
+ service: Service26,
346
346
  layer,
347
- deps: [node93, node78, Global.node, node83, node85, node30]
347
+ deps: [node93, node80, Global.node, node83, node90, node30]
348
348
  });
349
349
  function encodeStringFiles(files) {
350
350
  return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
@@ -485,4 +485,4 @@ function readDirectoryFiles(baseDir) {
485
485
  });
486
486
  }
487
487
 
488
- export { Capability2, Content2, CreateInput3, Event3, ID6, Info5, Provider2, ProviderID2, UpdateInput2, LocalProviderID2, DisabledError3, NotFoundError3, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service14, locate2, node17, exports_artifact2 };
488
+ export { Capability2, Content2, CreateInput4, Event6, ID8, Info8, Provider3, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError4, NotFoundError5, FileMissingError2, ProviderNotFoundError3, InvalidError3, ProviderError2, Service26, locate2, node29, exports_artifact2 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./repository-cache-8cg7mtm3.js";
3
+ } from "./file-write-8cg7mtm3.js";
4
4
  import {
5
5
  Service90,
6
6
  node93
7
- } from "./repository-cache-4sphdqh8.js";
7
+ } from "./file-write-s6qg811h.js";
8
8
  import {
9
- Event21,
10
- Service89,
11
- node92
12
- } from "./repository-cache-yy2fst48.js";
9
+ Event20,
10
+ Service86,
11
+ node89
12
+ } from "./file-write-f2j71z4x.js";
13
13
  import {
14
- Service82,
15
- node85
16
- } from "./repository-cache-vs7ka571.js";
14
+ Service87,
15
+ node90
16
+ } from "./file-write-k7cbg2ay.js";
17
17
  import {
18
- Service61,
19
- node63
20
- } from "./repository-cache-5v8na3sb.js";
18
+ Service66,
19
+ node68
20
+ } from "./file-write-6k5t937m.js";
21
21
  import {
22
- ID21,
23
- Service88,
24
- node91
25
- } from "./repository-cache-vsb7s5jc.js";
22
+ ID19,
23
+ Service85,
24
+ node88
25
+ } from "./file-write-0en22cva.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create4
29
- } from "./repository-cache-40y6dtc2.js";
29
+ } from "./file-write-40y6dtc2.js";
30
30
  import {
31
- ID20,
31
+ ID18,
32
32
  MethodID2,
33
- Service87,
34
- node90
35
- } from "./repository-cache-749e7hnk.js";
33
+ Service84,
34
+ node87
35
+ } from "./file-write-djct0mdn.js";
36
36
  import {
37
37
  make25
38
- } from "./repository-cache-cxd6nj8e.js";
38
+ } from "./file-write-gkjb3jfv.js";
39
39
  import {
40
40
  __export
41
- } from "./repository-cache-9rqn6x4v.js";
41
+ } from "./file-write-9rqn6x4v.js";
42
42
 
43
43
  // src/mcp/index.ts
44
44
  var exports_mcp4 = {};
45
45
  __export(exports_mcp4, {
46
46
  Mcp: () => exports_mcp4,
47
- NotFoundError: () => NotFoundError5,
48
- Options: () => Options3,
47
+ NotFoundError: () => NotFoundError6,
48
+ Options: () => Options4,
49
49
  PromptsChanged: () => PromptsChanged2,
50
50
  Resource: () => Resource2,
51
51
  ResourceCatalog: () => ResourceCatalog2,
52
52
  ResourceContent: () => ResourceContent2,
53
53
  ResourceTemplate: () => ResourceTemplate2,
54
54
  ServerName: () => ServerName2,
55
- Service: () => Service38,
55
+ Service: () => Service39,
56
56
  Status: () => Status3,
57
57
  ToolCallError: () => ToolCallError2,
58
- configured: () => configured3,
59
- layer: () => layer14,
60
- node: () => node41
58
+ configured: () => configured4,
59
+ layer: () => layer18,
60
+ node: () => node42
61
61
  });
62
62
  import { Mcp } from "@opencode/schema/mcp";
63
63
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -75,7 +75,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
75
75
  var ResourceCatalog2 = Mcp.ResourceCatalog;
76
76
  var ResourceContent2 = Mcp.ResourceContent;
77
77
 
78
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
78
+ class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
79
79
  server: ServerName2
80
80
  }) {
81
81
  get message() {
@@ -108,21 +108,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
108
108
  var endpointLoads = makeUnsafe2();
109
109
  var cloneConfig = (config) => structuredClone(config);
110
110
 
111
- class Service38 extends Context.Service()("@opencode/MCP") {
111
+ class Service39 extends Context.Service()("@opencode/MCP") {
112
112
  }
113
- var Options3 = Schema.Struct({
113
+ var Options4 = Schema.Struct({
114
114
  clientInfo: Schema.optional(Schema.Struct({
115
115
  name: Schema.String,
116
116
  version: Schema.String
117
117
  }))
118
118
  });
119
- var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
120
- const location = yield* Service82;
121
- const environment = yield* Service61;
119
+ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
120
+ const location = yield* Service87;
121
+ const environment = yield* Service66;
122
122
  const bus = yield* Service90;
123
- const forms = yield* Service88;
124
- const integration = yield* Service87;
125
- const credentials = yield* Service89;
123
+ const forms = yield* Service85;
124
+ const integration = yield* Service84;
125
+ const credentials = yield* Service86;
126
126
  const root = yield* Effect.scope;
127
127
  const fork = yield* FiberSet.makeRuntime();
128
128
  const servers = yield* Scope.fork(root, "parallel");
@@ -137,7 +137,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
137
137
  return;
138
138
  const remote = entry.config;
139
139
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
140
- const integrationID = ID20.make(suffix);
140
+ const integrationID = ID18.make(suffix);
141
141
  entry.integrationID = integrationID;
142
142
  const methodID = MethodID2.make(suffix);
143
143
  const scope = yield* Scope.fork(root);
@@ -152,7 +152,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
152
152
  method: { id: methodID, type: "oauth", label: name },
153
153
  authorize: () => Effect.gen(function* () {
154
154
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
155
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service89, credentials));
155
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service86, credentials));
156
156
  })
157
157
  });
158
158
  }).pipe(Scope.provide(scope));
@@ -160,7 +160,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
160
160
  const requireServer = Effect.fnUntraced(function* (name) {
161
161
  const entry = entries.get(name);
162
162
  if (!entry)
163
- return yield* new NotFoundError5({ server: name });
163
+ return yield* new NotFoundError6({ server: name });
164
164
  return entry;
165
165
  });
166
166
  const connected = Effect.fnUntraced(function* (name) {
@@ -172,12 +172,12 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
172
172
  if (entry.config.type !== "remote" || !entry.integrationID)
173
173
  return;
174
174
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
175
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service89, credentials));
175
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service86, credentials));
176
176
  });
177
177
  const elicitation = {
178
178
  create: (input) => Effect.gen(function* () {
179
179
  if (input.params.mode === "url") {
180
- const formID = ID21.create();
180
+ const formID = ID19.create();
181
181
  const elicitationID = input.params.elicitationId;
182
182
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
183
183
  if (key)
@@ -370,7 +370,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
370
370
  let closed = false;
371
371
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
372
372
  closed = true;
373
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service61, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
373
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
374
374
  const register = Effect.gen(function* () {
375
375
  if (closed) {
376
376
  yield* Scope.close(scope, Exit.void);
@@ -443,7 +443,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
443
443
  yield* entry.connection.start;
444
444
  }).pipe(locks.withLock(name));
445
445
  });
446
- fork(bus.subscribe(Event21.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
446
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
447
447
  const state = create4({
448
448
  name: "mcp",
449
449
  initial: () => ({
@@ -469,7 +469,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
469
469
  }),
470
470
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
471
471
  });
472
- return Service38.of({
472
+ return Service39.of({
473
473
  transform: state.transform,
474
474
  reload: state.reload,
475
475
  servers: Effect.fn("MCP.servers")(function* () {
@@ -601,14 +601,14 @@ function mergeCatalogs(catalogs) {
601
601
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
602
602
  });
603
603
  }
604
- function configured3(options) {
604
+ function configured4(options) {
605
605
  return makeLocationNode({
606
- service: Service38,
607
- layer: layer14(options),
608
- deps: [node85, node63, node93, node91, node90, node92]
606
+ service: Service39,
607
+ layer: layer18(options),
608
+ deps: [node90, node68, node93, node88, node87, node89]
609
609
  });
610
610
  }
611
- var node41 = configured3();
611
+ var node42 = configured4();
612
612
  function toElicitationField(key, property, required) {
613
613
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
614
614
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -659,4 +659,4 @@ function toElicitationField(key, property, required) {
659
659
  }
660
660
  }
661
661
 
662
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options3, layer14, configured3, node41, exports_mcp4 };
662
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service39, Options4, layer18, configured4, node42, exports_mcp4 };