@opencode/core 0.0.0-dev-1259 → 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 +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/{form-96djvn30.js → worktree-02tnp2z6.js} +22 -22
  9. package/dist/chunks/{form-034tev2y.js → worktree-034tev2y.js} +2 -2
  10. package/dist/chunks/{form-8c89m3y2.js → worktree-04rnhqft.js} +21 -21
  11. package/dist/chunks/{form-qd86fdhn.js → worktree-0a24q822.js} +13 -13
  12. package/dist/chunks/{form-c4kt9bf5.js → worktree-0a5a4072.js} +8 -8
  13. package/dist/chunks/{form-c6x7d2ts.js → worktree-0ahs07zn.js} +4 -4
  14. package/dist/chunks/{form-v8pywjm3.js → worktree-0bjg3qy0.js} +13 -13
  15. package/dist/chunks/{form-0fvxehme.js → worktree-0fvxehme.js} +2 -2
  16. package/dist/chunks/{form-cys5vqrq.js → worktree-0gq253mk.js} +40 -40
  17. package/dist/chunks/{form-0ma9gw4f.js → worktree-0ma9gw4f.js} +2 -2
  18. package/dist/chunks/{form-963hk181.js → worktree-0mtp185z.js} +9 -9
  19. package/dist/chunks/{form-m2qny0dr.js → worktree-115nyvd9.js} +21 -21
  20. package/dist/chunks/{form-8d2bz6m6.js → worktree-160yv0cs.js} +8 -8
  21. package/dist/chunks/{form-17wdez1g.js → worktree-17wdez1g.js} +3 -3
  22. package/dist/chunks/{form-1aqsckx4.js → worktree-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{form-1aryjtsy.js → worktree-1aryjtsy.js} +1 -1
  24. package/dist/chunks/{form-1ep2p91f.js → worktree-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{form-q30f6688.js → worktree-1j86et5h.js} +5 -5
  26. package/dist/chunks/{form-36qzrbfm.js → worktree-1kama452.js} +4 -4
  27. package/dist/chunks/{form-yvzj17z8.js → worktree-1wsd0ebx.js} +4 -4
  28. package/dist/chunks/{form-wq42vpgc.js → worktree-1wt5gxxy.js} +21 -21
  29. package/dist/chunks/{form-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{form-23g9a6xe.js → worktree-1xcpt731.js} +37 -37
  31. package/dist/chunks/{form-nqrgexzr.js → worktree-1xeavs09.js} +20 -20
  32. package/dist/chunks/{form-1yped5qa.js → worktree-1yped5qa.js} +1 -1
  33. package/dist/chunks/{form-1yq9hg58.js → worktree-1yq9hg58.js} +1 -1
  34. package/dist/chunks/{form-a7anm6zm.js → worktree-21prfe2v.js} +11 -11
  35. package/dist/chunks/{form-0pbmmfqp.js → worktree-221mv0g2.js} +31 -31
  36. package/dist/chunks/{form-v9g2zqyc.js → worktree-2estw5xm.js} +2 -2
  37. package/dist/chunks/{form-2fc7eemy.js → worktree-2fc7eemy.js} +1 -1
  38. package/dist/chunks/{form-94xm54df.js → worktree-2g34a0qs.js} +14 -14
  39. package/dist/chunks/{form-d8mz2a77.js → worktree-2h7m8jkh.js} +4 -4
  40. package/dist/chunks/{form-mg469k85.js → worktree-2mmsr0r6.js} +3 -3
  41. package/dist/chunks/{form-2p60zmnr.js → worktree-2p60zmnr.js} +2 -2
  42. package/dist/chunks/{form-ypzfmdvb.js → worktree-2prt43t7.js} +4 -4
  43. package/dist/chunks/{form-84rzvchy.js → worktree-2qywqnd5.js} +27 -27
  44. package/dist/chunks/{form-472mej1n.js → worktree-36c6fj51.js} +16 -16
  45. package/dist/chunks/{form-r9tc9pk3.js → worktree-37gjjf5g.js} +75 -75
  46. package/dist/chunks/{form-3adw4bt5.js → worktree-3adw4bt5.js} +2 -2
  47. package/dist/chunks/{form-mp1kx5rz.js → worktree-3eknw787.js} +9 -9
  48. package/dist/chunks/{form-ccfsrrmh.js → worktree-3evvr8bx.js} +22 -22
  49. package/dist/chunks/{form-9shvh49p.js → worktree-3ffssf92.js} +9 -9
  50. package/dist/chunks/{form-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{form-17b8a7h3.js → worktree-3kh5qk3y.js} +11 -11
  52. package/dist/chunks/{form-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
  53. package/dist/chunks/{form-40y6dtc2.js → worktree-40y6dtc2.js} +1 -1
  54. package/dist/chunks/{form-44pmzq9c.js → worktree-44pmzq9c.js} +2 -2
  55. package/dist/chunks/{form-3gt1kr24.js → worktree-46jzz2by.js} +14 -14
  56. package/dist/chunks/{form-1n9qm3y0.js → worktree-46ngnzzp.js} +1 -1
  57. package/dist/chunks/{form-d86x7fbq.js → worktree-4cd8bjhn.js} +13 -13
  58. package/dist/chunks/{form-4dx1dgte.js → worktree-4dx1dgte.js} +1 -1
  59. package/dist/chunks/{form-ada3z144.js → worktree-4e85nbz2.js} +9 -9
  60. package/dist/chunks/{form-4f25tdd0.js → worktree-4f25tdd0.js} +1 -1
  61. package/dist/chunks/{form-sbkxvare.js → worktree-4jp6v5kb.js} +18 -18
  62. package/dist/chunks/{form-zfyb5tr4.js → worktree-4pw98qd4.js} +4 -4
  63. package/dist/chunks/{form-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
  64. package/dist/chunks/{form-4v008n1t.js → worktree-4v008n1t.js} +1 -1
  65. package/dist/chunks/{form-8689fe7p.js → worktree-4vhvsf6w.js} +59 -59
  66. package/dist/chunks/{form-bp7gars8.js → worktree-52bne9g4.js} +4 -4
  67. package/dist/chunks/{form-d6snxrvk.js → worktree-5drvnfvh.js} +16 -16
  68. package/dist/chunks/{form-h7pv1g59.js → worktree-5dsr8r8r.js} +33 -33
  69. package/dist/chunks/{form-ppqncqcw.js → worktree-5gq1g6z4.js} +29 -29
  70. package/dist/chunks/{form-dvzygc3v.js → worktree-5j82wakc.js} +12 -12
  71. package/dist/chunks/{form-f4h8dv2b.js → worktree-5m55nvws.js} +53 -53
  72. package/dist/chunks/{form-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
  73. package/dist/chunks/{form-452bg8zj.js → worktree-5nkvqegm.js} +52 -52
  74. package/dist/chunks/worktree-6b9epygf.js +35 -0
  75. package/dist/chunks/{form-r2w7322r.js → worktree-6n24w41c.js} +14 -14
  76. package/dist/chunks/{form-037yh2te.js → worktree-6vbbsh5r.js} +11 -11
  77. package/dist/chunks/{form-775hqbnd.js → worktree-775hqbnd.js} +3 -3
  78. package/dist/chunks/{form-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{form-e0bq7bbq.js → worktree-7gmy25f6.js} +5 -5
  80. package/dist/chunks/{form-9sk33afj.js → worktree-7nqkf5r1.js} +6 -6
  81. package/dist/chunks/{form-zh2h92vr.js → worktree-7t938ypj.js} +9 -9
  82. package/dist/chunks/{form-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
  83. package/dist/chunks/{form-7weczvnd.js → worktree-7weczvnd.js} +1 -1
  84. package/dist/chunks/{form-a5nphkhv.js → worktree-7wx686z5.js} +25 -25
  85. package/dist/chunks/{form-80pdk984.js → worktree-80pdk984.js} +1 -1
  86. package/dist/chunks/{form-3sgnb8ye.js → worktree-8230yfm5.js} +8 -8
  87. package/dist/chunks/{form-85jq8dht.js → worktree-85jq8dht.js} +1 -1
  88. package/dist/chunks/worktree-8623vytj.js +273 -0
  89. package/dist/chunks/{form-gh49588n.js → worktree-87evyga5.js} +21 -21
  90. package/dist/chunks/{form-t48jrnqq.js → worktree-8akjpyn6.js} +3 -3
  91. package/dist/chunks/{form-8b3vzgkx.js → worktree-8b3vzgkx.js} +1 -1
  92. package/dist/chunks/{form-z6vf27zw.js → worktree-8b4n7av8.js} +20 -20
  93. package/dist/chunks/{form-btz4vdf2.js → worktree-8bgnr0we.js} +9 -9
  94. package/dist/chunks/{form-c0mn35z2.js → worktree-8dtpqrc9.js} +15 -15
  95. package/dist/chunks/{form-gkvfn3m7.js → worktree-8g0svzxg.js} +9 -9
  96. package/dist/chunks/{form-prsravnb.js → worktree-8gmxcapv.js} +9 -9
  97. package/dist/chunks/{form-93xmyh8q.js → worktree-8hfctyyf.js} +7 -7
  98. package/dist/chunks/{form-8kjyvwy5.js → worktree-8kjyvwy5.js} +1 -1
  99. package/dist/chunks/{form-8sxe6kv8.js → worktree-8sxe6kv8.js} +2 -2
  100. package/dist/chunks/{form-wdvdjbw2.js → worktree-8vad137p.js} +13 -13
  101. package/dist/chunks/{form-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
  102. package/dist/chunks/{form-9zq2wx2v.js → worktree-8wz5a004.js} +12 -12
  103. package/dist/chunks/{form-8zv0xmg5.js → worktree-8zv0xmg5.js} +1 -1
  104. package/dist/chunks/{form-41qf70k1.js → worktree-955vq45v.js} +7 -7
  105. package/dist/chunks/worktree-9beaqk96.js +26 -0
  106. package/dist/chunks/{form-g27769vk.js → worktree-9enxp8jt.js} +3 -3
  107. package/dist/chunks/{form-w6mxeyma.js → worktree-9esm5h7s.js} +48 -48
  108. package/dist/chunks/{form-e5653pfs.js → worktree-9fgy5dtv.js} +8 -8
  109. package/dist/chunks/{form-afx9d728.js → worktree-9je0v1t5.js} +10 -10
  110. package/dist/chunks/{form-tfkqd36h.js → worktree-9nv5w25y.js} +14 -14
  111. package/dist/chunks/{form-06hn5xay.js → worktree-9p0t0vzw.js} +363 -363
  112. package/dist/chunks/{form-waw5x86p.js → worktree-9qm47qae.js} +8 -8
  113. package/dist/chunks/{form-b4byxxx5.js → worktree-9r7xa4ny.js} +6 -6
  114. package/dist/chunks/{form-p0gwt9vv.js → worktree-9v0htc5k.js} +28 -28
  115. package/dist/chunks/{form-vm2y91k7.js → worktree-9v671hr8.js} +7 -7
  116. package/dist/chunks/{form-vsgecpq8.js → worktree-9xgtm86g.js} +29 -29
  117. package/dist/chunks/{form-a3fn0gmm.js → worktree-a3fn0gmm.js} +2 -2
  118. package/dist/chunks/{form-rffg2j94.js → worktree-abfhp5y0.js} +16 -16
  119. package/dist/chunks/{form-x7k26ns8.js → worktree-ah4z3jtw.js} +14 -14
  120. package/dist/chunks/{form-jvk4bcnk.js → worktree-ah96p1fy.js} +27 -27
  121. package/dist/chunks/{form-z42cyjz6.js → worktree-akk97tym.js} +2 -2
  122. package/dist/chunks/worktree-aqczazaa.js +16 -0
  123. package/dist/chunks/{form-4vzr2b15.js → worktree-atz1w742.js} +3 -3
  124. package/dist/chunks/{form-w5xhfkb8.js → worktree-avj6h0e6.js} +31 -31
  125. package/dist/chunks/{form-dv0qv8dp.js → worktree-awaktgrw.js} +24 -24
  126. package/dist/chunks/{form-a86g2bt8.js → worktree-axkdp7x4.js} +5 -5
  127. package/dist/chunks/{form-ayjs7tqn.js → worktree-ayjs7tqn.js} +2 -2
  128. package/dist/chunks/{form-b8z222yn.js → worktree-b0beahbq.js} +44 -44
  129. package/dist/chunks/{form-b26ddj6h.js → worktree-b26ddj6h.js} +4 -4
  130. package/dist/chunks/{form-7x3e37rj.js → worktree-b6gk4anr.js} +24 -24
  131. package/dist/chunks/{form-98d3v306.js → worktree-b7vxy437.js} +11 -11
  132. package/dist/chunks/{form-44c27wdk.js → worktree-bg4yx4n3.js} +32 -32
  133. package/dist/chunks/{form-dm2vqe58.js → worktree-bmn0w987.js} +20 -20
  134. package/dist/chunks/{form-b3n7s0t8.js → worktree-bmyrrwdj.js} +15 -15
  135. package/dist/chunks/{form-xksw6ev0.js → worktree-brv6mkyx.js} +4 -4
  136. package/dist/chunks/{form-bstexjd6.js → worktree-bstexjd6.js} +1 -1
  137. package/dist/chunks/{form-6d8ynmx0.js → worktree-bt0j8jsq.js} +4 -4
  138. package/dist/chunks/{form-41xb67sm.js → worktree-bxk31rmq.js} +3 -3
  139. package/dist/chunks/{form-kfa3wqk8.js → worktree-c53vxacq.js} +16 -16
  140. package/dist/chunks/{form-kz92qt34.js → worktree-cjqsf6bw.js} +9 -9
  141. package/dist/chunks/{form-4gmbvmjy.js → worktree-cpe35zww.js} +4 -4
  142. package/dist/chunks/{form-sc9f0wxf.js → worktree-cqv0yv6r.js} +33 -33
  143. package/dist/chunks/{form-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
  144. package/dist/chunks/{form-gbbf88cb.js → worktree-cyebkz0g.js} +21 -21
  145. package/dist/chunks/{form-cqcxdjev.js → worktree-d13jd56m.js} +4 -4
  146. package/dist/chunks/{form-k8e2srx8.js → worktree-d2d0axg5.js} +4 -4
  147. package/dist/chunks/{form-54rfxpxq.js → worktree-d2mwgxdd.js} +3 -3
  148. package/dist/chunks/{form-8c6tt2ep.js → worktree-d3kcraj0.js} +19 -19
  149. package/dist/chunks/{form-r57ndfvh.js → worktree-d3nfmg6f.js} +20 -20
  150. package/dist/chunks/{form-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
  151. package/dist/chunks/{form-17xf0zvn.js → worktree-d7k99j55.js} +2 -2
  152. package/dist/chunks/{form-j769mvkb.js → worktree-da7jra8h.js} +19 -19
  153. package/dist/chunks/{form-me445813.js → worktree-dchm6595.js} +7 -7
  154. package/dist/chunks/{form-ccrr6v36.js → worktree-dfz3m1mp.js} +22 -22
  155. package/dist/chunks/{form-d390zwf3.js → worktree-dkrnptrz.js} +11 -11
  156. package/dist/chunks/{form-nkcxytxy.js → worktree-dt1vnv0k.js} +13 -13
  157. package/dist/chunks/{form-dt77769w.js → worktree-dt77769w.js} +1 -1
  158. package/dist/chunks/{form-vkf7jdr5.js → worktree-e0zepttq.js} +10 -10
  159. package/dist/chunks/{form-ty35dmwe.js → worktree-e1tqt626.js} +10 -10
  160. package/dist/chunks/{form-00h22y2v.js → worktree-e27dnf0a.js} +6 -6
  161. package/dist/chunks/{form-1j04fmzc.js → worktree-e2yswvtz.js} +21 -21
  162. package/dist/chunks/{form-wrcavmx5.js → worktree-e4wexmx7.js} +17 -17
  163. package/dist/chunks/{form-7x7zqjfv.js → worktree-e53fs974.js} +11 -11
  164. package/dist/chunks/{form-7gykrkr9.js → worktree-e59cb28x.js} +18 -18
  165. package/dist/chunks/{form-1edg3qgf.js → worktree-egkn8eaf.js} +9 -9
  166. package/dist/chunks/{form-8wj3gxqy.js → worktree-ejsjjq0z.js} +14 -14
  167. package/dist/chunks/{form-actqkhr9.js → worktree-epthsp8p.js} +18 -18
  168. package/dist/chunks/{form-48yys6vs.js → worktree-eq6baf7z.js} +19 -19
  169. package/dist/chunks/{form-eqw4pqj1.js → worktree-eqw4pqj1.js} +2 -2
  170. package/dist/chunks/{form-vnfp6nef.js → worktree-etx991nf.js} +38 -38
  171. package/dist/chunks/{form-spn4sfxe.js → worktree-evksn9k1.js} +16 -16
  172. package/dist/chunks/{form-q5bk3gvt.js → worktree-f2zjpyt5.js} +5 -5
  173. package/dist/chunks/{form-nfnv0p4j.js → worktree-f43yppe0.js} +53 -53
  174. package/dist/chunks/{form-fg9p65nk.js → worktree-fg9p65nk.js} +2 -2
  175. package/dist/chunks/{form-e2a8319r.js → worktree-frnfv82a.js} +22 -22
  176. package/dist/chunks/{form-fmp42tke.js → worktree-g298ae0f.js} +9 -9
  177. package/dist/chunks/{form-zyj22e97.js → worktree-ga69pc6y.js} +4 -4
  178. package/dist/chunks/{form-gbjdnr5j.js → worktree-gbjdnr5j.js} +2 -2
  179. package/dist/chunks/{form-ghrv1g9c.js → worktree-ghrv1g9c.js} +1 -1
  180. package/dist/chunks/{form-8jbdjdba.js → worktree-gmsdxnbj.js} +34 -34
  181. package/dist/chunks/worktree-grzehpz7.js +18 -0
  182. package/dist/chunks/{form-tmf7gxw0.js → worktree-gw165p6e.js} +14 -14
  183. package/dist/chunks/{form-sgmzpqex.js → worktree-h4ghx0yk.js} +23 -23
  184. package/dist/chunks/{form-30wzyvpt.js → worktree-h6081cxj.js} +21 -21
  185. package/dist/chunks/{form-8sj4am6h.js → worktree-h8c2vh0k.js} +36 -36
  186. package/dist/chunks/{form-pvdkf275.js → worktree-hby6few7.js} +13 -13
  187. package/dist/chunks/{form-hgzwgvze.js → worktree-hgzwgvze.js} +2 -2
  188. package/dist/chunks/{form-hj0xet7m.js → worktree-hj0xet7m.js} +2 -2
  189. package/dist/chunks/{form-ah65k0ha.js → worktree-hjm7rc96.js} +10 -10
  190. package/dist/chunks/{form-xacrkbdt.js → worktree-hkf8spj2.js} +7 -7
  191. package/dist/chunks/{form-2jvk0fkq.js → worktree-hkkxk2t5.js} +11 -11
  192. package/dist/chunks/{form-jp8d47ft.js → worktree-ht3fwskd.js} +10 -10
  193. package/dist/chunks/{form-rhjamjba.js → worktree-hw75bg93.js} +12 -12
  194. package/dist/chunks/{form-z66wvwrh.js → worktree-j26gwfra.js} +8 -8
  195. package/dist/chunks/{form-j9x4nv34.js → worktree-j8zr3f3w.js} +5 -5
  196. package/dist/chunks/{form-gbnr1vh0.js → worktree-j95yd6qs.js} +8 -8
  197. package/dist/chunks/{form-j9nxzz3g.js → worktree-j9nxzz3g.js} +3 -3
  198. package/dist/chunks/{form-a05y56vn.js → worktree-jbcrpda9.js} +8 -8
  199. package/dist/chunks/{form-j7km1s7q.js → worktree-jbwkk6ab.js} +7 -7
  200. package/dist/chunks/{form-66qrbrcp.js → worktree-jc6n1g1a.js} +8 -8
  201. package/dist/chunks/{form-9v80xy8h.js → worktree-jdazy0sj.js} +12 -12
  202. package/dist/chunks/{form-knkp33yx.js → worktree-jdb23anr.js} +19 -19
  203. package/dist/chunks/{form-c6zmzk68.js → worktree-jm3dfxjs.js} +21 -21
  204. package/dist/chunks/{form-jm70asfg.js → worktree-jm70asfg.js} +1 -1
  205. package/dist/chunks/{form-2qykhq02.js → worktree-jr5g7pr8.js} +9 -9
  206. package/dist/chunks/{form-az5v7z93.js → worktree-jrcj418h.js} +7 -7
  207. package/dist/chunks/{form-bfpzgz6w.js → worktree-jxaybbka.js} +5 -5
  208. package/dist/chunks/{form-aqkv1q7x.js → worktree-jzf995y2.js} +1 -1
  209. package/dist/chunks/{form-a22vf3bc.js → worktree-k6y824vh.js} +2 -2
  210. package/dist/chunks/{form-bjby5n7a.js → worktree-kfdy2ced.js} +39 -39
  211. package/dist/chunks/{form-698bazas.js → worktree-kgxqtx97.js} +5 -5
  212. package/dist/chunks/{form-qgj7d22r.js → worktree-kjpmgpdf.js} +20 -20
  213. package/dist/chunks/{form-rrapp5hp.js → worktree-kjpprafw.js} +24 -24
  214. package/dist/chunks/{form-8h8j6vbc.js → worktree-kkfprn4x.js} +7 -7
  215. package/dist/chunks/{form-5za9qvmd.js → worktree-kpwwjhqq.js} +34 -34
  216. package/dist/chunks/{form-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
  217. package/dist/chunks/{form-ckn0kvtp.js → worktree-ktck1cjp.js} +6 -6
  218. package/dist/chunks/{form-jjzcyd56.js → worktree-kth6pzp8.js} +3 -3
  219. package/dist/chunks/{form-kzczzf4v.js → worktree-kzczzf4v.js} +1 -1
  220. package/dist/chunks/{form-m1714858.js → worktree-m1714858.js} +1 -1
  221. package/dist/chunks/{form-m90tx7mw.js → worktree-m90tx7mw.js} +1 -1
  222. package/dist/chunks/{form-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  223. package/dist/chunks/{form-gtvgv2z9.js → worktree-m9x82pg0.js} +26 -26
  224. package/dist/chunks/{form-mb7mbhnz.js → worktree-mb7mbhnz.js} +3 -3
  225. package/dist/chunks/{form-me215f18.js → worktree-me215f18.js} +1 -1
  226. package/dist/chunks/{form-mbhyr38k.js → worktree-mf9xnwfc.js} +4 -4
  227. package/dist/chunks/{form-n0wex6f0.js → worktree-n3hr8dch.js} +14 -14
  228. package/dist/chunks/{form-qq8nxmq8.js → worktree-n503jqgj.js} +12 -12
  229. package/dist/chunks/{form-rw877ffh.js → worktree-nh29x4t4.js} +11 -11
  230. package/dist/chunks/{form-g0j8bxrb.js → worktree-nj7csm0w.js} +4 -4
  231. package/dist/chunks/{form-pa14zc4v.js → worktree-nqp3x6j2.js} +88 -88
  232. package/dist/chunks/{form-r4khq414.js → worktree-nrhb5mcr.js} +8 -8
  233. package/dist/chunks/{form-08294agw.js → worktree-ns7cryw4.js} +23 -23
  234. package/dist/chunks/{form-esjp2vy0.js → worktree-p6a5srqb.js} +29 -29
  235. package/dist/chunks/{form-nbkgk0q1.js → worktree-pazse0a8.js} +21 -21
  236. package/dist/chunks/{form-jsh8sgfx.js → worktree-pcrxgd1y.js} +36 -36
  237. package/dist/chunks/{form-m4p4r8nc.js → worktree-pd7cqnhq.js} +4 -4
  238. package/dist/chunks/{form-pknna89w.js → worktree-pknna89w.js} +1 -1
  239. package/dist/chunks/{form-w0ee2s96.js → worktree-pvpgttgh.js} +8 -8
  240. package/dist/chunks/{form-v19nmcf9.js → worktree-pwe4x7n8.js} +31 -31
  241. package/dist/chunks/{form-kar5tg14.js → worktree-q1x3kagb.js} +29 -29
  242. package/dist/chunks/{form-gp86qgw6.js → worktree-q6n1cnj5.js} +10 -10
  243. package/dist/chunks/{form-530xg6vw.js → worktree-q7srkfd6.js} +6 -6
  244. package/dist/chunks/{form-5m6a7xby.js → worktree-qah7t4da.js} +6 -6
  245. package/dist/chunks/{form-w2k6p06q.js → worktree-qdr892na.js} +5 -5
  246. package/dist/chunks/{form-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
  247. package/dist/chunks/{form-887hj43e.js → worktree-r1jdstg5.js} +7 -7
  248. package/dist/chunks/{form-ke51w68k.js → worktree-r6paxqy7.js} +4 -4
  249. package/dist/chunks/{form-kkesfsz6.js → worktree-r9t20rx0.js} +21 -21
  250. package/dist/chunks/{form-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
  251. package/dist/chunks/{form-d89kch1r.js → worktree-rcp756gk.js} +4 -4
  252. package/dist/chunks/{form-46crnsms.js → worktree-rg2m9633.js} +32 -32
  253. package/dist/chunks/{form-rgc9cx3e.js → worktree-rgc9cx3e.js} +2 -2
  254. package/dist/chunks/{form-e6bfww1m.js → worktree-rhy0sbpe.js} +16 -16
  255. package/dist/chunks/{form-1cgp4ydr.js → worktree-rr5nfxgj.js} +8 -8
  256. package/dist/chunks/{form-arqjvw7q.js → worktree-rrg5jx6f.js} +8 -8
  257. package/dist/chunks/{form-wp46qxxj.js → worktree-rsd267qt.js} +4 -4
  258. package/dist/chunks/{form-pevqszdq.js → worktree-rygz02xs.js} +17 -17
  259. package/dist/chunks/{form-90ct6wq4.js → worktree-rzg6y5rp.js} +4 -4
  260. package/dist/chunks/{form-6pq19atf.js → worktree-s062474n.js} +32 -32
  261. package/dist/chunks/{form-bhfd478d.js → worktree-s26c8eb5.js} +4 -4
  262. package/dist/chunks/{form-nzqx7bnk.js → worktree-s2eam2g1.js} +20 -20
  263. package/dist/chunks/{form-s47rahr7.js → worktree-s47rahr7.js} +1 -1
  264. package/dist/chunks/{form-sbya78hr.js → worktree-sbya78hr.js} +1 -1
  265. package/dist/chunks/{form-mkxevfrg.js → worktree-sbzezcpx.js} +4 -4
  266. package/dist/chunks/{form-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
  267. package/dist/chunks/{form-jbmt4bm3.js → worktree-t177y0q1.js} +11 -11
  268. package/dist/chunks/{form-h95rz2d9.js → worktree-t7h80jfh.js} +5 -5
  269. package/dist/chunks/{form-9zwexsxs.js → worktree-t8erkws8.js} +5 -5
  270. package/dist/chunks/{form-arp90pd0.js → worktree-taa3rr0k.js} +4 -4
  271. package/dist/chunks/{form-tbpn7jtk.js → worktree-tbpn7jtk.js} +1 -1
  272. package/dist/chunks/{form-qrkhhxgw.js → worktree-tch23gam.js} +16 -16
  273. package/dist/chunks/{form-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
  274. package/dist/chunks/{form-cp6nvzj1.js → worktree-tehj359t.js} +15 -15
  275. package/dist/chunks/{form-gxs71cxp.js → worktree-tg7s7b5t.js} +4 -4
  276. package/dist/chunks/{form-tr8x705m.js → worktree-tr8x705m.js} +1 -1
  277. package/dist/chunks/{form-1g6t9xt3.js → worktree-trxdv4a2.js} +11 -11
  278. package/dist/chunks/{form-tvtps2q9.js → worktree-tvtps2q9.js} +1 -1
  279. package/dist/chunks/{form-1thx4bxy.js → worktree-tw2hbedk.js} +45 -45
  280. package/dist/chunks/{form-twssxy5n.js → worktree-twssxy5n.js} +2 -2
  281. package/dist/chunks/{form-v4nm30rz.js → worktree-v0etfk9t.js} +18 -18
  282. package/dist/chunks/{form-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
  283. package/dist/chunks/{form-xsybg365.js → worktree-v3ryf4j6.js} +5 -5
  284. package/dist/chunks/{form-tb2mrvc9.js → worktree-v4bj6baw.js} +4 -4
  285. package/dist/chunks/{form-qb3z29nx.js → worktree-v5bqf2qj.js} +12 -12
  286. package/dist/chunks/{form-pyd7b2hx.js → worktree-v6yzcc2c.js} +14 -14
  287. package/dist/chunks/{form-mfpj43tp.js → worktree-vg3y8tzc.js} +12 -12
  288. package/dist/chunks/{form-n1ysnz1z.js → worktree-vgtkes5b.js} +19 -19
  289. package/dist/chunks/{form-b55nw00j.js → worktree-vjaeyxy8.js} +37 -37
  290. package/dist/chunks/{form-vjf35v1f.js → worktree-vjf35v1f.js} +1 -1
  291. package/dist/chunks/{form-vpv99rj3.js → worktree-vk2qjrme.js} +15 -15
  292. package/dist/chunks/{form-660kqt53.js → worktree-vkz6fa6t.js} +31 -31
  293. package/dist/chunks/{form-kj9n5bvh.js → worktree-vmqe41cb.js} +4 -4
  294. package/dist/chunks/{form-21573k7e.js → worktree-vphbnpnp.js} +8 -8
  295. package/dist/chunks/{form-vq0qa3sh.js → worktree-vq0qa3sh.js} +2 -2
  296. package/dist/chunks/{form-4medx3yc.js → worktree-vq1ppevj.js} +8 -8
  297. package/dist/chunks/{form-f07ank06.js → worktree-vqvr9k9x.js} +12 -12
  298. package/dist/chunks/{form-0xwbk558.js → worktree-vsjszmws.js} +10 -10
  299. package/dist/chunks/{form-bk0erxa8.js → worktree-vsxm4sf9.js} +8 -8
  300. package/dist/chunks/{form-c5zvymhv.js → worktree-vt2d6wap.js} +4 -4
  301. package/dist/chunks/{form-55n9jra1.js → worktree-vvty3cpq.js} +47 -47
  302. package/dist/chunks/{form-p0w2npjv.js → worktree-vzn28619.js} +6 -6
  303. package/dist/chunks/{form-40za9wsf.js → worktree-w2eysc6j.js} +9 -9
  304. package/dist/chunks/{form-vdx2w6me.js → worktree-w33zj80n.js} +19 -19
  305. package/dist/chunks/{form-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  306. package/dist/chunks/{form-2kg89srt.js → worktree-w79nt68w.js} +4 -4
  307. package/dist/chunks/{form-01rrv1q5.js → worktree-w838r4xv.js} +9 -9
  308. package/dist/chunks/{form-vk9g7ppd.js → worktree-w8q5ggyd.js} +26 -26
  309. package/dist/chunks/{form-tv3q2hw7.js → worktree-w9e7c2e3.js} +6 -6
  310. package/dist/chunks/{form-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
  311. package/dist/chunks/{form-sgtwbhh0.js → worktree-wbwvvcrc.js} +42 -42
  312. package/dist/chunks/{form-w8ctq9vv.js → worktree-wbxahces.js} +10 -10
  313. package/dist/chunks/{form-wd87259q.js → worktree-wd87259q.js} +1 -1
  314. package/dist/chunks/{form-wegkxhrn.js → worktree-wegkxhrn.js} +2 -2
  315. package/dist/chunks/{form-2x2x2ny5.js → worktree-wrkdd7ek.js} +33 -33
  316. package/dist/chunks/{form-9hk02js7.js → worktree-ws1tt9pz.js} +9 -9
  317. package/dist/chunks/{form-3bsznwae.js → worktree-wvr8qheb.js} +151 -151
  318. package/dist/chunks/{form-6y2b864j.js → worktree-wvr8xscb.js} +4 -4
  319. package/dist/chunks/{form-74f6cx3y.js → worktree-wy6j1ycf.js} +25 -25
  320. package/dist/chunks/{form-znpmthgv.js → worktree-wymgne7z.js} +35 -35
  321. package/dist/chunks/{form-zhamh3v5.js → worktree-x08m4j8q.js} +15 -15
  322. package/dist/chunks/{form-sj7765td.js → worktree-x38se2hj.js} +13 -13
  323. package/dist/chunks/{form-pxbvf64t.js → worktree-x3t11r60.js} +5 -5
  324. package/dist/chunks/{form-3qbv9mdn.js → worktree-x4s452sp.js} +10 -10
  325. package/dist/chunks/{form-5bn4vemv.js → worktree-x69q9wh6.js} +15 -15
  326. package/dist/chunks/{form-caapvg42.js → worktree-xdcez2kt.js} +3 -3
  327. package/dist/chunks/{form-ryyr89q6.js → worktree-xgytw5f8.js} +12 -12
  328. package/dist/chunks/{form-rcbjwvze.js → worktree-xsact9zs.js} +4 -4
  329. package/dist/chunks/{form-xvn8mnch.js → worktree-xvn8mnch.js} +1 -1
  330. package/dist/chunks/{form-xjr6c8m4.js → worktree-xxschbft.js} +4 -4
  331. package/dist/chunks/{form-71pxx6wk.js → worktree-xyzp9kyc.js} +13 -13
  332. package/dist/chunks/{form-98y5qjzg.js → worktree-y2a0knnn.js} +1 -1
  333. package/dist/chunks/{form-nnmcnws1.js → worktree-y31k03ft.js} +3 -3
  334. package/dist/chunks/{form-4p51av0n.js → worktree-y32ebd8a.js} +7 -7
  335. package/dist/chunks/{form-axja644z.js → worktree-y3aw00r4.js} +8 -8
  336. package/dist/chunks/{form-4p9h4hkb.js → worktree-y6xdess4.js} +12 -12
  337. package/dist/chunks/{form-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
  338. package/dist/chunks/{form-rq8pxvy7.js → worktree-ycdz9p50.js} +3 -3
  339. package/dist/chunks/{form-xctyvaw7.js → worktree-yqx9pdyt.js} +54 -54
  340. package/dist/chunks/{form-yr705xyq.js → worktree-yr705xyq.js} +1 -1
  341. package/dist/chunks/{form-kmdxt1ja.js → worktree-ys5g4k4z.js} +20 -20
  342. package/dist/chunks/{form-yvtc2x31.js → worktree-yvtc2x31.js} +1 -1
  343. package/dist/chunks/{form-td15xbf8.js → worktree-ywqn7m26.js} +11 -11
  344. package/dist/chunks/{form-b114t862.js → worktree-yz8gd7dy.js} +21 -21
  345. package/dist/chunks/{form-z0wbgq7s.js → worktree-z0wbgq7s.js} +1 -1
  346. package/dist/chunks/{form-4n0gjbdm.js → worktree-z6twvr1q.js} +25 -25
  347. package/dist/chunks/{form-nmjd1frw.js → worktree-zcptnv4n.js} +12 -12
  348. package/dist/chunks/{form-77pyd4r4.js → worktree-zgj2mgk9.js} +15 -15
  349. package/dist/chunks/{form-7jpeekw9.js → worktree-zkxpfaz2.js} +21 -21
  350. package/dist/chunks/{form-vt2yn5kw.js → worktree-zm62ja19.js} +27 -27
  351. package/dist/chunks/{form-xxk2jmnf.js → worktree-zsxvp00s.js} +84 -84
  352. package/dist/codemode/catalog.js +1 -1
  353. package/dist/codemode/execution.js +5 -5
  354. package/dist/codemode/fetch.js +150 -150
  355. package/dist/codemode/instructions.js +8 -8
  356. package/dist/codemode/tool.js +157 -157
  357. package/dist/command.js +94 -94
  358. package/dist/config/discovery.js +95 -95
  359. package/dist/config/integration.js +5 -5
  360. package/dist/config/managed.js +1 -1
  361. package/dist/config/markdown.js +1 -1
  362. package/dist/config/normalize.js +113 -113
  363. package/dist/config/plugin/agent.js +134 -134
  364. package/dist/config/plugin/command.js +249 -249
  365. package/dist/config/plugin/compaction.js +173 -173
  366. package/dist/config/plugin/compatibility.js +155 -155
  367. package/dist/config/plugin/entry-observer.js +1 -1
  368. package/dist/config/plugin/formatter.js +132 -132
  369. package/dist/config/plugin/image.js +131 -131
  370. package/dist/config/plugin/instruction.js +132 -132
  371. package/dist/config/plugin/location-watcher.js +133 -133
  372. package/dist/config/plugin/mcp.js +150 -150
  373. package/dist/config/plugin/policy.js +131 -131
  374. package/dist/config/plugin/provider.js +131 -131
  375. package/dist/config/plugin/reference.js +133 -133
  376. package/dist/config/plugin/shell.js +133 -133
  377. package/dist/config/plugin/skill-file.js +151 -151
  378. package/dist/config/plugin/skill-scan.js +1 -1
  379. package/dist/config/plugin/skill.js +156 -156
  380. package/dist/config/plugin/snapshot.js +131 -131
  381. package/dist/config/plugin/source.js +135 -135
  382. package/dist/config/plugin/tool-output.js +132 -132
  383. package/dist/config/plugin/websearch.js +132 -132
  384. package/dist/config/plugin/worktree.js +133 -133
  385. package/dist/config/variable.js +1 -1
  386. package/dist/config/watch.js +1 -1
  387. package/dist/config.js +130 -130
  388. package/dist/console-access.js +1 -1
  389. package/dist/credential/sql.js +2 -2
  390. package/dist/credential.js +88 -88
  391. package/dist/database/batch.js +1 -1
  392. package/dist/database/database.js +77 -77
  393. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  394. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  395. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  396. package/dist/database/drizzle/index.js +13 -13
  397. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  400. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  402. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  403. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  406. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  407. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  408. package/dist/database/drizzle.js +14 -14
  409. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  410. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  411. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  412. package/dist/database/migration/20260225215848_workspace.js +1 -1
  413. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  414. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  415. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  416. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  417. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  418. package/dist/database/migration/20260323234822_events.js +1 -1
  419. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  420. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  421. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  422. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  423. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  424. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  425. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  426. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  427. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  428. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  429. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  430. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  431. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  432. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  433. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  434. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  435. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  436. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  437. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  438. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  439. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  440. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  441. package/dist/database/migration/20260611035744_credential.js +1 -1
  442. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  443. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  444. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  445. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  446. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  447. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  448. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  449. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  450. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  451. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  452. package/dist/database/migration/20260812213948_worktree.js +1 -1
  453. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  454. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  455. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  456. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  457. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  458. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  459. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  460. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  461. package/dist/database/migration/20261025123711_blob.js +1 -1
  462. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  463. package/dist/database/migration/20261026223005_schedule.js +1 -1
  464. package/dist/database/migration/20261029002625_session_part.js +1 -1
  465. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  466. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  467. package/dist/database/migration/20261030054400_job.js +1 -1
  468. package/dist/database/migration.gen.js +60 -60
  469. package/dist/database/migration.js +76 -76
  470. package/dist/database/path.js +2 -2
  471. package/dist/database/schema.gen.js +1 -1
  472. package/dist/database/schema.sql.js +1 -1
  473. package/dist/database/v1-migration.bun.js +105 -105
  474. package/dist/effect/app-node-builder.js +450 -450
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +1 -1
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +109 -109
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +1 -1
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +81 -81
  488. package/dist/file-access.js +162 -162
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +166 -166
  492. package/dist/filesystem/fff.bun.js +2 -2
  493. package/dist/filesystem/fff.js +1 -1
  494. package/dist/filesystem/fff.node.js +2 -2
  495. package/dist/filesystem/fff.workerd.js +2 -2
  496. package/dist/filesystem/file-watch.js +86 -86
  497. package/dist/filesystem/location-watcher-policy.js +2 -2
  498. package/dist/filesystem/location-watcher.js +260 -260
  499. package/dist/filesystem/protected.js +1 -1
  500. package/dist/filesystem/search.js +113 -113
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +7 -7
  503. package/dist/filesystem.js +118 -118
  504. package/dist/flag.js +132 -132
  505. package/dist/form.js +93 -93
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +115 -115
  509. package/dist/git.js +11 -11
  510. package/dist/github-copilot/models.js +105 -105
  511. package/dist/image/notice.js +1 -1
  512. package/dist/image/photon-normalize.js +1 -1
  513. package/dist/image/photon-worker.js +1 -1
  514. package/dist/image/photon.js +4 -4
  515. package/dist/image.js +6 -6
  516. package/dist/instance/service.js +5 -5
  517. package/dist/instance.js +441 -441
  518. package/dist/instruction-discovery.js +90 -90
  519. package/dist/instructions/builtins.js +101 -101
  520. package/dist/instructions/index.js +4 -4
  521. package/dist/integration/connection.js +1 -1
  522. package/dist/integration.js +94 -94
  523. package/dist/job/list.js +5 -5
  524. package/dist/job/recovery.js +2 -2
  525. package/dist/job/sql.js +2 -2
  526. package/dist/job.js +90 -90
  527. package/dist/kv/sql.js +2 -2
  528. package/dist/kv.js +84 -84
  529. package/dist/location-activity.js +185 -185
  530. package/dist/location-lifecycle.js +155 -155
  531. package/dist/location-service-map.js +99 -99
  532. package/dist/location-services.js +438 -438
  533. package/dist/location.js +100 -100
  534. package/dist/managed-policy.js +3 -3
  535. package/dist/mcp/client.js +161 -161
  536. package/dist/mcp/connection.js +106 -106
  537. package/dist/mcp/event-errors.js +1 -1
  538. package/dist/mcp/index.js +147 -147
  539. package/dist/mcp/instructions.js +192 -192
  540. package/dist/mcp/oauth.js +90 -90
  541. package/dist/mcp/pool.js +110 -110
  542. package/dist/mcp/socket-client.js +1 -1
  543. package/dist/mcp/stdio.js +161 -161
  544. package/dist/mime.js +1 -1
  545. package/dist/modal/models.js +105 -105
  546. package/dist/model-resolver.js +111 -111
  547. package/dist/model-retry.js +1 -1
  548. package/dist/model.js +108 -108
  549. package/dist/models-dev/v1.js +1 -1
  550. package/dist/models-dev.js +116 -116
  551. package/dist/oauth/page.js +1 -1
  552. package/dist/oauth/redirect.js +1 -1
  553. package/dist/permission/saved.js +93 -93
  554. package/dist/permission/sql.js +5 -5
  555. package/dist/permission.js +154 -154
  556. package/dist/persistent-pty/binary.bun.js +1 -1
  557. package/dist/persistent-pty/daemon.js +1 -1
  558. package/dist/persistent-pty/index.js +95 -95
  559. package/dist/persistent-pty/pty-binding.js +1 -1
  560. package/dist/persistent-pty.js +86 -86
  561. package/dist/plugin/agent.js +87 -87
  562. package/dist/plugin/command.js +148 -148
  563. package/dist/plugin/fork-notice.js +3 -3
  564. package/dist/plugin/goal.js +3 -3
  565. package/dist/plugin/hooks.js +3 -3
  566. package/dist/plugin/host.js +251 -251
  567. package/dist/plugin/identity.js +5 -5
  568. package/dist/plugin/instance.js +5 -5
  569. package/dist/plugin/internal.js +418 -418
  570. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  571. package/dist/plugin/models-dev.js +111 -111
  572. package/dist/plugin/module.js +128 -128
  573. package/dist/plugin/optimize.js +4 -4
  574. package/dist/plugin/plan.js +151 -151
  575. package/dist/plugin/promise.js +1 -1
  576. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  577. package/dist/plugin/provider/azure.js +134 -134
  578. package/dist/plugin/provider/cerebras.js +1 -1
  579. package/dist/plugin/provider/chatgpt.js +135 -135
  580. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  581. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  582. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  583. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  586. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  587. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  588. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  589. package/dist/plugin/provider/claude-agent/index.js +149 -149
  590. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  591. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  592. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  594. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  595. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  596. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  598. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  599. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  600. package/dist/plugin/provider/claude-agent/session.js +113 -113
  601. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  602. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  603. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  605. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  611. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  612. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  613. package/dist/plugin/provider/configured.js +127 -127
  614. package/dist/plugin/provider/credential-settings.js +88 -88
  615. package/dist/plugin/provider/databricks.js +1 -1
  616. package/dist/plugin/provider/digitalocean.js +110 -110
  617. package/dist/plugin/provider/dynamic.js +2 -2
  618. package/dist/plugin/provider/github-copilot.js +112 -112
  619. package/dist/plugin/provider/gitlab.js +111 -111
  620. package/dist/plugin/provider/google-vertex.js +128 -128
  621. package/dist/plugin/provider/kilo.js +1 -1
  622. package/dist/plugin/provider/llmgateway.js +89 -89
  623. package/dist/plugin/provider/lmstudio.js +144 -144
  624. package/dist/plugin/provider/local.js +141 -141
  625. package/dist/plugin/provider/modal.js +109 -109
  626. package/dist/plugin/provider/neon.js +1 -1
  627. package/dist/plugin/provider/nvidia.js +1 -1
  628. package/dist/plugin/provider/ollama.js +142 -142
  629. package/dist/plugin/provider/openai-context-caps.js +107 -107
  630. package/dist/plugin/provider/openai.js +137 -137
  631. package/dist/plugin/provider/opencode-watches.js +4 -4
  632. package/dist/plugin/provider/opencode.js +163 -163
  633. package/dist/plugin/provider/openrouter.js +105 -105
  634. package/dist/plugin/provider/poe.js +91 -91
  635. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  636. package/dist/plugin/provider/refresh.js +89 -89
  637. package/dist/plugin/provider/sap-ai-core.js +105 -105
  638. package/dist/plugin/provider/sdk-factory.js +1 -1
  639. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  640. package/dist/plugin/provider/vllm.js +144 -144
  641. package/dist/plugin/provider/xai.js +105 -105
  642. package/dist/plugin/provider/zenmux.js +1 -1
  643. package/dist/plugin/provider.js +242 -242
  644. package/dist/plugin/sdk.js +87 -87
  645. package/dist/plugin/service.js +3 -3
  646. package/dist/plugin/skill.js +154 -154
  647. package/dist/plugin/source-directory.js +1 -1
  648. package/dist/plugin/supervisor.js +428 -428
  649. package/dist/plugin/tool-input-repair.js +4 -4
  650. package/dist/plugin/update.js +6 -6
  651. package/dist/plugin/vcs/git.js +99 -99
  652. package/dist/plugin/vcs/hg.js +99 -99
  653. package/dist/plugin/verbosity.js +107 -107
  654. package/dist/plugin/warming.js +131 -131
  655. package/dist/plugin/websearch/exa.js +6 -6
  656. package/dist/plugin/websearch/firecrawl.js +9 -9
  657. package/dist/plugin/websearch/index.js +10 -10
  658. package/dist/plugin/websearch/mcp.js +6 -6
  659. package/dist/plugin/websearch/parallel.js +9 -9
  660. package/dist/plugin/websearch/provider.js +3 -3
  661. package/dist/plugin/websearch/tavily.js +7 -7
  662. package/dist/plugin/websearch/tinyfish.js +7 -7
  663. package/dist/plugin.js +256 -256
  664. package/dist/project/icon.js +5 -5
  665. package/dist/project/schema.js +8 -8
  666. package/dist/project/sql.js +4 -4
  667. package/dist/project.js +103 -103
  668. package/dist/provider.js +107 -107
  669. package/dist/pty/protocol.js +1 -1
  670. package/dist/pty/ticket.js +1 -1
  671. package/dist/pty.js +97 -97
  672. package/dist/reference/instructions.js +102 -102
  673. package/dist/reference.js +101 -101
  674. package/dist/repository-cache.js +93 -93
  675. package/dist/repository.js +1 -1
  676. package/dist/ripgrep/binary.js +2 -2
  677. package/dist/ripgrep.js +111 -111
  678. package/dist/rpc.js +99 -99
  679. package/dist/schedule/check.js +256 -256
  680. package/dist/schedule/sql.js +6 -6
  681. package/dist/schedule.js +262 -262
  682. package/dist/schema.js +1 -1
  683. package/dist/session/affinity.js +1 -1
  684. package/dist/session/background.js +3 -3
  685. package/dist/session/blob.js +133 -133
  686. package/dist/session/command.js +85 -85
  687. package/dist/session/compaction.js +177 -177
  688. package/dist/session/context.js +208 -208
  689. package/dist/session/diff.js +101 -101
  690. package/dist/session/environment.js +5 -5
  691. package/dist/session/error.js +5 -5
  692. package/dist/session/event.js +1 -1
  693. package/dist/session/execution/restart.js +274 -274
  694. package/dist/session/execution/subagent-report.js +147 -147
  695. package/dist/session/execution.js +174 -174
  696. package/dist/session/generate.js +208 -208
  697. package/dist/session/history.js +141 -141
  698. package/dist/session/inbox.js +150 -150
  699. package/dist/session/info.js +3 -3
  700. package/dist/session/instruction-entry.js +91 -91
  701. package/dist/session/instruction-state.js +9 -9
  702. package/dist/session/instructions.js +148 -148
  703. package/dist/session/message-updater.js +2 -2
  704. package/dist/session/message.js +1 -1
  705. package/dist/session/model-request.js +173 -173
  706. package/dist/session/model-transport.js +9 -9
  707. package/dist/session/move.js +176 -176
  708. package/dist/session/projector.js +148 -148
  709. package/dist/session/prompt.js +153 -153
  710. package/dist/session/recent-text.js +1 -1
  711. package/dist/session/revert.js +144 -144
  712. package/dist/session/run-coordinator.js +3 -3
  713. package/dist/session/runner/index.js +3 -3
  714. package/dist/session/runner/llm.js +261 -261
  715. package/dist/session/runner/max-steps.js +1 -1
  716. package/dist/session/runner/model.js +115 -115
  717. package/dist/session/runner/publish-llm-event.js +155 -155
  718. package/dist/session/runner/retry.js +5 -5
  719. package/dist/session/runner/step.js +166 -166
  720. package/dist/session/runner/to-llm-message.js +142 -142
  721. package/dist/session/schema.js +1 -1
  722. package/dist/session/session.js +194 -194
  723. package/dist/session/shell.js +149 -149
  724. package/dist/session/skill.js +152 -152
  725. package/dist/session/sql.js +5 -5
  726. package/dist/session/stats.js +85 -85
  727. package/dist/session/store.js +147 -147
  728. package/dist/session/stored.js +2 -2
  729. package/dist/session/subagent-completion.js +1 -1
  730. package/dist/session/subagent-job.js +173 -173
  731. package/dist/session/system-prompt.js +3 -3
  732. package/dist/session/title.js +206 -206
  733. package/dist/session/to-session-error.js +154 -154
  734. package/dist/session/transfer.js +255 -255
  735. package/dist/session/usage.js +1 -1
  736. package/dist/session.js +247 -247
  737. package/dist/shared-cache.js +5 -5
  738. package/dist/shell/parse.js +6 -6
  739. package/dist/shell/result.js +1 -1
  740. package/dist/shell/scan.js +1 -1
  741. package/dist/shell/select.js +11 -11
  742. package/dist/shell.js +151 -151
  743. package/dist/skill/discovery.js +2 -2
  744. package/dist/skill/instructions.js +156 -156
  745. package/dist/skill.js +159 -159
  746. package/dist/snapshot.js +104 -104
  747. package/dist/state.js +1 -1
  748. package/dist/tool/html-markdown.js +1 -1
  749. package/dist/tool/http-body.js +1 -1
  750. package/dist/tool/mcp.js +191 -191
  751. package/dist/tool/plugin/artifact.js +246 -246
  752. package/dist/tool/plugin/edit.js +172 -172
  753. package/dist/tool/plugin/file-diff.js +1 -1
  754. package/dist/tool/plugin/glob.js +176 -176
  755. package/dist/tool/plugin/grep.js +175 -175
  756. package/dist/tool/plugin/image-generate.js +257 -257
  757. package/dist/tool/plugin/mcp-events.js +168 -168
  758. package/dist/tool/plugin/mcp-resource.js +172 -172
  759. package/dist/tool/plugin/opencode.js +168 -168
  760. package/dist/tool/plugin/patch.js +173 -173
  761. package/dist/tool/plugin/question.js +151 -151
  762. package/dist/tool/plugin/read.js +177 -177
  763. package/dist/tool/plugin/schedule.js +262 -262
  764. package/dist/tool/plugin/shell.js +253 -253
  765. package/dist/tool/plugin/skill.js +162 -162
  766. package/dist/tool/plugin/subagent.js +251 -251
  767. package/dist/tool/plugin/todo.js +158 -158
  768. package/dist/tool/plugin/webfetch.js +162 -162
  769. package/dist/tool/plugin/websearch.js +160 -160
  770. package/dist/tool/plugin/write.js +171 -171
  771. package/dist/tool/read-filesystem.js +116 -116
  772. package/dist/tool/runtime.js +1 -1
  773. package/dist/tool/search.js +109 -109
  774. package/dist/tool-output.js +7 -7
  775. package/dist/tool.js +167 -167
  776. package/dist/usage-limits.js +98 -98
  777. package/dist/util/canonical-json.js +1 -1
  778. package/dist/util/error-summary.js +1 -1
  779. package/dist/util/git-executable.js +3 -3
  780. package/dist/util/lazy.js +1 -1
  781. package/dist/util/slug.js +1 -1
  782. package/dist/util/token.js +1 -1
  783. package/dist/util/which.js +1 -1
  784. package/dist/util/wildcard.js +1 -1
  785. package/dist/v1/config/agent.js +7 -7
  786. package/dist/v1/config/command.js +3 -3
  787. package/dist/v1/config/mcp.js +4 -4
  788. package/dist/v1/config/migrate.js +106 -106
  789. package/dist/v1/config/permission.js +3 -3
  790. package/dist/v1/config/plugin.js +1 -1
  791. package/dist/v1/config/provider-options.js +1 -1
  792. package/dist/v1/config/provider.js +2 -2
  793. package/dist/variant.js +105 -105
  794. package/dist/vcs/patch.js +1 -1
  795. package/dist/vcs.js +102 -102
  796. package/dist/voice.js +99 -99
  797. package/dist/websearch.js +97 -97
  798. package/dist/wellknown/plugin.js +87 -87
  799. package/dist/wellknown.js +88 -88
  800. package/dist/workspace/driver.js +7 -7
  801. package/dist/workspace/sql.js +1 -1
  802. package/dist/workspace.js +93 -93
  803. package/dist/worktree/directory.js +2 -2
  804. package/dist/worktree/git.js +11 -11
  805. package/dist/worktree/sql.js +5 -5
  806. package/dist/worktree/strategies.js +102 -102
  807. package/dist/worktree.js +113 -113
  808. package/package.json +8 -8
  809. package/dist/chunks/form-3mhjyama.js +0 -35
  810. package/dist/chunks/form-547p757r.js +0 -26
  811. package/dist/chunks/form-bm1chg67.js +0 -273
  812. package/dist/chunks/form-gkb3m8fg.js +0 -16
  813. package/dist/chunks/form-z7bdqmx5.js +0 -18
  814. /package/dist/chunks/{form-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  815. /package/dist/chunks/{form-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  816. /package/dist/chunks/{form-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  817. /package/dist/chunks/{form-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  818. /package/dist/chunks/{form-1kah00gy.js → worktree-1kah00gy.js} +0 -0
  819. /package/dist/chunks/{form-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  820. /package/dist/chunks/{form-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  821. /package/dist/chunks/{form-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  822. /package/dist/chunks/{form-2n444ktb.js → worktree-2n444ktb.js} +0 -0
  823. /package/dist/chunks/{form-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  824. /package/dist/chunks/{form-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  825. /package/dist/chunks/{form-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  826. /package/dist/chunks/{form-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  827. /package/dist/chunks/{form-4qk9sjk2.js → worktree-4qk9sjk2.js} +0 -0
  828. /package/dist/chunks/{form-53557ph1.js → worktree-53557ph1.js} +0 -0
  829. /package/dist/chunks/{form-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
  830. /package/dist/chunks/{form-6agm2x70.js → worktree-6agm2x70.js} +0 -0
  831. /package/dist/chunks/{form-6prwharc.js → worktree-6prwharc.js} +0 -0
  832. /package/dist/chunks/{form-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
  833. /package/dist/chunks/{form-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  834. /package/dist/chunks/{form-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  835. /package/dist/chunks/{form-7rvsyqjv.js → worktree-7rvsyqjv.js} +0 -0
  836. /package/dist/chunks/{form-822emrt2.js → worktree-822emrt2.js} +0 -0
  837. /package/dist/chunks/{form-84wd9syh.js → worktree-84wd9syh.js} +0 -0
  838. /package/dist/chunks/{form-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  839. /package/dist/chunks/{form-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  840. /package/dist/chunks/{form-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  841. /package/dist/chunks/{form-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  842. /package/dist/chunks/{form-9ceax7yg.js → worktree-9ceax7yg.js} +0 -0
  843. /package/dist/chunks/{form-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  844. /package/dist/chunks/{form-ade8csyh.js → worktree-ade8csyh.js} +0 -0
  845. /package/dist/chunks/{form-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  846. /package/dist/chunks/{form-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  847. /package/dist/chunks/{form-beh6qq61.js → worktree-beh6qq61.js} +0 -0
  848. /package/dist/chunks/{form-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  849. /package/dist/chunks/{form-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  850. /package/dist/chunks/{form-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  851. /package/dist/chunks/{form-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
  852. /package/dist/chunks/{form-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  853. /package/dist/chunks/{form-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  854. /package/dist/chunks/{form-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  855. /package/dist/chunks/{form-df08tz66.js → worktree-df08tz66.js} +0 -0
  856. /package/dist/chunks/{form-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  857. /package/dist/chunks/{form-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  858. /package/dist/chunks/{form-ean2d8b5.js → worktree-ean2d8b5.js} +0 -0
  859. /package/dist/chunks/{form-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  860. /package/dist/chunks/{form-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  861. /package/dist/chunks/{form-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  862. /package/dist/chunks/{form-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  863. /package/dist/chunks/{form-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  864. /package/dist/chunks/{form-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  865. /package/dist/chunks/{form-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
  866. /package/dist/chunks/{form-g86h250q.js → worktree-g86h250q.js} +0 -0
  867. /package/dist/chunks/{form-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  868. /package/dist/chunks/{form-gftt206x.js → worktree-gftt206x.js} +0 -0
  869. /package/dist/chunks/{form-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
  870. /package/dist/chunks/{form-hk9envan.js → worktree-hk9envan.js} +0 -0
  871. /package/dist/chunks/{form-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  872. /package/dist/chunks/{form-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  873. /package/dist/chunks/{form-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  874. /package/dist/chunks/{form-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  875. /package/dist/chunks/{form-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
  876. /package/dist/chunks/{form-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  877. /package/dist/chunks/{form-m18g726c.js → worktree-m18g726c.js} +0 -0
  878. /package/dist/chunks/{form-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  879. /package/dist/chunks/{form-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  880. /package/dist/chunks/{form-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  881. /package/dist/chunks/{form-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  882. /package/dist/chunks/{form-nh4v3znn.js → worktree-nh4v3znn.js} +0 -0
  883. /package/dist/chunks/{form-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  884. /package/dist/chunks/{form-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
  885. /package/dist/chunks/{form-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  886. /package/dist/chunks/{form-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  887. /package/dist/chunks/{form-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  888. /package/dist/chunks/{form-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  889. /package/dist/chunks/{form-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  890. /package/dist/chunks/{form-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  891. /package/dist/chunks/{form-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  892. /package/dist/chunks/{form-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  893. /package/dist/chunks/{form-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  894. /package/dist/chunks/{form-syrav9an.js → worktree-syrav9an.js} +0 -0
  895. /package/dist/chunks/{form-t03h4f5z.js → worktree-t03h4f5z.js} +0 -0
  896. /package/dist/chunks/{form-ty7weeps.js → worktree-ty7weeps.js} +0 -0
  897. /package/dist/chunks/{form-v2dnd5dt.js → worktree-v2dnd5dt.js} +0 -0
  898. /package/dist/chunks/{form-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
  899. /package/dist/chunks/{form-vtarvj67.js → worktree-vtarvj67.js} +0 -0
  900. /package/dist/chunks/{form-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  901. /package/dist/chunks/{form-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  902. /package/dist/chunks/{form-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  903. /package/dist/chunks/{form-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  904. /package/dist/chunks/{form-x4th4bpe.js → worktree-x4th4bpe.js} +0 -0
  905. /package/dist/chunks/{form-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  906. /package/dist/chunks/{form-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  907. /package/dist/chunks/{form-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  908. /package/dist/chunks/{form-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
  909. /package/dist/chunks/{form-z9919s4g.js → worktree-z9919s4g.js} +0 -0
  910. /package/dist/chunks/{form-zxpyjp51.js → worktree-zxpyjp51.js} +0 -0
  911. /package/dist/chunks/{form-zz5vv3aq.js → worktree-zz5vv3aq.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service50
3
- } from "./form-5m6a7xby.js";
2
+ Service53
3
+ } from "./worktree-qah7t4da.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./form-z7bdqmx5.js";
6
+ } from "./worktree-grzehpz7.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./form-530xg6vw.js";
9
+ } from "./worktree-q7srkfd6.js";
10
10
  import {
11
- Service64
12
- } from "./form-v4nm30rz.js";
11
+ Service47
12
+ } from "./worktree-v0etfk9t.js";
13
13
  import {
14
14
  __export
15
- } from "./form-9rqn6x4v.js";
15
+ } from "./worktree-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service50;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service64), instances.provide(input.session));
25
+ const instances = yield* Service53;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79
3
- } from "./form-8jbdjdba.js";
3
+ } from "./worktree-gmsdxnbj.js";
4
4
  import {
5
- Service56
6
- } from "./form-kz92qt34.js";
5
+ Service70
6
+ } from "./worktree-cjqsf6bw.js";
7
7
  import {
8
8
  observe2
9
- } from "./form-tvtps2q9.js";
9
+ } from "./worktree-tvtps2q9.js";
10
10
  import {
11
11
  __export
12
- } from "./form-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin36
18
+ Plugin: () => Plugin25
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin36 = define({
22
+ var Plugin25 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  const config = yield* Service79;
26
- const image = yield* Service56;
26
+ const image = yield* Service70;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin36 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin36, exports_image };
46
+ export { Plugin25, exports_image };
@@ -2,24 +2,24 @@ import {
2
2
  PREFIX2,
3
3
  short2,
4
4
  original2,
5
- description2
6
- } from "./form-gxs71cxp.js";
5
+ description7
6
+ } from "./worktree-tg7s7b5t.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/tools/server.ts
12
12
  var exports_server = {};
13
13
  __export(exports_server, {
14
14
  ToolServer: () => exports_server,
15
- make: () => make13
15
+ make: () => make15
16
16
  });
17
- async function make13(tools, pending) {
17
+ async function make15(tools, pending) {
18
18
  const { Server } = await import("@modelcontextprotocol/server");
19
19
  const server = new Server({ name: "opencode", version: "1.0.0" }, { capabilities: { tools: {} } });
20
20
  const definitions = tools.map((tool) => ({
21
21
  name: short2(tool.name),
22
- description: description2(tool),
22
+ description: description7(tool),
23
23
  inputSchema: tool.inputSchema,
24
24
  annotations: { readOnlyHint: false },
25
25
  _meta: { "anthropic/alwaysLoad": true, "anthropic/maxResultSizeChars": 500000 }
@@ -34,4 +34,4 @@ async function make13(tools, pending) {
34
34
  return { type: "sdk", name: "opencode", instance: server };
35
35
  }
36
36
 
37
- export { make13, exports_server };
37
+ export { make15, exports_server };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result2 = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ProjectTable2
3
- } from "./form-034tev2y.js";
3
+ } from "./worktree-034tev2y.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/project/icon.ts
9
9
  var exports_icon = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service93
3
- } from "./form-mbhyr38k.js";
3
+ } from "./worktree-mf9xnwfc.js";
4
4
  import {
5
5
  group2,
6
6
  batch2,
7
7
  shutdown2,
8
8
  changes2,
9
9
  inherit2
10
- } from "./form-40y6dtc2.js";
10
+ } from "./worktree-40y6dtc2.js";
11
11
  import {
12
- Service32,
12
+ Service35,
13
13
  awaitActivation2
14
- } from "./form-z7bdqmx5.js";
14
+ } from "./worktree-grzehpz7.js";
15
15
  import {
16
16
  make22,
17
17
  requirements3
18
- } from "./form-3bsznwae.js";
18
+ } from "./worktree-wvr8qheb.js";
19
19
  import {
20
20
  __export
21
- } from "./form-9rqn6x4v.js";
21
+ } from "./worktree-9rqn6x4v.js";
22
22
 
23
23
  // src/plugin.ts
24
24
  var exports_plugin2 = {};
@@ -28,11 +28,11 @@ __export(exports_plugin2, {
28
28
  ID: () => ID6,
29
29
  Info: () => Info6,
30
30
  Plugin: () => exports_plugin2,
31
- Service: () => Service32,
31
+ Service: () => Service35,
32
32
  Source: () => Source2,
33
33
  State: () => State2,
34
34
  awaitActivation: () => awaitActivation2,
35
- node: () => node24
35
+ node: () => node21
36
36
  });
37
37
  import { Event as Event4, GuiBundle as GuiBundle2, ID as ID6, Info as Info6, Source as Source2, State as State2 } from "@opencode/schema/plugin";
38
38
  import { readFile } from "node:fs/promises";
@@ -40,7 +40,7 @@ import { fileURLToPath } from "node:url";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service32, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
44
44
  const bus = yield* Service93;
45
45
  const scope = yield* Scope.make();
46
46
  const active = new Map;
@@ -212,7 +212,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
212
212
  yield* shutdown2(Scope.close(scope, exit));
213
213
  }));
214
214
  yield* Effect.addFinalizer(close);
215
- return Service32.of({
215
+ return Service35.of({
216
216
  activate,
217
217
  close,
218
218
  awaitActivation: ready.await,
@@ -230,10 +230,10 @@ function slotInfo(slot) {
230
230
  features: slot.plugin.features ?? { server: true }
231
231
  };
232
232
  }
233
- var node24 = Node.makeLocationNode({
234
- service: Service32,
233
+ var node21 = Node.makeLocationNode({
234
+ service: Service35,
235
235
  layer,
236
236
  deps: [requirements3]
237
237
  });
238
238
 
239
- export { node24, exports_plugin2, Event4, GuiBundle2, ID6, Info6, Source2, State2 };
239
+ export { node21, exports_plugin2, Event4, GuiBundle2, ID6, Info6, Source2, State2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  key3
3
- } from "./form-xvn8mnch.js";
3
+ } from "./worktree-xvn8mnch.js";
4
4
  import {
5
5
  ID16,
6
- Service84
7
- } from "./form-ccfsrrmh.js";
6
+ Service83
7
+ } from "./worktree-3evvr8bx.js";
8
8
  import {
9
9
  load5,
10
10
  derive3
11
- } from "./form-k8e2srx8.js";
11
+ } from "./worktree-d2d0axg5.js";
12
12
  import {
13
- Service58,
13
+ Service56,
14
14
  fingerprint2
15
- } from "./form-e5653pfs.js";
15
+ } from "./worktree-9fgy5dtv.js";
16
16
  import {
17
- start3
18
- } from "./form-3qbv9mdn.js";
17
+ start4
18
+ } from "./worktree-x4s452sp.js";
19
19
  import {
20
20
  activeCredential2
21
- } from "./form-ke51w68k.js";
21
+ } from "./worktree-r6paxqy7.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect } from "effect";
@@ -28,10 +28,10 @@ var providerID = ID16.make("modal");
28
28
  var ModalPlugin2 = define({
29
29
  id: "opencode.provider.modal",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const providers = yield* Service84;
32
- const cache = yield* Service58;
31
+ const providers = yield* Service83;
32
+ const cache = yield* Service56;
33
33
  const http = yield* HttpClient.HttpClient;
34
- const discovered = yield* start3({
34
+ const discovered = yield* start4({
35
35
  integrationID: "modal",
36
36
  initial: {},
37
37
  active: ctx.integration.connection.active("modal"),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/scan.ts
6
6
  var exports_scan = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  onSwitch2
3
- } from "./form-3qbv9mdn.js";
3
+ } from "./worktree-x4s452sp.js";
4
4
  import {
5
5
  isLoggedIn2
6
- } from "./form-2p60zmnr.js";
6
+ } from "./worktree-2p60zmnr.js";
7
7
  import {
8
8
  ID3
9
- } from "./form-arqjvw7q.js";
9
+ } from "./worktree-rrg5jx6f.js";
10
10
  import {
11
11
  __export
12
- } from "./form-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/provider/claude-agent/integration.ts
15
15
  var exports_integration = {};
16
16
  __export(exports_integration, {
17
17
  ClaudeIntegration: () => exports_integration,
18
18
  METHOD_ID: () => METHOD_ID2,
19
- register: () => register3
19
+ register: () => register4
20
20
  });
21
21
  import { Effect, Stream, SubscriptionRef } from "effect";
22
22
  var METHOD_ID2 = "claude-login";
23
- var register3 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
23
+ var register4 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
24
24
  yield* ctx.integration.transform((editor) => {
25
25
  editor.update(ID3, (integration) => {
26
26
  integration.name = "Claude Agent";
@@ -58,4 +58,4 @@ function problem(state) {
58
58
  return;
59
59
  }
60
60
 
61
- export { METHOD_ID2, register3, exports_integration };
61
+ export { METHOD_ID2, register4, exports_integration };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin39
3
+ } from "./worktree-8230yfm5.js";
4
+ import {
5
+ Plugin38
6
+ } from "./worktree-jdazy0sj.js";
7
+ import {
8
+ Plugin42
9
+ } from "./worktree-zcptnv4n.js";
10
+ import {
11
+ Plugin40
12
+ } from "./worktree-hkkxk2t5.js";
13
+ import {
14
+ Plugin41
15
+ } from "./worktree-v5bqf2qj.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin39,
20
+ Plugin38,
21
+ Plugin42,
22
+ Plugin40,
23
+ Plugin41
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./form-m90tx7mw.js";
3
+ } from "./worktree-m90tx7mw.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./form-gh49588n.js";
6
+ } from "./worktree-87evyga5.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./worktree-z5v4ffb3.js";
4
4
  import {
5
5
  Service94,
6
6
  node96
7
- } from "./form-cqcxdjev.js";
7
+ } from "./worktree-d13jd56m.js";
8
8
  import {
9
9
  Service93,
10
10
  node95
11
- } from "./form-mbhyr38k.js";
11
+ } from "./worktree-mf9xnwfc.js";
12
12
  import {
13
- Service92,
14
- node94
15
- } from "./form-qq8nxmq8.js";
13
+ Service90,
14
+ node92
15
+ } from "./worktree-n503jqgj.js";
16
16
  import {
17
- ID22,
17
+ ID21,
18
18
  Current3,
19
- Info32,
19
+ Info31,
20
20
  UpdateInput5,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./form-963hk181.js";
23
+ } from "./worktree-0mtp185z.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./form-034tev2y.js";
27
+ } from "./worktree-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./form-8sxe6kv8.js";
30
+ } from "./worktree-8sxe6kv8.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./form-ayjs7tqn.js";
33
+ } from "./worktree-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./form-9rqn6x4v.js";
36
+ } from "./worktree-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
42
42
  Current: () => Current2,
43
- ID: () => ID21,
44
- Info: () => Info31,
45
- NotFoundError: () => NotFoundError14,
43
+ ID: () => ID20,
44
+ Info: () => Info30,
45
+ NotFoundError: () => NotFoundError13,
46
46
  Project: () => exports_project,
47
- Service: () => Service91,
47
+ Service: () => Service89,
48
48
  UpdateInput: () => UpdateInput4,
49
49
  Vcs: () => Vcs2,
50
50
  configured: () => configured12,
51
- node: () => node93,
51
+ node: () => node91,
52
52
  root: () => root2,
53
53
  sweepNode: () => sweepNode2
54
54
  });
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
61
61
  import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
63
63
  import { Hash } from "@opencode/util/hash";
64
- var ID21 = ID22;
64
+ var ID20 = ID21;
65
65
  var Vcs2 = Vcs3;
66
66
  var Current2 = Current3;
67
- var Info31 = Info32;
67
+ var Info30 = Info31;
68
68
  var UpdateInput4 = UpdateInput5;
69
69
 
70
- class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
71
- projectID: ID21
70
+ class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
71
+ projectID: ID20
72
72
  }) {
73
73
  }
74
74
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
87
87
  var SWEEP_INTERVAL = Duration.hours(1);
88
88
  var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
89
89
 
90
- class Service91 extends Context.Service()("@opencode/Project") {
90
+ class Service89 extends Context.Service()("@opencode/Project") {
91
91
  }
92
92
  function fromRow(row) {
93
93
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -111,10 +111,10 @@ function fromRow(row) {
111
111
  sandboxes: row.sandboxes
112
112
  };
113
113
  }
114
- var layer = Layer.effect(Service91, Effect.gen(function* () {
114
+ var layer = Layer.effect(Service89, Effect.gen(function* () {
115
115
  const now = yield* Now;
116
116
  const fs = yield* FSUtil.Service;
117
- const git = yield* Service92;
117
+ const git = yield* Service90;
118
118
  const proc = yield* AppProcess.Service;
119
119
  const bus = yield* Service93;
120
120
  const db = (yield* Service94).db;
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
127
127
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
128
128
  const changed = replaced ?? unarchived;
129
129
  if (changed)
130
- yield* bus.publish(Event21.Updated, fromRow(changed));
131
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
130
+ yield* bus.publish(Event20.Updated, fromRow(changed));
131
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
132
132
  if (!project.vcs)
133
133
  return project;
134
134
  const directories = [
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
164
164
  yield* bus.publish(Worktree.Event.Resolved, {
165
165
  projectID: item.projectID,
166
166
  directory: item.directory,
167
- previous: project.previous ?? ID21.global,
167
+ previous: project.previous ?? ID20.global,
168
168
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
169
169
  }, {
170
170
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
187
187
  time_updated: Date.now()
188
188
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
189
189
  if (!row)
190
- return yield* new NotFoundError14({ projectID: input.projectID });
190
+ return yield* new NotFoundError13({ projectID: input.projectID });
191
191
  const project = fromRow(row);
192
- yield* bus.publish(Event21.Updated, project);
192
+ yield* bus.publish(Event20.Updated, project);
193
193
  return project;
194
194
  });
195
195
  const activated = new Map;
196
196
  const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event21.Updated, fromRow(row));
199
+ yield* bus.publish(Event20.Updated, fromRow(row));
200
200
  });
201
201
  const activate = (projectID, options) => Effect.suspend(() => {
202
202
  const timestamp = now();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
208
208
  return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
209
209
  });
210
210
  const cached = Effect.fnUntraced(function* (dir) {
211
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
211
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID20.make(value) : undefined), Effect.orElseSucceed(() => {
212
212
  return;
213
213
  }));
214
214
  });
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
219
219
  const normalized = url(origin);
220
220
  if (!normalized)
221
221
  return;
222
- return ID21.make(Hash.fast(`git-remote:${normalized}`));
222
+ return ID20.make(Hash.fast(`git-remote:${normalized}`));
223
223
  });
224
224
  function url(input) {
225
225
  const value = input.trim();
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
244
244
  }
245
245
  const rootCommit = Effect.fnUntraced(function* (repo) {
246
246
  const root = (yield* git.history.rootCommits(repo))[0];
247
- return root ? ID21.make(root) : undefined;
247
+ return root ? ID20.make(root) : undefined;
248
248
  });
249
249
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
250
250
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
260
260
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
261
261
  const resolved = {
262
262
  previous,
263
- id: id ?? ID21.global,
263
+ id: id ?? ID20.global,
264
264
  directory: repo.worktree,
265
265
  canonical,
266
266
  vcs: { type: "git", store: repo.commonDirectory }
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
285
285
  return;
286
286
  const node = result.stdout.toString("utf8").split(`
287
287
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
288
- return node ? ID21.make(node) : undefined;
288
+ return node ? ID20.make(node) : undefined;
289
289
  });
290
290
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
291
291
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
293
293
  const id = previous ?? (yield* hgRoot(worktree));
294
294
  return {
295
295
  previous,
296
- id: id ?? ID21.global,
296
+ id: id ?? ID20.global,
297
297
  directory: worktree,
298
298
  vcs: { type: "hg", store: dotHg }
299
299
  };
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
320
320
  });
321
321
  }
322
322
  return yield* save({
323
- id: ID21.make(Hash.fast(`directory:${directory}`)),
323
+ id: ID20.make(Hash.fast(`directory:${directory}`)),
324
324
  directory,
325
325
  canonical: directory,
326
326
  vcs: undefined
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
329
329
  const sweep = Effect.fn("Project.sweep")(function* () {
330
330
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
331
331
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
332
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
332
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID20.global))).all().pipe(Effect.orDie);
333
333
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
334
334
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
335
335
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
342
342
  return;
343
343
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
344
344
  if (row)
345
- yield* bus.publish(Event21.Updated, fromRow(row));
345
+ yield* bus.publish(Event20.Updated, fromRow(row));
346
346
  }), { concurrency: 8, discard: true });
347
347
  });
348
- return Service91.of({ list, update, activate, resolve, sweep });
348
+ return Service89.of({ list, update, activate, resolve, sweep });
349
349
  }));
350
350
  function configured12(options) {
351
351
  return makeGlobalNode({
352
- service: Service91,
352
+ service: Service89,
353
353
  layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
354
- deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
354
+ deps: [node95, node96, FSUtil.node, node92, AppProcess.node]
355
355
  });
356
356
  }
357
- var node93 = configured12();
357
+ var node91 = configured12();
358
358
  var sweepNode2 = makeGlobalNode({
359
359
  name: "project-archive-sweep",
360
360
  layer: Layer.effectDiscard(Effect.gen(function* () {
361
- const project = yield* Service91;
361
+ const project = yield* Service89;
362
362
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
363
363
  })),
364
- deps: [node93]
364
+ deps: [node91]
365
365
  });
366
366
 
367
- export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };
367
+ export { ID20, Vcs2, Current2, Info30, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service89, configured12, node91, sweepNode2, exports_project };