@opencode/core 0.0.0-dev-393 → 0.0.0-dev-398

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 (914) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  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 +232 -232
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{state-vbssec1d.js → repository-00qfdy27.js} +29 -29
  9. package/dist/chunks/{state-73gkfqd7.js → repository-00r8q0yt.js} +29 -29
  10. package/dist/chunks/{state-48m0p4qs.js → repository-0160n4e9.js} +6 -6
  11. package/dist/chunks/{state-034tev2y.js → repository-034tev2y.js} +2 -2
  12. package/dist/chunks/{state-vknx7eh1.js → repository-03h4ymk6.js} +4 -4
  13. package/dist/chunks/{state-rm34t0fx.js → repository-07nbfc86.js} +3 -3
  14. package/dist/chunks/{state-hvyxpd0d.js → repository-0anx5598.js} +21 -21
  15. package/dist/chunks/{state-0j7gp832.js → repository-0j7gp832.js} +1 -1
  16. package/dist/chunks/{state-1m0e4qdv.js → repository-0qn50e8a.js} +9 -9
  17. package/dist/chunks/{state-bzr3b510.js → repository-12vj2b1h.js} +13 -13
  18. package/dist/chunks/{state-px9xmdpy.js → repository-12w3gwbs.js} +9 -9
  19. package/dist/chunks/{state-wewpmm4b.js → repository-163d9n7a.js} +12 -12
  20. package/dist/chunks/{state-trx7nt34.js → repository-17f8cxnn.js} +15 -15
  21. package/dist/chunks/{state-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{state-1ep2p91f.js → repository-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{state-kta770dd.js → repository-1f75kze0.js} +21 -21
  24. package/dist/chunks/{state-7pj2069b.js → repository-1mnq2rn5.js} +5 -5
  25. package/dist/chunks/{state-sf8nbxbe.js → repository-1vnt2h24.js} +19 -19
  26. package/dist/chunks/{state-641q1vjj.js → repository-1ww1rpnf.js} +59 -59
  27. package/dist/chunks/{state-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{state-yhfwd5gc.js → repository-1xpbhcsv.js} +35 -35
  29. package/dist/chunks/{state-1yq9hg58.js → repository-1yq9hg58.js} +1 -1
  30. package/dist/chunks/{state-b0573t9j.js → repository-1zy208v1.js} +13 -13
  31. package/dist/chunks/{state-7jen3kst.js → repository-20cae54x.js} +9 -9
  32. package/dist/chunks/{state-px7qpgcn.js → repository-229tvxdn.js} +4 -4
  33. package/dist/chunks/{state-qax8vj9h.js → repository-2fgrey3x.js} +11 -11
  34. package/dist/chunks/{state-bwfkpp7v.js → repository-2gw36y1w.js} +19 -19
  35. package/dist/chunks/{state-0smt5b1y.js → repository-2kkw9hyz.js} +6 -6
  36. package/dist/chunks/{state-2p60zmnr.js → repository-2p60zmnr.js} +2 -2
  37. package/dist/chunks/{state-np1324p3.js → repository-2pc2x7h5.js} +33 -33
  38. package/dist/chunks/{state-bthfbq8f.js → repository-2t113hd6.js} +6 -6
  39. package/dist/chunks/{state-31avdb49.js → repository-31avdb49.js} +3 -3
  40. package/dist/chunks/{state-nkkeh327.js → repository-38yzze0k.js} +12 -12
  41. package/dist/chunks/{state-19d303gc.js → repository-3cj3n7a2.js} +11 -11
  42. package/dist/chunks/{state-h8n75vy4.js → repository-3d3pvmxz.js} +12 -12
  43. package/dist/chunks/{state-vg3bhdbp.js → repository-3gfpnfqk.js} +1 -1
  44. package/dist/chunks/{state-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{state-rsjg3dzm.js → repository-3jf1xmra.js} +26 -26
  46. package/dist/chunks/{state-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{state-xz097ptw.js → repository-3rnx49f9.js} +8 -5
  48. package/dist/chunks/{state-d2k1f648.js → repository-3xx0nvzn.js} +5 -5
  49. package/dist/chunks/{state-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
  50. package/dist/chunks/{state-qvg3z4qx.js → repository-42yrh4ar.js} +30 -30
  51. package/dist/chunks/{state-pmy97759.js → repository-43517qt4.js} +9 -9
  52. package/dist/chunks/{state-n15nns0h.js → repository-43ax85f5.js} +14 -14
  53. package/dist/chunks/{state-4k0twk1c.js → repository-43t800eb.js} +7 -7
  54. package/dist/chunks/{state-44pmzq9c.js → repository-44pmzq9c.js} +2 -2
  55. package/dist/chunks/{state-56ddg3xh.js → repository-4bh8py8c.js} +5 -5
  56. package/dist/chunks/{state-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
  57. package/dist/chunks/{state-mdvtz8t2.js → repository-4ez1xyss.js} +27 -27
  58. package/dist/chunks/{state-4f25tdd0.js → repository-4f25tdd0.js} +1 -1
  59. package/dist/chunks/{state-gahey6n0.js → repository-4fs1ttzm.js} +35 -35
  60. package/dist/chunks/{state-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
  61. package/dist/chunks/{state-g7jaz8th.js → repository-4sd5nkp5.js} +28 -28
  62. package/dist/chunks/{state-4v008n1t.js → repository-4v008n1t.js} +1 -1
  63. package/dist/chunks/{state-kcsn6986.js → repository-4wg58wk0.js} +13 -13
  64. package/dist/chunks/{state-rqysqgs5.js → repository-4wzs20xx.js} +3 -3
  65. package/dist/chunks/{state-7rn2tgva.js → repository-4zeh2781.js} +23 -23
  66. package/dist/chunks/{state-jc512s3p.js → repository-53qrs49z.js} +8 -8
  67. package/dist/chunks/{state-3n03ejdw.js → repository-53rrm9sf.js} +10 -10
  68. package/dist/chunks/{state-jrxc3jgt.js → repository-57q76zcw.js} +5 -5
  69. package/dist/chunks/{state-996qv2g3.js → repository-5e13b2kr.js} +1 -1
  70. package/dist/chunks/{state-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
  71. package/dist/chunks/{state-byd6yge4.js → repository-5rp489bd.js} +11 -11
  72. package/dist/chunks/{state-5ngvdyzg.js → repository-5rsxnmrp.js} +16 -16
  73. package/dist/chunks/{state-jjk0b4sp.js → repository-5sph470p.js} +11 -11
  74. package/dist/chunks/{state-8mw53c6m.js → repository-5zsangy9.js} +23 -23
  75. package/dist/chunks/{state-rf1cvd9q.js → repository-67xca3db.js} +7 -7
  76. package/dist/chunks/{state-zwgy8ndz.js → repository-687hq225.js} +53 -53
  77. package/dist/chunks/{state-5v42y69a.js → repository-6aekme1e.js} +5 -5
  78. package/dist/chunks/{state-6esdw8yj.js → repository-6esdw8yj.js} +1 -1
  79. package/dist/chunks/{state-fynmzd3d.js → repository-6gyvhx5a.js} +8 -8
  80. package/dist/chunks/{state-gv8f8cne.js → repository-6gzr7cf8.js} +24 -24
  81. package/dist/chunks/{state-s4sm4tqg.js → repository-6j0xgcj1.js} +5 -5
  82. package/dist/chunks/{state-47s8f065.js → repository-6j8sp8g6.js} +49 -49
  83. package/dist/chunks/{state-vnjc296t.js → repository-6q8jj3zs.js} +2 -2
  84. package/dist/chunks/{state-6m3cdbvc.js → repository-715ez6py.js} +26 -26
  85. package/dist/chunks/{state-vv26esct.js → repository-7389kptq.js} +11 -11
  86. package/dist/chunks/{state-3rz1gwbg.js → repository-73mp86fw.js} +10 -10
  87. package/dist/chunks/{state-e4sxjejc.js → repository-75t7768k.js} +18 -18
  88. package/dist/chunks/{state-w8qtt4th.js → repository-76cb1hcw.js} +4 -4
  89. package/dist/chunks/{state-b2kx2yqz.js → repository-79scnwzb.js} +10 -10
  90. package/dist/chunks/{state-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{state-kke5d6vq.js → repository-7d4wtrr4.js} +13 -13
  92. package/dist/chunks/{state-h7wqn8vn.js → repository-7g7rhba8.js} +4 -4
  93. package/dist/chunks/{state-7kr66rt3.js → repository-7kr66rt3.js} +1 -1
  94. package/dist/chunks/{state-q75c6g3b.js → repository-7mefzhmg.js} +9 -9
  95. package/dist/chunks/{state-a5fx33f2.js → repository-7nqkf5r1.js} +6 -6
  96. package/dist/chunks/{state-g6277kmk.js → repository-7qt7d24k.js} +1 -1
  97. package/dist/chunks/{state-0dct8czz.js → repository-7vk054hd.js} +12 -12
  98. package/dist/chunks/{state-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
  99. package/dist/chunks/{state-ffy3twbs.js → repository-7xt82jmj.js} +18 -18
  100. package/dist/chunks/{state-ws94v0ha.js → repository-80j5eryf.js} +19 -19
  101. package/dist/chunks/{state-80mg3ag8.js → repository-80mg3ag8.js} +3 -3
  102. package/dist/chunks/{state-hb8y0qq0.js → repository-86ng5cw0.js} +4 -4
  103. package/dist/chunks/{state-89287pr7.js → repository-89287pr7.js} +1 -1
  104. package/dist/chunks/{state-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
  105. package/dist/chunks/{state-4d2dtj2f.js → repository-8cg7mtm3.js} +4 -4
  106. package/dist/chunks/{state-v80n1jgs.js → repository-8jw5dp9j.js} +6 -6
  107. package/dist/chunks/{state-2kykchgf.js → repository-8p90nvs2.js} +15 -15
  108. package/dist/chunks/{state-wfs84ra6.js → repository-8t99kr38.js} +4 -4
  109. package/dist/chunks/{state-r58d8wgj.js → repository-8vm714rn.js} +34 -32
  110. package/dist/chunks/{state-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
  111. package/dist/chunks/{state-90zstvax.js → repository-90zstvax.js} +1 -1
  112. package/dist/chunks/{state-zyfhsknv.js → repository-963hk181.js} +9 -9
  113. package/dist/chunks/{state-h3gs7wxb.js → repository-9e28vbjj.js} +36 -36
  114. package/dist/chunks/{state-t614117q.js → repository-9ed90ky0.js} +32 -32
  115. package/dist/chunks/{state-h4k0743s.js → repository-9myj1rt3.js} +2 -2
  116. package/dist/chunks/{state-hbjv2bz0.js → repository-a0d132hd.js} +12 -12
  117. package/dist/chunks/{state-w9bn5hmw.js → repository-a1qwck5h.js} +8 -8
  118. package/dist/chunks/{state-9wer7rt0.js → repository-a3a17e1e.js} +35 -35
  119. package/dist/chunks/{state-rte4cdn2.js → repository-a3tva24r.js} +21 -21
  120. package/dist/chunks/{state-hw7nk7v4.js → repository-a59kc8m4.js} +11 -11
  121. package/dist/chunks/{state-fe1ga2fx.js → repository-a5hf8tf4.js} +13 -13
  122. package/dist/chunks/{state-7c1acd8m.js → repository-ac1j90m4.js} +18 -18
  123. package/dist/chunks/{state-e2sg7jdv.js → repository-ad10dq2h.js} +26 -26
  124. package/dist/chunks/{state-an6hzmd3.js → repository-ak9xvm0n.js} +11 -11
  125. package/dist/chunks/{state-rs34vge8.js → repository-akc4t9gv.js} +30 -30
  126. package/dist/chunks/{state-mcz497rw.js → repository-an7p6n0m.js} +14 -14
  127. package/dist/chunks/{state-dcxawmaj.js → repository-ankbfx9c.js} +17 -17
  128. package/dist/chunks/{state-hdhewkmr.js → repository-axtwz132.js} +4 -4
  129. package/dist/chunks/{state-ayjs7tqn.js → repository-ayjs7tqn.js} +2 -2
  130. package/dist/chunks/{state-hvbybzt7.js → repository-b2ht1kmm.js} +14 -14
  131. package/dist/chunks/{state-hkkf7yjp.js → repository-b4z90bz3.js} +32 -32
  132. package/dist/chunks/{state-5nnwax6m.js → repository-b6vsg801.js} +5 -5
  133. package/dist/chunks/{state-7b0yxgp4.js → repository-b73pa457.js} +11 -11
  134. package/dist/chunks/{state-vmxsyvj6.js → repository-bhfd478d.js} +4 -4
  135. package/dist/chunks/{state-0a20qbkp.js → repository-bkycdrpd.js} +24 -24
  136. package/dist/chunks/{state-bnzx9dwt.js → repository-bnzx9dwt.js} +2 -2
  137. package/dist/chunks/{state-8g90eqn0.js → repository-bt7vp3wg.js} +7 -7
  138. package/dist/chunks/{state-qzm6zhs2.js → repository-bv5k4tct.js} +31 -31
  139. package/dist/chunks/{state-n4r92pqm.js → repository-bz9e4xwq.js} +30 -30
  140. package/dist/chunks/{state-0t098hqn.js → repository-ce5fknq2.js} +5 -5
  141. package/dist/chunks/{state-yetjgbjc.js → repository-cfq471k7.js} +37 -37
  142. package/dist/chunks/repository-cn9xv7mh.js +26 -0
  143. package/dist/chunks/{state-y6rtrkcm.js → repository-cqx1a29r.js} +18 -18
  144. package/dist/chunks/{state-mzfc5fp5.js → repository-csmjcn1q.js} +16 -16
  145. package/dist/chunks/{state-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
  146. package/dist/chunks/{state-e2wtfr6s.js → repository-cxpktaf3.js} +2 -2
  147. package/dist/chunks/{state-t9pdq77j.js → repository-d1bq990r.js} +6 -6
  148. package/dist/chunks/{state-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
  149. package/dist/chunks/{state-e3k523fc.js → repository-d5v2xrz0.js} +8 -8
  150. package/dist/chunks/{state-vjm7mjrg.js → repository-d6hk4npf.js} +84 -84
  151. package/dist/chunks/{state-qsn63thd.js → repository-dg3tysff.js} +6 -6
  152. package/dist/chunks/{state-7sysqgzb.js → repository-dmakv3jz.js} +4 -4
  153. package/dist/chunks/{state-sfn12v13.js → repository-dpraxfyb.js} +2 -2
  154. package/dist/chunks/{state-qf93q27e.js → repository-dqddngz4.js} +10 -10
  155. package/dist/chunks/{state-dt77769w.js → repository-dt77769w.js} +1 -1
  156. package/dist/chunks/{state-9sy1j1hj.js → repository-dv96216k.js} +4 -4
  157. package/dist/chunks/{state-3h8z8wz5.js → repository-dwrmbyqf.js} +4 -4
  158. package/dist/chunks/{state-36k98q34.js → repository-e7pmcp40.js} +11 -11
  159. package/dist/chunks/{state-e834z07m.js → repository-e834z07m.js} +1 -1
  160. package/dist/chunks/{state-6srxf2b1.js → repository-ecrcxjkp.js} +5 -5
  161. package/dist/chunks/{state-y4narh25.js → repository-egsrr66v.js} +8 -8
  162. package/dist/chunks/{state-85f9c9n5.js → repository-epxyk7zg.js} +13 -13
  163. package/dist/chunks/{state-xnyrm20a.js → repository-eqktjn3r.js} +7 -7
  164. package/dist/chunks/{state-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
  165. package/dist/chunks/{state-m4yf5w44.js → repository-est5w5t7.js} +4 -4
  166. package/dist/chunks/repository-ev660z6k.js +18 -0
  167. package/dist/chunks/{state-bkd2snnm.js → repository-evxxbf4w.js} +22 -22
  168. package/dist/chunks/{state-jfmt1g8q.js → repository-ex7m7qe1.js} +8 -8
  169. package/dist/chunks/{state-sv909n4y.js → repository-f341sazs.js} +3 -3
  170. package/dist/chunks/{state-m3np4vj9.js → repository-fb1sejwy.js} +21 -21
  171. package/dist/chunks/{state-t0nz5sn8.js → repository-fbaygqc2.js} +18 -18
  172. package/dist/chunks/{state-fjrrbk94.js → repository-fbjqxkhq.js} +5 -5
  173. package/dist/chunks/{state-pwwe1nns.js → repository-fcwk9vhw.js} +17 -17
  174. package/dist/chunks/{state-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
  175. package/dist/chunks/{state-fde7s928.js → repository-fhahebde.js} +4 -4
  176. package/dist/chunks/{state-jg9csdcz.js → repository-fsevz08s.js} +28 -28
  177. package/dist/chunks/{state-21tb34h2.js → repository-g1jn7dpj.js} +6 -6
  178. package/dist/chunks/{state-htep8p36.js → repository-g4f6ps2a.js} +9 -9
  179. package/dist/chunks/{state-90ct6wq4.js → repository-g5ajqn12.js} +4 -4
  180. package/dist/chunks/{state-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
  181. package/dist/chunks/{state-frzebw3v.js → repository-gbkyg869.js} +36 -36
  182. package/dist/chunks/{state-aqxk7krm.js → repository-gfy59a16.js} +32 -32
  183. package/dist/chunks/{state-gmemj5zs.js → repository-gmemj5zs.js} +1 -1
  184. package/dist/chunks/{state-p3w2d4be.js → repository-gmqag8rw.js} +3 -3
  185. package/dist/chunks/{state-4wt7fhby.js → repository-h4z7h7ag.js} +8 -8
  186. package/dist/chunks/{state-zqsp8fck.js → repository-h78gmwm8.js} +7 -7
  187. package/dist/chunks/{state-zc7avgqx.js → repository-hfdx7xtc.js} +15 -15
  188. package/dist/chunks/{state-j2xdm5pc.js → repository-hg8tt10n.js} +48 -48
  189. package/dist/chunks/{state-hh7kjqtw.js → repository-hh7kjqtw.js} +1 -1
  190. package/dist/chunks/{state-hpg1pkwy.js → repository-hpg1pkwy.js} +1 -1
  191. package/dist/chunks/{state-hbnjngs9.js → repository-hppgwy0r.js} +162 -162
  192. package/dist/chunks/{state-agz3tzmp.js → repository-hva0766z.js} +46 -46
  193. package/dist/chunks/{state-hy8c1z76.js → repository-hw621kav.js} +8 -8
  194. package/dist/chunks/{state-pb811aet.js → repository-j6k5nchf.js} +3 -3
  195. package/dist/chunks/{state-7k20sj52.js → repository-j7vcdfrp.js} +7 -7
  196. package/dist/chunks/{state-452tx3w1.js → repository-jhq8j8y9.js} +11 -11
  197. package/dist/chunks/{state-an1qcwxm.js → repository-jjv3ebv6.js} +7 -7
  198. package/dist/chunks/{state-9hxvq81s.js → repository-jqgqc1vf.js} +18 -18
  199. package/dist/chunks/{state-jtnps1zs.js → repository-jtnps1zs.js} +2 -2
  200. package/dist/chunks/{state-c37n0erx.js → repository-k207nqnc.js} +13 -13
  201. package/dist/chunks/{state-wfdx5ztx.js → repository-k3cx6fhe.js} +4 -4
  202. package/dist/chunks/{state-1v3j17r1.js → repository-kd06wgjj.js} +17 -17
  203. package/dist/chunks/{state-qjrsxg5x.js → repository-kdtfz1k3.js} +21 -21
  204. package/dist/chunks/{state-c2dbbhpx.js → repository-kf43d1eq.js} +16 -16
  205. package/dist/chunks/{state-qfz6bxfd.js → repository-kj9n5bvh.js} +4 -4
  206. package/dist/chunks/{state-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
  207. package/dist/chunks/{state-539dw32x.js → repository-ky55b5b1.js} +4 -4
  208. package/dist/chunks/{state-kzczzf4v.js → repository-kzczzf4v.js} +1 -1
  209. package/dist/chunks/{state-m1714858.js → repository-m1714858.js} +1 -1
  210. package/dist/chunks/{state-xay38q9g.js → repository-m2c0tfws.js} +28 -28
  211. package/dist/chunks/{state-a4h8tact.js → repository-m6cfdtf3.js} +4 -4
  212. package/dist/chunks/{state-faqpyehj.js → repository-m6erdz7g.js} +25 -25
  213. package/dist/chunks/{state-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  214. package/dist/chunks/{state-mb7mbhnz.js → repository-mb7mbhnz.js} +3 -3
  215. package/dist/chunks/{state-tjw6pmwz.js → repository-mjvy5yzf.js} +45 -45
  216. package/dist/chunks/{state-ehmn5k6t.js → repository-mpd288r4.js} +23 -23
  217. package/dist/chunks/{state-hktgtfdh.js → repository-mq45sd29.js} +28 -28
  218. package/dist/chunks/{state-1v2g13eq.js → repository-msd2a3qm.js} +4 -4
  219. package/dist/chunks/{state-kp4j94c3.js → repository-mtbbaj7x.js} +6 -6
  220. package/dist/chunks/{state-gfqgkchk.js → repository-mvg5jam3.js} +28 -28
  221. package/dist/chunks/{state-e255q57e.js → repository-mx6f7k3w.js} +31 -31
  222. package/dist/chunks/{state-9z88th0c.js → repository-n0026tak.js} +6 -6
  223. package/dist/chunks/{state-dd8xfryb.js → repository-n1yy3t2x.js} +69 -69
  224. package/dist/chunks/{state-h8xga5q6.js → repository-n5c9sy2r.js} +18 -18
  225. package/dist/chunks/{state-gcjdgkn2.js → repository-n7bnkb3p.js} +9 -9
  226. package/dist/chunks/{state-nah043kf.js → repository-nah043kf.js} +1 -1
  227. package/dist/chunks/{state-g3hn69cm.js → repository-nbh8p6ww.js} +28 -28
  228. package/dist/chunks/{state-qyf7yaea.js → repository-nbvp3f9m.js} +24 -24
  229. package/dist/chunks/{state-728a2w8f.js → repository-nf6qbft0.js} +32 -32
  230. package/dist/chunks/{state-9tjhwdqk.js → repository-nvh9azrc.js} +9 -9
  231. package/dist/chunks/{state-p015t6z3.js → repository-p015t6z3.js} +2 -2
  232. package/dist/chunks/{state-gr1m0gby.js → repository-p212j8y1.js} +15 -15
  233. package/dist/chunks/{state-qkc3z5ds.js → repository-p76me67c.js} +4 -4
  234. package/dist/chunks/{state-f4w02zpr.js → repository-pa3fs051.js} +9 -9
  235. package/dist/chunks/{state-s0ny4jqw.js → repository-pahg8g4d.js} +9 -9
  236. package/dist/chunks/{state-egfzd81v.js → repository-pbdkmj6p.js} +17 -17
  237. package/dist/chunks/{state-a0g2880y.js → repository-pgj56wr2.js} +17 -17
  238. package/dist/chunks/{state-kght8exf.js → repository-pjnewz4h.js} +15 -15
  239. package/dist/chunks/{state-pknna89w.js → repository-pknna89w.js} +1 -1
  240. package/dist/chunks/{state-fg9p65nk.js → repository-prq7xxp2.js} +6 -6
  241. package/dist/chunks/{state-9w88qcrs.js → repository-q315ntxc.js} +3 -3
  242. package/dist/chunks/{state-67kb74bv.js → repository-q52p8ber.js} +10 -10
  243. package/dist/chunks/{state-056p44da.js → repository-q58ddcyg.js} +18 -18
  244. package/dist/chunks/{state-p2zgsc1h.js → repository-qaxfcnsv.js} +11 -11
  245. package/dist/chunks/{state-sng0s06c.js → repository-qb2784ew.js} +13 -13
  246. package/dist/chunks/{state-kzdam8c6.js → repository-qk5sk9d1.js} +7 -7
  247. package/dist/chunks/{state-r3851nav.js → repository-qm58qbvp.js} +9 -9
  248. package/dist/chunks/{state-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
  249. package/dist/chunks/{state-3ryz99p0.js → repository-qqg9c0kv.js} +4 -4
  250. package/dist/chunks/{state-qqvy8y24.js → repository-qqvy8y24.js} +1 -1
  251. package/dist/chunks/{state-rmv7fhs4.js → repository-qw2t3dzn.js} +6 -6
  252. package/dist/chunks/{state-r2sbm81b.js → repository-qwrwand2.js} +36 -36
  253. package/dist/chunks/{state-5d9nbz4j.js → repository-r7tfzb8e.js} +8 -8
  254. package/dist/chunks/{state-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
  255. package/dist/chunks/{state-w8m2qkq0.js → repository-re3hbd1p.js} +8 -8
  256. package/dist/chunks/{state-t2jtqtvw.js → repository-rh83epcf.js} +38 -38
  257. package/dist/chunks/{state-apsxpycy.js → repository-rk9mn8f7.js} +21 -21
  258. package/dist/chunks/{state-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
  259. package/dist/chunks/{state-a4bbeqg1.js → repository-rw8wdfk3.js} +10 -10
  260. package/dist/chunks/repository-s251z23y.js +261 -0
  261. package/dist/chunks/{state-mzm8bzzq.js → repository-s6h2s3rz.js} +4 -4
  262. package/dist/chunks/{state-w3yh1k6j.js → repository-s8tccdec.js} +4 -4
  263. package/dist/chunks/{state-sa3fpqfw.js → repository-sa3fpqfw.js} +2 -2
  264. package/dist/chunks/{state-j9dm8chg.js → repository-sa4ztjn1.js} +5 -5
  265. package/dist/chunks/{state-sbya78hr.js → repository-sbya78hr.js} +1 -1
  266. package/dist/chunks/{state-61qraad9.js → repository-scmk72rv.js} +5 -5
  267. package/dist/chunks/{state-eavcrtrz.js → repository-sdn2zcx3.js} +2 -2
  268. package/dist/chunks/{state-cy49dps4.js → repository-smhhrjeq.js} +24 -24
  269. package/dist/chunks/{state-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
  270. package/dist/chunks/{state-szwm4crx.js → repository-szwm4crx.js} +4 -4
  271. package/dist/chunks/{state-bcyyfzcr.js → repository-t2ce5xch.js} +12 -12
  272. package/dist/chunks/{state-xzr21tmy.js → repository-t7q1s4jf.js} +40 -40
  273. package/dist/chunks/{state-mq52ddsp.js → repository-t9kr4kfh.js} +11 -11
  274. package/dist/chunks/{state-bnhkbqse.js → repository-tay525vg.js} +12 -12
  275. package/dist/chunks/{state-4mk899yb.js → repository-tcb8d6wv.js} +15 -15
  276. package/dist/chunks/{state-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
  277. package/dist/chunks/{state-gxs71cxp.js → repository-tg7s7b5t.js} +4 -4
  278. package/dist/chunks/{state-j626ddfa.js → repository-tpx7g6md.js} +32 -32
  279. package/dist/chunks/{state-tr8x705m.js → repository-tr8x705m.js} +1 -1
  280. package/dist/chunks/{state-twssxy5n.js → repository-twssxy5n.js} +2 -2
  281. package/dist/chunks/{state-v0t96s7a.js → repository-v0t96s7a.js} +1 -1
  282. package/dist/chunks/{state-0csbgeh2.js → repository-v2gedntn.js} +9 -9
  283. package/dist/chunks/{state-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
  284. package/dist/chunks/{state-nrtv0tdb.js → repository-v5da91pb.js} +10 -10
  285. package/dist/chunks/{state-f27d80qk.js → repository-v8bad55c.js} +17 -17
  286. package/dist/chunks/{state-r6a1wz6v.js → repository-vaaw7kac.js} +50 -50
  287. package/dist/chunks/{state-qvne8qvj.js → repository-vcrsdn8r.js} +14 -14
  288. package/dist/chunks/{state-8pjtyw4w.js → repository-vd9yn8w3.js} +21 -21
  289. package/dist/chunks/{state-y6n1sdeh.js → repository-vekvn0ce.js} +75 -75
  290. package/dist/chunks/{state-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
  291. package/dist/chunks/{state-xxav5nwt.js → repository-vpdytt8w.js} +3 -3
  292. package/dist/chunks/{state-kac21e5p.js → repository-vsx6z3ef.js} +18 -18
  293. package/dist/chunks/{state-9rne3ehg.js → repository-vw0zhxcn.js} +15 -15
  294. package/dist/chunks/{state-76aqqymw.js → repository-vx6zbweh.js} +24 -24
  295. package/dist/chunks/{state-40za9wsf.js → repository-w2eysc6j.js} +9 -9
  296. package/dist/chunks/{state-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  297. package/dist/chunks/{state-nge6p6vt.js → repository-w52d91kq.js} +12 -12
  298. package/dist/chunks/{state-fznmdakp.js → repository-w687dnns.js} +4 -4
  299. package/dist/chunks/{state-ndnbjp53.js → repository-w7qzbdzf.js} +17 -17
  300. package/dist/chunks/{state-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
  301. package/dist/chunks/{state-wd87259q.js → repository-wd87259q.js} +1 -1
  302. package/dist/chunks/{state-wegkxhrn.js → repository-wegkxhrn.js} +2 -2
  303. package/dist/chunks/repository-werwhw8f.js +549 -0
  304. package/dist/chunks/{state-5xemk3sw.js → repository-wexf2k6a.js} +14 -14
  305. package/dist/chunks/{state-pxhs3dky.js → repository-wh1wjwqr.js} +9 -9
  306. package/dist/chunks/{state-5pg8y8w0.js → repository-wn6m9687.js} +15 -15
  307. package/dist/chunks/{state-wnhgecwx.js → repository-wnhgecwx.js} +1 -1
  308. package/dist/chunks/{state-q1y1sb9f.js → repository-wsfx1sg6.js} +13 -13
  309. package/dist/chunks/{state-wvr8xscb.js → repository-wvr8xscb.js} +1 -1
  310. package/dist/chunks/{state-hdreqhvr.js → repository-ww2p0375.js} +3 -3
  311. package/dist/chunks/{state-05mm50vf.js → repository-wy9m61br.js} +9 -9
  312. package/dist/chunks/{state-n7m4s8k6.js → repository-x4edsjm2.js} +19 -19
  313. package/dist/chunks/{state-teav1bzy.js → repository-x7de2wha.js} +9 -9
  314. package/dist/chunks/{state-1afv7ask.js → repository-xa91xadg.js} +11 -11
  315. package/dist/chunks/{state-bstexjd6.js → repository-xd9cc171.js} +5 -5
  316. package/dist/chunks/{state-7g5zg8tv.js → repository-xdjqbh1q.js} +13 -13
  317. package/dist/chunks/{state-5m4ecct2.js → repository-xj1s8g0g.js} +27 -27
  318. package/dist/chunks/{state-3v0spw5n.js → repository-xp4s1g3x.js} +18 -18
  319. package/dist/chunks/{state-be10j6na.js → repository-xrhq19gq.js} +4 -4
  320. package/dist/chunks/{state-58rf0bjp.js → repository-xv0kd9hc.js} +16 -16
  321. package/dist/chunks/{state-kmrkjxcg.js → repository-y52vf7zr.js} +21 -21
  322. package/dist/chunks/{state-yara3q77.js → repository-yara3q77.js} +2 -2
  323. package/dist/chunks/{state-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
  324. package/dist/chunks/{state-42qdq8te.js → repository-ygkrqd61.js} +16 -16
  325. package/dist/chunks/{state-sbz71ybr.js → repository-yjjyz0e3.js} +3 -3
  326. package/dist/chunks/{state-yr705xyq.js → repository-yr705xyq.js} +1 -1
  327. package/dist/chunks/{state-67wwskyb.js → repository-yts2a8qm.js} +4 -4
  328. package/dist/chunks/{state-x1vk2575.js → repository-yv39fqry.js} +9 -9
  329. package/dist/chunks/{state-yn2kpmvn.js → repository-zad8kfsb.js} +19 -19
  330. package/dist/chunks/{state-zfyb5tr4.js → repository-zdat2xwq.js} +4 -4
  331. package/dist/chunks/{state-ze75qvmd.js → repository-ze75qvmd.js} +3 -3
  332. package/dist/chunks/{state-zzsw4thw.js → repository-zftnqq30.js} +19 -19
  333. package/dist/chunks/{state-tjc4negf.js → repository-zfv1ake6.js} +21 -21
  334. package/dist/chunks/{state-e8c43dd8.js → repository-zfvn3r5d.js} +35 -35
  335. package/dist/chunks/{state-n1gmb7dt.js → repository-zqbtnvm2.js} +29 -29
  336. package/dist/chunks/{state-cfzf4vym.js → repository-zrmnbdg0.js} +28 -28
  337. package/dist/chunks/{state-dqhj5fe3.js → repository-zswszhjj.js} +13 -13
  338. package/dist/chunks/{state-5vvgeqy8.js → repository-zw2cn8hf.js} +8 -8
  339. package/dist/codemode/catalog.js +1 -1
  340. package/dist/codemode/execution.js +3 -3
  341. package/dist/codemode/fetch.js +145 -145
  342. package/dist/codemode/instructions.js +9 -9
  343. package/dist/codemode/tool.js +151 -151
  344. package/dist/command.js +94 -94
  345. package/dist/config/discovery.js +97 -97
  346. package/dist/config/integration.js +3 -3
  347. package/dist/config/managed.js +1 -1
  348. package/dist/config/markdown.js +1 -1
  349. package/dist/config/normalize.js +112 -112
  350. package/dist/config/plugin/agent.js +132 -132
  351. package/dist/config/plugin/command.js +231 -231
  352. package/dist/config/plugin/compaction.js +171 -171
  353. package/dist/config/plugin/compatibility.js +150 -150
  354. package/dist/config/plugin/entry-observer.js +1 -1
  355. package/dist/config/plugin/formatter.js +131 -131
  356. package/dist/config/plugin/image.js +130 -130
  357. package/dist/config/plugin/instruction.js +130 -130
  358. package/dist/config/plugin/location-watcher.js +130 -130
  359. package/dist/config/plugin/mcp.js +141 -141
  360. package/dist/config/plugin/policy.js +130 -130
  361. package/dist/config/plugin/provider.js +130 -130
  362. package/dist/config/plugin/reference.js +132 -132
  363. package/dist/config/plugin/shell.js +130 -130
  364. package/dist/config/plugin/skill-file.js +146 -146
  365. package/dist/config/plugin/skill-scan.js +1 -1
  366. package/dist/config/plugin/skill.js +153 -153
  367. package/dist/config/plugin/snapshot.js +130 -130
  368. package/dist/config/plugin/source.js +133 -133
  369. package/dist/config/plugin/tool-output.js +131 -131
  370. package/dist/config/plugin/websearch.js +129 -129
  371. package/dist/config/plugin/worktree.js +132 -132
  372. package/dist/config/variable.js +1 -1
  373. package/dist/config/watch.js +1 -1
  374. package/dist/config.js +133 -133
  375. package/dist/console-access.js +1 -1
  376. package/dist/credential/sql.js +2 -2
  377. package/dist/credential.js +94 -94
  378. package/dist/database/database.js +77 -77
  379. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  380. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  381. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  382. package/dist/database/drizzle/index.js +15 -15
  383. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  384. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  385. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  386. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  387. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  388. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  389. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  390. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  392. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  393. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  394. package/dist/database/drizzle.js +16 -16
  395. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  396. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  397. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  398. package/dist/database/migration/20260225215848_workspace.js +1 -1
  399. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  400. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  401. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  402. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  403. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  404. package/dist/database/migration/20260323234822_events.js +1 -1
  405. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  406. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  407. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  408. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  409. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  410. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  411. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  412. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  413. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  414. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  415. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  416. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  417. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  418. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  419. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  420. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  421. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  422. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  423. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  424. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  425. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  426. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  427. package/dist/database/migration/20260611035744_credential.js +1 -1
  428. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  429. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  430. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  431. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  432. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  433. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  434. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  435. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  436. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  437. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  438. package/dist/database/migration/20260812213948_worktree.js +1 -1
  439. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  440. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  441. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  442. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  443. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  444. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  445. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  446. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  447. package/dist/database/migration/20261025123711_blob.js +1 -1
  448. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  449. package/dist/database/migration/20261026223005_schedule.js +1 -1
  450. package/dist/database/migration/20261029002625_session_part.js +1 -1
  451. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  452. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  453. package/dist/database/migration/20261030054400_job.js +1 -1
  454. package/dist/database/migration.gen.js +60 -60
  455. package/dist/database/migration.js +62 -62
  456. package/dist/database/path.js +2 -2
  457. package/dist/database/schema.gen.js +1 -1
  458. package/dist/database/schema.sql.js +1 -1
  459. package/dist/database/sqlite.bun.js +1 -1
  460. package/dist/database/sqlite.js +1 -1
  461. package/dist/database/sqlite.node.js +1 -1
  462. package/dist/database/sqlite.workerd.js +1 -1
  463. package/dist/database/v1-migration.bun.js +105 -105
  464. package/dist/database/v1-migration.js +1 -1
  465. package/dist/effect/app-node-builder.js +428 -428
  466. package/dist/effect/app-node-platform.js +2 -2
  467. package/dist/effect/keyed-mutex.js +3 -3
  468. package/dist/effect/websocket-constructor.js +1 -1
  469. package/dist/environment/driver.js +1 -1
  470. package/dist/environment/environment.js +106 -106
  471. package/dist/environment/exec-defaults.js +2 -2
  472. package/dist/environment/files.js +1 -1
  473. package/dist/environment/index.js +106 -106
  474. package/dist/environment/local.js +2 -2
  475. package/dist/environment/memory.js +2 -2
  476. package/dist/environment/unavailable.js +3 -3
  477. package/dist/event/sql.js +1 -1
  478. package/dist/event-logger.js +81 -81
  479. package/dist/file-access.js +156 -156
  480. package/dist/file-mutation.js +107 -107
  481. package/dist/file-retention.js +1 -1
  482. package/dist/filesystem/fff.bun.js +2 -2
  483. package/dist/filesystem/fff.js +1 -1
  484. package/dist/filesystem/fff.node.js +2 -2
  485. package/dist/filesystem/fff.workerd.js +2 -2
  486. package/dist/filesystem/file-watch.js +88 -88
  487. package/dist/filesystem/location-watcher-policy.js +6 -6
  488. package/dist/filesystem/location-watcher.js +243 -243
  489. package/dist/filesystem/protected.js +3 -3
  490. package/dist/filesystem/search.js +112 -112
  491. package/dist/filesystem/watcher-binding.js +1 -1
  492. package/dist/filesystem/watcher.js +11 -11
  493. package/dist/filesystem.js +117 -117
  494. package/dist/form.js +93 -93
  495. package/dist/formatter/builtins.js +4 -4
  496. package/dist/formatter.js +100 -100
  497. package/dist/generate.js +116 -116
  498. package/dist/git.js +11 -11
  499. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  500. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  501. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  502. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  503. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  504. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  505. package/dist/github-copilot/copilot-provider.js +17 -17
  506. package/dist/github-copilot/models.js +112 -112
  507. package/dist/github-copilot/openai-compatible-error.js +1 -1
  508. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  509. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  510. package/dist/github-copilot/responses/openai-error.js +1 -1
  511. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  512. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  513. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  514. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  515. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  516. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  517. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  518. package/dist/image/notice.js +1 -1
  519. package/dist/image/photon-normalize.js +1 -1
  520. package/dist/image/photon-worker.js +1 -1
  521. package/dist/image/photon.js +4 -4
  522. package/dist/image.js +6 -6
  523. package/dist/instance/service.js +5 -5
  524. package/dist/instance.js +419 -419
  525. package/dist/instruction-discovery.js +91 -91
  526. package/dist/instructions/builtins.js +100 -100
  527. package/dist/instructions/index.js +3 -3
  528. package/dist/integration/connection.js +3 -3
  529. package/dist/integration.js +100 -100
  530. package/dist/job/sql.js +2 -2
  531. package/dist/job.js +88 -88
  532. package/dist/kv/sql.js +2 -2
  533. package/dist/kv.js +84 -84
  534. package/dist/location-activity.js +172 -172
  535. package/dist/location-lifecycle.js +150 -150
  536. package/dist/location-service-map.js +99 -99
  537. package/dist/location-services.js +416 -416
  538. package/dist/location.js +102 -102
  539. package/dist/managed-policy.js +3 -3
  540. package/dist/mcp/client.js +104 -104
  541. package/dist/mcp/index.js +120 -120
  542. package/dist/mcp/instructions.js +181 -181
  543. package/dist/mcp/oauth.js +89 -89
  544. package/dist/mcp/socket-client.js +1 -1
  545. package/dist/mcp/stdio.js +103 -103
  546. package/dist/mime.js +1 -1
  547. package/dist/modal/models.js +112 -112
  548. package/dist/model-resolver.js +112 -112
  549. package/dist/model-retry.js +1 -1
  550. package/dist/model.js +107 -107
  551. package/dist/models-dev/v1.js +1 -1
  552. package/dist/models-dev.js +121 -121
  553. package/dist/oauth/page.js +1 -1
  554. package/dist/permission/saved.js +89 -89
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +151 -151
  557. package/dist/persistent-pty/binary.bun.js +1 -1
  558. package/dist/persistent-pty/daemon.js +1 -1
  559. package/dist/persistent-pty/index.js +91 -91
  560. package/dist/persistent-pty/pty-binding.js +1 -1
  561. package/dist/persistent-pty.js +86 -86
  562. package/dist/plugin/agent.js +87 -87
  563. package/dist/plugin/command.js +115 -115
  564. package/dist/plugin/goal.js +3 -3
  565. package/dist/plugin/hooks.js +5 -5
  566. package/dist/plugin/host.js +236 -236
  567. package/dist/plugin/identity.js +5 -5
  568. package/dist/plugin/instance.js +5 -5
  569. package/dist/plugin/internal.js +395 -395
  570. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  571. package/dist/plugin/models-dev.js +110 -110
  572. package/dist/plugin/module.js +129 -129
  573. package/dist/plugin/optimize.js +4 -4
  574. package/dist/plugin/plan.js +146 -146
  575. package/dist/plugin/promise.js +1 -1
  576. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  577. package/dist/plugin/provider/azure.js +130 -130
  578. package/dist/plugin/provider/cerebras.js +1 -1
  579. package/dist/plugin/provider/chatgpt.js +130 -130
  580. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  581. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  582. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  583. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  586. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  588. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  589. package/dist/plugin/provider/claude-agent/index.js +145 -145
  590. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  591. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  592. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  594. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  595. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  596. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  598. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  599. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  600. package/dist/plugin/provider/claude-agent/session.js +112 -112
  601. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  602. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  603. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  605. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  611. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  612. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  613. package/dist/plugin/provider/configured.js +126 -126
  614. package/dist/plugin/provider/credential-settings.js +85 -85
  615. package/dist/plugin/provider/databricks.js +1 -1
  616. package/dist/plugin/provider/digitalocean.js +106 -106
  617. package/dist/plugin/provider/dynamic.js +2 -2
  618. package/dist/plugin/provider/github-copilot.js +108 -108
  619. package/dist/plugin/provider/gitlab.js +107 -107
  620. package/dist/plugin/provider/google-vertex.js +127 -127
  621. package/dist/plugin/provider/kilo.js +1 -1
  622. package/dist/plugin/provider/llmgateway.js +89 -89
  623. package/dist/plugin/provider/lmstudio.js +139 -139
  624. package/dist/plugin/provider/local.js +136 -136
  625. package/dist/plugin/provider/modal.js +105 -105
  626. package/dist/plugin/provider/neon.js +1 -1
  627. package/dist/plugin/provider/nvidia.js +1 -1
  628. package/dist/plugin/provider/ollama.js +139 -139
  629. package/dist/plugin/provider/openai-context-caps.js +103 -103
  630. package/dist/plugin/provider/openai.js +132 -132
  631. package/dist/plugin/provider/opencode.js +132 -132
  632. package/dist/plugin/provider/openrouter.js +104 -104
  633. package/dist/plugin/provider/poe.js +90 -90
  634. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  635. package/dist/plugin/provider/sap-ai-core.js +104 -104
  636. package/dist/plugin/provider/sdk-factory.js +1 -1
  637. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  638. package/dist/plugin/provider/vllm.js +137 -137
  639. package/dist/plugin/provider/xai.js +104 -104
  640. package/dist/plugin/provider/zenmux.js +1 -1
  641. package/dist/plugin/provider.js +210 -210
  642. package/dist/plugin/sdk.js +87 -87
  643. package/dist/plugin/service.js +3 -3
  644. package/dist/plugin/skill.js +149 -149
  645. package/dist/plugin/source-directory.js +1 -1
  646. package/dist/plugin/supervisor.js +405 -405
  647. package/dist/plugin/tool-input-repair.js +4 -4
  648. package/dist/plugin/update.js +6 -6
  649. package/dist/plugin/vcs/git.js +99 -99
  650. package/dist/plugin/vcs/hg.js +99 -99
  651. package/dist/plugin/verbosity.js +106 -106
  652. package/dist/plugin/warming.js +128 -128
  653. package/dist/plugin/websearch/exa.js +5 -5
  654. package/dist/plugin/websearch/firecrawl.js +8 -8
  655. package/dist/plugin/websearch/index.js +9 -9
  656. package/dist/plugin/websearch/mcp.js +6 -6
  657. package/dist/plugin/websearch/parallel.js +8 -8
  658. package/dist/plugin/websearch/tavily.js +6 -6
  659. package/dist/plugin/websearch/tinyfish.js +6 -6
  660. package/dist/plugin.js +243 -243
  661. package/dist/project/icon.js +5 -5
  662. package/dist/project/schema.js +8 -8
  663. package/dist/project/sql.js +4 -4
  664. package/dist/project.js +103 -103
  665. package/dist/provider.js +104 -104
  666. package/dist/pty/protocol.js +1 -1
  667. package/dist/pty/ticket.js +1 -1
  668. package/dist/pty.js +103 -103
  669. package/dist/reference/instructions.js +101 -101
  670. package/dist/reference.js +103 -103
  671. package/dist/repository-cache.js +93 -93
  672. package/dist/repository.js +3 -3
  673. package/dist/ripgrep/binary.js +2 -2
  674. package/dist/ripgrep.js +108 -108
  675. package/dist/rpc.js +99 -99
  676. package/dist/schedule/check.js +241 -241
  677. package/dist/schedule/sql.js +6 -6
  678. package/dist/schedule.js +247 -247
  679. package/dist/schema.js +1 -1
  680. package/dist/session/affinity.js +1 -1
  681. package/dist/session/background.js +1 -1
  682. package/dist/session/blob.js +129 -129
  683. package/dist/session/command.js +85 -85
  684. package/dist/session/compaction.js +167 -167
  685. package/dist/session/context.js +196 -196
  686. package/dist/session/diff.js +101 -101
  687. package/dist/session/environment.js +5 -5
  688. package/dist/session/error.js +3 -3
  689. package/dist/session/event.js +1 -1
  690. package/dist/session/execution/restart.js +239 -239
  691. package/dist/session/execution.js +161 -161
  692. package/dist/session/generate.js +198 -198
  693. package/dist/session/history.js +136 -136
  694. package/dist/session/inbox.js +145 -145
  695. package/dist/session/info.js +3 -3
  696. package/dist/session/instruction-entry.js +88 -88
  697. package/dist/session/instruction-state.js +8 -8
  698. package/dist/session/instructions.js +141 -141
  699. package/dist/session/message-updater.js +4 -4
  700. package/dist/session/message.js +1 -1
  701. package/dist/session/model-request.js +168 -168
  702. package/dist/session/model-transport.js +9 -9
  703. package/dist/session/move.js +165 -165
  704. package/dist/session/projector.js +143 -143
  705. package/dist/session/prompt.js +148 -148
  706. package/dist/session/recent-text.js +1 -1
  707. package/dist/session/revert.js +139 -139
  708. package/dist/session/run-coordinator.js +3 -3
  709. package/dist/session/runner/index.js +3 -3
  710. package/dist/session/runner/llm.js +250 -250
  711. package/dist/session/runner/max-steps.js +1 -1
  712. package/dist/session/runner/model.js +113 -113
  713. package/dist/session/runner/publish-llm-event.js +149 -149
  714. package/dist/session/runner/retry.js +5 -5
  715. package/dist/session/runner/step.js +163 -163
  716. package/dist/session/runner/to-llm-message.js +137 -137
  717. package/dist/session/schema.js +3 -3
  718. package/dist/session/session.js +181 -181
  719. package/dist/session/shell.js +144 -144
  720. package/dist/session/skill.js +147 -147
  721. package/dist/session/sql.js +5 -5
  722. package/dist/session/stats.js +84 -84
  723. package/dist/session/store.js +142 -142
  724. package/dist/session/stored.js +4 -4
  725. package/dist/session/subagent-completion.js +1 -1
  726. package/dist/session/subagent-job.js +229 -229
  727. package/dist/session/system-prompt.js +1 -1
  728. package/dist/session/title.js +202 -202
  729. package/dist/session/to-session-error.js +148 -148
  730. package/dist/session/transfer.js +235 -235
  731. package/dist/session/usage.js +1 -1
  732. package/dist/session.js +229 -229
  733. package/dist/shell/parse.js +6 -6
  734. package/dist/shell/result.js +1 -1
  735. package/dist/shell/scan.js +1 -1
  736. package/dist/shell/select.js +13 -13
  737. package/dist/shell.js +146 -146
  738. package/dist/skill/discovery.js +6 -6
  739. package/dist/skill/instructions.js +147 -147
  740. package/dist/skill.js +156 -156
  741. package/dist/snapshot.js +102 -102
  742. package/dist/state.js +1 -1
  743. package/dist/tool/html-markdown.js +1 -1
  744. package/dist/tool/http-body.js +1 -1
  745. package/dist/tool/mcp.js +178 -178
  746. package/dist/tool/plugin/artifact.js +228 -228
  747. package/dist/tool/plugin/edit.js +164 -164
  748. package/dist/tool/plugin/file-diff.js +1 -1
  749. package/dist/tool/plugin/glob.js +168 -168
  750. package/dist/tool/plugin/grep.js +168 -168
  751. package/dist/tool/plugin/image-generate.js +239 -239
  752. package/dist/tool/plugin/mcp-resource.js +162 -162
  753. package/dist/tool/plugin/opencode.js +161 -161
  754. package/dist/tool/plugin/patch.js +162 -162
  755. package/dist/tool/plugin/question.js +144 -144
  756. package/dist/tool/plugin/read.js +167 -167
  757. package/dist/tool/plugin/schedule.js +247 -247
  758. package/dist/tool/plugin/shell.js +233 -233
  759. package/dist/tool/plugin/skill.js +157 -157
  760. package/dist/tool/plugin/subagent.js +234 -234
  761. package/dist/tool/plugin/todo.js +153 -153
  762. package/dist/tool/plugin/webfetch.js +153 -153
  763. package/dist/tool/plugin/websearch.js +153 -153
  764. package/dist/tool/plugin/write.js +166 -166
  765. package/dist/tool/read-filesystem.js +113 -113
  766. package/dist/tool/runtime.js +1 -1
  767. package/dist/tool-output.js +7 -7
  768. package/dist/tool.js +159 -159
  769. package/dist/types/session/compaction.d.ts +2 -2
  770. package/dist/usage-limits.js +98 -98
  771. package/dist/util/error-summary.js +1 -1
  772. package/dist/util/git-executable.js +3 -3
  773. package/dist/util/lazy.js +1 -1
  774. package/dist/util/slug.js +1 -1
  775. package/dist/util/token.js +1 -1
  776. package/dist/util/which.js +1 -1
  777. package/dist/util/wildcard.js +1 -1
  778. package/dist/v1/config/agent.js +3 -3
  779. package/dist/v1/config/command.js +3 -3
  780. package/dist/v1/config/mcp.js +4 -4
  781. package/dist/v1/config/migrate.js +105 -105
  782. package/dist/v1/config/permission.js +1 -1
  783. package/dist/v1/config/plugin.js +1 -1
  784. package/dist/v1/config/provider-options.js +1 -1
  785. package/dist/v1/config/provider.js +2 -2
  786. package/dist/variant.js +104 -104
  787. package/dist/vcs/patch.js +1 -1
  788. package/dist/vcs.js +100 -100
  789. package/dist/voice.js +97 -97
  790. package/dist/websearch.js +99 -99
  791. package/dist/wellknown/plugin.js +87 -87
  792. package/dist/wellknown.js +88 -88
  793. package/dist/workspace/driver.js +3 -3
  794. package/dist/workspace/sql.js +1 -1
  795. package/dist/workspace.js +91 -91
  796. package/dist/worktree/directory.js +2 -2
  797. package/dist/worktree/git.js +9 -9
  798. package/dist/worktree/sql.js +5 -5
  799. package/dist/worktree/strategies.js +102 -102
  800. package/dist/worktree.js +105 -105
  801. package/package.json +8 -8
  802. package/dist/chunks/state-exkwt65j.js +0 -549
  803. package/dist/chunks/state-qmh7vbk2.js +0 -18
  804. package/dist/chunks/state-t27kz4yw.js +0 -261
  805. package/dist/chunks/state-wck9qmcv.js +0 -26
  806. /package/dist/chunks/{state-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  807. /package/dist/chunks/{state-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  808. /package/dist/chunks/{state-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  809. /package/dist/chunks/{state-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  810. /package/dist/chunks/{state-1kah00gy.js → repository-1kah00gy.js} +0 -0
  811. /package/dist/chunks/{state-1pevy3nx.js → repository-1pevy3nx.js} +0 -0
  812. /package/dist/chunks/{state-24dcb14g.js → repository-24dcb14g.js} +0 -0
  813. /package/dist/chunks/{state-2710q6r3.js → repository-2710q6r3.js} +0 -0
  814. /package/dist/chunks/{state-2bv980vf.js → repository-2bv980vf.js} +0 -0
  815. /package/dist/chunks/{state-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  816. /package/dist/chunks/{state-359p4xyc.js → repository-359p4xyc.js} +0 -0
  817. /package/dist/chunks/{state-3asan66x.js → repository-3asan66x.js} +0 -0
  818. /package/dist/chunks/{state-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  819. /package/dist/chunks/{state-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  820. /package/dist/chunks/{state-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  821. /package/dist/chunks/{state-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  822. /package/dist/chunks/{state-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
  823. /package/dist/chunks/{state-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  824. /package/dist/chunks/{state-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  825. /package/dist/chunks/{state-53557ph1.js → repository-53557ph1.js} +0 -0
  826. /package/dist/chunks/{state-550bvhaj.js → repository-550bvhaj.js} +0 -0
  827. /package/dist/chunks/{state-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
  828. /package/dist/chunks/{state-6agm2x70.js → repository-6agm2x70.js} +0 -0
  829. /package/dist/chunks/{state-6prwharc.js → repository-6prwharc.js} +0 -0
  830. /package/dist/chunks/{state-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
  831. /package/dist/chunks/{state-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  832. /package/dist/chunks/{state-7m9af43g.js → repository-7m9af43g.js} +0 -0
  833. /package/dist/chunks/{state-7stb81gk.js → repository-7stb81gk.js} +0 -0
  834. /package/dist/chunks/{state-822emrt2.js → repository-822emrt2.js} +0 -0
  835. /package/dist/chunks/{state-84wd9syh.js → repository-84wd9syh.js} +0 -0
  836. /package/dist/chunks/{state-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  837. /package/dist/chunks/{state-8n3pysct.js → repository-8n3pysct.js} +0 -0
  838. /package/dist/chunks/{state-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  839. /package/dist/chunks/{state-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  840. /package/dist/chunks/{state-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  841. /package/dist/chunks/{state-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  842. /package/dist/chunks/{state-af5trqkr.js → repository-af5trqkr.js} +0 -0
  843. /package/dist/chunks/{state-afrmfg78.js → repository-afrmfg78.js} +0 -0
  844. /package/dist/chunks/{state-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  845. /package/dist/chunks/{state-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  846. /package/dist/chunks/{state-beh6qq61.js → repository-beh6qq61.js} +0 -0
  847. /package/dist/chunks/{state-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  848. /package/dist/chunks/{state-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  849. /package/dist/chunks/{state-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  850. /package/dist/chunks/{state-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
  851. /package/dist/chunks/{state-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  852. /package/dist/chunks/{state-d9fn303g.js → repository-d9fn303g.js} +0 -0
  853. /package/dist/chunks/{state-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  854. /package/dist/chunks/{state-dap0rakb.js → repository-dap0rakb.js} +0 -0
  855. /package/dist/chunks/{state-df08tz66.js → repository-df08tz66.js} +0 -0
  856. /package/dist/chunks/{state-dy18nga0.js → repository-dy18nga0.js} +0 -0
  857. /package/dist/chunks/{state-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  858. /package/dist/chunks/{state-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  859. /package/dist/chunks/{state-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
  860. /package/dist/chunks/{state-ec1grn59.js → repository-ec1grn59.js} +0 -0
  861. /package/dist/chunks/{state-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  862. /package/dist/chunks/{state-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  863. /package/dist/chunks/{state-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  864. /package/dist/chunks/{state-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  865. /package/dist/chunks/{state-faypxj3z.js → repository-faypxj3z.js} +0 -0
  866. /package/dist/chunks/{state-fd410y7t.js → repository-fd410y7t.js} +0 -0
  867. /package/dist/chunks/{state-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
  868. /package/dist/chunks/{state-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  869. /package/dist/chunks/{state-g86h250q.js → repository-g86h250q.js} +0 -0
  870. /package/dist/chunks/{state-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  871. /package/dist/chunks/{state-gftt206x.js → repository-gftt206x.js} +0 -0
  872. /package/dist/chunks/{state-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
  873. /package/dist/chunks/{state-hk9envan.js → repository-hk9envan.js} +0 -0
  874. /package/dist/chunks/{state-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  875. /package/dist/chunks/{state-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  876. /package/dist/chunks/{state-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  877. /package/dist/chunks/{state-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  878. /package/dist/chunks/{state-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  879. /package/dist/chunks/{state-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
  880. /package/dist/chunks/{state-jze0r7bz.js → repository-jze0r7bz.js} +0 -0
  881. /package/dist/chunks/{state-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  882. /package/dist/chunks/{state-m18g726c.js → repository-m18g726c.js} +0 -0
  883. /package/dist/chunks/{state-mp448xyj.js → repository-mp448xyj.js} +0 -0
  884. /package/dist/chunks/{state-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  885. /package/dist/chunks/{state-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  886. /package/dist/chunks/{state-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  887. /package/dist/chunks/{state-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
  888. /package/dist/chunks/{state-njntx4h6.js → repository-njntx4h6.js} +0 -0
  889. /package/dist/chunks/{state-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
  890. /package/dist/chunks/{state-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  891. /package/dist/chunks/{state-q74kybfr.js → repository-q74kybfr.js} +0 -0
  892. /package/dist/chunks/{state-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  893. /package/dist/chunks/{state-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  894. /package/dist/chunks/{state-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  895. /package/dist/chunks/{state-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  896. /package/dist/chunks/{state-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  897. /package/dist/chunks/{state-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  898. /package/dist/chunks/{state-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  899. /package/dist/chunks/{state-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  900. /package/dist/chunks/{state-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
  901. /package/dist/chunks/{state-ty7weeps.js → repository-ty7weeps.js} +0 -0
  902. /package/dist/chunks/{state-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
  903. /package/dist/chunks/{state-vtarvj67.js → repository-vtarvj67.js} +0 -0
  904. /package/dist/chunks/{state-w803qqfp.js → repository-w803qqfp.js} +0 -0
  905. /package/dist/chunks/{state-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  906. /package/dist/chunks/{state-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  907. /package/dist/chunks/{state-wtztk69x.js → repository-wtztk69x.js} +0 -0
  908. /package/dist/chunks/{state-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  909. /package/dist/chunks/{state-x61499pn.js → repository-x61499pn.js} +0 -0
  910. /package/dist/chunks/{state-y44na4kk.js → repository-y44na4kk.js} +0 -0
  911. /package/dist/chunks/{state-y8f7s663.js → repository-y8f7s663.js} +0 -0
  912. /package/dist/chunks/{state-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  913. /package/dist/chunks/{state-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  914. /package/dist/chunks/{state-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service88,
3
3
  node91
4
- } from "./state-h7wqn8vn.js";
4
+ } from "./repository-7g7rhba8.js";
5
5
  import {
6
- Service40,
7
- node43
8
- } from "./state-47s8f065.js";
6
+ Service37,
7
+ node41
8
+ } from "./repository-6j8sp8g6.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./state-4pyp9zr9.js";
11
+ } from "./repository-4pyp9zr9.js";
12
12
  import {
13
13
  CorrectedError2,
14
14
  BlockedError2,
15
- Service64,
16
- node66
17
- } from "./state-yetjgbjc.js";
15
+ Service55,
16
+ node56
17
+ } from "./repository-cfq471k7.js";
18
18
  import {
19
- Service50,
20
- node54
21
- } from "./state-cfzf4vym.js";
19
+ Service45,
20
+ node48
21
+ } from "./repository-zrmnbdg0.js";
22
22
  import {
23
- Service46,
24
- node49
25
- } from "./state-p2zgsc1h.js";
23
+ Service68,
24
+ node70
25
+ } from "./repository-qaxfcnsv.js";
26
26
  import {
27
27
  MEDIA_MIMES2
28
- } from "./state-f27d80qk.js";
28
+ } from "./repository-v8bad55c.js";
29
29
  import {
30
30
  __export
31
- } from "./state-9rqn6x4v.js";
31
+ } from "./repository-9rqn6x4v.js";
32
32
 
33
33
  // src/tool/mcp.ts
34
34
  var exports_mcp3 = {};
35
35
  __export(exports_mcp3, {
36
36
  McpTool: () => exports_mcp3,
37
- Service: () => Service34,
38
- layer: () => layer15,
37
+ Service: () => Service35,
38
+ layer: () => layer14,
39
39
  name: () => name15,
40
40
  namespace: () => namespace2,
41
- node: () => node37
41
+ node: () => node39
42
42
  });
43
43
  import { ToolFailure } from "@opencode/ai/effect";
44
44
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -49,14 +49,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
49
49
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
50
50
  var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
51
51
 
52
- class Service34 extends Context.Service()("@opencode/McpTool") {
52
+ class Service35 extends Context.Service()("@opencode/McpTool") {
53
53
  }
54
- var layer15 = Layer.effect(Service34, Effect.gen(function* () {
55
- const mcp = yield* Service40;
56
- const tools = yield* Service50;
54
+ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
55
+ const mcp = yield* Service37;
56
+ const tools = yield* Service45;
57
57
  const bus = yield* Service88;
58
- const permission = yield* Service64;
59
- const toolOutput = yield* Service46;
58
+ const permission = yield* Service55;
59
+ const toolOutput = yield* Service68;
60
60
  const lock = Semaphore.makeUnsafe(1);
61
61
  let discovered = [];
62
62
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -134,7 +134,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
134
134
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
135
135
  const updates = yield* PubSub.subscribe(changes);
136
136
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
137
- return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
137
+ return Service35.of({ flush: Effect.asVoid(Fiber.await(initial)) });
138
138
  }));
139
139
  var toContent = Effect.fnUntraced(function* (part, toolOutput) {
140
140
  if (part.type === "text")
@@ -154,10 +154,10 @@ ${bytes.toString("utf8")}` };
154
154
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
155
155
  };
156
156
  });
157
- var node37 = makeLocationNode({
158
- service: Service34,
159
- layer: layer15,
160
- deps: [node54, node43, node91, node66, node49]
157
+ var node39 = makeLocationNode({
158
+ service: Service35,
159
+ layer: layer14,
160
+ deps: [node48, node41, node91, node56, node70]
161
161
  });
162
162
 
163
- export { namespace2, name15, Service34, layer15, node37, exports_mcp3 };
163
+ export { namespace2, name15, Service35, layer14, node39, exports_mcp3 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./state-emrn6kk6.js";
3
+ } from "./repository-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./state-xnyrm20a.js";
6
+ } from "./repository-eqktjn3r.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./state-g6277kmk.js";
9
+ } from "./repository-7qt7d24k.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make34 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make33 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make34 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make34(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make33(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make34, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make33, makeWithDefaults2 };
@@ -1,112 +1,112 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./state-rm34t0fx.js";
4
+ } from "./repository-07nbfc86.js";
5
5
  import {
6
- Service81,
7
- node84
8
- } from "./state-a0g2880y.js";
6
+ Service85,
7
+ node88
8
+ } from "./repository-pgj56wr2.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref3,
12
12
  Service74,
13
13
  node76
14
- } from "./state-kght8exf.js";
14
+ } from "./repository-pjnewz4h.js";
15
15
  import {
16
16
  ID13,
17
- Service68,
18
- node70
19
- } from "./state-kke5d6vq.js";
17
+ Service65,
18
+ node67
19
+ } from "./repository-7d4wtrr4.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./state-hdreqhvr.js";
22
+ } from "./repository-ww2p0375.js";
23
23
  import {
24
24
  combine2
25
- } from "./state-9sy1j1hj.js";
25
+ } from "./repository-dv96216k.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./state-x1vk2575.js";
28
+ } from "./repository-yv39fqry.js";
29
29
  import {
30
- Service66,
31
- node68
32
- } from "./state-h8n75vy4.js";
30
+ Service57,
31
+ node58
32
+ } from "./repository-3d3pvmxz.js";
33
33
  import {
34
34
  merge2
35
- } from "./state-yetjgbjc.js";
35
+ } from "./repository-cfq471k7.js";
36
36
  import {
37
- make23
38
- } from "./state-5xemk3sw.js";
37
+ make24
38
+ } from "./repository-wexf2k6a.js";
39
39
  import {
40
40
  Service62,
41
41
  node64
42
- } from "./state-yn2kpmvn.js";
42
+ } from "./repository-zad8kfsb.js";
43
43
  import {
44
- Service31,
45
- node34
46
- } from "./state-58rf0bjp.js";
44
+ Service32,
45
+ node36
46
+ } from "./repository-xv0kd9hc.js";
47
47
  import {
48
- Service59,
49
- node61
50
- } from "./state-pwwe1nns.js";
48
+ Service54,
49
+ node55
50
+ } from "./repository-fcwk9vhw.js";
51
51
  import {
52
- Service50,
53
- node54
54
- } from "./state-cfzf4vym.js";
52
+ Service45,
53
+ node48
54
+ } from "./repository-zrmnbdg0.js";
55
+ import {
56
+ Service35,
57
+ node39
58
+ } from "./repository-mx6f7k3w.js";
55
59
  import {
56
60
  Service34,
57
- node37
58
- } from "./state-e255q57e.js";
61
+ node38
62
+ } from "./repository-a3tva24r.js";
59
63
  import {
60
- Service32,
64
+ Service31,
61
65
  node35
62
- } from "./state-rte4cdn2.js";
63
- import {
64
- Service36,
65
- node39
66
- } from "./state-e4sxjejc.js";
66
+ } from "./repository-75t7768k.js";
67
67
  import {
68
68
  Service33,
69
- node36
70
- } from "./state-c37n0erx.js";
71
- import {
72
- Service39,
73
- node42
74
- } from "./state-fe1ga2fx.js";
69
+ node37
70
+ } from "./repository-k207nqnc.js";
75
71
  import {
76
- Service41,
72
+ Service40,
77
73
  node44
78
- } from "./state-vbssec1d.js";
74
+ } from "./repository-a5hf8tf4.js";
75
+ import {
76
+ Service38,
77
+ node42
78
+ } from "./repository-00qfdy27.js";
79
79
  import {
80
80
  __export
81
- } from "./state-9rqn6x4v.js";
81
+ } from "./repository-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
86
  Service: () => Service30,
87
87
  SessionContext: () => exports_context,
88
- node: () => node33
88
+ node: () => node34
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
92
  class Service30 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
94
  var layer = Layer.effect(Service30, Effect.gen(function* () {
95
- const agents = yield* Service68;
96
- const builtins = yield* Service31;
95
+ const agents = yield* Service65;
96
+ const builtins = yield* Service32;
97
97
  const model = yield* Service74;
98
98
  const db = (yield* Service89).db;
99
99
  const discovery = yield* Service62;
100
- const entries = yield* Service39;
101
- const location = yield* Service81;
102
- const mcpInstructions = yield* Service32;
103
- const mcpTools = yield* Service34;
104
- const models = yield* Service59;
105
- const request = yield* Service41;
106
- const referenceInstructions = yield* Service36;
100
+ const entries = yield* Service40;
101
+ const location = yield* Service85;
102
+ const mcpInstructions = yield* Service34;
103
+ const mcpTools = yield* Service35;
104
+ const models = yield* Service54;
105
+ const request = yield* Service38;
106
+ const referenceInstructions = yield* Service31;
107
107
  const skillInstructions = yield* Service33;
108
- const store = yield* Service66;
109
- const registry = yield* Service50;
108
+ const store = yield* Service57;
109
+ const registry = yield* Service45;
110
110
  const resolveModel = (session) => models.resolve(session, model.available);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
112
  const agent = yield* agents.get(ID13.make("title"));
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
168
168
  session,
169
169
  agent: { ...agent, info: agent.info },
170
170
  instructions: combine2([
171
- make23(loaded.tools.codeModeCatalog),
171
+ make24(loaded.tools.codeModeCatalog),
172
172
  loaded.mcp,
173
173
  loaded.references,
174
174
  loaded.skills,
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node33 = makeLocationNode({
202
+ var node34 = makeLocationNode({
203
203
  service: Service30,
204
204
  layer,
205
205
  deps: [
206
- node70,
206
+ node67,
207
207
  node76,
208
208
  node92,
209
- node34,
209
+ node36,
210
210
  node64,
211
- node42,
212
- node84,
211
+ node44,
212
+ node88,
213
+ node38,
214
+ node39,
213
215
  node35,
216
+ node55,
217
+ node42,
218
+ node58,
214
219
  node37,
215
- node39,
216
- node61,
217
- node44,
218
- node68,
219
- node36,
220
- node54
220
+ node48
221
221
  ]
222
222
  });
223
223
 
224
- export { Service30, node33, exports_context };
224
+ export { Service30, node34, exports_context };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service88
3
- } from "./state-h7wqn8vn.js";
3
+ } from "./repository-7g7rhba8.js";
4
4
  import {
5
- Service53
6
- } from "./state-gv8f8cne.js";
5
+ Service48
6
+ } from "./repository-6gzr7cf8.js";
7
7
  import {
8
8
  StepFailedError2
9
- } from "./state-hdreqhvr.js";
9
+ } from "./repository-ww2p0375.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./state-ec1grn59.js";
12
+ } from "./repository-ec1grn59.js";
13
13
  import {
14
14
  toSessionError2
15
- } from "./state-s4sm4tqg.js";
15
+ } from "./repository-6j0xgcj1.js";
16
16
  import {
17
17
  Error2
18
- } from "./state-cfzf4vym.js";
18
+ } from "./repository-zrmnbdg0.js";
19
19
  import {
20
- Service46
21
- } from "./state-p2zgsc1h.js";
20
+ Service68
21
+ } from "./repository-qaxfcnsv.js";
22
22
  import {
23
23
  record2
24
- } from "./state-4f25tdd0.js";
24
+ } from "./repository-4f25tdd0.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./state-rqysqgs5.js";
27
+ } from "./repository-4wzs20xx.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./state-rmv7fhs4.js";
30
+ } from "./repository-qw2t3dzn.js";
31
31
  import {
32
32
  __export
33
- } from "./state-9rqn6x4v.js";
33
+ } from "./repository-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make18
40
+ make: () => make19
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make18 = Effect.gen(function* () {
54
+ var make19 = Effect.gen(function* () {
55
55
  const bus = yield* Service88;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service53;
58
- const toolOutput = yield* Service46;
57
+ const snapshots = yield* Service48;
58
+ const toolOutput = yield* Service68;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
223
223
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
224
224
  };
225
225
 
226
- export { Outcome2, make18, exports_step };
226
+ export { Outcome2, make19, exports_step };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./repository-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service12,
11
+ Service: () => Service5,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node14
13
+ node: () => node6
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service12, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service12.of({
66
+ return Service5.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node6 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service12, node14, exports_discovery };
155
+ export { Service5, node6, exports_discovery };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./state-rm34t0fx.js";
4
+ } from "./repository-07nbfc86.js";
5
5
  import {
6
6
  Service88,
7
7
  node91
8
- } from "./state-h7wqn8vn.js";
8
+ } from "./repository-7g7rhba8.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./state-pknna89w.js";
11
+ } from "./repository-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./state-m1714858.js";
14
+ } from "./repository-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./state-9rqn6x4v.js";
17
+ } from "./repository-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
- ID: () => ID21,
26
- Info: () => Info31,
25
+ ID: () => ID18,
26
+ Info: () => Info26,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service86,
29
+ Service: () => Service77,
30
30
  Value: () => Value2,
31
- node: () => node89
31
+ node: () => node79
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
39
  import { EffectFlock } from "@opencode/util/effect-flock";
40
- var ID21 = Credential.ID;
40
+ var ID18 = Credential.ID;
41
41
  var OAuth3 = Credential.OAuth;
42
42
  var Key4 = Credential.Key;
43
43
  var External2 = Credential.External;
44
44
  var Value2 = Credential.Value;
45
- var Event20 = Credential.Event;
45
+ var Event18 = Credential.Event;
46
46
 
47
- class Info31 extends Schema.Class("Credential.Info")({
48
- id: ID21,
47
+ class Info26 extends Schema.Class("Credential.Info")({
48
+ id: ID18,
49
49
  integrationID: Integration.ID,
50
50
  label: Schema.String,
51
51
  value: Value2
52
52
  }) {
53
53
  }
54
54
 
55
- class Service86 extends Context.Service()("@opencode/Credential") {
55
+ class Service77 extends Context.Service()("@opencode/Credential") {
56
56
  }
57
- var layer = Layer.effect(Service86, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
58
58
  const db = (yield* Service89).db;
59
59
  const bus = yield* Service88;
60
60
  const flock = yield* EffectFlock.Service;
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
64
64
  const stored = (row) => {
65
65
  if (!row.integration_id)
66
66
  return;
67
- return new Info31({
67
+ return new Info26({
68
68
  id: row.id,
69
69
  integrationID: row.integration_id,
70
70
  label: row.label,
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
75
75
  const credential = stored(row);
76
76
  return credential ? [credential] : [];
77
77
  });
78
- return Service86.of({
78
+ return Service77.of({
79
79
  lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
80
80
  const current = pending.get(id);
81
81
  if (current)
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
91
91
  return row ? stored(row) : undefined;
92
92
  }),
93
93
  create: Effect.fn("Credential.create")(function* (input) {
94
- const credential = new Info31({
95
- id: input.id ?? ID21.create(),
94
+ const credential = new Info26({
95
+ id: input.id ?? ID18.create(),
96
96
  integrationID: input.integrationID,
97
97
  label: input.label ?? "default",
98
98
  value: input.value
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
123
123
  type: credential.value.type,
124
124
  active: activated
125
125
  });
126
- yield* bus.publish(Event20.Updated, {}, { global: true });
126
+ yield* bus.publish(Event18.Updated, {}, { global: true });
127
127
  if (activated)
128
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
128
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
129
129
  return credential;
130
130
  }),
131
131
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
145
145
  })), Effect.orDie);
146
146
  if (integrationID) {
147
147
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
148
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
148
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
149
149
  }
150
150
  }),
151
151
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
177
177
  labelChanged: updates.label !== undefined && updates.label !== credential.label
178
178
  });
179
179
  if (updates.label !== undefined && updates.label !== credential.label)
180
- yield* bus.publish(Event20.Updated, {}, { global: true });
180
+ yield* bus.publish(Event18.Updated, {}, { global: true });
181
181
  }),
182
182
  remove: Effect.fn("Credential.remove")(function* (id) {
183
183
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
210
210
  active: removed.switched,
211
211
  ...removed.switched ? { replacementID: removed.credentialID } : {}
212
212
  });
213
- yield* bus.publish(Event20.Updated, {}, { global: true });
213
+ yield* bus.publish(Event18.Updated, {}, { global: true });
214
214
  if (removed.switched)
215
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
215
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
216
216
  })
217
217
  });
218
218
  }));
219
- var node89 = makeGlobalNode({ service: Service86, layer, deps: [node92, node91, EffectFlock.node] });
219
+ var node79 = makeGlobalNode({ service: Service77, layer, deps: [node92, node91, EffectFlock.node] });
220
220
 
221
- export { ID21, OAuth3, Key4, External2, Value2, Event20, Info31, Service86, node89, exports_credential };
221
+ export { ID18, OAuth3, Key4, External2, Value2, Event18, Info26, Service77, node79, exports_credential };