@opencode/core 0.0.0-dev-20058 → 0.0.0-dev-20061

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{filesystem-sffp4478.js → git-06sgyj6k.js} +9 -9
  8. package/dist/chunks/{filesystem-3b1q5j1v.js → git-0gaj4617.js} +6 -6
  9. package/dist/chunks/{filesystem-2x6gpqcz.js → git-0heqmdds.js} +11 -11
  10. package/dist/chunks/git-0mesazry.js +4 -0
  11. package/dist/chunks/{filesystem-qvrvrmrf.js → git-0n7z1vhq.js} +11 -11
  12. package/dist/chunks/{filesystem-eed4e4cj.js → git-0n9dhkpc.js} +21 -21
  13. package/dist/chunks/{filesystem-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{filesystem-5c3w2q2f.js → git-13dd4g75.js} +4 -4
  15. package/dist/chunks/{filesystem-jwg7jy4z.js → git-16p5kn1s.js} +27 -27
  16. package/dist/chunks/{filesystem-ctegsqx5.js → git-19thbt26.js} +3 -3
  17. package/dist/chunks/{filesystem-1acjjqhc.js → git-1acjjqhc.js} +1 -1
  18. package/dist/chunks/{filesystem-za5gkgpv.js → git-1aw79wff.js} +44 -44
  19. package/dist/chunks/{filesystem-1dazxqgg.js → git-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{filesystem-9n50fjmv.js → git-1dvq6k6w.js} +11 -11
  21. package/dist/chunks/{filesystem-2pdg46mn.js → git-1n18w02d.js} +16 -16
  22. package/dist/chunks/{filesystem-ntnbwdh0.js → git-1nyjqkcf.js} +35 -35
  23. package/dist/chunks/{filesystem-t9c7wbd6.js → git-1zn989j5.js} +32 -32
  24. package/dist/chunks/{filesystem-21r38tys.js → git-21r38tys.js} +1 -1
  25. package/dist/chunks/{filesystem-2402vzrj.js → git-2402vzrj.js} +1 -1
  26. package/dist/chunks/{filesystem-yy9w0ct4.js → git-27jqy24h.js} +46 -46
  27. package/dist/chunks/{filesystem-d2vc91a2.js → git-28e409nm.js} +1 -1
  28. package/dist/chunks/{filesystem-m22m5fz8.js → git-298eqf0p.js} +5 -5
  29. package/dist/chunks/{filesystem-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{filesystem-e0z0cg4q.js → git-2aqgakzf.js} +17 -17
  31. package/dist/chunks/{filesystem-c1z6arme.js → git-2b9m4c98.js} +11 -11
  32. package/dist/chunks/{filesystem-eageaqwr.js → git-2bmrymfw.js} +11 -11
  33. package/dist/chunks/{filesystem-7m5f9412.js → git-2hr5nhwa.js} +8 -8
  34. package/dist/chunks/{filesystem-z3pw5915.js → git-2qp6y8xf.js} +5 -5
  35. package/dist/chunks/{filesystem-wj14njhs.js → git-31p1pbsy.js} +10 -10
  36. package/dist/chunks/{filesystem-kqg1335f.js → git-3agnzf0b.js} +3 -3
  37. package/dist/chunks/{filesystem-j38rfzw3.js → git-3en9cd2f.js} +16 -16
  38. package/dist/chunks/{filesystem-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{filesystem-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{filesystem-k70hck66.js → git-3ppw9e7p.js} +3 -3
  41. package/dist/chunks/{filesystem-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{filesystem-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{filesystem-1nbhwk8c.js → git-3zczvhzn.js} +6 -6
  44. package/dist/chunks/{filesystem-3zsf4n22.js → git-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{filesystem-nehdvjjm.js → git-419fw4gr.js} +20 -20
  46. package/dist/chunks/{filesystem-h6r3nrb9.js → git-44h5tttr.js} +4 -4
  47. package/dist/chunks/{filesystem-g8nw47mr.js → git-48nzf0bm.js} +24 -24
  48. package/dist/chunks/{filesystem-qx3e9gac.js → git-4ffsqyr5.js} +3 -3
  49. package/dist/chunks/{filesystem-xg2c3t8c.js → git-4hvbrn22.js} +21 -21
  50. package/dist/chunks/{filesystem-74z2tjhb.js → git-4jh9036t.js} +16 -16
  51. package/dist/chunks/{filesystem-jkp0d30b.js → git-4mwpykj0.js} +6 -6
  52. package/dist/chunks/{filesystem-d63pwp4x.js → git-4r06v03z.js} +26 -26
  53. package/dist/chunks/{filesystem-1z9ym72g.js → git-4xeg45nw.js} +28 -28
  54. package/dist/chunks/{filesystem-x1mxg5wh.js → git-523kffa4.js} +37 -37
  55. package/dist/chunks/{filesystem-hbj9ec79.js → git-52d56bf8.js} +20 -20
  56. package/dist/chunks/{filesystem-pf9pgydg.js → git-53fyba40.js} +4 -4
  57. package/dist/chunks/{filesystem-56gdpj1q.js → git-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{filesystem-57ez7d0k.js → git-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{filesystem-h95k17zz.js → git-5a5ae82c.js} +25 -25
  60. package/dist/chunks/{filesystem-01m43rby.js → git-5cmxdwv8.js} +3 -3
  61. package/dist/chunks/{filesystem-5daktx2q.js → git-5daktx2q.js} +1 -1
  62. package/dist/chunks/{filesystem-hc9acsgr.js → git-5e1pzs32.js} +9 -9
  63. package/dist/chunks/{filesystem-5ekn9679.js → git-5ekn9679.js} +1 -1
  64. package/dist/chunks/{filesystem-hswr6e8s.js → git-5f0nhxgb.js} +19 -19
  65. package/dist/chunks/{filesystem-6sd83gj0.js → git-5pzymp2c.js} +10 -10
  66. package/dist/chunks/{filesystem-e3qxr5gk.js → git-5qd3pb7m.js} +2 -2
  67. package/dist/chunks/{filesystem-5t3nmthw.js → git-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{filesystem-84dmcwyh.js → git-5x6zeszh.js} +4 -4
  69. package/dist/chunks/{filesystem-h5jpta2v.js → git-5yspkx8c.js} +14 -14
  70. package/dist/chunks/{filesystem-y93b664k.js → git-607q5haz.js} +12 -12
  71. package/dist/chunks/{filesystem-ywsxhfz4.js → git-656e1hpv.js} +5 -5
  72. package/dist/chunks/{filesystem-669tq793.js → git-669tq793.js} +1 -1
  73. package/dist/chunks/{filesystem-n6nnv2a0.js → git-6b577fjv.js} +29 -29
  74. package/dist/chunks/{filesystem-xvwrn2eq.js → git-6ck4d7pv.js} +8 -8
  75. package/dist/chunks/{filesystem-w94e8grp.js → git-6hby2r02.js} +176 -176
  76. package/dist/chunks/{filesystem-6msgmcgs.js → git-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{filesystem-kwjksd0m.js → git-6qnh8fmb.js} +7 -7
  78. package/dist/chunks/{filesystem-vbj3evna.js → git-6r9cb4fm.js} +8 -8
  79. package/dist/chunks/{filesystem-x2qdxhwm.js → git-6ysrkrkr.js} +8 -8
  80. package/dist/chunks/{filesystem-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{filesystem-6ccrc22g.js → git-7d00555s.js} +20 -20
  82. package/dist/chunks/{filesystem-7dqw4kz8.js → git-7dqw4kz8.js} +1 -1
  83. package/dist/chunks/{filesystem-cvpeh336.js → git-7eemnjng.js} +11 -11
  84. package/dist/chunks/{filesystem-0ajgz5pc.js → git-7g5aaaxw.js} +30 -30
  85. package/dist/chunks/{filesystem-3zwffgsw.js → git-7gf9heny.js} +40 -40
  86. package/dist/chunks/{filesystem-w16wk7p7.js → git-7q587t2b.js} +32 -32
  87. package/dist/chunks/{filesystem-cwxmk7ss.js → git-7t8da41m.js} +95 -95
  88. package/dist/chunks/{filesystem-azee6x5s.js → git-7tqntkc3.js} +8 -8
  89. package/dist/chunks/{filesystem-h08an08g.js → git-7wmgs5xr.js} +20 -20
  90. package/dist/chunks/{filesystem-4djaq3bc.js → git-80kx0180.js} +25 -25
  91. package/dist/chunks/{filesystem-syrm56xy.js → git-82atqrj1.js} +30 -30
  92. package/dist/chunks/{filesystem-90tesg4p.js → git-84g7jkxa.js} +11 -11
  93. package/dist/chunks/{filesystem-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{filesystem-mebq41rh.js → git-8pa4v8ja.js} +13 -13
  95. package/dist/chunks/{filesystem-j27v3vkc.js → git-8t502s3m.js} +12 -12
  96. package/dist/chunks/{filesystem-8tsdq50x.js → git-8tsdq50x.js} +1 -1
  97. package/dist/chunks/{filesystem-gfvb90ym.js → git-94ek1h2f.js} +2 -2
  98. package/dist/chunks/{filesystem-b0grxa7w.js → git-9b00c1fb.js} +5 -5
  99. package/dist/chunks/{filesystem-vtxr0yy2.js → git-9cyfspf3.js} +5 -5
  100. package/dist/chunks/{filesystem-22b0aspk.js → git-9zr2rkr1.js} +7 -7
  101. package/dist/chunks/{filesystem-vn7r73nx.js → git-a2whg7pq.js} +29 -29
  102. package/dist/chunks/{filesystem-ae2wweme.js → git-a5kpvxfh.js} +6 -6
  103. package/dist/chunks/{filesystem-aaet6srn.js → git-aaet6srn.js} +2 -2
  104. package/dist/chunks/{filesystem-w7vefw1y.js → git-abddqw17.js} +24 -24
  105. package/dist/chunks/{filesystem-rp5es0vj.js → git-ajrg9ep2.js} +4 -4
  106. package/dist/chunks/{filesystem-tze1gxc9.js → git-as301tcg.js} +19 -19
  107. package/dist/chunks/{filesystem-cf4z6env.js → git-awyhhjf2.js} +12 -12
  108. package/dist/chunks/{filesystem-9c89p4vt.js → git-aztg29vg.js} +16 -16
  109. package/dist/chunks/{filesystem-22gdhsjp.js → git-b3dqxcnz.js} +30 -30
  110. package/dist/chunks/{filesystem-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{filesystem-dfe8djrf.js → git-bct739vz.js} +4 -4
  112. package/dist/chunks/{filesystem-vg66hfa0.js → git-bygjy1qb.js} +17 -17
  113. package/dist/chunks/{filesystem-q3vsp035.js → git-c0p7yvnn.js} +26 -26
  114. package/dist/chunks/{filesystem-xrm59swn.js → git-c0zrtztw.js} +60 -60
  115. package/dist/chunks/{filesystem-4bq1ye2s.js → git-c31h68nj.js} +30 -30
  116. package/dist/chunks/{filesystem-0fek3p1n.js → git-c55fm4pv.js} +19 -19
  117. package/dist/chunks/{filesystem-1ssnhp0v.js → git-c5tk59cy.js} +13 -13
  118. package/dist/chunks/{filesystem-ej964ykn.js → git-c5y6tpwg.js} +3 -3
  119. package/dist/chunks/{filesystem-79qaa2kf.js → git-c765mh8b.js} +9 -9
  120. package/dist/chunks/{filesystem-j48z016f.js → git-caxz1j83.js} +32 -32
  121. package/dist/chunks/{filesystem-mkkks4v9.js → git-cj0tbh90.js} +45 -45
  122. package/dist/chunks/{filesystem-54tcyq79.js → git-ckecvw8r.js} +2 -2
  123. package/dist/chunks/{filesystem-091p10vz.js → git-crw3tv4v.js} +5 -5
  124. package/dist/chunks/{filesystem-fhhc6cz0.js → git-csewmbcm.js} +35 -35
  125. package/dist/chunks/{filesystem-rygqb03k.js → git-ct9y6gbn.js} +5 -5
  126. package/dist/chunks/{filesystem-jva4mgym.js → git-d8nc1xcx.js} +4 -4
  127. package/dist/chunks/{filesystem-2bwf3es8.js → git-dh3r0p8w.js} +19 -19
  128. package/dist/chunks/{filesystem-dpkg50ah.js → git-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{filesystem-ajy2bq43.js → git-dw9armfg.js} +2 -2
  130. package/dist/chunks/{filesystem-azev8sc8.js → git-dxkpry84.js} +5 -5
  131. package/dist/chunks/{filesystem-gxb1qwhf.js → git-dxpnpzza.js} +28 -28
  132. package/dist/chunks/git-dzk9rjvc.js +26 -0
  133. package/dist/chunks/{filesystem-6cd6tdvt.js → git-e0vtkr8g.js} +6 -6
  134. package/dist/chunks/{filesystem-t550f9t1.js → git-eaj1djv9.js} +8 -8
  135. package/dist/chunks/{filesystem-1fcrsx1q.js → git-ednp5hmx.js} +5 -5
  136. package/dist/chunks/{filesystem-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{filesystem-cay919zr.js → git-ef9zxgs8.js} +41 -41
  138. package/dist/chunks/{filesystem-erw5rpbs.js → git-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{filesystem-etq0c3wd.js → git-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{filesystem-9ecw7jpn.js → git-ey79q3y0.js} +22 -22
  141. package/dist/chunks/{filesystem-mq7e89ns.js → git-f1nnvvmc.js} +23 -23
  142. package/dist/chunks/{filesystem-ym15bmrz.js → git-fjvydvzm.js} +7 -7
  143. package/dist/chunks/{filesystem-dn34nxfz.js → git-fp9k3yne.js} +15 -15
  144. package/dist/chunks/{filesystem-z79afe2f.js → git-fq78sz5t.js} +25 -25
  145. package/dist/chunks/{filesystem-jw971jas.js → git-ft8mxgvg.js} +41 -41
  146. package/dist/chunks/{filesystem-2m0vf6qg.js → git-g0hzkq8p.js} +5 -5
  147. package/dist/chunks/{filesystem-c6a58n7z.js → git-g2gyvwgr.js} +9 -9
  148. package/dist/chunks/{filesystem-cjwramev.js → git-g8atgw3j.js} +6 -6
  149. package/dist/chunks/{filesystem-25b3j9qe.js → git-g9sxb67q.js} +11 -11
  150. package/dist/chunks/{filesystem-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{filesystem-mk6azrf3.js → git-ge4ktqxw.js} +24 -24
  152. package/dist/chunks/{filesystem-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{filesystem-ajdm0393.js → git-h4kdtw4d.js} +17 -17
  154. package/dist/chunks/{filesystem-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{filesystem-2ann4zqa.js → git-h79thdv1.js} +2 -2
  156. package/dist/chunks/{filesystem-3838ekre.js → git-hc4fnx3k.js} +4 -4
  157. package/dist/chunks/{filesystem-dfvnyc1p.js → git-hfx0q6qd.js} +12 -12
  158. package/dist/chunks/{filesystem-8xd21chy.js → git-hfypw2dz.js} +11 -11
  159. package/dist/chunks/{filesystem-naszgs90.js → git-hktwknh6.js} +22 -22
  160. package/dist/chunks/{filesystem-ppwz1pgg.js → git-hmfyqch5.js} +13 -13
  161. package/dist/chunks/{filesystem-yz0rw8mp.js → git-hwsctmkw.js} +20 -20
  162. package/dist/chunks/{filesystem-c59jfbam.js → git-j33vntpj.js} +6 -6
  163. package/dist/chunks/{filesystem-j56e64zr.js → git-j56e64zr.js} +1 -1
  164. package/dist/chunks/{filesystem-v6h5pe3e.js → git-jb9g1svx.js} +56 -56
  165. package/dist/chunks/{filesystem-hp5kccyz.js → git-jdx9a0pb.js} +17 -17
  166. package/dist/chunks/{filesystem-em405b3b.js → git-jekat74m.js} +30 -30
  167. package/dist/chunks/{filesystem-24dd53tp.js → git-jjs74g98.js} +8 -8
  168. package/dist/chunks/git-jqh9b0xq.js +18 -0
  169. package/dist/chunks/{filesystem-e6hmchc5.js → git-jv01nqvq.js} +5 -5
  170. package/dist/chunks/{filesystem-kdq8v965.js → git-jvb9xte8.js} +9 -9
  171. package/dist/chunks/{filesystem-m0gyvzz0.js → git-jxrc8b14.js} +32 -32
  172. package/dist/chunks/{filesystem-k3c624dm.js → git-k3c624dm.js} +3 -3
  173. package/dist/chunks/{filesystem-knb7evpn.js → git-k9kj6xed.js} +6 -6
  174. package/dist/chunks/{filesystem-50xrc7m8.js → git-kh4f80a0.js} +8 -8
  175. package/dist/chunks/{filesystem-g8m5pg2v.js → git-khv50f9b.js} +9 -9
  176. package/dist/chunks/{filesystem-tr1np92s.js → git-kjx25m7e.js} +27 -27
  177. package/dist/chunks/{filesystem-b8y1psts.js → git-kz01yks6.js} +26 -26
  178. package/dist/chunks/{filesystem-m3fdjcah.js → git-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{filesystem-tqskq33r.js → git-m81c09cc.js} +32 -32
  180. package/dist/chunks/{filesystem-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{filesystem-z7w1k550.js → git-mavemxhg.js} +48 -48
  182. package/dist/chunks/{filesystem-h9zmv3t9.js → git-mksgfzgs.js} +8 -8
  183. package/dist/chunks/{filesystem-73tb2d7t.js → git-mvfsc1pv.js} +3 -3
  184. package/dist/chunks/git-n61y8w7h.js +252 -0
  185. package/dist/chunks/{filesystem-6hgrtsyk.js → git-nbrkqbtq.js} +9 -9
  186. package/dist/chunks/{filesystem-w4wqky9w.js → git-ne516ejn.js} +4 -4
  187. package/dist/chunks/{filesystem-7007jcc0.js → git-ntbpaqq3.js} +15 -15
  188. package/dist/chunks/{filesystem-ead3g9p8.js → git-nxhqveyz.js} +5 -5
  189. package/dist/chunks/{filesystem-xgy7gjy2.js → git-p2m0mesx.js} +43 -43
  190. package/dist/chunks/{filesystem-td2f4nae.js → git-p2szdd0n.js} +34 -34
  191. package/dist/chunks/{filesystem-f0vv9etb.js → git-p3bhxa8e.js} +5 -5
  192. package/dist/chunks/{filesystem-eys57y9b.js → git-p42hj8p8.js} +8 -8
  193. package/dist/chunks/{filesystem-spb4zceh.js → git-p5q3ex0b.js} +15 -15
  194. package/dist/chunks/{filesystem-6a0m4sbe.js → git-p63yn2ba.js} +1 -1
  195. package/dist/chunks/{filesystem-7689gsfy.js → git-pde5dn08.js} +25 -25
  196. package/dist/chunks/{filesystem-sjwzrrye.js → git-pe41p6e6.js} +11 -11
  197. package/dist/chunks/{filesystem-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{filesystem-pknna89w.js → git-pknna89w.js} +1 -1
  199. package/dist/chunks/{filesystem-nbh3kmd5.js → git-ppk9bqm7.js} +32 -32
  200. package/dist/chunks/{filesystem-610s35xp.js → git-ps3qw662.js} +23 -23
  201. package/dist/chunks/{filesystem-497y6drv.js → git-q88m6k9v.js} +20 -20
  202. package/dist/chunks/{filesystem-mtq6xxnx.js → git-qa3qhgw8.js} +7 -7
  203. package/dist/chunks/{filesystem-sd0frev4.js → git-qaj6xkv8.js} +14 -14
  204. package/dist/chunks/{filesystem-yvav0rms.js → git-qers21hv.js} +19 -19
  205. package/dist/chunks/{filesystem-swm6fqec.js → git-qh72fsse.js} +22 -22
  206. package/dist/chunks/{filesystem-c20khjev.js → git-qj8eh1ht.js} +21 -21
  207. package/dist/chunks/{filesystem-qsdy395h.js → git-qsdy395h.js} +1 -1
  208. package/dist/chunks/{filesystem-rzgj8h8z.js → git-qvcpt1fs.js} +10 -10
  209. package/dist/chunks/{filesystem-2xac8pgk.js → git-r2xpf7zj.js} +11 -11
  210. package/dist/chunks/{filesystem-3z2w941y.js → git-r355esb0.js} +73 -73
  211. package/dist/chunks/{filesystem-37mwd34b.js → git-r3c4069c.js} +1 -1
  212. package/dist/chunks/{filesystem-qpyfagd9.js → git-r8sqswrh.js} +11 -11
  213. package/dist/chunks/{filesystem-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{filesystem-c6j7t6he.js → git-rgvd7d6r.js} +5 -5
  215. package/dist/chunks/{filesystem-60btt90r.js → git-rhwn96vn.js} +7 -7
  216. package/dist/chunks/{filesystem-q0h1k0nn.js → git-rm9q555g.js} +11 -11
  217. package/dist/chunks/{filesystem-f02ytr6p.js → git-rndw9g15.js} +13 -13
  218. package/dist/chunks/{filesystem-gx4q998j.js → git-rspkaf4h.js} +15 -15
  219. package/dist/chunks/{filesystem-9wjadkhm.js → git-ryy9z3kr.js} +7 -7
  220. package/dist/chunks/{filesystem-wc5qgcrf.js → git-s35b38t3.js} +24 -24
  221. package/dist/chunks/{filesystem-bdep6f7m.js → git-s5a3abkq.js} +13 -13
  222. package/dist/chunks/{filesystem-vkgtc4qa.js → git-sbay9tk1.js} +13 -13
  223. package/dist/chunks/{filesystem-bzbbm4jd.js → git-sc4zk213.js} +14 -14
  224. package/dist/chunks/{filesystem-9v7aa5ew.js → git-sd3n1ret.js} +18 -18
  225. package/dist/chunks/{filesystem-mzn0q9qq.js → git-sdd7626e.js} +306 -306
  226. package/dist/chunks/{filesystem-pn0fh19r.js → git-snhm608r.js} +27 -27
  227. package/dist/chunks/{filesystem-j229mh45.js → git-sznh1h6r.js} +23 -23
  228. package/dist/chunks/{filesystem-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{filesystem-r4nmwps5.js → git-tbybbeq2.js} +21 -21
  230. package/dist/chunks/{filesystem-dcq7yv4f.js → git-tc0krykv.js} +33 -33
  231. package/dist/chunks/{filesystem-89znhe33.js → git-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{filesystem-tdstcens.js → git-tdstcens.js} +1 -1
  233. package/dist/chunks/{filesystem-2t3h7cq7.js → git-tg4ey0nj.js} +12 -12
  234. package/dist/chunks/{filesystem-1cdk1anx.js → git-tm95rjfh.js} +4 -4
  235. package/dist/chunks/{filesystem-rw0sa94v.js → git-tqb379dh.js} +3 -3
  236. package/dist/chunks/{filesystem-kffdqtsz.js → git-trggwgfe.js} +44 -44
  237. package/dist/chunks/{filesystem-m0rk0w5r.js → git-trj3tdz8.js} +11 -11
  238. package/dist/chunks/{filesystem-g6nkpj50.js → git-tsc4theb.js} +51 -51
  239. package/dist/chunks/{filesystem-tvtrv512.js → git-tvtrv512.js} +1 -1
  240. package/dist/chunks/{filesystem-1g96y08y.js → git-tx9w5tca.js} +8 -8
  241. package/dist/chunks/{filesystem-96k0ayb6.js → git-tyd6evbv.js} +3 -3
  242. package/dist/chunks/{filesystem-b7e2se5y.js → git-v2jc1fnf.js} +34 -34
  243. package/dist/chunks/{filesystem-aqd63c5t.js → git-v4m0f3qj.js} +24 -24
  244. package/dist/chunks/{filesystem-7z30ydt4.js → git-v5bht574.js} +2 -2
  245. package/dist/chunks/{filesystem-ccdmqpvf.js → git-va5fjah0.js} +17 -17
  246. package/dist/chunks/{filesystem-veqvce7d.js → git-veqvce7d.js} +1 -1
  247. package/dist/chunks/{filesystem-wmfejedg.js → git-vmgq4x8b.js} +2 -2
  248. package/dist/chunks/{filesystem-7gp9bv02.js → git-vmwh049b.js} +9 -9
  249. package/dist/chunks/{filesystem-59srapy6.js → git-vqemcat0.js} +29 -29
  250. package/dist/chunks/{filesystem-vzcthcp8.js → git-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{filesystem-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{filesystem-psazpmmj.js → git-wd3x2cqz.js} +2 -2
  253. package/dist/chunks/{filesystem-wd87259q.js → git-wd87259q.js} +1 -1
  254. package/dist/chunks/{filesystem-kbr4et4a.js → git-wqc8znh9.js} +22 -22
  255. package/dist/chunks/{filesystem-8gt6y3g4.js → git-wxy0ac48.js} +6 -6
  256. package/dist/chunks/{filesystem-r8sc1a4f.js → git-x0w9b04z.js} +9 -9
  257. package/dist/chunks/{filesystem-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{filesystem-d2z7ptc5.js → git-x1geg3vn.js} +11 -11
  259. package/dist/chunks/{filesystem-m2s6sqez.js → git-x5vgpz9j.js} +11 -11
  260. package/dist/chunks/{filesystem-drwq78ky.js → git-xfkkasph.js} +4 -4
  261. package/dist/chunks/{filesystem-1h2mvt9v.js → git-xq0837nd.js} +11 -11
  262. package/dist/chunks/{filesystem-hdh73vmf.js → git-xvb08a4w.js} +10 -10
  263. package/dist/chunks/{filesystem-784hb5j4.js → git-xwm6bryg.js} +4 -4
  264. package/dist/chunks/{filesystem-1txphked.js → git-xxspzvmh.js} +19 -19
  265. package/dist/chunks/{filesystem-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{filesystem-zp91wsr7.js → git-y2ghzbkq.js} +30 -30
  267. package/dist/chunks/{filesystem-9f6bk4jp.js → git-y7b30c6s.js} +13 -13
  268. package/dist/chunks/{filesystem-3zvjefry.js → git-y8mbs16w.js} +15 -15
  269. package/dist/chunks/{filesystem-90360v3a.js → git-ybyc8kxv.js} +9 -9
  270. package/dist/chunks/{filesystem-jwxewjhz.js → git-yhwacja7.js} +13 -13
  271. package/dist/chunks/{filesystem-fs2ge6as.js → git-ykch05ee.js} +4 -4
  272. package/dist/chunks/{filesystem-zwvzg7cw.js → git-ymdcatcc.js} +13 -13
  273. package/dist/chunks/{filesystem-cdvs3883.js → git-yncw8fjy.js} +88 -88
  274. package/dist/chunks/{filesystem-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{filesystem-s4enseaf.js → git-yrznvahk.js} +2 -2
  276. package/dist/chunks/{filesystem-x2d9qy7d.js → git-yt3hy1g9.js} +5 -5
  277. package/dist/chunks/{filesystem-1ybypp7f.js → git-ytbg3n6b.js} +22 -22
  278. package/dist/chunks/{filesystem-zjfek02j.js → git-yvqpxq27.js} +18 -18
  279. package/dist/chunks/{filesystem-bjtzbw4r.js → git-z07pqspn.js} +3 -3
  280. package/dist/chunks/{filesystem-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{filesystem-gws6d69e.js → git-z138ka9p.js} +11 -11
  282. package/dist/chunks/{filesystem-3kzn8mmq.js → git-z221g1rh.js} +10 -10
  283. package/dist/chunks/{filesystem-c0aad6gz.js → git-z5w7jba6.js} +47 -47
  284. package/dist/chunks/{filesystem-29x78va6.js → git-z63w68vq.js} +6 -6
  285. package/dist/chunks/{filesystem-t7n9q6bq.js → git-zcrspsvn.js} +4 -4
  286. package/dist/chunks/{filesystem-zeh9ct20.js → git-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{filesystem-fkq4r4ge.js → git-znadnk2c.js} +26 -26
  288. package/dist/chunks/{filesystem-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{filesystem-hbfph430.js → git-zrd1hyk7.js} +32 -32
  290. package/dist/chunks/{filesystem-96jy5zx6.js → git-zrv5pa4j.js} +8 -8
  291. package/dist/chunks/{filesystem-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +120 -120
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +93 -93
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +101 -101
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +361 -361
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +358 -358
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +105 -105
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +117 -117
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +129 -129
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +1 -1
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +332 -332
  503. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +91 -91
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +351 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +96 -96
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +128 -128
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +7 -7
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +220 -220
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +220 -220
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +9 -9
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +4 -4
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +215 -215
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +120 -120
  654. package/dist/tool/read-filesystem.js +98 -98
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +14 -14
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +1 -1
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +82 -82
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/filesystem-07j5dwxg.js +0 -252
  700. package/dist/chunks/filesystem-gyce5qg1.js +0 -18
  701. package/dist/chunks/filesystem-v9c484dc.js +0 -26
  702. package/dist/chunks/filesystem-xrsqh21y.js +0 -4
  703. /package/dist/chunks/{filesystem-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{filesystem-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{filesystem-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{filesystem-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{filesystem-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{filesystem-24dcb14g.js → git-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{filesystem-2710q6r3.js → git-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{filesystem-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{filesystem-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{filesystem-34c7v6d4.js → git-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{filesystem-359p4xyc.js → git-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{filesystem-3asan66x.js → git-3asan66x.js} +0 -0
  715. /package/dist/chunks/{filesystem-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{filesystem-3w5fmr99.js → git-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{filesystem-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{filesystem-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{filesystem-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{filesystem-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{filesystem-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{filesystem-53557ph1.js → git-53557ph1.js} +0 -0
  723. /package/dist/chunks/{filesystem-550bvhaj.js → git-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{filesystem-6prwharc.js → git-6prwharc.js} +0 -0
  725. /package/dist/chunks/{filesystem-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{filesystem-7m9af43g.js → git-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{filesystem-822emrt2.js → git-822emrt2.js} +0 -0
  728. /package/dist/chunks/{filesystem-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{filesystem-8n3pysct.js → git-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{filesystem-8wj87zfr.js → git-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{filesystem-922hggd3.js → git-922hggd3.js} +0 -0
  732. /package/dist/chunks/{filesystem-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{filesystem-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{filesystem-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{filesystem-af5trqkr.js → git-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{filesystem-afrmfg78.js → git-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{filesystem-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{filesystem-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{filesystem-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{filesystem-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{filesystem-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{filesystem-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{filesystem-d9fn303g.js → git-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{filesystem-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{filesystem-dajrwvna.js → git-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{filesystem-dap0rakb.js → git-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{filesystem-df08tz66.js → git-df08tz66.js} +0 -0
  748. /package/dist/chunks/{filesystem-dy18nga0.js → git-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{filesystem-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{filesystem-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{filesystem-ec1grn59.js → git-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{filesystem-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{filesystem-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{filesystem-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{filesystem-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{filesystem-faypxj3z.js → git-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{filesystem-fd410y7t.js → git-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{filesystem-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{filesystem-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{filesystem-g86h250q.js → git-g86h250q.js} +0 -0
  761. /package/dist/chunks/{filesystem-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{filesystem-gftt206x.js → git-gftt206x.js} +0 -0
  763. /package/dist/chunks/{filesystem-hjbc5kem.js → git-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{filesystem-hk9envan.js → git-hk9envan.js} +0 -0
  765. /package/dist/chunks/{filesystem-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{filesystem-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{filesystem-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{filesystem-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{filesystem-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{filesystem-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{filesystem-mp448xyj.js → git-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{filesystem-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{filesystem-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{filesystem-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{filesystem-njntx4h6.js → git-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{filesystem-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{filesystem-q74kybfr.js → git-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{filesystem-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{filesystem-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{filesystem-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{filesystem-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{filesystem-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{filesystem-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{filesystem-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{filesystem-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{filesystem-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{filesystem-w803qqfp.js → git-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{filesystem-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{filesystem-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{filesystem-wtztk69x.js → git-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{filesystem-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{filesystem-x61499pn.js → git-x61499pn.js} +0 -0
  793. /package/dist/chunks/{filesystem-y44na4kk.js → git-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{filesystem-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{filesystem-y8f7s663.js → git-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{filesystem-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{filesystem-ym463w8f.js → git-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{filesystem-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID8,
3
- Service53
4
- } from "./filesystem-pn0fh19r.js";
2
+ ID15,
3
+ Service79
4
+ } from "./git-snhm608r.js";
5
5
  import {
6
6
  Ref2,
7
- Service73
8
- } from "./filesystem-syrm56xy.js";
7
+ Service67
8
+ } from "./git-82atqrj1.js";
9
9
  import {
10
10
  latest2,
11
- Service58
12
- } from "./filesystem-yy9w0ct4.js";
11
+ Service65
12
+ } from "./git-27jqy24h.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./filesystem-01m43rby.js";
15
+ } from "./git-5cmxdwv8.js";
16
16
  import {
17
- Service49
18
- } from "./filesystem-7007jcc0.js";
17
+ Service52
18
+ } from "./git-ntbpaqq3.js";
19
19
  import {
20
20
  evaluate2,
21
- Service50
22
- } from "./filesystem-xrm59swn.js";
21
+ Service75
22
+ } from "./git-c0zrtztw.js";
23
23
  import {
24
- Service19
25
- } from "./filesystem-cwxmk7ss.js";
24
+ Service26
25
+ } from "./git-7t8da41m.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./filesystem-x1ezjp6w.js";
28
+ } from "./git-x1ezjp6w.js";
29
29
  import {
30
- make8
31
- } from "./filesystem-m0rk0w5r.js";
30
+ make5
31
+ } from "./git-trj3tdz8.js";
32
32
  import {
33
33
  __export
34
- } from "./filesystem-9rqn6x4v.js";
34
+ } from "./git-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input11,
40
- Output: () => Output8,
41
- Plugin: () => Plugin12,
39
+ Input: () => Input2,
40
+ Output: () => Output2,
41
+ Plugin: () => Plugin2,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name11
43
+ description: () => description2,
44
+ name: () => name2
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Schema } from "effect";
48
- var name11 = "subagent";
48
+ var name2 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input11 = Schema.Struct({
59
+ var Input2 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output8 = Schema.Struct({
75
+ var Output2 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description2 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin12 = {
89
+ var Plugin2 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service19;
93
- const jobs = yield* Service49;
94
- const agents = yield* Service53;
95
- const config = yield* Service58;
96
- const permission = yield* Service50;
97
- const models = yield* Service73;
98
- const subagents = yield* make8;
92
+ const sessions = yield* Service26;
93
+ const jobs = yield* Service52;
94
+ const agents = yield* Service79;
95
+ const config = yield* Service65;
96
+ const permission = yield* Service75;
97
+ const models = yield* Service67;
98
+ const subagents = yield* make5;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin12 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name11,
118
+ name: name2,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input11,
122
- output: Output8,
120
+ description: description2,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin12 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name11,
142
+ action: name2,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin12 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID8.make(input.agent),
171
+ agent: ID15.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,13 +218,13 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  const hook = (event) => Effect.gen(function* () {
221
- const tool = event.tools[name11];
221
+ const tool = event.tools[name2];
222
222
  if (!tool)
223
223
  return;
224
224
  const selected = yield* agents.resolve(event.agent);
225
225
  if (!selected)
226
226
  return;
227
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
227
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
228
228
  if (available.length === 0)
229
229
  return;
230
230
  tool.description = [
@@ -241,4 +241,4 @@ ${output.output}
241
241
  })
242
242
  };
243
243
 
244
- export { name11, Input11, Output8, description5, Plugin12, exports_subagent };
244
+ export { name2, Input2, Output2, description2, Plugin2, exports_subagent };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./filesystem-2a5m3afh.js";
5
+ } from "./git-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./filesystem-9rqn6x4v.js";
8
+ } from "./git-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./filesystem-gftt206x.js";
3
+ } from "./git-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./filesystem-01m43rby.js";
6
+ } from "./git-5cmxdwv8.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./filesystem-7gp9bv02.js";
9
+ } from "./git-vmwh049b.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./filesystem-t550f9t1.js";
13
+ } from "./git-eaj1djv9.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./filesystem-bjtzbw4r.js";
16
+ } from "./git-z07pqspn.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./filesystem-784hb5j4.js";
20
+ } from "./git-xwm6bryg.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./filesystem-pf9pgydg.js";
25
+ } from "./git-53fyba40.js";
26
26
  import {
27
27
  __export
28
- } from "./filesystem-9rqn6x4v.js";
28
+ } from "./git-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make19,
4
+ make21,
5
5
  diffByKey2
6
- } from "./filesystem-t550f9t1.js";
6
+ } from "./git-eaj1djv9.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./filesystem-3fc6dm20.js";
11
+ } from "./git-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./git-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions3 = {};
18
- __export(exports_instructions3, {
19
- CodeModeInstructions: () => exports_instructions3,
20
- make: () => make13,
17
+ var exports_instructions5 = {};
18
+ __export(exports_instructions5, {
19
+ CodeModeInstructions: () => exports_instructions5,
20
+ make: () => make14,
21
21
  render: () => render2,
22
- update: () => update3
22
+ update: () => update2
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
25
25
  import { Effect, Schema } from "effect";
@@ -43,7 +43,7 @@ function render2(catalog) {
43
43
  ${tools.join(`
44
44
  `)}`;
45
45
  }
46
- function update3(previous, current) {
46
+ function update2(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
49
  ${render2(current)}`;
@@ -109,20 +109,20 @@ ${render2(current)}`;
109
109
  return delta;
110
110
  return replacement;
111
111
  }
112
- var key = Key3.make("core/codemode");
112
+ var key = Key4.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make13 = (inventory) => {
114
+ var make14 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make19({
116
+ return make21({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
121
  initial: render2,
122
- changed: update3,
122
+ changed: update2,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make13, exports_instructions3 };
128
+ export { render2, update2, make14, exports_instructions5 };
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service84,
3
+ node88
4
+ } from "./git-2b9m4c98.js";
1
5
  import {
2
6
  Service83,
3
7
  node87
4
- } from "./filesystem-c1z6arme.js";
5
- import {
6
- Service82,
7
- node86
8
- } from "./filesystem-j38rfzw3.js";
8
+ } from "./git-3en9cd2f.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./filesystem-pknna89w.js";
11
+ } from "./git-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./filesystem-3zsf4n22.js";
14
+ } from "./git-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./git-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
24
- ID: () => ID15,
25
- Info: () => Info30,
26
- Key: () => Key4,
23
+ Event: () => Event16,
24
+ ID: () => ID11,
25
+ Info: () => Info26,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service78,
28
+ Service: () => Service70,
29
29
  Value: () => Value2,
30
- node: () => node82
30
+ node: () => node74
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID15 = Credential.ID;
37
+ var ID11 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event19 = Credential.Event;
41
+ var Event16 = Credential.Event;
42
42
 
43
- class Info30 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info26 extends Schema.Class("Credential.Info")({
44
+ id: ID11,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service78 extends Context.Service()("@opencode/Credential") {
51
+ class Service70 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service78, Effect.gen(function* () {
54
- const db = (yield* Service83).db;
55
- const bus = yield* Service82;
53
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
54
+ const db = (yield* Service84).db;
55
+ const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info30({
60
+ return new Info26({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service78.of({
71
+ return Service70.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info30({
80
- id: ID15.create(),
79
+ const credential = new Info26({
80
+ id: ID11.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event19.Updated, {}, { global: true });
105
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event16.Updated, {}, { global: true });
105
+ yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event19.Updated, {}, { global: true });
157
+ yield* bus.publish(Event16.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event19.Updated, {}, { global: true });
190
+ yield* bus.publish(Event16.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node82 = makeGlobalNode({ service: Service78, layer, deps: [node87, node86] });
196
+ var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88, node87] });
197
197
 
198
- export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service78, node82, exports_credential };
198
+ export { ID11, OAuth3, Key3, Value2, Event16, Info26, Service70, node74, exports_credential };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./filesystem-c1z6arme.js";
2
+ Service84,
3
+ node88
4
+ } from "./git-2b9m4c98.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service82,
8
- node86
9
- } from "./filesystem-j38rfzw3.js";
7
+ Service83,
8
+ node87
9
+ } from "./git-3en9cd2f.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./filesystem-5t3nmthw.js";
12
+ } from "./git-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./filesystem-ec1grn59.js";
15
+ } from "./git-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./filesystem-9n50fjmv.js";
18
+ } from "./git-1dvq6k6w.js";
19
19
  import {
20
- Service52,
21
- node55
22
- } from "./filesystem-0fek3p1n.js";
20
+ Service77,
21
+ node81
22
+ } from "./git-c55fm4pv.js";
23
23
  import {
24
- Service22,
25
- node25
26
- } from "./filesystem-cdvs3883.js";
24
+ Service28,
25
+ node32
26
+ } from "./git-yncw8fjy.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./filesystem-tdstcens.js";
30
+ } from "./git-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./git-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service11,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer7,
42
- node: () => node13
41
+ layer: () => layer3,
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service11 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer7 = Layer.effect(Service11, Effect.gen(function* () {
62
- const bus = yield* Service82;
61
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
+ const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service22;
65
- const store = yield* Service52;
66
- const db = (yield* Service83).db;
64
+ const context = yield* Service28;
65
+ const store = yield* Service77;
66
+ const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service11.of({ generate });
148
+ return Service3.of({ generate });
149
149
  }));
150
- var node13 = makeLocationNode({
151
- service: Service11,
152
- layer: layer7,
153
- deps: [node86, llmClient2, node25, node55, node87]
150
+ var node4 = makeLocationNode({
151
+ service: Service3,
152
+ layer: layer3,
153
+ deps: [node87, llmClient2, node32, node81, node88]
154
154
  });
155
155
 
156
- export { Service11, isUntitled2, layer7, node13, exports_title };
156
+ export { Service3, isUntitled2, layer3, node4, exports_title };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};