@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,56 +1,56 @@
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
- Event20,
7
- Service75,
8
- node78
9
- } from "./provider-y117vq4z.js";
6
+ Event18,
7
+ Service71,
8
+ node74
9
+ } from "./git-ex4ebww2.js";
10
10
  import {
11
- Service54,
12
- node57
13
- } from "./provider-crkpb7cs.js";
11
+ Service45,
12
+ node48
13
+ } from "./git-f4vb4mwh.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./provider-z5v4ffb3.js";
16
+ } from "./git-z5v4ffb3.js";
17
17
  import {
18
- Service79,
19
- node82
20
- } from "./provider-435p4ksb.js";
18
+ Service80,
19
+ node83
20
+ } from "./git-6e7k9m6e.js";
21
21
  import {
22
22
  substitute2
23
- } from "./provider-4ts7tf6z.js";
23
+ } from "./git-4ts7tf6z.js";
24
24
  import {
25
25
  normalize2
26
- } from "./provider-73szrdfc.js";
26
+ } from "./git-qak75e21.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  discover3
30
- } from "./provider-q4c9f7y5.js";
30
+ } from "./git-e0efhqhc.js";
31
31
  import {
32
32
  plan2
33
- } from "./provider-j56e64zr.js";
33
+ } from "./git-j56e64zr.js";
34
34
  import {
35
- Service55,
36
- Event11,
37
- node58
38
- } from "./provider-0jq8n27z.js";
35
+ Service46,
36
+ Event10,
37
+ node49
38
+ } from "./git-6xee4v4d.js";
39
39
  import {
40
40
  __export
41
- } from "./provider-9rqn6x4v.js";
41
+ } from "./git-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service53,
47
+ Options: () => Options6,
48
+ Service: () => Service44,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer20,
53
- node: () => node56,
52
+ layer: () => layer16,
53
+ node: () => node47,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options6 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service53 extends Context.Service()("@opencode/Config") {
74
+ class Service44 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service53, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service44, service), Context.add(Test2, service));
93
93
  }));
94
- var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
94
+ var layer16 = (options) => Layer.effect(Service44, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service79;
97
- const watcher = yield* Service54;
98
- const bus = yield* Service82;
99
- const credentials = yield* Service75;
96
+ const location = yield* Service80;
97
+ const watcher = yield* Service45;
98
+ const bus = yield* Service83;
99
+ const credentials = yield* Service71;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service55;
101
+ const wellknown = yield* Service46;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -221,8 +221,8 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -235,7 +235,7 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names3.map((name) => path.join(directory, name));
238
+ const candidates = names4.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service53.of({
253
+ return Service44.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured8(options) {
265
+ function configured6(options) {
266
266
  return makeLocationNode({
267
- service: Service53,
268
- layer: layer20(options),
269
- deps: [node57, node85, FSUtil.node, Global.node, node82, node78, node58]
267
+ service: Service44,
268
+ layer: layer16(options),
269
+ deps: [node48, node86, FSUtil.node, Global.node, node83, node74, node49]
270
270
  });
271
271
  }
272
- var node56 = configured8();
272
+ var node47 = configured6();
273
273
 
274
- export { latest2, Options7, Service53, Test2, testLayer2, layer20, configured8, node56, exports_config };
274
+ export { latest2, Options6, Service44, Test2, testLayer2, layer16, configured6, node47, exports_config };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service84
3
- } from "./provider-yspr33n3.js";
3
+ } from "./git-6j8xr8ks.js";
4
4
  import {
5
- Service45
6
- } from "./provider-ff0htmxq.js";
5
+ Service50
6
+ } from "./git-h896pcm5.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./provider-4v7qdvcn.js";
9
+ } from "./git-9sh4wc5j.js";
10
10
  import {
11
11
  provenance2
12
- } from "./provider-3sj8yt8v.js";
12
+ } from "./git-n1n192bv.js";
13
13
  import {
14
14
  preview2
15
- } from "./provider-p9tbp9qs.js";
15
+ } from "./git-3ra56d4r.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./provider-db0cs2kz.js";
18
+ } from "./git-v6kg9bvn.js";
19
19
  import {
20
- Service23
21
- } from "./provider-wymd7d8j.js";
20
+ Service29
21
+ } from "./git-yad7bjbc.js";
22
22
  import {
23
23
  __export
24
- } from "./provider-9rqn6x4v.js";
24
+ } from "./git-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service45;
35
+ const instances = yield* Service50;
36
36
  const database = yield* Service84;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service23;
40
+ const context = yield* Service29;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -1,25 +1,25 @@
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
- Key4,
7
- Service75,
8
- node78
9
- } from "./provider-y117vq4z.js";
6
+ Key3,
7
+ Service71,
8
+ node74
9
+ } from "./git-ex4ebww2.js";
10
10
  import {
11
11
  create3
12
- } from "./provider-rdw6cm16.js";
12
+ } from "./git-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./provider-x661k3y3.js";
15
+ } from "./git-addxnjmp.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./provider-5mffh87d.js";
19
+ } from "./git-tgnesedn.js";
20
20
  import {
21
21
  __export
22
- } from "./provider-9rqn6x4v.js";
22
+ } from "./git-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event18,
38
- ID: () => ID13,
39
- Info: () => Info22,
37
+ Event: () => Event17,
38
+ ID: () => ID14,
39
+ Info: () => Info23,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service73,
47
- node: () => node76
46
+ Service: () => Service70,
47
+ node: () => node73
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event18 } from "@opencode/schema/integration";
70
- var ID13 = Integration.ID;
69
+ import { Event as Event17 } from "@opencode/schema/integration";
70
+ var ID14 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info22 = Integration.Info;
78
+ var Info23 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID13,
101
+ integrationID: ID14,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service73 extends Context.Service()("@opencode/Integration") {
107
+ class Service70 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service73, Effect.gen(function* () {
113
- const credentials = yield* Service75;
114
- const bus = yield* Service82;
112
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
113
+ const credentials = yield* Service71;
114
+ const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
117
117
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info22.make({
210
+ const project = (entry, connections) => Info23.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
294
294
  const persistence = yield* createCredential({
295
295
  integrationID: attempt.integrationID,
296
296
  label: attempt.label,
297
- value: Key4.make({ type: "key", key: exit.value })
297
+ value: Key3.make({ type: "key", key: exit.value })
298
298
  }).pipe(Effect.asVoid, Effect.exit);
299
299
  const settledAt = yield* Clock.currentTimeMillis;
300
300
  const terminal = Exit.isSuccess(persistence) ? {
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service73.of({
443
+ return Service70.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
462
462
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
463
463
  if (connection.type === "env") {
464
464
  const key = process.env[connection.name];
465
- return key ? Key4.make({ type: "key", key }) : undefined;
465
+ return key ? Key3.make({ type: "key", key }) : undefined;
466
466
  }
467
467
  const credential = yield* credentials.get(connection.id);
468
468
  if (!credential)
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
495
495
  yield* createCredential({
496
496
  integrationID: input.integrationID,
497
497
  label: input.label,
498
- value: Key4.make({
498
+ value: Key3.make({
499
499
  type: "key",
500
500
  key: input.key,
501
501
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node76 = makeLocationNode({
603
- service: Service73,
602
+ var node73 = makeLocationNode({
603
+ service: Service70,
604
604
  layer,
605
- deps: [node78, node85, AppProcess.node]
605
+ deps: [node74, node86, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node76, exports_integration, Event18 };
608
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service70, node73, exports_integration, Event17 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  ID10,
3
- Service66
4
- } from "./provider-r2gk0ttq.js";
3
+ Service64
4
+ } from "./git-b03nnz1c.js";
5
5
  import {
6
6
  Ref2,
7
- Service71
8
- } from "./provider-6es9ekve.js";
7
+ Service68
8
+ } from "./git-z2ph3y3a.js";
9
9
  import {
10
10
  latest2,
11
- Service53
12
- } from "./provider-wzj2gnv1.js";
11
+ Service44
12
+ } from "./git-ttd0g9zj.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./provider-m5jcjszt.js";
15
+ } from "./git-vx3jgdek.js";
16
16
  import {
17
- Service47
18
- } from "./provider-gyx3rp2r.js";
17
+ Service52
18
+ } from "./git-3pf8vdgx.js";
19
19
  import {
20
20
  evaluate2,
21
- Service62
22
- } from "./provider-w8rdajxk.js";
21
+ Service61
22
+ } from "./git-5rd3e1sf.js";
23
23
  import {
24
- Service21
25
- } from "./provider-sh9zb4hv.js";
24
+ Service28
25
+ } from "./git-pwnkrwfc.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./provider-x1ezjp6w.js";
28
+ } from "./git-x1ezjp6w.js";
29
29
  import {
30
- make9
31
- } from "./provider-hnp531gc.js";
30
+ make11
31
+ } from "./git-nwp2eysc.js";
32
32
  import {
33
33
  __export
34
- } from "./provider-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: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin30,
39
+ Input: () => Input6,
40
+ Output: () => Output4,
41
+ Plugin: () => Plugin41,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name12
43
+ description: () => description2,
44
+ name: () => name6
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name12 = "subagent";
48
+ var name6 = "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 Input12 = Schema.Struct({
59
+ var Input6 = 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 Input12 = 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 Output4 = 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 Plugin30 = {
89
+ var Plugin41 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service21;
93
- const jobs = yield* Service47;
94
- const agents = yield* Service66;
95
- const config = yield* Service53;
96
- const permission = yield* Service62;
97
- const models = yield* Service71;
98
- const subagents = yield* make9;
92
+ const sessions = yield* Service28;
93
+ const jobs = yield* Service52;
94
+ const agents = yield* Service64;
95
+ const config = yield* Service44;
96
+ const permission = yield* Service61;
97
+ const models = yield* Service68;
98
+ const subagents = yield* make11;
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 Plugin30 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name6,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input12,
122
- output: Output8,
120
+ description: description2,
121
+ input: Input6,
122
+ output: Output4,
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 Plugin30 = {
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: name12,
142
+ action: name6,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name12 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name6 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name12];
233
+ const tool = event.tools[name6];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name12, Input12, Output8, description5, Plugin30, exports_subagent };
256
+ export { name6, Input6, Output4, description2, Plugin41, exports_subagent };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./provider-z5v4ffb3.js";
3
+ } from "./git-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./provider-9rqn6x4v.js";
6
+ } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
12
  Event: () => Event21,
13
- ID: () => ID17,
14
- Info: () => Info28,
13
+ ID: () => ID18,
14
+ Info: () => Info29,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID17 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info28 = Project.Info;
23
+ var Info29 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
25
  var Event21 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID17, Current3, Info28, UpdateInput4, Event21, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info29, UpdateInput4, Event21, Vcs3, exports_schema };