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

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 (911) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  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 +248 -248
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{bus-ebwawem2.js → worktree-02tnp2z6.js} +16 -16
  9. package/dist/chunks/{bus-034tev2y.js → worktree-034tev2y.js} +2 -2
  10. package/dist/chunks/{bus-h79qqgx0.js → worktree-04rnhqft.js} +21 -21
  11. package/dist/chunks/{bus-95ca3vhd.js → worktree-0a24q822.js} +13 -13
  12. package/dist/chunks/{bus-ztzm4295.js → worktree-0a5a4072.js} +8 -8
  13. package/dist/chunks/{bus-3ryz99p0.js → worktree-0ahs07zn.js} +4 -4
  14. package/dist/chunks/{bus-gwb01ej5.js → worktree-0bjg3qy0.js} +13 -13
  15. package/dist/chunks/{bus-0fvxehme.js → worktree-0fvxehme.js} +2 -2
  16. package/dist/chunks/{bus-waas2dr2.js → worktree-0gq253mk.js} +34 -34
  17. package/dist/chunks/{bus-0ma9gw4f.js → worktree-0ma9gw4f.js} +2 -2
  18. package/dist/chunks/{bus-spz5sz38.js → worktree-0mtp185z.js} +5 -5
  19. package/dist/chunks/{bus-eeyhn8mk.js → worktree-115nyvd9.js} +23 -23
  20. package/dist/chunks/{bus-tg1vr1qt.js → worktree-160yv0cs.js} +8 -8
  21. package/dist/chunks/{bus-dj63vagf.js → worktree-17wdez1g.js} +6 -6
  22. package/dist/chunks/{bus-1aqsckx4.js → worktree-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{bus-1aryjtsy.js → worktree-1aryjtsy.js} +1 -1
  24. package/dist/chunks/{bus-1ep2p91f.js → worktree-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{bus-mc66mx5n.js → worktree-1j86et5h.js} +5 -5
  26. package/dist/chunks/{bus-680x2dyv.js → worktree-1kama452.js} +4 -4
  27. package/dist/chunks/{bus-0yvpyaqy.js → worktree-1wsd0ebx.js} +4 -4
  28. package/dist/chunks/{bus-tsesm9fb.js → worktree-1wt5gxxy.js} +16 -16
  29. package/dist/chunks/{bus-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{bus-pyw96d6n.js → worktree-1xcpt731.js} +39 -39
  31. package/dist/chunks/{bus-fbkb7xm9.js → worktree-1xeavs09.js} +16 -16
  32. package/dist/chunks/{bus-w687dnns.js → worktree-1yped5qa.js} +4 -4
  33. package/dist/chunks/{bus-5zrxpy3q.js → worktree-1yq9hg58.js} +5 -5
  34. package/dist/chunks/{bus-1qefvvrn.js → worktree-21prfe2v.js} +11 -11
  35. package/dist/chunks/{bus-qnatgp3t.js → worktree-221mv0g2.js} +29 -29
  36. package/dist/chunks/{bus-jftzbjxe.js → worktree-2estw5xm.js} +2 -2
  37. package/dist/chunks/{bus-2fc7eemy.js → worktree-2fc7eemy.js} +1 -1
  38. package/dist/chunks/{bus-tmsabzbp.js → worktree-2g34a0qs.js} +27 -27
  39. package/dist/chunks/{bus-g7ftnhb3.js → worktree-2h7m8jkh.js} +15 -15
  40. package/dist/chunks/{bus-83f7y8e1.js → worktree-2mmsr0r6.js} +3 -3
  41. package/dist/chunks/{bus-88vr49vm.js → worktree-2n444ktb.js} +3 -3
  42. package/dist/chunks/{bus-2p60zmnr.js → worktree-2p60zmnr.js} +2 -2
  43. package/dist/chunks/{bus-2prt43t7.js → worktree-2prt43t7.js} +1 -1
  44. package/dist/chunks/{bus-2wmp7sc8.js → worktree-2qywqnd5.js} +24 -24
  45. package/dist/chunks/{bus-qvce1bab.js → worktree-36c6fj51.js} +16 -16
  46. package/dist/chunks/{bus-k3g9cdn7.js → worktree-37gjjf5g.js} +86 -86
  47. package/dist/chunks/{bus-859w1rtj.js → worktree-3adw4bt5.js} +9 -9
  48. package/dist/chunks/{bus-6cgz4vez.js → worktree-3eknw787.js} +11 -11
  49. package/dist/chunks/{bus-707acbjf.js → worktree-3evvr8bx.js} +20 -20
  50. package/dist/chunks/{bus-7w9qf8t4.js → worktree-3ffssf92.js} +9 -9
  51. package/dist/chunks/{bus-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  52. package/dist/chunks/{bus-3kh5qk3y.js → worktree-3kh5qk3y.js} +4 -4
  53. package/dist/chunks/{bus-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
  54. package/dist/chunks/{bus-40y6dtc2.js → worktree-40y6dtc2.js} +1 -1
  55. package/dist/chunks/{bus-44pmzq9c.js → worktree-44pmzq9c.js} +2 -2
  56. package/dist/chunks/{bus-ev9rbz6a.js → worktree-46jzz2by.js} +20 -20
  57. package/dist/chunks/{bus-xdmhns7t.js → worktree-46ngnzzp.js} +1 -1
  58. package/dist/chunks/{bus-fz3kzkqd.js → worktree-4cd8bjhn.js} +12 -12
  59. package/dist/chunks/{bus-4dx1dgte.js → worktree-4dx1dgte.js} +1 -1
  60. package/dist/chunks/{bus-j5c1h9tb.js → worktree-4e85nbz2.js} +9 -9
  61. package/dist/chunks/{bus-4f25tdd0.js → worktree-4f25tdd0.js} +1 -1
  62. package/dist/chunks/{bus-q5r4vjzy.js → worktree-4jp6v5kb.js} +18 -18
  63. package/dist/chunks/{bus-zdat2xwq.js → worktree-4pw98qd4.js} +4 -4
  64. package/dist/chunks/{bus-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
  65. package/dist/chunks/{bus-4v008n1t.js → worktree-4v008n1t.js} +1 -1
  66. package/dist/chunks/{bus-rfexj5da.js → worktree-4vhvsf6w.js} +59 -59
  67. package/dist/chunks/{bus-8c7f0ssb.js → worktree-52bne9g4.js} +4 -4
  68. package/dist/chunks/{bus-kkyae3de.js → worktree-5drvnfvh.js} +19 -19
  69. package/dist/chunks/{bus-qk5rp7zm.js → worktree-5dsr8r8r.js} +33 -33
  70. package/dist/chunks/{bus-kr54fh17.js → worktree-5gq1g6z4.js} +30 -30
  71. package/dist/chunks/{bus-a5wzbm37.js → worktree-5j82wakc.js} +14 -14
  72. package/dist/chunks/{bus-yv8bmzhj.js → worktree-5m55nvws.js} +47 -47
  73. package/dist/chunks/{bus-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{bus-az5k00er.js → worktree-5nkvqegm.js} +53 -53
  75. package/dist/chunks/worktree-6b9epygf.js +35 -0
  76. package/dist/chunks/{bus-3zm7kqry.js → worktree-6n24w41c.js} +26 -26
  77. package/dist/chunks/{bus-3fbr10xm.js → worktree-6vbbsh5r.js} +11 -11
  78. package/dist/chunks/{bus-80mg3ag8.js → worktree-775hqbnd.js} +3 -3
  79. package/dist/chunks/{bus-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{bus-ahh996hm.js → worktree-7gmy25f6.js} +5 -5
  81. package/dist/chunks/{bus-9sk33afj.js → worktree-7nqkf5r1.js} +6 -6
  82. package/dist/chunks/{bus-s0jjn7na.js → worktree-7t938ypj.js} +11 -11
  83. package/dist/chunks/{bus-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
  84. package/dist/chunks/{bus-7weczvnd.js → worktree-7weczvnd.js} +1 -1
  85. package/dist/chunks/{bus-82vskj1b.js → worktree-7wx686z5.js} +20 -20
  86. package/dist/chunks/{bus-80pdk984.js → worktree-80pdk984.js} +1 -1
  87. package/dist/chunks/{bus-pz0qcv7x.js → worktree-8230yfm5.js} +9 -9
  88. package/dist/chunks/{bus-85jq8dht.js → worktree-85jq8dht.js} +1 -1
  89. package/dist/chunks/worktree-8623vytj.js +273 -0
  90. package/dist/chunks/{bus-204h1da0.js → worktree-87evyga5.js} +18 -18
  91. package/dist/chunks/{bus-73ff1310.js → worktree-8akjpyn6.js} +3 -3
  92. package/dist/chunks/{bus-8b3vzgkx.js → worktree-8b3vzgkx.js} +1 -1
  93. package/dist/chunks/{bus-0fjn2gbm.js → worktree-8b4n7av8.js} +17 -17
  94. package/dist/chunks/{bus-8zz9aa9v.js → worktree-8bgnr0we.js} +5 -5
  95. package/dist/chunks/{bus-x9sg88xm.js → worktree-8dtpqrc9.js} +15 -15
  96. package/dist/chunks/{bus-cyx3va9k.js → worktree-8g0svzxg.js} +9 -9
  97. package/dist/chunks/{bus-d1c74rk0.js → worktree-8gmxcapv.js} +11 -11
  98. package/dist/chunks/{bus-pfg10xr2.js → worktree-8hfctyyf.js} +5 -5
  99. package/dist/chunks/{bus-8kjyvwy5.js → worktree-8kjyvwy5.js} +1 -1
  100. package/dist/chunks/{bus-8sxe6kv8.js → worktree-8sxe6kv8.js} +2 -2
  101. package/dist/chunks/{bus-x33zr93e.js → worktree-8vad137p.js} +15 -15
  102. package/dist/chunks/{bus-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
  103. package/dist/chunks/{bus-ymbjwv3a.js → worktree-8wz5a004.js} +16 -16
  104. package/dist/chunks/{bus-8zv0xmg5.js → worktree-8zv0xmg5.js} +1 -1
  105. package/dist/chunks/{bus-xfqj7vah.js → worktree-955vq45v.js} +7 -7
  106. package/dist/chunks/worktree-9beaqk96.js +26 -0
  107. package/dist/chunks/{bus-n46qswg6.js → worktree-9enxp8jt.js} +6 -6
  108. package/dist/chunks/{bus-jep0ve1h.js → worktree-9esm5h7s.js} +16 -16
  109. package/dist/chunks/{bus-7gjjw5z2.js → worktree-9fgy5dtv.js} +8 -8
  110. package/dist/chunks/{bus-spm7z5z2.js → worktree-9je0v1t5.js} +10 -10
  111. package/dist/chunks/{bus-f1gmsd3e.js → worktree-9nv5w25y.js} +7 -7
  112. package/dist/chunks/{bus-ks2x2pph.js → worktree-9p0t0vzw.js} +372 -372
  113. package/dist/chunks/{bus-e4129qcy.js → worktree-9qm47qae.js} +10 -10
  114. package/dist/chunks/{bus-ajrqcp8t.js → worktree-9r7xa4ny.js} +6 -6
  115. package/dist/chunks/{bus-kgsjpgx9.js → worktree-9v0htc5k.js} +28 -28
  116. package/dist/chunks/{bus-pdb7vdww.js → worktree-9v671hr8.js} +7 -7
  117. package/dist/chunks/{bus-3bc976rq.js → worktree-9xgtm86g.js} +28 -28
  118. package/dist/chunks/{bus-c51p6570.js → worktree-a3fn0gmm.js} +2 -2
  119. package/dist/chunks/{bus-4c805qzj.js → worktree-abfhp5y0.js} +5 -5
  120. package/dist/chunks/{bus-ayf9fgvx.js → worktree-ah4z3jtw.js} +14 -14
  121. package/dist/chunks/{bus-00y8gkp5.js → worktree-ah96p1fy.js} +24 -24
  122. package/dist/chunks/{bus-k1p9bpy2.js → worktree-akk97tym.js} +2 -2
  123. package/dist/chunks/worktree-aqczazaa.js +16 -0
  124. package/dist/chunks/{bus-nt907s04.js → worktree-atz1w742.js} +3 -3
  125. package/dist/chunks/{bus-mh0xmn07.js → worktree-avj6h0e6.js} +31 -31
  126. package/dist/chunks/{bus-896vab60.js → worktree-awaktgrw.js} +28 -28
  127. package/dist/chunks/{bus-4rdas243.js → worktree-axkdp7x4.js} +5 -5
  128. package/dist/chunks/{bus-ayjs7tqn.js → worktree-ayjs7tqn.js} +2 -2
  129. package/dist/chunks/{bus-jtc2mdpz.js → worktree-b0beahbq.js} +42 -42
  130. package/dist/chunks/{bus-b26ddj6h.js → worktree-b26ddj6h.js} +4 -4
  131. package/dist/chunks/{bus-1ybnene4.js → worktree-b6gk4anr.js} +25 -25
  132. package/dist/chunks/{bus-ja9m900p.js → worktree-b7vxy437.js} +21 -21
  133. package/dist/chunks/{bus-cyrsjs2m.js → worktree-bg4yx4n3.js} +32 -32
  134. package/dist/chunks/{bus-9vtq7b87.js → worktree-bmn0w987.js} +15 -15
  135. package/dist/chunks/{bus-3n2p1an7.js → worktree-bmyrrwdj.js} +15 -15
  136. package/dist/chunks/{bus-8xz27cp9.js → worktree-brv6mkyx.js} +4 -4
  137. package/dist/chunks/{bus-bstexjd6.js → worktree-bstexjd6.js} +1 -1
  138. package/dist/chunks/{bus-vhfbr18d.js → worktree-bt0j8jsq.js} +4 -4
  139. package/dist/chunks/{bus-12jm629j.js → worktree-bxk31rmq.js} +3 -3
  140. package/dist/chunks/{bus-e2y38hrw.js → worktree-c53vxacq.js} +19 -19
  141. package/dist/chunks/{bus-jahxfc61.js → worktree-cjqsf6bw.js} +9 -9
  142. package/dist/chunks/{bus-3bgf9gas.js → worktree-cpe35zww.js} +4 -4
  143. package/dist/chunks/{bus-068mjfd4.js → worktree-cqv0yv6r.js} +37 -37
  144. package/dist/chunks/{bus-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
  145. package/dist/chunks/{bus-7h1jvfex.js → worktree-cyebkz0g.js} +18 -18
  146. package/dist/chunks/{bus-fzz9nyhr.js → worktree-d13jd56m.js} +4 -4
  147. package/dist/chunks/{bus-w8aaskt8.js → worktree-d2d0axg5.js} +15 -15
  148. package/dist/chunks/{bus-mxyw4ghg.js → worktree-d2mwgxdd.js} +3 -3
  149. package/dist/chunks/{bus-kns3rthx.js → worktree-d3kcraj0.js} +30 -30
  150. package/dist/chunks/{bus-3wg12bp2.js → worktree-d3nfmg6f.js} +27 -27
  151. package/dist/chunks/{bus-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
  152. package/dist/chunks/{bus-grscpw5f.js → worktree-d7k99j55.js} +2 -2
  153. package/dist/chunks/{bus-8sthr1tx.js → worktree-da7jra8h.js} +30 -30
  154. package/dist/chunks/{bus-qgqmchj3.js → worktree-dchm6595.js} +10 -10
  155. package/dist/chunks/{bus-07wkewjj.js → worktree-dfz3m1mp.js} +24 -24
  156. package/dist/chunks/{bus-v8xpr2tt.js → worktree-dkrnptrz.js} +8 -8
  157. package/dist/chunks/{bus-vg7kp4jt.js → worktree-dt1vnv0k.js} +13 -13
  158. package/dist/chunks/{bus-dt77769w.js → worktree-dt77769w.js} +1 -1
  159. package/dist/chunks/{bus-trd8vmqg.js → worktree-e0zepttq.js} +18 -18
  160. package/dist/chunks/{bus-fpefy0ef.js → worktree-e1tqt626.js} +15 -15
  161. package/dist/chunks/{bus-75w0c01q.js → worktree-e27dnf0a.js} +8 -8
  162. package/dist/chunks/{bus-gfv5sn99.js → worktree-e2yswvtz.js} +17 -17
  163. package/dist/chunks/{bus-qmgxg96t.js → worktree-e4wexmx7.js} +17 -17
  164. package/dist/chunks/{bus-fknvcfgj.js → worktree-e53fs974.js} +9 -9
  165. package/dist/chunks/{bus-n7km60sz.js → worktree-e59cb28x.js} +15 -15
  166. package/dist/chunks/{bus-7y46bhzt.js → worktree-egkn8eaf.js} +7 -7
  167. package/dist/chunks/{bus-f4er0pdj.js → worktree-ejsjjq0z.js} +18 -18
  168. package/dist/chunks/{bus-dftnbhb2.js → worktree-epthsp8p.js} +14 -14
  169. package/dist/chunks/{bus-12yh0qg2.js → worktree-eq6baf7z.js} +28 -28
  170. package/dist/chunks/{bus-eqw4pqj1.js → worktree-eqw4pqj1.js} +2 -2
  171. package/dist/chunks/{bus-p5mfb73r.js → worktree-etx991nf.js} +39 -39
  172. package/dist/chunks/{bus-6zv2xtvj.js → worktree-evksn9k1.js} +26 -26
  173. package/dist/chunks/{bus-q5bk3gvt.js → worktree-f2zjpyt5.js} +5 -5
  174. package/dist/chunks/{bus-wpn6y1aj.js → worktree-f43yppe0.js} +29 -29
  175. package/dist/chunks/{bus-prq7xxp2.js → worktree-fg9p65nk.js} +6 -6
  176. package/dist/chunks/{bus-h7fhnmyn.js → worktree-frnfv82a.js} +19 -19
  177. package/dist/chunks/{bus-kqgn5842.js → worktree-g298ae0f.js} +7 -7
  178. package/dist/chunks/{bus-mmb0cmqe.js → worktree-ga69pc6y.js} +4 -4
  179. package/dist/chunks/{bus-gbjdnr5j.js → worktree-gbjdnr5j.js} +2 -2
  180. package/dist/chunks/{bus-ghrv1g9c.js → worktree-ghrv1g9c.js} +1 -1
  181. package/dist/chunks/{bus-bfxxc9fz.js → worktree-gmsdxnbj.js} +47 -47
  182. package/dist/chunks/worktree-grzehpz7.js +18 -0
  183. package/dist/chunks/{bus-nqfs23xf.js → worktree-gw165p6e.js} +14 -14
  184. package/dist/chunks/{bus-q47qkx79.js → worktree-h4ghx0yk.js} +18 -18
  185. package/dist/chunks/{bus-eaj9m5k6.js → worktree-h6081cxj.js} +22 -22
  186. package/dist/chunks/{bus-b0wcg77f.js → worktree-h8c2vh0k.js} +29 -29
  187. package/dist/chunks/{bus-pve82aqy.js → worktree-hby6few7.js} +13 -13
  188. package/dist/chunks/{bus-hgzwgvze.js → worktree-hgzwgvze.js} +2 -2
  189. package/dist/chunks/{bus-bp514cq9.js → worktree-hj0xet7m.js} +5 -5
  190. package/dist/chunks/{bus-p6eqydpw.js → worktree-hjm7rc96.js} +10 -10
  191. package/dist/chunks/{bus-8t99kr38.js → worktree-hkf8spj2.js} +7 -7
  192. package/dist/chunks/{bus-dhh25a9k.js → worktree-hkkxk2t5.js} +9 -9
  193. package/dist/chunks/{bus-hc6f5wp3.js → worktree-ht3fwskd.js} +10 -10
  194. package/dist/chunks/{bus-k3ah5hdc.js → worktree-hw75bg93.js} +14 -14
  195. package/dist/chunks/{bus-w949zjts.js → worktree-j26gwfra.js} +8 -8
  196. package/dist/chunks/{bus-e8z8sav5.js → worktree-j8zr3f3w.js} +3 -3
  197. package/dist/chunks/{bus-mnk9qe00.js → worktree-j95yd6qs.js} +8 -8
  198. package/dist/chunks/{bus-ze75qvmd.js → worktree-j9nxzz3g.js} +3 -3
  199. package/dist/chunks/{bus-xtvxmv3z.js → worktree-jbcrpda9.js} +8 -8
  200. package/dist/chunks/{bus-nrpxndk2.js → worktree-jbwkk6ab.js} +7 -7
  201. package/dist/chunks/{bus-5707rzr0.js → worktree-jc6n1g1a.js} +12 -12
  202. package/dist/chunks/{bus-kf3hndtd.js → worktree-jdazy0sj.js} +10 -10
  203. package/dist/chunks/{bus-t1amr32j.js → worktree-jdb23anr.js} +24 -24
  204. package/dist/chunks/{bus-b7pv4fnx.js → worktree-jm3dfxjs.js} +21 -21
  205. package/dist/chunks/{bus-jm70asfg.js → worktree-jm70asfg.js} +1 -1
  206. package/dist/chunks/{bus-n6rdb9m5.js → worktree-jr5g7pr8.js} +11 -11
  207. package/dist/chunks/{bus-g7amcep6.js → worktree-jrcj418h.js} +7 -7
  208. package/dist/chunks/{bus-54wpnc3v.js → worktree-jxaybbka.js} +5 -5
  209. package/dist/chunks/{bus-2t1h8wp7.js → worktree-jzf995y2.js} +4 -4
  210. package/dist/chunks/{bus-3z9jz36x.js → worktree-k6y824vh.js} +2 -2
  211. package/dist/chunks/{bus-6nkt8acg.js → worktree-kfdy2ced.js} +30 -30
  212. package/dist/chunks/{bus-mccq5jfg.js → worktree-kgxqtx97.js} +5 -5
  213. package/dist/chunks/{bus-g6n39j1m.js → worktree-kjpmgpdf.js} +17 -17
  214. package/dist/chunks/{bus-tn37g70e.js → worktree-kjpprafw.js} +26 -26
  215. package/dist/chunks/{bus-y0z5y3nx.js → worktree-kkfprn4x.js} +7 -7
  216. package/dist/chunks/{bus-vrme8mhw.js → worktree-kpwwjhqq.js} +37 -37
  217. package/dist/chunks/{bus-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
  218. package/dist/chunks/{bus-w75qynz4.js → worktree-ktck1cjp.js} +6 -6
  219. package/dist/chunks/{bus-pp63pmhh.js → worktree-kth6pzp8.js} +3 -3
  220. package/dist/chunks/{bus-kzczzf4v.js → worktree-kzczzf4v.js} +1 -1
  221. package/dist/chunks/{bus-m1714858.js → worktree-m1714858.js} +1 -1
  222. package/dist/chunks/{bus-m90tx7mw.js → worktree-m90tx7mw.js} +1 -1
  223. package/dist/chunks/{bus-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  224. package/dist/chunks/{bus-jxfwa44g.js → worktree-m9x82pg0.js} +34 -34
  225. package/dist/chunks/{bus-mb7mbhnz.js → worktree-mb7mbhnz.js} +3 -3
  226. package/dist/chunks/{bus-vkz3ha21.js → worktree-me215f18.js} +1 -1
  227. package/dist/chunks/{bus-dass9azh.js → worktree-mf9xnwfc.js} +4 -4
  228. package/dist/chunks/{bus-7tfergkk.js → worktree-n3hr8dch.js} +11 -11
  229. package/dist/chunks/{bus-wzz831y5.js → worktree-n503jqgj.js} +5 -5
  230. package/dist/chunks/{bus-8k12fzdn.js → worktree-nh29x4t4.js} +9 -9
  231. package/dist/chunks/{bus-ntnrx6ke.js → worktree-nj7csm0w.js} +4 -4
  232. package/dist/chunks/{bus-fw732ngd.js → worktree-nqp3x6j2.js} +88 -88
  233. package/dist/chunks/{bus-btkhs1yx.js → worktree-nrhb5mcr.js} +11 -11
  234. package/dist/chunks/{bus-84enknj2.js → worktree-ns7cryw4.js} +23 -23
  235. package/dist/chunks/{bus-bffyp8bc.js → worktree-p6a5srqb.js} +24 -24
  236. package/dist/chunks/{bus-591dchvc.js → worktree-pazse0a8.js} +25 -25
  237. package/dist/chunks/{bus-whw3h4aq.js → worktree-pcrxgd1y.js} +21 -21
  238. package/dist/chunks/{bus-4dfqsw0d.js → worktree-pd7cqnhq.js} +4 -4
  239. package/dist/chunks/{bus-pknna89w.js → worktree-pknna89w.js} +1 -1
  240. package/dist/chunks/{bus-78yfpq2b.js → worktree-pvpgttgh.js} +6 -6
  241. package/dist/chunks/{bus-rhfsqzn9.js → worktree-pwe4x7n8.js} +41 -41
  242. package/dist/chunks/{bus-z0qy6syc.js → worktree-q1x3kagb.js} +26 -26
  243. package/dist/chunks/{bus-0rp80gpv.js → worktree-q6n1cnj5.js} +11 -11
  244. package/dist/chunks/{bus-brmvfh58.js → worktree-q7srkfd6.js} +3 -3
  245. package/dist/chunks/{bus-qvtwmp4v.js → worktree-qah7t4da.js} +6 -6
  246. package/dist/chunks/{bus-ncms6pw2.js → worktree-qdr892na.js} +12 -12
  247. package/dist/chunks/{bus-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
  248. package/dist/chunks/{bus-msd2a3qm.js → worktree-r1jdstg5.js} +7 -7
  249. package/dist/chunks/{bus-ysv9j9ds.js → worktree-r6paxqy7.js} +6 -6
  250. package/dist/chunks/{bus-a0bweqwa.js → worktree-r9t20rx0.js} +17 -17
  251. package/dist/chunks/{bus-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
  252. package/dist/chunks/{bus-3aystt2y.js → worktree-rcp756gk.js} +4 -4
  253. package/dist/chunks/{bus-2frbs0db.js → worktree-rg2m9633.js} +30 -30
  254. package/dist/chunks/{bus-rgc9cx3e.js → worktree-rgc9cx3e.js} +2 -2
  255. package/dist/chunks/{bus-ana541dw.js → worktree-rhy0sbpe.js} +13 -13
  256. package/dist/chunks/{bus-q7n0yvy1.js → worktree-rr5nfxgj.js} +10 -10
  257. package/dist/chunks/{bus-hfyfad37.js → worktree-rrg5jx6f.js} +5 -5
  258. package/dist/chunks/{bus-s3wajrtt.js → worktree-rsd267qt.js} +6 -6
  259. package/dist/chunks/{bus-3ad7t7sr.js → worktree-rygz02xs.js} +20 -20
  260. package/dist/chunks/{bus-rzg6y5rp.js → worktree-rzg6y5rp.js} +1 -1
  261. package/dist/chunks/{bus-y8trpfjq.js → worktree-s062474n.js} +29 -29
  262. package/dist/chunks/{bus-zyq2pv4t.js → worktree-s26c8eb5.js} +4 -4
  263. package/dist/chunks/{bus-embckhmt.js → worktree-s2eam2g1.js} +22 -22
  264. package/dist/chunks/{bus-s47rahr7.js → worktree-s47rahr7.js} +1 -1
  265. package/dist/chunks/{bus-sbya78hr.js → worktree-sbya78hr.js} +1 -1
  266. package/dist/chunks/{bus-d05kbw21.js → worktree-sbzezcpx.js} +8 -8
  267. package/dist/chunks/{bus-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
  268. package/dist/chunks/{bus-zszvhx97.js → worktree-t177y0q1.js} +11 -11
  269. package/dist/chunks/{bus-j3khdeed.js → worktree-t7h80jfh.js} +7 -7
  270. package/dist/chunks/{bus-7hbfr3gt.js → worktree-t8erkws8.js} +5 -5
  271. package/dist/chunks/{bus-vga3rtn5.js → worktree-taa3rr0k.js} +4 -4
  272. package/dist/chunks/{bus-tbpn7jtk.js → worktree-tbpn7jtk.js} +1 -1
  273. package/dist/chunks/{bus-ndqtk37h.js → worktree-tch23gam.js} +16 -16
  274. package/dist/chunks/{bus-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
  275. package/dist/chunks/{bus-kcg0dq7d.js → worktree-tehj359t.js} +19 -19
  276. package/dist/chunks/{bus-tg7s7b5t.js → worktree-tg7s7b5t.js} +1 -1
  277. package/dist/chunks/{bus-tr8x705m.js → worktree-tr8x705m.js} +1 -1
  278. package/dist/chunks/{bus-93ja3pkt.js → worktree-trxdv4a2.js} +11 -11
  279. package/dist/chunks/{bus-tvtps2q9.js → worktree-tvtps2q9.js} +1 -1
  280. package/dist/chunks/{bus-7z7xnvxr.js → worktree-tw2hbedk.js} +36 -36
  281. package/dist/chunks/{bus-twssxy5n.js → worktree-twssxy5n.js} +2 -2
  282. package/dist/chunks/{bus-dywjy152.js → worktree-v0etfk9t.js} +23 -23
  283. package/dist/chunks/{bus-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
  284. package/dist/chunks/{bus-1ban4kqf.js → worktree-v3ryf4j6.js} +7 -7
  285. package/dist/chunks/{bus-v4bj6baw.js → worktree-v4bj6baw.js} +1 -1
  286. package/dist/chunks/{bus-1xxsk924.js → worktree-v5bqf2qj.js} +13 -13
  287. package/dist/chunks/{bus-ag0qg79j.js → worktree-v6yzcc2c.js} +8 -8
  288. package/dist/chunks/{bus-x1bf84p4.js → worktree-vg3y8tzc.js} +12 -12
  289. package/dist/chunks/{bus-kdbq1sa8.js → worktree-vgtkes5b.js} +18 -18
  290. package/dist/chunks/{bus-tjtzrh3a.js → worktree-vjaeyxy8.js} +35 -35
  291. package/dist/chunks/{bus-vjf35v1f.js → worktree-vjf35v1f.js} +1 -1
  292. package/dist/chunks/{bus-jefms0ep.js → worktree-vk2qjrme.js} +11 -11
  293. package/dist/chunks/{bus-71ms5473.js → worktree-vkz6fa6t.js} +31 -31
  294. package/dist/chunks/{bus-vmqe41cb.js → worktree-vmqe41cb.js} +1 -1
  295. package/dist/chunks/{bus-vphbnpnp.js → worktree-vphbnpnp.js} +4 -4
  296. package/dist/chunks/{bus-9f3jsh1d.js → worktree-vq0qa3sh.js} +9 -9
  297. package/dist/chunks/{bus-bmw1c1w2.js → worktree-vq1ppevj.js} +8 -8
  298. package/dist/chunks/{bus-19yatqsz.js → worktree-vqvr9k9x.js} +12 -12
  299. package/dist/chunks/{bus-502gr1rn.js → worktree-vsjszmws.js} +10 -10
  300. package/dist/chunks/{bus-0n4pdj0s.js → worktree-vsxm4sf9.js} +8 -8
  301. package/dist/chunks/{bus-px7qpgcn.js → worktree-vt2d6wap.js} +4 -4
  302. package/dist/chunks/{bus-04bv7e8y.js → worktree-vvty3cpq.js} +49 -49
  303. package/dist/chunks/{bus-g3agd9q1.js → worktree-vzn28619.js} +6 -6
  304. package/dist/chunks/{bus-w2eysc6j.js → worktree-w2eysc6j.js} +2 -2
  305. package/dist/chunks/{bus-xrwgxfr7.js → worktree-w33zj80n.js} +21 -21
  306. package/dist/chunks/{bus-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  307. package/dist/chunks/{bus-mmx1mfjr.js → worktree-w79nt68w.js} +4 -4
  308. package/dist/chunks/{bus-3g2qq1gq.js → worktree-w838r4xv.js} +9 -9
  309. package/dist/chunks/{bus-t82bx91f.js → worktree-w8q5ggyd.js} +28 -28
  310. package/dist/chunks/{bus-a4wj8b6f.js → worktree-w9e7c2e3.js} +6 -6
  311. package/dist/chunks/{bus-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
  312. package/dist/chunks/{bus-9h7yr659.js → worktree-wbwvvcrc.js} +43 -43
  313. package/dist/chunks/{bus-h7d1ynq4.js → worktree-wbxahces.js} +8 -8
  314. package/dist/chunks/{bus-wd87259q.js → worktree-wd87259q.js} +1 -1
  315. package/dist/chunks/{bus-wegkxhrn.js → worktree-wegkxhrn.js} +2 -2
  316. package/dist/chunks/{bus-mpmhhmzt.js → worktree-wrkdd7ek.js} +27 -27
  317. package/dist/chunks/{bus-4660x4d5.js → worktree-ws1tt9pz.js} +14 -14
  318. package/dist/chunks/{bus-rxvb4vha.js → worktree-wvr8qheb.js} +149 -149
  319. package/dist/chunks/{bus-6y2b864j.js → worktree-wvr8xscb.js} +4 -4
  320. package/dist/chunks/{bus-c44cp8pc.js → worktree-wy6j1ycf.js} +22 -22
  321. package/dist/chunks/{bus-vffzc4s3.js → worktree-wymgne7z.js} +33 -33
  322. package/dist/chunks/{bus-5692zcjm.js → worktree-x08m4j8q.js} +18 -18
  323. package/dist/chunks/{bus-9m0knw07.js → worktree-x38se2hj.js} +11 -11
  324. package/dist/chunks/{bus-eyfjfzn3.js → worktree-x3t11r60.js} +5 -5
  325. package/dist/chunks/{bus-empjzqv5.js → worktree-x4s452sp.js} +10 -10
  326. package/dist/chunks/{bus-k7rhkqnn.js → worktree-x69q9wh6.js} +13 -13
  327. package/dist/chunks/{bus-17mr135c.js → worktree-xdcez2kt.js} +3 -3
  328. package/dist/chunks/{bus-4fgsg5hz.js → worktree-xgytw5f8.js} +12 -12
  329. package/dist/chunks/{bus-m7xh3h0x.js → worktree-xsact9zs.js} +4 -4
  330. package/dist/chunks/{bus-n320gsn2.js → worktree-xvn8mnch.js} +4 -4
  331. package/dist/chunks/{bus-xxschbft.js → worktree-xxschbft.js} +1 -1
  332. package/dist/chunks/{bus-v4j7gz04.js → worktree-xyzp9kyc.js} +13 -13
  333. package/dist/chunks/{bus-5pme8evj.js → worktree-y2a0knnn.js} +1 -1
  334. package/dist/chunks/{bus-s4twqmvv.js → worktree-y31k03ft.js} +3 -3
  335. package/dist/chunks/{bus-6d207je9.js → worktree-y32ebd8a.js} +7 -7
  336. package/dist/chunks/{bus-1nxgbegj.js → worktree-y3aw00r4.js} +5 -5
  337. package/dist/chunks/{bus-j0czaf15.js → worktree-y6xdess4.js} +9 -9
  338. package/dist/chunks/{bus-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
  339. package/dist/chunks/{bus-z71a25s3.js → worktree-ycdz9p50.js} +3 -3
  340. package/dist/chunks/{bus-znc04q0a.js → worktree-yqx9pdyt.js} +49 -49
  341. package/dist/chunks/{bus-yr705xyq.js → worktree-yr705xyq.js} +1 -1
  342. package/dist/chunks/{bus-991rwg4k.js → worktree-ys5g4k4z.js} +22 -22
  343. package/dist/chunks/{bus-yvtc2x31.js → worktree-yvtc2x31.js} +1 -1
  344. package/dist/chunks/{bus-s1qt1kqv.js → worktree-ywqn7m26.js} +11 -11
  345. package/dist/chunks/{bus-zp7x01m0.js → worktree-yz8gd7dy.js} +17 -17
  346. package/dist/chunks/{bus-z0wbgq7s.js → worktree-z0wbgq7s.js} +1 -1
  347. package/dist/chunks/{bus-xv3ttmt3.js → worktree-z6twvr1q.js} +22 -22
  348. package/dist/chunks/{bus-9kcadssx.js → worktree-zcptnv4n.js} +10 -10
  349. package/dist/chunks/{bus-ajbrb7t6.js → worktree-zgj2mgk9.js} +11 -11
  350. package/dist/chunks/{bus-3mcv9py0.js → worktree-zkxpfaz2.js} +17 -17
  351. package/dist/chunks/{bus-8qxn38g0.js → worktree-zm62ja19.js} +29 -29
  352. package/dist/chunks/{bus-w9c22q0h.js → worktree-zsxvp00s.js} +79 -79
  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 +92 -92
  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 +132 -132
  365. package/dist/config/plugin/command.js +247 -247
  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 +146 -146
  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 +158 -158
  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 +94 -94
  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 +98 -98
  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 +107 -107
  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 +113 -113
  502. package/dist/filesystem/watcher-binding.js +1 -1
  503. package/dist/filesystem/watcher.js +11 -11
  504. package/dist/filesystem.js +118 -118
  505. package/dist/flag.js +136 -136
  506. package/dist/form.js +93 -93
  507. package/dist/formatter/builtins.js +4 -4
  508. package/dist/formatter.js +100 -100
  509. package/dist/generate.js +121 -121
  510. package/dist/git.js +7 -7
  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 +3 -3
  523. package/dist/integration.js +96 -96
  524. package/dist/job/list.js +7 -7
  525. package/dist/job/recovery.js +2 -2
  526. package/dist/job/sql.js +2 -2
  527. package/dist/job.js +88 -88
  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 +96 -96
  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 +149 -149
  540. package/dist/mcp/instructions.js +192 -192
  541. package/dist/mcp/oauth.js +90 -90
  542. package/dist/mcp/pool.js +108 -108
  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 +110 -110
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +122 -122
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/oauth/redirect.js +1 -1
  554. package/dist/permission/saved.js +91 -91
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +158 -158
  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 +101 -101
  560. package/dist/persistent-pty/pty-binding.js +1 -1
  561. package/dist/persistent-pty.js +86 -86
  562. package/dist/plugin/agent.js +85 -85
  563. package/dist/plugin/command.js +146 -146
  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 +4 -4
  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 +113 -113
  592. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  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 +4 -4
  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 +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  600. package/dist/plugin/provider/claude-agent/provider.js +109 -109
  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 +1 -1
  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 +137 -137
  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 +152 -152
  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 +4 -4
  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 +9 -9
  658. package/dist/plugin/websearch/index.js +10 -10
  659. package/dist/plugin/websearch/mcp.js +2 -2
  660. package/dist/plugin/websearch/parallel.js +9 -9
  661. package/dist/plugin/websearch/provider.js +1 -1
  662. package/dist/plugin/websearch/tavily.js +7 -7
  663. package/dist/plugin/websearch/tinyfish.js +9 -9
  664. package/dist/plugin.js +258 -258
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +4 -4
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +97 -97
  669. package/dist/provider.js +109 -109
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +97 -97
  673. package/dist/reference/instructions.js +102 -102
  674. package/dist/reference.js +103 -103
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +1 -1
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +109 -109
  679. package/dist/rpc.js +99 -99
  680. package/dist/schedule/check.js +256 -256
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +264 -264
  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 +135 -135
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +177 -177
  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 +3 -3
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +271 -271
  695. package/dist/session/execution/subagent-report.js +145 -145
  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 +150 -150
  700. package/dist/session/info.js +3 -3
  701. package/dist/session/instruction-entry.js +89 -89
  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 +171 -171
  707. package/dist/session/model-transport.js +7 -7
  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 +196 -196
  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 +173 -173
  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 +254 -254
  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 +13 -13
  743. package/dist/shell.js +151 -151
  744. package/dist/skill/discovery.js +6 -6
  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 +168 -168
  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 +173 -173
  762. package/dist/tool/plugin/question.js +151 -151
  763. package/dist/tool/plugin/read.js +171 -171
  764. package/dist/tool/plugin/schedule.js +262 -262
  765. package/dist/tool/plugin/shell.js +249 -249
  766. package/dist/tool/plugin/skill.js +162 -162
  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 +160 -160
  770. package/dist/tool/plugin/websearch.js +160 -160
  771. package/dist/tool/plugin/write.js +173 -173
  772. package/dist/tool/read-filesystem.js +114 -114
  773. package/dist/tool/runtime.js +1 -1
  774. package/dist/tool/search.js +109 -109
  775. package/dist/tool-output.js +7 -7
  776. package/dist/tool.js +167 -167
  777. package/dist/usage-limits.js +96 -96
  778. package/dist/util/canonical-json.js +1 -1
  779. package/dist/util/error-summary.js +1 -1
  780. package/dist/util/git-executable.js +3 -3
  781. package/dist/util/lazy.js +1 -1
  782. package/dist/util/slug.js +1 -1
  783. package/dist/util/token.js +1 -1
  784. package/dist/util/which.js +1 -1
  785. package/dist/util/wildcard.js +1 -1
  786. package/dist/v1/config/agent.js +5 -5
  787. package/dist/v1/config/command.js +3 -3
  788. package/dist/v1/config/mcp.js +4 -4
  789. package/dist/v1/config/migrate.js +106 -106
  790. package/dist/v1/config/permission.js +3 -3
  791. package/dist/v1/config/plugin.js +3 -3
  792. package/dist/v1/config/provider-options.js +1 -1
  793. package/dist/v1/config/provider.js +4 -4
  794. package/dist/variant.js +107 -107
  795. package/dist/vcs/patch.js +1 -1
  796. package/dist/vcs.js +102 -102
  797. package/dist/voice.js +95 -95
  798. package/dist/websearch.js +97 -97
  799. package/dist/wellknown/plugin.js +87 -87
  800. package/dist/wellknown.js +92 -92
  801. package/dist/workspace/driver.js +7 -7
  802. package/dist/workspace/sql.js +1 -1
  803. package/dist/workspace.js +93 -93
  804. package/dist/worktree/directory.js +2 -2
  805. package/dist/worktree/git.js +11 -11
  806. package/dist/worktree/sql.js +5 -5
  807. package/dist/worktree/strategies.js +102 -102
  808. package/dist/worktree.js +109 -109
  809. package/package.json +8 -8
  810. package/dist/chunks/bus-2jjfs7g5.js +0 -16
  811. package/dist/chunks/bus-8x060fmy.js +0 -18
  812. package/dist/chunks/bus-pnc4nd8m.js +0 -35
  813. package/dist/chunks/bus-psmxp780.js +0 -273
  814. package/dist/chunks/bus-q6w3jy07.js +0 -26
  815. /package/dist/chunks/{bus-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  816. /package/dist/chunks/{bus-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  817. /package/dist/chunks/{bus-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  818. /package/dist/chunks/{bus-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  819. /package/dist/chunks/{bus-1kah00gy.js → worktree-1kah00gy.js} +0 -0
  820. /package/dist/chunks/{bus-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  821. /package/dist/chunks/{bus-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  822. /package/dist/chunks/{bus-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  823. /package/dist/chunks/{bus-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  824. /package/dist/chunks/{bus-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  825. /package/dist/chunks/{bus-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  826. /package/dist/chunks/{bus-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  827. /package/dist/chunks/{bus-4qk9sjk2.js → worktree-4qk9sjk2.js} +0 -0
  828. /package/dist/chunks/{bus-53557ph1.js → worktree-53557ph1.js} +0 -0
  829. /package/dist/chunks/{bus-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
  830. /package/dist/chunks/{bus-6agm2x70.js → worktree-6agm2x70.js} +0 -0
  831. /package/dist/chunks/{bus-6prwharc.js → worktree-6prwharc.js} +0 -0
  832. /package/dist/chunks/{bus-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
  833. /package/dist/chunks/{bus-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  834. /package/dist/chunks/{bus-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  835. /package/dist/chunks/{bus-7rvsyqjv.js → worktree-7rvsyqjv.js} +0 -0
  836. /package/dist/chunks/{bus-822emrt2.js → worktree-822emrt2.js} +0 -0
  837. /package/dist/chunks/{bus-84wd9syh.js → worktree-84wd9syh.js} +0 -0
  838. /package/dist/chunks/{bus-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  839. /package/dist/chunks/{bus-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  840. /package/dist/chunks/{bus-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  841. /package/dist/chunks/{bus-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  842. /package/dist/chunks/{bus-9ceax7yg.js → worktree-9ceax7yg.js} +0 -0
  843. /package/dist/chunks/{bus-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  844. /package/dist/chunks/{bus-ade8csyh.js → worktree-ade8csyh.js} +0 -0
  845. /package/dist/chunks/{bus-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  846. /package/dist/chunks/{bus-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  847. /package/dist/chunks/{bus-beh6qq61.js → worktree-beh6qq61.js} +0 -0
  848. /package/dist/chunks/{bus-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  849. /package/dist/chunks/{bus-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  850. /package/dist/chunks/{bus-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  851. /package/dist/chunks/{bus-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
  852. /package/dist/chunks/{bus-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  853. /package/dist/chunks/{bus-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  854. /package/dist/chunks/{bus-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  855. /package/dist/chunks/{bus-df08tz66.js → worktree-df08tz66.js} +0 -0
  856. /package/dist/chunks/{bus-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  857. /package/dist/chunks/{bus-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  858. /package/dist/chunks/{bus-ean2d8b5.js → worktree-ean2d8b5.js} +0 -0
  859. /package/dist/chunks/{bus-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  860. /package/dist/chunks/{bus-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  861. /package/dist/chunks/{bus-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  862. /package/dist/chunks/{bus-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  863. /package/dist/chunks/{bus-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  864. /package/dist/chunks/{bus-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  865. /package/dist/chunks/{bus-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
  866. /package/dist/chunks/{bus-g86h250q.js → worktree-g86h250q.js} +0 -0
  867. /package/dist/chunks/{bus-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  868. /package/dist/chunks/{bus-gftt206x.js → worktree-gftt206x.js} +0 -0
  869. /package/dist/chunks/{bus-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
  870. /package/dist/chunks/{bus-hk9envan.js → worktree-hk9envan.js} +0 -0
  871. /package/dist/chunks/{bus-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  872. /package/dist/chunks/{bus-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  873. /package/dist/chunks/{bus-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  874. /package/dist/chunks/{bus-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  875. /package/dist/chunks/{bus-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
  876. /package/dist/chunks/{bus-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  877. /package/dist/chunks/{bus-m18g726c.js → worktree-m18g726c.js} +0 -0
  878. /package/dist/chunks/{bus-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  879. /package/dist/chunks/{bus-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  880. /package/dist/chunks/{bus-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  881. /package/dist/chunks/{bus-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  882. /package/dist/chunks/{bus-nh4v3znn.js → worktree-nh4v3znn.js} +0 -0
  883. /package/dist/chunks/{bus-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  884. /package/dist/chunks/{bus-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
  885. /package/dist/chunks/{bus-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  886. /package/dist/chunks/{bus-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  887. /package/dist/chunks/{bus-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  888. /package/dist/chunks/{bus-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  889. /package/dist/chunks/{bus-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  890. /package/dist/chunks/{bus-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  891. /package/dist/chunks/{bus-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  892. /package/dist/chunks/{bus-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  893. /package/dist/chunks/{bus-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  894. /package/dist/chunks/{bus-syrav9an.js → worktree-syrav9an.js} +0 -0
  895. /package/dist/chunks/{bus-t03h4f5z.js → worktree-t03h4f5z.js} +0 -0
  896. /package/dist/chunks/{bus-ty7weeps.js → worktree-ty7weeps.js} +0 -0
  897. /package/dist/chunks/{bus-v2dnd5dt.js → worktree-v2dnd5dt.js} +0 -0
  898. /package/dist/chunks/{bus-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
  899. /package/dist/chunks/{bus-vtarvj67.js → worktree-vtarvj67.js} +0 -0
  900. /package/dist/chunks/{bus-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  901. /package/dist/chunks/{bus-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  902. /package/dist/chunks/{bus-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  903. /package/dist/chunks/{bus-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  904. /package/dist/chunks/{bus-x4th4bpe.js → worktree-x4th4bpe.js} +0 -0
  905. /package/dist/chunks/{bus-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  906. /package/dist/chunks/{bus-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  907. /package/dist/chunks/{bus-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  908. /package/dist/chunks/{bus-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
  909. /package/dist/chunks/{bus-z9919s4g.js → worktree-z9919s4g.js} +0 -0
  910. /package/dist/chunks/{bus-zxpyjp51.js → worktree-zxpyjp51.js} +0 -0
  911. /package/dist/chunks/{bus-zz5vv3aq.js → worktree-zz5vv3aq.js} +0 -0
@@ -1,67 +1,67 @@
1
1
  import {
2
- Service86
3
- } from "./bus-84enknj2.js";
2
+ Service92
3
+ } from "./worktree-ns7cryw4.js";
4
4
  import {
5
5
  invocation2,
6
- Service57
7
- } from "./bus-p5mfb73r.js";
6
+ Service74
7
+ } from "./worktree-etx991nf.js";
8
8
  import {
9
- ID22,
9
+ ID8,
10
10
  Result2,
11
11
  ProviderRequiredError2,
12
12
  DisabledError4,
13
- RequestError3,
14
- Service91
15
- } from "./bus-3bc976rq.js";
13
+ RequestError2,
14
+ Service20
15
+ } from "./worktree-9xgtm86g.js";
16
16
  import {
17
17
  __export
18
- } from "./bus-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/plugin/websearch.ts
21
- var exports_websearch2 = {};
22
- __export(exports_websearch2, {
23
- Input: () => Input12,
21
+ var exports_websearch = {};
22
+ __export(exports_websearch, {
23
+ Input: () => Input5,
24
24
  NO_RESULTS: () => NO_RESULTS2,
25
- Plugin: () => Plugin33,
26
- WebSearchTool: () => exports_websearch2,
27
- description: () => description6,
28
- name: () => name12
25
+ Plugin: () => Plugin5,
26
+ WebSearchTool: () => exports_websearch,
27
+ description: () => description3,
28
+ name: () => name5
29
29
  });
30
30
  import { ToolFailure } from "@opencode/ai/effect";
31
31
  import { Effect, Schema, Semaphore } from "effect";
32
32
  import { HttpClientError } from "effect/http";
33
- var name12 = "websearch";
33
+ var name5 = "websearch";
34
34
  var NO_RESULTS2 = "No search results found. Please try a different query.";
35
35
  var providerSelectionLock = Semaphore.makeUnsafe(1);
36
36
  var httpErrors = new Map([
37
37
  [429, "Web search rate limited (HTTP 429)"],
38
38
  [401, "Web search authentication failed (HTTP 401)"]
39
39
  ]);
40
- var description6 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
+ var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
41
41
 
42
42
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
43
- var Input12 = Schema.Struct({
43
+ var Input5 = Schema.Struct({
44
44
  query: Schema.String.annotate({ description: "Websearch query" })
45
45
  });
46
46
  var Output = Schema.Struct({
47
- provider: ID22,
47
+ provider: ID8,
48
48
  results: Schema.Array(Result2)
49
49
  });
50
- var Plugin33 = {
50
+ var Plugin5 = {
51
51
  id: "opencode.tool.websearch",
52
52
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
53
- const permission = yield* Service57;
54
- const forms = yield* Service86;
55
- const websearch = yield* Service91;
53
+ const permission = yield* Service74;
54
+ const forms = yield* Service92;
55
+ const websearch = yield* Service20;
56
56
  yield* ctx.tool.transform((editor) => editor.add({
57
- name: name12,
57
+ name: name5,
58
58
  options: { codemode: false },
59
- description: description6,
60
- input: Input12,
59
+ description: description3,
60
+ input: Input5,
61
61
  output: Output,
62
62
  execute: (input, context) => Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name12,
64
+ action: name5,
65
65
  resources: [input.query],
66
66
  save: ["*"],
67
67
  metadata: input,
@@ -162,7 +162,7 @@ ${result.content}` : ""}`;
162
162
  return { output, content, metadata: { provider: output.provider } };
163
163
  }).pipe(Effect.mapError((error) => {
164
164
  const fallback = `Unable to search the web for ${input.query}`;
165
- if (!Schema.is(RequestError3)(error))
165
+ if (!Schema.is(RequestError2)(error))
166
166
  return new ToolFailure({ message: fallback, error });
167
167
  const status = HttpClientError.isHttpClientError(error.cause) ? error.cause.response?.status : undefined;
168
168
  return new ToolFailure({
@@ -175,7 +175,7 @@ ${result.content}` : ""}`;
175
175
  const hook = (event) => Effect.gen(function* () {
176
176
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
177
177
  if (disabled || (yield* websearch.providers()).length === 0)
178
- delete event.tools[name12];
178
+ delete event.tools[name5];
179
179
  });
180
180
  yield* ctx.session.hook("context", hook);
181
181
  yield* ctx.session.hook("compaction", hook);
@@ -183,4 +183,4 @@ ${result.content}` : ""}`;
183
183
  })
184
184
  };
185
185
 
186
- export { name12, NO_RESULTS2, description6, Input12, Plugin33, exports_websearch2 };
186
+ export { name5, NO_RESULTS2, description3, Input5, Plugin5, exports_websearch };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  ID17,
3
- Service85,
4
- node87
5
- } from "./bus-t1amr32j.js";
3
+ Service84,
4
+ node86
5
+ } from "./worktree-jdb23anr.js";
6
6
  import {
7
7
  isAISDK2,
8
8
  packageName2,
9
9
  mergeOverlay2,
10
10
  mergeHeaders2
11
- } from "./bus-m90tx7mw.js";
11
+ } from "./worktree-m90tx7mw.js";
12
12
  import {
13
13
  ID16,
14
14
  loadPackage2,
@@ -17,24 +17,24 @@ import {
17
17
  timeout2,
18
18
  timeouts2,
19
19
  encoding2,
20
- Service84,
21
- node86
22
- } from "./bus-707acbjf.js";
23
- import {
24
20
  Service83,
25
21
  node85
26
- } from "./bus-s1qt1kqv.js";
22
+ } from "./worktree-3evvr8bx.js";
23
+ import {
24
+ Service73,
25
+ node75
26
+ } from "./worktree-ywqn7m26.js";
27
27
  import {
28
28
  ID15,
29
29
  VariantID2,
30
30
  Ref3,
31
- Service79,
32
- node81,
31
+ Service82,
32
+ node84,
33
33
  supportsText2
34
- } from "./bus-204h1da0.js";
34
+ } from "./worktree-87evyga5.js";
35
35
  import {
36
36
  __export
37
- } from "./bus-9rqn6x4v.js";
37
+ } from "./worktree-9rqn6x4v.js";
38
38
 
39
39
  // src/model-resolver.ts
40
40
  var exports_model_resolver = {};
@@ -43,15 +43,15 @@ __export(exports_model_resolver, {
43
43
  ModelConfigurationError: () => ModelConfigurationError2,
44
44
  ModelInitializationError: () => ModelInitializationError2,
45
45
  ModelResolver: () => exports_model_resolver,
46
- Service: () => Service78,
46
+ Service: () => Service72,
47
47
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
48
48
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
49
49
  UnsupportedPackageError: () => UnsupportedPackageError2,
50
50
  VariantUnavailableError: () => VariantUnavailableError2,
51
51
  fromCatalogModel: () => fromCatalogModel2,
52
52
  hasPackage: () => hasPackage2,
53
- layer: () => layer29,
54
- node: () => node80,
53
+ layer: () => layer25,
54
+ node: () => node74,
55
55
  resolveModel: () => resolveModel3,
56
56
  withVariant: () => withVariant2
57
57
  });
@@ -131,7 +131,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
131
131
  }
132
132
  }
133
133
 
134
- class Service78 extends Context.Service()("@opencode/ModelResolver") {
134
+ class Service72 extends Context.Service()("@opencode/ModelResolver") {
135
135
  }
136
136
  var withVariant2 = (model, variantID) => {
137
137
  const id = variantID === "default" ? undefined : variantID;
@@ -310,12 +310,12 @@ var causeMessage = (cause) => {
310
310
  };
311
311
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
312
312
  var hasPackage2 = (model) => Boolean(model.package);
313
- var layer29 = Layer.effect(Service78, Effect.gen(function* () {
314
- const providers = yield* Service84;
315
- const models = yield* Service79;
316
- const integrations = yield* Service85;
313
+ var layer25 = Layer.effect(Service72, Effect.gen(function* () {
314
+ const providers = yield* Service83;
315
+ const models = yield* Service82;
316
+ const integrations = yield* Service84;
317
317
  const npm = yield* Npm.Service;
318
- const aisdk = yield* Service83;
318
+ const aisdk = yield* Service73;
319
319
  const dependencies = {
320
320
  loadPackage: (specifier) => loadPackage2(specifier, npm),
321
321
  loadAISDK: (model) => aisdk.model(model)
@@ -365,7 +365,7 @@ var layer29 = Layer.effect(Service78, Effect.gen(function* () {
365
365
  return model;
366
366
  return (yield* models.available()).find((model) => hasPackage2(model) && supportsText2(model));
367
367
  });
368
- return Service78.of({
368
+ return Service72.of({
369
369
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
370
370
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* fallback();
371
371
  if (!selected)
@@ -431,10 +431,10 @@ function usesAPIKeyAuth(packageName) {
431
431
  return false;
432
432
  return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
433
433
  }
434
- var node80 = makeLocationNode({
435
- service: Service78,
436
- layer: layer29,
437
- deps: [node86, node81, node87, Npm.node, node85]
434
+ var node74 = makeLocationNode({
435
+ service: Service72,
436
+ layer: layer25,
437
+ deps: [node85, node84, node86, Npm.node, node75]
438
438
  });
439
439
 
440
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service78, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer29, node80, exports_model_resolver };
440
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service72, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer25, node74, exports_model_resolver };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  resolveModel2
3
- } from "./bus-9sk33afj.js";
3
+ } from "./worktree-7nqkf5r1.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/identity.ts
9
9
  var exports_identity = {};
10
10
  __export(exports_identity, {
11
11
  IdentityPlugin: () => exports_identity,
12
- Plugin: () => Plugin52,
12
+ Plugin: () => Plugin51,
13
13
  identity: () => identity2
14
14
  });
15
15
  import { SystemPart } from "@opencode/ai/effect";
@@ -24,7 +24,7 @@ function identity2(model) {
24
24
  ].join(`
25
25
  `);
26
26
  }
27
- var Plugin52 = define({
27
+ var Plugin51 = define({
28
28
  id: "opencode.prompt.identity",
29
29
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
30
30
  const hook = (event) => Effect.gen(function* () {
@@ -37,4 +37,4 @@ var Plugin52 = define({
37
37
  })
38
38
  });
39
39
 
40
- export { identity2, Plugin52, exports_identity };
40
+ export { identity2, Plugin51, exports_identity };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./bus-wakvkjy4.js";
3
+ } from "./worktree-wakvkjy4.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./bus-034tev2y.js";
6
+ } from "./worktree-034tev2y.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./bus-fzz9nyhr.js";
4
+ } from "./worktree-d13jd56m.js";
5
5
  import {
6
6
  Service93,
7
7
  node95
8
- } from "./bus-dass9azh.js";
8
+ } from "./worktree-mf9xnwfc.js";
9
9
  import {
10
- Service66,
11
- node67
12
- } from "./bus-x9sg88xm.js";
13
- import {
14
- Service55,
10
+ Service54,
15
11
  node56
16
- } from "./bus-qvtwmp4v.js";
12
+ } from "./worktree-8dtpqrc9.js";
13
+ import {
14
+ Service53,
15
+ node55
16
+ } from "./worktree-qah7t4da.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./bus-ec1grn59.js";
19
+ } from "./worktree-ec1grn59.js";
20
20
  import {
21
- Service54,
22
- node55,
21
+ Service52,
22
+ node54,
23
23
  nextPromotable2
24
- } from "./bus-h79qqgx0.js";
24
+ } from "./worktree-04rnhqft.js";
25
25
  import {
26
26
  make27
27
- } from "./bus-1nxgbegj.js";
27
+ } from "./worktree-y3aw00r4.js";
28
28
  import {
29
29
  make29
30
- } from "./bus-2prt43t7.js";
30
+ } from "./worktree-2prt43t7.js";
31
31
  import {
32
32
  DrainResult2,
33
- Service53
34
- } from "./bus-m7xh3h0x.js";
33
+ Service51
34
+ } from "./worktree-xsact9zs.js";
35
35
  import {
36
- Service59,
37
- node60
38
- } from "./bus-4fgsg5hz.js";
36
+ Service76,
37
+ node78
38
+ } from "./worktree-xgytw5f8.js";
39
39
  import {
40
40
  toSessionError2
41
- } from "./bus-g3agd9q1.js";
41
+ } from "./worktree-vzn28619.js";
42
42
  import {
43
43
  __export
44
- } from "./bus-9rqn6x4v.js";
44
+ } from "./worktree-9rqn6x4v.js";
45
45
 
46
46
  // src/session/execution.ts
47
- var exports_execution2 = {};
48
- __export(exports_execution2, {
49
- Service: () => Service52,
50
- SessionExecution: () => exports_execution2,
51
- layer: () => layer20,
52
- node: () => node54,
53
- noopLayer: () => noopLayer2,
47
+ var exports_execution = {};
48
+ __export(exports_execution, {
49
+ Service: () => Service50,
50
+ SessionExecution: () => exports_execution,
51
+ layer: () => layer22,
52
+ node: () => node53,
53
+ noopLayer: () => noopLayer3,
54
54
  terminal: () => terminal2
55
55
  });
56
56
  import { Cause, Context, Effect, Exit, Layer } from "effect";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
- class Service52 extends Context.Service()("@opencode/SessionExecution") {
58
+ class Service50 extends Context.Service()("@opencode/SessionExecution") {
59
59
  }
60
60
  function terminal2(exit, reason) {
61
61
  if (Exit.isSuccess(exit))
@@ -64,12 +64,12 @@ function terminal2(exit, reason) {
64
64
  return { type: "interrupted", reason: reason ?? "shutdown" };
65
65
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
66
66
  }
67
- var layer20 = Layer.effect(Service52, Effect.gen(function* () {
68
- const store = yield* Service59;
69
- const instances = yield* Service55;
67
+ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
68
+ const store = yield* Service76;
69
+ const instances = yield* Service53;
70
70
  const bus = yield* Service93;
71
- const jobs = yield* Service66;
72
- const inbox = yield* Service54;
71
+ const jobs = yield* Service54;
72
+ const inbox = yield* Service52;
73
73
  const db = (yield* Service94).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -90,7 +90,7 @@ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
90
90
  const session = yield* store.get(sessionID);
91
91
  if (!session)
92
92
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
93
- const result = yield* Service53.use((runner) => runner.drain({
93
+ const result = yield* Service51.use((runner) => runner.drain({
94
94
  sessionID,
95
95
  force,
96
96
  continuation,
@@ -131,7 +131,7 @@ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
131
131
  });
132
132
  holder.coordinator = coordinator;
133
133
  interruption = coordinator.interruption;
134
- return Service52.of({
134
+ return Service50.of({
135
135
  active: coordinator.active,
136
136
  isActive: coordinator.isActive,
137
137
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -158,12 +158,12 @@ function publishTerminal(bus, sessionID, outcome, commit) {
158
158
  }
159
159
  return bus.publish(SessionEvent2.Execution.Failed, { sessionID, error: outcome.error }, { commit });
160
160
  }
161
- var node54 = makeGlobalNode({
162
- service: Service52,
163
- layer: layer20,
164
- deps: [node60, node56, node95, node96, node67, node55]
161
+ var node53 = makeGlobalNode({
162
+ service: Service50,
163
+ layer: layer22,
164
+ deps: [node78, node55, node95, node96, node56, node54]
165
165
  });
166
- var noopLayer2 = Layer.succeed(Service52, Service52.of({
166
+ var noopLayer3 = Layer.succeed(Service50, Service50.of({
167
167
  active: Effect.succeed(new Set),
168
168
  isActive: () => Effect.succeed(false),
169
169
  resume: () => Effect.void,
@@ -172,4 +172,4 @@ var noopLayer2 = Layer.succeed(Service52, Service52.of({
172
172
  awaitIdle: () => Effect.void
173
173
  }));
174
174
 
175
- export { Service52, terminal2, layer20, node54, noopLayer2, exports_execution2 };
175
+ export { Service50, terminal2, layer22, node53, noopLayer3, exports_execution };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  which2
3
- } from "./bus-x4th4bpe.js";
3
+ } from "./worktree-x4th4bpe.js";
4
4
  import {
5
5
  load3
6
- } from "./bus-tr8x705m.js";
6
+ } from "./worktree-tr8x705m.js";
7
7
  import {
8
8
  create2
9
- } from "./bus-44pmzq9c.js";
9
+ } from "./worktree-44pmzq9c.js";
10
10
  import {
11
11
  __export
12
- } from "./bus-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/provider/claude-agent/claude/io.ts
15
15
  var exports_io = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service63,
3
- node64
4
- } from "./bus-trd8vmqg.js";
2
+ Service80,
3
+ node82
4
+ } from "./worktree-e0zepttq.js";
5
5
  import {
6
6
  Service88,
7
7
  node90
8
- } from "./bus-4c805qzj.js";
8
+ } from "./worktree-abfhp5y0.js";
9
9
  import {
10
- Service62,
11
- node63
12
- } from "./bus-bfxxc9fz.js";
10
+ Service79,
11
+ node81
12
+ } from "./worktree-gmsdxnbj.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./bus-7weczvnd.js";
16
+ } from "./worktree-7weczvnd.js";
17
17
  import {
18
18
  isDirectorySource2
19
- } from "./bus-tvtps2q9.js";
19
+ } from "./worktree-tvtps2q9.js";
20
20
  import {
21
21
  __export
22
- } from "./bus-9rqn6x4v.js";
22
+ } from "./worktree-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/source.ts
25
25
  var exports_source = {};
26
26
  __export(exports_source, {
27
27
  ConfigPluginSource: () => exports_source,
28
- Service: () => Service3,
28
+ Service: () => Service4,
29
29
  empty: () => empty2,
30
- layer: () => layer4,
31
- node: () => node4
30
+ layer: () => layer5,
31
+ node: () => node6
32
32
  });
33
33
  import { FSUtil } from "@opencode/util/fs-util";
34
34
  import { Host } from "@opencode/plugin/host";
@@ -36,11 +36,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
37
37
  import path from "path";
38
38
  import { fileURLToPath, pathToFileURL } from "url";
39
- class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
39
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
40
40
  }
41
- var layer4 = Layer.effect(Service3, Effect.gen(function* () {
42
- const config = yield* Service62;
43
- const watcher = yield* Service63;
41
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
42
+ const config = yield* Service79;
43
+ const watcher = yield* Service80;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const location = yield* Service88;
46
46
  const configuredChanges = yield* PubSub.unbounded();
@@ -61,7 +61,7 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
61
61
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
62
62
  }
63
63
  });
64
- return Service3.of({
64
+ return Service4.of({
65
65
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
66
66
  const entries = yield* config.entries();
67
67
  const operations = yield* scan(fs, location, entries);
@@ -73,14 +73,14 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
73
73
  })), Stream.fromPubSub(configuredChanges))
74
74
  });
75
75
  }));
76
- var node4 = makeLocationNode({
77
- service: Service3,
78
- layer: layer4,
79
- deps: [node63, FSUtil.node, node64, node90]
76
+ var node6 = makeLocationNode({
77
+ service: Service4,
78
+ layer: layer5,
79
+ deps: [node81, FSUtil.node, node82, node90]
80
80
  });
81
81
  var empty2 = makeLocationNode({
82
- service: Service3,
83
- layer: Layer.succeed(Service3, Service3.of({
82
+ service: Service4,
83
+ layer: Layer.succeed(Service4, Service4.of({
84
84
  operations: () => Effect.succeed([]),
85
85
  changes: () => Stream.never
86
86
  })),
@@ -138,4 +138,4 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
138
138
  })).pipe(Effect.map((operations) => operations.flat()));
139
139
  });
140
140
 
141
- export { Service3, layer4, node4, empty2, exports_source };
141
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service63
3
- } from "./bus-trd8vmqg.js";
2
+ Service80
3
+ } from "./worktree-e0zepttq.js";
4
4
  import {
5
5
  Service88
6
- } from "./bus-4c805qzj.js";
6
+ } from "./worktree-abfhp5y0.js";
7
7
  import {
8
- Service62
9
- } from "./bus-bfxxc9fz.js";
8
+ Service79
9
+ } from "./worktree-gmsdxnbj.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./bus-q5bk3gvt.js";
12
+ } from "./worktree-f2zjpyt5.js";
13
13
  import {
14
- File3,
15
- Service68
16
- } from "./bus-tmsabzbp.js";
14
+ File2,
15
+ Service46
16
+ } from "./worktree-2g34a0qs.js";
17
17
  import {
18
18
  __export
19
- } from "./bus-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin14
25
+ Plugin: () => Plugin30
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin14 = define({
34
+ var Plugin30 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service68;
37
+ const discovery = yield* Service46;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service62;
39
+ const config = yield* Service79;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
43
  const location = yield* Service88;
44
- const watcher = yield* Service63;
44
+ const watcher = yield* Service80;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -66,13 +66,13 @@ var Plugin14 = define({
66
66
  yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
67
67
  }
68
68
  const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
69
- return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File3({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
69
+ return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File2({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
70
70
  });
71
71
  const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
72
72
  if (!discovery.global || !(yield* fs.isFile(globalFile)))
73
73
  return [];
74
74
  const file = yield* read(globalFile);
75
- return file instanceof File3 ? [file] : [];
75
+ return file instanceof File2 ? [file] : [];
76
76
  });
77
77
  const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
78
78
  if (!project)
@@ -82,7 +82,7 @@ var Plugin14 = define({
82
82
  const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
83
83
  if (files.some((file) => file === undefined))
84
84
  return unavailable3;
85
- return files.filter((file) => file instanceof File3);
85
+ return files.filter((file) => file instanceof File2);
86
86
  });
87
87
  const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
88
88
  const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
@@ -117,7 +117,7 @@ var Plugin14 = define({
117
117
  continue;
118
118
  watched.add(resolved);
119
119
  const file = yield* read(resolved);
120
- if (file instanceof File3)
120
+ if (file instanceof File2)
121
121
  files.push(file);
122
122
  }
123
123
  }
@@ -136,7 +136,7 @@ var Plugin14 = define({
136
136
  const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
137
137
  const entries = yield* config.entries();
138
138
  const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
139
- const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File3({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
139
+ const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File2({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
140
140
  configured.sources = sources;
141
141
  configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
142
142
  }, (effect) => lock.withPermit(effect));
@@ -180,4 +180,4 @@ function isUrl(source) {
180
180
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
181
181
  }
182
182
 
183
- export { Plugin14, exports_instruction };
183
+ export { Plugin30, exports_instruction };