@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,26 +1,26 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./form-mbhyr38k.js";
4
+ } from "./worktree-mf9xnwfc.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./form-rb9dy4dg.js";
9
+ } from "./worktree-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./form-w6mxeyma.js";
12
+ } from "./worktree-9esm5h7s.js";
13
13
  import {
14
- Service90,
15
- node92
16
- } from "./form-rffg2j94.js";
14
+ Service88,
15
+ node90
16
+ } from "./worktree-abfhp5y0.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create4
20
- } from "./form-40y6dtc2.js";
20
+ } from "./worktree-40y6dtc2.js";
21
21
  import {
22
22
  __export
23
- } from "./form-9rqn6x4v.js";
23
+ } from "./worktree-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,19 +29,19 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info8,
32
+ Info: () => Info13,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service24,
35
+ Service: () => Service58,
36
36
  Untracked: () => Untracked2,
37
37
  Vcs: () => exports_vcs,
38
- node: () => node27
38
+ node: () => node60
39
39
  });
40
40
  import path from "path";
41
41
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
42
42
  import { FileDiff } from "@opencode/schema/file-diff";
43
43
  import { FileSystem } from "@opencode/schema/filesystem";
44
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
44
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info13, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
45
45
  import { VcsEvent } from "@opencode/schema/vcs-event";
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import { FSUtil } from "@opencode/util/fs-util";
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service24 extends Context.Service()("@opencode/Vcs") {
58
+ class Service58 extends Context.Service()("@opencode/Vcs") {
59
59
  }
60
- var layer = Layer.effect(Service24, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
61
61
  const fs = yield* FSUtil.Service;
62
- const location = yield* Service90;
62
+ const location = yield* Service88;
63
63
  const bus = yield* Service93;
64
64
  const root = yield* Effect.scope;
65
65
  const fork = yield* FiberSet.makeRuntime();
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
72
72
  canonical: location.project.canonical,
73
73
  ...vcs ? { store: vcs.store } : {}
74
74
  };
75
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
75
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info13));
76
76
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
77
77
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
78
78
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
130
130
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
131
131
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
132
132
  }
133
- return Service24.of({
133
+ return Service58.of({
134
134
  transform: state.transform,
135
135
  reload: state.reload,
136
136
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
189
189
  })
190
190
  });
191
191
  }));
192
- var node27 = makeLocationNode({
193
- service: Service24,
192
+ var node60 = makeLocationNode({
193
+ service: Service58,
194
194
  layer,
195
- deps: [FSUtil.node, node92, node95]
195
+ deps: [FSUtil.node, node90, node95]
196
196
  });
197
197
 
198
- export { Base2, BranchList2, FileStatus2, Info8, Mode2, Untracked2, DiffError2, InitializeError2, Service24, node27, exports_vcs };
198
+ export { Base2, BranchList2, FileStatus2, Info13, Mode2, Untracked2, DiffError2, InitializeError2, Service58, node60, exports_vcs };
@@ -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/oauth/redirect.ts
6
6
  var exports_redirect = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./form-4pyp9zr9.js";
3
+ } from "./worktree-4pyp9zr9.js";
4
4
  import {
5
5
  invocation2,
6
- Service72
7
- } from "./form-vnfp6nef.js";
6
+ Service74
7
+ } from "./worktree-etx991nf.js";
8
8
  import {
9
9
  MAX_MARKDOWN_BYTES2,
10
10
  convertHTMLToMarkdown2
11
- } from "./form-zxpyjp51.js";
11
+ } from "./worktree-zxpyjp51.js";
12
12
  import {
13
13
  collectBoundedResponseBody2
14
- } from "./form-3v8g72cx.js";
14
+ } from "./worktree-3v8g72cx.js";
15
15
  import {
16
16
  __export
17
- } from "./form-9rqn6x4v.js";
17
+ } from "./worktree-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/webfetch.ts
20
20
  var exports_webfetch = {};
21
21
  __export(exports_webfetch, {
22
22
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
23
- Input: () => Input2,
23
+ Input: () => Input12,
24
24
  MAX_REDIRECTS: () => MAX_REDIRECTS2,
25
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
25
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
26
26
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
27
- Plugin: () => Plugin40,
27
+ Plugin: () => Plugin17,
28
28
  WebFetchTool: () => exports_webfetch,
29
29
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
30
- description: () => description3,
30
+ description: () => description6,
31
31
  extractTextFromHTML: () => extractTextFromHTML2,
32
- name: () => name2
32
+ name: () => name12
33
33
  });
34
34
  import { ToolFailure } from "@opencode/ai/effect";
35
35
  import { Duration, Effect, Schema } from "effect";
36
36
  import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
37
37
  import { Parser } from "htmlparser2";
38
- var name2 = "webfetch";
39
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
38
+ var name12 = "webfetch";
39
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
40
40
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
41
41
  var MAX_TIMEOUT_SECONDS2 = 120;
42
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
42
+ var description6 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
43
43
 
44
44
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
45
45
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
46
- var Input2 = Schema.Struct({
46
+ var Input12 = Schema.Struct({
47
47
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
48
48
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
49
49
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -53,7 +53,7 @@ var Input2 = Schema.Struct({
53
53
  var Output = Schema.Struct({
54
54
  url: Schema.String,
55
55
  contentType: Schema.String,
56
- format: Input2.fields.format,
56
+ format: Input12.fields.format,
57
57
  output: Schema.String
58
58
  });
59
59
  var acceptHeader = (format) => {
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
107
107
  return yield* execute(http, check, next, format, userAgent, redirects + 1);
108
108
  });
109
109
  }));
110
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
110
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
111
111
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
112
112
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
113
113
  var convert = (content, contentType, format) => {
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
119
119
  return extractTextFromHTML2(content);
120
120
  return content;
121
121
  };
122
- var Plugin40 = {
122
+ var Plugin17 = {
123
123
  id: "opencode.tool.webfetch",
124
124
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
125
125
  const http = yield* HttpClient.HttpClient;
126
- const permission = yield* Service72;
126
+ const permission = yield* Service74;
127
127
  yield* ctx.tool.transform((editor) => editor.add({
128
- name: name2,
128
+ name: name12,
129
129
  options: { codemode: false },
130
- description: description3,
131
- input: Input2,
130
+ description: description6,
131
+ input: Input12,
132
132
  output: Output,
133
133
  execute: (input, context) => Effect.gen(function* () {
134
134
  const url = input.url.split("#")[0];
@@ -137,7 +137,7 @@ var Plugin40 = {
137
137
  catch: (error) => error
138
138
  });
139
139
  yield* permission.assert({
140
- action: name2,
140
+ action: name12,
141
141
  resources: [url],
142
142
  save: ["*"],
143
143
  metadata: input,
@@ -145,7 +145,7 @@ var Plugin40 = {
145
145
  });
146
146
  const { body, contentType } = yield* Effect.gen(function* () {
147
147
  const check = (next) => permission.assertNotDenied({
148
- action: name2,
148
+ action: name12,
149
149
  resources: [next],
150
150
  metadata: { ...input, url: next },
151
151
  ...invocation2(context)
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
199
199
  parser.end();
200
200
  return text.trim();
201
201
  }
202
- export { name2, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input2, MAX_REDIRECTS2, Plugin40, extractTextFromHTML2, exports_webfetch };
202
+ export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input12, MAX_REDIRECTS2, Plugin17, extractTextFromHTML2, exports_webfetch };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-3mhjyama.js";
3
+ } from "./worktree-6b9epygf.js";
4
4
  import {
5
5
  call2
6
- } from "./form-40za9wsf.js";
6
+ } from "./worktree-w2eysc6j.js";
7
7
  import {
8
- register2
9
- } from "./form-xjr6c8m4.js";
8
+ register3
9
+ } from "./worktree-xxschbft.js";
10
10
  import {
11
11
  __export
12
- } from "./form-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/websearch/parallel.ts
15
15
  var exports_parallel = {};
16
16
  __export(exports_parallel, {
17
- Plugin: () => Plugin7,
17
+ Plugin: () => Plugin42,
18
18
  WebSearchParallel: () => exports_parallel,
19
- endpoint: () => endpoint4
19
+ endpoint: () => endpoint6
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Schema } from "effect";
23
23
  import { HttpClient } from "effect/http";
24
- var endpoint4 = "https://search.parallel.ai/mcp";
24
+ var endpoint6 = "https://search.parallel.ai/mcp";
25
25
  var McpInput = Schema.Struct({
26
26
  objective: Schema.String,
27
27
  search_queries: Schema.Array(Schema.String),
@@ -50,16 +50,16 @@ var McpOutput = Schema.Struct({
50
50
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
51
51
  structuredContent: SearchResponse
52
52
  });
53
- var Plugin7 = define({
53
+ var Plugin42 = define({
54
54
  id: "opencode.websearch.parallel",
55
55
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
56
56
  const http = yield* HttpClient.HttpClient;
57
- yield* register2(ctx, {
57
+ yield* register3(ctx, {
58
58
  id: "parallel",
59
59
  name: "Parallel",
60
60
  env: "PARALLEL_API_KEY",
61
61
  execute: (input, credential) => Effect.gen(function* () {
62
- const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
62
+ const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
63
63
  objective: input.query,
64
64
  search_queries: [input.query]
65
65
  }, {
@@ -82,4 +82,4 @@ var Plugin7 = define({
82
82
  })
83
83
  });
84
84
 
85
- export { endpoint4, Plugin7, exports_parallel };
85
+ export { endpoint6, Plugin42, exports_parallel };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./form-mbhyr38k.js";
4
+ } from "./worktree-mf9xnwfc.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./form-z5v4ffb3.js";
8
+ } from "./worktree-z5v4ffb3.js";
9
9
  import {
10
10
  Ref5,
11
- Service90,
12
- node92
13
- } from "./form-rffg2j94.js";
11
+ Service88,
12
+ node90
13
+ } from "./worktree-abfhp5y0.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./worktree-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service70,
22
+ Service: () => Service55,
23
23
  define: () => define2,
24
24
  eventDefinition: () => eventDefinition2,
25
- node: () => node71
25
+ node: () => node57
26
26
  });
27
27
  import { define as define2 } from "@opencode/schema/rpc";
28
28
  import { Event } from "@opencode/schema/event";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
31
- class Service70 extends Context.Service()("@opencode/Rpc") {
31
+ class Service55 extends Context.Service()("@opencode/Rpc") {
32
32
  }
33
33
 
34
34
  class DeclaredError extends Error {
@@ -40,9 +40,9 @@ class DeclaredError extends Error {
40
40
  this.data = data;
41
41
  }
42
42
  }
43
- var layer = Layer.effect(Service70, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
44
44
  const bus = yield* Service93;
45
- const location = yield* Service90;
45
+ const location = yield* Service88;
46
46
  const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
47
47
  const closed = yield* Deferred.make();
48
48
  const callContext = {
@@ -119,14 +119,14 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
119
119
  const registered = events.get(name);
120
120
  if (!registered)
121
121
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
122
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service90, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service88, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
123
123
  }
124
124
  }
125
125
  };
126
126
  };
127
- return Service70.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
+ return Service55.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
128
128
  }));
129
- var node71 = makeLocationNode({ service: Service70, layer, deps: [node95, node92] });
129
+ var node57 = makeLocationNode({ service: Service55, layer, deps: [node95, node90] });
130
130
  var fields = {
131
131
  id: Event.ID,
132
132
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service70, node71, eventDefinition2, exports_rpc, define2 };
213
+ export { Service55, node57, eventDefinition2, exports_rpc, define2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./form-cqcxdjev.js";
4
+ } from "./worktree-d13jd56m.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./form-1ep2p91f.js";
7
+ } from "./worktree-1ep2p91f.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID12,
17
- Info: () => Info15,
18
- NotFoundError: () => NotFoundError12,
16
+ ID: () => ID13,
17
+ Info: () => Info16,
18
+ NotFoundError: () => NotFoundError11,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service74,
21
- node: () => node75
20
+ Service: () => Service75,
21
+ node: () => node77
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID12 = PermissionSaved.ID;
29
- var Info15 = PermissionSaved.Info;
28
+ var ID13 = PermissionSaved.ID;
29
+ var Info16 = PermissionSaved.Info;
30
30
 
31
- class NotFoundError12 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID12
31
+ class NotFoundError11 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
+ id: ID13
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID12,
37
+ id: ID13,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service74 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service75 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service74, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
46
46
  const db = (yield* Service94).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID12.create(),
55
+ id: ID13.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
61
61
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
62
62
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
63
63
  if (!current)
64
- return yield* new NotFoundError12({ id: input.id });
64
+ return yield* new NotFoundError11({ id: input.id });
65
65
  const action = input.action ?? current.action;
66
66
  const resource = input.resource ?? current.resource;
67
67
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
68
68
  if (!updated)
69
- return yield* new NotFoundError12({ id: input.id });
69
+ return yield* new NotFoundError11({ id: input.id });
70
70
  return info(updated);
71
71
  });
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service74.of({ list, add, update, remove });
75
+ return Service75.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node75 = makeGlobalNode({ service: Service74, layer, deps: [node96] });
93
+ var node77 = makeGlobalNode({ service: Service75, layer, deps: [node96] });
94
94
 
95
- export { ID12, Info15, NotFoundError12, ConflictError2, Service74, node75, exports_saved };
95
+ export { ID13, Info16, NotFoundError11, ConflictError2, Service75, node77, exports_saved };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  create4
3
- } from "./form-40y6dtc2.js";
3
+ } from "./worktree-40y6dtc2.js";
4
4
  import {
5
5
  match3
6
- } from "./form-1aqsckx4.js";
6
+ } from "./worktree-1aqsckx4.js";
7
7
  import {
8
8
  Service78,
9
- node79
10
- } from "./form-mkxevfrg.js";
9
+ node80
10
+ } from "./worktree-sbzezcpx.js";
11
11
  import {
12
- Service72,
13
- node73
14
- } from "./form-vnfp6nef.js";
12
+ Service74,
13
+ node76
14
+ } from "./worktree-etx991nf.js";
15
15
  import {
16
16
  definition2,
17
17
  execute3,
18
18
  normalizeContent2,
19
19
  normalizedName2,
20
20
  effectiveName2
21
- } from "./form-7rvsyqjv.js";
21
+ } from "./worktree-7rvsyqjv.js";
22
22
  import {
23
23
  create3,
24
24
  catalog2,
25
25
  check2,
26
26
  qualifiedName2
27
- } from "./form-01rrv1q5.js";
27
+ } from "./worktree-w838r4xv.js";
28
28
  import {
29
- Service56,
30
- node57
31
- } from "./form-kz92qt34.js";
29
+ Service70,
30
+ node72
31
+ } from "./worktree-cjqsf6bw.js";
32
32
  import {
33
33
  __export
34
- } from "./form-9rqn6x4v.js";
34
+ } from "./worktree-9rqn6x4v.js";
35
35
 
36
36
  // src/tool.ts
37
37
  var exports_tool = {};
38
38
  __export(exports_tool, {
39
39
  CallID: () => CallID2,
40
- Content: () => Content3,
41
- Error: () => Error2,
40
+ Content: () => Content4,
41
+ Error: () => Error5,
42
42
  FileContent: () => FileContent3,
43
43
  RegistrationError: () => RegistrationError2,
44
- Service: () => Service44,
44
+ Service: () => Service68,
45
45
  TextContent: () => TextContent2,
46
46
  Tool: () => exports_tool,
47
- node: () => node47
47
+ node: () => node71
48
48
  });
49
- import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
49
+ import { CallID as CallID2, Content as Content4, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
50
50
  import { ToolDefinition } from "@opencode/ai/effect";
51
51
  import { Tool } from "@opencode/schema/tool";
52
52
  import { Context, Effect, Layer, Ref, Result, Schema, SchemaIssue } from "effect";
@@ -57,12 +57,12 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
57
57
  }) {
58
58
  }
59
59
 
60
- class Service44 extends Context.Service()("@opencode/Tool") {
60
+ class Service68 extends Context.Service()("@opencode/Tool") {
61
61
  }
62
- var layer = Layer.effect(Service44, Effect.gen(function* () {
62
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
63
63
  const hooks = yield* Service78;
64
- const image = yield* Service56;
65
- const permission = yield* Service72;
64
+ const image = yield* Service70;
65
+ const permission = yield* Service74;
66
66
  const normalizeImages = Effect.fnUntraced(function* (content) {
67
67
  const normalized = yield* Effect.forEach(content, (item) => {
68
68
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -190,7 +190,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
190
190
  }), { discard: true });
191
191
  }
192
192
  });
193
- return Service44.of({
193
+ return Service68.of({
194
194
  transform: state.transform,
195
195
  reload: state.reload,
196
196
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -324,10 +324,10 @@ function namespaceError(name) {
324
324
  return;
325
325
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
326
326
  }
327
- var node47 = makeLocationNode({
328
- service: Service44,
327
+ var node71 = makeLocationNode({
328
+ service: Service68,
329
329
  layer,
330
- deps: [node79, node57, node73]
330
+ deps: [node80, node72, node76]
331
331
  });
332
332
 
333
- export { RegistrationError2, Service44, node47, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
333
+ export { RegistrationError2, Service68, node71, exports_tool, CallID2, Content4, Error5, FileContent3, TextContent2 };