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

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 (921) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +244 -244
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{file-write-6fb0z2g9.js → kv-01j9hg6p.js} +10 -10
  9. package/dist/chunks/{file-write-034tev2y.js → kv-034tev2y.js} +2 -2
  10. package/dist/chunks/kv-03emy37z.js +26 -0
  11. package/dist/chunks/{file-write-d36j5jkk.js → kv-08gae5s0.js} +50 -50
  12. package/dist/chunks/{file-write-1vh67dn1.js → kv-096af4ek.js} +11 -11
  13. package/dist/chunks/{file-write-0j7gp832.js → kv-0j7gp832.js} +1 -1
  14. package/dist/chunks/{file-write-4dtg1rfn.js → kv-0jkdfsmq.js} +30 -30
  15. package/dist/chunks/{file-write-hs6r15zf.js → kv-0krp9tgf.js} +22 -22
  16. package/dist/chunks/{file-write-0ma9gw4f.js → kv-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{file-write-wjwy97sf.js → kv-0p41qxs1.js} +7 -7
  18. package/dist/chunks/{file-write-7ccwrwdy.js → kv-0qc6z4yr.js} +54 -54
  19. package/dist/chunks/{file-write-9rthgkep.js → kv-0sbnv8xr.js} +4 -4
  20. package/dist/chunks/{file-write-q7gxver5.js → kv-0sjfwva1.js} +3 -3
  21. package/dist/chunks/{file-write-f89mfbf6.js → kv-0x0n7yr3.js} +38 -38
  22. package/dist/chunks/{file-write-kqk7pyt3.js → kv-10yag2ft.js} +10 -10
  23. package/dist/chunks/{file-write-sesqs1zx.js → kv-11brdgyq.js} +27 -27
  24. package/dist/chunks/{file-write-j5dxgxxj.js → kv-11jqq9a1.js} +12 -12
  25. package/dist/chunks/{file-write-1aqsckx4.js → kv-1aqsckx4.js} +1 -1
  26. package/dist/chunks/{file-write-1ep2p91f.js → kv-1ep2p91f.js} +2 -2
  27. package/dist/chunks/{file-write-8krgsa4b.js → kv-1ez760by.js} +4 -4
  28. package/dist/chunks/{file-write-66zyvbav.js → kv-1f03813e.js} +26 -26
  29. package/dist/chunks/{file-write-pdh4dm2s.js → kv-1s424h9e.js} +11 -11
  30. package/dist/chunks/{file-write-0h86f0az.js → kv-1v2g13eq.js} +4 -4
  31. package/dist/chunks/{file-write-1x2knyw4.js → kv-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{file-write-g4v74gy6.js → kv-1zc261y1.js} +8 -8
  33. package/dist/chunks/{file-write-9qqdfjpd.js → kv-22yy35xy.js} +14 -14
  34. package/dist/chunks/{file-write-4yyv3090.js → kv-2eby3rgr.js} +29 -29
  35. package/dist/chunks/{file-write-jvvxc3c9.js → kv-2f42m7f5.js} +17 -17
  36. package/dist/chunks/{file-write-tx44exa6.js → kv-2hra54m1.js} +4 -4
  37. package/dist/chunks/{file-write-9q8g9sv8.js → kv-2kg89srt.js} +4 -4
  38. package/dist/chunks/{file-write-s1ba0vj0.js → kv-2p60zmnr.js} +2 -2
  39. package/dist/chunks/{file-write-7mskhvh9.js → kv-2r7xvdf7.js} +16 -16
  40. package/dist/chunks/{file-write-bzn3spcw.js → kv-2xp5w945.js} +11 -11
  41. package/dist/chunks/{file-write-xntpp5px.js → kv-2yr9zyab.js} +59 -59
  42. package/dist/chunks/{file-write-sqqa6a84.js → kv-2z5dm88b.js} +21 -21
  43. package/dist/chunks/{file-write-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{file-write-3nnrz6f6.js → kv-3nnrz6f6.js} +1 -1
  45. package/dist/chunks/{file-write-7y0fnbjb.js → kv-3q0tzkdv.js} +13 -13
  46. package/dist/chunks/{file-write-r17fbvme.js → kv-3qgwywyc.js} +4 -4
  47. package/dist/chunks/{file-write-5jm7ma5d.js → kv-3t1qzrqy.js} +6 -6
  48. package/dist/chunks/{file-write-40y6dtc2.js → kv-40y6dtc2.js} +1 -1
  49. package/dist/chunks/{file-write-r41sfy63.js → kv-40za9wsf.js} +6 -6
  50. package/dist/chunks/{file-write-rzerpqed.js → kv-42r4z0p9.js} +17 -17
  51. package/dist/chunks/{file-write-jxd6f16v.js → kv-44pmzq9c.js} +2 -2
  52. package/dist/chunks/{file-write-0p126jzy.js → kv-47mb2g3q.js} +15 -15
  53. package/dist/chunks/{file-write-23g9x4bk.js → kv-4c9bdtyr.js} +35 -35
  54. package/dist/chunks/{file-write-t0s3kxx5.js → kv-4dhachnm.js} +2 -2
  55. package/dist/chunks/{file-write-4dx1dgte.js → kv-4dx1dgte.js} +1 -1
  56. package/dist/chunks/{file-write-4f25tdd0.js → kv-4f25tdd0.js} +1 -1
  57. package/dist/chunks/{file-write-4pyp9zr9.js → kv-4pyp9zr9.js} +1 -1
  58. package/dist/chunks/{file-write-rpk8ag22.js → kv-4smfxh8y.js} +31 -31
  59. package/dist/chunks/{file-write-4v008n1t.js → kv-4v008n1t.js} +1 -1
  60. package/dist/chunks/{file-write-t29q7k9w.js → kv-4vnqjrj3.js} +6 -6
  61. package/dist/chunks/{file-write-m7r49t4p.js → kv-5dw815pp.js} +8 -8
  62. package/dist/chunks/{file-write-9hdgkd8c.js → kv-5exgak64.js} +16 -16
  63. package/dist/chunks/{file-write-jj08e610.js → kv-5f0w2ebz.js} +9 -9
  64. package/dist/chunks/{file-write-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{file-write-r630h434.js → kv-5qy6rygc.js} +80 -80
  66. package/dist/chunks/{file-write-eq9csjz2.js → kv-5xc640na.js} +10 -10
  67. package/dist/chunks/{file-write-1yq9hg58.js → kv-5zrxpy3q.js} +5 -5
  68. package/dist/chunks/{file-write-gr96x15w.js → kv-60fq81g2.js} +16 -16
  69. package/dist/chunks/{file-write-722bxkcx.js → kv-622595n7.js} +16 -16
  70. package/dist/chunks/{file-write-5e7xygwc.js → kv-638ze154.js} +16 -16
  71. package/dist/chunks/{file-write-nvbf339d.js → kv-66vf4d6f.js} +12 -12
  72. package/dist/chunks/{file-write-e68r1p92.js → kv-67derp2t.js} +16 -16
  73. package/dist/chunks/{file-write-sj1z81cb.js → kv-67wm484p.js} +4 -4
  74. package/dist/chunks/{file-write-2hvn09p9.js → kv-690x1gn5.js} +12 -12
  75. package/dist/chunks/{file-write-5e8hm3df.js → kv-6cfyxda3.js} +4 -4
  76. package/dist/chunks/{file-write-nxc2n3zr.js → kv-6cvwve3t.js} +68 -68
  77. package/dist/chunks/{file-write-hms8rgdg.js → kv-6mnn5dxp.js} +14 -14
  78. package/dist/chunks/{file-write-6669fyxm.js → kv-6q7w9k2m.js} +3 -3
  79. package/dist/chunks/kv-6svsyqv7.js +265 -0
  80. package/dist/chunks/{file-write-zm9m67ms.js → kv-6t40r86m.js} +11 -11
  81. package/dist/chunks/{file-write-hced1q2j.js → kv-6xtjqz2m.js} +4 -4
  82. package/dist/chunks/{file-write-yn2x9e3v.js → kv-6zxz81zm.js} +14 -14
  83. package/dist/chunks/{file-write-3ea478js.js → kv-70dssh1d.js} +22 -22
  84. package/dist/chunks/{file-write-yqc1gsth.js → kv-712mpftp.js} +15 -15
  85. package/dist/chunks/{file-write-tanqgt4q.js → kv-72p8cdgw.js} +13 -13
  86. package/dist/chunks/{file-write-0gm6bx6q.js → kv-7b0cr362.js} +9 -9
  87. package/dist/chunks/{file-write-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  88. package/dist/chunks/{file-write-96kzdsj9.js → kv-7dwbjrxx.js} +12 -12
  89. package/dist/chunks/{file-write-bfq1rn8x.js → kv-7phhn59s.js} +19 -19
  90. package/dist/chunks/{file-write-cp4bmr82.js → kv-7q4ag1rq.js} +33 -33
  91. package/dist/chunks/{file-write-744cdn1c.js → kv-7rf921jw.js} +9 -9
  92. package/dist/chunks/{file-write-7w2ypzdf.js → kv-7w2ypzdf.js} +1 -1
  93. package/dist/chunks/{file-write-7weczvnd.js → kv-7weczvnd.js} +1 -1
  94. package/dist/chunks/{file-write-80mg3ag8.js → kv-80mg3ag8.js} +3 -3
  95. package/dist/chunks/{file-write-xtqzt4fa.js → kv-87jn0neg.js} +3 -3
  96. package/dist/chunks/{file-write-89287pr7.js → kv-89287pr7.js} +1 -1
  97. package/dist/chunks/{file-write-8b3vzgkx.js → kv-8b3vzgkx.js} +1 -1
  98. package/dist/chunks/{file-write-52z8bjzd.js → kv-8c6fzh6r.js} +39 -39
  99. package/dist/chunks/{file-write-8cg7mtm3.js → kv-8cg7mtm3.js} +1 -1
  100. package/dist/chunks/{file-write-gx76kxxn.js → kv-8es3pha2.js} +9 -9
  101. package/dist/chunks/{file-write-khxj332s.js → kv-8fnb3k1b.js} +22 -22
  102. package/dist/chunks/{file-write-zeaz7cgc.js → kv-8g30ebse.js} +9 -9
  103. package/dist/chunks/{file-write-c057bs6s.js → kv-8j06ca5s.js} +18 -18
  104. package/dist/chunks/{file-write-w295xx70.js → kv-8kmbd2d4.js} +18 -18
  105. package/dist/chunks/{file-write-8sxe6kv8.js → kv-8sxe6kv8.js} +2 -2
  106. package/dist/chunks/{file-write-v6ehynhh.js → kv-8vpywkz0.js} +6 -6
  107. package/dist/chunks/{file-write-rmv7fhs4.js → kv-8wjgamp7.js} +3 -3
  108. package/dist/chunks/{file-write-8wtp7s3z.js → kv-8wtp7s3z.js} +1 -1
  109. package/dist/chunks/{file-write-xksw6ev0.js → kv-8xz27cp9.js} +4 -4
  110. package/dist/chunks/{file-write-90zstvax.js → kv-90zstvax.js} +1 -1
  111. package/dist/chunks/{file-write-963hk181.js → kv-963hk181.js} +2 -2
  112. package/dist/chunks/{file-write-0dkf9s8e.js → kv-96askspy.js} +12 -12
  113. package/dist/chunks/{file-write-f95bce9s.js → kv-96fe8cgn.js} +9 -9
  114. package/dist/chunks/{file-write-gw8rec0y.js → kv-997xt42a.js} +15 -15
  115. package/dist/chunks/{file-write-s80btv7d.js → kv-9bz4c5h2.js} +10 -10
  116. package/dist/chunks/{file-write-4tf256t5.js → kv-9dne3p1g.js} +11 -11
  117. package/dist/chunks/{file-write-h69kv77m.js → kv-9fg71ars.js} +5 -5
  118. package/dist/chunks/{file-write-nv25vadm.js → kv-9gkt22g8.js} +25 -25
  119. package/dist/chunks/{file-write-9hf24b53.js → kv-9mh1jfrb.js} +5 -5
  120. package/dist/chunks/{file-write-q73bnvb9.js → kv-9rgr5dz2.js} +4 -4
  121. package/dist/chunks/{file-write-8rb5ms8k.js → kv-9x1tzrtb.js} +4 -4
  122. package/dist/chunks/{file-write-cg3fcpn4.js → kv-9yqjp86x.js} +6 -6
  123. package/dist/chunks/{file-write-qy3my2np.js → kv-a0h89fzp.js} +7 -7
  124. package/dist/chunks/{file-write-qj27ec1j.js → kv-a5fx33f2.js} +6 -6
  125. package/dist/chunks/{file-write-k7cbg2ay.js → kv-aaffqxme.js} +13 -13
  126. package/dist/chunks/{file-write-sm4a4ez5.js → kv-admvw5d0.js} +15 -15
  127. package/dist/chunks/{file-write-a9cfr4vy.js → kv-ah1hscsp.js} +3 -3
  128. package/dist/chunks/{file-write-ayjs7tqn.js → kv-ayjs7tqn.js} +2 -2
  129. package/dist/chunks/{file-write-9s2pvrf4.js → kv-ayn79h8x.js} +17 -17
  130. package/dist/chunks/{file-write-xv5e77gk.js → kv-ayztab9e.js} +32 -32
  131. package/dist/chunks/{file-write-b6vsg801.js → kv-b6vsg801.js} +2 -2
  132. package/dist/chunks/{file-write-b03pfvn0.js → kv-be4t0wbb.js} +11 -11
  133. package/dist/chunks/{file-write-djct0mdn.js → kv-bn3sq0ta.js} +19 -19
  134. package/dist/chunks/{file-write-bstexjd6.js → kv-bstexjd6.js} +1 -1
  135. package/dist/chunks/{file-write-mpsba1jz.js → kv-cac1q38b.js} +10 -10
  136. package/dist/chunks/{file-write-e4y0ask3.js → kv-ckf1qbq4.js} +15 -15
  137. package/dist/chunks/{file-write-f43gk59f.js → kv-ckkakae4.js} +34 -34
  138. package/dist/chunks/{file-write-xmx7xj34.js → kv-cpvd08na.js} +4 -4
  139. package/dist/chunks/{file-write-vmxsyvj6.js → kv-cr4rfj9z.js} +4 -4
  140. package/dist/chunks/{file-write-9grh0yb5.js → kv-cvfvn2m3.js} +36 -36
  141. package/dist/chunks/{file-write-cwrgdav8.js → kv-cwrgdav8.js} +2 -2
  142. package/dist/chunks/{file-write-pnwsrq7c.js → kv-d390zwf3.js} +8 -8
  143. package/dist/chunks/{file-write-04fnffnq.js → kv-d43rvkzs.js} +24 -24
  144. package/dist/chunks/{file-write-d4v9tmah.js → kv-d4v9tmah.js} +2 -2
  145. package/dist/chunks/{file-write-5dqj7a7a.js → kv-d82swh3g.js} +11 -11
  146. package/dist/chunks/{file-write-5xw4q3zb.js → kv-dmysbgyv.js} +32 -32
  147. package/dist/chunks/{file-write-yg8zfza0.js → kv-dnchje9n.js} +17 -17
  148. package/dist/chunks/{file-write-dt77769w.js → kv-dt77769w.js} +1 -1
  149. package/dist/chunks/{file-write-bxhmwnpr.js → kv-dx3nf18q.js} +21 -21
  150. package/dist/chunks/{file-write-p2e00fth.js → kv-e42h8s07.js} +15 -15
  151. package/dist/chunks/{file-write-jhwp234h.js → kv-e4bcezh6.js} +4 -4
  152. package/dist/chunks/{file-write-f0g646vn.js → kv-e4cyteqs.js} +5 -5
  153. package/dist/chunks/{file-write-e834z07m.js → kv-e834z07m.js} +1 -1
  154. package/dist/chunks/{file-write-bpn0cp8t.js → kv-ebt8y0c6.js} +7 -7
  155. package/dist/chunks/{file-write-apxjpn25.js → kv-em5cgbgt.js} +4 -4
  156. package/dist/chunks/{file-write-eqw4pqj1.js → kv-eqw4pqj1.js} +2 -2
  157. package/dist/chunks/{file-write-1dw6bgsk.js → kv-ets0bd3j.js} +20 -20
  158. package/dist/chunks/{file-write-7s9jqxsb.js → kv-f3ng0f24.js} +4 -4
  159. package/dist/chunks/{file-write-pp40bsb9.js → kv-f3zf6hej.js} +5 -5
  160. package/dist/chunks/{file-write-vjm2x19k.js → kv-f568412b.js} +8 -8
  161. package/dist/chunks/{file-write-11r0096d.js → kv-f6j243bk.js} +23 -23
  162. package/dist/chunks/{file-write-fffv3p7h.js → kv-fffv3p7h.js} +1 -1
  163. package/dist/chunks/{file-write-wh78neyf.js → kv-fgaz952a.js} +4 -4
  164. package/dist/chunks/{file-write-96r2dqew.js → kv-fgmy3vn8.js} +38 -38
  165. package/dist/chunks/{file-write-98ws7eb4.js → kv-fjwdgcms.js} +31 -31
  166. package/dist/chunks/{file-write-mxjkg1g8.js → kv-fq59wvkx.js} +20 -20
  167. package/dist/chunks/{file-write-s9wdejbw.js → kv-fs4jmx66.js} +7 -7
  168. package/dist/chunks/{file-write-yfmefces.js → kv-ft2webd9.js} +6 -6
  169. package/dist/chunks/{file-write-rf7v7mat.js → kv-g3azt962.js} +3 -3
  170. package/dist/chunks/{file-write-gbjdnr5j.js → kv-gbjdnr5j.js} +2 -2
  171. package/dist/chunks/{file-write-7tr184c0.js → kv-gdhsk6ph.js} +36 -36
  172. package/dist/chunks/{file-write-wn192j8h.js → kv-gebggerj.js} +6 -6
  173. package/dist/chunks/{file-write-ghrv1g9c.js → kv-ghrv1g9c.js} +1 -1
  174. package/dist/chunks/{file-write-vfe10e44.js → kv-grp707k1.js} +18 -18
  175. package/dist/chunks/{file-write-xzjxjwf3.js → kv-gt1v52rz.js} +10 -10
  176. package/dist/chunks/{file-write-fj5byt1q.js → kv-gvw9ca2e.js} +23 -23
  177. package/dist/chunks/{file-write-tg7s7b5t.js → kv-gxs71cxp.js} +4 -4
  178. package/dist/chunks/{file-write-z1mf0jd4.js → kv-h1as4bmj.js} +19 -19
  179. package/dist/chunks/{file-write-zay9zw0a.js → kv-hddd8b61.js} +15 -15
  180. package/dist/chunks/{file-write-rc389a7d.js → kv-hrcnme5b.js} +6 -6
  181. package/dist/chunks/{file-write-hretfjjx.js → kv-hretfjjx.js} +2 -2
  182. package/dist/chunks/{file-write-p4jsx867.js → kv-hwntad0x.js} +17 -17
  183. package/dist/chunks/{file-write-dax03rd9.js → kv-hzmq7001.js} +31 -31
  184. package/dist/chunks/{file-write-8hs8rm5b.js → kv-j10kb1p7.js} +79 -79
  185. package/dist/chunks/{file-write-r0gmcr7a.js → kv-j1kadvd3.js} +2 -2
  186. package/dist/chunks/{file-write-e42mrdrf.js → kv-j34sjpw5.js} +10 -10
  187. package/dist/chunks/{file-write-00av7mmf.js → kv-jjzjap5a.js} +5 -5
  188. package/dist/chunks/{file-write-yxvzv3g5.js → kv-jscs4gem.js} +15 -15
  189. package/dist/chunks/{file-write-zv9w44q5.js → kv-jv57bm0m.js} +3 -3
  190. package/dist/chunks/{file-write-6bz70wpr.js → kv-jv6r7fb8.js} +1 -1
  191. package/dist/chunks/{file-write-bc9krb9j.js → kv-jxckrv48.js} +2 -2
  192. package/dist/chunks/{file-write-0srsgr1c.js → kv-jzczyy04.js} +28 -28
  193. package/dist/chunks/{file-write-vgbhzz5z.js → kv-k3zq5bxc.js} +5 -5
  194. package/dist/chunks/{file-write-20pht57w.js → kv-k46dd5bg.js} +4 -4
  195. package/dist/chunks/{file-write-bscq2kmj.js → kv-ka8dknqd.js} +33 -33
  196. package/dist/chunks/{file-write-s6qg811h.js → kv-kf2y3hyd.js} +4 -4
  197. package/dist/chunks/{file-write-kh8gdsej.js → kv-kh8gdsej.js} +1 -1
  198. package/dist/chunks/{file-write-h5chy42v.js → kv-kn4zqwcq.js} +3 -3
  199. package/dist/chunks/{file-write-7kr0cs87.js → kv-kp9dkw4x.js} +145 -145
  200. package/dist/chunks/{file-write-tztngc3b.js → kv-kqmsr12a.js} +17 -17
  201. package/dist/chunks/{file-write-0en22cva.js → kv-kqp3wqnb.js} +20 -20
  202. package/dist/chunks/{file-write-6j0n9nza.js → kv-ks77ntmf.js} +21 -21
  203. package/dist/chunks/{file-write-kt3bjfbg.js → kv-kt3bjfbg.js} +1 -1
  204. package/dist/chunks/{file-write-a60em3d8.js → kv-kwgzm5gn.js} +18 -18
  205. package/dist/chunks/{file-write-kzczzf4v.js → kv-kzczzf4v.js} +1 -1
  206. package/dist/chunks/{file-write-fwsrcwhg.js → kv-kzd4gysb.js} +24 -24
  207. package/dist/chunks/{file-write-m1714858.js → kv-m1714858.js} +1 -1
  208. package/dist/chunks/{file-write-yb19agkm.js → kv-m1k6hp86.js} +24 -24
  209. package/dist/chunks/kv-m6cfdtf3.js +16 -0
  210. package/dist/chunks/{file-write-e78rwhwz.js → kv-m9nxjbr2.js} +13 -13
  211. package/dist/chunks/{file-write-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  212. package/dist/chunks/{file-write-jxsc99aq.js → kv-m9zhtkdh.js} +1 -1
  213. package/dist/chunks/{file-write-mb7mbhnz.js → kv-mb7mbhnz.js} +3 -3
  214. package/dist/chunks/{file-write-hw4efvsk.js → kv-md60n50y.js} +33 -33
  215. package/dist/chunks/{file-write-mfte1z5c.js → kv-mg4dw1ja.js} +16 -16
  216. package/dist/chunks/{file-write-9r30xnr7.js → kv-mjfqje0h.js} +20 -20
  217. package/dist/chunks/{file-write-337ct5gq.js → kv-mjhz0hpb.js} +19 -19
  218. package/dist/chunks/{file-write-21gbqc41.js → kv-mkv2nc82.js} +17 -17
  219. package/dist/chunks/{file-write-5dv1db4n.js → kv-mqhk7c7q.js} +6 -6
  220. package/dist/chunks/{file-write-zc7kj4sy.js → kv-msm1sr42.js} +4 -4
  221. package/dist/chunks/{file-write-fkn8zv55.js → kv-mtx99btt.js} +15 -15
  222. package/dist/chunks/{file-write-99a15nj6.js → kv-n0cjgwaa.js} +11 -11
  223. package/dist/chunks/{file-write-efk5s08f.js → kv-n5a3fj6g.js} +9 -9
  224. package/dist/chunks/{file-write-yzc6r4am.js → kv-n7wkkphh.js} +46 -46
  225. package/dist/chunks/{file-write-kmn4r7vb.js → kv-n912md4v.js} +3 -3
  226. package/dist/chunks/{file-write-cr44ae3x.js → kv-nchw3v9s.js} +5 -5
  227. package/dist/chunks/{file-write-k3vhv03a.js → kv-nd2qx06s.js} +9 -9
  228. package/dist/chunks/{file-write-f4wxb5n2.js → kv-ne432a6n.js} +13 -13
  229. package/dist/chunks/{file-write-abtrrvdj.js → kv-nmev1w6s.js} +11 -11
  230. package/dist/chunks/{file-write-3mvej2qk.js → kv-nqfa4042.js} +4 -4
  231. package/dist/chunks/{file-write-g2gy1ppp.js → kv-nt3srhv4.js} +12 -12
  232. package/dist/chunks/{file-write-mcy7dz1w.js → kv-nx0b1yq1.js} +15 -15
  233. package/dist/chunks/{file-write-p2tvx8t7.js → kv-p2tvx8t7.js} +2 -2
  234. package/dist/chunks/{file-write-x6masgrp.js → kv-pg9qkrhy.js} +23 -23
  235. package/dist/chunks/{file-write-df7qtfqv.js → kv-ph9bad8y.js} +9 -9
  236. package/dist/chunks/{file-write-pknna89w.js → kv-pknna89w.js} +1 -1
  237. package/dist/chunks/{file-write-d6436svb.js → kv-pna48k9t.js} +14 -14
  238. package/dist/chunks/{file-write-fg9p65nk.js → kv-prq7xxp2.js} +6 -6
  239. package/dist/chunks/{file-write-qf4vf8cc.js → kv-q0mm9a3b.js} +15 -15
  240. package/dist/chunks/{file-write-d1e9y59e.js → kv-q3bvgzf6.js} +20 -20
  241. package/dist/chunks/{file-write-55ysnm9y.js → kv-q7465z21.js} +9 -9
  242. package/dist/chunks/{file-write-qa471xkx.js → kv-qa471xkx.js} +1 -1
  243. package/dist/chunks/{file-write-e3vjhvgv.js → kv-qfa905y3.js} +3 -3
  244. package/dist/chunks/{file-write-6h8vcvjm.js → kv-qh5g3qaw.js} +9 -9
  245. package/dist/chunks/{file-write-s9btps65.js → kv-qktmpjrz.js} +47 -47
  246. package/dist/chunks/kv-qmh7vbk2.js +18 -0
  247. package/dist/chunks/{file-write-q5afgzaq.js → kv-qp0w2kkx.js} +30 -30
  248. package/dist/chunks/{file-write-qp7r0hxv.js → kv-qp7r0hxv.js} +1 -1
  249. package/dist/chunks/{file-write-qqvy8y24.js → kv-qqvy8y24.js} +1 -1
  250. package/dist/chunks/{file-write-g39wsmc9.js → kv-qtj9jawk.js} +10 -10
  251. package/dist/chunks/{file-write-d0gm5tf4.js → kv-r09760z9.js} +15 -15
  252. package/dist/chunks/{file-write-svppca6f.js → kv-r6yvfyaa.js} +11 -11
  253. package/dist/chunks/{file-write-rb9dy4dg.js → kv-rb9dy4dg.js} +1 -1
  254. package/dist/chunks/{file-write-w76xjer3.js → kv-rbg54dp1.js} +4 -4
  255. package/dist/chunks/{file-write-zkev7xm8.js → kv-rdfftd88.js} +46 -46
  256. package/dist/chunks/{file-write-azmebxfm.js → kv-rfx15cv3.js} +11 -11
  257. package/dist/chunks/{file-write-rgc9cx3e.js → kv-rgc9cx3e.js} +2 -2
  258. package/dist/chunks/{file-write-5r98j37y.js → kv-rkrx09at.js} +6 -6
  259. package/dist/chunks/{file-write-rt5dr6hb.js → kv-rt5dr6hb.js} +1 -1
  260. package/dist/chunks/{file-write-nb6y8rsg.js → kv-rzx1wgy5.js} +3 -3
  261. package/dist/chunks/{file-write-v10wb8kp.js → kv-s2vw5q64.js} +41 -41
  262. package/dist/chunks/{file-write-s4kyhetj.js → kv-s4kyhetj.js} +3 -3
  263. package/dist/chunks/{file-write-6qm8pmbm.js → kv-s818qefp.js} +5 -5
  264. package/dist/chunks/{file-write-8rt25ezk.js → kv-s8qtxmzm.js} +4 -4
  265. package/dist/chunks/{file-write-sa3fpqfw.js → kv-sa3fpqfw.js} +2 -2
  266. package/dist/chunks/{file-write-sbya78hr.js → kv-sbya78hr.js} +1 -1
  267. package/dist/chunks/{file-write-sbz71ybr.js → kv-sbz71ybr.js} +1 -1
  268. package/dist/chunks/{file-write-w3c3s7r0.js → kv-sg9w61vg.js} +18 -18
  269. package/dist/chunks/{file-write-svcy3p9a.js → kv-svcy3p9a.js} +1 -1
  270. package/dist/chunks/{file-write-g2abdq6p.js → kv-svqaxg1p.js} +4 -4
  271. package/dist/chunks/{file-write-6edbc7zm.js → kv-sx27c7qs.js} +7 -7
  272. package/dist/chunks/{file-write-6k5t937m.js → kv-sxb5xa2p.js} +20 -20
  273. package/dist/chunks/{file-write-8d161zxt.js → kv-syxe2jw8.js} +6 -6
  274. package/dist/chunks/{file-write-96djdqw5.js → kv-szwm4crx.js} +4 -4
  275. package/dist/chunks/{file-write-f2j71z4x.js → kv-t0qztpcm.js} +18 -18
  276. package/dist/chunks/{file-write-3revcpb3.js → kv-t7gj2b5k.js} +28 -28
  277. package/dist/chunks/{file-write-jv5ccajn.js → kv-t8erkws8.js} +5 -5
  278. package/dist/chunks/{file-write-tb2mrvc9.js → kv-tb2mrvc9.js} +1 -1
  279. package/dist/chunks/{file-write-tczq8hjw.js → kv-tczq8hjw.js} +1 -1
  280. package/dist/chunks/{file-write-zcte27nc.js → kv-tezkqfbg.js} +9 -9
  281. package/dist/chunks/{file-write-10527dbc.js → kv-tg895eva.js} +37 -37
  282. package/dist/chunks/{file-write-j376ae4e.js → kv-tr8x705m.js} +5 -5
  283. package/dist/chunks/{file-write-w40eadaw.js → kv-trks772y.js} +15 -15
  284. package/dist/chunks/{file-write-tvtps2q9.js → kv-tvtps2q9.js} +1 -1
  285. package/dist/chunks/{file-write-6f4aafsd.js → kv-twakhrwk.js} +43 -43
  286. package/dist/chunks/{file-write-p7nr35jh.js → kv-twghvwpe.js} +9 -9
  287. package/dist/chunks/{file-write-twssxy5n.js → kv-twssxy5n.js} +2 -2
  288. package/dist/chunks/{file-write-jy2czfqv.js → kv-tx91wa5k.js} +4 -4
  289. package/dist/chunks/{file-write-wd2f8zad.js → kv-v25bqyy8.js} +10 -10
  290. package/dist/chunks/{file-write-v2r1d0zg.js → kv-v2r1d0zg.js} +1 -1
  291. package/dist/chunks/{file-write-pmh9qr5m.js → kv-v4k1rqsy.js} +14 -14
  292. package/dist/chunks/{file-write-3jwy6mfv.js → kv-v5c8jcpx.js} +5 -5
  293. package/dist/chunks/{file-write-v5hpj9dd.js → kv-v5hpj9dd.js} +1 -1
  294. package/dist/chunks/{file-write-6mdrzdb3.js → kv-v7xvj23x.js} +28 -28
  295. package/dist/chunks/{file-write-x23vf9yb.js → kv-vap4139e.js} +21 -21
  296. package/dist/chunks/{file-write-89gnwhgc.js → kv-vb5jx6fx.js} +9 -9
  297. package/dist/chunks/{file-write-vjf35v1f.js → kv-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{file-write-zqqnxavm.js → kv-vmrjdeh6.js} +1 -1
  299. package/dist/chunks/{file-write-9nm02m01.js → kv-vrdk63vj.js} +7 -7
  300. package/dist/chunks/{file-write-rj7j5fvs.js → kv-vt2d6wap.js} +4 -4
  301. package/dist/chunks/{file-write-j6vesw1n.js → kv-vtkyewdg.js} +11 -11
  302. package/dist/chunks/{file-write-n1n3d8dh.js → kv-vvh1qsqw.js} +7 -7
  303. package/dist/chunks/{file-write-7h02jzgc.js → kv-vx4g6ffv.js} +38 -38
  304. package/dist/chunks/{file-write-crfddmzc.js → kv-vycsk1c7.js} +8 -8
  305. package/dist/chunks/{file-write-kq8z69ws.js → kv-vyg1nsxp.js} +13 -13
  306. package/dist/chunks/{file-write-85fpre75.js → kv-w3pak01y.js} +16 -16
  307. package/dist/chunks/{file-write-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  308. package/dist/chunks/{file-write-cjp6nrxk.js → kv-w95asz63.js} +27 -27
  309. package/dist/chunks/{file-write-wakvkjy4.js → kv-wakvkjy4.js} +1 -1
  310. package/dist/chunks/{file-write-t77s4nmz.js → kv-wawdn69p.js} +6 -6
  311. package/dist/chunks/{file-write-wd87259q.js → kv-wd87259q.js} +1 -1
  312. package/dist/chunks/{file-write-wegkxhrn.js → kv-wegkxhrn.js} +2 -2
  313. package/dist/chunks/{file-write-k3cx6fhe.js → kv-wfdx5ztx.js} +4 -4
  314. package/dist/chunks/{file-write-3jakmj60.js → kv-wn2vj2sg.js} +11 -11
  315. package/dist/chunks/{file-write-wnhgecwx.js → kv-wnhgecwx.js} +1 -1
  316. package/dist/chunks/{file-write-fznmdakp.js → kv-wr3re1en.js} +4 -4
  317. package/dist/chunks/{file-write-937jj0cs.js → kv-ws82s0a0.js} +8 -8
  318. package/dist/chunks/{file-write-nyxvvj5y.js → kv-wvr8xscb.js} +4 -4
  319. package/dist/chunks/{file-write-ksdwk731.js → kv-wzac9g9s.js} +9 -9
  320. package/dist/chunks/{file-write-537wtyt8.js → kv-xe76q1hg.js} +11 -11
  321. package/dist/chunks/{file-write-3adw4bt5.js → kv-xjbsd7zy.js} +9 -9
  322. package/dist/chunks/{file-write-xjr6c8m4.js → kv-xjr6c8m4.js} +1 -1
  323. package/dist/chunks/{file-write-7awjemk3.js → kv-xsyewey3.js} +10 -10
  324. package/dist/chunks/{file-write-sw0ng7yn.js → kv-xvebxx6w.js} +339 -339
  325. package/dist/chunks/{file-write-nfg5yszf.js → kv-xvgxca51.js} +8 -8
  326. package/dist/chunks/{file-write-q5g91w1z.js → kv-xy76eq5y.js} +15 -15
  327. package/dist/chunks/{file-write-gkjb3jfv.js → kv-y9zgxfrg.js} +7 -7
  328. package/dist/chunks/{file-write-yb20nhc3.js → kv-yb20nhc3.js} +1 -1
  329. package/dist/chunks/{file-write-q5n1fct6.js → kv-yczc8vts.js} +23 -23
  330. package/dist/chunks/{file-write-sseb9byk.js → kv-ydbnn6z1.js} +11 -11
  331. package/dist/chunks/{file-write-vyy7p69t.js → kv-ygjd5gzh.js} +3 -3
  332. package/dist/chunks/{file-write-yr705xyq.js → kv-yr705xyq.js} +1 -1
  333. package/dist/chunks/{file-write-ebxhk8xz.js → kv-yrs6180n.js} +19 -19
  334. package/dist/chunks/{file-write-wq0zq84p.js → kv-ytq4tgab.js} +2 -2
  335. package/dist/chunks/{file-write-yvtc2x31.js → kv-yvtc2x31.js} +1 -1
  336. package/dist/chunks/{file-write-t5m2t9py.js → kv-z02x5vkw.js} +18 -18
  337. package/dist/chunks/{file-write-90ct6wq4.js → kv-z080rjh6.js} +4 -4
  338. package/dist/chunks/{file-write-bzjfzcdg.js → kv-z3zmhb13.js} +21 -21
  339. package/dist/chunks/{file-write-21rebgfk.js → kv-z9tty0dh.js} +11 -11
  340. package/dist/chunks/{file-write-va908wz9.js → kv-zdxbh946.js} +19 -19
  341. package/dist/chunks/{file-write-ze75qvmd.js → kv-ze75qvmd.js} +3 -3
  342. package/dist/chunks/{file-write-hrpg1pdd.js → kv-zmtdeb8k.js} +7 -7
  343. package/dist/chunks/{file-write-4gepvshj.js → kv-zwbz7bgj.js} +10 -10
  344. package/dist/codemode/catalog.js +1 -1
  345. package/dist/codemode/execution.js +5 -5
  346. package/dist/codemode/fetch.js +145 -145
  347. package/dist/codemode/instructions.js +7 -7
  348. package/dist/codemode/tool.js +151 -151
  349. package/dist/command.js +92 -92
  350. package/dist/config/discovery.js +95 -95
  351. package/dist/config/integration.js +3 -3
  352. package/dist/config/managed.js +1 -1
  353. package/dist/config/markdown.js +1 -1
  354. package/dist/config/normalize.js +112 -112
  355. package/dist/config/plugin/agent.js +131 -131
  356. package/dist/config/plugin/command.js +232 -232
  357. package/dist/config/plugin/compaction.js +171 -171
  358. package/dist/config/plugin/compatibility.js +150 -150
  359. package/dist/config/plugin/entry-observer.js +1 -1
  360. package/dist/config/plugin/formatter.js +131 -131
  361. package/dist/config/plugin/image.js +130 -130
  362. package/dist/config/plugin/instruction.js +130 -130
  363. package/dist/config/plugin/location-watcher.js +130 -130
  364. package/dist/config/plugin/mcp.js +139 -139
  365. package/dist/config/plugin/policy.js +130 -130
  366. package/dist/config/plugin/provider.js +130 -130
  367. package/dist/config/plugin/reference.js +132 -132
  368. package/dist/config/plugin/shell.js +132 -132
  369. package/dist/config/plugin/skill-file.js +146 -146
  370. package/dist/config/plugin/skill-scan.js +1 -1
  371. package/dist/config/plugin/skill.js +153 -153
  372. package/dist/config/plugin/snapshot.js +130 -130
  373. package/dist/config/plugin/source.js +128 -128
  374. package/dist/config/plugin/tool-output.js +131 -131
  375. package/dist/config/plugin/websearch.js +131 -131
  376. package/dist/config/plugin/worktree.js +132 -132
  377. package/dist/config/variable.js +1 -1
  378. package/dist/config/watch.js +1 -1
  379. package/dist/config.js +135 -135
  380. package/dist/console-access.js +1 -1
  381. package/dist/credential/sql.js +2 -2
  382. package/dist/credential.js +88 -88
  383. package/dist/database/database.js +77 -77
  384. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  385. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  386. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  387. package/dist/database/drizzle/index.js +13 -13
  388. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  389. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  390. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  391. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  392. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  393. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  394. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  395. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  397. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  398. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  399. package/dist/database/drizzle.js +14 -14
  400. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  401. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  402. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  403. package/dist/database/migration/20260225215848_workspace.js +1 -1
  404. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  405. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  406. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  407. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  408. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  409. package/dist/database/migration/20260323234822_events.js +1 -1
  410. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  411. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  412. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  413. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  414. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  415. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  416. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  417. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  418. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  419. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  420. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  421. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  422. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  423. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  424. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  425. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  426. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  427. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  428. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  429. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  430. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  431. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  432. package/dist/database/migration/20260611035744_credential.js +1 -1
  433. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  434. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  435. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  436. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  437. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  438. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  439. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  440. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  441. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  442. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  443. package/dist/database/migration/20260812213948_worktree.js +1 -1
  444. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  445. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  446. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  447. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  448. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  449. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  450. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  451. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  452. package/dist/database/migration/20261025123711_blob.js +1 -1
  453. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  454. package/dist/database/migration/20261026223005_schedule.js +1 -1
  455. package/dist/database/migration/20261029002625_session_part.js +1 -1
  456. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  457. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  458. package/dist/database/migration/20261030054400_job.js +1 -1
  459. package/dist/database/migration.gen.js +60 -60
  460. package/dist/database/migration.js +62 -62
  461. package/dist/database/path.js +2 -2
  462. package/dist/database/schema.gen.js +1 -1
  463. package/dist/database/schema.sql.js +1 -1
  464. package/dist/database/v1-migration.bun.js +98 -98
  465. package/dist/database/v1-migration.js +1 -1
  466. package/dist/effect/app-node-builder.js +435 -435
  467. package/dist/effect/app-node-platform.js +2 -2
  468. package/dist/effect/keyed-mutex.js +1 -1
  469. package/dist/effect/websocket-constructor.js +1 -1
  470. package/dist/environment/driver.js +1 -1
  471. package/dist/environment/environment.js +105 -105
  472. package/dist/environment/exec-defaults.js +2 -2
  473. package/dist/environment/files.js +1 -1
  474. package/dist/environment/index.js +109 -109
  475. package/dist/environment/local.js +2 -2
  476. package/dist/environment/memory.js +2 -2
  477. package/dist/environment/unavailable.js +3 -3
  478. package/dist/event/sql.js +1 -1
  479. package/dist/event-logger.js +81 -81
  480. package/dist/file-access.js +157 -157
  481. package/dist/file-mutation.js +108 -108
  482. package/dist/file-retention.js +1 -1
  483. package/dist/file-write.js +161 -161
  484. package/dist/filesystem/fff.bun.js +2 -2
  485. package/dist/filesystem/fff.js +1 -1
  486. package/dist/filesystem/fff.node.js +2 -2
  487. package/dist/filesystem/fff.workerd.js +2 -2
  488. package/dist/filesystem/file-watch.js +88 -88
  489. package/dist/filesystem/location-watcher-policy.js +6 -6
  490. package/dist/filesystem/location-watcher.js +241 -241
  491. package/dist/filesystem/protected.js +1 -1
  492. package/dist/filesystem/search.js +111 -111
  493. package/dist/filesystem/watcher-binding.js +1 -1
  494. package/dist/filesystem/watcher.js +11 -11
  495. package/dist/filesystem.js +116 -116
  496. package/dist/form.js +91 -91
  497. package/dist/formatter/builtins.js +2 -2
  498. package/dist/formatter.js +100 -100
  499. package/dist/generate.js +114 -114
  500. package/dist/git.js +7 -7
  501. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  502. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  503. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  504. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  505. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  506. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  507. package/dist/github-copilot/copilot-provider.js +17 -17
  508. package/dist/github-copilot/models.js +112 -112
  509. package/dist/github-copilot/openai-compatible-error.js +1 -1
  510. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  511. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  512. package/dist/github-copilot/responses/openai-error.js +1 -1
  513. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  514. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  515. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  516. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  517. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  518. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  519. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  520. package/dist/image/notice.js +1 -1
  521. package/dist/image/photon-normalize.js +1 -1
  522. package/dist/image/photon-worker.js +1 -1
  523. package/dist/image/photon.js +4 -4
  524. package/dist/image.js +6 -6
  525. package/dist/instance/service.js +5 -5
  526. package/dist/instance.js +426 -426
  527. package/dist/instruction-discovery.js +97 -97
  528. package/dist/instructions/builtins.js +98 -98
  529. package/dist/instructions/index.js +3 -3
  530. package/dist/integration/connection.js +3 -3
  531. package/dist/integration.js +96 -96
  532. package/dist/job/sql.js +2 -2
  533. package/dist/job.js +88 -88
  534. package/dist/kv/sql.js +2 -2
  535. package/dist/kv.js +84 -84
  536. package/dist/location-activity.js +176 -176
  537. package/dist/location-lifecycle.js +150 -150
  538. package/dist/location-service-map.js +99 -99
  539. package/dist/location-services.js +423 -423
  540. package/dist/location.js +102 -102
  541. package/dist/managed-policy.js +3 -3
  542. package/dist/mcp/client.js +105 -105
  543. package/dist/mcp/connection.js +106 -106
  544. package/dist/mcp/index.js +116 -116
  545. package/dist/mcp/instructions.js +181 -181
  546. package/dist/mcp/oauth.js +86 -86
  547. package/dist/mcp/socket-client.js +1 -1
  548. package/dist/mcp/stdio.js +104 -104
  549. package/dist/mime.js +1 -1
  550. package/dist/modal/models.js +112 -112
  551. package/dist/model-resolver.js +112 -112
  552. package/dist/model-retry.js +1 -1
  553. package/dist/model.js +103 -103
  554. package/dist/models-dev/v1.js +1 -1
  555. package/dist/models-dev.js +117 -117
  556. package/dist/oauth/page.js +1 -1
  557. package/dist/permission/saved.js +89 -89
  558. package/dist/permission/sql.js +5 -5
  559. package/dist/permission.js +151 -151
  560. package/dist/persistent-pty/binary.bun.js +1 -1
  561. package/dist/persistent-pty/daemon.js +1 -1
  562. package/dist/persistent-pty/index.js +91 -91
  563. package/dist/persistent-pty/pty-binding.js +1 -1
  564. package/dist/persistent-pty.js +86 -86
  565. package/dist/plugin/agent.js +85 -85
  566. package/dist/plugin/command.js +115 -115
  567. package/dist/plugin/goal.js +3 -3
  568. package/dist/plugin/hooks.js +5 -5
  569. package/dist/plugin/host.js +238 -238
  570. package/dist/plugin/identity.js +5 -5
  571. package/dist/plugin/instance.js +1 -1
  572. package/dist/plugin/internal.js +402 -402
  573. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  574. package/dist/plugin/models-dev.js +110 -110
  575. package/dist/plugin/module.js +129 -129
  576. package/dist/plugin/optimize.js +4 -4
  577. package/dist/plugin/plan.js +146 -146
  578. package/dist/plugin/promise.js +1 -1
  579. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  580. package/dist/plugin/provider/azure.js +133 -133
  581. package/dist/plugin/provider/cerebras.js +1 -1
  582. package/dist/plugin/provider/chatgpt.js +133 -133
  583. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  584. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  587. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  589. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  590. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  591. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  592. package/dist/plugin/provider/claude-agent/index.js +148 -148
  593. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  594. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  595. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  597. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  598. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  602. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  603. package/dist/plugin/provider/claude-agent/session.js +112 -112
  604. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  605. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  606. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  608. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  614. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  615. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  616. package/dist/plugin/provider/configured.js +126 -126
  617. package/dist/plugin/provider/credential-settings.js +88 -88
  618. package/dist/plugin/provider/databricks.js +1 -1
  619. package/dist/plugin/provider/digitalocean.js +109 -109
  620. package/dist/plugin/provider/dynamic.js +2 -2
  621. package/dist/plugin/provider/github-copilot.js +111 -111
  622. package/dist/plugin/provider/gitlab.js +109 -109
  623. package/dist/plugin/provider/google-vertex.js +127 -127
  624. package/dist/plugin/provider/kilo.js +1 -1
  625. package/dist/plugin/provider/llmgateway.js +89 -89
  626. package/dist/plugin/provider/lmstudio.js +138 -138
  627. package/dist/plugin/provider/local.js +137 -137
  628. package/dist/plugin/provider/modal.js +108 -108
  629. package/dist/plugin/provider/neon.js +1 -1
  630. package/dist/plugin/provider/nvidia.js +1 -1
  631. package/dist/plugin/provider/ollama.js +140 -140
  632. package/dist/plugin/provider/openai-context-caps.js +106 -106
  633. package/dist/plugin/provider/openai.js +135 -135
  634. package/dist/plugin/provider/opencode.js +157 -157
  635. package/dist/plugin/provider/openrouter.js +104 -104
  636. package/dist/plugin/provider/poe.js +90 -90
  637. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  638. package/dist/plugin/provider/refresh.js +87 -87
  639. package/dist/plugin/provider/sap-ai-core.js +104 -104
  640. package/dist/plugin/provider/sdk-factory.js +1 -1
  641. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  642. package/dist/plugin/provider/vllm.js +140 -140
  643. package/dist/plugin/provider/xai.js +104 -104
  644. package/dist/plugin/provider/zenmux.js +1 -1
  645. package/dist/plugin/provider.js +235 -235
  646. package/dist/plugin/sdk.js +89 -89
  647. package/dist/plugin/service.js +3 -3
  648. package/dist/plugin/skill.js +149 -149
  649. package/dist/plugin/source-directory.js +1 -1
  650. package/dist/plugin/supervisor.js +410 -410
  651. package/dist/plugin/tool-input-repair.js +4 -4
  652. package/dist/plugin/update.js +2 -2
  653. package/dist/plugin/vcs/git.js +99 -99
  654. package/dist/plugin/vcs/hg.js +99 -99
  655. package/dist/plugin/verbosity.js +106 -106
  656. package/dist/plugin/warming.js +130 -130
  657. package/dist/plugin/websearch/exa.js +8 -8
  658. package/dist/plugin/websearch/firecrawl.js +9 -9
  659. package/dist/plugin/websearch/index.js +10 -10
  660. package/dist/plugin/websearch/mcp.js +4 -4
  661. package/dist/plugin/websearch/parallel.js +9 -9
  662. package/dist/plugin/websearch/provider.js +1 -1
  663. package/dist/plugin/websearch/tavily.js +5 -5
  664. package/dist/plugin/websearch/tinyfish.js +9 -9
  665. package/dist/plugin.js +241 -241
  666. package/dist/project/icon.js +5 -5
  667. package/dist/project/schema.js +2 -2
  668. package/dist/project/sql.js +4 -4
  669. package/dist/project.js +93 -93
  670. package/dist/provider.js +102 -102
  671. package/dist/pty/protocol.js +1 -1
  672. package/dist/pty/ticket.js +1 -1
  673. package/dist/pty.js +99 -99
  674. package/dist/reference/instructions.js +99 -99
  675. package/dist/reference.js +103 -103
  676. package/dist/repository-cache.js +93 -93
  677. package/dist/repository.js +1 -1
  678. package/dist/ripgrep/binary.js +2 -2
  679. package/dist/ripgrep.js +111 -111
  680. package/dist/rpc.js +99 -99
  681. package/dist/schedule/check.js +243 -243
  682. package/dist/schedule/sql.js +6 -6
  683. package/dist/schedule.js +245 -245
  684. package/dist/schema.js +1 -1
  685. package/dist/session/affinity.js +1 -1
  686. package/dist/session/background.js +1 -1
  687. package/dist/session/blob.js +129 -129
  688. package/dist/session/command.js +85 -85
  689. package/dist/session/compaction.js +173 -173
  690. package/dist/session/context.js +200 -200
  691. package/dist/session/diff.js +101 -101
  692. package/dist/session/environment.js +5 -5
  693. package/dist/session/error.js +3 -3
  694. package/dist/session/event.js +1 -1
  695. package/dist/session/execution/restart.js +241 -241
  696. package/dist/session/execution.js +165 -165
  697. package/dist/session/generate.js +200 -200
  698. package/dist/session/history.js +136 -136
  699. package/dist/session/inbox.js +145 -145
  700. package/dist/session/info.js +3 -3
  701. package/dist/session/instruction-entry.js +90 -90
  702. package/dist/session/instruction-state.js +8 -8
  703. package/dist/session/instructions.js +143 -143
  704. package/dist/session/message-updater.js +2 -2
  705. package/dist/session/message.js +1 -1
  706. package/dist/session/model-request.js +168 -168
  707. package/dist/session/model-transport.js +9 -9
  708. package/dist/session/move.js +165 -165
  709. package/dist/session/projector.js +143 -143
  710. package/dist/session/prompt.js +148 -148
  711. package/dist/session/recent-text.js +1 -1
  712. package/dist/session/revert.js +139 -139
  713. package/dist/session/run-coordinator.js +3 -3
  714. package/dist/session/runner/index.js +3 -3
  715. package/dist/session/runner/llm.js +250 -250
  716. package/dist/session/runner/max-steps.js +1 -1
  717. package/dist/session/runner/model.js +113 -113
  718. package/dist/session/runner/publish-llm-event.js +149 -149
  719. package/dist/session/runner/retry.js +3 -3
  720. package/dist/session/runner/step.js +161 -161
  721. package/dist/session/runner/to-llm-message.js +137 -137
  722. package/dist/session/schema.js +1 -1
  723. package/dist/session/session.js +182 -182
  724. package/dist/session/shell.js +145 -145
  725. package/dist/session/skill.js +147 -147
  726. package/dist/session/sql.js +5 -5
  727. package/dist/session/stats.js +84 -84
  728. package/dist/session/store.js +142 -142
  729. package/dist/session/stored.js +4 -4
  730. package/dist/session/subagent-completion.js +1 -1
  731. package/dist/session/subagent-job.js +231 -231
  732. package/dist/session/system-prompt.js +3 -3
  733. package/dist/session/title.js +198 -198
  734. package/dist/session/to-session-error.js +148 -148
  735. package/dist/session/transfer.js +234 -234
  736. package/dist/session/usage.js +1 -1
  737. package/dist/session.js +229 -229
  738. package/dist/shared-cache.js +1 -1
  739. package/dist/shell/parse.js +6 -6
  740. package/dist/shell/result.js +1 -1
  741. package/dist/shell/scan.js +1 -1
  742. package/dist/shell/select.js +11 -11
  743. package/dist/shell.js +147 -147
  744. package/dist/skill/discovery.js +6 -6
  745. package/dist/skill/instructions.js +149 -149
  746. package/dist/skill.js +154 -154
  747. package/dist/snapshot.js +104 -104
  748. package/dist/state.js +1 -1
  749. package/dist/tool/html-markdown.js +1 -1
  750. package/dist/tool/http-body.js +1 -1
  751. package/dist/tool/mcp.js +182 -182
  752. package/dist/tool/plugin/artifact.js +230 -230
  753. package/dist/tool/plugin/edit.js +165 -165
  754. package/dist/tool/plugin/file-diff.js +1 -1
  755. package/dist/tool/plugin/glob.js +169 -169
  756. package/dist/tool/plugin/grep.js +170 -170
  757. package/dist/tool/plugin/image-generate.js +241 -241
  758. package/dist/tool/plugin/mcp-resource.js +164 -164
  759. package/dist/tool/plugin/opencode.js +163 -163
  760. package/dist/tool/plugin/patch.js +166 -166
  761. package/dist/tool/plugin/question.js +146 -146
  762. package/dist/tool/plugin/read.js +172 -172
  763. package/dist/tool/plugin/schedule.js +249 -249
  764. package/dist/tool/plugin/shell.js +237 -237
  765. package/dist/tool/plugin/skill.js +157 -157
  766. package/dist/tool/plugin/subagent.js +238 -238
  767. package/dist/tool/plugin/todo.js +153 -153
  768. package/dist/tool/plugin/webfetch.js +153 -153
  769. package/dist/tool/plugin/websearch.js +155 -155
  770. package/dist/tool/plugin/write.js +168 -168
  771. package/dist/tool/read-filesystem.js +116 -116
  772. package/dist/tool/runtime.js +1 -1
  773. package/dist/tool/search.js +109 -109
  774. package/dist/tool-output.js +7 -7
  775. package/dist/tool.js +161 -161
  776. package/dist/usage-limits.js +96 -96
  777. package/dist/util/error-summary.js +1 -1
  778. package/dist/util/git-executable.js +3 -3
  779. package/dist/util/lazy.js +1 -1
  780. package/dist/util/slug.js +1 -1
  781. package/dist/util/token.js +1 -1
  782. package/dist/util/which.js +1 -1
  783. package/dist/util/wildcard.js +1 -1
  784. package/dist/v1/config/agent.js +5 -5
  785. package/dist/v1/config/command.js +3 -3
  786. package/dist/v1/config/mcp.js +4 -4
  787. package/dist/v1/config/migrate.js +105 -105
  788. package/dist/v1/config/permission.js +3 -3
  789. package/dist/v1/config/plugin.js +3 -3
  790. package/dist/v1/config/provider-options.js +1 -1
  791. package/dist/v1/config/provider.js +4 -4
  792. package/dist/variant.js +106 -106
  793. package/dist/vcs/patch.js +1 -1
  794. package/dist/vcs.js +98 -98
  795. package/dist/voice.js +97 -97
  796. package/dist/websearch.js +99 -99
  797. package/dist/wellknown/plugin.js +85 -85
  798. package/dist/wellknown.js +92 -92
  799. package/dist/workspace/driver.js +5 -5
  800. package/dist/workspace/sql.js +1 -1
  801. package/dist/workspace.js +93 -93
  802. package/dist/worktree/directory.js +2 -2
  803. package/dist/worktree/git.js +11 -11
  804. package/dist/worktree/sql.js +5 -5
  805. package/dist/worktree/strategies.js +102 -102
  806. package/dist/worktree.js +111 -111
  807. package/package.json +8 -8
  808. package/dist/chunks/file-write-4xz8p7j7.js +0 -16
  809. package/dist/chunks/file-write-grzehpz7.js +0 -18
  810. package/dist/chunks/file-write-n5b5573m.js +0 -265
  811. package/dist/chunks/file-write-p7e5hsjn.js +0 -26
  812. /package/dist/chunks/{file-write-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  813. /package/dist/chunks/{file-write-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  814. /package/dist/chunks/{file-write-108x4f4w.js → kv-108x4f4w.js} +0 -0
  815. /package/dist/chunks/{file-write-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  816. /package/dist/chunks/{file-write-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  817. /package/dist/chunks/{file-write-1kah00gy.js → kv-1kah00gy.js} +0 -0
  818. /package/dist/chunks/{file-write-24dcb14g.js → kv-24dcb14g.js} +0 -0
  819. /package/dist/chunks/{file-write-2710q6r3.js → kv-2710q6r3.js} +0 -0
  820. /package/dist/chunks/{file-write-2bv980vf.js → kv-2bv980vf.js} +0 -0
  821. /package/dist/chunks/{file-write-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  822. /package/dist/chunks/{file-write-359p4xyc.js → kv-359p4xyc.js} +0 -0
  823. /package/dist/chunks/{file-write-3af0jn4w.js → kv-3af0jn4w.js} +0 -0
  824. /package/dist/chunks/{file-write-3asan66x.js → kv-3asan66x.js} +0 -0
  825. /package/dist/chunks/{file-write-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  826. /package/dist/chunks/{file-write-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  827. /package/dist/chunks/{file-write-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  828. /package/dist/chunks/{file-write-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  829. /package/dist/chunks/{file-write-4qk9sjk2.js → kv-4qk9sjk2.js} +0 -0
  830. /package/dist/chunks/{file-write-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  831. /package/dist/chunks/{file-write-53557ph1.js → kv-53557ph1.js} +0 -0
  832. /package/dist/chunks/{file-write-550bvhaj.js → kv-550bvhaj.js} +0 -0
  833. /package/dist/chunks/{file-write-5w3e23ze.js → kv-5w3e23ze.js} +0 -0
  834. /package/dist/chunks/{file-write-6agm2x70.js → kv-6agm2x70.js} +0 -0
  835. /package/dist/chunks/{file-write-6prwharc.js → kv-6prwharc.js} +0 -0
  836. /package/dist/chunks/{file-write-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
  837. /package/dist/chunks/{file-write-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  838. /package/dist/chunks/{file-write-7m9af43g.js → kv-7m9af43g.js} +0 -0
  839. /package/dist/chunks/{file-write-822emrt2.js → kv-822emrt2.js} +0 -0
  840. /package/dist/chunks/{file-write-84wd9syh.js → kv-84wd9syh.js} +0 -0
  841. /package/dist/chunks/{file-write-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  842. /package/dist/chunks/{file-write-8n3pysct.js → kv-8n3pysct.js} +0 -0
  843. /package/dist/chunks/{file-write-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  844. /package/dist/chunks/{file-write-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  845. /package/dist/chunks/{file-write-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  846. /package/dist/chunks/{file-write-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  847. /package/dist/chunks/{file-write-af5trqkr.js → kv-af5trqkr.js} +0 -0
  848. /package/dist/chunks/{file-write-afrmfg78.js → kv-afrmfg78.js} +0 -0
  849. /package/dist/chunks/{file-write-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  850. /package/dist/chunks/{file-write-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  851. /package/dist/chunks/{file-write-beh6qq61.js → kv-beh6qq61.js} +0 -0
  852. /package/dist/chunks/{file-write-bhmrqjy3.js → kv-bhmrqjy3.js} +0 -0
  853. /package/dist/chunks/{file-write-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  854. /package/dist/chunks/{file-write-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  855. /package/dist/chunks/{file-write-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  856. /package/dist/chunks/{file-write-cqv5kn06.js → kv-cqv5kn06.js} +0 -0
  857. /package/dist/chunks/{file-write-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  858. /package/dist/chunks/{file-write-d9fn303g.js → kv-d9fn303g.js} +0 -0
  859. /package/dist/chunks/{file-write-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  860. /package/dist/chunks/{file-write-dap0rakb.js → kv-dap0rakb.js} +0 -0
  861. /package/dist/chunks/{file-write-df08tz66.js → kv-df08tz66.js} +0 -0
  862. /package/dist/chunks/{file-write-dy18nga0.js → kv-dy18nga0.js} +0 -0
  863. /package/dist/chunks/{file-write-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  864. /package/dist/chunks/{file-write-ean2d8b5.js → kv-ean2d8b5.js} +0 -0
  865. /package/dist/chunks/{file-write-ec1grn59.js → kv-ec1grn59.js} +0 -0
  866. /package/dist/chunks/{file-write-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  867. /package/dist/chunks/{file-write-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  868. /package/dist/chunks/{file-write-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  869. /package/dist/chunks/{file-write-faypxj3z.js → kv-faypxj3z.js} +0 -0
  870. /package/dist/chunks/{file-write-fd410y7t.js → kv-fd410y7t.js} +0 -0
  871. /package/dist/chunks/{file-write-fkpq3x5p.js → kv-fkpq3x5p.js} +0 -0
  872. /package/dist/chunks/{file-write-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  873. /package/dist/chunks/{file-write-g86h250q.js → kv-g86h250q.js} +0 -0
  874. /package/dist/chunks/{file-write-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  875. /package/dist/chunks/{file-write-gftt206x.js → kv-gftt206x.js} +0 -0
  876. /package/dist/chunks/{file-write-hcxmzztb.js → kv-hcxmzztb.js} +0 -0
  877. /package/dist/chunks/{file-write-hk9envan.js → kv-hk9envan.js} +0 -0
  878. /package/dist/chunks/{file-write-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  879. /package/dist/chunks/{file-write-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  880. /package/dist/chunks/{file-write-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  881. /package/dist/chunks/{file-write-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  882. /package/dist/chunks/{file-write-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  883. /package/dist/chunks/{file-write-jwr30sdr.js → kv-jwr30sdr.js} +0 -0
  884. /package/dist/chunks/{file-write-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  885. /package/dist/chunks/{file-write-m18g726c.js → kv-m18g726c.js} +0 -0
  886. /package/dist/chunks/{file-write-mp448xyj.js → kv-mp448xyj.js} +0 -0
  887. /package/dist/chunks/{file-write-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  888. /package/dist/chunks/{file-write-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  889. /package/dist/chunks/{file-write-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  890. /package/dist/chunks/{file-write-nh4v3znn.js → kv-nh4v3znn.js} +0 -0
  891. /package/dist/chunks/{file-write-njntx4h6.js → kv-njntx4h6.js} +0 -0
  892. /package/dist/chunks/{file-write-nv2c5e9q.js → kv-nv2c5e9q.js} +0 -0
  893. /package/dist/chunks/{file-write-p71gwv9c.js → kv-p71gwv9c.js} +0 -0
  894. /package/dist/chunks/{file-write-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  895. /package/dist/chunks/{file-write-q74kybfr.js → kv-q74kybfr.js} +0 -0
  896. /package/dist/chunks/{file-write-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  897. /package/dist/chunks/{file-write-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  898. /package/dist/chunks/{file-write-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  899. /package/dist/chunks/{file-write-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  900. /package/dist/chunks/{file-write-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  901. /package/dist/chunks/{file-write-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  902. /package/dist/chunks/{file-write-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  903. /package/dist/chunks/{file-write-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  904. /package/dist/chunks/{file-write-syrav9an.js → kv-syrav9an.js} +0 -0
  905. /package/dist/chunks/{file-write-t03h4f5z.js → kv-t03h4f5z.js} +0 -0
  906. /package/dist/chunks/{file-write-ty7weeps.js → kv-ty7weeps.js} +0 -0
  907. /package/dist/chunks/{file-write-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
  908. /package/dist/chunks/{file-write-vtarvj67.js → kv-vtarvj67.js} +0 -0
  909. /package/dist/chunks/{file-write-w803qqfp.js → kv-w803qqfp.js} +0 -0
  910. /package/dist/chunks/{file-write-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  911. /package/dist/chunks/{file-write-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  912. /package/dist/chunks/{file-write-wtztk69x.js → kv-wtztk69x.js} +0 -0
  913. /package/dist/chunks/{file-write-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  914. /package/dist/chunks/{file-write-x61499pn.js → kv-x61499pn.js} +0 -0
  915. /package/dist/chunks/{file-write-y44na4kk.js → kv-y44na4kk.js} +0 -0
  916. /package/dist/chunks/{file-write-y8f7s663.js → kv-y8f7s663.js} +0 -0
  917. /package/dist/chunks/{file-write-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  918. /package/dist/chunks/{file-write-z0h12gs8.js → kv-z0h12gs8.js} +0 -0
  919. /package/dist/chunks/{file-write-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
  920. /package/dist/chunks/{file-write-z9919s4g.js → kv-z9919s4g.js} +0 -0
  921. /package/dist/chunks/{file-write-zxpyjp51.js → kv-zxpyjp51.js} +0 -0
@@ -1,143 +1,143 @@
1
1
  import {
2
2
  Metadata2,
3
- node66
4
- } from "./file-write-pdh4dm2s.js";
3
+ node65
4
+ } from "./kv-1s424h9e.js";
5
5
  import {
6
6
  Service90,
7
7
  node93
8
- } from "./file-write-s6qg811h.js";
8
+ } from "./kv-kf2y3hyd.js";
9
9
  import {
10
10
  ID14,
11
- Service75,
12
- node78
13
- } from "./file-write-q5g91w1z.js";
11
+ Service68,
12
+ node71
13
+ } from "./kv-xy76eq5y.js";
14
14
  import {
15
- ID20,
15
+ ID19,
16
16
  OAuth3
17
- } from "./file-write-f2j71z4x.js";
17
+ } from "./kv-t0qztpcm.js";
18
18
  import {
19
19
  AbsolutePath2
20
- } from "./file-write-z5v4ffb3.js";
20
+ } from "./kv-z5v4ffb3.js";
21
21
  import {
22
- Info30,
23
- Ref5,
24
- Service87,
25
- node90
26
- } from "./file-write-k7cbg2ay.js";
22
+ Info26,
23
+ Ref4,
24
+ Service84,
25
+ node87
26
+ } from "./kv-aaffqxme.js";
27
27
  import {
28
28
  ID18,
29
29
  MethodID2,
30
30
  AttemptID2,
31
31
  Method2,
32
- Service84,
33
- node87
34
- } from "./file-write-djct0mdn.js";
32
+ Service85,
33
+ node88
34
+ } from "./kv-bn3sq0ta.js";
35
35
  import {
36
36
  ID17,
37
37
  Service83,
38
38
  node86
39
- } from "./file-write-tanqgt4q.js";
39
+ } from "./kv-72p8cdgw.js";
40
40
  import {
41
41
  ID16,
42
42
  Service82,
43
43
  node85
44
- } from "./file-write-ksdwk731.js";
44
+ } from "./kv-wzac9g9s.js";
45
45
  import {
46
- Service80,
47
- node83
48
- } from "./file-write-wd2f8zad.js";
46
+ Service79,
47
+ node82
48
+ } from "./kv-v25bqyy8.js";
49
49
  import {
50
50
  Key2,
51
- Service30,
52
- node34
53
- } from "./file-write-e4y0ask3.js";
51
+ Service34,
52
+ node38
53
+ } from "./kv-ckf1qbq4.js";
54
54
  import {
55
- Service76,
56
- node79
57
- } from "./file-write-g4v74gy6.js";
55
+ Service69,
56
+ node72
57
+ } from "./kv-1zc261y1.js";
58
58
  import {
59
- Service72,
60
- node75
61
- } from "./file-write-10527dbc.js";
59
+ Service65,
60
+ node68
61
+ } from "./kv-tg895eva.js";
62
62
  import {
63
- Service60,
64
- node61
65
- } from "./file-write-6fb0z2g9.js";
63
+ Service75,
64
+ node78
65
+ } from "./kv-01j9hg6p.js";
66
66
  import {
67
- ID11
68
- } from "./file-write-6mdrzdb3.js";
67
+ ID10
68
+ } from "./kv-v7xvj23x.js";
69
69
  import {
70
- Service39,
71
- node42
72
- } from "./file-write-7h02jzgc.js";
70
+ Service43,
71
+ node46
72
+ } from "./kv-vx4g6ffv.js";
73
73
  import {
74
- Service53,
75
- node55,
76
- Error4
77
- } from "./file-write-4yyv3090.js";
74
+ Service45,
75
+ node48,
76
+ Error2
77
+ } from "./kv-2eby3rgr.js";
78
78
  import {
79
- Source4,
80
- Service62,
81
- node63
82
- } from "./file-write-66zyvbav.js";
79
+ Source5,
80
+ Service73,
81
+ node76
82
+ } from "./kv-1f03813e.js";
83
83
  import {
84
- Info11,
85
- Service50,
86
- node52
87
- } from "./file-write-bzjfzcdg.js";
84
+ Info14,
85
+ Service64,
86
+ node67
87
+ } from "./kv-z3zmhb13.js";
88
88
  import {
89
- Service57,
90
- node58
91
- } from "./file-write-bfq1rn8x.js";
89
+ Service51,
90
+ node53
91
+ } from "./kv-7phhn59s.js";
92
92
  import {
93
- Service81,
94
- node84
95
- } from "./file-write-abtrrvdj.js";
93
+ Service63,
94
+ node66
95
+ } from "./kv-nmev1w6s.js";
96
96
  import {
97
- Service27,
98
- node30
99
- } from "./file-write-8hs8rm5b.js";
97
+ Service31,
98
+ node34
99
+ } from "./kv-j10kb1p7.js";
100
100
  import {
101
101
  ProviderID2,
102
- Service26,
103
- node29
104
- } from "./file-write-7ccwrwdy.js";
102
+ Service22,
103
+ node25
104
+ } from "./kv-0qc6z4yr.js";
105
105
  import {
106
- Service25,
107
- node28
108
- } from "./file-write-qf4vf8cc.js";
106
+ Service29,
107
+ node32
108
+ } from "./kv-q0mm9a3b.js";
109
109
  import {
110
- Service71,
111
- node74,
110
+ Service25,
111
+ node28,
112
112
  eventDefinition2
113
- } from "./file-write-w295xx70.js";
113
+ } from "./kv-8kmbd2d4.js";
114
114
  import {
115
115
  Service23,
116
116
  node26
117
- } from "./file-write-yn2x9e3v.js";
117
+ } from "./kv-6zxz81zm.js";
118
118
  import {
119
- ID7,
120
- Service22,
121
- node25
122
- } from "./file-write-rpk8ag22.js";
119
+ ID8,
120
+ Service30,
121
+ node33
122
+ } from "./kv-4smfxh8y.js";
123
123
  import {
124
- Service69,
125
- node72
126
- } from "./file-write-d1e9y59e.js";
124
+ Service27,
125
+ node30
126
+ } from "./kv-q3bvgzf6.js";
127
127
  import {
128
128
  StrategyID2,
129
- Info15,
130
- ListEntry3,
131
- Service68,
132
- node71
133
- } from "./file-write-7tr184c0.js";
129
+ Info9,
130
+ ListEntry2,
131
+ Service26,
132
+ node29
133
+ } from "./kv-gdhsk6ph.js";
134
134
  import {
135
- Service24,
136
- node27
137
- } from "./file-write-p4jsx867.js";
135
+ Service28,
136
+ node31
137
+ } from "./kv-hwntad0x.js";
138
138
  import {
139
139
  __export
140
- } from "./file-write-9rqn6x4v.js";
140
+ } from "./kv-9rqn6x4v.js";
141
141
 
142
142
  // src/plugin/host.ts
143
143
  var exports_host = {};
@@ -157,52 +157,52 @@ var isRpcEvent = (event) => isRpcType(event.type);
157
157
  var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
158
158
  var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
159
159
  const app = yield* Metadata2;
160
- const agents = yield* Service75;
161
- const artifacts = yield* Service26;
162
- const aisdk = yield* Service60;
160
+ const agents = yield* Service68;
161
+ const artifacts = yield* Service22;
162
+ const aisdk = yield* Service75;
163
163
  const providers = yield* Service83;
164
164
  const models = yield* Service82;
165
- const commands = yield* Service57;
165
+ const commands = yield* Service51;
166
166
  const bus = yield* Service90;
167
- const integration = yield* Service84;
168
- const kv = yield* Service80;
169
- const mcp = yield* Service39;
170
- const location = yield* Service87;
171
- const reference = yield* Service62;
172
- const rpc = yield* Service71;
173
- const skill = yield* Service50;
174
- const tools = yield* Service53;
167
+ const integration = yield* Service85;
168
+ const kv = yield* Service79;
169
+ const mcp = yield* Service43;
170
+ const location = yield* Service84;
171
+ const reference = yield* Service73;
172
+ const rpc = yield* Service25;
173
+ const skill = yield* Service64;
174
+ const tools = yield* Service45;
175
175
  const vcs = yield* Service23;
176
- const websearch = yield* Service22;
177
- const generate = yield* Service24;
176
+ const websearch = yield* Service30;
177
+ const generate = yield* Service28;
178
178
  const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
179
- const permission = yield* Service72;
180
- const hooks = yield* Service76;
181
- const sessions = yield* Service27;
182
- const instructionEntries = yield* Service30;
183
- const persistentPty = yield* Service25;
184
- const locations = yield* Service81;
185
- const worktrees = yield* Service68;
186
- const worktreeStrategies = yield* Service69;
179
+ const permission = yield* Service65;
180
+ const hooks = yield* Service69;
181
+ const sessions = yield* Service31;
182
+ const instructionEntries = yield* Service34;
183
+ const persistentPty = yield* Service29;
184
+ const locations = yield* Service63;
185
+ const worktrees = yield* Service26;
186
+ const worktreeStrategies = yield* Service27;
187
187
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
188
- const locationInfo = (current = location) => new Info30({
188
+ const locationInfo = (current = location) => new Info26({
189
189
  directory: current.directory,
190
190
  workspaceID: current.workspaceID,
191
191
  project: current.project
192
192
  });
193
- const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
193
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
194
194
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
195
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
195
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
196
196
  });
197
197
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
198
198
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
199
199
  const atLocation = (ref, effect) => Effect.gen(function* () {
200
- return { location: locationInfo(yield* Service87), data: yield* effect };
200
+ return { location: locationInfo(yield* Service84), data: yield* effect };
201
201
  }).pipe(Effect.provide(locations.get(ref)));
202
202
  const sessionPermission = (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`))));
203
- const decodeWorktree = Schema.decodeUnknownEffect(Info15);
204
- const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
205
- const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service75, (agents) => agents.list())).pipe(Effect.orDie));
203
+ const decodeWorktree = Schema.decodeUnknownEffect(Info9);
204
+ const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
205
+ const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service68, (agents) => agents.list())).pipe(Effect.orDie));
206
206
  const context = {
207
207
  app,
208
208
  location: locationInfo(),
@@ -451,7 +451,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
451
451
  list: (input) => {
452
452
  const ref = locationRef(input);
453
453
  if (ref && !isCurrentLocation(ref))
454
- return atLocation(ref, Effect.flatMap(Service39, (mcp) => mcp.servers()));
454
+ return atLocation(ref, Effect.flatMap(Service43, (mcp) => mcp.servers()));
455
455
  return response(mcp.servers());
456
456
  },
457
457
  reload: mcp.reload,
@@ -471,9 +471,9 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
471
471
  get: sessionPermission,
472
472
  reply: (input) => sessionPermission(input).pipe(Effect.andThen(() => permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }))),
473
473
  assert: (input) => permission.assert(input).pipe(Effect.catchTags({
474
- "Permission.BlockedError": (error) => Effect.fail(new Error4({ message: error.message, error })),
475
- "Permission.CorrectedError": (error) => Effect.fail(new Error4({ message: error.feedback, error })),
476
- "Session.NotFoundError": (error) => Effect.fail(new Error4({ message: `Session not found: ${error.sessionID}`, error }))
474
+ "Permission.BlockedError": (error) => Effect.fail(new Error2({ message: error.message, error })),
475
+ "Permission.CorrectedError": (error) => Effect.fail(new Error2({ message: error.feedback, error })),
476
+ "Session.NotFoundError": (error) => Effect.fail(new Error2({ message: `Session not found: ${error.sessionID}`, error }))
477
477
  }))
478
478
  },
479
479
  plugin: {
@@ -484,7 +484,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
484
484
  reload: reference.reload,
485
485
  transform: (callback) => reference.transform((editor) => {
486
486
  callback({
487
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
487
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
488
488
  remove: editor.remove,
489
489
  list: editor.list,
490
490
  get: editor.get
@@ -498,7 +498,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
498
498
  callback({
499
499
  list: () => mutable(editor.list()),
500
500
  get: editor.get,
501
- add: (value) => editor.add(Schema.decodeUnknownSync(Info11)(value)),
501
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info14)(value)),
502
502
  update: editor.update,
503
503
  remove: editor.remove
504
504
  });
@@ -529,19 +529,19 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
529
529
  providers: () => response(websearch.providers()),
530
530
  query: (input) => response(websearch.query({
531
531
  query: input.query,
532
- providerID: input.providerID === undefined ? undefined : ID7.make(input.providerID)
532
+ providerID: input.providerID === undefined ? undefined : ID8.make(input.providerID)
533
533
  })),
534
534
  reload: websearch.reload,
535
535
  transform: (callback) => websearch.transform((editor) => {
536
536
  callback({
537
537
  add: (definition) => editor.add({
538
- id: ID7.make(definition.id),
538
+ id: ID8.make(definition.id),
539
539
  name: definition.name,
540
540
  execute: definition.execute
541
541
  }),
542
542
  default: {
543
543
  get: editor.default.get,
544
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID7.make(selection))
544
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID8.make(selection))
545
545
  }
546
546
  });
547
547
  })
@@ -572,7 +572,7 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
572
572
  metadata: input?.metadata,
573
573
  permissions: input?.permissions,
574
574
  ...input?.parentID === undefined ? {
575
- location: input?.location ?? Ref5.make({ directory: location.directory, workspaceID: location.workspaceID })
575
+ location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
576
576
  } : { parentID: input.parentID }
577
577
  }),
578
578
  get: (input) => sessions.get(input.sessionID),
@@ -620,33 +620,33 @@ var make21 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
620
620
  return context;
621
621
  });
622
622
  var requirements3 = LayerNode.group([
623
- node66,
623
+ node65,
624
+ node71,
625
+ node25,
624
626
  node78,
625
- node29,
626
- node61,
627
627
  node86,
628
628
  node85,
629
- node58,
629
+ node53,
630
630
  node93,
631
+ node88,
632
+ node82,
633
+ node46,
631
634
  node87,
632
- node83,
633
- node42,
634
- node90,
635
- node63,
636
- node74,
637
- node52,
638
- node55,
635
+ node76,
636
+ node28,
637
+ node67,
638
+ node48,
639
639
  node26,
640
- node25,
641
- node71,
642
- node72,
643
- node27,
644
- node75,
645
- node79,
640
+ node33,
641
+ node29,
646
642
  node30,
643
+ node31,
644
+ node68,
645
+ node72,
647
646
  node34,
648
- node28,
649
- node84
647
+ node38,
648
+ node32,
649
+ node66
650
650
  ]);
651
651
  function storage2(kv, pluginID) {
652
652
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -715,7 +715,7 @@ function methodImplementation(input) {
715
715
  };
716
716
  }
717
717
  function connectionInfo(connection) {
718
- return connection.type === "credential" ? { ...connection, id: ID20.make(connection.id) } : connection;
718
+ return connection.type === "credential" ? { ...connection, id: ID19.make(connection.id) } : connection;
719
719
  }
720
720
  function credential(value) {
721
721
  return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-write-z5v4ffb3.js";
3
+ } from "./kv-z5v4ffb3.js";
4
4
  import {
5
5
  Service89,
6
6
  node92
7
- } from "./file-write-vgbhzz5z.js";
7
+ } from "./kv-k3zq5bxc.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./file-write-bstexjd6.js";
13
+ } from "./kv-bstexjd6.js";
14
14
  import {
15
- Service80,
16
- node83
17
- } from "./file-write-wd2f8zad.js";
15
+ Service79,
16
+ node82
17
+ } from "./kv-v25bqyy8.js";
18
18
  import {
19
19
  __export
20
- } from "./file-write-9rqn6x4v.js";
20
+ } from "./kv-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service63,
33
+ Service: () => Service76,
34
34
  isError: () => isError2,
35
- node: () => node64,
35
+ node: () => node79,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service63 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service76 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  var isError2 = Schema.is(Schema.Union([
96
96
  InvalidBranchError2,
@@ -107,13 +107,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
107
107
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
108
108
  });
109
109
  });
110
- var layer = Layer.effect(Service63, Effect.gen(function* () {
110
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
111
111
  const fs = yield* FSUtil.Service;
112
112
  const git = yield* Service89;
113
113
  const flock = yield* EffectFlock.Service;
114
114
  const global = yield* Global.Service;
115
- const kv = yield* Service80;
116
- return Service63.of({
115
+ const kv = yield* Service79;
116
+ return Service76.of({
117
117
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
118
118
  if (input.branch)
119
119
  yield* validateBranch2(input.branch);
@@ -175,10 +175,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
175
175
  })
176
176
  });
177
177
  }));
178
- var node64 = makeGlobalNode({
179
- service: Service63,
178
+ var node79 = makeGlobalNode({
179
+ service: Service76,
180
180
  layer,
181
- deps: [EffectFlock.node, FSUtil.node, node92, Global.node, node83]
181
+ deps: [EffectFlock.node, FSUtil.node, node92, Global.node, node82]
182
182
  });
183
183
  function errorMessage(error) {
184
184
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -187,4 +187,4 @@ function cacheOperation(effect, operation, target) {
187
187
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
188
188
  }
189
189
 
190
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service63, isError2, validateBranch2, node64, exports_repository_cache };
190
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service76, isError2, validateBranch2, node79, exports_repository_cache };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./file-write-s6qg811h.js";
4
+ } from "./kv-kf2y3hyd.js";
5
5
  import {
6
6
  __export
7
- } from "./file-write-9rqn6x4v.js";
7
+ } from "./kv-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID19,
20
- Info: () => Info28,
19
+ ID: () => ID20,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError13,
24
24
  Reply: () => Reply3,
25
- Service: () => Service85,
25
+ Service: () => Service87,
26
26
  State: () => State3,
27
27
  When: () => When3,
28
28
  layer: () => layer27,
29
- node: () => node88,
29
+ node: () => node90,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID19 = Form.ID;
39
- var Info28 = Form.Info;
38
+ var ID20 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When3 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID19
48
+ id: ID20
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID19
56
+ id: ID20
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID19
64
+ id: ID20
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID19,
72
+ id: ID20,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service85 extends Context.Service()("@opencode/Form") {
82
+ class Service87 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service85, Effect.gen(function* () {
84
+ var layer27 = Layer.effect(Service87, Effect.gen(function* () {
85
85
  const bus = yield* Service90;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -90,7 +90,7 @@ var layer27 = Layer.effect(Service85, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID19.create();
93
+ const id = input.id ?? ID20.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service85, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service85.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service87.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node88 = makeLocationNode({ service: Service85, layer: layer27, deps: [node93] });
167
+ var node90 = makeLocationNode({ service: Service87, layer: layer27, deps: [node93] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service85, layer27, node88, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID20, Info30, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service87, layer27, node90, validateAnswer2, validateFields2, exports_form, Event20 };