@opencode/core 0.0.0-dev-21067 → 0.0.0-dev-21069

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{repository-cache-t0yfw6ys.js → git-00bpreyp.js} +8 -8
  8. package/dist/chunks/{repository-cache-nj3byha7.js → git-02614zk1.js} +20 -20
  9. package/dist/chunks/{repository-cache-ve7zbnhg.js → git-0ff5h7g9.js} +10 -10
  10. package/dist/chunks/{repository-cache-04fq9w7k.js → git-0qx6w01s.js} +15 -15
  11. package/dist/chunks/{repository-cache-k57ac7j1.js → git-0th69q4z.js} +3 -3
  12. package/dist/chunks/{repository-cache-x7pmjftd.js → git-0tz5f1ee.js} +7 -7
  13. package/dist/chunks/{repository-cache-0vbcp93d.js → git-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{repository-cache-p91h8kfs.js → git-0yvmkw8f.js} +4 -4
  15. package/dist/chunks/{repository-cache-4cacgcg4.js → git-0zd41eb9.js} +13 -13
  16. package/dist/chunks/{repository-cache-eg4pqzs7.js → git-1468afn5.js} +7 -7
  17. package/dist/chunks/{repository-cache-0gwaxdb5.js → git-1jcrrg6s.js} +9 -9
  18. package/dist/chunks/{repository-cache-g6yfr6ja.js → git-1pxz8ven.js} +5 -5
  19. package/dist/chunks/{repository-cache-khmqacep.js → git-1w2wqhfv.js} +4 -4
  20. package/dist/chunks/{repository-cache-wqaksqmk.js → git-2119y00b.js} +18 -18
  21. package/dist/chunks/{repository-cache-3yx1m4p2.js → git-23wekjqs.js} +32 -32
  22. package/dist/chunks/{repository-cache-ctj9g63t.js → git-266m7yvg.js} +18 -18
  23. package/dist/chunks/{repository-cache-fpyqxqmr.js → git-2ayr3kwx.js} +19 -19
  24. package/dist/chunks/{repository-cache-at71mg2v.js → git-2j3rh8vt.js} +15 -15
  25. package/dist/chunks/{repository-cache-hqxhqkds.js → git-2jfq4a2k.js} +6 -6
  26. package/dist/chunks/{repository-cache-34wbqfzd.js → git-2q9xg5p3.js} +13 -13
  27. package/dist/chunks/{repository-cache-ejvep6r2.js → git-2qsqy3dj.js} +29 -29
  28. package/dist/chunks/{repository-cache-g6q9qykm.js → git-2sejkfem.js} +9 -9
  29. package/dist/chunks/git-2tbsc6xa.js +253 -0
  30. package/dist/chunks/{repository-cache-b4qvnwj4.js → git-2yvprtqn.js} +43 -43
  31. package/dist/chunks/{repository-cache-aypb1cd9.js → git-30aagwgp.js} +10 -10
  32. package/dist/chunks/{repository-cache-h7s7r6s9.js → git-31xfzrxg.js} +5 -5
  33. package/dist/chunks/{repository-cache-vhaf4ayt.js → git-3cpe3kw7.js} +88 -88
  34. package/dist/chunks/{repository-cache-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{repository-cache-ave3dvq0.js → git-3gt9q2bb.js} +10 -10
  36. package/dist/chunks/{repository-cache-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{repository-cache-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{repository-cache-mj4tx5qy.js → git-3hyqebky.js} +18 -18
  39. package/dist/chunks/{repository-cache-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{repository-cache-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{repository-cache-geyja93h.js → git-3vzj2kxg.js} +28 -28
  42. package/dist/chunks/{repository-cache-ycpsy51k.js → git-3w33sg6k.js} +27 -27
  43. package/dist/chunks/{repository-cache-3zsf4n22.js → git-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{repository-cache-axe3mf62.js → git-48kw51zw.js} +3 -3
  45. package/dist/chunks/{repository-cache-rsvmvhbp.js → git-4jk0qxj4.js} +6 -6
  46. package/dist/chunks/{repository-cache-h4a8c9dz.js → git-4k8e88tr.js} +4 -4
  47. package/dist/chunks/{repository-cache-zss4em3h.js → git-4kdqwsjh.js} +25 -25
  48. package/dist/chunks/{repository-cache-mv1zf9z2.js → git-4t5kpmng.js} +30 -30
  49. package/dist/chunks/{repository-cache-pm1kn7fh.js → git-4xhx7w4s.js} +23 -23
  50. package/dist/chunks/{repository-cache-c63260k1.js → git-4yjw5cbc.js} +20 -20
  51. package/dist/chunks/{repository-cache-54ma36ye.js → git-54ma36ye.js} +1 -1
  52. package/dist/chunks/{repository-cache-by2m0qzd.js → git-5f47q2sq.js} +14 -14
  53. package/dist/chunks/{repository-cache-j2b91fdp.js → git-5jyrmfvy.js} +14 -14
  54. package/dist/chunks/{repository-cache-5m9w47nd.js → git-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{repository-cache-8qpd1wq0.js → git-5mv525pg.js} +24 -24
  56. package/dist/chunks/{repository-cache-e49nbjze.js → git-5nvx1j92.js} +11 -11
  57. package/dist/chunks/{repository-cache-e80seqcp.js → git-5rzwp8tz.js} +3 -3
  58. package/dist/chunks/{repository-cache-vr44d4hm.js → git-5ycn1s57.js} +15 -15
  59. package/dist/chunks/{repository-cache-e5tpmdkr.js → git-67w5jb7s.js} +19 -19
  60. package/dist/chunks/{repository-cache-d1qr7c61.js → git-69crj1q0.js} +29 -29
  61. package/dist/chunks/{repository-cache-8xfr6ygr.js → git-6f5t57mb.js} +4 -4
  62. package/dist/chunks/{repository-cache-px85ptb0.js → git-6fw3c6yn.js} +25 -25
  63. package/dist/chunks/{repository-cache-rkxvzxf2.js → git-6jkg52sa.js} +45 -45
  64. package/dist/chunks/{repository-cache-w92k2e0p.js → git-6pc27hjz.js} +4 -4
  65. package/dist/chunks/{repository-cache-0fkzsajt.js → git-6q4rff1r.js} +55 -55
  66. package/dist/chunks/{repository-cache-a7q6bcxf.js → git-6tcpm8dw.js} +47 -47
  67. package/dist/chunks/{repository-cache-6shgtgh7.js → git-6v7mnssa.js} +22 -22
  68. package/dist/chunks/{repository-cache-6xb47vfp.js → git-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{repository-cache-0mp77758.js → git-73g798cj.js} +21 -21
  70. package/dist/chunks/{repository-cache-btec747f.js → git-762r0j46.js} +5 -5
  71. package/dist/chunks/{repository-cache-775gj3j1.js → git-775gj3j1.js} +2 -2
  72. package/dist/chunks/{repository-cache-vcdzpava.js → git-7bjh6j87.js} +37 -37
  73. package/dist/chunks/{repository-cache-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{repository-cache-2reh3z7q.js → git-7c88d4gx.js} +11 -11
  75. package/dist/chunks/{repository-cache-qgn6gcr1.js → git-7dqw4kz8.js} +5 -5
  76. package/dist/chunks/{repository-cache-mpy9qz4k.js → git-7jwfj2aw.js} +11 -11
  77. package/dist/chunks/{repository-cache-2hs2b7gr.js → git-7tfmmy5j.js} +16 -16
  78. package/dist/chunks/{repository-cache-h0y6q46p.js → git-7venh9gk.js} +27 -27
  79. package/dist/chunks/{repository-cache-wz0h12mc.js → git-7xeqc4s4.js} +45 -45
  80. package/dist/chunks/{repository-cache-xybefm6f.js → git-7zt5x37y.js} +1 -1
  81. package/dist/chunks/{repository-cache-1002ah85.js → git-831gmjmg.js} +4 -4
  82. package/dist/chunks/{repository-cache-w1eejvng.js → git-84txncab.js} +5 -5
  83. package/dist/chunks/{repository-cache-pk4ymh6x.js → git-8a1xt0qe.js} +20 -20
  84. package/dist/chunks/{repository-cache-e7r48vpy.js → git-8cptq6xk.js} +11 -11
  85. package/dist/chunks/{repository-cache-vsye7q8h.js → git-8h31457k.js} +32 -32
  86. package/dist/chunks/{repository-cache-apjrvc88.js → git-8j6brnn0.js} +18 -18
  87. package/dist/chunks/{repository-cache-8m6m0r52.js → git-8m6m0r52.js} +1 -1
  88. package/dist/chunks/{repository-cache-f25zr6qz.js → git-8rta2mgv.js} +24 -24
  89. package/dist/chunks/{repository-cache-rcy0c9yy.js → git-8v7vnxqj.js} +46 -46
  90. package/dist/chunks/{repository-cache-8nmsyqvc.js → git-8xjp7fxv.js} +185 -185
  91. package/dist/chunks/{repository-cache-91qna3x0.js → git-91qna3x0.js} +3 -3
  92. package/dist/chunks/{repository-cache-be7qvw84.js → git-9c3np669.js} +8 -8
  93. package/dist/chunks/{repository-cache-cjb9bptw.js → git-9nggydkc.js} +11 -11
  94. package/dist/chunks/{repository-cache-5cgvgbkt.js → git-9psrfwvx.js} +17 -17
  95. package/dist/chunks/{repository-cache-mwyvanbh.js → git-9q8t3w4w.js} +14 -14
  96. package/dist/chunks/git-9sh4wc5j.js +18 -0
  97. package/dist/chunks/{repository-cache-z0qz3jqt.js → git-9tw20s6t.js} +53 -53
  98. package/dist/chunks/{repository-cache-ab7kh9ah.js → git-a0vxgrxv.js} +13 -13
  99. package/dist/chunks/{repository-cache-4w5f3qm5.js → git-a2qe2ev9.js} +8 -8
  100. package/dist/chunks/{repository-cache-e40rpznh.js → git-acbjzsa7.js} +11 -11
  101. package/dist/chunks/{repository-cache-fdg7jwgm.js → git-aeg33gny.js} +19 -19
  102. package/dist/chunks/{repository-cache-529j2gk6.js → git-afqskp6j.js} +8 -8
  103. package/dist/chunks/{repository-cache-gd39dmhb.js → git-ayrdz2nr.js} +17 -17
  104. package/dist/chunks/{repository-cache-20ddjeqk.js → git-b40n6ccn.js} +5 -5
  105. package/dist/chunks/{repository-cache-sgjfhjy7.js → git-b5r4mbce.js} +11 -11
  106. package/dist/chunks/{repository-cache-qyj1vcvk.js → git-bdpzzc2x.js} +11 -11
  107. package/dist/chunks/{repository-cache-v1cyyw7h.js → git-bh4vy26f.js} +15 -15
  108. package/dist/chunks/{repository-cache-bqcq01f8.js → git-bnn5vwpb.js} +1 -1
  109. package/dist/chunks/{repository-cache-3yfx7ssa.js → git-bsps9kxp.js} +8 -8
  110. package/dist/chunks/{repository-cache-c1fqxshp.js → git-c1fqxshp.js} +3 -3
  111. package/dist/chunks/{repository-cache-d4k0r7c4.js → git-c2jraa9j.js} +27 -27
  112. package/dist/chunks/{repository-cache-fvcpcef7.js → git-ca80dkkt.js} +14 -14
  113. package/dist/chunks/{repository-cache-8tsx4356.js → git-cmbb65yx.js} +17 -17
  114. package/dist/chunks/{repository-cache-cmwkp3r5.js → git-cmwkp3r5.js} +1 -1
  115. package/dist/chunks/{repository-cache-pdx0gykg.js → git-cnh20cya.js} +24 -24
  116. package/dist/chunks/{repository-cache-g3y8m8pp.js → git-ctwn6ggk.js} +14 -14
  117. package/dist/chunks/{repository-cache-8ke26ekv.js → git-cv9a3evq.js} +21 -21
  118. package/dist/chunks/{repository-cache-addxnjmp.js → git-db2wf4at.js} +4 -4
  119. package/dist/chunks/{repository-cache-ywqzdww2.js → git-dfxpctz5.js} +25 -25
  120. package/dist/chunks/{repository-cache-temcp865.js → git-dkjqkvp1.js} +4 -4
  121. package/dist/chunks/{repository-cache-m93cgr6s.js → git-dpxxdp3p.js} +8 -8
  122. package/dist/chunks/{repository-cache-xrr5sc3f.js → git-dq5d42ev.js} +40 -40
  123. package/dist/chunks/{repository-cache-dqxsqydv.js → git-dqxsqydv.js} +1 -1
  124. package/dist/chunks/{repository-cache-57b9ws8p.js → git-drwq78ky.js} +5 -5
  125. package/dist/chunks/{repository-cache-xfnq57nx.js → git-dtkbkpn6.js} +15 -15
  126. package/dist/chunks/{repository-cache-fqp693fh.js → git-dywg3qh4.js} +22 -22
  127. package/dist/chunks/{repository-cache-9a1tk2ax.js → git-e5s7b6hf.js} +18 -18
  128. package/dist/chunks/{repository-cache-wcmdh5fr.js → git-e6ztw48d.js} +8 -8
  129. package/dist/chunks/{repository-cache-4weqkh0r.js → git-eaf53vd4.js} +12 -12
  130. package/dist/chunks/{repository-cache-rhjbct0v.js → git-eaj1djv9.js} +8 -8
  131. package/dist/chunks/{repository-cache-krf4tsjk.js → git-edc28t1d.js} +30 -30
  132. package/dist/chunks/{repository-cache-eej6y6fw.js → git-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{repository-cache-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{repository-cache-e5m8tg9t.js → git-eh27m2d1.js} +23 -23
  135. package/dist/chunks/{repository-cache-k9gyx25e.js → git-ekmdazyf.js} +21 -21
  136. package/dist/chunks/{repository-cache-0vxmkk46.js → git-ex86cwx9.js} +10 -10
  137. package/dist/chunks/{repository-cache-e2pebnkw.js → git-eyh1wkb1.js} +49 -49
  138. package/dist/chunks/{repository-cache-1acjjqhc.js → git-f2n192rq.js} +4 -4
  139. package/dist/chunks/{repository-cache-ewxjqerj.js → git-f337py0x.js} +43 -43
  140. package/dist/chunks/{repository-cache-fw181sc9.js → git-f58gpcny.js} +9 -9
  141. package/dist/chunks/{repository-cache-0q1bg550.js → git-f8kkz21q.js} +7 -7
  142. package/dist/chunks/{repository-cache-3j6skxgn.js → git-fag8vj58.js} +15 -15
  143. package/dist/chunks/{repository-cache-6mvxpr6a.js → git-fbzjpc5s.js} +21 -21
  144. package/dist/chunks/{repository-cache-1mhdjbgf.js → git-fdgewsy2.js} +51 -51
  145. package/dist/chunks/{repository-cache-b15enhky.js → git-fntcccxw.js} +25 -25
  146. package/dist/chunks/{repository-cache-v0es1rhs.js → git-fpecnkgp.js} +9 -9
  147. package/dist/chunks/{repository-cache-yacze3r8.js → git-fvkc5bdm.js} +5 -5
  148. package/dist/chunks/{repository-cache-q5v42qaq.js → git-fza1zbnh.js} +28 -28
  149. package/dist/chunks/{repository-cache-j9x0khfw.js → git-g182skvz.js} +6 -6
  150. package/dist/chunks/{repository-cache-f0q5jczr.js → git-g1hadtra.js} +12 -12
  151. package/dist/chunks/{repository-cache-9rehpywf.js → git-g6g1f1f4.js} +32 -32
  152. package/dist/chunks/{repository-cache-5fggwg49.js → git-gaamej5p.js} +6 -6
  153. package/dist/chunks/{repository-cache-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  154. package/dist/chunks/git-gh1jkbka.js +513 -0
  155. package/dist/chunks/{repository-cache-dk6v5ecn.js → git-gnh85nqw.js} +20 -20
  156. package/dist/chunks/{repository-cache-xyzkt3tg.js → git-gqcfbtm3.js} +25 -25
  157. package/dist/chunks/git-gw4ygm76.js +26 -0
  158. package/dist/chunks/{repository-cache-d2czbp48.js → git-gw7cjrad.js} +4 -4
  159. package/dist/chunks/{repository-cache-j1wkfhwt.js → git-gykybrp3.js} +3 -3
  160. package/dist/chunks/{repository-cache-fjtmed58.js → git-h1vtm10r.js} +10 -10
  161. package/dist/chunks/{repository-cache-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{repository-cache-tnw9vg4a.js → git-ha3rtydb.js} +1 -1
  163. package/dist/chunks/{repository-cache-kcvbm89f.js → git-hbb48s8v.js} +30 -30
  164. package/dist/chunks/{repository-cache-dys7k0s0.js → git-hcv80w8f.js} +8 -8
  165. package/dist/chunks/{repository-cache-crq3qyq7.js → git-hfkyxwzf.js} +16 -16
  166. package/dist/chunks/{repository-cache-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
  167. package/dist/chunks/{repository-cache-d8v8pkk5.js → git-hmt9zk07.js} +31 -31
  168. package/dist/chunks/{repository-cache-vk80et65.js → git-hrfjxse0.js} +4 -4
  169. package/dist/chunks/{repository-cache-14ghcskf.js → git-j2fvhsza.js} +11 -11
  170. package/dist/chunks/{repository-cache-8xbb1bj4.js → git-j4qww8c3.js} +4 -4
  171. package/dist/chunks/{repository-cache-3ppptnan.js → git-j5w2yx54.js} +6 -6
  172. package/dist/chunks/{repository-cache-y6mhz57t.js → git-jewzahs7.js} +4 -4
  173. package/dist/chunks/{repository-cache-gq7y3cd8.js → git-jhyzf99q.js} +15 -15
  174. package/dist/chunks/{repository-cache-yh1stbkq.js → git-jmecpmqm.js} +10 -10
  175. package/dist/chunks/{repository-cache-cchmky4n.js → git-jmksq526.js} +4 -4
  176. package/dist/chunks/{repository-cache-q2pht526.js → git-jrqabhyb.js} +13 -13
  177. package/dist/chunks/{repository-cache-kpe059n0.js → git-jv7bf4eg.js} +9 -9
  178. package/dist/chunks/{repository-cache-94ca0bep.js → git-k1n0z3hy.js} +5 -5
  179. package/dist/chunks/{repository-cache-sje3rda6.js → git-k4ahcazb.js} +11 -11
  180. package/dist/chunks/{repository-cache-2c7hjkzv.js → git-kad49353.js} +20 -20
  181. package/dist/chunks/{repository-cache-mp7nbm6p.js → git-kdvnmn04.js} +3 -3
  182. package/dist/chunks/{repository-cache-7862sz3y.js → git-kpnmq009.js} +5 -5
  183. package/dist/chunks/{repository-cache-5kcxs3hq.js → git-krwp2252.js} +11 -11
  184. package/dist/chunks/{repository-cache-kwb1v3vj.js → git-kwb1v3vj.js} +1 -1
  185. package/dist/chunks/{repository-cache-mq9zb5b9.js → git-kzp420br.js} +25 -25
  186. package/dist/chunks/{repository-cache-wp5jg3qv.js → git-m5pxmjnr.js} +18 -18
  187. package/dist/chunks/{repository-cache-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{repository-cache-maspj1v3.js → git-maspj1v3.js} +1 -1
  189. package/dist/chunks/{repository-cache-wbv8krvw.js → git-mc8yk1sj.js} +25 -25
  190. package/dist/chunks/{repository-cache-87xdddg2.js → git-mh6hy0t6.js} +16 -16
  191. package/dist/chunks/{repository-cache-cwe0vf0q.js → git-mkgxfw47.js} +17 -17
  192. package/dist/chunks/{repository-cache-2r93mh4x.js → git-mydantps.js} +12 -12
  193. package/dist/chunks/{repository-cache-ngpfqwbj.js → git-mza4dkfk.js} +18 -18
  194. package/dist/chunks/{repository-cache-gv37jgcn.js → git-n5acq6xm.js} +32 -32
  195. package/dist/chunks/{repository-cache-9ydfqn9m.js → git-n5fp27ar.js} +24 -24
  196. package/dist/chunks/{repository-cache-1c0nrm75.js → git-na5v7rrw.js} +33 -33
  197. package/dist/chunks/{repository-cache-9e6h2n11.js → git-nb5p96ve.js} +5 -5
  198. package/dist/chunks/{repository-cache-3f3jw9g7.js → git-np1yhkch.js} +27 -27
  199. package/dist/chunks/{repository-cache-04hm8sbf.js → git-nq13secw.js} +3 -3
  200. package/dist/chunks/{repository-cache-5b8jzjbb.js → git-ns8t88d0.js} +10 -10
  201. package/dist/chunks/{repository-cache-ch54pc8v.js → git-p8q506w0.js} +5 -5
  202. package/dist/chunks/{repository-cache-abs0cgcn.js → git-perpg7kn.js} +34 -34
  203. package/dist/chunks/{repository-cache-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{repository-cache-pknna89w.js → git-pknna89w.js} +1 -1
  205. package/dist/chunks/{repository-cache-xgq2rm19.js → git-pqbxjc4k.js} +9 -9
  206. package/dist/chunks/{repository-cache-3dp26de5.js → git-qfqkgstd.js} +3 -3
  207. package/dist/chunks/{repository-cache-0ks8fkk7.js → git-qkjhzd8c.js} +15 -15
  208. package/dist/chunks/{repository-cache-nq7pnem0.js → git-qmc0kwyt.js} +20 -20
  209. package/dist/chunks/{repository-cache-491xdksk.js → git-qnaf4t8h.js} +27 -27
  210. package/dist/chunks/{repository-cache-qnc92qwc.js → git-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{repository-cache-qsdy395h.js → git-qsdy395h.js} +1 -1
  212. package/dist/chunks/{repository-cache-7hpzbegt.js → git-qtpe9amp.js} +5 -5
  213. package/dist/chunks/{repository-cache-4s488yf0.js → git-qvpm0d7c.js} +19 -19
  214. package/dist/chunks/{repository-cache-pfjh7j5z.js → git-r2fg6vv7.js} +11 -11
  215. package/dist/chunks/{repository-cache-bfv9bv9k.js → git-r5y2frqw.js} +6 -6
  216. package/dist/chunks/{repository-cache-y7nndgyc.js → git-r70na3yp.js} +9 -9
  217. package/dist/chunks/{repository-cache-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{repository-cache-rert0e01.js → git-rert0e01.js} +2 -2
  219. package/dist/chunks/{repository-cache-m6b17x9v.js → git-rj2hqavp.js} +2 -2
  220. package/dist/chunks/{repository-cache-rj3eygr5.js → git-rj3eygr5.js} +2 -2
  221. package/dist/chunks/{repository-cache-6rm5yzkt.js → git-rk7s9xkn.js} +4 -4
  222. package/dist/chunks/{repository-cache-9hd7xbnq.js → git-rmpjc43h.js} +3 -3
  223. package/dist/chunks/{repository-cache-9y9sk2j9.js → git-rqa1jxse.js} +2 -2
  224. package/dist/chunks/{repository-cache-1zkr7at4.js → git-rwywfv65.js} +15 -15
  225. package/dist/chunks/{repository-cache-mdre6djm.js → git-rxyg1hmn.js} +11 -11
  226. package/dist/chunks/{repository-cache-xreky3y6.js → git-s132tc7h.js} +35 -35
  227. package/dist/chunks/{repository-cache-6fatt4mk.js → git-s1kvmffy.js} +9 -9
  228. package/dist/chunks/{repository-cache-bxv8f0vx.js → git-s2rmhwt5.js} +34 -34
  229. package/dist/chunks/{repository-cache-sa8ekw3f.js → git-sa8ekw3f.js} +2 -2
  230. package/dist/chunks/{repository-cache-zzt06fmm.js → git-sam7rjxf.js} +16 -16
  231. package/dist/chunks/{repository-cache-xxtzrfs4.js → git-sgth7ws6.js} +14 -14
  232. package/dist/chunks/{repository-cache-v5dkyp31.js → git-sxz6gkc3.js} +7 -7
  233. package/dist/chunks/{repository-cache-syv4x271.js → git-syv4x271.js} +1 -1
  234. package/dist/chunks/{repository-cache-71ydk2nh.js → git-t8jxbrbs.js} +5 -5
  235. package/dist/chunks/{repository-cache-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{repository-cache-89znhe33.js → git-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{repository-cache-tdstcens.js → git-tdstcens.js} +1 -1
  238. package/dist/chunks/{repository-cache-d9vjfnsx.js → git-tf1zb054.js} +21 -21
  239. package/dist/chunks/{repository-cache-tm0kqsz3.js → git-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{repository-cache-a5efwarc.js → git-tq31zwhn.js} +19 -19
  241. package/dist/chunks/{repository-cache-waskdk5r.js → git-txm3e8qz.js} +4 -4
  242. package/dist/chunks/{repository-cache-ejb551xx.js → git-tyxhgj5h.js} +50 -50
  243. package/dist/chunks/{repository-cache-tyytaxap.js → git-tyytaxap.js} +1 -1
  244. package/dist/chunks/{repository-cache-gst7axd9.js → git-tz4n1mmd.js} +4 -4
  245. package/dist/chunks/{repository-cache-q51r5gk2.js → git-tzqb1zj9.js} +9 -9
  246. package/dist/chunks/{repository-cache-7s2t8884.js → git-v2rmwhj0.js} +7 -7
  247. package/dist/chunks/{repository-cache-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{repository-cache-cdv61tg0.js → git-ve3sm23d.js} +11 -11
  249. package/dist/chunks/{repository-cache-veqvce7d.js → git-veqvce7d.js} +1 -1
  250. package/dist/chunks/{repository-cache-47p11zqp.js → git-vhc6xrgv.js} +30 -30
  251. package/dist/chunks/{repository-cache-0h584zcj.js → git-vrt7w025.js} +30 -30
  252. package/dist/chunks/{repository-cache-fe4hjjyy.js → git-vvgkgf2d.js} +11 -11
  253. package/dist/chunks/{repository-cache-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{repository-cache-3s0pff9n.js → git-w0ctrm3b.js} +4 -4
  255. package/dist/chunks/{repository-cache-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{repository-cache-wd87259q.js → git-wd87259q.js} +1 -1
  257. package/dist/chunks/{repository-cache-kqx1b4hy.js → git-wg81ww38.js} +4 -4
  258. package/dist/chunks/{repository-cache-6y3da09e.js → git-wq8r3h7a.js} +9 -9
  259. package/dist/chunks/{repository-cache-v4v9aph4.js → git-wqz4eby1.js} +13 -13
  260. package/dist/chunks/{repository-cache-d591ppm4.js → git-wyhe0yhr.js} +30 -30
  261. package/dist/chunks/{repository-cache-9m58ky0y.js → git-wyywahvm.js} +27 -27
  262. package/dist/chunks/{repository-cache-jecp24jg.js → git-x10x1rpr.js} +6 -6
  263. package/dist/chunks/{repository-cache-m8sfq14v.js → git-x3s9gwad.js} +13 -13
  264. package/dist/chunks/{repository-cache-ptjpt6w9.js → git-xknh7n4g.js} +87 -87
  265. package/dist/chunks/{repository-cache-n2wb2mch.js → git-xrtj00bp.js} +313 -313
  266. package/dist/chunks/{repository-cache-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{repository-cache-y71avatq.js → git-y71avatq.js} +1 -1
  268. package/dist/chunks/{repository-cache-gj71zhbs.js → git-ygdna4kr.js} +5 -5
  269. package/dist/chunks/{repository-cache-cx8gshh0.js → git-yhjwftg3.js} +14 -14
  270. package/dist/chunks/{repository-cache-c342w7bd.js → git-ym80zgz3.js} +17 -17
  271. package/dist/chunks/{repository-cache-wjr9rjd7.js → git-ywt8jp22.js} +6 -6
  272. package/dist/chunks/{repository-cache-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{repository-cache-yrmnft4d.js → git-z0crbjfj.js} +11 -11
  274. package/dist/chunks/{repository-cache-kqtg52fn.js → git-z1sbw1b4.js} +69 -69
  275. package/dist/chunks/{repository-cache-9bepqb19.js → git-z64re3f0.js} +40 -40
  276. package/dist/chunks/{repository-cache-zgza60ny.js → git-zdkdeprt.js} +8 -8
  277. package/dist/chunks/{repository-cache-sxk90dft.js → git-zfvpt5cz.js} +33 -33
  278. package/dist/chunks/{repository-cache-rap56gfv.js → git-zgcpvakh.js} +10 -10
  279. package/dist/chunks/{repository-cache-qb9n2841.js → git-zk35yz24.js} +6 -6
  280. package/dist/chunks/{repository-cache-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{repository-cache-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{repository-cache-wecqtg5s.js → git-zyk1yjk8.js} +5 -5
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +11 -11
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +87 -87
  288. package/dist/config/discovery.js +86 -86
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +101 -101
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +205 -205
  293. package/dist/config/plugin/compaction.js +154 -154
  294. package/dist/config/plugin/compatibility.js +134 -134
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +116 -116
  298. package/dist/config/plugin/instruction.js +116 -116
  299. package/dist/config/plugin/location-watcher.js +116 -116
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +117 -117
  302. package/dist/config/plugin/provider.js +116 -116
  303. package/dist/config/plugin/reference.js +118 -118
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +104 -104
  306. package/dist/config/plugin/skill.js +137 -137
  307. package/dist/config/plugin/snapshot.js +116 -116
  308. package/dist/config/plugin/source.js +113 -113
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +117 -117
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +1 -1
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +121 -121
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +87 -87
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  384. package/dist/database/migration.gen.js +51 -51
  385. package/dist/database/migration.js +53 -53
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -366
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +95 -95
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +97 -97
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +3 -3
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +106 -106
  410. package/dist/file-mutation.js +96 -96
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +105 -105
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +104 -104
  423. package/dist/form.js +86 -86
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +85 -85
  426. package/dist/generate.js +107 -107
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +93 -93
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +357 -357
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +89 -89
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +89 -89
  456. package/dist/job.js +80 -80
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +75 -75
  459. package/dist/location-activity.js +133 -133
  460. package/dist/location-lifecycle.js +109 -109
  461. package/dist/location-service-map.js +88 -88
  462. package/dist/location-services.js +354 -354
  463. package/dist/location.js +89 -89
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +93 -93
  466. package/dist/mcp/index.js +111 -111
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +80 -80
  469. package/dist/mcp/stdio.js +92 -92
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +93 -93
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +104 -104
  474. package/dist/models-dev.js +109 -109
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +115 -115
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +90 -90
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +77 -77
  484. package/dist/plugin/agent.js +76 -76
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +1 -1
  490. package/dist/plugin/internal.js +329 -329
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +98 -98
  493. package/dist/plugin/module.js +117 -117
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +104 -104
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  498. package/dist/plugin/provider/azure.js +116 -116
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +116 -116
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/databricks.js +1 -1
  506. package/dist/plugin/provider/digitalocean.js +95 -95
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +97 -97
  510. package/dist/plugin/provider/gitlab.js +95 -95
  511. package/dist/plugin/provider/google-vertex.js +113 -113
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +80 -80
  514. package/dist/plugin/provider/lmstudio.js +125 -125
  515. package/dist/plugin/provider/local.js +122 -122
  516. package/dist/plugin/provider/modal.js +94 -94
  517. package/dist/plugin/provider/neon.js +1 -1
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +125 -125
  520. package/dist/plugin/provider/openai.js +116 -116
  521. package/dist/plugin/provider/opencode.js +100 -100
  522. package/dist/plugin/provider/openrouter.js +93 -93
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +81 -81
  525. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  526. package/dist/plugin/provider/sap-ai-core.js +93 -93
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  529. package/dist/plugin/provider/vercel.js +92 -92
  530. package/dist/plugin/provider/vllm.js +125 -125
  531. package/dist/plugin/provider/xai.js +93 -93
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +168 -168
  534. package/dist/plugin/sdk.js +78 -78
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +344 -344
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +88 -88
  542. package/dist/plugin/vcs/hg.js +88 -88
  543. package/dist/plugin/verbosity.js +95 -95
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +103 -103
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +99 -99
  560. package/dist/reference/instructions.js +91 -91
  561. package/dist/reference.js +93 -93
  562. package/dist/repository-cache.js +83 -83
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +97 -97
  566. package/dist/rpc.js +88 -88
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +76 -76
  570. package/dist/session/compaction.js +135 -135
  571. package/dist/session/context.js +155 -155
  572. package/dist/session/diff.js +90 -90
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +214 -214
  577. package/dist/session/execution.js +129 -129
  578. package/dist/session/generate.js +156 -156
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +81 -81
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +99 -99
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +122 -122
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +131 -131
  590. package/dist/session/projector.js +88 -88
  591. package/dist/session/prompt.js +107 -107
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +92 -92
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -224
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +100 -100
  599. package/dist/session/runner/publish-llm-event.js +115 -115
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +105 -105
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +75 -75
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +113 -113
  615. package/dist/session/transfer.js +210 -210
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +109 -109
  625. package/dist/skill.js +114 -114
  626. package/dist/snapshot.js +93 -93
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +128 -128
  631. package/dist/tool/plugin/edit.js +122 -122
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +126 -126
  635. package/dist/tool/plugin/mcp-resource.js +119 -119
  636. package/dist/tool/plugin/opencode.js +111 -111
  637. package/dist/tool/plugin/patch.js +122 -122
  638. package/dist/tool/plugin/question.js +107 -107
  639. package/dist/tool/plugin/read.js +127 -127
  640. package/dist/tool/plugin/shell.js +210 -210
  641. package/dist/tool/plugin/skill.js +115 -115
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +114 -114
  644. package/dist/tool/plugin/websearch.js +116 -116
  645. package/dist/tool/plugin/write.js +122 -122
  646. package/dist/tool/read-filesystem.js +102 -102
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +12 -12
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +94 -94
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +95 -95
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +91 -91
  671. package/dist/websearch.js +86 -86
  672. package/dist/wellknown/plugin.js +78 -78
  673. package/dist/wellknown.js +83 -83
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +80 -80
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +91 -91
  681. package/dist/worktree.js +98 -98
  682. package/package.json +8 -8
  683. package/dist/chunks/repository-cache-dxj72tfx.js +0 -18
  684. package/dist/chunks/repository-cache-jevmk2ks.js +0 -26
  685. package/dist/chunks/repository-cache-ks80404h.js +0 -513
  686. package/dist/chunks/repository-cache-w3tje0hb.js +0 -253
  687. /package/dist/chunks/{repository-cache-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{repository-cache-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{repository-cache-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{repository-cache-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{repository-cache-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{repository-cache-24dcb14g.js → git-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{repository-cache-2710q6r3.js → git-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{repository-cache-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{repository-cache-2bv980vf.js → git-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{repository-cache-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{repository-cache-359p4xyc.js → git-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{repository-cache-3asan66x.js → git-3asan66x.js} +0 -0
  699. /package/dist/chunks/{repository-cache-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{repository-cache-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{repository-cache-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{repository-cache-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{repository-cache-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{repository-cache-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{repository-cache-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{repository-cache-53557ph1.js → git-53557ph1.js} +0 -0
  707. /package/dist/chunks/{repository-cache-550bvhaj.js → git-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{repository-cache-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{repository-cache-6prwharc.js → git-6prwharc.js} +0 -0
  710. /package/dist/chunks/{repository-cache-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{repository-cache-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{repository-cache-7m9af43g.js → git-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{repository-cache-822emrt2.js → git-822emrt2.js} +0 -0
  714. /package/dist/chunks/{repository-cache-84wd9syh.js → git-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{repository-cache-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{repository-cache-8n3pysct.js → git-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{repository-cache-8wj87zfr.js → git-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{repository-cache-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{repository-cache-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{repository-cache-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{repository-cache-af5trqkr.js → git-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{repository-cache-afrmfg78.js → git-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{repository-cache-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{repository-cache-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{repository-cache-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{repository-cache-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{repository-cache-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{repository-cache-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{repository-cache-d9fn303g.js → git-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{repository-cache-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{repository-cache-dajrwvna.js → git-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{repository-cache-dap0rakb.js → git-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{repository-cache-df08tz66.js → git-df08tz66.js} +0 -0
  734. /package/dist/chunks/{repository-cache-dy18nga0.js → git-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{repository-cache-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{repository-cache-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{repository-cache-ec1grn59.js → git-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{repository-cache-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{repository-cache-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{repository-cache-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{repository-cache-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{repository-cache-faypxj3z.js → git-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{repository-cache-fd410y7t.js → git-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{repository-cache-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{repository-cache-g86h250q.js → git-g86h250q.js} +0 -0
  746. /package/dist/chunks/{repository-cache-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{repository-cache-gftt206x.js → git-gftt206x.js} +0 -0
  748. /package/dist/chunks/{repository-cache-hcxmzztb.js → git-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{repository-cache-hk9envan.js → git-hk9envan.js} +0 -0
  750. /package/dist/chunks/{repository-cache-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{repository-cache-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{repository-cache-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{repository-cache-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{repository-cache-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{repository-cache-jze0r7bz.js → git-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{repository-cache-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{repository-cache-m18g726c.js → git-m18g726c.js} +0 -0
  758. /package/dist/chunks/{repository-cache-mp448xyj.js → git-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{repository-cache-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{repository-cache-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{repository-cache-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{repository-cache-njntx4h6.js → git-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{repository-cache-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{repository-cache-pyv0edze.js → git-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{repository-cache-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{repository-cache-q74kybfr.js → git-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{repository-cache-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{repository-cache-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{repository-cache-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{repository-cache-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{repository-cache-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{repository-cache-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{repository-cache-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{repository-cache-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{repository-cache-ve7vex1e.js → git-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{repository-cache-w803qqfp.js → git-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{repository-cache-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{repository-cache-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{repository-cache-wjj7prxr.js → git-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{repository-cache-wtztk69x.js → git-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{repository-cache-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{repository-cache-x61499pn.js → git-x61499pn.js} +0 -0
  783. /package/dist/chunks/{repository-cache-y44na4kk.js → git-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{repository-cache-y8f7s663.js → git-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{repository-cache-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{repository-cache-ym463w8f.js → git-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{repository-cache-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{repository-cache-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./repository-cache-addxnjmp.js";
3
+ } from "./git-db2wf4at.js";
4
4
  import {
5
5
  Service84
6
- } from "./repository-cache-h4a8c9dz.js";
6
+ } from "./git-4k8e88tr.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./repository-cache-0h584zcj.js";
9
+ Event17
10
+ } from "./git-vrt7w025.js";
11
11
  import {
12
- ID14,
12
+ ID10,
13
13
  MethodID2
14
- } from "./repository-cache-d591ppm4.js";
14
+ } from "./git-wyhe0yhr.js";
15
15
  import {
16
- ID13,
16
+ ID9,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service77
20
- } from "./repository-cache-n2wb2mch.js";
19
+ Service68
20
+ } from "./git-xrtj00bp.js";
21
21
  import {
22
- ID6
23
- } from "./repository-cache-abs0cgcn.js";
22
+ ID8
23
+ } from "./git-perpg7kn.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./repository-cache-2reh3z7q.js";
27
+ } from "./git-7c88d4gx.js";
28
28
  import {
29
29
  useragent2
30
- } from "./repository-cache-cjb9bptw.js";
30
+ } from "./git-9nggydkc.js";
31
31
  import {
32
- ID11
33
- } from "./repository-cache-6mvxpr6a.js";
32
+ ID18
33
+ } from "./git-fbzjpc5s.js";
34
34
  import {
35
35
  get5
36
- } from "./repository-cache-54ma36ye.js";
36
+ } from "./git-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID14.make("github-copilot"),
68
+ integrationID: ID10.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,7 +163,7 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service77;
166
+ const providers = yield* Service68;
167
167
  const bus = yield* Service84;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID13.githubCopilot);
183
+ const provider = yield* providers.get(ID9.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
185
  try: () => load2(url, {
186
186
  ...provider?.headers,
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID13.githubCopilot);
205
+ const item = evt.get(ID9.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
230
230
  }
231
231
  });
232
232
  yield* ctx.model.transform((models) => {
233
- if (models.get(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
234
- models.update(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
233
+ if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
234
+ models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
235
235
  model.enabled = false;
236
236
  });
237
237
  }
238
238
  });
239
239
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
240
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
240
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
241
  yield* refresh().pipe(Effect.forkScoped);
242
242
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
243
- if (evt.model.providerID !== ID13.githubCopilot)
243
+ if (evt.model.providerID !== ID9.githubCopilot)
244
244
  return;
245
245
  if (evt.package !== "@ai-sdk/github-copilot")
246
246
  return;
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
249
249
  evt.sdk = mod.createOpenaiCompatible(evt.options);
250
250
  }));
251
251
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
252
- if (evt.model.providerID !== ID13.githubCopilot)
252
+ if (evt.model.providerID !== ID9.githubCopilot)
253
253
  return;
254
254
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
255
255
  return;
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
259
259
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
260
260
  if (interaction !== "conversation-agent")
261
261
  evt.headers["x-initiator"] = "agent";
262
- }), { providerID: ID13.githubCopilot });
262
+ }), { providerID: ID9.githubCopilot });
263
263
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
264
- if (evt.model.providerID !== ID13.githubCopilot)
264
+ if (evt.model.providerID !== ID9.githubCopilot)
265
265
  return;
266
266
  if (!loaded.baseURL || !loaded.token || !loaded.models)
267
267
  return;
268
- const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
268
+ const agent = yield* ctx.agent.get({ agentID: ID18.make("title") }).pipe(Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
271
  if (agent?.data.model)
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
276
276
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
277
277
  return;
278
278
  }));
279
- }), { providerID: ID13.githubCopilot });
279
+ }), { providerID: ID9.githubCopilot });
280
280
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
281
- if (evt.model.providerID !== ID13.githubCopilot)
281
+ if (evt.model.providerID !== ID9.githubCopilot)
282
282
  return;
283
283
  const token = evt.request.headers.get("x-api-key");
284
284
  if (!token)
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
286
286
  const text = yield* Effect.promise(() => evt.request.clone().text());
287
287
  const body = Option.getOrUndefined(decodeBody(text));
288
288
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
289
- }), { providerID: ID13.githubCopilot });
289
+ }), { providerID: ID9.githubCopilot });
290
290
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
291
- if (evt.model.providerID !== ID13.githubCopilot)
291
+ if (evt.model.providerID !== ID9.githubCopilot)
292
292
  return;
293
293
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
294
294
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./repository-cache-hgz4x7wa.js";
6
+ } from "./git-hgz4x7wa.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./repository-cache-eej6y6fw.js";
9
+ } from "./git-eej6y6fw.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./repository-cache-3hwn7j4h.js";
12
+ } from "./git-3hwn7j4h.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./repository-cache-v7p4zvkq.js";
15
+ } from "./git-v7p4zvkq.js";
16
16
  import {
17
- Service81,
18
- node85
19
- } from "./repository-cache-zzt06fmm.js";
17
+ Service80,
18
+ node84
19
+ } from "./git-sam7rjxf.js";
20
20
  import {
21
- Service65,
22
- node68
23
- } from "./repository-cache-4s488yf0.js";
21
+ Service62,
22
+ node65
23
+ } from "./git-qvpm0d7c.js";
24
24
  import {
25
25
  __export
26
- } from "./repository-cache-9rqn6x4v.js";
26
+ } from "./git-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service64,
33
- node: () => node67
32
+ Service: () => Service51,
33
+ node: () => node54
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound3,
46
- Service: () => Service64,
46
+ Service: () => Service51,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node67,
52
+ node: () => node54,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service64 extends Context.Service()("@opencode/Environment") {
61
+ class Service51 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service64, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service81;
66
- const workspace = yield* Service65;
65
+ const location = yield* Service80;
66
+ const workspace = yield* Service62;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service64.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service51.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node67 = makeLocationNode({
71
- service: Service64,
70
+ var node54 = makeLocationNode({
71
+ service: Service51,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node85, node68]
73
+ deps: [CrossSpawnSpawner.node, node84, node65]
74
74
  });
75
75
 
76
- export { Service64, node67, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service51, node54, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-cache-h4a8c9dz.js";
4
+ } from "./git-4k8e88tr.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./repository-cache-zss4em3h.js";
6
+ Service75,
7
+ node79
8
+ } from "./git-4kdqwsjh.js";
9
9
  import {
10
- Service82,
11
- node86
12
- } from "./repository-cache-ewxjqerj.js";
13
- import {
14
- Ref4,
15
10
  Service81,
16
11
  node85
17
- } from "./repository-cache-zzt06fmm.js";
12
+ } from "./git-f337py0x.js";
13
+ import {
14
+ Ref4,
15
+ Service80,
16
+ node84
17
+ } from "./git-sam7rjxf.js";
18
18
  import {
19
19
  canonical3
20
- } from "./repository-cache-q51r5gk2.js";
20
+ } from "./git-tzqb1zj9.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./repository-cache-ec1grn59.js";
23
+ } from "./git-ec1grn59.js";
24
24
  import {
25
- Service69,
26
- node73
27
- } from "./repository-cache-0fkzsajt.js";
25
+ Service76,
26
+ node80
27
+ } from "./git-6q4rff1r.js";
28
28
  import {
29
- Service55,
30
- node57
31
- } from "./repository-cache-0ks8fkk7.js";
29
+ Service73,
30
+ node77
31
+ } from "./git-qkjhzd8c.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-cache-9rqn6x4v.js";
34
+ } from "./git-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service54,
41
- node: () => node56
40
+ Service: () => Service72,
41
+ node: () => node76
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service54 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service72 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service54, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
51
51
  const bus = yield* Service84;
52
- const location = yield* Service81;
53
- const permission = yield* Service69;
54
- const forms = yield* Service80;
55
- const rpc = yield* Service55;
56
- const project = yield* Service82;
52
+ const location = yield* Service80;
53
+ const permission = yield* Service76;
54
+ const forms = yield* Service75;
55
+ const rpc = yield* Service73;
56
+ const project = yield* Service81;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service54.of({
83
+ return Service72.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node56 = makeLocationNode({
89
- service: Service54,
88
+ var node76 = makeLocationNode({
89
+ service: Service72,
90
90
  layer,
91
- deps: [node88, node85, node73, node86, node84, node57]
91
+ deps: [node88, node84, node80, node85, node79, node77]
92
92
  });
93
93
 
94
- export { Service54, node56, exports_location_lifecycle };
94
+ export { Service72, node76, exports_location_lifecycle };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./repository-cache-qb9n2841.js";
4
+ } from "./git-zk35yz24.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./repository-cache-0fkzsajt.js";
8
+ } from "./git-6q4rff1r.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./repository-cache-d591ppm4.js";
11
+ } from "./git-wyhe0yhr.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./repository-cache-b4qvnwj4.js";
19
+ } from "./git-2yvprtqn.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./repository-cache-v4v9aph4.js";
23
+ } from "./git-wqz4eby1.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-cache-cjb9bptw.js";
3
+ } from "./git-9nggydkc.js";
4
4
  import {
5
5
  Service84
6
- } from "./repository-cache-h4a8c9dz.js";
6
+ } from "./git-4k8e88tr.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./repository-cache-0h584zcj.js";
9
+ Event17
10
+ } from "./git-vrt7w025.js";
11
11
  import {
12
12
  key2
13
- } from "./repository-cache-addxnjmp.js";
13
+ } from "./git-db2wf4at.js";
14
14
  import {
15
- ID14,
15
+ ID10,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./repository-cache-d591ppm4.js";
18
+ } from "./git-wyhe0yhr.js";
19
19
  import {
20
- Service53
21
- } from "./repository-cache-yh1stbkq.js";
20
+ Service47
21
+ } from "./git-jmecpmqm.js";
22
22
  import {
23
- ID13,
23
+ ID9,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./repository-cache-n2wb2mch.js";
26
+ } from "./git-xrtj00bp.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./repository-cache-abs0cgcn.js";
29
+ } from "./git-perpg7kn.js";
30
30
  import {
31
31
  supports2,
32
- resolve4
33
- } from "./repository-cache-hqxhqkds.js";
32
+ resolve2
33
+ } from "./git-2jfq4a2k.js";
34
34
  import {
35
- ID4,
36
- Input13,
35
+ ID6,
36
+ Input14,
37
37
  Response2
38
- } from "./repository-cache-px85ptb0.js";
38
+ } from "./git-6fw3c6yn.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
61
61
  var RemoteResponse = Schema.Struct({
62
62
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
63
63
  websearch: Schema.Struct({
64
- providerID: ID4
64
+ providerID: ID6
65
65
  }).pipe(Schema.optional),
66
66
  mcp: Schema.Struct({
67
67
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
112
112
  }
113
113
  function oauth(http) {
114
114
  return {
115
- integrationID: ID14.make("opencode"),
115
+ integrationID: ID10.make("opencode"),
116
116
  method: {
117
117
  id: methodID,
118
118
  type: "oauth",
@@ -179,7 +179,7 @@ var OpencodePlugin2 = define({
179
179
  const bus = yield* Service84;
180
180
  const client = yield* HttpClient.HttpClient;
181
181
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
182
- const managed = yield* Service53;
182
+ const managed = yield* Service47;
183
183
  const scope = yield* Scope.Scope;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
231
231
  providers.update(providerID, (provider) => {
232
232
  if (source && source.provider !== provider)
233
233
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
234
- provider.integrationID = ID14.make("opencode");
234
+ provider.integrationID = ID10.make("opencode");
235
235
  if (item.canonical !== undefined)
236
236
  provider.canonical = item.canonical;
237
237
  if (item.name !== undefined)
@@ -267,7 +267,7 @@ var OpencodePlugin2 = define({
267
267
  model.limit = { ...model.limit, ...config.limit };
268
268
  if (config.capabilities?.reasoning !== undefined)
269
269
  model.variants = [
270
- ...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
270
+ ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
271
271
  ];
272
272
  for (const variant of config.variants ?? []) {
273
273
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
303
303
  sourceConnection: snapshot.connection
304
304
  });
305
305
  }
306
- const item = providers.get(ID13.opencode);
306
+ const item = providers.get(ID9.opencode);
307
307
  if (!item)
308
308
  return;
309
309
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
315
315
  });
316
316
  });
317
317
  yield* ctx.model.transform((models) => {
318
- const item = models.provider.get(ID13.opencode);
318
+ const item = models.provider.get(ID9.opencode);
319
319
  if (!item)
320
320
  return;
321
321
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
349
349
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
350
350
  const token = credential.type === "oauth" ? credential.access : credential.key;
351
351
  const server = yield* normalizeServer(serverUrl(credential));
352
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
352
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
353
353
  query: input.query,
354
354
  providerID: descriptor.providerID
355
355
  }));
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
404
404
  });
405
405
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
406
406
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
407
- explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
407
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
408
408
  });
409
409
  yield* guard(snapshot);
410
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
410
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
411
411
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
412
412
  })
413
413
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./repository-cache-ec1grn59.js";
3
+ } from "./git-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./repository-cache-tdstcens.js";
6
+ } from "./git-tdstcens.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./repository-cache-9e6h2n11.js";
9
+ } from "./git-nb5p96ve.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { Effect, Fiber, Iterable } from "effect";
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./repository-cache-tazgh4e4.js";
8
+ } from "./git-tazgh4e4.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./repository-cache-ef5x83kb.js";
11
+ } from "./git-ef5x83kb.js";
12
12
  import {
13
- Service81
14
- } from "./repository-cache-zzt06fmm.js";
13
+ Service80
14
+ } from "./git-sam7rjxf.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./repository-cache-d9vjfnsx.js";
17
+ } from "./git-tf1zb054.js";
18
18
  import {
19
19
  __export
20
- } from "./repository-cache-9rqn6x4v.js";
20
+ } from "./git-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin27,
25
+ Plugin: () => Plugin34,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin27 = define({
36
+ var Plugin34 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service81;
39
+ const location = yield* Service80;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin27, exports_git };
556
+ export { Plugin34, exports_git };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID14,
3
- Service78
4
- } from "./repository-cache-d591ppm4.js";
2
+ ID10,
3
+ Service69
4
+ } from "./git-wyhe0yhr.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service78;
12
+ const integrations = yield* Service69;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID14.make(item.provider.id)))
22
+ if (!configured.has(ID10.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {