@opencode/core 0.0.0-dev-20560 → 0.0.0-dev-20562

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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/{provider-cg82180e.js → git-02w7fs5d.js} +11 -11
  8. package/dist/chunks/{provider-khr9akvx.js → git-032cyjyw.js} +32 -32
  9. package/dist/chunks/{provider-k1bc9b3q.js → git-0625jp80.js} +13 -13
  10. package/dist/chunks/{provider-52p7fva6.js → git-07sxpann.js} +42 -42
  11. package/dist/chunks/{provider-c4r1z0h4.js → git-085cx3zv.js} +5 -5
  12. package/dist/chunks/{provider-3x10bfpz.js → git-0dj7b03z.js} +17 -17
  13. package/dist/chunks/{provider-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{provider-cjzg55rp.js → git-0spzybr5.js} +11 -11
  15. package/dist/chunks/{provider-kwe77dsa.js → git-0srz5asd.js} +8 -8
  16. package/dist/chunks/{provider-0vbcp93d.js → git-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{provider-mt1f1117.js → git-1139ch5w.js} +13 -13
  18. package/dist/chunks/{provider-nrgk47gy.js → git-11y9zc8x.js} +10 -10
  19. package/dist/chunks/{provider-1acjjqhc.js → git-1acjjqhc.js} +1 -1
  20. package/dist/chunks/{provider-1dazxqgg.js → git-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{provider-af1qyrwf.js → git-1eyy3q5f.js} +4 -4
  22. package/dist/chunks/{provider-9q9rjagx.js → git-1vn95jfs.js} +53 -53
  23. package/dist/chunks/{provider-q2y38gbr.js → git-1w4d3wec.js} +6 -6
  24. package/dist/chunks/{provider-1ygqh575.js → git-1ygqh575.js} +2 -2
  25. package/dist/chunks/{provider-6jmnagmy.js → git-22pm8dz8.js} +15 -15
  26. package/dist/chunks/{provider-69n11mhg.js → git-23fdz8zm.js} +24 -24
  27. package/dist/chunks/{provider-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{provider-d5577vah.js → git-2hkp30bb.js} +8 -8
  29. package/dist/chunks/{provider-2k8khapm.js → git-2k8khapm.js} +1 -1
  30. package/dist/chunks/{provider-6gp95x7h.js → git-2p5waxg3.js} +36 -36
  31. package/dist/chunks/{provider-mcrs9awc.js → git-2r2g0atm.js} +5 -5
  32. package/dist/chunks/{provider-h2b79v29.js → git-3cegwx68.js} +2 -2
  33. package/dist/chunks/{provider-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{provider-50wdke11.js → git-3g5wjmhy.js} +6 -6
  35. package/dist/chunks/{provider-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{provider-gyx3rp2r.js → git-3pf8vdgx.js} +14 -14
  37. package/dist/chunks/{provider-jcwdcbg9.js → git-3q2syvxg.js} +4 -4
  38. package/dist/chunks/{provider-p9tbp9qs.js → git-3ra56d4r.js} +8 -8
  39. package/dist/chunks/{provider-f8t71jt9.js → git-3rg165q2.js} +21 -21
  40. package/dist/chunks/{provider-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{provider-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{provider-3zsf4n22.js → git-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{provider-7syq4jmg.js → git-47nsx91x.js} +14 -14
  44. package/dist/chunks/{provider-m7wfyeg7.js → git-4eew9g2y.js} +16 -16
  45. package/dist/chunks/{provider-8xrn7n4t.js → git-4h9agmp5.js} +4 -4
  46. package/dist/chunks/{provider-5jrbfcyk.js → git-4hs31730.js} +7 -7
  47. package/dist/chunks/{provider-4ts7tf6z.js → git-4ts7tf6z.js} +2 -2
  48. package/dist/chunks/{provider-54ma36ye.js → git-54ma36ye.js} +1 -1
  49. package/dist/chunks/{provider-xqsqk9sp.js → git-5asaxwz0.js} +14 -14
  50. package/dist/chunks/{provider-5daktx2q.js → git-5daktx2q.js} +1 -1
  51. package/dist/chunks/{provider-xrh33zgb.js → git-5fdwesh3.js} +21 -21
  52. package/dist/chunks/{provider-jx6439b8.js → git-5fqehrjh.js} +14 -14
  53. package/dist/chunks/{provider-v0xmac3n.js → git-5pyjqqve.js} +2 -2
  54. package/dist/chunks/{provider-w8rdajxk.js → git-5rd3e1sf.js} +46 -46
  55. package/dist/chunks/{provider-5t3nmthw.js → git-5t3nmthw.js} +2 -2
  56. package/dist/chunks/git-61eafm4z.js +26 -0
  57. package/dist/chunks/{provider-3vtrhh30.js → git-64w61fh4.js} +11 -11
  58. package/dist/chunks/{provider-669tq793.js → git-669tq793.js} +1 -1
  59. package/dist/chunks/{provider-435p4ksb.js → git-6e7k9m6e.js} +16 -16
  60. package/dist/chunks/{provider-wgn1zfzh.js → git-6f93rc7r.js} +2 -2
  61. package/dist/chunks/{provider-yspr33n3.js → git-6j8xr8ks.js} +11 -11
  62. package/dist/chunks/{provider-we6nqpaf.js → git-6n2h34sj.js} +11 -11
  63. package/dist/chunks/{provider-h9pnpq88.js → git-6q3g8xg3.js} +4 -4
  64. package/dist/chunks/{provider-0jq8n27z.js → git-6xee4v4d.js} +23 -23
  65. package/dist/chunks/{provider-8hbyspe1.js → git-7aehpz1c.js} +18 -18
  66. package/dist/chunks/{provider-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{provider-cq1crqf5.js → git-7k2b1ern.js} +35 -35
  68. package/dist/chunks/{provider-gmkravmr.js → git-7v7sj3g7.js} +13 -13
  69. package/dist/chunks/{provider-1dvck2a7.js → git-84h8c373.js} +2 -2
  70. package/dist/chunks/{provider-9y0w708y.js → git-8ank75fn.js} +8 -8
  71. package/dist/chunks/{provider-ykbx70vn.js → git-8c44v4ms.js} +35 -35
  72. package/dist/chunks/{provider-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
  73. package/dist/chunks/{provider-aekpz6sr.js → git-8gbtfts9.js} +48 -48
  74. package/dist/chunks/{provider-r9t00hsy.js → git-8ha6ga5e.js} +5 -5
  75. package/dist/chunks/{provider-jjaddj82.js → git-8pbvrwxc.js} +17 -17
  76. package/dist/chunks/{provider-h4ckqw4f.js → git-8pfwr1aj.js} +6 -6
  77. package/dist/chunks/{provider-v6ee4kkz.js → git-8tgyg7gg.js} +30 -30
  78. package/dist/chunks/{provider-zwh81tv5.js → git-919a196f.js} +27 -27
  79. package/dist/chunks/{provider-0hs982sg.js → git-91jdmawh.js} +10 -10
  80. package/dist/chunks/{provider-p98bz656.js → git-976qdcq7.js} +16 -16
  81. package/dist/chunks/{provider-rnbem8r2.js → git-9djjq72w.js} +5 -5
  82. package/dist/chunks/{provider-1qwpq4r3.js → git-9eg3er54.js} +6 -6
  83. package/dist/chunks/{provider-g91m6ns0.js → git-9ektmz52.js} +5 -5
  84. package/dist/chunks/{provider-hkh1gyze.js → git-9qkyr97s.js} +32 -32
  85. package/dist/chunks/{provider-z6x3qavv.js → git-9rwve19t.js} +37 -37
  86. package/dist/chunks/git-9sh4wc5j.js +18 -0
  87. package/dist/chunks/{provider-e4ng0cwh.js → git-9tfjsxb9.js} +15 -15
  88. package/dist/chunks/{provider-6vnksd4p.js → git-9tfmb0e9.js} +30 -30
  89. package/dist/chunks/{provider-70wfxkqk.js → git-9tkmr5rm.js} +2 -2
  90. package/dist/chunks/{provider-hc48ba3f.js → git-9wdsrwsz.js} +22 -22
  91. package/dist/chunks/{provider-zgfgymxp.js → git-9xfshyvk.js} +9 -9
  92. package/dist/chunks/{provider-xd27s6m4.js → git-a0jevnqa.js} +22 -22
  93. package/dist/chunks/{provider-a8bn8zg0.js → git-a8bn8zg0.js} +1 -1
  94. package/dist/chunks/{provider-aaet6srn.js → git-aaet6srn.js} +2 -2
  95. package/dist/chunks/{provider-x661k3y3.js → git-addxnjmp.js} +4 -4
  96. package/dist/chunks/{provider-w90th1wq.js → git-ajn6tt43.js} +8 -8
  97. package/dist/chunks/{provider-z4hyjh59.js → git-apgk1548.js} +4 -4
  98. package/dist/chunks/{provider-33cp61c9.js → git-arnr7kcy.js} +16 -16
  99. package/dist/chunks/{provider-9szwjyee.js → git-awrbzsy3.js} +8 -8
  100. package/dist/chunks/{provider-r2gk0ttq.js → git-b03nnz1c.js} +18 -18
  101. package/dist/chunks/{provider-qygbw77c.js → git-b3f8fkhc.js} +5 -5
  102. package/dist/chunks/{provider-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{provider-01285jvk.js → git-bk15cxg4.js} +38 -38
  104. package/dist/chunks/{provider-grbwyzfx.js → git-bmdjhshj.js} +28 -28
  105. package/dist/chunks/{provider-jp0zb534.js → git-bp3122xd.js} +23 -23
  106. package/dist/chunks/{provider-xcmk6yw7.js → git-bq7b46md.js} +11 -11
  107. package/dist/chunks/{provider-ap47h660.js → git-bs42k8g9.js} +20 -20
  108. package/dist/chunks/{provider-veqfhemw.js → git-bsprd9wx.js} +3 -3
  109. package/dist/chunks/{provider-kjhbxppm.js → git-bxhwpntz.js} +32 -32
  110. package/dist/chunks/{provider-z6saq0r8.js → git-cehjrd1g.js} +33 -33
  111. package/dist/chunks/{provider-yps7s2q8.js → git-chtmdyda.js} +35 -35
  112. package/dist/chunks/{provider-986x86b7.js → git-cn5gcc51.js} +44 -44
  113. package/dist/chunks/{provider-1d6v1ma9.js → git-ct466j5d.js} +22 -22
  114. package/dist/chunks/{provider-29takrd9.js → git-cvfx34b7.js} +3 -3
  115. package/dist/chunks/{provider-49d8wj3j.js → git-d18zaw37.js} +11 -11
  116. package/dist/chunks/{provider-6hh8tjw2.js → git-d216944b.js} +7 -7
  117. package/dist/chunks/{provider-xb50yt4b.js → git-d9sgy5v4.js} +4 -4
  118. package/dist/chunks/{provider-fyjp43ss.js → git-dfzjqex4.js} +5 -5
  119. package/dist/chunks/{provider-cwa6csj7.js → git-djszqvmq.js} +9 -9
  120. package/dist/chunks/{provider-hj6p1ak3.js → git-dnt63nt6.js} +15 -15
  121. package/dist/chunks/{provider-dpkg50ah.js → git-dpkg50ah.js} +1 -1
  122. package/dist/chunks/{provider-pmv6ntjp.js → git-ds70c4zn.js} +17 -17
  123. package/dist/chunks/{provider-w39jehkq.js → git-dssbfrwz.js} +5 -5
  124. package/dist/chunks/{provider-5yzzbxa7.js → git-dv1qgsyq.js} +8 -8
  125. package/dist/chunks/{provider-7cp65q13.js → git-dyf3bp0c.js} +58 -58
  126. package/dist/chunks/{provider-q4c9f7y5.js → git-e0efhqhc.js} +10 -10
  127. package/dist/chunks/{provider-s8d7rejh.js → git-eaj1djv9.js} +6 -6
  128. package/dist/chunks/{provider-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{provider-mcdat7hx.js → git-eg3s8dne.js} +8 -8
  130. package/dist/chunks/{provider-w3ejnnxx.js → git-eq4s6165.js} +28 -28
  131. package/dist/chunks/{provider-6hb4axps.js → git-erac1yxk.js} +18 -18
  132. package/dist/chunks/{provider-etq0c3wd.js → git-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{provider-y117vq4z.js → git-ex4ebww2.js} +26 -26
  134. package/dist/chunks/{provider-pe07j12a.js → git-f3bfwcjn.js} +24 -24
  135. package/dist/chunks/{provider-crkpb7cs.js → git-f4vb4mwh.js} +22 -22
  136. package/dist/chunks/{provider-x2rw7g36.js → git-f62qkzqr.js} +5 -5
  137. package/dist/chunks/{provider-sg97scqd.js → git-f66p4zpv.js} +25 -25
  138. package/dist/chunks/{provider-71az546q.js → git-f75zav2x.js} +2 -2
  139. package/dist/chunks/{provider-z2zdbf9m.js → git-f77c7bqj.js} +26 -26
  140. package/dist/chunks/{provider-qj5ds43h.js → git-fdrfvwaq.js} +38 -38
  141. package/dist/chunks/{provider-g1axe9mw.js → git-fhhj5rn0.js} +6 -6
  142. package/dist/chunks/{provider-mcb0hy3p.js → git-fngamann.js} +27 -27
  143. package/dist/chunks/{provider-zmzek11k.js → git-fr1cxnem.js} +15 -15
  144. package/dist/chunks/{provider-0ym7r8mw.js → git-gc1qnngx.js} +1 -1
  145. package/dist/chunks/{provider-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{provider-t6ybzkhe.js → git-ghhqx45q.js} +33 -33
  147. package/dist/chunks/{provider-gj71zhbs.js → git-gj71zhbs.js} +2 -2
  148. package/dist/chunks/{provider-9n2aebv8.js → git-gjw4ctvs.js} +4 -4
  149. package/dist/chunks/{provider-vnrsjt5v.js → git-gk9savye.js} +1 -1
  150. package/dist/chunks/{provider-9epr5phe.js → git-gnyqawz5.js} +19 -19
  151. package/dist/chunks/{provider-dtqny3g5.js → git-gr6b6mj1.js} +11 -11
  152. package/dist/chunks/{provider-3ch8yd3e.js → git-gvdwxq1q.js} +15 -15
  153. package/dist/chunks/{provider-g762atc6.js → git-h04zhhvt.js} +9 -9
  154. package/dist/chunks/{provider-3ynjgzpx.js → git-h1fbqw2s.js} +3 -3
  155. package/dist/chunks/{provider-rdz0fprs.js → git-h25r50c9.js} +36 -36
  156. package/dist/chunks/{provider-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{provider-tge9ftn1.js → git-h7sfwyf5.js} +11 -11
  158. package/dist/chunks/{provider-x8fg1acq.js → git-h7sh9wd4.js} +10 -10
  159. package/dist/chunks/{provider-ff0htmxq.js → git-h896pcm5.js} +6 -6
  160. package/dist/chunks/{provider-2bx1hchp.js → git-h96n571k.js} +3 -3
  161. package/dist/chunks/{provider-bzvxwtgf.js → git-hdf9gcx5.js} +42 -42
  162. package/dist/chunks/{provider-kadn9d92.js → git-hj6gy8t6.js} +13 -13
  163. package/dist/chunks/{provider-cg5tt1tt.js → git-hk69fs6d.js} +23 -23
  164. package/dist/chunks/{provider-trdyvw7q.js → git-j33wa8bp.js} +8 -8
  165. package/dist/chunks/{provider-j56e64zr.js → git-j56e64zr.js} +1 -1
  166. package/dist/chunks/{provider-dwhba9yv.js → git-j85a6hbw.js} +33 -33
  167. package/dist/chunks/{provider-s9n824c4.js → git-jpgxd47a.js} +6 -6
  168. package/dist/chunks/{provider-a8ded0f6.js → git-jq3weww3.js} +10 -10
  169. package/dist/chunks/{provider-9kangp0z.js → git-jrb6db6m.js} +11 -11
  170. package/dist/chunks/{provider-wac6chsn.js → git-jt3xwphd.js} +22 -22
  171. package/dist/chunks/{provider-9e5bzkjp.js → git-kb9j3d72.js} +3 -3
  172. package/dist/chunks/{provider-470p4mvx.js → git-kt8c8h95.js} +17 -17
  173. package/dist/chunks/{provider-k423vsa4.js → git-kv6a6hv4.js} +22 -22
  174. package/dist/chunks/{provider-vkrws2w1.js → git-m1pm51kw.js} +13 -13
  175. package/dist/chunks/{provider-raxp2c9r.js → git-m35jab33.js} +3 -3
  176. package/dist/chunks/{provider-m3fdjcah.js → git-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{provider-2hcv837r.js → git-m6zw8jde.js} +9 -9
  178. package/dist/chunks/{provider-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{provider-73tb2d7t.js → git-mhkvc446.js} +3 -3
  180. package/dist/chunks/{provider-a1r079t2.js → git-mtjxrmy2.js} +13 -13
  181. package/dist/chunks/{provider-aydwb50t.js → git-mvaa3kkv.js} +11 -11
  182. package/dist/chunks/{provider-3sj8yt8v.js → git-n1n192bv.js} +4 -4
  183. package/dist/chunks/{provider-prq7hedt.js → git-n37c4crj.js} +9 -9
  184. package/dist/chunks/{provider-5ngaw42y.js → git-n5fmv0z0.js} +18 -18
  185. package/dist/chunks/{provider-ve9zm8mm.js → git-n86q8ppv.js} +13 -13
  186. package/dist/chunks/{provider-n2thn3nx.js → git-ns3eape4.js} +1 -1
  187. package/dist/chunks/{provider-y7gnf2d1.js → git-nvmhbv8t.js} +14 -14
  188. package/dist/chunks/{provider-hnp531gc.js → git-nwp2eysc.js} +11 -11
  189. package/dist/chunks/{provider-me3a999s.js → git-p3q28g57.js} +7 -7
  190. package/dist/chunks/{provider-t55zzdc3.js → git-p4c5q89g.js} +22 -22
  191. package/dist/chunks/{provider-9sy89r0f.js → git-p6wspkqp.js} +4 -4
  192. package/dist/chunks/{provider-e8c09gwn.js → git-pajnrf35.js} +321 -321
  193. package/dist/chunks/{provider-r5rttqkx.js → git-peat1812.js} +27 -27
  194. package/dist/chunks/{provider-cywzwz9x.js → git-ph09dhrs.js} +26 -26
  195. package/dist/chunks/{provider-gstkmqpe.js → git-pha45w80.js} +5 -5
  196. package/dist/chunks/{provider-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{provider-pknna89w.js → git-pknna89w.js} +1 -1
  198. package/dist/chunks/{provider-4m14wrc9.js → git-pnepdkm6.js} +10 -10
  199. package/dist/chunks/{provider-jy6n4x97.js → git-pvxbbp0m.js} +12 -12
  200. package/dist/chunks/{provider-sh9zb4hv.js → git-pwnkrwfc.js} +91 -91
  201. package/dist/chunks/{provider-q0xm7vwc.js → git-q0xm7vwc.js} +2 -2
  202. package/dist/chunks/{provider-17n19r01.js → git-q1h9zn82.js} +34 -34
  203. package/dist/chunks/{provider-2j8811pr.js → git-qa8e0n6b.js} +32 -32
  204. package/dist/chunks/{provider-73szrdfc.js → git-qak75e21.js} +16 -16
  205. package/dist/chunks/{provider-y3gt2pxq.js → git-qgqd6w9k.js} +5 -5
  206. package/dist/chunks/{provider-qnc92qwc.js → git-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{provider-6j3fzm1y.js → git-qp5539xb.js} +21 -21
  208. package/dist/chunks/{provider-qsdy395h.js → git-qsdy395h.js} +1 -1
  209. package/dist/chunks/{provider-xyafkbt0.js → git-qxjc9qry.js} +3 -3
  210. package/dist/chunks/{provider-jxh05zr6.js → git-qyveymvs.js} +8 -8
  211. package/dist/chunks/{provider-ax2gd5n1.js → git-r30cgyyt.js} +18 -18
  212. package/dist/chunks/{provider-90rktb5s.js → git-r9jkr8ab.js} +9 -9
  213. package/dist/chunks/{provider-ydm09vy0.js → git-r9xrehfg.js} +9 -9
  214. package/dist/chunks/{provider-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{provider-c6dhd04y.js → git-re2vcceh.js} +22 -22
  216. package/dist/chunks/{provider-s783479j.js → git-ryzqbc1d.js} +43 -43
  217. package/dist/chunks/{provider-tpykdk7e.js → git-s04zhn75.js} +23 -23
  218. package/dist/chunks/{provider-vreax0eq.js → git-sm3c74vq.js} +45 -45
  219. package/dist/chunks/{provider-g31erja1.js → git-srq8z0b0.js} +9 -9
  220. package/dist/chunks/{provider-kfxyjhp2.js → git-sy2azgy3.js} +6 -6
  221. package/dist/chunks/{provider-7pna4pjx.js → git-t1fggk03.js} +12 -12
  222. package/dist/chunks/{provider-3xtchf3h.js → git-t7wjs1k1.js} +8 -8
  223. package/dist/chunks/{provider-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{provider-79wzcjsa.js → git-tbcsecz1.js} +6 -6
  225. package/dist/chunks/{provider-89znhe33.js → git-tcezcvh9.js} +4 -4
  226. package/dist/chunks/{provider-tdstcens.js → git-tdstcens.js} +1 -1
  227. package/dist/chunks/{provider-9r803xq9.js → git-tf5f2wee.js} +11 -11
  228. package/dist/chunks/{provider-0631dk44.js → git-tghhmhz1.js} +33 -33
  229. package/dist/chunks/{provider-5mffh87d.js → git-tgnesedn.js} +24 -24
  230. package/dist/chunks/{provider-8sze2n9a.js → git-ts23464c.js} +8 -8
  231. package/dist/chunks/{provider-wzj2gnv1.js → git-ttd0g9zj.js} +49 -49
  232. package/dist/chunks/{provider-680jt4jr.js → git-txb006np.js} +12 -12
  233. package/dist/chunks/{provider-54bf5ftt.js → git-ty8w44b9.js} +33 -33
  234. package/dist/chunks/{provider-qds735d4.js → git-tywqas9g.js} +43 -43
  235. package/dist/chunks/{provider-6g7e4dd5.js → git-v0es1rhs.js} +7 -7
  236. package/dist/chunks/{provider-tr8bqbe2.js → git-v2sw3hbb.js} +10 -10
  237. package/dist/chunks/{provider-db0cs2kz.js → git-v6kg9bvn.js} +31 -31
  238. package/dist/chunks/{provider-erxm7rkb.js → git-v9hva73f.js} +20 -20
  239. package/dist/chunks/{provider-ezr7p14b.js → git-vb5q025c.js} +28 -28
  240. package/dist/chunks/{provider-veqvce7d.js → git-veqvce7d.js} +1 -1
  241. package/dist/chunks/{provider-m5jcjszt.js → git-vx3jgdek.js} +3 -3
  242. package/dist/chunks/{provider-t8h9k6kt.js → git-vxhks8wc.js} +3 -3
  243. package/dist/chunks/{provider-xr86wyz0.js → git-vyd7j12k.js} +28 -28
  244. package/dist/chunks/{provider-vzcthcp8.js → git-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{provider-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{provider-xfkkasph.js → git-w19d8598.js} +5 -5
  247. package/dist/chunks/{provider-84txncab.js → git-w1eejvng.js} +5 -5
  248. package/dist/chunks/{provider-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{provider-wd87259q.js → git-wd87259q.js} +1 -1
  250. package/dist/chunks/{provider-1b47cdh9.js → git-wfst940x.js} +9 -9
  251. package/dist/chunks/{provider-1vcbmft8.js → git-whvwv6ra.js} +25 -25
  252. package/dist/chunks/{provider-j7ab7yhq.js → git-wrjghkwj.js} +10 -10
  253. package/dist/chunks/{provider-3v7w85me.js → git-wwdvbdba.js} +9 -9
  254. package/dist/chunks/{provider-d63p7tmf.js → git-wxzz7e6p.js} +5 -5
  255. package/dist/chunks/{provider-mkr0nv12.js → git-wz76yb0y.js} +32 -32
  256. package/dist/chunks/{provider-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{provider-dky9q78m.js → git-x4vmkg1m.js} +25 -25
  258. package/dist/chunks/{provider-4jvsrzf3.js → git-x5b87w46.js} +23 -23
  259. package/dist/chunks/{provider-skwdgpes.js → git-x6xfk5f4.js} +12 -12
  260. package/dist/chunks/{provider-zfs8ae4p.js → git-xasyx0as.js} +4 -4
  261. package/dist/chunks/{provider-rhwvwbyq.js → git-xazf37qb.js} +11 -11
  262. package/dist/chunks/{provider-a2ky4jhc.js → git-xg9qb7vy.js} +77 -77
  263. package/dist/chunks/{provider-t08kermd.js → git-xk2ms0jt.js} +13 -13
  264. package/dist/chunks/{provider-dmqcgk4z.js → git-xkntkrq7.js} +5 -5
  265. package/dist/chunks/{provider-3zwwsd0z.js → git-xrs0cvz4.js} +29 -29
  266. package/dist/chunks/{provider-vbfgae2j.js → git-xxxym934.js} +4 -4
  267. package/dist/chunks/{provider-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/git-y364wss9.js +253 -0
  269. package/dist/chunks/{provider-wymd7d8j.js → git-yad7bjbc.js} +86 -86
  270. package/dist/chunks/{provider-63j7grd1.js → git-yf10kn3d.js} +7 -7
  271. package/dist/chunks/{provider-8a762xj8.js → git-ypwwrrgz.js} +172 -172
  272. package/dist/chunks/{provider-rzs3gq0x.js → git-yvvvp4gn.js} +8 -8
  273. package/dist/chunks/{provider-9t52bdds.js → git-yz7d0qdx.js} +47 -47
  274. package/dist/chunks/{provider-74mwd0vm.js → git-yzq58wab.js} +11 -11
  275. package/dist/chunks/{provider-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{provider-6es9ekve.js → git-z2ph3y3a.js} +35 -35
  277. package/dist/chunks/{provider-fqb0yfph.js → git-z3jrwe2t.js} +22 -22
  278. package/dist/chunks/{provider-kne8f3cn.js → git-zav06jzw.js} +4 -4
  279. package/dist/chunks/{provider-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{provider-n8hzfk5n.js → git-zte79gky.js} +15 -15
  281. package/dist/chunks/{provider-7cd1ytca.js → git-zw12wknf.js} +11 -11
  282. package/dist/chunks/{provider-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{provider-6e7wsvmk.js → git-zyzcc58f.js} +17 -17
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +11 -11
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +115 -115
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +114 -114
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +72 -72
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +93 -93
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +102 -102
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +106 -106
  422. package/dist/form.js +82 -82
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +101 -101
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +83 -83
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +3 -3
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +102 -102
  473. package/dist/models-dev.js +101 -101
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +100 -100
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +115 -115
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +112 -112
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +6 -6
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +91 -91
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +214 -214
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +16 -16
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +1 -1
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +2 -2
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/provider-4v7qdvcn.js +0 -18
  681. package/dist/chunks/provider-9ztar93x.js +0 -26
  682. package/dist/chunks/provider-yhapg49b.js +0 -253
  683. /package/dist/chunks/{provider-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{provider-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{provider-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{provider-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{provider-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{provider-24dcb14g.js → git-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{provider-2710q6r3.js → git-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{provider-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{provider-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{provider-34c7v6d4.js → git-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{provider-359p4xyc.js → git-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{provider-3asan66x.js → git-3asan66x.js} +0 -0
  695. /package/dist/chunks/{provider-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{provider-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{provider-3w5fmr99.js → git-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{provider-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{provider-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{provider-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{provider-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{provider-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{provider-53557ph1.js → git-53557ph1.js} +0 -0
  704. /package/dist/chunks/{provider-550bvhaj.js → git-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{provider-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{provider-6prwharc.js → git-6prwharc.js} +0 -0
  707. /package/dist/chunks/{provider-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{provider-7m9af43g.js → git-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{provider-822emrt2.js → git-822emrt2.js} +0 -0
  710. /package/dist/chunks/{provider-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{provider-8n3pysct.js → git-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{provider-8wj87zfr.js → git-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{provider-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{provider-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{provider-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{provider-af5trqkr.js → git-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{provider-afrmfg78.js → git-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{provider-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{provider-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{provider-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{provider-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{provider-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{provider-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{provider-d9fn303g.js → git-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{provider-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{provider-dajrwvna.js → git-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{provider-dap0rakb.js → git-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{provider-df08tz66.js → git-df08tz66.js} +0 -0
  729. /package/dist/chunks/{provider-dy18nga0.js → git-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{provider-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{provider-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{provider-ec1grn59.js → git-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{provider-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{provider-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{provider-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{provider-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{provider-faypxj3z.js → git-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{provider-fd410y7t.js → git-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{provider-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{provider-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{provider-g86h250q.js → git-g86h250q.js} +0 -0
  742. /package/dist/chunks/{provider-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{provider-gftt206x.js → git-gftt206x.js} +0 -0
  744. /package/dist/chunks/{provider-hjbc5kem.js → git-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{provider-hk9envan.js → git-hk9envan.js} +0 -0
  746. /package/dist/chunks/{provider-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{provider-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{provider-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{provider-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{provider-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{provider-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{provider-mp448xyj.js → git-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{provider-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{provider-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{provider-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{provider-njntx4h6.js → git-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{provider-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{provider-q74kybfr.js → git-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{provider-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{provider-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{provider-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{provider-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{provider-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{provider-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{provider-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{provider-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{provider-w803qqfp.js → git-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{provider-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{provider-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{provider-wtztk69x.js → git-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{provider-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{provider-x61499pn.js → git-x61499pn.js} +0 -0
  773. /package/dist/chunks/{provider-y44na4kk.js → git-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{provider-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{provider-y8f7s663.js → git-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{provider-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{provider-ym463w8f.js → git-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{provider-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{provider-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./provider-y7gnf2d1.js";
2
+ Service83,
3
+ node86
4
+ } from "./git-nvmhbv8t.js";
5
5
  import {
6
- Service79,
7
- node82
8
- } from "./provider-435p4ksb.js";
6
+ Service80,
7
+ node83
8
+ } from "./git-6e7k9m6e.js";
9
9
  import {
10
- Service38,
10
+ Service55,
11
11
  login2,
12
- node42
13
- } from "./provider-6hb4axps.js";
12
+ node57
13
+ } from "./git-erac1yxk.js";
14
14
  import {
15
15
  lazy2
16
- } from "./provider-88xbtdfr.js";
16
+ } from "./git-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./provider-9rqn6x4v.js";
19
+ } from "./git-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
@@ -24,11 +24,11 @@ __export(exports_pty, {
24
24
  CreateInput: () => CreateInput2,
25
25
  Event: () => Event3,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID3,
28
- Info: () => Info3,
27
+ ID: () => ID2,
28
+ Info: () => Info2,
29
29
  NotFoundError: () => NotFoundError2,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service13,
31
+ Service: () => Service14,
32
32
  UpdateInput: () => UpdateInput2,
33
33
  node: () => node16
34
34
  });
@@ -39,27 +39,27 @@ import { Event as Event3 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID3 = Pty.ID;
43
- var Info3 = Pty.Info;
42
+ var ID2 = Pty.ID;
43
+ var Info2 = Pty.Info;
44
44
  var CreateInput2 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
47
  class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID3
48
+ ptyID: ID2
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID3
53
+ ptyID: ID2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service13 extends Context.Service()("@opencode/Pty") {
57
+ class Service14 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service13, Effect.gen(function* () {
60
- const bus = yield* Service82;
61
- const location = yield* Service79;
62
- const shell = yield* Service38;
59
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
60
+ const bus = yield* Service83;
61
+ const location = yield* Service80;
62
+ const shell = yield* Service55;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID3.ascending();
125
+ const id = ID2.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service13.of({ list, get, create, update, remove, write, attach });
270
+ return Service14.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
272
  var node16 = makeLocationNode({
273
- service: Service13,
273
+ service: Service14,
274
274
  layer,
275
- deps: [node85, node82, node42]
275
+ deps: [node86, node83, node57]
276
276
  });
277
277
 
278
- export { ID3, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node16, exports_pty, Event3 };
278
+ export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event3 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./provider-rdw6cm16.js";
3
+ } from "./git-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./provider-qaymkmh1.js";
6
+ } from "./git-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./git-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options5,
15
- Service: () => Service38,
14
+ Options: () => Options9,
15
+ Service: () => Service55,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured6,
18
+ configured: () => configured8,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node42,
24
+ node: () => node57,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options5 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service38 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service55 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service38, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service38, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service38.of({
202
+ return Service55.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured6(options) {
210
- return makeLocationNode({ service: Service38, layer: layer(options), deps: [Global.node] });
209
+ function configured8(options) {
210
+ return makeLocationNode({ service: Service55, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node42 = configured6();
212
+ var node57 = configured8();
213
213
 
214
- export { Options5, Service38, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured6, node42, exports_select };
214
+ export { Options9, Service55, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node57, exports_select };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
- node88
4
- } from "./provider-yspr33n3.js";
3
+ node87
4
+ } from "./git-6j8xr8ks.js";
5
5
  import {
6
- Service82,
7
- node85
8
- } from "./provider-y7gnf2d1.js";
6
+ Service83,
7
+ node86
8
+ } from "./git-nvmhbv8t.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./provider-pknna89w.js";
11
+ } from "./git-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./provider-3zsf4n22.js";
14
+ } from "./git-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./provider-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: () => Event20,
23
+ Event: () => Event18,
24
24
  ID: () => ID15,
25
25
  Info: () => Info25,
26
- Key: () => Key4,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service75,
28
+ Service: () => Service71,
29
29
  Value: () => Value2,
30
- node: () => node78
30
+ node: () => node74
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,9 +36,9 @@ import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
37
  var ID15 = 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 Event20 = Credential.Event;
41
+ var Event18 = Credential.Event;
42
42
 
43
43
  class Info25 extends Schema.Class("Credential.Info")({
44
44
  id: ID15,
@@ -48,11 +48,11 @@ class Info25 extends Schema.Class("Credential.Info")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service75 extends Context.Service()("@opencode/Credential") {
51
+ class Service71 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service75, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service82;
55
+ const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service75.of({
71
+ return Service71.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) {
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event20.Updated, {}, { global: true });
111
+ yield* bus.publish(Event18.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event20.Updated, {}, { global: true });
165
+ yield* bus.publish(Event18.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event20.Updated, {}, { global: true });
198
+ yield* bus.publish(Event18.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node78 = makeGlobalNode({ service: Service75, layer, deps: [node88, node85] });
204
+ var node74 = makeGlobalNode({ service: Service71, layer, deps: [node87, node86] });
205
205
 
206
- export { ID15, OAuth3, Key4, Value2, Event20, Info25, Service75, node78, exports_credential };
206
+ export { ID15, OAuth3, Key3, Value2, Event18, Info25, Service71, node74, exports_credential };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./provider-y7gnf2d1.js";
2
+ Service83,
3
+ node86
4
+ } from "./git-nvmhbv8t.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./provider-tazgh4e4.js";
9
+ } from "./git-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./provider-qj5ds43h.js";
12
+ } from "./git-fdrfvwaq.js";
13
13
  import {
14
- Service79,
15
- node82
16
- } from "./provider-435p4ksb.js";
14
+ Service80,
15
+ node83
16
+ } from "./git-6e7k9m6e.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./provider-rdw6cm16.js";
20
+ } from "./git-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./provider-9rqn6x4v.js";
23
+ } from "./git-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info19,
32
+ Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service70,
35
+ Service: () => Service21,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node73
37
+ node: () => node24
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info19, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service70 extends Context.Service()("@opencode/Vcs") {
57
+ class Service21 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service70, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service79;
62
- const bus = yield* Service82;
61
+ const location = yield* Service80;
62
+ const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info19));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service70.of({
132
+ return Service21.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node73 = makeLocationNode({
191
- service: Service70,
190
+ var node24 = makeLocationNode({
191
+ service: Service21,
192
192
  layer,
193
- deps: [FSUtil.node, node82, node85]
193
+ deps: [FSUtil.node, node83, node86]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info19, Mode2, DiffError2, InitializeError2, Service70, node73, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service21, node24, exports_vcs };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./provider-88xbtdfr.js";
3
+ } from "./git-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./provider-5qd3pb7m.js";
6
+ } from "./git-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./git-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event10,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service54,
16
+ Options: () => Options7,
17
+ Service: () => Service45,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer21,
22
+ layer: () => layer17,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node57,
25
+ node: () => node48,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event10 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service54 extends Context.Service()("@opencode/Watcher") {
60
+ class Service45 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
65
+ var layer17 = (options) => Layer.effect(Service45, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service54.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service45.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service54.of({ subscribe });
108
+ return Service45.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service54).subscribe,
134
+ subscribe: Context.get(context, Service45).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service54, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service54, layer: layer21(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service45, layer: layer17(options), deps: [nativeNode2] });
169
169
  }
170
- var node57 = configured9();
170
+ var node48 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event10, hasNativeBinding2, Native3, Options9, Service54, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured9, node57, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options7, Service45, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured7, node48, exports_watcher };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./provider-3w5fmr99.js";
3
+ } from "./git-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./provider-9rqn6x4v.js";
6
+ } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin15,
11
+ Plugin: () => Plugin16,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin15 = define({
18
+ var Plugin16 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin15, exports_tool_input_repair };
123
+ export { Plugin16, exports_tool_input_repair };