@opencode-ai/core 0.0.0-dev-19150 → 0.0.0-dev-19152

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 (772) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{file-zn31ggdh.js → git-01ns8z8m.js} +9 -9
  9. package/dist/chunks/{file-44mbs944.js → git-02nqpn9k.js} +16 -16
  10. package/dist/chunks/{file-x9aee12a.js → git-03trxjpd.js} +13 -13
  11. package/dist/chunks/{file-2cpc15r0.js → git-03v82kyy.js} +8 -8
  12. package/dist/chunks/{file-0e0xafbb.js → git-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{file-e1hrx4vk.js → git-0ez61b8c.js} +2 -2
  14. package/dist/chunks/{file-ttmyjys5.js → git-0fgbm3tz.js} +21 -21
  15. package/dist/chunks/{file-n8qe30xq.js → git-0k45et74.js} +9 -9
  16. package/dist/chunks/{file-0nwt5npc.js → git-0nwt5npc.js} +2 -2
  17. package/dist/chunks/{file-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{file-2epja08c.js → git-0qhj2dys.js} +4 -4
  19. package/dist/chunks/{file-0s9ayhjt.js → git-0s9ayhjt.js} +1 -1
  20. package/dist/chunks/{file-pyyqvd0z.js → git-0twy4jn9.js} +11 -11
  21. package/dist/chunks/{file-fhy6bqdy.js → git-0x2ny62j.js} +14 -14
  22. package/dist/chunks/{file-pzzt1nm5.js → git-0z2q6qd2.js} +31 -31
  23. package/dist/chunks/{file-53hzkef1.js → git-0zyzm3y4.js} +15 -15
  24. package/dist/chunks/{file-qkzfms5c.js → git-11tw25g0.js} +4 -4
  25. package/dist/chunks/{file-1hy241bm.js → git-14hmenm3.js} +3 -3
  26. package/dist/chunks/{file-mhkvc446.js → git-1bbkgx8g.js} +3 -3
  27. package/dist/chunks/{file-1ct4r87x.js → git-1ct4r87x.js} +1 -1
  28. package/dist/chunks/{file-n8naaz60.js → git-1jk1zpn7.js} +15 -15
  29. package/dist/chunks/{file-9c3zep2z.js → git-1tda89k7.js} +13 -13
  30. package/dist/chunks/{file-vakn6wwq.js → git-1yrh2hz8.js} +18 -18
  31. package/dist/chunks/{file-21r38tys.js → git-21r38tys.js} +1 -1
  32. package/dist/chunks/{file-354vgqe0.js → git-2239fvjv.js} +7 -7
  33. package/dist/chunks/{file-2402vzrj.js → git-2402vzrj.js} +1 -1
  34. package/dist/chunks/{file-5k2506g0.js → git-256zxpde.js} +9 -9
  35. package/dist/chunks/{file-6e958v7x.js → git-28pcbh69.js} +4 -4
  36. package/dist/chunks/{file-29x78va6.js → git-29x78va6.js} +2 -2
  37. package/dist/chunks/{file-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{file-qzq296vy.js → git-2f60pf4m.js} +4 -4
  39. package/dist/chunks/{file-2ht70gj7.js → git-2ht70gj7.js} +1 -1
  40. package/dist/chunks/{file-65dkj3za.js → git-2hyswaq2.js} +20 -20
  41. package/dist/chunks/{file-9z2n9fsv.js → git-2jmaghvr.js} +6 -6
  42. package/dist/chunks/{file-2jqmte8w.js → git-2jqmte8w.js} +2 -2
  43. package/dist/chunks/{file-n38qs1ar.js → git-2rcn8zjb.js} +9 -9
  44. package/dist/chunks/{file-n3rkh788.js → git-2tb9hyx2.js} +11 -11
  45. package/dist/chunks/{file-mk2da0tx.js → git-2tm39pz1.js} +6 -6
  46. package/dist/chunks/{file-7ppgh33j.js → git-357rxt8c.js} +24 -24
  47. package/dist/chunks/{file-gdvy8fx6.js → git-3fc6dm20.js} +4 -4
  48. package/dist/chunks/{file-xh8y0k6f.js → git-3fh1yz3r.js} +46 -46
  49. package/dist/chunks/{file-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{file-v1zbgaxm.js → git-3jb0x30q.js} +7 -7
  51. package/dist/chunks/{file-6kawr24h.js → git-3mpn79e8.js} +77 -77
  52. package/dist/chunks/{file-3qzbfqsy.js → git-3qzbfqsy.js} +2 -2
  53. package/dist/chunks/{file-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  54. package/dist/chunks/{file-sx5e7ymn.js → git-3tqdhrak.js} +8 -8
  55. package/dist/chunks/{file-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{file-ph669gs4.js → git-3vsz3p7m.js} +9 -9
  57. package/dist/chunks/{file-3mrm2hwf.js → git-3wfq9j39.js} +12 -12
  58. package/dist/chunks/{file-711hfp6y.js → git-3x6030n9.js} +2 -2
  59. package/dist/chunks/{file-7cnzp9pw.js → git-42tkewwq.js} +7 -7
  60. package/dist/chunks/{file-454k5vzh.js → git-454k5vzh.js} +1 -1
  61. package/dist/chunks/{file-yjw1hky4.js → git-48ajhrad.js} +12 -12
  62. package/dist/chunks/{file-fbgy7r5d.js → git-48pwx2w2.js} +2 -2
  63. package/dist/chunks/{file-ftz7gb7p.js → git-49z5p9jd.js} +6 -6
  64. package/dist/chunks/{file-4r2nyarf.js → git-4r2nyarf.js} +1 -1
  65. package/dist/chunks/{file-2cefwke5.js → git-4w29j2bz.js} +30 -30
  66. package/dist/chunks/{file-d24m0n3t.js → git-4w4v4hff.js} +10 -10
  67. package/dist/chunks/{file-rvb2zp0m.js → git-4z6b0fg6.js} +6 -6
  68. package/dist/chunks/{file-y995w6vw.js → git-576eqkb7.js} +6 -6
  69. package/dist/chunks/{file-1sqh6t30.js → git-5c6acc4z.js} +3 -3
  70. package/dist/chunks/{file-5daktx2q.js → git-5daktx2q.js} +1 -1
  71. package/dist/chunks/{file-5fmxt4p5.js → git-5fmxt4p5.js} +1 -1
  72. package/dist/chunks/{file-5jvc5tg2.js → git-5jvc5tg2.js} +1 -1
  73. package/dist/chunks/{file-yj3e99fm.js → git-5k3f87xj.js} +1 -1
  74. package/dist/chunks/{file-kj9yw8wr.js → git-5s6em07e.js} +25 -25
  75. package/dist/chunks/{file-8y62cfgq.js → git-64mbz47k.js} +6 -6
  76. package/dist/chunks/{file-at276hj9.js → git-6b40c87x.js} +15 -15
  77. package/dist/chunks/{file-ttbkqz8v.js → git-6c91nz2w.js} +4 -4
  78. package/dist/chunks/{file-3bnr94xj.js → git-6ew8bvbb.js} +18 -18
  79. package/dist/chunks/{file-na3y75gh.js → git-6g5f7dmn.js} +5 -5
  80. package/dist/chunks/{file-rrh5j47r.js → git-6m2bw32x.js} +25 -25
  81. package/dist/chunks/{file-v0pnbedw.js → git-6pkw9ygr.js} +8 -8
  82. package/dist/chunks/{file-gwhj86fb.js → git-6qmj2164.js} +9 -9
  83. package/dist/chunks/{file-c9ahrne1.js → git-6xaf4e55.js} +22 -22
  84. package/dist/chunks/{file-pdgkag5b.js → git-6xppn8bd.js} +12 -12
  85. package/dist/chunks/{file-72nftnjy.js → git-72nftnjy.js} +2 -2
  86. package/dist/chunks/{file-ss1z5pd1.js → git-75ydt1pr.js} +36 -36
  87. package/dist/chunks/{file-5mm5wtvx.js → git-790wkyyc.js} +8 -8
  88. package/dist/chunks/{file-s5h19yqx.js → git-7ad5acx5.js} +7 -7
  89. package/dist/chunks/{file-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{file-7dqw4kz8.js → git-7dqw4kz8.js} +1 -1
  91. package/dist/chunks/{file-dg42sq5p.js → git-7mgtj72g.js} +10 -10
  92. package/dist/chunks/{file-q6k87v8z.js → git-7sd9q442.js} +6 -6
  93. package/dist/chunks/{file-qs4avvkb.js → git-86s3977f.js} +1 -1
  94. package/dist/chunks/git-88z38vzy.js +22 -0
  95. package/dist/chunks/{file-b3pptd8j.js → git-89b0hn0k.js} +18 -18
  96. package/dist/chunks/{file-ywabkmpb.js → git-8gtnf6t2.js} +6 -6
  97. package/dist/chunks/{file-gt0hfmdb.js → git-8k3x1tmb.js} +5 -5
  98. package/dist/chunks/{file-hdw5v3sp.js → git-8t7rpfs0.js} +42 -42
  99. package/dist/chunks/{file-tppvcy65.js → git-8x14xe82.js} +7 -7
  100. package/dist/chunks/{file-t0r5ggak.js → git-8yyhgdt3.js} +9 -9
  101. package/dist/chunks/{file-0xjbaykp.js → git-91h1kd54.js} +27 -27
  102. package/dist/chunks/{file-5x78j129.js → git-94b080c3.js} +8 -8
  103. package/dist/chunks/{file-vvzp1af4.js → git-95t4wctn.js} +19 -19
  104. package/dist/chunks/{file-ywtkarac.js → git-989d4g0q.js} +12 -12
  105. package/dist/chunks/{file-kwd9jgre.js → git-99kegj5v.js} +7 -7
  106. package/dist/chunks/{file-0b89de78.js → git-99vgbsyy.js} +5 -5
  107. package/dist/chunks/{file-1n116cmy.js → git-9d4vrqc0.js} +9 -9
  108. package/dist/chunks/{file-ejddpzjn.js → git-9jtnr53s.js} +18 -18
  109. package/dist/chunks/{file-65fmcg1n.js → git-9p8m1ync.js} +15 -15
  110. package/dist/chunks/{file-g6mdv268.js → git-9xrx0nj0.js} +15 -15
  111. package/dist/chunks/{file-sdmzrqw0.js → git-a2wkfh4c.js} +11 -11
  112. package/dist/chunks/{file-9vfxb4kb.js → git-a615ws19.js} +4 -4
  113. package/dist/chunks/{file-qzds7pp6.js → git-a738ra00.js} +21 -21
  114. package/dist/chunks/{file-aaet6srn.js → git-aaet6srn.js} +2 -2
  115. package/dist/chunks/{file-4th2vxgq.js → git-ajeh18pz.js} +24 -24
  116. package/dist/chunks/{file-0e8zkcgz.js → git-am4pcxvr.js} +20 -20
  117. package/dist/chunks/{file-q9vpza17.js → git-asmayx9p.js} +10 -10
  118. package/dist/chunks/{file-hejh15x3.js → git-av4m0z60.js} +32 -32
  119. package/dist/chunks/{file-b6c82h3f.js → git-ay4nvzy9.js} +10 -10
  120. package/dist/chunks/{file-emse1svw.js → git-azgzp121.js} +139 -139
  121. package/dist/chunks/{file-f7m31s7f.js → git-b185tj8s.js} +3 -3
  122. package/dist/chunks/{file-sb910js5.js → git-b5gjhjfs.js} +4 -4
  123. package/dist/chunks/{file-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  124. package/dist/chunks/{file-r8h0cx8x.js → git-b7bn4zzd.js} +26 -26
  125. package/dist/chunks/{file-b9wsbatv.js → git-b9wsbatv.js} +1 -1
  126. package/dist/chunks/{file-4bzmj8m7.js → git-bbdkjdrd.js} +8 -8
  127. package/dist/chunks/{file-yf1j450z.js → git-bdzhwkq1.js} +8 -8
  128. package/dist/chunks/{file-1a6p2twq.js → git-bf0ztrs3.js} +4 -4
  129. package/dist/chunks/{file-4m3ct7yw.js → git-bp7pam25.js} +6 -6
  130. package/dist/chunks/{file-thfv75je.js → git-bphmvjfp.js} +5 -5
  131. package/dist/chunks/{file-2teepasw.js → git-bpvetzyt.js} +12 -12
  132. package/dist/chunks/{file-qk64c6n5.js → git-bsgbf39w.js} +14 -14
  133. package/dist/chunks/{file-cqeq6z68.js → git-cfmkmvf9.js} +3 -3
  134. package/dist/chunks/{file-xb66abhh.js → git-cnpjj00n.js} +11 -11
  135. package/dist/chunks/{file-gjgqh1yg.js → git-cpcypa0y.js} +9 -9
  136. package/dist/chunks/{file-0f1c069v.js → git-dcavesng.js} +9 -9
  137. package/dist/chunks/{file-3wdqrm6x.js → git-dchnan0w.js} +13 -13
  138. package/dist/chunks/{file-yz6aw3g1.js → git-dde5yshk.js} +42 -42
  139. package/dist/chunks/{file-rff1kz51.js → git-de7edjxw.js} +20 -20
  140. package/dist/chunks/{file-6t53vznt.js → git-dgp4s6zg.js} +3 -3
  141. package/dist/chunks/{file-f9tf4xby.js → git-dmj0gzeb.js} +33 -33
  142. package/dist/chunks/{file-5h36fhh1.js → git-dn1bcd64.js} +16 -16
  143. package/dist/chunks/git-e3ze3pba.js +4 -0
  144. package/dist/chunks/{file-768z0hjh.js → git-e5b0qn1c.js} +1 -1
  145. package/dist/chunks/{file-9fkqqknn.js → git-e993tk0q.js} +9 -9
  146. package/dist/chunks/{file-k0gwvm9f.js → git-efc5hrs6.js} +8 -8
  147. package/dist/chunks/{file-5edep437.js → git-eh2mpbhy.js} +24 -24
  148. package/dist/chunks/{file-ndn2xkss.js → git-eh802jd0.js} +60 -60
  149. package/dist/chunks/{file-rykxkv61.js → git-ejwtzsrd.js} +13 -13
  150. package/dist/chunks/{file-qr8ddv5p.js → git-em41q4xm.js} +34 -34
  151. package/dist/chunks/{file-rwffmz6f.js → git-enc6jm7h.js} +6 -6
  152. package/dist/chunks/{file-wq13ba9c.js → git-eqe7bhk4.js} +30 -30
  153. package/dist/chunks/{file-68t1dsv1.js → git-ewbbbgk7.js} +37 -37
  154. package/dist/chunks/{file-ezk10e5s.js → git-ewjppg9k.js} +22 -22
  155. package/dist/chunks/{file-m08qhmwa.js → git-ewvwwfm6.js} +23 -23
  156. package/dist/chunks/{file-gv0d5gvs.js → git-f69meha8.js} +11 -11
  157. package/dist/chunks/{file-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
  158. package/dist/chunks/{file-fxypknc8.js → git-fxypknc8.js} +1 -1
  159. package/dist/chunks/{file-evdm5w0f.js → git-fz7f4s5e.js} +6 -6
  160. package/dist/chunks/{file-g2dy4bvs.js → git-g2dy4bvs.js} +3 -3
  161. package/dist/chunks/{file-g2gt0w0k.js → git-g2gt0w0k.js} +2 -2
  162. package/dist/chunks/{file-zayyh8v9.js → git-g3dk9xws.js} +286 -286
  163. package/dist/chunks/{file-d1a1bt21.js → git-g41n1fn3.js} +5 -5
  164. package/dist/chunks/{file-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{file-7c5v0j0c.js → git-gfs7stvq.js} +37 -37
  166. package/dist/chunks/{file-2vr6qw2t.js → git-ggk96kdt.js} +4 -4
  167. package/dist/chunks/{file-cphm8864.js → git-gh7ynw45.js} +26 -26
  168. package/dist/chunks/{file-zsqrvtys.js → git-h25e6w8y.js} +11 -11
  169. package/dist/chunks/{file-pjv4tydt.js → git-h2xm238p.js} +40 -40
  170. package/dist/chunks/{file-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{file-299sgebr.js → git-hawqa09c.js} +6 -6
  172. package/dist/chunks/{file-heyhwy2w.js → git-heyhwy2w.js} +1 -1
  173. package/dist/chunks/{file-y2cqme3r.js → git-hhpzk61m.js} +5 -5
  174. package/dist/chunks/git-ht5y0zrb.js +18 -0
  175. package/dist/chunks/{file-7brcmqak.js → git-j0bvmw6p.js} +26 -26
  176. package/dist/chunks/{file-jfa9xx2h.js → git-j20qt8ny.js} +11 -11
  177. package/dist/chunks/{file-n74wxmgj.js → git-j3x781zd.js} +24 -24
  178. package/dist/chunks/{file-8gqmesmq.js → git-jfzpv47d.js} +18 -18
  179. package/dist/chunks/{file-039at7ym.js → git-jgwcdxcs.js} +52 -52
  180. package/dist/chunks/{file-cxmh4q5b.js → git-jj3qxa52.js} +4 -4
  181. package/dist/chunks/{file-ybkqd1n3.js → git-jndv8ypt.js} +17 -17
  182. package/dist/chunks/{file-y46gx2s1.js → git-jy77g1jk.js} +34 -34
  183. package/dist/chunks/{file-at5d07az.js → git-jzvp32eb.js} +4 -4
  184. package/dist/chunks/{file-x5hde6ee.js → git-k01ak1rc.js} +4 -4
  185. package/dist/chunks/{file-s1zptveq.js → git-k28yxd6c.js} +16 -16
  186. package/dist/chunks/{file-k4bwy1x5.js → git-k4bwy1x5.js} +1 -1
  187. package/dist/chunks/{file-0stjwqe4.js → git-k9snrmvg.js} +21 -21
  188. package/dist/chunks/{file-9q0nykm9.js → git-kcv7778q.js} +8 -8
  189. package/dist/chunks/{file-4pm2v5we.js → git-kebpsn0t.js} +17 -17
  190. package/dist/chunks/{file-kg06axw8.js → git-kg06axw8.js} +1 -1
  191. package/dist/chunks/{file-yfbd16n1.js → git-kk3rr3qh.js} +5 -5
  192. package/dist/chunks/{file-846hz14q.js → git-kp3pprh7.js} +37 -37
  193. package/dist/chunks/{file-kvsjn1dr.js → git-kvsjn1dr.js} +2 -2
  194. package/dist/chunks/{file-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{file-h87ag7w5.js → git-mab9d0v5.js} +17 -17
  196. package/dist/chunks/{file-2w6bfmvf.js → git-mcxg6pmm.js} +1 -1
  197. package/dist/chunks/{file-a4qa8wqs.js → git-mkanh8av.js} +7 -7
  198. package/dist/chunks/{file-gvha7d93.js → git-mkyvm1mp.js} +4 -4
  199. package/dist/chunks/{file-pkb840qh.js → git-mmj3jx9j.js} +18 -18
  200. package/dist/chunks/{file-kvbwxexe.js → git-n8xc4bye.js} +22 -22
  201. package/dist/chunks/{file-83y4b8f3.js → git-nnv36dam.js} +26 -26
  202. package/dist/chunks/{file-cmwz8vwc.js → git-nzk95x83.js} +17 -17
  203. package/dist/chunks/{file-dnej8pr8.js → git-paap86ds.js} +39 -39
  204. package/dist/chunks/{file-wp44g4g0.js → git-pfhdk2d4.js} +33 -33
  205. package/dist/chunks/{file-wfpv7nq4.js → git-pfnxmpv6.js} +5 -5
  206. package/dist/chunks/{file-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{file-pknna89w.js → git-pknna89w.js} +1 -1
  208. package/dist/chunks/{file-5k43vb7t.js → git-q93h2s66.js} +22 -22
  209. package/dist/chunks/{file-bbmnv4wm.js → git-q9t1pswy.js} +29 -29
  210. package/dist/chunks/{file-sasz0x9t.js → git-qcnqc9zy.js} +11 -11
  211. package/dist/chunks/{file-6wj0fw5p.js → git-qd1dw6kz.js} +9 -9
  212. package/dist/chunks/{file-qsdy395h.js → git-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-hd1k875y.js → git-qta1pbte.js} +13 -13
  214. package/dist/chunks/{file-qvbcabdc.js → git-qvbcabdc.js} +2 -2
  215. package/dist/chunks/{file-zm9gec2w.js → git-qyhzj9g1.js} +1 -1
  216. package/dist/chunks/{file-z24np7d0.js → git-qzw8yrfq.js} +80 -80
  217. package/dist/chunks/{file-r8dhm0tv.js → git-r8dhm0tv.js} +1 -1
  218. package/dist/chunks/{file-w2svwm21.js → git-rc2f37hd.js} +4 -4
  219. package/dist/chunks/{file-yt9k9kep.js → git-rdsqqr2s.js} +17 -17
  220. package/dist/chunks/{file-9kedy7gd.js → git-rft8amsn.js} +8 -8
  221. package/dist/chunks/{file-aj7d9r5a.js → git-rmy3e5eg.js} +3 -3
  222. package/dist/chunks/{file-pae9v2p1.js → git-rpstmqvz.js} +8 -8
  223. package/dist/chunks/{file-rr09hbad.js → git-rq5pxryv.js} +14 -14
  224. package/dist/chunks/{file-505p5ry7.js → git-rzsjt7my.js} +18 -18
  225. package/dist/chunks/{file-n8b48r5j.js → git-s0vczy7e.js} +23 -23
  226. package/dist/chunks/{file-1mrma768.js → git-s141a68e.js} +5 -5
  227. package/dist/chunks/{file-pt7wq7x0.js → git-s3eqpch7.js} +1 -1
  228. package/dist/chunks/{file-6z5bwd8g.js → git-saak5ttd.js} +6 -6
  229. package/dist/chunks/{file-sba4qhjf.js → git-sba4qhjf.js} +1 -1
  230. package/dist/chunks/{file-w7w8snw9.js → git-snakeby2.js} +16 -16
  231. package/dist/chunks/{file-z4g5hq89.js → git-snxw7857.js} +4 -4
  232. package/dist/chunks/{file-83ahk2p0.js → git-sskteryb.js} +7 -7
  233. package/dist/chunks/{file-mzj39jhy.js → git-swp4cd5a.js} +13 -13
  234. package/dist/chunks/{file-bf0m6253.js → git-sxyem01p.js} +18 -18
  235. package/dist/chunks/{file-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-tcezcvh9.js → git-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{file-wr7ps67x.js → git-tdpndm1c.js} +5 -5
  238. package/dist/chunks/{file-ys11an52.js → git-thre64ft.js} +32 -32
  239. package/dist/chunks/{file-tjykrgmx.js → git-tjykrgmx.js} +1 -1
  240. package/dist/chunks/{file-n7x59t33.js → git-tzw81pya.js} +7 -7
  241. package/dist/chunks/{file-eg4pr325.js → git-v08zexc0.js} +3 -3
  242. package/dist/chunks/{file-a3x9xvd8.js → git-vep9yay1.js} +4 -4
  243. package/dist/chunks/{file-23k12ske.js → git-vy6f12p8.js} +24 -24
  244. package/dist/chunks/{file-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{file-wd87259q.js → git-wd87259q.js} +1 -1
  246. package/dist/chunks/{file-1bwaarmf.js → git-wgxn7ww3.js} +4 -4
  247. package/dist/chunks/{file-m7swqrpa.js → git-wv35vjx4.js} +4 -4
  248. package/dist/chunks/{file-dmbj5zzd.js → git-wyydh2b2.js} +11 -11
  249. package/dist/chunks/{file-kdbt5zd5.js → git-x0w2mwfz.js} +21 -21
  250. package/dist/chunks/{file-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  251. package/dist/chunks/{file-vkvd3v5t.js → git-xky9ppev.js} +23 -23
  252. package/dist/chunks/{file-pcbfkwsm.js → git-xpqkh19y.js} +9 -9
  253. package/dist/chunks/{file-xx7w2pvd.js → git-xqfjvwcm.js} +12 -12
  254. package/dist/chunks/{file-jnmmvqjs.js → git-xqsy6kp0.js} +1 -1
  255. package/dist/chunks/{file-36dr8np1.js → git-xqych8xx.js} +19 -19
  256. package/dist/chunks/{file-wvjdj7gf.js → git-xtcz8ppp.js} +15 -15
  257. package/dist/chunks/{file-4kkev07m.js → git-y01np14z.js} +17 -17
  258. package/dist/chunks/{file-07zcvmjy.js → git-y10z6ja5.js} +19 -19
  259. package/dist/chunks/{file-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  260. package/dist/chunks/{file-bbe0cwvp.js → git-y2ccy3rm.js} +3 -3
  261. package/dist/chunks/{file-qtdtxcz9.js → git-y3pv78j9.js} +4 -4
  262. package/dist/chunks/{file-dn45ghjm.js → git-y5dvpqkh.js} +43 -43
  263. package/dist/chunks/{file-y71avatq.js → git-y71avatq.js} +1 -1
  264. package/dist/chunks/{file-2xhecwrj.js → git-yaec1nge.js} +7 -7
  265. package/dist/chunks/{file-yg7sb877.js → git-yg7sb877.js} +2 -2
  266. package/dist/chunks/{file-jb94zsvm.js → git-ygd99mp3.js} +11 -11
  267. package/dist/chunks/{file-fy6n5twb.js → git-ykcesz1b.js} +4 -4
  268. package/dist/chunks/{file-awwf2q6q.js → git-yrmm4d0n.js} +25 -25
  269. package/dist/chunks/{file-gzx8e7f9.js → git-yt248q8q.js} +4 -4
  270. package/dist/chunks/{file-1z4eqvhn.js → git-ytqcjkjx.js} +6 -6
  271. package/dist/chunks/{file-5cv0gs8q.js → git-z109bg2r.js} +23 -23
  272. package/dist/chunks/{file-z1k01bn4.js → git-z1k01bn4.js} +2 -2
  273. package/dist/chunks/{file-df22f43k.js → git-z56ty9r2.js} +15 -15
  274. package/dist/chunks/{file-rc7d13hc.js → git-z8f0y67p.js} +17 -17
  275. package/dist/chunks/{file-n5pq9vwt.js → git-zeapr5n1.js} +11 -11
  276. package/dist/chunks/{file-gc9s900x.js → git-zhyn27n2.js} +25 -25
  277. package/dist/chunks/{file-71dvh6yx.js → git-zjbrkj3w.js} +146 -146
  278. package/dist/chunks/{file-zajwd6at.js → git-zn2pq4p8.js} +5 -5
  279. package/dist/chunks/{file-6h024qyg.js → git-zpwsjmm7.js} +15 -15
  280. package/dist/chunks/{file-00hg641b.js → git-zwasfec5.js} +19 -19
  281. package/dist/chunks/{file-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{file-2tms25w5.js → git-zypqn6cf.js} +25 -25
  283. package/dist/codemode/catalog.js +3 -3
  284. package/dist/codemode/instructions.js +11 -11
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +81 -81
  287. package/dist/config/discovery.js +77 -77
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +114 -114
  291. package/dist/config/plugin/command.js +205 -205
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +116 -116
  298. package/dist/config/plugin/mcp.js +123 -123
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +110 -110
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +115 -115
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +132 -132
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +116 -116
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +112 -112
  309. package/dist/config/plugin/worktree.js +117 -117
  310. package/dist/config/variable.js +3 -3
  311. package/dist/config/watch.js +1 -1
  312. package/dist/config.js +116 -116
  313. package/dist/credential/sql.js +2 -2
  314. package/dist/credential.js +74 -74
  315. package/dist/database/database.js +64 -64
  316. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  319. package/dist/database/drizzle/index.js +13 -13
  320. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  323. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  325. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  331. package/dist/database/drizzle.js +14 -14
  332. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  333. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  334. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  335. package/dist/database/migration/20260225215848_workspace.js +1 -1
  336. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  337. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  338. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  339. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  340. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  341. package/dist/database/migration/20260323234822_events.js +1 -1
  342. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  343. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  344. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  345. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  346. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  347. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  348. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  349. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  350. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  351. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  352. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  353. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  354. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  355. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  356. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  357. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  358. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  359. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  360. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  361. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  362. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  363. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  364. package/dist/database/migration/20260611035744_credential.js +1 -1
  365. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  366. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  367. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  368. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  369. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  370. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  371. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  372. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  373. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  374. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  375. package/dist/database/migration/20260812213948_worktree.js +1 -1
  376. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  377. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  378. package/dist/database/migration.gen.js +47 -47
  379. package/dist/database/migration.js +49 -49
  380. package/dist/database/path.js +2 -2
  381. package/dist/database/schema.gen.js +1 -1
  382. package/dist/database/schema.sql.js +1 -1
  383. package/dist/database/sqlite.bun.js +1 -1
  384. package/dist/database/sqlite.js +1 -1
  385. package/dist/database/sqlite.node.js +1 -1
  386. package/dist/database/sqlite.workerd.js +1 -1
  387. package/dist/database/v1-migration.bun.js +74 -74
  388. package/dist/database/v1-migration.js +1 -1
  389. package/dist/effect/app-node-builder.js +358 -358
  390. package/dist/effect/app-node-platform.js +2 -2
  391. package/dist/effect/keyed-mutex.js +1 -1
  392. package/dist/effect/websocket-constructor.js +1 -1
  393. package/dist/environment/driver.js +1 -1
  394. package/dist/environment/environment.js +88 -88
  395. package/dist/environment/exec-defaults.js +2 -2
  396. package/dist/environment/files.js +1 -1
  397. package/dist/environment/index.js +90 -90
  398. package/dist/environment/local.js +2 -2
  399. package/dist/environment/memory.js +2 -2
  400. package/dist/environment/unavailable.js +1 -1
  401. package/dist/event/sql.js +1 -1
  402. package/dist/event-logger.js +68 -68
  403. package/dist/file-mutation.js +89 -89
  404. package/dist/file-retention.js +1 -1
  405. package/dist/file.js +1 -1
  406. package/dist/filesystem/fff.bun.js +2 -2
  407. package/dist/filesystem/fff.js +1 -1
  408. package/dist/filesystem/fff.node.js +2 -2
  409. package/dist/filesystem/fff.workerd.js +2 -2
  410. package/dist/filesystem/ignore.js +1 -1
  411. package/dist/filesystem/location-watcher-policy.js +6 -6
  412. package/dist/filesystem/location-watcher.js +220 -220
  413. package/dist/filesystem/protected.js +1 -1
  414. package/dist/filesystem/search.js +99 -99
  415. package/dist/filesystem/watcher-binding.js +1 -1
  416. package/dist/filesystem/watcher.js +11 -11
  417. package/dist/filesystem.js +100 -100
  418. package/dist/form.js +82 -82
  419. package/dist/formatter/builtins.js +4 -4
  420. package/dist/formatter.js +82 -82
  421. package/dist/generate.js +90 -90
  422. package/dist/git.js +3 -3
  423. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  424. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  425. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  427. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  429. package/dist/github-copilot/copilot-provider.js +17 -17
  430. package/dist/github-copilot/models.js +7 -7
  431. package/dist/github-copilot/openai-compatible-error.js +1 -1
  432. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  433. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  434. package/dist/github-copilot/responses/openai-error.js +1 -1
  435. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  436. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  437. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  438. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  439. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  442. package/dist/id/id.js +1 -1
  443. package/dist/image/photon.js +2 -2
  444. package/dist/image.js +6 -6
  445. package/dist/instance/service.js +5 -5
  446. package/dist/instance.js +349 -349
  447. package/dist/instruction-discovery.js +83 -83
  448. package/dist/instructions/builtins.js +82 -82
  449. package/dist/instructions/index.js +3 -3
  450. package/dist/integration/connection.js +1 -1
  451. package/dist/integration.js +81 -81
  452. package/dist/job.js +77 -77
  453. package/dist/kv/sql.js +2 -2
  454. package/dist/kv.js +71 -71
  455. package/dist/location-activity.js +83 -83
  456. package/dist/location-mutation.js +81 -81
  457. package/dist/location-service-map.js +83 -83
  458. package/dist/location-services.js +346 -346
  459. package/dist/location.js +80 -80
  460. package/dist/mcp/client.js +86 -86
  461. package/dist/mcp/index.js +102 -102
  462. package/dist/mcp/instructions.js +120 -120
  463. package/dist/mcp/oauth.js +2 -2
  464. package/dist/mcp/stdio.js +85 -85
  465. package/dist/mime.js +1 -1
  466. package/dist/modal/models.js +7 -7
  467. package/dist/model-resolver.js +85 -85
  468. package/dist/model.js +8 -8
  469. package/dist/models-dev.js +86 -86
  470. package/dist/oauth/page.js +1 -1
  471. package/dist/permission/saved.js +76 -76
  472. package/dist/permission/sql.js +5 -5
  473. package/dist/permission.js +103 -103
  474. package/dist/persistent-pty/binary.bun.js +1 -1
  475. package/dist/persistent-pty/daemon.js +1 -1
  476. package/dist/persistent-pty/index.js +82 -82
  477. package/dist/persistent-pty/pty-binding.js +1 -1
  478. package/dist/persistent-pty.js +73 -73
  479. package/dist/plugin/agent.js +96 -96
  480. package/dist/plugin/command.js +93 -93
  481. package/dist/plugin/hooks.js +5 -5
  482. package/dist/plugin/host.js +211 -211
  483. package/dist/plugin/instance.js +5 -5
  484. package/dist/plugin/internal.js +320 -320
  485. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  486. package/dist/plugin/models-dev.js +75 -75
  487. package/dist/plugin/module.js +2 -2
  488. package/dist/plugin/plan.js +96 -96
  489. package/dist/plugin/promise.js +1 -1
  490. package/dist/plugin/provider/alibaba.js +2 -2
  491. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  492. package/dist/plugin/provider/anthropic.js +2 -2
  493. package/dist/plugin/provider/azure.js +117 -117
  494. package/dist/plugin/provider/cerebras.js +2 -2
  495. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  496. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  497. package/dist/plugin/provider/cohere.js +2 -2
  498. package/dist/plugin/provider/configured.js +113 -113
  499. package/dist/plugin/provider/dynamic.js +2 -2
  500. package/dist/plugin/provider/factory.js +1 -1
  501. package/dist/plugin/provider/gateway.js +2 -2
  502. package/dist/plugin/provider/github-copilot.js +79 -79
  503. package/dist/plugin/provider/gitlab.js +3 -3
  504. package/dist/plugin/provider/google-vertex.js +2 -2
  505. package/dist/plugin/provider/kilo.js +2 -2
  506. package/dist/plugin/provider/llmgateway.js +75 -75
  507. package/dist/plugin/provider/lmstudio.js +116 -116
  508. package/dist/plugin/provider/mistral.js +2 -2
  509. package/dist/plugin/provider/modal.js +78 -78
  510. package/dist/plugin/provider/nvidia.js +2 -2
  511. package/dist/plugin/provider/ollama.js +116 -116
  512. package/dist/plugin/provider/openai-compatible.js +1 -1
  513. package/dist/plugin/provider/openai.js +77 -77
  514. package/dist/plugin/provider/opencode.js +75 -75
  515. package/dist/plugin/provider/openrouter.js +3 -3
  516. package/dist/plugin/provider/perplexity.js +2 -2
  517. package/dist/plugin/provider/sap-ai-core.js +3 -3
  518. package/dist/plugin/provider/sdk-factory.js +1 -1
  519. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  520. package/dist/plugin/provider/venice.js +2 -2
  521. package/dist/plugin/provider/vercel.js +2 -2
  522. package/dist/plugin/provider/vllm.js +114 -114
  523. package/dist/plugin/provider/xai.js +76 -76
  524. package/dist/plugin/provider/zenmux.js +2 -2
  525. package/dist/plugin/provider.js +154 -154
  526. package/dist/plugin/sdk.js +72 -72
  527. package/dist/plugin/service.js +3 -3
  528. package/dist/plugin/skill.js +131 -131
  529. package/dist/plugin/source-directory.js +1 -1
  530. package/dist/plugin/supervisor.js +335 -335
  531. package/dist/plugin/system-prompt.js +2 -2
  532. package/dist/plugin/update.js +6 -6
  533. package/dist/plugin/variant.js +4 -4
  534. package/dist/plugin/vcs/git.js +82 -82
  535. package/dist/plugin/vcs/hg.js +82 -82
  536. package/dist/plugin/warming.js +111 -111
  537. package/dist/plugin/websearch/exa.js +7 -7
  538. package/dist/plugin/websearch/firecrawl.js +8 -8
  539. package/dist/plugin/websearch/index.js +8 -8
  540. package/dist/plugin/websearch/mcp.js +4 -4
  541. package/dist/plugin/websearch/parallel.js +8 -8
  542. package/dist/plugin/websearch/tavily.js +6 -6
  543. package/dist/plugin.js +214 -214
  544. package/dist/project/schema.js +6 -6
  545. package/dist/project/sql.js +4 -4
  546. package/dist/project.js +79 -79
  547. package/dist/provider.js +5 -5
  548. package/dist/pty/protocol.js +1 -1
  549. package/dist/pty/schema.js +3 -3
  550. package/dist/pty/ticket.js +1 -1
  551. package/dist/pty.js +90 -90
  552. package/dist/reference/instructions.js +84 -84
  553. package/dist/reference.js +86 -86
  554. package/dist/repository-cache.js +76 -76
  555. package/dist/repository.js +1 -1
  556. package/dist/ripgrep/binary.js +2 -2
  557. package/dist/ripgrep.js +93 -93
  558. package/dist/rpc.js +81 -81
  559. package/dist/schema.js +1 -1
  560. package/dist/session/command.js +72 -72
  561. package/dist/session/compaction.js +127 -127
  562. package/dist/session/context.js +145 -145
  563. package/dist/session/environment.js +5 -5
  564. package/dist/session/error.js +5 -5
  565. package/dist/session/event.js +1 -1
  566. package/dist/session/execution/restart.js +214 -214
  567. package/dist/session/execution.js +120 -120
  568. package/dist/session/generate.js +146 -146
  569. package/dist/session/history.js +12 -12
  570. package/dist/session/inbox.js +86 -86
  571. package/dist/session/info.js +3 -3
  572. package/dist/session/instruction-entry.js +77 -77
  573. package/dist/session/instruction-state.js +8 -8
  574. package/dist/session/instructions.js +91 -91
  575. package/dist/session/message-updater.js +4 -4
  576. package/dist/session/message.js +1 -1
  577. package/dist/session/model-request.js +112 -112
  578. package/dist/session/model-transport.js +9 -9
  579. package/dist/session/move.js +124 -124
  580. package/dist/session/projector.js +84 -84
  581. package/dist/session/prompt.js +99 -99
  582. package/dist/session/revert.js +85 -85
  583. package/dist/session/run-coordinator.js +3 -3
  584. package/dist/session/runner/index.js +3 -3
  585. package/dist/session/runner/llm.js +223 -223
  586. package/dist/session/runner/max-steps.js +1 -1
  587. package/dist/session/runner/model.js +85 -85
  588. package/dist/session/runner/publish-llm-event.js +3 -3
  589. package/dist/session/runner/retry.js +4 -4
  590. package/dist/session/runner/step.js +117 -117
  591. package/dist/session/runner/to-llm-message.js +1 -1
  592. package/dist/session/schema.js +1 -1
  593. package/dist/session/session.js +167 -167
  594. package/dist/session/shell.js +130 -130
  595. package/dist/session/skill.js +97 -97
  596. package/dist/session/sql.js +5 -5
  597. package/dist/session/stats.js +71 -71
  598. package/dist/session/store.js +84 -84
  599. package/dist/session/subagent-completion.js +1 -1
  600. package/dist/session/subagent-job.js +201 -201
  601. package/dist/session/system-prompt.js +5 -5
  602. package/dist/session/title.js +147 -147
  603. package/dist/session/to-session-error.js +105 -105
  604. package/dist/session/transfer.js +205 -205
  605. package/dist/session/usage.js +1 -1
  606. package/dist/session.js +207 -207
  607. package/dist/shell/parse.js +6 -6
  608. package/dist/shell/result.js +1 -1
  609. package/dist/shell/scan.js +1 -1
  610. package/dist/shell/select.js +13 -13
  611. package/dist/shell.js +132 -132
  612. package/dist/skill/discovery.js +6 -6
  613. package/dist/skill/instructions.js +101 -101
  614. package/dist/skill.js +104 -104
  615. package/dist/snapshot.js +84 -84
  616. package/dist/state.js +1 -1
  617. package/dist/tool/html-markdown.js +1 -1
  618. package/dist/tool/http-body.js +1 -1
  619. package/dist/tool/mcp.js +117 -117
  620. package/dist/tool/plugin/edit.js +114 -114
  621. package/dist/tool/plugin/file-diff.js +1 -1
  622. package/dist/tool/plugin/glob.js +113 -113
  623. package/dist/tool/plugin/grep.js +117 -117
  624. package/dist/tool/plugin/opencode.js +3 -3
  625. package/dist/tool/plugin/patch.js +116 -116
  626. package/dist/tool/plugin/question.js +97 -97
  627. package/dist/tool/plugin/read.js +120 -120
  628. package/dist/tool/plugin/shell.js +208 -208
  629. package/dist/tool/plugin/skill.js +105 -105
  630. package/dist/tool/plugin/subagent.js +212 -212
  631. package/dist/tool/plugin/webfetch.js +106 -106
  632. package/dist/tool/plugin/websearch.js +104 -104
  633. package/dist/tool/plugin/write.js +116 -116
  634. package/dist/tool/read-filesystem.js +96 -96
  635. package/dist/tool/runtime.js +1 -1
  636. package/dist/tool-output.js +8 -8
  637. package/dist/tool.js +15 -15
  638. package/dist/util/error.js +1 -1
  639. package/dist/util/iife.js +1 -1
  640. package/dist/util/lazy.js +1 -1
  641. package/dist/util/slug.js +1 -1
  642. package/dist/util/token.js +1 -1
  643. package/dist/util/which.js +1 -1
  644. package/dist/util/wildcard.js +1 -1
  645. package/dist/v1/config/agent.js +5 -5
  646. package/dist/v1/config/attachment.js +4 -4
  647. package/dist/v1/config/command.js +3 -3
  648. package/dist/v1/config/config.js +14 -14
  649. package/dist/v1/config/error.js +2 -2
  650. package/dist/v1/config/formatter.js +5 -5
  651. package/dist/v1/config/layout.js +1 -1
  652. package/dist/v1/config/lsp.js +5 -5
  653. package/dist/v1/config/mcp.js +4 -4
  654. package/dist/v1/config/migrate.js +4 -4
  655. package/dist/v1/config/permission.js +3 -3
  656. package/dist/v1/config/plugin.js +1 -1
  657. package/dist/v1/config/provider-options.js +1 -1
  658. package/dist/v1/config/provider.js +4 -4
  659. package/dist/v1/config/server.js +2 -2
  660. package/dist/v1/config/skills.js +3 -3
  661. package/dist/v1/permission.js +1 -1
  662. package/dist/vcs/patch.js +1 -1
  663. package/dist/vcs.js +85 -85
  664. package/dist/websearch.js +82 -82
  665. package/dist/wellknown/plugin.js +74 -74
  666. package/dist/wellknown.js +77 -77
  667. package/dist/workspace/driver.js +3 -3
  668. package/dist/workspace/sql.js +1 -1
  669. package/dist/workspace.js +74 -74
  670. package/dist/worktree/directory.js +4 -4
  671. package/dist/worktree/git.js +7 -7
  672. package/dist/worktree/refresh.js +336 -336
  673. package/dist/worktree/sql.js +5 -5
  674. package/dist/worktree.js +89 -89
  675. package/package.json +7 -7
  676. package/dist/chunks/file-f4j0pa50.js +0 -4
  677. package/dist/chunks/file-qtk180zb.js +0 -22
  678. package/dist/chunks/file-rap9a73h.js +0 -18
  679. /package/dist/chunks/{file-0fabt78z.js → git-0fabt78z.js} +0 -0
  680. /package/dist/chunks/{file-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  681. /package/dist/chunks/{file-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  682. /package/dist/chunks/{file-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  683. /package/dist/chunks/{file-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  684. /package/dist/chunks/{file-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  685. /package/dist/chunks/{file-2710q6r3.js → git-2710q6r3.js} +0 -0
  686. /package/dist/chunks/{file-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  687. /package/dist/chunks/{file-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  688. /package/dist/chunks/{file-359p4xyc.js → git-359p4xyc.js} +0 -0
  689. /package/dist/chunks/{file-3asan66x.js → git-3asan66x.js} +0 -0
  690. /package/dist/chunks/{file-3t738kvx.js → git-3t738kvx.js} +0 -0
  691. /package/dist/chunks/{file-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  692. /package/dist/chunks/{file-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  693. /package/dist/chunks/{file-41nvscxy.js → git-41nvscxy.js} +0 -0
  694. /package/dist/chunks/{file-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  695. /package/dist/chunks/{file-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  696. /package/dist/chunks/{file-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  697. /package/dist/chunks/{file-53557ph1.js → git-53557ph1.js} +0 -0
  698. /package/dist/chunks/{file-550bvhaj.js → git-550bvhaj.js} +0 -0
  699. /package/dist/chunks/{file-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
  700. /package/dist/chunks/{file-5xfzsdsy.js → git-5xfzsdsy.js} +0 -0
  701. /package/dist/chunks/{file-6prwharc.js → git-6prwharc.js} +0 -0
  702. /package/dist/chunks/{file-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  703. /package/dist/chunks/{file-7m9af43g.js → git-7m9af43g.js} +0 -0
  704. /package/dist/chunks/{file-822emrt2.js → git-822emrt2.js} +0 -0
  705. /package/dist/chunks/{file-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  706. /package/dist/chunks/{file-8n3pysct.js → git-8n3pysct.js} +0 -0
  707. /package/dist/chunks/{file-982e01ww.js → git-982e01ww.js} +0 -0
  708. /package/dist/chunks/{file-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  709. /package/dist/chunks/{file-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  710. /package/dist/chunks/{file-a1tpkmh4.js → git-a1tpkmh4.js} +0 -0
  711. /package/dist/chunks/{file-af5trqkr.js → git-af5trqkr.js} +0 -0
  712. /package/dist/chunks/{file-afrmfg78.js → git-afrmfg78.js} +0 -0
  713. /package/dist/chunks/{file-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  714. /package/dist/chunks/{file-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  715. /package/dist/chunks/{file-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  716. /package/dist/chunks/{file-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  717. /package/dist/chunks/{file-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  718. /package/dist/chunks/{file-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  719. /package/dist/chunks/{file-d9fn303g.js → git-d9fn303g.js} +0 -0
  720. /package/dist/chunks/{file-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  721. /package/dist/chunks/{file-dajrwvna.js → git-dajrwvna.js} +0 -0
  722. /package/dist/chunks/{file-dap0rakb.js → git-dap0rakb.js} +0 -0
  723. /package/dist/chunks/{file-df08tz66.js → git-df08tz66.js} +0 -0
  724. /package/dist/chunks/{file-dy18nga0.js → git-dy18nga0.js} +0 -0
  725. /package/dist/chunks/{file-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  726. /package/dist/chunks/{file-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  727. /package/dist/chunks/{file-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  728. /package/dist/chunks/{file-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  729. /package/dist/chunks/{file-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  730. /package/dist/chunks/{file-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  731. /package/dist/chunks/{file-faypxj3z.js → git-faypxj3z.js} +0 -0
  732. /package/dist/chunks/{file-fd410y7t.js → git-fd410y7t.js} +0 -0
  733. /package/dist/chunks/{file-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  734. /package/dist/chunks/{file-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  735. /package/dist/chunks/{file-g86h250q.js → git-g86h250q.js} +0 -0
  736. /package/dist/chunks/{file-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  737. /package/dist/chunks/{file-hk9envan.js → git-hk9envan.js} +0 -0
  738. /package/dist/chunks/{file-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  739. /package/dist/chunks/{file-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  740. /package/dist/chunks/{file-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  741. /package/dist/chunks/{file-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  742. /package/dist/chunks/{file-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  743. /package/dist/chunks/{file-mntxs535.js → git-mntxs535.js} +0 -0
  744. /package/dist/chunks/{file-mp448xyj.js → git-mp448xyj.js} +0 -0
  745. /package/dist/chunks/{file-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  746. /package/dist/chunks/{file-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  747. /package/dist/chunks/{file-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  748. /package/dist/chunks/{file-njntx4h6.js → git-njntx4h6.js} +0 -0
  749. /package/dist/chunks/{file-p8qxwesx.js → git-p8qxwesx.js} +0 -0
  750. /package/dist/chunks/{file-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  751. /package/dist/chunks/{file-q74kybfr.js → git-q74kybfr.js} +0 -0
  752. /package/dist/chunks/{file-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  753. /package/dist/chunks/{file-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  754. /package/dist/chunks/{file-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  755. /package/dist/chunks/{file-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  756. /package/dist/chunks/{file-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  757. /package/dist/chunks/{file-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  758. /package/dist/chunks/{file-se0s1eqw.js → git-se0s1eqw.js} +0 -0
  759. /package/dist/chunks/{file-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
  760. /package/dist/chunks/{file-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  761. /package/dist/chunks/{file-twg0f83k.js → git-twg0f83k.js} +0 -0
  762. /package/dist/chunks/{file-w803qqfp.js → git-w803qqfp.js} +0 -0
  763. /package/dist/chunks/{file-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  764. /package/dist/chunks/{file-wtztk69x.js → git-wtztk69x.js} +0 -0
  765. /package/dist/chunks/{file-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  766. /package/dist/chunks/{file-x1b8g1yb.js → git-x1b8g1yb.js} +0 -0
  767. /package/dist/chunks/{file-x61499pn.js → git-x61499pn.js} +0 -0
  768. /package/dist/chunks/{file-y44na4kk.js → git-y44na4kk.js} +0 -0
  769. /package/dist/chunks/{file-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  770. /package/dist/chunks/{file-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  771. /package/dist/chunks/{file-z9919s4g.js → git-z9919s4g.js} +0 -0
  772. /package/dist/chunks/{file-zbjnn3ac.js → git-zbjnn3ac.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./file-2epja08c.js";
4
+ } from "./git-0qhj2dys.js";
5
5
  import {
6
- Service72,
7
- node77
8
- } from "./file-q9vpza17.js";
6
+ Service74,
7
+ node79
8
+ } from "./git-asmayx9p.js";
9
9
  import {
10
10
  create3
11
- } from "./file-kg06axw8.js";
11
+ } from "./git-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./file-9rqn6x4v.js";
14
+ } from "./git-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event4,
21
- ID: () => ID3,
22
- Input: () => Input13,
20
+ Event: () => Event10,
21
+ ID: () => ID8,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,27 +28,27 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service18,
31
+ Service: () => Service53,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node22
33
+ node: () => node57
34
34
  });
35
35
  import { WebSearch } from "@opencode-ai/schema/websearch";
36
36
  import { Context, Effect, Layer, Option, Schema } from "effect";
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
- import { Event as Event4 } from "@opencode-ai/schema/websearch";
39
- var ID3 = WebSearch.ID;
38
+ import { Event as Event10 } from "@opencode-ai/schema/websearch";
39
+ var ID8 = WebSearch.ID;
40
40
  var Provider2 = WebSearch.Provider;
41
- var Input13 = WebSearch.Input;
41
+ var Input14 = WebSearch.Input;
42
42
  var Result2 = WebSearch.Result;
43
43
  var Response2 = WebSearch.Response;
44
44
  var ProviderKey2 = "websearch:provider";
45
- var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
45
+ var Selection2 = Schema.Union([ID8, Schema.Literal("random"), Schema.Literal(false)]);
46
46
 
47
47
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
48
48
  }
49
49
 
50
50
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
51
- providerID: ID3
51
+ providerID: ID8
52
52
  }) {
53
53
  }
54
54
 
@@ -56,16 +56,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
56
56
  }
57
57
 
58
58
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
59
- providerID: ID3,
59
+ providerID: ID8,
60
60
  cause: Schema.Defect()
61
61
  }) {
62
62
  }
63
63
 
64
- class Service18 extends Context.Service()("@opencode/WebSearch") {
64
+ class Service53 extends Context.Service()("@opencode/WebSearch") {
65
65
  }
66
- var layer = Layer.effect(Service18, Effect.gen(function* () {
66
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
67
67
  const bus = yield* Service79;
68
- const kv = yield* Service72;
68
+ const kv = yield* Service74;
69
69
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
70
70
  const state = create3({
71
71
  initial: () => ({ providers: new Map }),
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
106
106
  return yield* new ProviderRequiredError2;
107
107
  return provider;
108
108
  });
109
- return Service18.of({
109
+ return Service53.of({
110
110
  transform: state.transform,
111
111
  reload: state.reload,
112
112
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -129,10 +129,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
129
129
  })
130
130
  });
131
131
  }));
132
- var node22 = makeLocationNode({
133
- service: Service18,
132
+ var node57 = makeLocationNode({
133
+ service: Service53,
134
134
  layer,
135
- deps: [node84, node77]
135
+ deps: [node84, node79]
136
136
  });
137
137
 
138
- export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service18, node22, exports_websearch3, Event4 };
138
+ export { ID8, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service53, node57, exports_websearch3, Event10 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-83ahk2p0.js";
3
+ } from "./git-sskteryb.js";
4
4
  import {
5
5
  OAuth3,
6
- Service71
7
- } from "./file-xb66abhh.js";
6
+ Service75
7
+ } from "./git-cnpjj00n.js";
8
8
  import {
9
9
  ID9,
10
10
  MethodID2
11
- } from "./file-c9ahrne1.js";
11
+ } from "./git-6xaf4e55.js";
12
12
  import {
13
- ID16
14
- } from "./file-rvb2zp0m.js";
13
+ ID18
14
+ } from "./git-4z6b0fg6.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID16.make("xai");
26
+ var providerID = ID18.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -68,7 +68,7 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service71;
71
+ const credentials = yield* Service75;
72
72
  yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-83ahk2p0.js";
3
+ } from "./git-sskteryb.js";
4
4
  import {
5
5
  Service79
6
- } from "./file-2epja08c.js";
6
+ } from "./git-0qhj2dys.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./file-xb66abhh.js";
10
+ } from "./git-cnpjj00n.js";
11
11
  import {
12
12
  ID9,
13
13
  MethodID2
14
- } from "./file-c9ahrne1.js";
14
+ } from "./git-6xaf4e55.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./file-pjvnvgmy.js";
18
+ } from "./git-pjvnvgmy.js";
19
19
  import {
20
- ID16,
20
+ ID18,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./file-rvb2zp0m.js";
23
+ } from "./git-4z6b0fg6.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID16.openai);
181
+ const item = evt.provider.get(ID18.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -220,7 +220,7 @@ var OpenAIPlugin3 = define({
220
220
  evt.baseURL = codexBaseURL;
221
221
  evt.headers.originator = "opencode";
222
222
  evt.headers["session-id"] = evt.sessionID;
223
- }), { providerID: ID16.openai });
223
+ }), { providerID: ID18.openai });
224
224
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
225
225
  yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
226
226
  })
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./file-2epja08c.js";
4
+ } from "./git-0qhj2dys.js";
5
5
  import {
6
6
  Key4,
7
- Service71,
8
- node76
9
- } from "./file-xb66abhh.js";
7
+ Service75,
8
+ node80
9
+ } from "./git-cnpjj00n.js";
10
10
  import {
11
11
  create3
12
- } from "./file-kg06axw8.js";
12
+ } from "./git-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./file-23k12ske.js";
16
+ } from "./git-vy6f12p8.js";
17
17
  import {
18
18
  __export
19
- } from "./file-9rqn6x4v.js";
19
+ } from "./git-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event10,
33
+ Event: () => Event12,
34
34
  ID: () => ID9,
35
- Info: () => Info9,
35
+ Info: () => Info11,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service53,
43
- node: () => node56
42
+ Service: () => Service58,
43
+ node: () => node62
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,7 +61,7 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event10 } from "@opencode-ai/schema/integration";
64
+ import { Event as Event12 } from "@opencode-ai/schema/integration";
65
65
  var ID9 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info9 = Integration.Info;
73
+ var Info11 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service53 extends Context.Service()("@opencode/Integration") {
90
+ class Service58 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service53, Effect.gen(function* () {
96
- const credentials = yield* Service71;
95
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
96
+ const credentials = yield* Service75;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info9.make({
190
+ const project = (entry, connections) => Info11.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service53.of({
420
+ return Service58.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node56 = makeLocationNode({
569
- service: Service53,
568
+ var node62 = makeLocationNode({
569
+ service: Service58,
570
570
  layer,
571
- deps: [node76, node84, AppProcess.node]
571
+ deps: [node80, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info9, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service53, node56, exports_integration, Event10 };
574
+ export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info11, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service58, node62, exports_integration, Event12 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-bbe0cwvp.js";
4
+ } from "./git-y2ccy3rm.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./file-g2gt0w0k.js";
7
+ } from "./git-g2gt0w0k.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./git-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
16
  ID: () => ID6,
17
- Info: () => Info6,
17
+ Info: () => Info8,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service42,
21
- node: () => node45
20
+ Service: () => Service50,
21
+ node: () => node53
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
@@ -26,7 +26,7 @@ import { Project } from "@opencode-ai/schema/project";
26
26
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
28
28
  var ID6 = PermissionSaved.ID;
29
- var Info6 = PermissionSaved.Info;
29
+ var Info8 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service42 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service50 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service42, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
42
42
  const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service42.of({ list, add, remove });
65
+ return Service50.of({ list, add, remove });
66
66
  }));
67
- var node45 = makeGlobalNode({ service: Service42, layer, deps: [node85] });
67
+ var node53 = makeGlobalNode({ service: Service50, layer, deps: [node85] });
68
68
 
69
- export { ID6, Info6, ListInput4, AddInput2, Service42, node45, exports_saved };
69
+ export { ID6, Info8, ListInput4, AddInput2, Service50, node53, exports_saved };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./file-3t738kvx.js";
4
+ } from "./git-3t738kvx.js";
5
5
  import {
6
6
  __export
7
- } from "./file-9rqn6x4v.js";
7
+ } from "./git-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-p8qxwesx.js";
3
+ } from "./git-p8qxwesx.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node83
7
- } from "./file-eg4pr325.js";
7
+ } from "./git-v08zexc0.js";
8
8
  import {
9
- ID18
10
- } from "./file-tppvcy65.js";
9
+ ID16
10
+ } from "./git-8x14xe82.js";
11
11
  import {
12
12
  Slug2
13
- } from "./file-gebd4c9n.js";
13
+ } from "./git-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./file-bbe0cwvp.js";
17
+ } from "./git-y2ccy3rm.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./file-2epja08c.js";
21
+ } from "./git-0qhj2dys.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./file-qvbcabdc.js";
24
+ } from "./git-qvbcabdc.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./file-yg7sb877.js";
27
+ } from "./git-yg7sb877.js";
28
28
  import {
29
29
  Service76,
30
30
  node81
31
- } from "./file-299sgebr.js";
31
+ } from "./git-hawqa09c.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./file-y2cqme3r.js";
34
+ canonical2
35
+ } from "./git-hhpzk61m.js";
36
36
  import {
37
- make17
38
- } from "./file-0f1c069v.js";
37
+ make11
38
+ } from "./git-dcavesng.js";
39
39
  import {
40
40
  create3
41
- } from "./file-kg06axw8.js";
41
+ } from "./git-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./file-9rqn6x4v.js";
44
+ } from "./git-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event11,
53
- Info: () => Info10,
52
+ Event: () => Event3,
53
+ Info: () => Info3,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service54,
60
+ Service: () => Service14,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node57
66
+ node: () => node18
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info10 = Worktree.Info;
85
+ var Info3 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
89
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
90
90
  }
91
91
 
92
92
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -100,11 +100,11 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event11 = Worktree.Event;
103
+ var Event3 = Worktree.Event;
104
104
 
105
- class Service54 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service14 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service54, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
@@ -114,7 +114,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make17;
117
+ const gitStrategy = yield* make11;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event11.Updated, { projectID });
138
+ yield* bus.publish(Event3.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,8 +193,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical3(fs, created.directory) };
197
- if (result.directory !== (yield* canonical3(fs, worktreeDirectory)))
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
+ if (result.directory !== (yield* canonical2(fs, worktreeDirectory)))
198
198
  return yield* new InvalidDirectoryError2({ directory: result.directory });
199
199
  yield* changed(yield* ops.create({
200
200
  directory: result.directory,
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
220
220
  });
221
221
  const remove = Effect.fn("Worktree.remove")(function* (input) {
222
222
  yield* local;
223
- const worktreeDirectory = yield* canonical3(fs, input.directory);
223
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
224
224
  const stored = yield* ops.find(worktreeDirectory);
225
225
  if (!stored?.strategy)
226
226
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
241
241
  for (const strategy of strategies) {
242
242
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
243
243
  for (const entry of entries) {
244
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
244
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
245
245
  if (!directory || discovered.has(directory))
246
246
  continue;
247
247
  discovered.set(directory, {
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
259
259
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
260
260
  return changes;
261
261
  });
262
- return Service54.of({
262
+ return Service14.of({
263
263
  transform: state.transform,
264
264
  reload: state.reload,
265
265
  list: Effect.fn("Worktree.list")(function* () {
@@ -271,8 +271,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
271
271
  refresh
272
272
  });
273
273
  }));
274
- var node57 = makeLocationNode({
275
- service: Service54,
274
+ var node18 = makeLocationNode({
275
+ service: Service14,
276
276
  layer,
277
277
  deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
278
278
  });
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
284
284
  });
285
285
  }
286
286
 
287
- export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info10, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event11, Service54, node57, exports_worktree2, OperationError2 };
287
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event3, Service14, node18, exports_worktree2, OperationError2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./file-6z5bwd8g.js";
3
+ } from "./git-saak5ttd.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin6,
11
+ Plugin: () => Plugin20,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint3 = "https://mcp.exa.ai/mcp";
18
+ var endpoint5 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin6 = define({
30
+ var Plugin20 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin6 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint3);
52
+ const url = new URL(endpoint5);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint3, Plugin6, exports_exa };
83
+ export { endpoint5, Plugin20, exports_exa };