@opencode/core 0.0.0-dev-19863 → 0.0.0-dev-19869

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-access-7nag52br.js → worktree-0787dcsh.js} +16 -16
  8. package/dist/chunks/{file-access-4fxenty0.js → worktree-0k4c1wrr.js} +18 -18
  9. package/dist/chunks/{file-access-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{file-access-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{file-access-80vay0ye.js → worktree-0w85qfcj.js} +8 -8
  12. package/dist/chunks/{file-access-2ehxpneg.js → worktree-11s59a84.js} +12 -12
  13. package/dist/chunks/{file-access-vykcaabf.js → worktree-1218kfkx.js} +6 -6
  14. package/dist/chunks/{file-access-fekv09bf.js → worktree-19x32724.js} +89 -89
  15. package/dist/chunks/{file-access-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{file-access-6br953sr.js → worktree-1mrwszqa.js} +4 -4
  17. package/dist/chunks/{file-access-nbbbac21.js → worktree-1rc4386p.js} +22 -22
  18. package/dist/chunks/{file-access-tr06x23f.js → worktree-1rk9t83t.js} +10 -10
  19. package/dist/chunks/{file-access-749gjf0k.js → worktree-1sqm6k0j.js} +3 -3
  20. package/dist/chunks/{file-access-1ygqh575.js → worktree-1ygqh575.js} +2 -2
  21. package/dist/chunks/{file-access-9z5eege9.js → worktree-218c6ez9.js} +9 -9
  22. package/dist/chunks/{file-access-21r38tys.js → worktree-21r38tys.js} +1 -1
  23. package/dist/chunks/{file-access-2402vzrj.js → worktree-2402vzrj.js} +1 -1
  24. package/dist/chunks/{file-access-cg505evj.js → worktree-2463j9pj.js} +15 -15
  25. package/dist/chunks/{file-access-m8pm17pr.js → worktree-246ka326.js} +16 -16
  26. package/dist/chunks/{file-access-dkycemac.js → worktree-24ddpwsm.js} +13 -13
  27. package/dist/chunks/{file-access-g8mfynjh.js → worktree-28544jz8.js} +5 -5
  28. package/dist/chunks/{file-access-7rhez3ay.js → worktree-287pmr97.js} +13 -13
  29. package/dist/chunks/{file-access-990r0brb.js → worktree-28cf9raz.js} +43 -43
  30. package/dist/chunks/{file-access-z63w68vq.js → worktree-29x78va6.js} +6 -6
  31. package/dist/chunks/{file-access-gmdq7e7c.js → worktree-29xxxnfh.js} +16 -16
  32. package/dist/chunks/{file-access-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{file-access-xc4ptd00.js → worktree-2dwhn3my.js} +23 -23
  34. package/dist/chunks/{file-access-57ez7d0k.js → worktree-2w6fc0zt.js} +7 -7
  35. package/dist/chunks/{file-access-ymhwy2dz.js → worktree-34g626t1.js} +26 -26
  36. package/dist/chunks/{file-access-3801kdgp.js → worktree-3801kdgp.js} +2 -2
  37. package/dist/chunks/{file-access-73kdj4zj.js → worktree-3a83a0n4.js} +8 -8
  38. package/dist/chunks/{file-access-3t104818.js → worktree-3bpj6ceb.js} +11 -11
  39. package/dist/chunks/{file-access-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{file-access-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{file-access-myjzxhnr.js → worktree-3j8s7hm7.js} +7 -7
  42. package/dist/chunks/{file-access-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{file-access-6ngywp90.js → worktree-3t8frjm5.js} +4 -4
  44. package/dist/chunks/{file-access-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{file-access-c78bbtc9.js → worktree-3w2b2yj4.js} +5 -5
  46. package/dist/chunks/{file-access-8s8mxddj.js → worktree-3ythc6yv.js} +4 -4
  47. package/dist/chunks/{file-access-bjr5keq3.js → worktree-45fhr245.js} +22 -22
  48. package/dist/chunks/{file-access-ct4e4g17.js → worktree-49asqp28.js} +20 -20
  49. package/dist/chunks/{file-access-gg9g55xx.js → worktree-4jk0qxj4.js} +8 -8
  50. package/dist/chunks/{file-access-dmaq6vaq.js → worktree-4xkxc3t4.js} +12 -12
  51. package/dist/chunks/{file-access-9gea571p.js → worktree-51f5btjf.js} +6 -6
  52. package/dist/chunks/{file-access-gqx40acz.js → worktree-54ptgeb2.js} +26 -26
  53. package/dist/chunks/{file-access-f71ryja2.js → worktree-57a2pt8j.js} +11 -11
  54. package/dist/chunks/{file-access-y47hdg98.js → worktree-59km82at.js} +26 -26
  55. package/dist/chunks/{file-access-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  56. package/dist/chunks/{file-access-nhy1v657.js → worktree-5gczjwyk.js} +24 -24
  57. package/dist/chunks/{file-access-b09hzw3k.js → worktree-5nb2d01r.js} +2 -2
  58. package/dist/chunks/{file-access-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{file-access-9hn6k4tm.js → worktree-5xtgfte3.js} +8 -8
  60. package/dist/chunks/{file-access-76eeqvp0.js → worktree-64mbz47k.js} +6 -6
  61. package/dist/chunks/{file-access-669tq793.js → worktree-669tq793.js} +1 -1
  62. package/dist/chunks/{file-access-yw9d9gv0.js → worktree-6a90knky.js} +11 -11
  63. package/dist/chunks/{file-access-by699wbx.js → worktree-6d4vre1e.js} +33 -33
  64. package/dist/chunks/{file-access-587z1aba.js → worktree-6h7j3cy3.js} +57 -57
  65. package/dist/chunks/{file-access-p20b49vp.js → worktree-6hqwt1nw.js} +15 -15
  66. package/dist/chunks/{file-access-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{file-access-qwc1ntf4.js → worktree-6srgc5f7.js} +26 -26
  68. package/dist/chunks/{file-access-h2r7bbkd.js → worktree-6stnv1c0.js} +11 -11
  69. package/dist/chunks/{file-access-pjk7etnw.js → worktree-6tm94hss.js} +5 -5
  70. package/dist/chunks/worktree-6zs4aaxp.js +252 -0
  71. package/dist/chunks/{file-access-cfvwxf1e.js → worktree-6zwr9q5m.js} +53 -53
  72. package/dist/chunks/{file-access-zbt6ewdw.js → worktree-70eyy827.js} +16 -16
  73. package/dist/chunks/{file-access-ywtj6b3p.js → worktree-70x5mss4.js} +32 -32
  74. package/dist/chunks/{file-access-hcjxfz2r.js → worktree-71a6hfp5.js} +20 -20
  75. package/dist/chunks/{file-access-na55b3aj.js → worktree-75ah400z.js} +27 -27
  76. package/dist/chunks/{file-access-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{file-access-wargq46t.js → worktree-7k0xwvvh.js} +8 -8
  78. package/dist/chunks/{file-access-ymy3mzn4.js → worktree-7kdkzndg.js} +35 -35
  79. package/dist/chunks/{file-access-320sf96d.js → worktree-7kxej2em.js} +19 -19
  80. package/dist/chunks/{file-access-bqgqs8e0.js → worktree-7zsm68gg.js} +10 -10
  81. package/dist/chunks/{file-access-55bxwjz5.js → worktree-8b4cgdt8.js} +27 -27
  82. package/dist/chunks/{file-access-hs4q6rma.js → worktree-8d55p9gd.js} +43 -43
  83. package/dist/chunks/{file-access-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{file-access-cpzp4n4f.js → worktree-8dz1vcbc.js} +21 -21
  85. package/dist/chunks/{file-access-65amc4wc.js → worktree-8emwh38k.js} +17 -17
  86. package/dist/chunks/{file-access-dj2t23y0.js → worktree-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{file-access-qsm0cf7x.js → worktree-90wr37ay.js} +5 -5
  88. package/dist/chunks/{file-access-j81snqjq.js → worktree-9pj1d4f4.js} +33 -33
  89. package/dist/chunks/{file-access-hbffz1ak.js → worktree-9racvqph.js} +22 -26
  90. package/dist/chunks/{file-access-8dh3tjm7.js → worktree-9w5k7bqz.js} +5 -5
  91. package/dist/chunks/{file-access-zkhjfb6b.js → worktree-9ymcqn9e.js} +6 -6
  92. package/dist/chunks/{file-access-5c4hm403.js → worktree-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{file-access-7qdpe4cb.js → worktree-a881zpfh.js} +9 -9
  94. package/dist/chunks/{file-access-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  95. package/dist/chunks/{file-access-b9kgzdcb.js → worktree-agnb6b4y.js} +3 -3
  96. package/dist/chunks/{file-access-sgyk931h.js → worktree-am5t4rbj.js} +43 -43
  97. package/dist/chunks/{file-access-cjdw8dac.js → worktree-ank7hx1v.js} +18 -18
  98. package/dist/chunks/{file-access-v5dkyp31.js → worktree-at5d07az.js} +4 -4
  99. package/dist/chunks/{file-access-cv01vac5.js → worktree-aw0v1j7y.js} +7 -7
  100. package/dist/chunks/{file-access-4fqyk320.js → worktree-axxg5j10.js} +27 -27
  101. package/dist/chunks/{file-access-g64s1pw7.js → worktree-b0twfynp.js} +14 -14
  102. package/dist/chunks/{file-access-83whvwx3.js → worktree-b1wsctr3.js} +17 -17
  103. package/dist/chunks/{file-access-4cd0e9e2.js → worktree-b512ytgh.js} +3 -3
  104. package/dist/chunks/{file-access-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{file-access-fa4s9qj6.js → worktree-b6rq28qr.js} +5 -5
  106. package/dist/chunks/{file-access-x9mtwtp0.js → worktree-baasw9zs.js} +4 -4
  107. package/dist/chunks/{file-access-fab8hzt3.js → worktree-bajakh74.js} +4 -4
  108. package/dist/chunks/{file-access-msq0jde0.js → worktree-bccb6npm.js} +4 -4
  109. package/dist/chunks/worktree-bdmzhav8.js +26 -0
  110. package/dist/chunks/{file-access-753eeyv7.js → worktree-bjb9b4mn.js} +20 -20
  111. package/dist/chunks/{file-access-539f8y6e.js → worktree-bkcnheq0.js} +26 -26
  112. package/dist/chunks/{file-access-633q10n3.js → worktree-bmpcrrg0.js} +17 -17
  113. package/dist/chunks/{file-access-q2fxn82f.js → worktree-bmpepz07.js} +5 -5
  114. package/dist/chunks/{file-access-acgtajkt.js → worktree-bnw2aka3.js} +32 -32
  115. package/dist/chunks/{file-access-3e46v5sb.js → worktree-bs95t40t.js} +11 -11
  116. package/dist/chunks/{file-access-zvph5cmm.js → worktree-c4gmtxpm.js} +27 -27
  117. package/dist/chunks/{file-access-cpneeje0.js → worktree-c765mh8b.js} +8 -8
  118. package/dist/chunks/{file-access-f29kztmg.js → worktree-c7t7ttxe.js} +26 -26
  119. package/dist/chunks/{file-access-7bvyxnqv.js → worktree-ccmdabta.js} +3 -3
  120. package/dist/chunks/{file-access-m0jqrx5p.js → worktree-cfpkc3c9.js} +2 -2
  121. package/dist/chunks/{file-access-v9n4nm77.js → worktree-ckdz0ad0.js} +9 -9
  122. package/dist/chunks/{file-access-fgdyrx1e.js → worktree-cwn9cw75.js} +20 -20
  123. package/dist/chunks/{file-access-99sjx0yd.js → worktree-cy5zkmv9.js} +26 -26
  124. package/dist/chunks/{file-access-zrbnsv4e.js → worktree-cye10yf4.js} +15 -15
  125. package/dist/chunks/{file-access-j20k1wmq.js → worktree-czf046f0.js} +9 -9
  126. package/dist/chunks/{file-access-84b5617d.js → worktree-czys4tjs.js} +10 -10
  127. package/dist/chunks/worktree-d34gzn5d.js +326 -0
  128. package/dist/chunks/{file-access-vaxycq8g.js → worktree-de7zd4tj.js} +11 -11
  129. package/dist/chunks/{file-access-ajspsemm.js → worktree-dkgmj00c.js} +11 -11
  130. package/dist/chunks/{file-access-429753mr.js → worktree-dtfx1akz.js} +11 -11
  131. package/dist/chunks/{file-access-5qd3pb7m.js → worktree-e3qxr5gk.js} +2 -2
  132. package/dist/chunks/{file-access-4r3fv45v.js → worktree-e5fd240w.js} +8 -8
  133. package/dist/chunks/{file-access-nnbww75a.js → worktree-e6r8tc5b.js} +24 -24
  134. package/dist/chunks/{file-access-qb83d845.js → worktree-e982br48.js} +4 -4
  135. package/dist/chunks/{file-access-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{file-access-dycq19tv.js → worktree-efkf1zjd.js} +13 -13
  137. package/dist/chunks/{file-access-1bbkgx8g.js → worktree-eq1pz5kg.js} +3 -3
  138. package/dist/chunks/{file-access-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{file-access-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{file-access-f6gdkqfj.js → worktree-exg3tbdv.js} +17 -17
  141. package/dist/chunks/{file-access-hdnk95c8.js → worktree-f828m53h.js} +2 -2
  142. package/dist/chunks/{file-access-x822bj3k.js → worktree-f9yrz0nb.js} +11 -11
  143. package/dist/chunks/{file-access-anf4g2xw.js → worktree-fc1cvdk9.js} +19 -19
  144. package/dist/chunks/{file-access-7dqw4kz8.js → worktree-fcrkznn8.js} +5 -5
  145. package/dist/chunks/{file-access-xk747vep.js → worktree-fhs97t90.js} +8 -8
  146. package/dist/chunks/{file-access-d6n1kzbs.js → worktree-fs0skkb3.js} +24 -24
  147. package/dist/chunks/{file-access-e6hmchc5.js → worktree-fvsyg6qk.js} +5 -5
  148. package/dist/chunks/{file-access-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{file-access-dnwybsw8.js → worktree-g0t6d1hq.js} +13 -13
  150. package/dist/chunks/{file-access-bb29ry6c.js → worktree-g3mn8s68.js} +2 -2
  151. package/dist/chunks/{file-access-aymn0ca3.js → worktree-g5x507wm.js} +176 -176
  152. package/dist/chunks/{file-access-5dkxrwgc.js → worktree-g8hymqtc.js} +29 -29
  153. package/dist/chunks/{file-access-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{file-access-c1bpz4ww.js → worktree-gjnhxr8h.js} +15 -15
  155. package/dist/chunks/{file-access-b91g9yem.js → worktree-gmkwjvek.js} +25 -25
  156. package/dist/chunks/{file-access-973t1awa.js → worktree-gna9rzrz.js} +11 -11
  157. package/dist/chunks/{file-access-73j3stez.js → worktree-gqyhxdpp.js} +23 -23
  158. package/dist/chunks/{file-access-8e2h7wda.js → worktree-gr3j20z5.js} +10 -10
  159. package/dist/chunks/{file-access-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{file-access-07xdjdg8.js → worktree-gxgynv4w.js} +20 -20
  161. package/dist/chunks/{file-access-z6as0dsg.js → worktree-h21m3h6n.js} +6 -6
  162. package/dist/chunks/{file-access-p789xr5w.js → worktree-h36ryfv7.js} +24 -24
  163. package/dist/chunks/{file-access-xkezg9v4.js → worktree-h51w75cp.js} +39 -39
  164. package/dist/chunks/{file-access-h6r3nrb9.js → worktree-h6r3nrb9.js} +1 -1
  165. package/dist/chunks/{file-access-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{file-access-d4we50a8.js → worktree-has2vgfm.js} +5 -5
  167. package/dist/chunks/{file-access-nzh1nzfe.js → worktree-hb7v7ywc.js} +7 -7
  168. package/dist/chunks/{file-access-e4kmf4qy.js → worktree-ht4gnk1k.js} +6 -6
  169. package/dist/chunks/worktree-ht5y0zrb.js +18 -0
  170. package/dist/chunks/{file-access-a694798e.js → worktree-j34dxvpb.js} +5 -5
  171. package/dist/chunks/{file-access-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  172. package/dist/chunks/{file-access-3mkra18j.js → worktree-jjm18tvm.js} +70 -70
  173. package/dist/chunks/{file-access-psbckgmn.js → worktree-jthyzkpc.js} +6 -6
  174. package/dist/chunks/{file-access-f73rjn58.js → worktree-jvf3yq6v.js} +4 -4
  175. package/dist/chunks/{file-access-c1gs3dh6.js → worktree-jyetza0x.js} +44 -44
  176. package/dist/chunks/{file-access-1vvm1q8g.js → worktree-jzrbce6w.js} +21 -25
  177. package/dist/chunks/{file-access-7vxmp99d.js → worktree-k5xfnnfv.js} +11 -11
  178. package/dist/chunks/{file-access-cdafskgp.js → worktree-k8zyetr0.js} +30 -30
  179. package/dist/chunks/{file-access-8jkn9f9x.js → worktree-kcyks54t.js} +8 -8
  180. package/dist/chunks/{file-access-3r15nznh.js → worktree-kt1vcyar.js} +14 -14
  181. package/dist/chunks/{file-access-hmdtv3hb.js → worktree-kvshrfkj.js} +1 -1
  182. package/dist/chunks/{file-access-hx57yszd.js → worktree-ky8bwrva.js} +12 -12
  183. package/dist/chunks/{file-access-2t5vnt8a.js → worktree-m1njnqbf.js} +5 -5
  184. package/dist/chunks/{file-access-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{file-access-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{file-access-5hrwwz9b.js → worktree-mgn7rzyp.js} +9 -9
  187. package/dist/chunks/{file-access-21mxbb5z.js → worktree-mkccyhb3.js} +8 -8
  188. package/dist/chunks/{file-access-tqxh9sy6.js → worktree-mpmcaacv.js} +10 -10
  189. package/dist/chunks/{file-access-ehm8cjhm.js → worktree-mtqf31pt.js} +10 -10
  190. package/dist/chunks/{file-access-bdqw341w.js → worktree-mwwsh29t.js} +9 -9
  191. package/dist/chunks/{file-access-j8zzr2am.js → worktree-n8c291r7.js} +4 -4
  192. package/dist/chunks/{file-access-6f0f4x0a.js → worktree-n9ktaep2.js} +11 -11
  193. package/dist/chunks/{file-access-b6ae6k6t.js → worktree-nm76w6gv.js} +14 -14
  194. package/dist/chunks/{file-access-8wtbgtx1.js → worktree-nrkjg2yg.js} +3 -3
  195. package/dist/chunks/{file-access-pykkax91.js → worktree-ns90ddce.js} +20 -20
  196. package/dist/chunks/{file-access-y6kaprky.js → worktree-nvkemvkp.js} +18 -18
  197. package/dist/chunks/{file-access-nzks3jc8.js → worktree-nzks3jc8.js} +3 -3
  198. package/dist/chunks/{file-access-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
  199. package/dist/chunks/{file-access-r55eyngd.js → worktree-p3d2pjj7.js} +24 -24
  200. package/dist/chunks/{file-access-qy4kp7rq.js → worktree-p3xeg7xc.js} +10 -10
  201. package/dist/chunks/{file-access-x343n0eb.js → worktree-pd15fgp8.js} +20 -20
  202. package/dist/chunks/{file-access-2k71kv7p.js → worktree-ph842b28.js} +4 -4
  203. package/dist/chunks/{file-access-pgd7th8y.js → worktree-pjgmd77a.js} +17 -17
  204. package/dist/chunks/{file-access-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{file-access-pknna89w.js → worktree-pknna89w.js} +1 -1
  206. package/dist/chunks/{file-access-jk18z2h0.js → worktree-pvrysvhk.js} +47 -47
  207. package/dist/chunks/{file-access-8mp2c53x.js → worktree-q5ampng9.js} +44 -44
  208. package/dist/chunks/{file-access-6ra6d4eb.js → worktree-q60qjx67.js} +17 -17
  209. package/dist/chunks/{file-access-r5vpk0b1.js → worktree-qmwxv1vq.js} +4 -4
  210. package/dist/chunks/{file-access-57b9ws8p.js → worktree-qqeeq2t9.js} +4 -4
  211. package/dist/chunks/{file-access-w4arg62q.js → worktree-qqtwvk4z.js} +4 -4
  212. package/dist/chunks/{file-access-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-access-mh6swfa3.js → worktree-qxds82wp.js} +18 -18
  214. package/dist/chunks/{file-access-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{file-access-y6f0p4jw.js → worktree-rj6d5p5e.js} +3 -3
  216. package/dist/chunks/{file-access-pstg3rfm.js → worktree-ryt7pzqc.js} +1 -1
  217. package/dist/chunks/{file-access-r9t00hsy.js → worktree-s0agc963.js} +6 -6
  218. package/dist/chunks/{file-access-q77h0pfr.js → worktree-s197j8aa.js} +1 -1
  219. package/dist/chunks/{file-access-06pazpd1.js → worktree-s1pqek41.js} +10 -10
  220. package/dist/chunks/{file-access-yrznvahk.js → worktree-s4enseaf.js} +2 -2
  221. package/dist/chunks/{file-access-vnk9czdx.js → worktree-sbd1zx3a.js} +3 -3
  222. package/dist/chunks/{file-access-jf9anmv7.js → worktree-sjf3tctt.js} +12 -12
  223. package/dist/chunks/{file-access-w3x9v1nk.js → worktree-sm965ndy.js} +8 -8
  224. package/dist/chunks/{file-access-pecb0brz.js → worktree-sra9araw.js} +5 -5
  225. package/dist/chunks/{file-access-k6fwxkkf.js → worktree-sxnvhwv1.js} +9 -9
  226. package/dist/chunks/{file-access-hnxgzxxa.js → worktree-t0fn9gk0.js} +17 -17
  227. package/dist/chunks/{file-access-ed2prt79.js → worktree-t192gekf.js} +18 -18
  228. package/dist/chunks/{file-access-hqe9mxx7.js → worktree-t3jywk8f.js} +9 -9
  229. package/dist/chunks/{file-access-jw80jp6b.js → worktree-t51qk8jz.js} +21 -21
  230. package/dist/chunks/{file-access-rhjbct0v.js → worktree-t550f9t1.js} +4 -4
  231. package/dist/chunks/{file-access-3kd4kkpe.js → worktree-t9v9zp6z.js} +24 -24
  232. package/dist/chunks/{file-access-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{file-access-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{file-access-tdstcens.js → worktree-tdstcens.js} +1 -1
  235. package/dist/chunks/{file-access-qbw71bk2.js → worktree-tj6nafm8.js} +4 -4
  236. package/dist/chunks/{file-access-wqbdqa8s.js → worktree-tjhrsaf7.js} +24 -24
  237. package/dist/chunks/{file-access-amt0nx1c.js → worktree-tnk6yr9e.js} +11 -11
  238. package/dist/chunks/{file-access-07z80f2r.js → worktree-tnp1bzfj.js} +38 -38
  239. package/dist/chunks/{file-access-ddbmfv8e.js → worktree-ttca00zt.js} +22 -22
  240. package/dist/chunks/{file-access-m0t09dx6.js → worktree-tvfyrrh0.js} +11 -11
  241. package/dist/chunks/{file-access-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  242. package/dist/chunks/{file-access-71wn7kdp.js → worktree-vay95fzq.js} +19 -19
  243. package/dist/chunks/{file-access-8p86mmx1.js → worktree-vcxwaaxe.js} +41 -41
  244. package/dist/chunks/{file-access-t9zs3egg.js → worktree-ve4pfa0n.js} +4 -4
  245. package/dist/chunks/{file-access-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-access-xdbpqf0a.js → worktree-vm7xxkph.js} +47 -47
  247. package/dist/chunks/{file-access-tr6q4q7a.js → worktree-vtmgncrs.js} +296 -296
  248. package/dist/chunks/{file-access-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{file-access-f4kahraq.js → worktree-w16pgjcx.js} +30 -30
  250. package/dist/chunks/{file-access-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{file-access-e7fqda9w.js → worktree-w4sgba9p.js} +30 -30
  252. package/dist/chunks/{file-access-rdqmx1a9.js → worktree-w9wca7t8.js} +15 -15
  253. package/dist/chunks/{file-access-qzhf7ync.js → worktree-w9y6772s.js} +4 -4
  254. package/dist/chunks/{file-access-jjfctqnb.js → worktree-wbgjk9hv.js} +21 -21
  255. package/dist/chunks/{file-access-wd87259q.js → worktree-wd87259q.js} +1 -1
  256. package/dist/chunks/{file-access-x5wzxpg9.js → worktree-wfsp5hpn.js} +15 -15
  257. package/dist/chunks/{file-access-11dqjexa.js → worktree-wk5z6jzv.js} +9 -9
  258. package/dist/chunks/{file-access-t68dv28a.js → worktree-wt5y36s4.js} +25 -25
  259. package/dist/chunks/{file-access-hp80zfgt.js → worktree-wxkrd8sq.js} +14 -14
  260. package/dist/chunks/{file-access-2b61h377.js → worktree-wxqxrmdn.js} +25 -25
  261. package/dist/chunks/{file-access-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{file-access-xw30s5m2.js → worktree-x7vm5fej.js} +18 -18
  263. package/dist/chunks/{file-access-e7rbx3sh.js → worktree-xbgsghrj.js} +15 -15
  264. package/dist/chunks/{file-access-hjc52t7v.js → worktree-xbp7gjm9.js} +12 -12
  265. package/dist/chunks/{file-access-s138ptrs.js → worktree-xgpk3fc4.js} +23 -23
  266. package/dist/chunks/{file-access-33kn07h9.js → worktree-xp0zd8np.js} +26 -26
  267. package/dist/chunks/{file-access-bwckxjxx.js → worktree-xp1ejmsr.js} +11 -11
  268. package/dist/chunks/{file-access-k99v8nfg.js → worktree-xsny6hxq.js} +15 -15
  269. package/dist/chunks/{file-access-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{file-access-zbcka3qa.js → worktree-y23sf9zr.js} +5 -5
  271. package/dist/chunks/{file-access-nvyr67dc.js → worktree-y3eyw53f.js} +4 -4
  272. package/dist/chunks/{file-access-984xje6x.js → worktree-y6a4cmqh.js} +9 -9
  273. package/dist/chunks/{file-access-dpkg50ah.js → worktree-y71avatq.js} +4 -4
  274. package/dist/chunks/{file-access-w66yan3f.js → worktree-yasnnz0a.js} +24 -24
  275. package/dist/chunks/{file-access-32dd2556.js → worktree-yfaww8xg.js} +11 -11
  276. package/dist/chunks/{file-access-1acjjqhc.js → worktree-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{file-access-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{file-access-fyfy8w34.js → worktree-yrmashwv.js} +92 -91
  279. package/dist/chunks/{file-access-50ta80k7.js → worktree-yy256scs.js} +33 -33
  280. package/dist/chunks/{file-access-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{file-access-qs81an5k.js → worktree-z1y70ee3.js} +10 -10
  282. package/dist/chunks/{file-access-ghfx7cxe.js → worktree-z8j5hfwf.js} +6 -6
  283. package/dist/chunks/{file-access-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{file-access-0qthdtb2.js → worktree-zjp9qjhq.js} +38 -38
  285. package/dist/chunks/{file-access-3tq5qxbk.js → worktree-zqx8wcya.js} +6 -6
  286. package/dist/chunks/{file-access-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-access-g7tjr95a.js → worktree-zvffvgzw.js} +7 -7
  288. package/dist/chunks/{file-access-sr7sk3ee.js → worktree-zxj82hcj.js} +31 -31
  289. package/dist/chunks/{file-access-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +80 -80
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +92 -92
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +99 -99
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +4 -4
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +96 -96
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +79 -79
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +82 -82
  432. package/dist/generate.js +100 -100
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +83 -83
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +99 -99
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +101 -101
  474. package/dist/mcp/instructions.js +123 -123
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +97 -97
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +114 -114
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +83 -83
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +2 -2
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +224 -224
  558. package/dist/project/schema.js +6 -6
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +85 -85
  561. package/dist/provider.js +96 -96
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +93 -93
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +133 -133
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +7 -7
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +220 -220
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +150 -150
  584. package/dist/session/history.js +15 -15
  585. package/dist/session/inbox.js +89 -89
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +215 -215
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +4 -4
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +92 -92
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +117 -117
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +121 -121
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +108 -108
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +109 -109
  649. package/dist/tool/plugin/write.js +119 -119
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +12 -12
  654. package/dist/types/mcp/instructions.d.ts +3 -2
  655. package/dist/types/skill/instructions.d.ts +3 -2
  656. package/dist/types/skill.d.ts +2 -2
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/formatter.js +3 -3
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +3 -3
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +91 -91
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +90 -90
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +88 -88
  686. package/dist/websearch.js +83 -83
  687. package/dist/wellknown/plugin.js +75 -75
  688. package/dist/wellknown.js +78 -78
  689. package/dist/workspace/driver.js +7 -7
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +79 -79
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +88 -88
  696. package/dist/worktree.js +95 -95
  697. package/package.json +8 -8
  698. package/dist/chunks/file-access-76fbbr1w.js +0 -326
  699. package/dist/chunks/file-access-7wwxh8rt.js +0 -252
  700. package/dist/chunks/file-access-dxj72tfx.js +0 -18
  701. package/dist/chunks/file-access-w7r2hqeb.js +0 -26
  702. /package/dist/chunks/{file-access-0mesazry.js → worktree-0mesazry.js} +0 -0
  703. /package/dist/chunks/{file-access-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{file-access-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{file-access-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{file-access-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{file-access-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{file-access-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{file-access-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{file-access-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{file-access-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{file-access-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{file-access-3asan66x.js → worktree-3asan66x.js} +0 -0
  714. /package/dist/chunks/{file-access-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{file-access-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{file-access-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{file-access-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{file-access-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{file-access-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{file-access-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{file-access-53557ph1.js → worktree-53557ph1.js} +0 -0
  722. /package/dist/chunks/{file-access-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{file-access-6prwharc.js → worktree-6prwharc.js} +0 -0
  724. /package/dist/chunks/{file-access-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{file-access-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{file-access-822emrt2.js → worktree-822emrt2.js} +0 -0
  727. /package/dist/chunks/{file-access-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{file-access-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{file-access-922hggd3.js → worktree-922hggd3.js} +0 -0
  730. /package/dist/chunks/{file-access-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{file-access-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{file-access-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{file-access-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{file-access-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{file-access-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{file-access-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{file-access-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{file-access-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{file-access-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{file-access-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{file-access-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{file-access-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{file-access-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{file-access-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{file-access-df08tz66.js → worktree-df08tz66.js} +0 -0
  746. /package/dist/chunks/{file-access-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{file-access-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{file-access-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{file-access-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{file-access-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{file-access-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{file-access-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{file-access-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{file-access-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{file-access-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{file-access-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{file-access-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{file-access-g86h250q.js → worktree-g86h250q.js} +0 -0
  759. /package/dist/chunks/{file-access-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{file-access-gftt206x.js → worktree-gftt206x.js} +0 -0
  761. /package/dist/chunks/{file-access-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{file-access-hk9envan.js → worktree-hk9envan.js} +0 -0
  763. /package/dist/chunks/{file-access-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{file-access-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{file-access-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{file-access-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{file-access-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{file-access-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{file-access-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{file-access-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{file-access-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{file-access-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{file-access-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{file-access-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{file-access-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{file-access-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{file-access-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{file-access-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{file-access-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{file-access-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{file-access-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{file-access-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{file-access-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{file-access-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{file-access-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{file-access-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{file-access-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{file-access-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{file-access-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{file-access-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{file-access-x61499pn.js → worktree-x61499pn.js} +0 -0
  792. /package/dist/chunks/{file-access-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{file-access-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{file-access-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{file-access-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{file-access-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{file-access-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,32 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- empty3,
5
- make20,
4
+ make19,
6
5
  diffByKey2
7
- } from "./file-access-rhjbct0v.js";
6
+ } from "./worktree-t550f9t1.js";
8
7
  import {
9
- ID6,
8
+ ID5,
10
9
  Name2,
11
10
  available2,
12
- Service51,
13
- node55
14
- } from "./file-access-73j3stez.js";
11
+ Service40,
12
+ node43
13
+ } from "./worktree-gqyhxdpp.js";
15
14
  import {
16
15
  __export
17
- } from "./file-access-9rqn6x4v.js";
16
+ } from "./worktree-9rqn6x4v.js";
18
17
 
19
18
  // src/skill/instructions.ts
20
- var exports_instructions4 = {};
21
- __export(exports_instructions4, {
22
- Service: () => Service38,
23
- SkillInstructions: () => exports_instructions4,
24
- node: () => node41
19
+ var exports_instructions2 = {};
20
+ __export(exports_instructions2, {
21
+ Service: () => Service30,
22
+ SkillInstructions: () => exports_instructions2,
23
+ node: () => node33
25
24
  });
26
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
26
  import { Context, Effect, Layer, Schema } from "effect";
28
27
  var Summary = Schema.Struct({
29
- id: ID6,
28
+ id: ID5,
30
29
  name: Name2,
31
30
  description: Schema.String
32
31
  });
@@ -61,17 +60,14 @@ var update = (previous, current) => {
61
60
  `);
62
61
  };
63
62
 
64
- class Service38 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service30 extends Context.Service()("@opencode/SkillInstructions") {
65
64
  }
66
- var layer = Layer.effect(Service38, Effect.gen(function* () {
67
- const skills = yield* Service51;
68
- return Service38.of({
69
- load: Effect.fn("SkillInstructions.load")(function* (selection) {
70
- const agent = selection.info;
71
- if (!agent)
72
- return empty3;
73
- const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make20({
65
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
66
+ const skills = yield* Service40;
67
+ return Service30.of({
68
+ load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
+ const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
+ return make19({
75
71
  key: Key3.make("core/skill-guidance"),
76
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -84,6 +80,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
84
80
  })
85
81
  });
86
82
  }));
87
- var node41 = makeLocationNode({ service: Service38, layer, deps: [node55] });
83
+ var node33 = makeLocationNode({ service: Service30, layer, deps: [node43] });
88
84
 
89
- export { Service38, node41, exports_instructions4 };
85
+ export { Service30, node33, exports_instructions2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./file-access-55bxwjz5.js";
2
+ ID12
3
+ } from "./worktree-8b4cgdt8.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID13.googleVertex)
62
+ if (evt.model.providerID !== ID12.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./file-access-ec1grn59.js";
3
+ } from "./worktree-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./file-access-6br953sr.js";
6
+ } from "./worktree-1mrwszqa.js";
7
7
  import {
8
8
  __export
9
- } from "./file-access-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make10,
16
+ make: () => make9,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
99
99
  return true;
100
100
  })
101
101
  });
102
- var make10 = (bus, sessionID) => Effect.gen(function* () {
102
+ var make9 = (bus, sessionID) => Effect.gen(function* () {
103
103
  const decide = yield* policy2(sessionID);
104
104
  const wait = (input) => Effect.gen(function* () {
105
105
  const scheduled = yield* Clock.currentTimeMillis;
@@ -116,4 +116,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
116
116
  return { decide, wait };
117
117
  });
118
118
 
119
- export { isRetryable2, policy2, transient2, make10, exports_retry };
119
+ export { isRetryable2, policy2, transient2, make9, exports_retry };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./file-access-6msgmcgs.js";
4
+ } from "./worktree-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./file-access-qfa1cgps.js";
7
+ } from "./worktree-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./file-access-dj2t23y0.js";
10
+ } from "./worktree-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./file-access-rdw6cm16.js";
3
+ } from "./worktree-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service55,
14
+ Service: () => Service50,
15
15
  SizeError: () => SizeError2,
16
- node: () => node59
16
+ node: () => node52
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service55 extends Context.Service()("@opencode/Image") {
45
+ class Service50 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service55, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service55.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service50.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node59 = makeLocationNode({ service: Service55, layer, deps: [] });
79
+ var node52 = makeLocationNode({ service: Service50, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service55, node59, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service50, node52, exports_image2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-access-2a5m3afh.js";
5
+ } from "./worktree-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./file-access-9rqn6x4v.js";
8
+ } from "./worktree-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./file-access-xdbpqf0a.js";
3
+ } from "./worktree-vm7xxkph.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./file-access-twg0f83k.js";
6
+ } from "./worktree-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./file-access-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-access-dpkg50ah.js";
3
+ } from "./worktree-y71avatq.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./file-access-qb83d845.js";
7
+ } from "./worktree-e982br48.js";
8
+ import {
9
+ Event18,
10
+ Service74,
11
+ node78
12
+ } from "./worktree-tjhrsaf7.js";
8
13
  import {
9
- Event19,
10
14
  Service77,
11
15
  node81
12
- } from "./file-access-wqbdqa8s.js";
13
- import {
14
- Service79,
15
- node83
16
- } from "./file-access-3r15nznh.js";
16
+ } from "./worktree-kt1vcyar.js";
17
17
  import {
18
- Service49,
19
- node52
20
- } from "./file-access-r55eyngd.js";
18
+ Service51,
19
+ node53
20
+ } from "./worktree-p3d2pjj7.js";
21
21
  import {
22
- ID16,
23
- Service78,
24
- node82
25
- } from "./file-access-hcjxfz2r.js";
22
+ ID14,
23
+ Service73,
24
+ node77
25
+ } from "./worktree-71a6hfp5.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./file-access-rdw6cm16.js";
29
+ } from "./worktree-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID13,
32
32
  MethodID2,
33
- Service76,
34
- node80
35
- } from "./file-access-nbbbac21.js";
33
+ Service72,
34
+ node76
35
+ } from "./worktree-1rc4386p.js";
36
36
  import {
37
37
  __export
38
- } from "./file-access-9rqn6x4v.js";
38
+ } from "./worktree-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service36,
53
+ Service: () => Service35,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
56
  configured: () => configured5,
57
- layer: () => layer14,
58
- node: () => node39
57
+ layer: () => layer16,
58
+ node: () => node38
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service36 extends Context.Service()("@opencode/MCP") {
96
+ class Service35 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
98
  var Options5 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
@@ -101,13 +101,13 @@ var Options5 = Schema.Struct({
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
105
- const location = yield* Service79;
106
- const environment = yield* Service49;
104
+ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
105
+ const location = yield* Service77;
106
+ const environment = yield* Service51;
107
107
  const bus = yield* Service82;
108
- const forms = yield* Service78;
109
- const integration = yield* Service76;
110
- const credentials = yield* Service77;
108
+ const forms = yield* Service73;
109
+ const integration = yield* Service72;
110
+ const credentials = yield* Service74;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID14.make(suffix);
122
+ const integrationID = ID13.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service74, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -151,12 +151,12 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service74, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID16.create();
159
+ const formID = ID14.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
240
240
  entry.scope = scope;
241
241
  const authProvider = yield* connectProvider(entry);
242
242
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
243
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service49, environment), Scope.provide(scope));
243
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service51, environment), Scope.provide(scope));
244
244
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
245
245
  if (Exit.isSuccess(result)) {
246
246
  entry.client = result.value.connection;
@@ -365,7 +365,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
365
365
  yield* startServer(name, entry);
366
366
  }).pipe(locks.withLock(name));
367
367
  });
368
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
368
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
369
369
  const state = create3({
370
370
  name: "mcp",
371
371
  initial: () => ({
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
391
391
  }),
392
392
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
393
393
  });
394
- return Service36.of({
394
+ return Service35.of({
395
395
  transform: state.transform,
396
396
  reload: state.reload,
397
397
  servers: Effect.fn("MCP.servers")(function* () {
@@ -512,12 +512,12 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
512
512
  }));
513
513
  function configured5(options) {
514
514
  return makeLocationNode({
515
- service: Service36,
516
- layer: layer14(options),
517
- deps: [node83, node52, node86, node82, node80, node81]
515
+ service: Service35,
516
+ layer: layer16(options),
517
+ deps: [node81, node53, node86, node77, node76, node78]
518
518
  });
519
519
  }
520
- var node39 = configured5();
520
+ var node38 = configured5();
521
521
  function toElicitationField(key, property, required) {
522
522
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
523
523
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
568
568
  }
569
569
  }
570
570
 
571
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options5, layer14, configured5, node39, exports_mcp4 };
571
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options5, layer16, configured5, node38, exports_mcp4 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82
3
- } from "./file-access-qb83d845.js";
3
+ } from "./worktree-e982br48.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./file-access-wqbdqa8s.js";
6
+ Event18
7
+ } from "./worktree-tjhrsaf7.js";
8
8
  import {
9
- ID14,
9
+ ID13,
10
10
  MethodID2
11
- } from "./file-access-nbbbac21.js";
11
+ } from "./worktree-1rc4386p.js";
12
12
  import {
13
13
  key2
14
- } from "./file-access-h6r3nrb9.js";
14
+ } from "./worktree-h6r3nrb9.js";
15
15
  import {
16
- ID13,
16
+ ID12,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2
19
- } from "./file-access-55bxwjz5.js";
19
+ } from "./worktree-8b4cgdt8.js";
20
20
  import {
21
- ID4,
22
- Input13,
21
+ ID18,
22
+ Input14,
23
23
  Response2
24
- } from "./file-access-t68dv28a.js";
24
+ } from "./worktree-wt5y36s4.js";
25
25
 
26
26
  // src/plugin/provider/opencode.ts
27
27
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -35,7 +35,7 @@ var methodID = MethodID2.make("device");
35
35
  var RemoteResponse = Schema.Struct({
36
36
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
37
37
  websearch: Schema.Struct({
38
- providerID: ID4
38
+ providerID: ID18
39
39
  }).pipe(Schema.optional)
40
40
  });
41
41
  var Device = Schema.Struct({
@@ -57,7 +57,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
57
57
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
58
58
  function oauth(http) {
59
59
  return {
60
- integrationID: ID14.make("opencode"),
60
+ integrationID: ID13.make("opencode"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -137,7 +137,7 @@ var OpencodePlugin2 = define({
137
137
  providers.update(providerID, (provider) => {
138
138
  if (source && source.provider !== provider)
139
139
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
140
- provider.integrationID = ID14.make("opencode");
140
+ provider.integrationID = ID13.make("opencode");
141
141
  if (item.canonical !== undefined)
142
142
  provider.canonical = item.canonical;
143
143
  if (item.name !== undefined)
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  sourceConnection: snapshot.connection
208
208
  });
209
209
  }
210
- const item = providers.get(ID13.opencode);
210
+ const item = providers.get(ID12.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -219,7 +219,7 @@ var OpencodePlugin2 = define({
219
219
  });
220
220
  });
221
221
  yield* ctx.model.transform((models) => {
222
- const item = models.provider.get(ID13.opencode);
222
+ const item = models.provider.get(ID12.opencode);
223
223
  if (!item)
224
224
  return;
225
225
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -253,7 +253,7 @@ var OpencodePlugin2 = define({
253
253
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
254
254
  const token = credential.type === "oauth" ? credential.access : credential.key;
255
255
  const server = yield* normalizeServer(serverUrl(credential));
256
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
256
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
257
257
  query: input.query,
258
258
  providerID: descriptor.providerID
259
259
  }));
@@ -274,7 +274,7 @@ var OpencodePlugin2 = define({
274
274
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
275
275
  });
276
276
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
277
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
277
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
278
278
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
279
279
  })
280
280
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info12
9
+ Info: () => Info24
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info12 = Schema.Struct({
12
+ var Info24 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info12, exports_command5 };
21
+ export { Info24, exports_command5 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service46
4
- } from "./file-access-990r0brb.js";
3
+ Service68
4
+ } from "./worktree-28cf9raz.js";
5
5
  import {
6
6
  __export
7
- } from "./file-access-9rqn6x4v.js";
7
+ } from "./worktree-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin9,
12
+ Plugin: () => Plugin16,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin9 = define({
22
+ var Plugin16 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service46;
25
+ const config = yield* Service68;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin9 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin9, exports_warming };
99
+ export { Plugin16, exports_warming };