@opencode/core 0.0.0-dev-91 → 0.0.0-dev-98

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 (820) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{tool-aj7mw0zk.js → worktree-034tev2y.js} +2 -2
  8. package/dist/chunks/{tool-0fwfag3t.js → worktree-0a6kvvk1.js} +9 -9
  9. package/dist/chunks/{tool-zgd8t41s.js → worktree-0anyt1n6.js} +9 -9
  10. package/dist/chunks/{tool-7aerd0dr.js → worktree-0f3cfs5z.js} +5 -5
  11. package/dist/chunks/{tool-ex547tfp.js → worktree-0n85nhyf.js} +16 -16
  12. package/dist/chunks/{tool-f97eyc81.js → worktree-0n9fydpr.js} +10 -10
  13. package/dist/chunks/{tool-k8dvdjfn.js → worktree-0ngm2ts5.js} +4 -4
  14. package/dist/chunks/{tool-yc35554n.js → worktree-118agfgj.js} +2 -2
  15. package/dist/chunks/{tool-1q93rhva.js → worktree-16fb6946.js} +3 -3
  16. package/dist/chunks/{tool-7w0d3x1p.js → worktree-17ze4ean.js} +33 -33
  17. package/dist/chunks/{tool-q3xtnt1c.js → worktree-18z1h0b9.js} +11 -11
  18. package/dist/chunks/{tool-46hcmk88.js → worktree-1cwaa6j3.js} +85 -85
  19. package/dist/chunks/{tool-28v09jk4.js → worktree-1d5mc1c2.js} +9 -9
  20. package/dist/chunks/{tool-27w5k9zf.js → worktree-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{tool-jh6e5x5q.js → worktree-1hraz18d.js} +21 -21
  22. package/dist/chunks/{tool-698qh926.js → worktree-1tf37zww.js} +11 -11
  23. package/dist/chunks/{tool-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{tool-1yq9hg58.js → worktree-1yq9hg58.js} +1 -1
  25. package/dist/chunks/{tool-204s3925.js → worktree-204s3925.js} +1 -1
  26. package/dist/chunks/{tool-74zhyzb7.js → worktree-21vhc8jx.js} +6 -6
  27. package/dist/chunks/{tool-75c6t5n2.js → worktree-274xa1yy.js} +43 -43
  28. package/dist/chunks/{tool-0ahs07zn.js → worktree-2azy8kv6.js} +4 -4
  29. package/dist/chunks/worktree-2bz716tq.js +511 -0
  30. package/dist/chunks/{tool-jem635sa.js → worktree-2dhrh792.js} +7 -7
  31. package/dist/chunks/{tool-5571esjp.js → worktree-2jr8wvhe.js} +25 -25
  32. package/dist/chunks/{tool-ct12tdge.js → worktree-2xc47qz5.js} +69 -69
  33. package/dist/chunks/{tool-mwg5k7zj.js → worktree-2xppje48.js} +25 -25
  34. package/dist/chunks/{tool-9ctmy678.js → worktree-2z24bsrh.js} +33 -33
  35. package/dist/chunks/{tool-gcmr6tz2.js → worktree-313gsj56.js} +22 -22
  36. package/dist/chunks/{tool-emmmyxzw.js → worktree-362wt1pd.js} +18 -18
  37. package/dist/chunks/{tool-av2yj9c6.js → worktree-3b432v26.js} +11 -11
  38. package/dist/chunks/{tool-pg5ky8fn.js → worktree-3d73cf36.js} +6 -6
  39. package/dist/chunks/{tool-x1a7cwfg.js → worktree-3escd5af.js} +9 -9
  40. package/dist/chunks/{tool-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{tool-7spmdhhv.js → worktree-3jb4p7sz.js} +12 -12
  42. package/dist/chunks/{tool-4h4e17dv.js → worktree-3kwhg78p.js} +40 -40
  43. package/dist/chunks/{tool-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{tool-ee45cksz.js → worktree-3ptmacdb.js} +17 -17
  45. package/dist/chunks/{tool-gn34jygc.js → worktree-3z9x6b48.js} +21 -21
  46. package/dist/chunks/{tool-7enbyk8v.js → worktree-4601np8m.js} +12 -12
  47. package/dist/chunks/{tool-230veacn.js → worktree-46jh5j06.js} +10 -10
  48. package/dist/chunks/{tool-fhq3mczf.js → worktree-48j5p4ar.js} +17 -17
  49. package/dist/chunks/{tool-vkd92t59.js → worktree-4pgj6j2t.js} +35 -35
  50. package/dist/chunks/{tool-h3b857xk.js → worktree-4pw98qd4.js} +4 -4
  51. package/dist/chunks/{tool-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
  52. package/dist/chunks/{tool-xstj61st.js → worktree-4s0kbtm0.js} +15 -15
  53. package/dist/chunks/{tool-4v008n1t.js → worktree-4v008n1t.js} +1 -1
  54. package/dist/chunks/{tool-1pnwdb4n.js → worktree-4zcty71r.js} +33 -33
  55. package/dist/chunks/{tool-7nbypc4n.js → worktree-53phj0kz.js} +18 -18
  56. package/dist/chunks/{tool-vtgxp655.js → worktree-5epte933.js} +2 -2
  57. package/dist/chunks/{tool-j5cqker3.js → worktree-5fmzxywh.js} +7 -7
  58. package/dist/chunks/{tool-kx5zbgb5.js → worktree-5jnqyxbn.js} +23 -23
  59. package/dist/chunks/{tool-nk68y23q.js → worktree-5knecm0z.js} +5 -5
  60. package/dist/chunks/{tool-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{tool-7jz89kf0.js → worktree-5mm8f81r.js} +5 -5
  62. package/dist/chunks/{tool-b6vsg801.js → worktree-5nnwax6m.js} +5 -5
  63. package/dist/chunks/{tool-hwp1rwn1.js → worktree-66s7d1kd.js} +15 -15
  64. package/dist/chunks/{tool-kfjnvpza.js → worktree-67b952gf.js} +2 -2
  65. package/dist/chunks/{tool-x0fjpjwd.js → worktree-6dme9bqw.js} +22 -22
  66. package/dist/chunks/{tool-6esdw8yj.js → worktree-6esdw8yj.js} +1 -1
  67. package/dist/chunks/{tool-7aawz9ta.js → worktree-6gm26dnv.js} +15 -15
  68. package/dist/chunks/{tool-x1wax2tm.js → worktree-6k87w37n.js} +5 -5
  69. package/dist/chunks/{tool-ep9ghbrk.js → worktree-6mfpzx4a.js} +11 -11
  70. package/dist/chunks/{tool-cqw9ekvn.js → worktree-6sqa993f.js} +9 -9
  71. package/dist/chunks/{tool-vrcsa8qx.js → worktree-6twykydk.js} +9 -9
  72. package/dist/chunks/{tool-nad4mkqt.js → worktree-6ydy7p7m.js} +8 -8
  73. package/dist/chunks/{tool-bw4r357a.js → worktree-6z9ynqn9.js} +9 -9
  74. package/dist/chunks/{tool-k91y97gc.js → worktree-711qwxwb.js} +19 -19
  75. package/dist/chunks/{tool-scjxmssc.js → worktree-797vxkjx.js} +7 -7
  76. package/dist/chunks/{tool-3ran0gcz.js → worktree-7a3mcgk4.js} +4 -4
  77. package/dist/chunks/{tool-1zfa644b.js → worktree-7a6mw2zv.js} +20 -20
  78. package/dist/chunks/{tool-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{tool-38adaqc0.js → worktree-7d2a7xbs.js} +5 -5
  80. package/dist/chunks/worktree-7gwz4hhv.js +257 -0
  81. package/dist/chunks/{tool-3a164vj7.js → worktree-7thfwj7f.js} +20 -20
  82. package/dist/chunks/{tool-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
  83. package/dist/chunks/{tool-3dqda9j1.js → worktree-7we5y53n.js} +53 -53
  84. package/dist/chunks/{tool-3e3jqjep.js → worktree-8aj0e00m.js} +7 -7
  85. package/dist/chunks/{tool-s36045k5.js → worktree-8eks9rwf.js} +28 -28
  86. package/dist/chunks/{tool-3vschx9t.js → worktree-8f9mezn2.js} +4 -4
  87. package/dist/chunks/{tool-11hfp36g.js → worktree-8jztxfpf.js} +4 -4
  88. package/dist/chunks/{tool-7ez3gjeb.js → worktree-8rgcjn3a.js} +15 -15
  89. package/dist/chunks/{tool-awnpzmr9.js → worktree-8rjqw3ef.js} +16 -16
  90. package/dist/chunks/{tool-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{tool-py366xq1.js → worktree-8ys4y03d.js} +14 -14
  92. package/dist/chunks/{tool-90zstvax.js → worktree-90zstvax.js} +1 -1
  93. package/dist/chunks/{tool-kpm58pge.js → worktree-9409nsbj.js} +27 -27
  94. package/dist/chunks/{tool-1ggxchhs.js → worktree-95ztg1a4.js} +16 -16
  95. package/dist/chunks/{tool-1gbxvym9.js → worktree-9dcysxpf.js} +8 -8
  96. package/dist/chunks/{tool-c9c3vcvh.js → worktree-9kdv0jfc.js} +6 -6
  97. package/dist/chunks/{tool-tzr3pa0w.js → worktree-9kf1aax8.js} +10 -10
  98. package/dist/chunks/{tool-v8t9vyt9.js → worktree-9kynvh8b.js} +30 -30
  99. package/dist/chunks/{tool-8wdz4h3x.js → worktree-9m7ybg0k.js} +28 -28
  100. package/dist/chunks/{tool-cmwydw43.js → worktree-9t2khtsw.js} +8 -8
  101. package/dist/chunks/{tool-8vdz7xys.js → worktree-a2jfm1hx.js} +11 -11
  102. package/dist/chunks/{tool-ra34yqmw.js → worktree-a4ww6fpm.js} +6 -6
  103. package/dist/chunks/worktree-a610t88q.js +18 -0
  104. package/dist/chunks/{tool-6wkw62dq.js → worktree-ac3qkg23.js} +20 -20
  105. package/dist/chunks/{tool-drvbhkez.js → worktree-agqd6nxz.js} +2 -2
  106. package/dist/chunks/{tool-z2e75qjb.js → worktree-as96ffcv.js} +16 -16
  107. package/dist/chunks/{tool-3cbjf1nt.js → worktree-ayjs7tqn.js} +2 -2
  108. package/dist/chunks/{tool-91gn8tjy.js → worktree-b5qegak8.js} +11 -11
  109. package/dist/chunks/{tool-305xqwqt.js → worktree-b77a7q8t.js} +39 -39
  110. package/dist/chunks/{tool-6g0tafez.js → worktree-b8fkm456.js} +18 -18
  111. package/dist/chunks/{tool-hed2thzz.js → worktree-bca42jyk.js} +16 -16
  112. package/dist/chunks/{tool-q2j9e0vw.js → worktree-bds5er22.js} +24 -24
  113. package/dist/chunks/{tool-gr5kqd9r.js → worktree-be2e5rnf.js} +21 -21
  114. package/dist/chunks/{tool-h57pbter.js → worktree-bgn2x603.js} +18 -18
  115. package/dist/chunks/{tool-7t6vbzys.js → worktree-bqmhzrvj.js} +26 -26
  116. package/dist/chunks/{tool-0ryed6y5.js → worktree-bym8k3a1.js} +22 -22
  117. package/dist/chunks/{tool-mfvvktb5.js → worktree-bzk881f8.js} +26 -26
  118. package/dist/chunks/{tool-m6s8mxr7.js → worktree-c7rwyadp.js} +12 -12
  119. package/dist/chunks/{tool-69xqjxg7.js → worktree-c84tv7mg.js} +4 -4
  120. package/dist/chunks/{tool-ssfehs1z.js → worktree-c9t2ty9q.js} +4 -4
  121. package/dist/chunks/{tool-tn29j0fz.js → worktree-cewv1c6c.js} +8 -8
  122. package/dist/chunks/{tool-z56aywt7.js → worktree-cfg92mm1.js} +16 -16
  123. package/dist/chunks/{tool-61q2c8gp.js → worktree-cmextvb5.js} +4 -4
  124. package/dist/chunks/{tool-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
  125. package/dist/chunks/{tool-852b9zb5.js → worktree-cy84twbn.js} +48 -48
  126. package/dist/chunks/{tool-6fx7ap1b.js → worktree-d1dqn4r8.js} +18 -18
  127. package/dist/chunks/{tool-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{tool-ds7r37yp.js → worktree-ds7r37yp.js} +2 -2
  129. package/dist/chunks/{tool-dt77769w.js → worktree-dt77769w.js} +1 -1
  130. package/dist/chunks/{tool-ba26w197.js → worktree-dxn6tk5h.js} +5 -5
  131. package/dist/chunks/{tool-mkxa71wh.js → worktree-dzb2begy.js} +27 -27
  132. package/dist/chunks/{tool-4xer52tg.js → worktree-e7d3gm04.js} +11 -11
  133. package/dist/chunks/{tool-e834z07m.js → worktree-e834z07m.js} +1 -1
  134. package/dist/chunks/{tool-5wj60p4s.js → worktree-ex49bqgb.js} +11 -11
  135. package/dist/chunks/{tool-0j4991a9.js → worktree-ey5667np.js} +12 -12
  136. package/dist/chunks/{tool-n3bkb5q1.js → worktree-ez1g32xq.js} +8 -8
  137. package/dist/chunks/{tool-6b8745b8.js → worktree-ez2q5kwx.js} +15 -15
  138. package/dist/chunks/{tool-axy5ptv8.js → worktree-f10xpbr6.js} +11 -11
  139. package/dist/chunks/{tool-ma572n1c.js → worktree-f2ajh7mh.js} +5 -5
  140. package/dist/chunks/{tool-xrzs0xn3.js → worktree-f5grfhzb.js} +8 -8
  141. package/dist/chunks/{tool-c4x8pk91.js → worktree-fettsp85.js} +3 -3
  142. package/dist/chunks/{tool-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
  143. package/dist/chunks/{tool-5fn6dbwx.js → worktree-fg35kqc5.js} +5 -5
  144. package/dist/chunks/{tool-fg9p65nk.js → worktree-fg9p65nk.js} +2 -2
  145. package/dist/chunks/{tool-bq6jjxqp.js → worktree-fk6tkz52.js} +23 -23
  146. package/dist/chunks/{tool-rj977cyr.js → worktree-fknb39f2.js} +18 -18
  147. package/dist/chunks/{tool-pjzajrbc.js → worktree-fne0txhj.js} +54 -54
  148. package/dist/chunks/{tool-ztf6n3de.js → worktree-fwp9mfc9.js} +4 -4
  149. package/dist/chunks/{tool-5849hgw0.js → worktree-fxbc68d4.js} +23 -23
  150. package/dist/chunks/{tool-dp2cvfdy.js → worktree-fz81h3y8.js} +16 -16
  151. package/dist/chunks/{tool-9qcg53ez.js → worktree-g1ay4zd8.js} +9 -9
  152. package/dist/chunks/{tool-njyr3yz2.js → worktree-g897beg1.js} +191 -191
  153. package/dist/chunks/{tool-ep59zg61.js → worktree-gg8p9cgs.js} +3 -3
  154. package/dist/chunks/{tool-5phnv3yb.js → worktree-h6qfzy2w.js} +6 -6
  155. package/dist/chunks/{tool-krv0p5sn.js → worktree-h8jxej25.js} +11 -11
  156. package/dist/chunks/{tool-vz02t2s9.js → worktree-h9mpa2cp.js} +37 -37
  157. package/dist/chunks/{tool-k65b2vst.js → worktree-hcwqz2vp.js} +27 -27
  158. package/dist/chunks/{tool-gbzp4egg.js → worktree-hepvyceb.js} +18 -18
  159. package/dist/chunks/{tool-hpg1pkwy.js → worktree-hpg1pkwy.js} +1 -1
  160. package/dist/chunks/{tool-wm8ps0kb.js → worktree-hrc5qanb.js} +17 -17
  161. package/dist/chunks/{tool-d05zg70t.js → worktree-hwa72p18.js} +23 -23
  162. package/dist/chunks/{tool-ngbav3vd.js → worktree-hzn7nsdm.js} +40 -40
  163. package/dist/chunks/{tool-gp067yzn.js → worktree-j6gqx17m.js} +11 -11
  164. package/dist/chunks/{tool-7ddp8ank.js → worktree-jbs867qq.js} +32 -32
  165. package/dist/chunks/{tool-jfaecv01.js → worktree-jfaecv01.js} +1 -1
  166. package/dist/chunks/{tool-jtnps1zs.js → worktree-jtnps1zs.js} +2 -2
  167. package/dist/chunks/{tool-dcanc5rs.js → worktree-jv4aastz.js} +11 -11
  168. package/dist/chunks/{tool-zg3zhf3v.js → worktree-jvdszxx2.js} +15 -15
  169. package/dist/chunks/{tool-k814nvkf.js → worktree-k814nvkf.js} +1 -1
  170. package/dist/chunks/{tool-zkmce7rg.js → worktree-k9y3d0tp.js} +11 -11
  171. package/dist/chunks/{tool-k9zkdd2y.js → worktree-k9zkdd2y.js} +1 -1
  172. package/dist/chunks/{tool-q9z0p7gh.js → worktree-kamfaf4d.js} +18 -18
  173. package/dist/chunks/worktree-kc53vfpk.js +26 -0
  174. package/dist/chunks/{tool-vnxqy2jq.js → worktree-kmsddh9w.js} +30 -30
  175. package/dist/chunks/{tool-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
  176. package/dist/chunks/{tool-m1714858.js → worktree-m1714858.js} +1 -1
  177. package/dist/chunks/{tool-hfgk9wzg.js → worktree-m37sd98t.js} +4 -4
  178. package/dist/chunks/{tool-2rvkjrha.js → worktree-m4ptef75.js} +10 -10
  179. package/dist/chunks/{tool-by8ezbee.js → worktree-m56cjv3e.js} +17 -17
  180. package/dist/chunks/{tool-7aq6rx75.js → worktree-m7fnv24s.js} +47 -47
  181. package/dist/chunks/{tool-j1568g2c.js → worktree-m7fqq1ew.js} +9 -9
  182. package/dist/chunks/{tool-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{tool-qg14jn6v.js → worktree-mhc61mdg.js} +32 -32
  184. package/dist/chunks/{tool-4jxvx69e.js → worktree-mhr56224.js} +3 -3
  185. package/dist/chunks/{tool-2x2ke6ta.js → worktree-mjc6f1aw.js} +45 -45
  186. package/dist/chunks/{tool-hdfrs5mg.js → worktree-mmkbt6v3.js} +9 -9
  187. package/dist/chunks/{tool-gk277ckk.js → worktree-mny8z6gn.js} +2 -2
  188. package/dist/chunks/{tool-ndtrv5vn.js → worktree-mr77yge8.js} +30 -30
  189. package/dist/chunks/{tool-wtjwwyta.js → worktree-mwg3qc11.js} +12 -12
  190. package/dist/chunks/{tool-s4g3e7mz.js → worktree-mzt2fbnn.js} +27 -27
  191. package/dist/chunks/{tool-68x0q3w1.js → worktree-n28y46dr.js} +20 -20
  192. package/dist/chunks/{tool-ja63h2sr.js → worktree-n6v2b7cw.js} +5 -5
  193. package/dist/chunks/{tool-7heva7vf.js → worktree-n9qdtdvs.js} +15 -15
  194. package/dist/chunks/{tool-770pw0s1.js → worktree-nah043kf.js} +4 -4
  195. package/dist/chunks/{tool-fcdhbwna.js → worktree-nqp32kgw.js} +12 -12
  196. package/dist/chunks/{tool-e1mb4rnk.js → worktree-ns70zq6v.js} +6 -6
  197. package/dist/chunks/{tool-wxf92x0x.js → worktree-nx6hk0ja.js} +1 -1
  198. package/dist/chunks/{tool-1t618e4c.js → worktree-nxbxez3p.js} +47 -47
  199. package/dist/chunks/{tool-p015t6z3.js → worktree-p015t6z3.js} +2 -2
  200. package/dist/chunks/{tool-14g07qkw.js → worktree-p93v64fd.js} +21 -21
  201. package/dist/chunks/{tool-m0jwy07f.js → worktree-pb04fmg7.js} +30 -30
  202. package/dist/chunks/{tool-hj8dv2fv.js → worktree-pbbktnbz.js} +4 -4
  203. package/dist/chunks/{tool-3xf4gmea.js → worktree-pbq8xx0j.js} +34 -34
  204. package/dist/chunks/{tool-72nd48f3.js → worktree-pf2pdych.js} +13 -13
  205. package/dist/chunks/{tool-sweqe2a6.js → worktree-pf3rwkdy.js} +13 -13
  206. package/dist/chunks/{tool-pknna89w.js → worktree-pknna89w.js} +1 -1
  207. package/dist/chunks/{tool-zpdhy3rs.js → worktree-q66cx4q6.js} +23 -23
  208. package/dist/chunks/{tool-52b9nvdb.js → worktree-q8dhc66a.js} +10 -10
  209. package/dist/chunks/{tool-0qbg5y1h.js → worktree-qad7dvhx.js} +84 -84
  210. package/dist/chunks/{tool-0j8sypb1.js → worktree-qb1ewmbb.js} +28 -28
  211. package/dist/chunks/{tool-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
  212. package/dist/chunks/{tool-9yr7e8hg.js → worktree-qtp439t2.js} +21 -21
  213. package/dist/chunks/{tool-r0yr0wbs.js → worktree-r0yr0wbs.js} +1 -1
  214. package/dist/chunks/{tool-2kxyfk53.js → worktree-r18rdv8f.js} +1 -1
  215. package/dist/chunks/{tool-hghxj8gh.js → worktree-r3q41g9c.js} +24 -24
  216. package/dist/chunks/{tool-r542h3bh.js → worktree-r542h3bh.js} +1 -1
  217. package/dist/chunks/{tool-pvjefvaz.js → worktree-r66xew5k.js} +13 -13
  218. package/dist/chunks/{tool-ydsespw1.js → worktree-ra6js1h8.js} +8 -8
  219. package/dist/chunks/{tool-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{tool-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
  221. package/dist/chunks/{tool-hq4hw89f.js → worktree-rxgbbj8k.js} +16 -16
  222. package/dist/chunks/{tool-hvb7rpxf.js → worktree-s54472q3.js} +17 -17
  223. package/dist/chunks/{tool-wzdbde40.js → worktree-s6tqy0m8.js} +20 -20
  224. package/dist/chunks/{tool-1svbn1jm.js → worktree-s99nkvx1.js} +4 -4
  225. package/dist/chunks/{tool-sa3fpqfw.js → worktree-sa3fpqfw.js} +2 -2
  226. package/dist/chunks/{tool-hqz3v7ac.js → worktree-snmd1rw9.js} +11 -11
  227. package/dist/chunks/{tool-sqjzf8x2.js → worktree-sqjzf8x2.js} +1 -1
  228. package/dist/chunks/{tool-sar0kh51.js → worktree-sre4ebqw.js} +4 -4
  229. package/dist/chunks/{tool-qb7a72fd.js → worktree-srjnrtdm.js} +10 -10
  230. package/dist/chunks/{tool-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
  231. package/dist/chunks/{tool-f3yfea70.js → worktree-sy9ykmfq.js} +3 -3
  232. package/dist/chunks/{tool-9pneywy4.js → worktree-szxm1cp3.js} +8 -8
  233. package/dist/chunks/{tool-cs175ng9.js → worktree-t21b4txv.js} +35 -35
  234. package/dist/chunks/{tool-x5xx62h0.js → worktree-t2wdt0at.js} +14 -14
  235. package/dist/chunks/{tool-0c8f71n7.js → worktree-t5qvjzk2.js} +21 -21
  236. package/dist/chunks/{tool-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{tool-w5w2ye0s.js → worktree-tk7n563y.js} +3 -3
  238. package/dist/chunks/{tool-q3v7sg8t.js → worktree-tsv2z92f.js} +14 -14
  239. package/dist/chunks/{tool-yc9w3422.js → worktree-ttkktqdh.js} +13 -13
  240. package/dist/chunks/{tool-twssxy5n.js → worktree-twssxy5n.js} +2 -2
  241. package/dist/chunks/{tool-c50m1jnq.js → worktree-txwj3gge.js} +16 -16
  242. package/dist/chunks/{tool-4mfe4fpk.js → worktree-tyv518va.js} +5 -5
  243. package/dist/chunks/{tool-ks317rcp.js → worktree-tzyd7gqa.js} +2 -2
  244. package/dist/chunks/{tool-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
  245. package/dist/chunks/{tool-hn0gtwg2.js → worktree-v3xbt8j3.js} +5 -5
  246. package/dist/chunks/{tool-jx64hzqx.js → worktree-vcccw22k.js} +11 -11
  247. package/dist/chunks/{tool-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  248. package/dist/chunks/{tool-2zp5a6yg.js → worktree-vg0erq9k.js} +3 -3
  249. package/dist/chunks/{tool-6khygjy4.js → worktree-vmsmp5eq.js} +17 -17
  250. package/dist/chunks/{tool-1ftdw7h3.js → worktree-vpvfxw07.js} +19 -19
  251. package/dist/chunks/{tool-7mjr8a8n.js → worktree-vpzpgvq9.js} +43 -43
  252. package/dist/chunks/{tool-mpe6qr53.js → worktree-vq1ppevj.js} +8 -8
  253. package/dist/chunks/{tool-qgtqwdmb.js → worktree-vs44t7fa.js} +14 -14
  254. package/dist/chunks/{tool-vaq1yek0.js → worktree-vsqvcqta.js} +6 -6
  255. package/dist/chunks/{tool-beyjcx72.js → worktree-w0d7zwbf.js} +4 -4
  256. package/dist/chunks/{tool-40za9wsf.js → worktree-w2eysc6j.js} +9 -9
  257. package/dist/chunks/{tool-2kg89srt.js → worktree-w35wzz9x.js} +4 -4
  258. package/dist/chunks/{tool-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{tool-s631gf5j.js → worktree-w87a0wfe.js} +11 -11
  260. package/dist/chunks/{tool-76cb1hcw.js → worktree-w8qtt4th.js} +4 -4
  261. package/dist/chunks/{tool-5y20gt8q.js → worktree-wa1hcjw6.js} +5 -5
  262. package/dist/chunks/{tool-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
  263. package/dist/chunks/{tool-wd87259q.js → worktree-wd87259q.js} +1 -1
  264. package/dist/chunks/{tool-860bwv8p.js → worktree-we2rejfg.js} +13 -13
  265. package/dist/chunks/{tool-wzcyht23.js → worktree-wk5m6zfg.js} +42 -42
  266. package/dist/chunks/{tool-jtj22pb2.js → worktree-wm98xywf.js} +12 -12
  267. package/dist/chunks/{tool-wnhgecwx.js → worktree-wnhgecwx.js} +1 -1
  268. package/dist/chunks/{tool-9w4n3zkz.js → worktree-wqtd6dn9.js} +3 -3
  269. package/dist/chunks/{tool-fznmdakp.js → worktree-wr3re1en.js} +4 -4
  270. package/dist/chunks/{tool-q4vfmnms.js → worktree-wsp5yfww.js} +28 -28
  271. package/dist/chunks/{tool-q8fk1046.js → worktree-wsr9qs6j.js} +26 -26
  272. package/dist/chunks/{tool-n3eppyw3.js → worktree-x16bhr4k.js} +45 -45
  273. package/dist/chunks/{tool-1cp227ey.js → worktree-x6ys6dqa.js} +17 -17
  274. package/dist/chunks/{tool-bstexjd6.js → worktree-xd9cc171.js} +5 -5
  275. package/dist/chunks/{tool-517jtzaa.js → worktree-xn6gceck.js} +8 -8
  276. package/dist/chunks/{tool-1kn6jdkn.js → worktree-xt0z8zst.js} +4 -4
  277. package/dist/chunks/{tool-draeheqz.js → worktree-xyq0rax3.js} +12 -12
  278. package/dist/chunks/{tool-zbqcyxaa.js → worktree-xyrxtpny.js} +19 -19
  279. package/dist/chunks/{tool-pqyr85nv.js → worktree-y6396az8.js} +30 -30
  280. package/dist/chunks/{tool-yqdh10qg.js → worktree-y8spwn8e.js} +10 -10
  281. package/dist/chunks/{tool-qkw2jr9b.js → worktree-yara3q77.js} +2 -2
  282. package/dist/chunks/{tool-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
  283. package/dist/chunks/{tool-v9m2ypfg.js → worktree-yezzex3p.js} +17 -17
  284. package/dist/chunks/{tool-k86ss76b.js → worktree-yfwf0v7j.js} +14 -14
  285. package/dist/chunks/{tool-d24g109n.js → worktree-yjbxb6qy.js} +1 -1
  286. package/dist/chunks/{tool-j9z4bav5.js → worktree-ymw70ds8.js} +36 -36
  287. package/dist/chunks/{tool-ymz7p2c9.js → worktree-ymz7p2c9.js} +3 -3
  288. package/dist/chunks/{tool-ysxqaady.js → worktree-ysbey0jp.js} +23 -23
  289. package/dist/chunks/{tool-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  290. package/dist/chunks/{tool-z38nccrw.js → worktree-z38nccrw.js} +1 -1
  291. package/dist/chunks/{tool-j8rqras6.js → worktree-z6j3zz1h.js} +9 -9
  292. package/dist/chunks/{tool-zgkm4kzm.js → worktree-zgkm4kzm.js} +3 -3
  293. package/dist/chunks/{tool-5k73ne16.js → worktree-zmbtf289.js} +21 -21
  294. package/dist/chunks/{tool-61ennm6n.js → worktree-zzdv5d93.js} +4 -4
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +9 -9
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +89 -89
  300. package/dist/config/discovery.js +92 -92
  301. package/dist/config/integration.js +1 -1
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +123 -123
  305. package/dist/config/plugin/command.js +221 -221
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +121 -121
  313. package/dist/config/plugin/mcp.js +130 -130
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +121 -121
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +3 -3
  320. package/dist/config/plugin/skill.js +145 -145
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +124 -124
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +120 -120
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +124 -124
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +89 -89
  332. package/dist/database/database.js +72 -72
  333. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  334. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +15 -15
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +16 -16
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +100 -100
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +381 -381
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +3 -3
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +97 -97
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +99 -99
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +3 -3
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +76 -76
  428. package/dist/file-access.js +148 -148
  429. package/dist/file-mutation.js +102 -102
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +83 -83
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +228 -228
  438. package/dist/filesystem/protected.js +3 -3
  439. package/dist/filesystem/search.js +107 -107
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +11 -11
  442. package/dist/filesystem.js +112 -112
  443. package/dist/form.js +88 -88
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +95 -95
  446. package/dist/generate.js +113 -113
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +99 -99
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon-normalize.js +1 -1
  468. package/dist/image/photon-worker.js +1 -1
  469. package/dist/image/photon.js +4 -4
  470. package/dist/image.js +6 -6
  471. package/dist/instance/service.js +5 -5
  472. package/dist/instance.js +372 -372
  473. package/dist/instruction-discovery.js +90 -90
  474. package/dist/instructions/builtins.js +95 -95
  475. package/dist/instructions/index.js +3 -3
  476. package/dist/integration/connection.js +3 -3
  477. package/dist/integration.js +95 -95
  478. package/dist/job.js +84 -84
  479. package/dist/kv/sql.js +2 -2
  480. package/dist/kv.js +79 -79
  481. package/dist/location-activity.js +163 -163
  482. package/dist/location-lifecycle.js +142 -142
  483. package/dist/location-service-map.js +94 -94
  484. package/dist/location-services.js +369 -369
  485. package/dist/location.js +97 -97
  486. package/dist/managed-policy.js +3 -3
  487. package/dist/mcp/client.js +99 -99
  488. package/dist/mcp/index.js +117 -117
  489. package/dist/mcp/instructions.js +168 -168
  490. package/dist/mcp/oauth.js +84 -84
  491. package/dist/mcp/socket-client.js +1 -1
  492. package/dist/mcp/stdio.js +98 -98
  493. package/dist/mime.js +1 -1
  494. package/dist/modal/models.js +99 -99
  495. package/dist/model-resolver.js +107 -107
  496. package/dist/model-retry.js +1 -1
  497. package/dist/model.js +108 -108
  498. package/dist/models-dev/v1.js +1 -1
  499. package/dist/models-dev.js +108 -108
  500. package/dist/oauth/page.js +1 -1
  501. package/dist/permission/saved.js +86 -86
  502. package/dist/permission/sql.js +5 -5
  503. package/dist/permission.js +143 -143
  504. package/dist/persistent-pty/binary.bun.js +1 -1
  505. package/dist/persistent-pty/daemon.js +1 -1
  506. package/dist/persistent-pty/index.js +94 -94
  507. package/dist/persistent-pty/pty-binding.js +1 -1
  508. package/dist/persistent-pty.js +81 -81
  509. package/dist/plugin/agent.js +82 -82
  510. package/dist/plugin/command.js +110 -110
  511. package/dist/plugin/hooks.js +5 -5
  512. package/dist/plugin/host.js +225 -225
  513. package/dist/plugin/identity.js +5 -5
  514. package/dist/plugin/instance.js +5 -5
  515. package/dist/plugin/internal.js +342 -342
  516. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  517. package/dist/plugin/models-dev.js +105 -105
  518. package/dist/plugin/module.js +123 -123
  519. package/dist/plugin/optimize.js +2 -2
  520. package/dist/plugin/plan.js +138 -138
  521. package/dist/plugin/promise.js +1 -1
  522. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  523. package/dist/plugin/provider/azure.js +121 -121
  524. package/dist/plugin/provider/cerebras.js +1 -1
  525. package/dist/plugin/provider/chatgpt.js +121 -121
  526. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  527. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  528. package/dist/plugin/provider/cohere.js +2 -2
  529. package/dist/plugin/provider/configured.js +117 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +101 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/factory.js +1 -1
  534. package/dist/plugin/provider/github-copilot.js +103 -103
  535. package/dist/plugin/provider/gitlab.js +101 -101
  536. package/dist/plugin/provider/google-vertex.js +118 -118
  537. package/dist/plugin/provider/kilo.js +1 -1
  538. package/dist/plugin/provider/llmgateway.js +84 -84
  539. package/dist/plugin/provider/lmstudio.js +130 -130
  540. package/dist/plugin/provider/local.js +127 -127
  541. package/dist/plugin/provider/modal.js +100 -100
  542. package/dist/plugin/provider/neon.js +1 -1
  543. package/dist/plugin/provider/nvidia.js +1 -1
  544. package/dist/plugin/provider/ollama.js +128 -128
  545. package/dist/plugin/provider/openai-context-caps.js +98 -98
  546. package/dist/plugin/provider/openai.js +121 -121
  547. package/dist/plugin/provider/opencode.js +124 -124
  548. package/dist/plugin/provider/openrouter.js +99 -99
  549. package/dist/plugin/provider/perplexity.js +2 -2
  550. package/dist/plugin/provider/poe.js +85 -85
  551. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  552. package/dist/plugin/provider/sap-ai-core.js +99 -99
  553. package/dist/plugin/provider/sdk-factory.js +1 -1
  554. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  555. package/dist/plugin/provider/vercel.js +98 -98
  556. package/dist/plugin/provider/vllm.js +130 -130
  557. package/dist/plugin/provider/xai.js +99 -99
  558. package/dist/plugin/provider/zenmux.js +1 -1
  559. package/dist/plugin/provider.js +175 -175
  560. package/dist/plugin/sdk.js +82 -82
  561. package/dist/plugin/service.js +3 -3
  562. package/dist/plugin/skill.js +141 -141
  563. package/dist/plugin/source-directory.js +1 -1
  564. package/dist/plugin/supervisor.js +361 -361
  565. package/dist/plugin/tool-input-repair.js +4 -4
  566. package/dist/plugin/update.js +6 -6
  567. package/dist/plugin/vcs/git.js +94 -94
  568. package/dist/plugin/vcs/hg.js +94 -94
  569. package/dist/plugin/verbosity.js +101 -101
  570. package/dist/plugin/warming.js +119 -119
  571. package/dist/plugin/websearch/exa.js +7 -7
  572. package/dist/plugin/websearch/firecrawl.js +8 -8
  573. package/dist/plugin/websearch/index.js +9 -9
  574. package/dist/plugin/websearch/mcp.js +6 -6
  575. package/dist/plugin/websearch/parallel.js +8 -8
  576. package/dist/plugin/websearch/tavily.js +6 -6
  577. package/dist/plugin/websearch/tinyfish.js +8 -8
  578. package/dist/plugin.js +230 -230
  579. package/dist/project/icon.js +5 -5
  580. package/dist/project/schema.js +8 -8
  581. package/dist/project/sql.js +4 -4
  582. package/dist/project.js +98 -98
  583. package/dist/provider.js +105 -105
  584. package/dist/pty/protocol.js +1 -1
  585. package/dist/pty/ticket.js +1 -1
  586. package/dist/pty.js +92 -92
  587. package/dist/reference/instructions.js +96 -96
  588. package/dist/reference.js +96 -96
  589. package/dist/repository-cache.js +88 -88
  590. package/dist/repository.js +3 -3
  591. package/dist/ripgrep/binary.js +2 -2
  592. package/dist/ripgrep.js +105 -105
  593. package/dist/rpc.js +94 -94
  594. package/dist/schema.js +1 -1
  595. package/dist/session/affinity.js +1 -1
  596. package/dist/session/blob.js +120 -120
  597. package/dist/session/command.js +80 -80
  598. package/dist/session/compaction.js +164 -164
  599. package/dist/session/context.js +188 -188
  600. package/dist/session/diff.js +96 -96
  601. package/dist/session/environment.js +5 -5
  602. package/dist/session/error.js +3 -3
  603. package/dist/session/event.js +1 -1
  604. package/dist/session/execution/restart.js +228 -228
  605. package/dist/session/execution.js +154 -154
  606. package/dist/session/generate.js +190 -190
  607. package/dist/session/history.js +127 -127
  608. package/dist/session/inbox.js +136 -136
  609. package/dist/session/info.js +3 -3
  610. package/dist/session/instruction-entry.js +85 -85
  611. package/dist/session/instruction-state.js +8 -8
  612. package/dist/session/instructions.js +132 -132
  613. package/dist/session/message-updater.js +4 -4
  614. package/dist/session/message.js +1 -1
  615. package/dist/session/model-request.js +155 -155
  616. package/dist/session/model-transport.js +9 -9
  617. package/dist/session/move.js +156 -156
  618. package/dist/session/projector.js +134 -134
  619. package/dist/session/prompt.js +140 -140
  620. package/dist/session/recent-text.js +1 -1
  621. package/dist/session/revert.js +130 -130
  622. package/dist/session/run-coordinator.js +3 -3
  623. package/dist/session/runner/index.js +3 -3
  624. package/dist/session/runner/llm.js +238 -238
  625. package/dist/session/runner/max-steps.js +1 -1
  626. package/dist/session/runner/model.js +108 -108
  627. package/dist/session/runner/publish-llm-event.js +141 -141
  628. package/dist/session/runner/retry.js +5 -5
  629. package/dist/session/runner/step.js +154 -154
  630. package/dist/session/runner/to-llm-message.js +128 -128
  631. package/dist/session/schema.js +3 -3
  632. package/dist/session/session.js +172 -172
  633. package/dist/session/shell.js +135 -135
  634. package/dist/session/skill.js +139 -139
  635. package/dist/session/sql.js +5 -5
  636. package/dist/session/stats.js +79 -79
  637. package/dist/session/store.js +133 -133
  638. package/dist/session/stored.js +2 -2
  639. package/dist/session/subagent-completion.js +1 -1
  640. package/dist/session/subagent-job.js +219 -219
  641. package/dist/session/system-prompt.js +3 -3
  642. package/dist/session/title.js +192 -192
  643. package/dist/session/to-session-error.js +140 -140
  644. package/dist/session/transfer.js +222 -222
  645. package/dist/session/usage.js +1 -1
  646. package/dist/session.js +219 -219
  647. package/dist/shell/parse.js +8 -8
  648. package/dist/shell/result.js +1 -1
  649. package/dist/shell/scan.js +1 -1
  650. package/dist/shell/select.js +9 -9
  651. package/dist/shell.js +137 -137
  652. package/dist/skill/discovery.js +6 -6
  653. package/dist/skill/instructions.js +143 -143
  654. package/dist/skill.js +148 -148
  655. package/dist/snapshot.js +101 -101
  656. package/dist/state.js +1 -1
  657. package/dist/tool/html-markdown.js +1 -1
  658. package/dist/tool/http-body.js +1 -1
  659. package/dist/tool/mcp.js +167 -167
  660. package/dist/tool/plugin/edit.js +156 -156
  661. package/dist/tool/plugin/file-diff.js +1 -1
  662. package/dist/tool/plugin/glob.js +160 -160
  663. package/dist/tool/plugin/grep.js +152 -152
  664. package/dist/tool/plugin/mcp-resource.js +154 -154
  665. package/dist/tool/plugin/opencode.js +153 -153
  666. package/dist/tool/plugin/patch.js +158 -158
  667. package/dist/tool/plugin/question.js +138 -138
  668. package/dist/tool/plugin/read.js +161 -161
  669. package/dist/tool/plugin/shell.js +222 -222
  670. package/dist/tool/plugin/skill.js +141 -141
  671. package/dist/tool/plugin/subagent.js +222 -222
  672. package/dist/tool/plugin/todo.js +145 -145
  673. package/dist/tool/plugin/webfetch.js +145 -145
  674. package/dist/tool/plugin/websearch.js +145 -145
  675. package/dist/tool/plugin/write.js +158 -158
  676. package/dist/tool/read-filesystem.js +110 -110
  677. package/dist/tool/runtime.js +1 -1
  678. package/dist/tool-output.js +7 -7
  679. package/dist/tool.js +14 -14
  680. package/dist/usage-limits.js +93 -93
  681. package/dist/util/error-summary.js +1 -1
  682. package/dist/util/git-executable.js +3 -3
  683. package/dist/util/lazy.js +1 -1
  684. package/dist/util/slug.js +1 -1
  685. package/dist/util/token.js +1 -1
  686. package/dist/util/which.js +1 -1
  687. package/dist/util/wildcard.js +1 -1
  688. package/dist/v1/config/agent.js +5 -5
  689. package/dist/v1/config/command.js +3 -3
  690. package/dist/v1/config/mcp.js +2 -2
  691. package/dist/v1/config/migrate.js +100 -100
  692. package/dist/v1/config/permission.js +3 -3
  693. package/dist/v1/config/plugin.js +1 -1
  694. package/dist/v1/config/provider-options.js +1 -1
  695. package/dist/v1/config/provider.js +4 -4
  696. package/dist/variant.js +99 -99
  697. package/dist/vcs/patch.js +1 -1
  698. package/dist/vcs.js +97 -97
  699. package/dist/voice.js +90 -90
  700. package/dist/websearch.js +84 -84
  701. package/dist/wellknown/plugin.js +82 -82
  702. package/dist/wellknown.js +85 -85
  703. package/dist/workspace/driver.js +3 -3
  704. package/dist/workspace/sql.js +1 -1
  705. package/dist/workspace.js +84 -84
  706. package/dist/worktree/directory.js +2 -2
  707. package/dist/worktree/git.js +11 -11
  708. package/dist/worktree/sql.js +5 -5
  709. package/dist/worktree/strategies.js +97 -97
  710. package/dist/worktree.js +106 -106
  711. package/package.json +8 -8
  712. package/dist/chunks/tool-00ve6mdn.js +0 -18
  713. package/dist/chunks/tool-axtqa2m2.js +0 -26
  714. package/dist/chunks/tool-hknrdqqs.js +0 -257
  715. package/dist/chunks/tool-s8gnseh8.js +0 -511
  716. /package/dist/chunks/{tool-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  717. /package/dist/chunks/{tool-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  718. /package/dist/chunks/{tool-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  719. /package/dist/chunks/{tool-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  720. /package/dist/chunks/{tool-1jakw16s.js → worktree-1jakw16s.js} +0 -0
  721. /package/dist/chunks/{tool-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  722. /package/dist/chunks/{tool-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  723. /package/dist/chunks/{tool-2bv980vf.js → worktree-2bv980vf.js} +0 -0
  724. /package/dist/chunks/{tool-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  725. /package/dist/chunks/{tool-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  726. /package/dist/chunks/{tool-3asan66x.js → worktree-3asan66x.js} +0 -0
  727. /package/dist/chunks/{tool-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  728. /package/dist/chunks/{tool-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  729. /package/dist/chunks/{tool-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  730. /package/dist/chunks/{tool-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  731. /package/dist/chunks/{tool-4m86bj6y.js → worktree-4m86bj6y.js} +0 -0
  732. /package/dist/chunks/{tool-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  733. /package/dist/chunks/{tool-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  734. /package/dist/chunks/{tool-53557ph1.js → worktree-53557ph1.js} +0 -0
  735. /package/dist/chunks/{tool-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  736. /package/dist/chunks/{tool-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
  737. /package/dist/chunks/{tool-6prwharc.js → worktree-6prwharc.js} +0 -0
  738. /package/dist/chunks/{tool-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
  739. /package/dist/chunks/{tool-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  740. /package/dist/chunks/{tool-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  741. /package/dist/chunks/{tool-822emrt2.js → worktree-822emrt2.js} +0 -0
  742. /package/dist/chunks/{tool-84wd9syh.js → worktree-84wd9syh.js} +0 -0
  743. /package/dist/chunks/{tool-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  744. /package/dist/chunks/{tool-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  745. /package/dist/chunks/{tool-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  746. /package/dist/chunks/{tool-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  747. /package/dist/chunks/{tool-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  748. /package/dist/chunks/{tool-a058387c.js → worktree-a058387c.js} +0 -0
  749. /package/dist/chunks/{tool-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  750. /package/dist/chunks/{tool-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  751. /package/dist/chunks/{tool-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  752. /package/dist/chunks/{tool-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  753. /package/dist/chunks/{tool-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  754. /package/dist/chunks/{tool-beh6qq61.js → worktree-beh6qq61.js} +0 -0
  755. /package/dist/chunks/{tool-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  756. /package/dist/chunks/{tool-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  757. /package/dist/chunks/{tool-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  758. /package/dist/chunks/{tool-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
  759. /package/dist/chunks/{tool-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  760. /package/dist/chunks/{tool-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  761. /package/dist/chunks/{tool-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  762. /package/dist/chunks/{tool-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  763. /package/dist/chunks/{tool-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  764. /package/dist/chunks/{tool-df08tz66.js → worktree-df08tz66.js} +0 -0
  765. /package/dist/chunks/{tool-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  766. /package/dist/chunks/{tool-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  767. /package/dist/chunks/{tool-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  768. /package/dist/chunks/{tool-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  769. /package/dist/chunks/{tool-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  770. /package/dist/chunks/{tool-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  771. /package/dist/chunks/{tool-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  772. /package/dist/chunks/{tool-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  773. /package/dist/chunks/{tool-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  774. /package/dist/chunks/{tool-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  775. /package/dist/chunks/{tool-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
  776. /package/dist/chunks/{tool-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  777. /package/dist/chunks/{tool-g86h250q.js → worktree-g86h250q.js} +0 -0
  778. /package/dist/chunks/{tool-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  779. /package/dist/chunks/{tool-gftt206x.js → worktree-gftt206x.js} +0 -0
  780. /package/dist/chunks/{tool-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
  781. /package/dist/chunks/{tool-hk9envan.js → worktree-hk9envan.js} +0 -0
  782. /package/dist/chunks/{tool-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  783. /package/dist/chunks/{tool-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  784. /package/dist/chunks/{tool-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  785. /package/dist/chunks/{tool-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  786. /package/dist/chunks/{tool-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  787. /package/dist/chunks/{tool-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
  788. /package/dist/chunks/{tool-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
  789. /package/dist/chunks/{tool-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  790. /package/dist/chunks/{tool-m18g726c.js → worktree-m18g726c.js} +0 -0
  791. /package/dist/chunks/{tool-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  792. /package/dist/chunks/{tool-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  793. /package/dist/chunks/{tool-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  794. /package/dist/chunks/{tool-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  795. /package/dist/chunks/{tool-ncqqe42p.js → worktree-ncqqe42p.js} +0 -0
  796. /package/dist/chunks/{tool-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  797. /package/dist/chunks/{tool-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
  798. /package/dist/chunks/{tool-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  799. /package/dist/chunks/{tool-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  800. /package/dist/chunks/{tool-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  801. /package/dist/chunks/{tool-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  802. /package/dist/chunks/{tool-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  803. /package/dist/chunks/{tool-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  804. /package/dist/chunks/{tool-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  805. /package/dist/chunks/{tool-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  806. /package/dist/chunks/{tool-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  807. /package/dist/chunks/{tool-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  808. /package/dist/chunks/{tool-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
  809. /package/dist/chunks/{tool-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  810. /package/dist/chunks/{tool-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  811. /package/dist/chunks/{tool-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  812. /package/dist/chunks/{tool-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  813. /package/dist/chunks/{tool-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  814. /package/dist/chunks/{tool-x61499pn.js → worktree-x61499pn.js} +0 -0
  815. /package/dist/chunks/{tool-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  816. /package/dist/chunks/{tool-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  817. /package/dist/chunks/{tool-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  818. /package/dist/chunks/{tool-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  819. /package/dist/chunks/{tool-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
  820. /package/dist/chunks/{tool-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./tool-11hfp36g.js";
3
+ } from "./worktree-8jztxfpf.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service10,
13
+ node: () => node12
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service10 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service10.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service10, node12, exports_update };
@@ -1,138 +1,138 @@
1
1
  import {
2
2
  Metadata2,
3
- node52
4
- } from "./tool-scjxmssc.js";
3
+ node57
4
+ } from "./worktree-797vxkjx.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./tool-sar0kh51.js";
8
+ } from "./worktree-sre4ebqw.js";
9
9
  import {
10
- ID8,
11
- Service64,
12
- node67
13
- } from "./tool-1ftdw7h3.js";
10
+ ID9,
11
+ Service58,
12
+ node61
13
+ } from "./worktree-vpvfxw07.js";
14
14
  import {
15
- ID14,
15
+ ID17,
16
16
  OAuth3
17
- } from "./tool-0j8sypb1.js";
17
+ } from "./worktree-qb1ewmbb.js";
18
18
  import {
19
- ID13,
19
+ ID16,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service78,
24
- node82
25
- } from "./tool-s36045k5.js";
26
- import {
27
- AbsolutePath2
28
- } from "./tool-z5v4ffb3.js";
29
- import {
30
- Info28,
31
- Ref5,
32
23
  Service82,
33
24
  node86
34
- } from "./tool-v9m2ypfg.js";
35
- import {
36
- ID12,
37
- Service77,
38
- node81
39
- } from "./tool-q4vfmnms.js";
25
+ } from "./worktree-8eks9rwf.js";
40
26
  import {
41
- Service56,
42
- node59
43
- } from "./tool-m6s8mxr7.js";
27
+ AbsolutePath2
28
+ } from "./worktree-z5v4ffb3.js";
44
29
  import {
45
- Service49,
46
- node51
47
- } from "./tool-0c8f71n7.js";
30
+ Info23,
31
+ Ref4,
32
+ Service76,
33
+ node80
34
+ } from "./worktree-yezzex3p.js";
48
35
  import {
36
+ ID13,
49
37
  Service75,
50
38
  node79
51
- } from "./tool-qb7a72fd.js";
39
+ } from "./worktree-wsp5yfww.js";
52
40
  import {
53
- Service52,
54
- node55
55
- } from "./tool-4xer52tg.js";
41
+ Service73,
42
+ node77
43
+ } from "./worktree-c7rwyadp.js";
56
44
  import {
57
- ID11,
58
- Service76,
59
- node80
60
- } from "./tool-v8t9vyt9.js";
45
+ Service37,
46
+ node40
47
+ } from "./worktree-t5qvjzk2.js";
61
48
  import {
62
- ID9
63
- } from "./tool-68x0q3w1.js";
49
+ Service79,
50
+ node83
51
+ } from "./worktree-srjnrtdm.js";
64
52
  import {
65
- Service39,
66
- node42
67
- } from "./tool-1t618e4c.js";
53
+ Service65,
54
+ node68
55
+ } from "./worktree-e7d3gm04.js";
56
+ import {
57
+ ID12,
58
+ Service74,
59
+ node78
60
+ } from "./worktree-9kynvh8b.js";
61
+ import {
62
+ ID11
63
+ } from "./worktree-n28y46dr.js";
68
64
  import {
69
- Key2,
70
65
  Service32,
71
- node35
72
- } from "./tool-hwp1rwn1.js";
66
+ node36
67
+ } from "./worktree-nxbxez3p.js";
73
68
  import {
74
- Service71,
75
- node75
76
- } from "./tool-nad4mkqt.js";
69
+ Key2,
70
+ Service24,
71
+ node28
72
+ } from "./worktree-66s7d1kd.js";
77
73
  import {
78
- Service61,
79
- node64
80
- } from "./tool-4h4e17dv.js";
74
+ Service59,
75
+ node62
76
+ } from "./worktree-6ydy7p7m.js";
81
77
  import {
82
- Service58,
83
- node61,
78
+ Service55,
79
+ node58
80
+ } from "./worktree-3kwhg78p.js";
81
+ import {
82
+ Service47,
83
+ node49,
84
84
  Error3
85
- } from "./tool-d05zg70t.js";
85
+ } from "./worktree-hwa72p18.js";
86
86
  import {
87
87
  Source4,
88
- Service53,
89
- node56
90
- } from "./tool-7t6vbzys.js";
88
+ Service51,
89
+ node53
90
+ } from "./worktree-bqmhzrvj.js";
91
91
  import {
92
- Info10,
93
- Service48,
94
- node50
95
- } from "./tool-bq6jjxqp.js";
92
+ Info7,
93
+ Service40,
94
+ node43
95
+ } from "./worktree-fk6tkz52.js";
96
96
  import {
97
- Service26,
98
- node29
99
- } from "./tool-46hcmk88.js";
97
+ Service21,
98
+ node24
99
+ } from "./worktree-1cwaa6j3.js";
100
100
  import {
101
- Service19,
102
- node22
103
- } from "./tool-q2j9e0vw.js";
101
+ Service53,
102
+ node55
103
+ } from "./worktree-bds5er22.js";
104
104
  import {
105
- Service60,
106
- node63,
105
+ Service50,
106
+ node52,
107
107
  eventDefinition2
108
- } from "./tool-6g0tafez.js";
108
+ } from "./worktree-b8fkm456.js";
109
109
  import {
110
- Service18,
111
- node21
112
- } from "./tool-jh6e5x5q.js";
110
+ Service52,
111
+ node54
112
+ } from "./worktree-1hraz18d.js";
113
113
  import {
114
114
  ID4,
115
- Service21,
116
- node24
117
- } from "./tool-dp2cvfdy.js";
115
+ Service20,
116
+ node23
117
+ } from "./worktree-fz81h3y8.js";
118
118
  import {
119
- Service23,
120
- node26
121
- } from "./tool-gn34jygc.js";
119
+ Service64,
120
+ node67
121
+ } from "./worktree-3z9x6b48.js";
122
122
  import {
123
123
  StrategyID2,
124
- Info6,
125
- ListEntry2,
126
- Service22,
127
- node25
128
- } from "./tool-ngbav3vd.js";
124
+ Info19,
125
+ ListEntry3,
126
+ Service63,
127
+ node66
128
+ } from "./worktree-hzn7nsdm.js";
129
129
  import {
130
- Service20,
131
- node23
132
- } from "./tool-mwg5k7zj.js";
130
+ Service71,
131
+ node75
132
+ } from "./worktree-2xppje48.js";
133
133
  import {
134
134
  __export
135
- } from "./tool-9rqn6x4v.js";
135
+ } from "./worktree-9rqn6x4v.js";
136
136
 
137
137
  // src/plugin/host.ts
138
138
  var exports_host = {};
@@ -152,51 +152,51 @@ var isRpcEvent = (event) => isRpcType(event.type);
152
152
  var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
153
153
  var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
154
154
  const app = yield* Metadata2;
155
- const agents = yield* Service64;
156
- const aisdk = yield* Service56;
157
- const providers = yield* Service77;
158
- const models = yield* Service76;
159
- const commands = yield* Service49;
155
+ const agents = yield* Service58;
156
+ const aisdk = yield* Service73;
157
+ const providers = yield* Service75;
158
+ const models = yield* Service74;
159
+ const commands = yield* Service37;
160
160
  const bus = yield* Service85;
161
- const integration = yield* Service78;
162
- const kv = yield* Service75;
163
- const mcp = yield* Service39;
164
- const location = yield* Service82;
165
- const reference = yield* Service53;
166
- const rpc = yield* Service60;
167
- const skill = yield* Service48;
168
- const tools = yield* Service58;
169
- const vcs = yield* Service18;
170
- const websearch = yield* Service21;
171
- const generate = yield* Service20;
161
+ const integration = yield* Service82;
162
+ const kv = yield* Service79;
163
+ const mcp = yield* Service32;
164
+ const location = yield* Service76;
165
+ const reference = yield* Service51;
166
+ const rpc = yield* Service50;
167
+ const skill = yield* Service40;
168
+ const tools = yield* Service47;
169
+ const vcs = yield* Service52;
170
+ const websearch = yield* Service20;
171
+ const generate = yield* Service71;
172
172
  const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
173
- const permission = yield* Service61;
174
- const hooks = yield* Service71;
175
- const sessions = yield* Service26;
176
- const instructionEntries = yield* Service32;
177
- const persistentPty = yield* Service19;
178
- const locations = yield* Service52;
179
- const worktrees = yield* Service22;
180
- const worktreeStrategies = yield* Service23;
173
+ const permission = yield* Service55;
174
+ const hooks = yield* Service59;
175
+ const sessions = yield* Service21;
176
+ const instructionEntries = yield* Service24;
177
+ const persistentPty = yield* Service53;
178
+ const locations = yield* Service65;
179
+ const worktrees = yield* Service63;
180
+ const worktreeStrategies = yield* Service64;
181
181
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
182
- const locationInfo = () => new Info28({
182
+ const locationInfo = () => new Info23({
183
183
  directory: location.directory,
184
184
  workspaceID: location.workspaceID,
185
185
  project: location.project
186
186
  });
187
- const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
187
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
188
188
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
189
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID9.make(input.location.workspace)
189
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
190
190
  });
191
191
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
192
192
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
193
- const decodeWorktree = Schema.decodeUnknownEffect(Info6);
194
- const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
193
+ const decodeWorktree = Schema.decodeUnknownEffect(Info19);
194
+ const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
195
195
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
196
- const location = yield* Service82;
197
- const agents = yield* Service64;
196
+ const location = yield* Service76;
197
+ const agents = yield* Service58;
198
198
  return {
199
- location: new Info28({
199
+ location: new Info23({
200
200
  directory: location.directory,
201
201
  workspaceID: location.workspaceID,
202
202
  project: location.project
@@ -228,10 +228,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
228
228
  transform: (callback) => agents.transform((editor) => {
229
229
  callback({
230
230
  list: editor.list,
231
- get: (id) => editor.get(ID8.make(id)),
232
- default: (id) => editor.default(id === undefined ? undefined : ID8.make(id)),
233
- update: (id, update) => editor.update(ID8.make(id), update),
234
- remove: (id) => editor.remove(ID8.make(id))
231
+ get: (id) => editor.get(ID9.make(id)),
232
+ default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
233
+ update: (id, update) => editor.update(ID9.make(id), update),
234
+ remove: (id) => editor.remove(ID9.make(id))
235
235
  });
236
236
  })
237
237
  },
@@ -265,22 +265,22 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
265
265
  },
266
266
  provider: {
267
267
  list: () => response(providers.available()),
268
- get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
268
+ get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
269
269
  reload: providers.reload,
270
270
  transform: (callback) => providers.transform((editor) => {
271
271
  callback({
272
272
  list: editor.list,
273
- get: (id) => editor.get(ID12.make(id)),
273
+ get: (id) => editor.get(ID13.make(id)),
274
274
  add: (definition) => editor.add({
275
275
  ...definition,
276
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
276
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID17.make(definition.sourceConnection.id) } : definition.sourceConnection
277
277
  }),
278
- update: (id, update) => editor.update(ID12.make(id), update),
279
- remove: (id) => editor.remove(ID12.make(id)),
278
+ update: (id, update) => editor.update(ID13.make(id), update),
279
+ remove: (id) => editor.remove(ID13.make(id)),
280
280
  models: {
281
- set: (id, models) => editor.models.set(ID12.make(id), models),
282
- update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
283
- remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
281
+ set: (id, models) => editor.models.set(ID13.make(id), models),
282
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
283
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
284
284
  }
285
285
  });
286
286
  })
@@ -290,17 +290,17 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
290
290
  default: () => response(models.default()),
291
291
  reload: models.reload,
292
292
  transform: (callback) => models.transform((editor) => callback({
293
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
294
- get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
295
- update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
296
- remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
293
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
294
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
295
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
296
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
297
297
  default: {
298
298
  get: editor.default.get,
299
- set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
299
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
300
300
  },
301
301
  provider: {
302
302
  list: editor.provider.list,
303
- get: (id) => editor.provider.get(ID12.make(id))
303
+ get: (id) => editor.provider.get(ID13.make(id))
304
304
  }
305
305
  }))
306
306
  },
@@ -347,20 +347,20 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
347
347
  integration: {
348
348
  list: () => response(integration.list()),
349
349
  get: Effect.fn(function* (input) {
350
- const item = yield* integration.get(ID13.make(input.integrationID));
350
+ const item = yield* integration.get(ID16.make(input.integrationID));
351
351
  if (!item)
352
352
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
353
353
  return yield* response(Effect.succeed(item));
354
354
  }),
355
355
  connect: {
356
356
  key: (input) => integration.connection.key({
357
- integrationID: ID13.make(input.integrationID),
357
+ integrationID: ID16.make(input.integrationID),
358
358
  key: input.key,
359
359
  answer: input.answer,
360
360
  label: input.label
361
361
  }),
362
362
  external: (input) => integration.connection.external({
363
- integrationID: ID13.make(input.integrationID),
363
+ integrationID: ID16.make(input.integrationID),
364
364
  methodID: MethodID2.make(input.methodID),
365
365
  answer: input.answer,
366
366
  label: input.label
@@ -368,60 +368,60 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
368
368
  },
369
369
  oauth: {
370
370
  connect: (input) => response(integration.oauth.connect({
371
- integrationID: ID13.make(input.integrationID),
371
+ integrationID: ID16.make(input.integrationID),
372
372
  methodID: MethodID2.make(input.methodID),
373
373
  answer: input.answer,
374
374
  label: input.label
375
375
  })),
376
376
  status: (input) => response(integration.oauth.status({
377
- integrationID: ID13.make(input.integrationID),
377
+ integrationID: ID16.make(input.integrationID),
378
378
  attemptID: AttemptID2.make(input.attemptID)
379
379
  })),
380
380
  complete: (input) => integration.oauth.complete({
381
- integrationID: ID13.make(input.integrationID),
381
+ integrationID: ID16.make(input.integrationID),
382
382
  attemptID: AttemptID2.make(input.attemptID),
383
383
  code: input.code
384
384
  }),
385
385
  cancel: (input) => integration.oauth.cancel({
386
- integrationID: ID13.make(input.integrationID),
386
+ integrationID: ID16.make(input.integrationID),
387
387
  attemptID: AttemptID2.make(input.attemptID)
388
388
  })
389
389
  },
390
390
  command: {
391
391
  connect: (input) => response(integration.command.connect({
392
- integrationID: ID13.make(input.integrationID),
392
+ integrationID: ID16.make(input.integrationID),
393
393
  methodID: MethodID2.make(input.methodID),
394
394
  label: input.label
395
395
  })),
396
396
  status: (input) => response(integration.command.status({
397
- integrationID: ID13.make(input.integrationID),
397
+ integrationID: ID16.make(input.integrationID),
398
398
  attemptID: AttemptID2.make(input.attemptID)
399
399
  })),
400
400
  cancel: (input) => integration.command.cancel({
401
- integrationID: ID13.make(input.integrationID),
401
+ integrationID: ID16.make(input.integrationID),
402
402
  attemptID: AttemptID2.make(input.attemptID)
403
403
  })
404
404
  },
405
405
  reload: integration.reload,
406
406
  connection: {
407
- active: (id) => integration.connection.active(ID13.make(id)),
408
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection),
407
+ active: (id) => integration.connection.active(ID16.make(id)),
408
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection),
409
409
  status: (input) => integration.connection.status({
410
- integrationID: ID13.make(input.integrationID),
411
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID14.make(input.connection.id) } : input.connection,
410
+ integrationID: ID16.make(input.integrationID),
411
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID17.make(input.connection.id) } : input.connection,
412
412
  status: input.status
413
413
  })
414
414
  },
415
415
  transform: (callback) => integration.transform((editor) => {
416
416
  callback({
417
417
  list: editor.list,
418
- get: (id) => editor.get(ID13.make(id)),
419
- update: (id, update) => editor.update(ID13.make(id), update),
420
- remove: (id) => editor.remove(ID13.make(id)),
418
+ get: (id) => editor.get(ID16.make(id)),
419
+ update: (id, update) => editor.update(ID16.make(id), update),
420
+ remove: (id) => editor.remove(ID16.make(id)),
421
421
  method: {
422
- list: (id) => editor.method.list(ID13.make(id)),
422
+ list: (id) => editor.method.list(ID16.make(id)),
423
423
  update: (input) => editor.method.update(methodImplementation(input)),
424
- remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
424
+ remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
425
425
  }
426
426
  });
427
427
  })
@@ -431,10 +431,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
431
431
  const ref = locationRef(input);
432
432
  if (ref && !isCurrentLocation(ref))
433
433
  return Effect.gen(function* () {
434
- const location = yield* Service82;
435
- const mcp = yield* Service39;
434
+ const location = yield* Service76;
435
+ const mcp = yield* Service32;
436
436
  return {
437
- location: new Info28({
437
+ location: new Info23({
438
438
  directory: location.directory,
439
439
  workspaceID: location.workspaceID,
440
440
  project: location.project
@@ -488,7 +488,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
488
488
  callback({
489
489
  list: () => mutable(editor.list()),
490
490
  get: editor.get,
491
- add: (value) => editor.add(Schema.decodeUnknownSync(Info10)(value)),
491
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info7)(value)),
492
492
  update: editor.update,
493
493
  remove: editor.remove
494
494
  });
@@ -562,7 +562,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
562
562
  metadata: input?.metadata,
563
563
  permissions: input?.permissions,
564
564
  ...input?.parentID === undefined ? {
565
- location: input?.location ?? Ref5.make({ directory: location.directory, workspaceID: location.workspaceID })
565
+ location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
566
566
  } : { parentID: input.parentID }
567
567
  }),
568
568
  get: (input) => sessions.get(input.sessionID),
@@ -610,32 +610,32 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
610
610
  return context;
611
611
  });
612
612
  var requirements3 = LayerNode.group([
613
- node52,
614
- node67,
615
- node59,
616
- node81,
617
- node80,
618
- node51,
619
- node89,
620
- node82,
613
+ node57,
614
+ node61,
615
+ node77,
621
616
  node79,
622
- node42,
617
+ node78,
618
+ node40,
619
+ node89,
623
620
  node86,
624
- node56,
625
- node63,
626
- node50,
627
- node61,
628
- node21,
629
- node24,
630
- node25,
631
- node26,
621
+ node83,
622
+ node36,
623
+ node80,
624
+ node53,
625
+ node52,
626
+ node43,
627
+ node49,
628
+ node54,
632
629
  node23,
633
- node64,
630
+ node66,
631
+ node67,
634
632
  node75,
635
- node29,
636
- node35,
637
- node22,
638
- node55
633
+ node58,
634
+ node62,
635
+ node24,
636
+ node28,
637
+ node55,
638
+ node68
639
639
  ]);
640
640
  function storage2(kv, pluginID) {
641
641
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -662,7 +662,7 @@ function methodImplementation(input) {
662
662
  if ("authorize" in input) {
663
663
  const refresh = input.refresh;
664
664
  return {
665
- integrationID: ID13.make(input.integrationID),
665
+ integrationID: ID16.make(input.integrationID),
666
666
  method: { ...input.method, id: MethodID2.make(input.method.id) },
667
667
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
668
668
  if (authorization.mode === "auto") {
@@ -682,24 +682,24 @@ function methodImplementation(input) {
682
682
  }
683
683
  if (input.method.type === "env") {
684
684
  return {
685
- integrationID: ID13.make(input.integrationID),
685
+ integrationID: ID16.make(input.integrationID),
686
686
  method: input.method
687
687
  };
688
688
  }
689
689
  if (input.method.type === "command") {
690
690
  return {
691
- integrationID: ID13.make(input.integrationID),
691
+ integrationID: ID16.make(input.integrationID),
692
692
  method: { ...input.method, id: MethodID2.make(input.method.id) }
693
693
  };
694
694
  }
695
695
  if (input.method.type === "external") {
696
696
  return {
697
- integrationID: ID13.make(input.integrationID),
697
+ integrationID: ID16.make(input.integrationID),
698
698
  method: { ...input.method, id: MethodID2.make(input.method.id) }
699
699
  };
700
700
  }
701
701
  return {
702
- integrationID: ID13.make(input.integrationID),
702
+ integrationID: ID16.make(input.integrationID),
703
703
  method: input.method
704
704
  };
705
705
  }
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./tool-wakvkjy4.js";
4
+ } from "./worktree-wakvkjy4.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./tool-qfa1cgps.js";
7
+ } from "./worktree-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./tool-aj7mw0zk.js";
10
+ } from "./worktree-034tev2y.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";