@opencode/core 0.0.0-dev-1264 → 0.0.0-dev-1274

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 (917) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +260 -260
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/wellknown-00q5c7ny.js +48 -0
  9. package/dist/chunks/wellknown-00ve6mdn.js +18 -0
  10. package/dist/chunks/{worktree-034tev2y.js → wellknown-034tev2y.js} +2 -2
  11. package/dist/chunks/{worktree-atz1w742.js → wellknown-04qc8z7j.js} +3 -3
  12. package/dist/chunks/{worktree-0fvxehme.js → wellknown-0fvxehme.js} +2 -2
  13. package/dist/chunks/{worktree-0ma9gw4f.js → wellknown-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{worktree-6vbbsh5r.js → wellknown-0nz55kmn.js} +14 -14
  15. package/dist/chunks/{worktree-q7srkfd6.js → wellknown-0p664kx6.js} +6 -6
  16. package/dist/chunks/{worktree-jrcj418h.js → wellknown-10ah2vsp.js} +24 -41
  17. package/dist/chunks/{worktree-1xeavs09.js → wellknown-11f4vkhr.js} +20 -20
  18. package/dist/chunks/{worktree-h6081cxj.js → wellknown-12gkcqap.js} +23 -23
  19. package/dist/chunks/{worktree-3kh5qk3y.js → wellknown-18b1hh0p.js} +11 -11
  20. package/dist/chunks/{worktree-1aqsckx4.js → wellknown-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{worktree-1aryjtsy.js → wellknown-1aryjtsy.js} +1 -1
  22. package/dist/chunks/{worktree-w9e7c2e3.js → wellknown-1bbryb4w.js} +6 -6
  23. package/dist/chunks/{worktree-1ep2p91f.js → wellknown-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{worktree-6n24w41c.js → wellknown-1f3f09ty.js} +20 -20
  25. package/dist/chunks/{worktree-egkn8eaf.js → wellknown-1g33jr7s.js} +9 -9
  26. package/dist/chunks/{worktree-2estw5xm.js → wellknown-1t7bna1x.js} +5 -5
  27. package/dist/chunks/{worktree-r1jdstg5.js → wellknown-1v2g13eq.js} +7 -7
  28. package/dist/chunks/{worktree-17wdez1g.js → wellknown-1w56m6hw.js} +3 -3
  29. package/dist/chunks/{worktree-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{worktree-pazse0a8.js → wellknown-1z4gzts3.js} +40 -40
  31. package/dist/chunks/{worktree-8230yfm5.js → wellknown-239ft0hq.js} +11 -11
  32. package/dist/chunks/{worktree-v4bj6baw.js → wellknown-26wfx3k0.js} +4 -4
  33. package/dist/chunks/{worktree-x4s452sp.js → wellknown-27vwpkqs.js} +10 -10
  34. package/dist/chunks/{worktree-9v0htc5k.js → wellknown-2e4jyqpy.js} +26 -26
  35. package/dist/chunks/{worktree-46ngnzzp.js → wellknown-2eyxc6yq.js} +1 -1
  36. package/dist/chunks/{worktree-2fc7eemy.js → wellknown-2fc7eemy.js} +1 -1
  37. package/dist/chunks/{worktree-zsxvp00s.js → wellknown-2kdxm5sv.js} +83 -83
  38. package/dist/chunks/{worktree-xsact9zs.js → wellknown-2mbjfaxd.js} +4 -4
  39. package/dist/chunks/{worktree-2p60zmnr.js → wellknown-2p60zmnr.js} +2 -2
  40. package/dist/chunks/{worktree-2prt43t7.js → wellknown-2prt43t7.js} +1 -1
  41. package/dist/chunks/{worktree-j26gwfra.js → wellknown-2rnbxajr.js} +8 -8
  42. package/dist/chunks/{worktree-d7k99j55.js → wellknown-2w0fxkqg.js} +2 -2
  43. package/dist/chunks/{worktree-wvr8qheb.js → wellknown-34gd944s.js} +192 -192
  44. package/dist/chunks/{worktree-rzg6y5rp.js → wellknown-38aws4xb.js} +4 -4
  45. package/dist/chunks/{worktree-3adw4bt5.js → wellknown-3adw4bt5.js} +2 -2
  46. package/dist/chunks/{worktree-8wz5a004.js → wellknown-3am32n0d.js} +18 -18
  47. package/dist/chunks/{worktree-wy6j1ycf.js → wellknown-3epvxjx2.js} +25 -25
  48. package/dist/chunks/{worktree-9je0v1t5.js → wellknown-3f3rpwdz.js} +10 -10
  49. package/dist/chunks/{worktree-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{worktree-me215f18.js → wellknown-3n1bw4p7.js} +1 -1
  51. package/dist/chunks/{worktree-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{worktree-0ahs07zn.js → wellknown-3ryz99p0.js} +4 -4
  53. package/dist/chunks/{worktree-3evvr8bx.js → wellknown-3vadn2gy.js} +28 -28
  54. package/dist/chunks/{worktree-gw165p6e.js → wellknown-3vm4zwhg.js} +20 -20
  55. package/dist/chunks/{worktree-r6paxqy7.js → wellknown-3wwst4c5.js} +4 -4
  56. package/dist/chunks/{worktree-40y6dtc2.js → wellknown-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{worktree-w2eysc6j.js → wellknown-40za9wsf.js} +9 -9
  58. package/dist/chunks/{worktree-44pmzq9c.js → wellknown-44pmzq9c.js} +2 -2
  59. package/dist/chunks/{worktree-epthsp8p.js → wellknown-45bebn9c.js} +14 -14
  60. package/dist/chunks/{worktree-hw75bg93.js → wellknown-46vh34ss.js} +14 -14
  61. package/dist/chunks/{worktree-cqv0yv6r.js → wellknown-49vqy2az.js} +46 -46
  62. package/dist/chunks/{worktree-4dx1dgte.js → wellknown-4dx1dgte.js} +1 -1
  63. package/dist/chunks/{worktree-4f25tdd0.js → wellknown-4f25tdd0.js} +1 -1
  64. package/dist/chunks/{worktree-nh29x4t4.js → wellknown-4jexctq9.js} +11 -11
  65. package/dist/chunks/{worktree-4pyp9zr9.js → wellknown-4pyp9zr9.js} +1 -1
  66. package/dist/chunks/{worktree-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
  67. package/dist/chunks/{worktree-pcrxgd1y.js → wellknown-4x5nk1x5.js} +36 -36
  68. package/dist/chunks/{worktree-gmsdxnbj.js → wellknown-4yav3t7s.js} +47 -47
  69. package/dist/chunks/{worktree-d13jd56m.js → wellknown-525mz8jg.js} +4 -4
  70. package/dist/chunks/{worktree-frnfv82a.js → wellknown-5afvs6k1.js} +22 -22
  71. package/dist/chunks/{worktree-wbwvvcrc.js → wellknown-5er5nwr6.js} +41 -41
  72. package/dist/chunks/{worktree-vsxm4sf9.js → wellknown-5gszs3mg.js} +8 -8
  73. package/dist/chunks/{worktree-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{worktree-ys5g4k4z.js → wellknown-5tfk53q0.js} +41 -41
  75. package/dist/chunks/{worktree-2g34a0qs.js → wellknown-60j45npd.js} +27 -27
  76. package/dist/chunks/{worktree-x69q9wh6.js → wellknown-61625brq.js} +12 -12
  77. package/dist/chunks/{worktree-e59cb28x.js → wellknown-64ny3mcx.js} +19 -19
  78. package/dist/chunks/wellknown-69gprzdq.js +35 -0
  79. package/dist/chunks/{worktree-s062474n.js → wellknown-6d86p0rx.js} +30 -30
  80. package/dist/chunks/{worktree-j95yd6qs.js → wellknown-6h75haat.js} +8 -8
  81. package/dist/chunks/{worktree-vq0qa3sh.js → wellknown-6h8vcvjm.js} +9 -9
  82. package/dist/chunks/{worktree-d2d0axg5.js → wellknown-6hzsz47x.js} +24 -24
  83. package/dist/chunks/{worktree-t177y0q1.js → wellknown-6n7km2ez.js} +11 -11
  84. package/dist/chunks/{worktree-w33zj80n.js → wellknown-6nk6b5z2.js} +19 -19
  85. package/dist/chunks/{worktree-y6xdess4.js → wellknown-6qkskqcr.js} +36 -36
  86. package/dist/chunks/{worktree-wvr8xscb.js → wellknown-6y2b864j.js} +4 -4
  87. package/dist/chunks/{worktree-37gjjf5g.js → wellknown-6zrhfp6q.js} +85 -85
  88. package/dist/chunks/{worktree-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{worktree-xdcez2kt.js → wellknown-7mp3bmtj.js} +3 -3
  90. package/dist/chunks/{worktree-kpwwjhqq.js → wellknown-7naf8s2s.js} +42 -42
  91. package/dist/chunks/{worktree-bxk31rmq.js → wellknown-7pxtpnyj.js} +3 -3
  92. package/dist/chunks/{worktree-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
  93. package/dist/chunks/{worktree-7weczvnd.js → wellknown-7weczvnd.js} +1 -1
  94. package/dist/chunks/{worktree-a3fn0gmm.js → wellknown-80a1w5an.js} +2 -2
  95. package/dist/chunks/{worktree-775hqbnd.js → wellknown-80mg3ag8.js} +3 -3
  96. package/dist/chunks/{worktree-80pdk984.js → wellknown-80pdk984.js} +1 -1
  97. package/dist/chunks/{worktree-e0zepttq.js → wellknown-81wndkw9.js} +18 -18
  98. package/dist/chunks/{worktree-5dsr8r8r.js → wellknown-84aeym0z.js} +35 -35
  99. package/dist/chunks/{worktree-85jq8dht.js → wellknown-85jq8dht.js} +1 -1
  100. package/dist/chunks/{worktree-5gq1g6z4.js → wellknown-86d88khw.js} +29 -29
  101. package/dist/chunks/{worktree-jbwkk6ab.js → wellknown-88gs4f06.js} +7 -7
  102. package/dist/chunks/{worktree-8b3vzgkx.js → wellknown-8b3vzgkx.js} +1 -1
  103. package/dist/chunks/{worktree-e4wexmx7.js → wellknown-8gryxz20.js} +17 -17
  104. package/dist/chunks/{worktree-8kjyvwy5.js → wellknown-8kjyvwy5.js} +1 -1
  105. package/dist/chunks/{worktree-8sxe6kv8.js → wellknown-8sxe6kv8.js} +2 -2
  106. package/dist/chunks/{worktree-0bjg3qy0.js → wellknown-8w8cpz06.js} +21 -21
  107. package/dist/chunks/{worktree-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
  108. package/dist/chunks/{worktree-n503jqgj.js → wellknown-8zqzm5np.js} +12 -12
  109. package/dist/chunks/{worktree-8zv0xmg5.js → wellknown-8zv0xmg5.js} +1 -1
  110. package/dist/chunks/{worktree-9esm5h7s.js → wellknown-90tgay6n.js} +48 -48
  111. package/dist/chunks/{worktree-ah96p1fy.js → wellknown-95xmv174.js} +29 -29
  112. package/dist/chunks/{worktree-0mtp185z.js → wellknown-963hk181.js} +9 -9
  113. package/dist/chunks/{worktree-qdr892na.js → wellknown-9f8kb14f.js} +12 -12
  114. package/dist/chunks/{worktree-bt0j8jsq.js → wellknown-9hkx6g65.js} +4 -4
  115. package/dist/chunks/{worktree-dt1vnv0k.js → wellknown-9nkczbvd.js} +13 -13
  116. package/dist/chunks/{worktree-2n444ktb.js → wellknown-9p2szv1p.js} +3 -3
  117. package/dist/chunks/{worktree-w79nt68w.js → wellknown-9q8g9sv8.js} +4 -4
  118. package/dist/chunks/{worktree-v5bqf2qj.js → wellknown-9t3w645t.js} +17 -17
  119. package/dist/chunks/{worktree-bmn0w987.js → wellknown-9v88h1ca.js} +23 -23
  120. package/dist/chunks/{worktree-0a24q822.js → wellknown-9x1w0840.js} +15 -15
  121. package/dist/chunks/{worktree-rrg5jx6f.js → wellknown-9xjx31jr.js} +24 -24
  122. package/dist/chunks/{worktree-jxaybbka.js → wellknown-a3dc5jdz.js} +5 -5
  123. package/dist/chunks/{worktree-x38se2hj.js → wellknown-a68pf15f.js} +13 -13
  124. package/dist/chunks/{worktree-eq6baf7z.js → wellknown-a72a9qq8.js} +18 -18
  125. package/dist/chunks/{worktree-k6y824vh.js → wellknown-am54fdzb.js} +2 -2
  126. package/dist/chunks/{worktree-1kama452.js → wellknown-ane8d80r.js} +4 -4
  127. package/dist/chunks/{worktree-b6gk4anr.js → wellknown-anm5jz6g.js} +28 -28
  128. package/dist/chunks/{worktree-8b4n7av8.js → wellknown-atctktsp.js} +23 -23
  129. package/dist/chunks/{worktree-ayjs7tqn.js → wellknown-ayjs7tqn.js} +2 -2
  130. package/dist/chunks/{worktree-0gq253mk.js → wellknown-azf43hmp.js} +40 -40
  131. package/dist/chunks/{worktree-jm3dfxjs.js → wellknown-azk4er3g.js} +17 -17
  132. package/dist/chunks/{worktree-b26ddj6h.js → wellknown-b26ddj6h.js} +4 -4
  133. package/dist/chunks/{worktree-vjaeyxy8.js → wellknown-b2na6raw.js} +47 -60
  134. package/dist/chunks/{worktree-2qywqnd5.js → wellknown-b2xmvq2c.js} +27 -27
  135. package/dist/chunks/{worktree-87evyga5.js → wellknown-b5fgf89h.js} +35 -35
  136. package/dist/chunks/{worktree-9enxp8jt.js → wellknown-b5v6grxt.js} +3 -3
  137. package/dist/chunks/{worktree-ws1tt9pz.js → wellknown-bbqhzdxr.js} +14 -14
  138. package/dist/chunks/{worktree-jdazy0sj.js → wellknown-bf5h8hhg.js} +9 -9
  139. package/dist/chunks/{worktree-jbcrpda9.js → wellknown-bqfa9ah4.js} +6 -6
  140. package/dist/chunks/{worktree-tch23gam.js → wellknown-bv5pmh23.js} +16 -16
  141. package/dist/chunks/{worktree-t8erkws8.js → wellknown-bys6f9s7.js} +5 -5
  142. package/dist/chunks/{worktree-y32ebd8a.js → wellknown-c6jqhfbx.js} +7 -7
  143. package/dist/chunks/{worktree-8vad137p.js → wellknown-c7nq4s0z.js} +17 -17
  144. package/dist/chunks/{worktree-pvpgttgh.js → wellknown-cb67h20a.js} +8 -8
  145. package/dist/chunks/{worktree-etx991nf.js → wellknown-cgb0ky0r.js} +47 -47
  146. package/dist/chunks/{worktree-ktck1cjp.js → wellknown-ckn0kvtp.js} +6 -6
  147. package/dist/chunks/{worktree-mf9xnwfc.js → wellknown-cre26pzh.js} +4 -4
  148. package/dist/chunks/{worktree-cwrgdav8.js → wellknown-cwrgdav8.js} +2 -2
  149. package/dist/chunks/{worktree-avj6h0e6.js → wellknown-d0qca5b5.js} +28 -28
  150. package/dist/chunks/{worktree-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
  151. package/dist/chunks/{worktree-vgtkes5b.js → wellknown-d76f69sx.js} +21 -21
  152. package/dist/chunks/{worktree-rcp756gk.js → wellknown-d89kch1r.js} +4 -4
  153. package/dist/chunks/{worktree-kjpmgpdf.js → wellknown-d8ths8hj.js} +20 -20
  154. package/dist/chunks/{worktree-tehj359t.js → wellknown-da9kefhx.js} +19 -19
  155. package/dist/chunks/{worktree-vsjszmws.js → wellknown-db894n5b.js} +10 -10
  156. package/dist/chunks/{worktree-kfdy2ced.js → wellknown-des3sty7.js} +41 -41
  157. package/dist/chunks/{worktree-abfhp5y0.js → wellknown-dnv3vdn4.js} +16 -16
  158. package/dist/chunks/{worktree-f43yppe0.js → wellknown-dq9yw5y4.js} +50 -50
  159. package/dist/chunks/{worktree-nj7csm0w.js → wellknown-dqb5vj9d.js} +6 -6
  160. package/dist/chunks/{worktree-axkdp7x4.js → wellknown-drf94xsw.js} +5 -5
  161. package/dist/chunks/{worktree-4e85nbz2.js → wellknown-drx3xxbs.js} +9 -9
  162. package/dist/chunks/{worktree-dt77769w.js → wellknown-dt77769w.js} +1 -1
  163. package/dist/chunks/{worktree-cpe35zww.js → wellknown-dvnqv6yn.js} +4 -4
  164. package/dist/chunks/{worktree-nrhb5mcr.js → wellknown-dwssz31q.js} +11 -11
  165. package/dist/chunks/{worktree-e2yswvtz.js → wellknown-e1yxnm4d.js} +21 -21
  166. package/dist/chunks/{worktree-5drvnfvh.js → wellknown-e8q0fqbh.js} +22 -22
  167. package/dist/chunks/{worktree-5j82wakc.js → wellknown-eaqk9kqr.js} +20 -20
  168. package/dist/chunks/{worktree-1wsd0ebx.js → wellknown-eea91zwp.js} +4 -4
  169. package/dist/chunks/{worktree-eqw4pqj1.js → wellknown-eqw4pqj1.js} +2 -2
  170. package/dist/chunks/{worktree-hby6few7.js → wellknown-fa0k7vsk.js} +20 -20
  171. package/dist/chunks/{worktree-sbzezcpx.js → wellknown-fgmter8b.js} +8 -8
  172. package/dist/chunks/{worktree-x3t11r60.js → wellknown-fjwkbb1x.js} +5 -5
  173. package/dist/chunks/{worktree-hjm7rc96.js → wellknown-frep32by.js} +10 -10
  174. package/dist/chunks/{worktree-221mv0g2.js → wellknown-fz2n6382.js} +31 -31
  175. package/dist/chunks/{worktree-vg3y8tzc.js → wellknown-fze8cfn0.js} +12 -12
  176. package/dist/chunks/{worktree-t7h80jfh.js → wellknown-g2qvhfnx.js} +7 -7
  177. package/dist/chunks/{worktree-ycdz9p50.js → wellknown-g4h9rjaz.js} +3 -3
  178. package/dist/chunks/{worktree-g298ae0f.js → wellknown-g4nnzxz4.js} +9 -9
  179. package/dist/chunks/{worktree-wbxahces.js → wellknown-g5rh77mm.js} +10 -10
  180. package/dist/chunks/{worktree-4jp6v5kb.js → wellknown-gb1nz6tw.js} +14 -14
  181. package/dist/chunks/{worktree-gbjdnr5j.js → wellknown-gbjdnr5j.js} +2 -2
  182. package/dist/chunks/{worktree-02tnp2z6.js → wellknown-ggtsavny.js} +17 -17
  183. package/dist/chunks/{worktree-ht3fwskd.js → wellknown-ghfzx59g.js} +10 -10
  184. package/dist/chunks/{worktree-ghrv1g9c.js → wellknown-ghrv1g9c.js} +1 -1
  185. package/dist/chunks/{worktree-vzn28619.js → wellknown-gkpn8dda.js} +6 -6
  186. package/dist/chunks/{worktree-b0beahbq.js → wellknown-gky9pep2.js} +44 -44
  187. package/dist/chunks/{worktree-da7jra8h.js → wellknown-gv0w1vxr.js} +36 -36
  188. package/dist/chunks/{worktree-1xcpt731.js → wellknown-gvzshmgs.js} +37 -37
  189. package/dist/chunks/{worktree-tg7s7b5t.js → wellknown-gxs71cxp.js} +4 -4
  190. package/dist/chunks/{worktree-x08m4j8q.js → wellknown-h8x5hy5a.js} +18 -18
  191. package/dist/chunks/{worktree-7t938ypj.js → wellknown-hacm5ky9.js} +11 -11
  192. package/dist/chunks/{worktree-jzf995y2.js → wellknown-hcwr1eq3.js} +4 -4
  193. package/dist/chunks/{worktree-akk97tym.js → wellknown-hdtqhxbt.js} +8 -8
  194. package/dist/chunks/{worktree-y2a0knnn.js → wellknown-hfd14bbn.js} +3 -3
  195. package/dist/chunks/{worktree-hgzwgvze.js → wellknown-hgzwgvze.js} +2 -2
  196. package/dist/chunks/{worktree-9qm47qae.js → wellknown-hngf4e10.js} +16 -16
  197. package/dist/chunks/{worktree-jc6n1g1a.js → wellknown-hpsyjkdx.js} +12 -12
  198. package/dist/chunks/{worktree-awaktgrw.js → wellknown-hrfbfe36.js} +43 -43
  199. package/dist/chunks/{worktree-h4ghx0yk.js → wellknown-hy0yhvdm.js} +23 -23
  200. package/dist/chunks/{worktree-7gmy25f6.js → wellknown-j1fqt4qc.js} +5 -5
  201. package/dist/chunks/{worktree-jr5g7pr8.js → wellknown-j1wnaq34.js} +11 -11
  202. package/dist/chunks/{worktree-zcptnv4n.js → wellknown-j4p6td36.js} +9 -9
  203. package/dist/chunks/{worktree-pwe4x7n8.js → wellknown-j9dezkr9.js} +48 -48
  204. package/dist/chunks/{worktree-v3ryf4j6.js → wellknown-jh4x1cys.js} +7 -7
  205. package/dist/chunks/{worktree-s26c8eb5.js → wellknown-jkdcm5hg.js} +4 -4
  206. package/dist/chunks/{worktree-jm70asfg.js → wellknown-jm70asfg.js} +1 -1
  207. package/dist/chunks/{worktree-955vq45v.js → wellknown-jr0fegj9.js} +7 -7
  208. package/dist/chunks/{worktree-cjqsf6bw.js → wellknown-jvcygd6j.js} +9 -9
  209. package/dist/chunks/{worktree-kjpprafw.js → wellknown-k7kssdtd.js} +28 -28
  210. package/dist/chunks/{worktree-8dtpqrc9.js → wellknown-k82p69kk.js} +15 -15
  211. package/dist/chunks/{worktree-f2zjpyt5.js → wellknown-kd3pvrcx.js} +5 -5
  212. package/dist/chunks/{worktree-3ffssf92.js → wellknown-kd43xx4e.js} +9 -9
  213. package/dist/chunks/{worktree-vmqe41cb.js → wellknown-kj9n5bvh.js} +4 -4
  214. package/dist/chunks/{worktree-d3kcraj0.js → wellknown-kk6vxkpe.js} +22 -22
  215. package/dist/chunks/{worktree-kt3bjfbg.js → wellknown-kt3bjfbg.js} +1 -1
  216. package/dist/chunks/{worktree-0a5a4072.js → wellknown-kybpnhsk.js} +8 -8
  217. package/dist/chunks/{worktree-kzczzf4v.js → wellknown-kzczzf4v.js} +1 -1
  218. package/dist/chunks/{worktree-8hfctyyf.js → wellknown-kzdam8c6.js} +7 -7
  219. package/dist/chunks/{worktree-j8zr3f3w.js → wellknown-kzp5qeg3.js} +5 -5
  220. package/dist/chunks/{worktree-m1714858.js → wellknown-m1714858.js} +1 -1
  221. package/dist/chunks/{worktree-hkkxk2t5.js → wellknown-m4c54zxh.js} +11 -11
  222. package/dist/chunks/{worktree-pd7cqnhq.js → wellknown-m4p4r8nc.js} +4 -4
  223. package/dist/chunks/{worktree-m90tx7mw.js → wellknown-m90tx7mw.js} +1 -1
  224. package/dist/chunks/{worktree-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  225. package/dist/chunks/{worktree-e27dnf0a.js → wellknown-mavnwbez.js} +8 -8
  226. package/dist/chunks/{worktree-mb7mbhnz.js → wellknown-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/{worktree-e1tqt626.js → wellknown-mcy8kewc.js} +12 -12
  228. package/dist/chunks/{worktree-nqp3x6j2.js → wellknown-mnd11pf8.js} +94 -94
  229. package/dist/chunks/{worktree-9xgtm86g.js → wellknown-mrp55d25.js} +31 -31
  230. package/dist/chunks/{worktree-kgxqtx97.js → wellknown-n7q05nrv.js} +5 -5
  231. package/dist/chunks/{worktree-w838r4xv.js → wellknown-n9fc3ffr.js} +9 -9
  232. package/dist/chunks/{worktree-r9t20rx0.js → wellknown-nctk7vpd.js} +17 -17
  233. package/dist/chunks/{worktree-n3hr8dch.js → wellknown-nfj3wr17.js} +14 -14
  234. package/dist/chunks/{worktree-m9x82pg0.js → wellknown-nhb9dsje.js} +34 -34
  235. package/dist/chunks/{worktree-1j86et5h.js → wellknown-ntgys0yr.js} +5 -5
  236. package/dist/chunks/{worktree-qah7t4da.js → wellknown-p3g3b7x5.js} +6 -6
  237. package/dist/chunks/{worktree-5nkvqegm.js → wellknown-p694rhrj.js} +55 -55
  238. package/dist/chunks/{worktree-ns7cryw4.js → wellknown-p6zdnexr.js} +24 -24
  239. package/dist/chunks/{worktree-d3nfmg6f.js → wellknown-p7pxh3hk.js} +27 -27
  240. package/dist/chunks/{worktree-ejsjjq0z.js → wellknown-p7rg0ahv.js} +16 -16
  241. package/dist/chunks/{worktree-cyebkz0g.js → wellknown-pja52887.js} +21 -21
  242. package/dist/chunks/{worktree-pknna89w.js → wellknown-pknna89w.js} +1 -1
  243. package/dist/chunks/{worktree-dkrnptrz.js → wellknown-pnwsrq7c.js} +11 -11
  244. package/dist/chunks/{worktree-vq1ppevj.js → wellknown-ppdsqj4g.js} +8 -8
  245. package/dist/chunks/{worktree-fg9p65nk.js → wellknown-prq7xxp2.js} +6 -6
  246. package/dist/chunks/{worktree-9v671hr8.js → wellknown-ps1sh08h.js} +7 -7
  247. package/dist/chunks/{worktree-ah4z3jtw.js → wellknown-pz4160y0.js} +20 -20
  248. package/dist/chunks/{worktree-rygz02xs.js → wellknown-q4018z18.js} +20 -20
  249. package/dist/chunks/{worktree-taa3rr0k.js → wellknown-q48e718y.js} +8 -8
  250. package/dist/chunks/{worktree-q1x3kagb.js → wellknown-q99fg7xs.js} +32 -32
  251. package/dist/chunks/{worktree-ywqn7m26.js → wellknown-qjx4e7wd.js} +13 -13
  252. package/dist/chunks/{worktree-dchm6595.js → wellknown-qk5jqvsz.js} +7 -7
  253. package/dist/chunks/{worktree-qp7r0hxv.js → wellknown-qp7r0hxv.js} +1 -1
  254. package/dist/chunks/{worktree-p6a5srqb.js → wellknown-qrjh6ecv.js} +29 -29
  255. package/dist/chunks/{worktree-rg2m9633.js → wellknown-qy4z8qgx.js} +32 -32
  256. package/dist/chunks/{worktree-8bgnr0we.js → wellknown-r45nfa48.js} +9 -9
  257. package/dist/chunks/{worktree-d2mwgxdd.js → wellknown-r6pn3r14.js} +5 -5
  258. package/dist/chunks/{worktree-4cd8bjhn.js → wellknown-r9x4hg85.js} +18 -18
  259. package/dist/chunks/{worktree-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
  260. package/dist/chunks/{worktree-rgc9cx3e.js → wellknown-rgc9cx3e.js} +2 -2
  261. package/dist/chunks/{worktree-vt2d6wap.js → wellknown-rj7j5fvs.js} +4 -4
  262. package/dist/chunks/{worktree-s2eam2g1.js → wellknown-rjq2h366.js} +20 -20
  263. package/dist/chunks/{worktree-4vhvsf6w.js → wellknown-rmzz9gxy.js} +59 -59
  264. package/dist/chunks/{worktree-52bne9g4.js → wellknown-ryxj8vej.js} +4 -4
  265. package/dist/chunks/{worktree-s47rahr7.js → wellknown-s47rahr7.js} +1 -1
  266. package/dist/chunks/{worktree-2mmsr0r6.js → wellknown-s5gnd255.js} +3 -3
  267. package/dist/chunks/{worktree-115nyvd9.js → wellknown-s5jb09at.js} +23 -23
  268. package/dist/chunks/{worktree-9fgy5dtv.js → wellknown-s6bhvg1c.js} +8 -8
  269. package/dist/chunks/{worktree-sbya78hr.js → wellknown-sbya78hr.js} +1 -1
  270. package/dist/chunks/{worktree-zkxpfaz2.js → wellknown-sdvame5v.js} +21 -21
  271. package/dist/chunks/{worktree-7wx686z5.js → wellknown-se8w9n5w.js} +23 -23
  272. package/dist/chunks/{worktree-kkfprn4x.js → wellknown-sg8yaemx.js} +10 -10
  273. package/dist/chunks/{worktree-ga69pc6y.js → wellknown-sqmdmenf.js} +4 -4
  274. package/dist/chunks/{worktree-svcy3p9a.js → wellknown-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{worktree-8akjpyn6.js → wellknown-t48jrnqq.js} +3 -3
  276. package/dist/chunks/{worktree-9p0t0vzw.js → wellknown-t4r9w2r8.js} +370 -370
  277. package/dist/chunks/{worktree-xxschbft.js → wellknown-t54kw4zq.js} +7 -7
  278. package/dist/chunks/{worktree-vphbnpnp.js → wellknown-t9dyr738.js} +8 -8
  279. package/dist/chunks/{worktree-tbpn7jtk.js → wellknown-tbpn7jtk.js} +1 -1
  280. package/dist/chunks/{worktree-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
  281. package/dist/chunks/{worktree-v6yzcc2c.js → wellknown-tebsc1c2.js} +16 -16
  282. package/dist/chunks/{worktree-160yv0cs.js → wellknown-tg1vr1qt.js} +8 -8
  283. package/dist/chunks/{worktree-bmyrrwdj.js → wellknown-tpbp4zns.js} +17 -17
  284. package/dist/chunks/{worktree-wymgne7z.js → wellknown-tr7e1wbp.js} +35 -35
  285. package/dist/chunks/{worktree-tr8x705m.js → wellknown-tr8x705m.js} +1 -1
  286. package/dist/chunks/{worktree-9r7xa4ny.js → wellknown-tsq3zbsd.js} +6 -6
  287. package/dist/chunks/{worktree-yz8gd7dy.js → wellknown-ttryaj5y.js} +21 -21
  288. package/dist/chunks/{worktree-tvtps2q9.js → wellknown-tvtps2q9.js} +1 -1
  289. package/dist/chunks/{worktree-twssxy5n.js → wellknown-twssxy5n.js} +2 -2
  290. package/dist/chunks/{worktree-4pw98qd4.js → wellknown-tx91wa5k.js} +4 -4
  291. package/dist/chunks/{worktree-v0etfk9t.js → wellknown-txtemxmw.js} +23 -23
  292. package/dist/chunks/{worktree-2h7m8jkh.js → wellknown-tzwds221.js} +26 -26
  293. package/dist/chunks/wellknown-v0zd4c6n.js +26 -0
  294. package/dist/chunks/{worktree-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
  295. package/dist/chunks/{worktree-1yq9hg58.js → wellknown-v9ez2kgh.js} +5 -5
  296. package/dist/chunks/{worktree-xgytw5f8.js → wellknown-vahqzszt.js} +12 -12
  297. package/dist/chunks/{worktree-3eknw787.js → wellknown-veeygb1m.js} +11 -11
  298. package/dist/chunks/{worktree-kth6pzp8.js → wellknown-vf4vzgrq.js} +3 -3
  299. package/dist/chunks/{worktree-vjf35v1f.js → wellknown-vjf35v1f.js} +1 -1
  300. package/dist/chunks/{worktree-vk2qjrme.js → wellknown-vjwxq6wx.js} +15 -15
  301. package/dist/chunks/{worktree-9nv5w25y.js → wellknown-vmkk11eb.js} +14 -14
  302. package/dist/chunks/{worktree-xyzp9kyc.js → wellknown-vmt418y7.js} +13 -13
  303. package/dist/chunks/{worktree-21prfe2v.js → wellknown-vnm5skb7.js} +13 -13
  304. package/dist/chunks/{worktree-h8c2vh0k.js → wellknown-vp369ad1.js} +34 -34
  305. package/dist/chunks/{worktree-46jzz2by.js → wellknown-vq65r0sw.js} +20 -20
  306. package/dist/chunks/{worktree-tw2hbedk.js → wellknown-vtftqehb.js} +45 -45
  307. package/dist/chunks/{worktree-wrkdd7ek.js → wellknown-w17m67z5.js} +32 -32
  308. package/dist/chunks/{worktree-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  309. package/dist/chunks/{worktree-1yped5qa.js → wellknown-w687dnns.js} +4 -4
  310. package/dist/chunks/{worktree-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
  311. package/dist/chunks/{worktree-wd87259q.js → wellknown-wd87259q.js} +1 -1
  312. package/dist/chunks/{worktree-yqx9pdyt.js → wellknown-wefs7edz.js} +55 -55
  313. package/dist/chunks/{worktree-wegkxhrn.js → wellknown-wegkxhrn.js} +2 -2
  314. package/dist/chunks/{worktree-rhy0sbpe.js → wellknown-wexdq955.js} +16 -16
  315. package/dist/chunks/{worktree-zm62ja19.js → wellknown-wmerjj0j.js} +29 -29
  316. package/dist/chunks/{worktree-5m55nvws.js → wellknown-wpkh533q.js} +54 -54
  317. package/dist/chunks/{worktree-vkz6fa6t.js → wellknown-wvxbfzwt.js} +31 -31
  318. package/dist/chunks/{worktree-vqvr9k9x.js → wellknown-wy6ncpne.js} +16 -16
  319. package/dist/chunks/{worktree-dfz3m1mp.js → wellknown-x0gzg1yf.js} +24 -24
  320. package/dist/chunks/wellknown-x3c9tvtc.js +16 -0
  321. package/dist/chunks/{worktree-hkf8spj2.js → wellknown-xacrkbdt.js} +7 -7
  322. package/dist/chunks/{worktree-bstexjd6.js → wellknown-xd9cc171.js} +5 -5
  323. package/dist/chunks/{worktree-evksn9k1.js → wellknown-xg0vzbv9.js} +26 -26
  324. package/dist/chunks/{worktree-8gmxcapv.js → wellknown-xgf66r5p.js} +11 -11
  325. package/dist/chunks/{worktree-y3aw00r4.js → wellknown-xjjc6s74.js} +8 -8
  326. package/dist/chunks/{worktree-1wt5gxxy.js → wellknown-xjpg0rhp.js} +21 -21
  327. package/dist/chunks/{worktree-brv6mkyx.js → wellknown-xksw6ev0.js} +4 -4
  328. package/dist/chunks/{worktree-xvn8mnch.js → wellknown-xvn8mnch.js} +1 -1
  329. package/dist/chunks/{worktree-q6n1cnj5.js → wellknown-xwn9qeys.js} +11 -11
  330. package/dist/chunks/{worktree-7nqkf5r1.js → wellknown-xz07m27x.js} +2 -2
  331. package/dist/chunks/{worktree-8g0svzxg.js → wellknown-y62e7w4v.js} +9 -9
  332. package/dist/chunks/{worktree-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
  333. package/dist/chunks/{worktree-y31k03ft.js → wellknown-yc82dn71.js} +5 -5
  334. package/dist/chunks/{worktree-z6twvr1q.js → wellknown-ygfv9ggh.js} +25 -25
  335. package/dist/chunks/{worktree-04rnhqft.js → wellknown-ygzypyn0.js} +22 -22
  336. package/dist/chunks/{worktree-rr5nfxgj.js → wellknown-yhyead5v.js} +10 -10
  337. package/dist/chunks/{worktree-36c6fj51.js → wellknown-ynp30pmv.js} +16 -16
  338. package/dist/chunks/{worktree-hj0xet7m.js → wellknown-yp5x37yz.js} +5 -5
  339. package/dist/chunks/{worktree-yr705xyq.js → wellknown-yr705xyq.js} +1 -1
  340. package/dist/chunks/{worktree-jdb23anr.js → wellknown-yv9r88qp.js} +15 -15
  341. package/dist/chunks/{worktree-yvtc2x31.js → wellknown-yvtc2x31.js} +1 -1
  342. package/dist/chunks/{worktree-b7vxy437.js → wellknown-ywgwmejy.js} +23 -23
  343. package/dist/chunks/{worktree-vvty3cpq.js → wellknown-yzwcwngq.js} +49 -49
  344. package/dist/chunks/{worktree-z0wbgq7s.js → wellknown-z0wbgq7s.js} +1 -1
  345. package/dist/chunks/{worktree-zgj2mgk9.js → wellknown-z4bvkcgz.js} +14 -14
  346. package/dist/chunks/{worktree-trxdv4a2.js → wellknown-z4fev26h.js} +11 -11
  347. package/dist/chunks/{worktree-w8q5ggyd.js → wellknown-z4r2dvf6.js} +33 -34
  348. package/dist/chunks/{worktree-j9nxzz3g.js → wellknown-ze75qvmd.js} +3 -3
  349. package/dist/chunks/wellknown-zjrg4e70.js +273 -0
  350. package/dist/chunks/{worktree-bg4yx4n3.js → wellknown-zmxv47jx.js} +30 -30
  351. package/dist/chunks/{worktree-rsd267qt.js → wellknown-zvx3j4zh.js} +6 -6
  352. package/dist/chunks/{worktree-e53fs974.js → wellknown-zz2c832q.js} +11 -11
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +8 -8
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +94 -94
  359. package/dist/config/discovery.js +95 -95
  360. package/dist/config/integration.js +5 -5
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +134 -134
  365. package/dist/config/plugin/command.js +249 -249
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +131 -131
  373. package/dist/config/plugin/mcp.js +150 -150
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +133 -133
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +154 -154
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +135 -135
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +132 -132
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +136 -136
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +88 -88
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  395. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +13 -13
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +14 -14
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +105 -105
  475. package/dist/effect/app-node-builder.js +450 -450
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/keyed-mutex.js +1 -1
  478. package/dist/effect/websocket-constructor.js +1 -1
  479. package/dist/environment/driver.js +1 -1
  480. package/dist/environment/environment.js +105 -105
  481. package/dist/environment/exec-defaults.js +2 -2
  482. package/dist/environment/files.js +1 -1
  483. package/dist/environment/index.js +108 -108
  484. package/dist/environment/local.js +2 -2
  485. package/dist/environment/memory.js +2 -2
  486. package/dist/environment/unavailable.js +3 -3
  487. package/dist/event/sql.js +1 -1
  488. package/dist/event-logger.js +81 -81
  489. package/dist/file-access.js +162 -162
  490. package/dist/file-mutation.js +108 -108
  491. package/dist/file-retention.js +1 -1
  492. package/dist/file-write.js +166 -166
  493. package/dist/filesystem/fff.bun.js +2 -2
  494. package/dist/filesystem/fff.js +1 -1
  495. package/dist/filesystem/fff.node.js +2 -2
  496. package/dist/filesystem/fff.workerd.js +2 -2
  497. package/dist/filesystem/file-watch.js +88 -88
  498. package/dist/filesystem/location-watcher-policy.js +6 -6
  499. package/dist/filesystem/location-watcher.js +258 -258
  500. package/dist/filesystem/protected.js +1 -1
  501. package/dist/filesystem/search.js +111 -111
  502. package/dist/filesystem/watcher-binding.js +1 -1
  503. package/dist/filesystem/watcher.js +11 -11
  504. package/dist/filesystem.js +116 -116
  505. package/dist/flag.js +136 -136
  506. package/dist/form.js +95 -95
  507. package/dist/formatter/builtins.js +4 -4
  508. package/dist/formatter.js +100 -100
  509. package/dist/generate.js +123 -123
  510. package/dist/git.js +11 -11
  511. package/dist/github-copilot/models.js +113 -113
  512. package/dist/image/notice.js +1 -1
  513. package/dist/image/photon-normalize.js +1 -1
  514. package/dist/image/photon-worker.js +1 -1
  515. package/dist/image/photon.js +4 -4
  516. package/dist/image.js +6 -6
  517. package/dist/instance/service.js +5 -5
  518. package/dist/instance.js +441 -441
  519. package/dist/instruction-discovery.js +98 -98
  520. package/dist/instructions/builtins.js +101 -101
  521. package/dist/instructions/index.js +4 -4
  522. package/dist/integration/connection.js +1 -1
  523. package/dist/integration.js +94 -94
  524. package/dist/job/list.js +5 -5
  525. package/dist/job/recovery.js +2 -2
  526. package/dist/job/sql.js +2 -2
  527. package/dist/job.js +90 -90
  528. package/dist/kv/sql.js +2 -2
  529. package/dist/kv.js +84 -84
  530. package/dist/location-activity.js +187 -187
  531. package/dist/location-lifecycle.js +155 -155
  532. package/dist/location-service-map.js +99 -99
  533. package/dist/location-services.js +438 -438
  534. package/dist/location.js +100 -100
  535. package/dist/managed-policy.js +3 -3
  536. package/dist/mcp/client.js +161 -161
  537. package/dist/mcp/connection.js +106 -106
  538. package/dist/mcp/event-errors.js +1 -1
  539. package/dist/mcp/index.js +151 -151
  540. package/dist/mcp/instructions.js +192 -192
  541. package/dist/mcp/oauth.js +87 -87
  542. package/dist/mcp/pool.js +112 -112
  543. package/dist/mcp/socket-client.js +1 -1
  544. package/dist/mcp/stdio.js +161 -161
  545. package/dist/mime.js +1 -1
  546. package/dist/modal/models.js +113 -113
  547. package/dist/model-resolver.js +113 -113
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +116 -116
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +118 -118
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/oauth/redirect.js +1 -1
  554. package/dist/permission/saved.js +93 -93
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +160 -160
  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 +97 -97
  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 +148 -148
  564. package/dist/plugin/fork-notice.js +3 -3
  565. package/dist/plugin/goal.js +3 -3
  566. package/dist/plugin/hooks.js +5 -5
  567. package/dist/plugin/host.js +251 -251
  568. package/dist/plugin/identity.js +5 -5
  569. package/dist/plugin/instance.js +5 -5
  570. package/dist/plugin/internal.js +418 -418
  571. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  572. package/dist/plugin/models-dev.js +111 -111
  573. package/dist/plugin/module.js +130 -130
  574. package/dist/plugin/optimize.js +2 -2
  575. package/dist/plugin/plan.js +151 -151
  576. package/dist/plugin/promise.js +1 -1
  577. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  578. package/dist/plugin/provider/azure.js +134 -134
  579. package/dist/plugin/provider/cerebras.js +1 -1
  580. package/dist/plugin/provider/chatgpt.js +135 -135
  581. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  582. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  587. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  588. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  589. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  590. package/dist/plugin/provider/claude-agent/index.js +149 -149
  591. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  592. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  595. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  596. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  600. package/dist/plugin/provider/claude-agent/provider.js +113 -113
  601. package/dist/plugin/provider/claude-agent/session.js +113 -113
  602. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  603. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  606. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  612. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  613. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  614. package/dist/plugin/provider/configured.js +127 -127
  615. package/dist/plugin/provider/credential-settings.js +88 -88
  616. package/dist/plugin/provider/databricks.js +1 -1
  617. package/dist/plugin/provider/digitalocean.js +110 -110
  618. package/dist/plugin/provider/dynamic.js +2 -2
  619. package/dist/plugin/provider/github-copilot.js +112 -112
  620. package/dist/plugin/provider/gitlab.js +111 -111
  621. package/dist/plugin/provider/google-vertex.js +128 -128
  622. package/dist/plugin/provider/kilo.js +1 -1
  623. package/dist/plugin/provider/llmgateway.js +89 -89
  624. package/dist/plugin/provider/lmstudio.js +144 -144
  625. package/dist/plugin/provider/local.js +141 -141
  626. package/dist/plugin/provider/modal.js +109 -109
  627. package/dist/plugin/provider/neon.js +1 -1
  628. package/dist/plugin/provider/nvidia.js +1 -1
  629. package/dist/plugin/provider/ollama.js +144 -144
  630. package/dist/plugin/provider/openai-context-caps.js +107 -107
  631. package/dist/plugin/provider/openai.js +135 -135
  632. package/dist/plugin/provider/opencode-watches.js +4 -4
  633. package/dist/plugin/provider/opencode.js +163 -163
  634. package/dist/plugin/provider/openrouter.js +105 -105
  635. package/dist/plugin/provider/poe.js +91 -91
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +89 -89
  638. package/dist/plugin/provider/sap-ai-core.js +105 -105
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  641. package/dist/plugin/provider/vllm.js +144 -144
  642. package/dist/plugin/provider/xai.js +105 -105
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +242 -242
  645. package/dist/plugin/sdk.js +87 -87
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +154 -154
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +430 -430
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +107 -107
  655. package/dist/plugin/warming.js +131 -131
  656. package/dist/plugin/websearch/exa.js +8 -8
  657. package/dist/plugin/websearch/firecrawl.js +7 -7
  658. package/dist/plugin/websearch/index.js +10 -10
  659. package/dist/plugin/websearch/mcp.js +6 -6
  660. package/dist/plugin/websearch/parallel.js +7 -7
  661. package/dist/plugin/websearch/provider.js +5 -5
  662. package/dist/plugin/websearch/tavily.js +7 -7
  663. package/dist/plugin/websearch/tinyfish.js +9 -9
  664. package/dist/plugin.js +262 -262
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +8 -8
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +103 -103
  669. package/dist/provider.js +113 -113
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +113 -113
  673. package/dist/reference/instructions.js +100 -100
  674. package/dist/reference.js +103 -103
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +3 -3
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +109 -109
  679. package/dist/rpc.js +97 -97
  680. package/dist/schedule/check.js +256 -256
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +270 -270
  683. package/dist/schema.js +1 -1
  684. package/dist/session/affinity.js +1 -1
  685. package/dist/session/background.js +3 -3
  686. package/dist/session/blob.js +133 -133
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +175 -175
  689. package/dist/session/context.js +208 -208
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +5 -5
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +274 -274
  695. package/dist/session/execution/subagent-report.js +147 -147
  696. package/dist/session/execution.js +176 -176
  697. package/dist/session/generate.js +210 -210
  698. package/dist/session/history.js +141 -141
  699. package/dist/session/inbox.js +152 -152
  700. package/dist/session/info.js +3 -3
  701. package/dist/session/instruction-entry.js +87 -87
  702. package/dist/session/instruction-state.js +9 -9
  703. package/dist/session/instructions.js +148 -148
  704. package/dist/session/message-updater.js +2 -2
  705. package/dist/session/message.js +1 -1
  706. package/dist/session/model-request.js +173 -173
  707. package/dist/session/model-transport.js +9 -9
  708. package/dist/session/move.js +176 -176
  709. package/dist/session/projector.js +148 -148
  710. package/dist/session/prompt.js +153 -153
  711. package/dist/session/recent-text.js +1 -1
  712. package/dist/session/revert.js +144 -144
  713. package/dist/session/run-coordinator.js +1 -1
  714. package/dist/session/runner/index.js +3 -3
  715. package/dist/session/runner/llm.js +263 -263
  716. package/dist/session/runner/max-steps.js +1 -1
  717. package/dist/session/runner/model.js +115 -115
  718. package/dist/session/runner/publish-llm-event.js +155 -155
  719. package/dist/session/runner/retry.js +5 -5
  720. package/dist/session/runner/step.js +168 -168
  721. package/dist/session/runner/to-llm-message.js +142 -142
  722. package/dist/session/schema.js +5 -5
  723. package/dist/session/session.js +194 -194
  724. package/dist/session/shell.js +149 -149
  725. package/dist/session/skill.js +152 -152
  726. package/dist/session/sql.js +5 -5
  727. package/dist/session/stats.js +85 -85
  728. package/dist/session/store.js +147 -147
  729. package/dist/session/stored.js +4 -4
  730. package/dist/session/subagent-completion.js +1 -1
  731. package/dist/session/subagent-job.js +171 -171
  732. package/dist/session/system-prompt.js +3 -3
  733. package/dist/session/title.js +212 -212
  734. package/dist/session/to-session-error.js +154 -154
  735. package/dist/session/transfer.js +257 -257
  736. package/dist/session/usage.js +1 -1
  737. package/dist/session.js +251 -251
  738. package/dist/shared-cache.js +5 -5
  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 +15 -15
  743. package/dist/shell.js +151 -151
  744. package/dist/skill/discovery.js +2 -2
  745. package/dist/skill/instructions.js +156 -156
  746. package/dist/skill.js +161 -161
  747. package/dist/snapshot.js +106 -106
  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 +189 -189
  752. package/dist/tool/plugin/artifact.js +246 -246
  753. package/dist/tool/plugin/edit.js +172 -172
  754. package/dist/tool/plugin/file-diff.js +1 -1
  755. package/dist/tool/plugin/glob.js +176 -176
  756. package/dist/tool/plugin/grep.js +175 -175
  757. package/dist/tool/plugin/image-generate.js +257 -257
  758. package/dist/tool/plugin/mcp-events.js +168 -168
  759. package/dist/tool/plugin/mcp-resource.js +172 -172
  760. package/dist/tool/plugin/opencode.js +168 -168
  761. package/dist/tool/plugin/patch.js +171 -175
  762. package/dist/tool/plugin/question.js +153 -153
  763. package/dist/tool/plugin/read.js +177 -177
  764. package/dist/tool/plugin/schedule.js +262 -262
  765. package/dist/tool/plugin/shell.js +253 -253
  766. package/dist/tool/plugin/skill.js +160 -160
  767. package/dist/tool/plugin/subagent.js +251 -251
  768. package/dist/tool/plugin/todo.js +158 -158
  769. package/dist/tool/plugin/webfetch.js +162 -162
  770. package/dist/tool/plugin/websearch.js +158 -158
  771. package/dist/tool/plugin/write.js +169 -171
  772. package/dist/tool/read-filesystem.js +116 -116
  773. package/dist/tool/runtime.js +1 -1
  774. package/dist/tool/search.js +109 -109
  775. package/dist/tool-output.js +7 -7
  776. package/dist/tool.js +167 -167
  777. package/dist/types/codemode/execution.d.ts +3 -1
  778. package/dist/types/codemode/fetch.d.ts +1 -15
  779. package/dist/types/tool/plugin/patch.d.ts +1 -22
  780. package/dist/types/tool/plugin/skill.d.ts +1 -2
  781. package/dist/types/tool/plugin/write.d.ts +1 -7
  782. package/dist/usage-limits.js +98 -98
  783. package/dist/util/canonical-json.js +1 -1
  784. package/dist/util/error-summary.js +1 -1
  785. package/dist/util/git-executable.js +3 -3
  786. package/dist/util/lazy.js +1 -1
  787. package/dist/util/slug.js +1 -1
  788. package/dist/util/token.js +1 -1
  789. package/dist/util/which.js +1 -1
  790. package/dist/util/wildcard.js +1 -1
  791. package/dist/v1/config/agent.js +7 -7
  792. package/dist/v1/config/command.js +3 -3
  793. package/dist/v1/config/mcp.js +4 -4
  794. package/dist/v1/config/migrate.js +106 -106
  795. package/dist/v1/config/permission.js +3 -3
  796. package/dist/v1/config/plugin.js +3 -3
  797. package/dist/v1/config/provider-options.js +1 -1
  798. package/dist/v1/config/provider.js +4 -4
  799. package/dist/variant.js +105 -105
  800. package/dist/vcs/patch.js +1 -1
  801. package/dist/vcs.js +102 -102
  802. package/dist/voice.js +101 -101
  803. package/dist/websearch.js +99 -99
  804. package/dist/wellknown/plugin.js +87 -87
  805. package/dist/wellknown.js +92 -92
  806. package/dist/workspace/driver.js +5 -5
  807. package/dist/workspace/sql.js +1 -1
  808. package/dist/workspace.js +91 -91
  809. package/dist/worktree/directory.js +2 -2
  810. package/dist/worktree/git.js +11 -11
  811. package/dist/worktree/sql.js +5 -5
  812. package/dist/worktree/strategies.js +102 -102
  813. package/dist/worktree.js +113 -113
  814. package/package.json +9 -9
  815. package/dist/chunks/worktree-6b9epygf.js +0 -35
  816. package/dist/chunks/worktree-8623vytj.js +0 -273
  817. package/dist/chunks/worktree-9beaqk96.js +0 -26
  818. package/dist/chunks/worktree-aqczazaa.js +0 -16
  819. package/dist/chunks/worktree-c53vxacq.js +0 -61
  820. package/dist/chunks/worktree-grzehpz7.js +0 -18
  821. /package/dist/chunks/{worktree-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  822. /package/dist/chunks/{worktree-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  823. /package/dist/chunks/{worktree-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  824. /package/dist/chunks/{worktree-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  825. /package/dist/chunks/{worktree-1kah00gy.js → wellknown-1kah00gy.js} +0 -0
  826. /package/dist/chunks/{worktree-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  827. /package/dist/chunks/{worktree-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  828. /package/dist/chunks/{worktree-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  829. /package/dist/chunks/{worktree-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  830. /package/dist/chunks/{worktree-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  831. /package/dist/chunks/{worktree-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  832. /package/dist/chunks/{worktree-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  833. /package/dist/chunks/{worktree-4qk9sjk2.js → wellknown-4qk9sjk2.js} +0 -0
  834. /package/dist/chunks/{worktree-53557ph1.js → wellknown-53557ph1.js} +0 -0
  835. /package/dist/chunks/{worktree-5w3e23ze.js → wellknown-5w3e23ze.js} +0 -0
  836. /package/dist/chunks/{worktree-6agm2x70.js → wellknown-6agm2x70.js} +0 -0
  837. /package/dist/chunks/{worktree-6prwharc.js → wellknown-6prwharc.js} +0 -0
  838. /package/dist/chunks/{worktree-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  839. /package/dist/chunks/{worktree-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  840. /package/dist/chunks/{worktree-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  841. /package/dist/chunks/{worktree-7rvsyqjv.js → wellknown-7rvsyqjv.js} +0 -0
  842. /package/dist/chunks/{worktree-822emrt2.js → wellknown-822emrt2.js} +0 -0
  843. /package/dist/chunks/{worktree-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
  844. /package/dist/chunks/{worktree-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  845. /package/dist/chunks/{worktree-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  846. /package/dist/chunks/{worktree-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  847. /package/dist/chunks/{worktree-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  848. /package/dist/chunks/{worktree-9ceax7yg.js → wellknown-9ceax7yg.js} +0 -0
  849. /package/dist/chunks/{worktree-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  850. /package/dist/chunks/{worktree-ade8csyh.js → wellknown-ade8csyh.js} +0 -0
  851. /package/dist/chunks/{worktree-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  852. /package/dist/chunks/{worktree-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  853. /package/dist/chunks/{worktree-beh6qq61.js → wellknown-beh6qq61.js} +0 -0
  854. /package/dist/chunks/{worktree-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  855. /package/dist/chunks/{worktree-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  856. /package/dist/chunks/{worktree-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  857. /package/dist/chunks/{worktree-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
  858. /package/dist/chunks/{worktree-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  859. /package/dist/chunks/{worktree-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  860. /package/dist/chunks/{worktree-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  861. /package/dist/chunks/{worktree-df08tz66.js → wellknown-df08tz66.js} +0 -0
  862. /package/dist/chunks/{worktree-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  863. /package/dist/chunks/{worktree-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  864. /package/dist/chunks/{worktree-ean2d8b5.js → wellknown-ean2d8b5.js} +0 -0
  865. /package/dist/chunks/{worktree-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  866. /package/dist/chunks/{worktree-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  867. /package/dist/chunks/{worktree-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  868. /package/dist/chunks/{worktree-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  869. /package/dist/chunks/{worktree-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  870. /package/dist/chunks/{worktree-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  871. /package/dist/chunks/{worktree-fkpq3x5p.js → wellknown-fkpq3x5p.js} +0 -0
  872. /package/dist/chunks/{worktree-g86h250q.js → wellknown-g86h250q.js} +0 -0
  873. /package/dist/chunks/{worktree-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  874. /package/dist/chunks/{worktree-gftt206x.js → wellknown-gftt206x.js} +0 -0
  875. /package/dist/chunks/{worktree-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
  876. /package/dist/chunks/{worktree-hk9envan.js → wellknown-hk9envan.js} +0 -0
  877. /package/dist/chunks/{worktree-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  878. /package/dist/chunks/{worktree-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  879. /package/dist/chunks/{worktree-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  880. /package/dist/chunks/{worktree-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  881. /package/dist/chunks/{worktree-jwr30sdr.js → wellknown-jwr30sdr.js} +0 -0
  882. /package/dist/chunks/{worktree-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  883. /package/dist/chunks/{worktree-m18g726c.js → wellknown-m18g726c.js} +0 -0
  884. /package/dist/chunks/{worktree-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  885. /package/dist/chunks/{worktree-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  886. /package/dist/chunks/{worktree-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  887. /package/dist/chunks/{worktree-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  888. /package/dist/chunks/{worktree-nh4v3znn.js → wellknown-nh4v3znn.js} +0 -0
  889. /package/dist/chunks/{worktree-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  890. /package/dist/chunks/{worktree-p71gwv9c.js → wellknown-p71gwv9c.js} +0 -0
  891. /package/dist/chunks/{worktree-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  892. /package/dist/chunks/{worktree-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  893. /package/dist/chunks/{worktree-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  894. /package/dist/chunks/{worktree-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  895. /package/dist/chunks/{worktree-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  896. /package/dist/chunks/{worktree-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  897. /package/dist/chunks/{worktree-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  898. /package/dist/chunks/{worktree-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  899. /package/dist/chunks/{worktree-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  900. /package/dist/chunks/{worktree-syrav9an.js → wellknown-syrav9an.js} +0 -0
  901. /package/dist/chunks/{worktree-t03h4f5z.js → wellknown-t03h4f5z.js} +0 -0
  902. /package/dist/chunks/{worktree-ty7weeps.js → wellknown-ty7weeps.js} +0 -0
  903. /package/dist/chunks/{worktree-v2dnd5dt.js → wellknown-v2dnd5dt.js} +0 -0
  904. /package/dist/chunks/{worktree-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
  905. /package/dist/chunks/{worktree-vtarvj67.js → wellknown-vtarvj67.js} +0 -0
  906. /package/dist/chunks/{worktree-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  907. /package/dist/chunks/{worktree-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  908. /package/dist/chunks/{worktree-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  909. /package/dist/chunks/{worktree-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  910. /package/dist/chunks/{worktree-x4th4bpe.js → wellknown-x4th4bpe.js} +0 -0
  911. /package/dist/chunks/{worktree-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  912. /package/dist/chunks/{worktree-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  913. /package/dist/chunks/{worktree-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  914. /package/dist/chunks/{worktree-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  915. /package/dist/chunks/{worktree-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
  916. /package/dist/chunks/{worktree-zxpyjp51.js → wellknown-zxpyjp51.js} +0 -0
  917. /package/dist/chunks/{worktree-zz5vv3aq.js → wellknown-zz5vv3aq.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./worktree-mf9xnwfc.js";
4
+ } from "./wellknown-cre26pzh.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./worktree-40y6dtc2.js";
8
+ } from "./wellknown-40y6dtc2.js";
9
9
  import {
10
10
  __export
11
- } from "./worktree-9rqn6x4v.js";
11
+ } from "./wellknown-9rqn6x4v.js";
12
12
 
13
13
  // src/command.ts
14
14
  var exports_command4 = {};
15
15
  __export(exports_command4, {
16
16
  Command: () => exports_command4,
17
- Event: () => Event11,
17
+ Event: () => Event7,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info12,
20
- NotFoundError: () => NotFoundError9,
21
- Service: () => Service57,
22
- layer: () => layer24,
23
- node: () => node59
19
+ Info: () => Info9,
20
+ NotFoundError: () => NotFoundError5,
21
+ Service: () => Service40,
22
+ layer: () => layer18,
23
+ node: () => node43
24
24
  });
25
25
  import { Command } from "@opencode/schema/command";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
- import { Event as Event11 } from "@opencode/schema/command";
29
- var Info12 = Command.Info;
28
+ import { Event as Event7 } from "@opencode/schema/command";
29
+ var Info9 = Command.Info;
30
30
 
31
- class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
32
32
  command: Schema.String,
33
33
  message: Schema.String
34
34
  }) {
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
40
40
  }) {
41
41
  }
42
42
 
43
- class Service57 extends Context.Service()("@opencode/Command") {
43
+ class Service40 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer24 = Layer.effect(Service57, Effect.gen(function* () {
45
+ var layer18 = Layer.effect(Service40, Effect.gen(function* () {
46
46
  const bus = yield* Service93;
47
- const info = (definition) => Info12.make({
47
+ const info = (definition) => Info9.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer24 = Layer.effect(Service57, Effect.gen(function* () {
56
56
  }),
57
57
  notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
58
58
  });
59
- return Service57.of({
59
+ return Service40.of({
60
60
  reload: state.reload,
61
61
  transform: state.transform,
62
62
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -67,14 +67,14 @@ var layer24 = Layer.effect(Service57, Effect.gen(function* () {
67
67
  execute: Effect.fn("Command.execute")(function* (input) {
68
68
  const definition = state.get().get(input.name);
69
69
  if (!definition)
70
- return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
71
71
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
72
72
  })
73
73
  });
74
74
  }));
75
- var node59 = makeLocationNode({
76
- service: Service57,
77
- layer: layer24,
75
+ var node43 = makeLocationNode({
76
+ service: Service40,
77
+ layer: layer18,
78
78
  deps: [node95]
79
79
  });
80
80
  function errorMessage(error) {
@@ -87,4 +87,4 @@ function errorMessage(error) {
87
87
  return "Command execution failed";
88
88
  }
89
89
 
90
- export { Info12, NotFoundError9, ExecutionError2, Service57, layer24, node59, exports_command4, Event11 };
90
+ export { Info9, NotFoundError5, ExecutionError2, Service40, layer18, node43, exports_command4, Event7 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./worktree-qfa1cgps.js";
3
+ } from "./wellknown-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./worktree-z5v4ffb3.js";
3
+ } from "./wellknown-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info22
7
- } from "./worktree-w79nt68w.js";
6
+ Info19
7
+ } from "./wellknown-9q8g9sv8.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./wellknown-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info21
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ ConfigAgentV1: () => exports_agent4,
16
+ Info: () => Info18
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info22)
48
+ permission: Schema.optional(Info19)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info21 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info18 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info21, exports_agent3 };
72
+ export { Info18, exports_agent4 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service39,
8
+ Service: () => Service66,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node42
10
+ node: () => node67
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service39 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service66 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service39, () => {
17
+ var layer = Layer.sync(Service66, () => {
18
18
  const environments = new Map;
19
- return Service39.of({
19
+ return Service66.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service39, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node42 = makeGlobalNode({ service: Service39, layer, deps: [] });
29
+ var node67 = makeGlobalNode({ service: Service66, layer, deps: [] });
30
30
 
31
- export { Service39, node42, exports_environment };
31
+ export { Service66, node67, exports_environment };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./worktree-gftt206x.js";
3
+ } from "./wellknown-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/session/stored.ts
9
9
  var exports_stored = {};
10
10
  __export(exports_stored, {
11
- File: () => File3,
11
+ File: () => File2,
12
12
  FileRef: () => FileRef2,
13
13
  Ref: () => Ref2,
14
14
  SessionStored: () => exports_stored,
@@ -28,10 +28,10 @@ var refHash2 = (ref) => ref.slice("media:".length);
28
28
  var ref2 = (hash) => `media:${hash}`;
29
29
  var { data: _, ...attachment } = FileAttachment.fields;
30
30
  var FileRef2 = Schema.Struct({ ...attachment, uri: Ref2 });
31
- var File3 = Schema.Union([FileAttachment, FileRef2]);
31
+ var File2 = Schema.Union([FileAttachment, FileRef2]);
32
32
  var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref2 });
33
- var files = Schema.Array(File3).pipe(optional);
33
+ var files = Schema.Array(File2).pipe(optional);
34
34
  var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
35
35
  var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
36
36
 
37
- export { Ref2, refHash2, ref2, FileRef2, File3, ToolFileRef2, UserPayload3, User3, exports_stored };
37
+ export { Ref2, refHash2, ref2, FileRef2, File2, ToolFileRef2, UserPayload3, User3, exports_stored };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./worktree-f0mxakyp.js";
3
+ } from "./wellknown-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./worktree-w3wsvvr9.js";
6
+ } from "./wellknown-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./worktree-7bmhse3q.js";
9
+ } from "./wellknown-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./worktree-cf4snx6d.js";
12
+ } from "./wellknown-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./worktree-822emrt2.js";
15
+ } from "./wellknown-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./worktree-wd87259q.js";
18
+ } from "./wellknown-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./worktree-m9w0rfyh.js";
21
+ } from "./wellknown-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-6b9epygf.js";
3
+ } from "./wellknown-69gprzdq.js";
4
4
  import {
5
5
  OAuth3
6
- } from "./worktree-eq6baf7z.js";
6
+ } from "./wellknown-a72a9qq8.js";
7
7
  import {
8
8
  key3
9
- } from "./worktree-xvn8mnch.js";
9
+ } from "./wellknown-xvn8mnch.js";
10
10
  import {
11
- ID17,
11
+ ID18,
12
12
  MethodID2
13
- } from "./worktree-jdb23anr.js";
13
+ } from "./wellknown-yv9r88qp.js";
14
14
  import {
15
- ID16
16
- } from "./worktree-3evvr8bx.js";
15
+ ID14
16
+ } from "./wellknown-3vadn2gy.js";
17
17
  import {
18
- ID15,
18
+ ID13,
19
19
  Family2
20
- } from "./worktree-87evyga5.js";
20
+ } from "./wellknown-b5fgf89h.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./worktree-yb20nhc3.js";
23
+ } from "./wellknown-yb20nhc3.js";
24
24
  import {
25
- Service56
26
- } from "./worktree-9fgy5dtv.js";
25
+ Service81
26
+ } from "./wellknown-s6bhvg1c.js";
27
27
  import {
28
- start4
29
- } from "./worktree-x4s452sp.js";
28
+ start3
29
+ } from "./wellknown-27vwpkqs.js";
30
30
  import {
31
31
  activeCredential2
32
- } from "./worktree-r6paxqy7.js";
32
+ } from "./wellknown-3wwst4c5.js";
33
33
 
34
34
  // src/plugin/provider/digitalocean.ts
35
35
  import { define } from "@opencode/plugin/effect/plugin";
36
36
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
37
37
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
38
- var providerID = ID16.make("digitalocean");
39
- var integrationID = ID17.make("digitalocean");
38
+ var providerID = ID14.make("digitalocean");
39
+ var integrationID = ID18.make("digitalocean");
40
40
  var methodID = MethodID2.make("browser");
41
41
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
42
42
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -124,9 +124,9 @@ var oauth = {
124
124
  var DigitalOceanPlugin2 = define({
125
125
  id: "opencode.provider.digitalocean",
126
126
  effect: Effect.fn(function* (ctx) {
127
- const cache = yield* Service56;
127
+ const cache = yield* Service81;
128
128
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
129
- const discovered = yield* start4({
129
+ const discovered = yield* start3({
130
130
  integrationID,
131
131
  initial: { routers: [] },
132
132
  active: ctx.integration.connection.active(integrationID),
@@ -160,7 +160,7 @@ var DigitalOceanPlugin2 = define({
160
160
  return;
161
161
  for (const router of discovered.current.routers) {
162
162
  const id = `router:${router.name}`;
163
- if (evt.get(providerID)?.models.has(ID15.make(id)))
163
+ if (evt.get(providerID)?.models.has(ID13.make(id)))
164
164
  continue;
165
165
  evt.models.update(providerID, id, (draft) => {
166
166
  draft.name = router.name;
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service93
3
- } from "./worktree-mf9xnwfc.js";
3
+ } from "./wellknown-cre26pzh.js";
4
4
  import {
5
- Service37
6
- } from "./worktree-q1x3kagb.js";
5
+ Service76
6
+ } from "./wellknown-q99fg7xs.js";
7
7
  import {
8
8
  StepFailedError2
9
- } from "./worktree-q7srkfd6.js";
9
+ } from "./wellknown-0p664kx6.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./worktree-ec1grn59.js";
12
+ } from "./wellknown-ec1grn59.js";
13
13
  import {
14
14
  toSessionError2
15
- } from "./worktree-vzn28619.js";
15
+ } from "./wellknown-gkpn8dda.js";
16
16
  import {
17
- Error5
18
- } from "./worktree-zm62ja19.js";
17
+ Error2
18
+ } from "./wellknown-wmerjj0j.js";
19
19
  import {
20
- Service42
21
- } from "./worktree-trxdv4a2.js";
20
+ Service67
21
+ } from "./wellknown-z4fev26h.js";
22
22
  import {
23
23
  record2
24
- } from "./worktree-4f25tdd0.js";
24
+ } from "./wellknown-4f25tdd0.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./worktree-ycdz9p50.js";
27
+ } from "./wellknown-g4h9rjaz.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./worktree-ktck1cjp.js";
30
+ } from "./wellknown-ckn0kvtp.js";
31
31
  import {
32
32
  __export
33
- } from "./worktree-9rqn6x4v.js";
33
+ } from "./wellknown-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: () => make2,
40
+ make: () => make18,
41
41
  makeCancel: () => makeCancel2
42
42
  });
43
43
  import {
@@ -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 make2 = Effect.gen(function* () {
54
+ var make18 = Effect.gen(function* () {
55
55
  const bus = yield* Service93;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service37;
58
- const toolOutput = yield* Service42;
57
+ const snapshots = yield* Service76;
58
+ const toolOutput = yield* Service67;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
61
61
  const started = yield* Clock.currentTimeMillis;
@@ -87,7 +87,7 @@ var make2 = Effect.gen(function* () {
87
87
  });
88
88
  const executeTool = (call, cancel) => {
89
89
  if (input.prepared.request.toolChoice?.type === "none")
90
- return new Error5({ message: "Tools are disabled after the maximum agent steps" });
90
+ return new Error2({ message: "Tools are disabled after the maximum agent steps" });
91
91
  return input.prepared.executeTool({
92
92
  sessionID: input.sessionID,
93
93
  agent: input.agent,
@@ -274,4 +274,4 @@ var makeCancel2 = () => {
274
274
  };
275
275
  };
276
276
 
277
- export { Outcome2, make2, makeCancel2, exports_step };
277
+ export { Outcome2, make18, makeCancel2, exports_step };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID17
3
- } from "./worktree-jdb23anr.js";
2
+ ID18
3
+ } from "./wellknown-yv9r88qp.js";
4
4
  import {
5
- ID16
6
- } from "./worktree-3evvr8bx.js";
5
+ ID14
6
+ } from "./wellknown-3vadn2gy.js";
7
7
  import {
8
8
  onSwitch2,
9
9
  reloadIfChanged2
10
- } from "./worktree-x4s452sp.js";
10
+ } from "./wellknown-27vwpkqs.js";
11
11
  import {
12
12
  activeCredential2
13
- } from "./worktree-r6paxqy7.js";
13
+ } from "./wellknown-3wwst4c5.js";
14
14
 
15
15
  // src/plugin/provider/openai-context-caps.ts
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
18
- var integrationID = ID17.make("openai");
18
+ var integrationID = ID18.make("openai");
19
19
  var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
20
20
  var legacyInput = 272000;
21
21
  var currentInput = 500000;
@@ -33,7 +33,7 @@ var OpenAIContextCapsPlugin2 = define({
33
33
  yield* ctx.model.transform((models) => {
34
34
  if (!signedIn)
35
35
  return;
36
- for (const model of models.list(ID16.openai)) {
36
+ for (const model of models.list(ID14.openai)) {
37
37
  models.update(model.providerID, model.id, (draft) => {
38
38
  const input = cap(draft.modelID ?? draft.id);
39
39
  if ((draft.limit.input || draft.limit.context) <= input)
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./worktree-z5v4ffb3.js";
4
+ } from "./wellknown-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
+ Service92,
9
+ node94
10
+ } from "./wellknown-8zqzm5np.js";
11
+ import {
8
12
  Service90,
9
13
  node92
10
- } from "./worktree-n503jqgj.js";
11
- import {
12
- Service88,
13
- node90
14
- } from "./worktree-abfhp5y0.js";
14
+ } from "./wellknown-dnv3vdn4.js";
15
15
  import {
16
16
  create4
17
- } from "./worktree-40y6dtc2.js";
17
+ } from "./wellknown-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./worktree-9rqn6x4v.js";
20
+ } from "./wellknown-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID9,
27
- Service: () => Service37,
25
+ Error: () => Error5,
26
+ ID: () => ID16,
27
+ Service: () => Service76,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node40,
30
- noopLayer: () => noopLayer2
29
+ node: () => node78,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID9 } from "@opencode/schema/snapshot";
37
+ import { ID as ID16 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service37 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service76 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service37, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service90;
50
+ const git = yield* Service92;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service88;
52
+ const location = yield* Service90;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID9.make(tree);
100
+ return ID16.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service76.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node40 = makeLocationNode({
159
- service: Service37,
158
+ var node78 = makeLocationNode({
159
+ service: Service76,
160
160
  layer,
161
- deps: [FSUtil.node, node92, Global.node, node90]
161
+ deps: [FSUtil.node, node94, Global.node, node92]
162
162
  });
163
- var noopLayer2 = Layer.succeed(Service37, Service37.of({
163
+ var noopLayer3 = Layer.succeed(Service76, Service76.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error2 && cause.operation === operation)
172
+ if (cause instanceof Error5 && cause.operation === operation)
173
173
  return cause;
174
- return new Error2({
174
+ return new Error5({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID9, Error2, Service37, node40, noopLayer2, exports_snapshot2 };
181
+ export { ID16, Error5, Service76, node78, noopLayer3, exports_snapshot2 };