@opencode/core 0.0.0-dev-21016 → 0.0.0-dev-21020

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{plugin-mv3hx7wz.js → git-045nn9pc.js} +9 -9
  8. package/dist/chunks/{plugin-7kpgnrbr.js → git-04wnsr0b.js} +7 -7
  9. package/dist/chunks/{plugin-qjnb67tm.js → git-06tsrf37.js} +6 -6
  10. package/dist/chunks/{plugin-prnsvfz5.js → git-0c8x1b4f.js} +37 -37
  11. package/dist/chunks/{plugin-gbt6w4kb.js → git-0gdmqesm.js} +8 -8
  12. package/dist/chunks/{plugin-q0xm7vwc.js → git-0j77ygfz.js} +6 -6
  13. package/dist/chunks/{plugin-z0dcvnbp.js → git-0rmr5qer.js} +15 -15
  14. package/dist/chunks/{plugin-0vbcp93d.js → git-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{plugin-m965y0ne.js → git-0w1y0rgd.js} +11 -11
  16. package/dist/chunks/{plugin-vtg931eh.js → git-0wj29s15.js} +331 -331
  17. package/dist/chunks/{plugin-b84m8a8e.js → git-0xcda8sn.js} +12 -12
  18. package/dist/chunks/{plugin-pbxzkw8j.js → git-1426e4tb.js} +35 -35
  19. package/dist/chunks/{plugin-xc6sx546.js → git-160pwc7a.js} +11 -11
  20. package/dist/chunks/{plugin-vxnyg7ah.js → git-1besy32e.js} +11 -11
  21. package/dist/chunks/{plugin-fcszhcjj.js → git-1caamthg.js} +24 -24
  22. package/dist/chunks/{plugin-hcn7teby.js → git-1mvfkh72.js} +23 -23
  23. package/dist/chunks/{plugin-gk9ka6xq.js → git-1qg3q56q.js} +22 -22
  24. package/dist/chunks/{plugin-ar694mjb.js → git-1qqnj077.js} +46 -46
  25. package/dist/chunks/{plugin-hjv59j1z.js → git-20wnnq6g.js} +18 -18
  26. package/dist/chunks/{plugin-xdmyfp00.js → git-20wzg7fj.js} +6 -6
  27. package/dist/chunks/{plugin-dxjdgjq5.js → git-27qbm3z0.js} +23 -23
  28. package/dist/chunks/{plugin-eg8m91s5.js → git-2cb3tdsa.js} +6 -6
  29. package/dist/chunks/{plugin-8dcxw8q4.js → git-2e7f9scb.js} +24 -24
  30. package/dist/chunks/{plugin-czbm6fn4.js → git-2frv8mpr.js} +30 -30
  31. package/dist/chunks/{plugin-7dqw4kz8.js → git-2k8khapm.js} +5 -5
  32. package/dist/chunks/{plugin-bk129hgw.js → git-2kbxssc4.js} +6 -6
  33. package/dist/chunks/{plugin-fkv89xr8.js → git-2m90p0f2.js} +17 -17
  34. package/dist/chunks/{plugin-tfbhp1s4.js → git-2mvdces3.js} +13 -13
  35. package/dist/chunks/{plugin-v7hpvqw0.js → git-2qdgnb1c.js} +25 -25
  36. package/dist/chunks/{plugin-qktbmstp.js → git-2zknaymx.js} +24 -24
  37. package/dist/chunks/{plugin-gbtx73hb.js → git-30846h32.js} +8 -8
  38. package/dist/chunks/{plugin-g9ahvrgb.js → git-327r5152.js} +8 -8
  39. package/dist/chunks/{plugin-w0s1dj0x.js → git-3bscz66d.js} +29 -29
  40. package/dist/chunks/{plugin-zhfryn22.js → git-3bvntg95.js} +34 -34
  41. package/dist/chunks/{plugin-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{plugin-0egjcwet.js → git-3gs24s9g.js} +28 -28
  43. package/dist/chunks/{plugin-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{plugin-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
  45. package/dist/chunks/{plugin-s4sjq2ej.js → git-3k91j3pc.js} +2 -2
  46. package/dist/chunks/{plugin-rcb1prpx.js → git-3mkrhvdx.js} +13 -13
  47. package/dist/chunks/{plugin-4a2wy92a.js → git-3my7b5tm.js} +4 -4
  48. package/dist/chunks/{plugin-p0g4zz1t.js → git-3pykwxdf.js} +33 -33
  49. package/dist/chunks/{plugin-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{plugin-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{plugin-k22b66k8.js → git-3y377wv9.js} +4 -4
  52. package/dist/chunks/{plugin-3zsf4n22.js → git-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{plugin-v0es1rhs.js → git-4434d9q2.js} +9 -9
  54. package/dist/chunks/{plugin-1xb40zjp.js → git-4a7gy6vj.js} +3 -3
  55. package/dist/chunks/{plugin-22tnpdhy.js → git-4d2zqy8g.js} +11 -11
  56. package/dist/chunks/{plugin-qa6qrp98.js → git-4dr476sk.js} +4 -4
  57. package/dist/chunks/{plugin-zjtrsxny.js → git-4ekscj25.js} +5 -5
  58. package/dist/chunks/{plugin-fwwk8vbp.js → git-4nj4bn9q.js} +9 -9
  59. package/dist/chunks/{plugin-5sfx348z.js → git-4z7vdsey.js} +45 -45
  60. package/dist/chunks/{plugin-54ma36ye.js → git-54ma36ye.js} +1 -1
  61. package/dist/chunks/{plugin-jvts8yvr.js → git-5aeb062r.js} +33 -33
  62. package/dist/chunks/{plugin-syf57q56.js → git-5dkn69vz.js} +4 -4
  63. package/dist/chunks/{plugin-sr3vge08.js → git-5fmkgt82.js} +45 -45
  64. package/dist/chunks/{plugin-5m9w47nd.js → git-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{plugin-34pkmzzj.js → git-5q44j617.js} +29 -29
  66. package/dist/chunks/{plugin-maycnfpx.js → git-5yq7dtg5.js} +50 -50
  67. package/dist/chunks/{plugin-rebjgvgr.js → git-6bt2wg6w.js} +33 -33
  68. package/dist/chunks/{plugin-m6jd6t50.js → git-6cdy90xd.js} +50 -50
  69. package/dist/chunks/{plugin-wx2e4h7y.js → git-6ejxrw0z.js} +7 -7
  70. package/dist/chunks/{plugin-jk540des.js → git-6g107h22.js} +2 -2
  71. package/dist/chunks/{plugin-jk243tya.js → git-6h9ztbaz.js} +19 -19
  72. package/dist/chunks/{plugin-e0rtsdrs.js → git-6kcqcecw.js} +15 -15
  73. package/dist/chunks/{plugin-42rwqhjc.js → git-6mt4s7pc.js} +15 -15
  74. package/dist/chunks/{plugin-axtsvy3b.js → git-6tse523n.js} +23 -23
  75. package/dist/chunks/{plugin-6xb47vfp.js → git-6xb47vfp.js} +1 -1
  76. package/dist/chunks/{plugin-775gj3j1.js → git-775gj3j1.js} +2 -2
  77. package/dist/chunks/{plugin-0n967pfr.js → git-77sc6xgt.js} +12 -12
  78. package/dist/chunks/{plugin-qmqgtz8f.js → git-79qaa2kf.js} +9 -9
  79. package/dist/chunks/{plugin-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{plugin-psx8djs0.js → git-7djggyfs.js} +35 -35
  81. package/dist/chunks/{plugin-9pgz7awh.js → git-7gnyf1a7.js} +11 -11
  82. package/dist/chunks/{plugin-76zjtz6y.js → git-800pf2ey.js} +4 -4
  83. package/dist/chunks/{plugin-jcjr19ha.js → git-80nz7nyq.js} +15 -15
  84. package/dist/chunks/{plugin-nnz4sfre.js → git-80q3tzn0.js} +29 -29
  85. package/dist/chunks/{plugin-n8dmf80y.js → git-85wq36yf.js} +19 -19
  86. package/dist/chunks/{plugin-8m6m0r52.js → git-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{plugin-b7fwenma.js → git-8q7ghtqs.js} +14 -14
  88. package/dist/chunks/{plugin-rkprpv83.js → git-8sze2n9a.js} +6 -6
  89. package/dist/chunks/{plugin-65dpy8e8.js → git-8tvc8s6h.js} +11 -11
  90. package/dist/chunks/{plugin-91qna3x0.js → git-91qna3x0.js} +3 -3
  91. package/dist/chunks/{plugin-4hn7r4aq.js → git-95tq7yv1.js} +87 -87
  92. package/dist/chunks/{plugin-b9a6rnx4.js → git-962642t6.js} +16 -16
  93. package/dist/chunks/{plugin-jzx8nnz7.js → git-9gbtz9hn.js} +40 -40
  94. package/dist/chunks/{plugin-y4f3gyey.js → git-9gjm14vs.js} +32 -32
  95. package/dist/chunks/{plugin-9e459wwm.js → git-9hq9njac.js} +3 -3
  96. package/dist/chunks/{plugin-gj71zhbs.js → git-9hwaqfsw.js} +5 -5
  97. package/dist/chunks/{plugin-qc2xr5vn.js → git-9m3sgeft.js} +16 -16
  98. package/dist/chunks/{plugin-a6nwcm1v.js → git-9rqfmaaw.js} +24 -24
  99. package/dist/chunks/git-9sh4wc5j.js +18 -0
  100. package/dist/chunks/{plugin-34v2gaae.js → git-a1pzv0af.js} +5 -5
  101. package/dist/chunks/{plugin-ncamv2gk.js → git-akmhe6es.js} +10 -10
  102. package/dist/chunks/{plugin-3ycz96fw.js → git-ambchc19.js} +45 -45
  103. package/dist/chunks/{plugin-m9h11jp5.js → git-arnhpe0z.js} +11 -11
  104. package/dist/chunks/{plugin-qhypkphp.js → git-av3rebby.js} +5 -5
  105. package/dist/chunks/{plugin-r12s2pkf.js → git-axe0bz6b.js} +41 -41
  106. package/dist/chunks/{plugin-nj2pe1bb.js → git-axms0aaz.js} +23 -23
  107. package/dist/chunks/{plugin-vhs3hrp3.js → git-az0b5dgs.js} +3 -3
  108. package/dist/chunks/{plugin-mbv8cfzm.js → git-b1rn6ejy.js} +17 -17
  109. package/dist/chunks/{plugin-wecqtg5s.js → git-b3f8fkhc.js} +5 -5
  110. package/dist/chunks/{plugin-8n9ek3cd.js → git-bbnvtmzd.js} +47 -47
  111. package/dist/chunks/{plugin-jkpe6fs8.js → git-bd94ff7m.js} +8 -8
  112. package/dist/chunks/{plugin-9rx6gec5.js → git-bhz85x75.js} +11 -11
  113. package/dist/chunks/{plugin-at6cnqgg.js → git-bjqx3wez.js} +12 -12
  114. package/dist/chunks/{plugin-yvbrqqbd.js → git-bpq8bv7g.js} +75 -75
  115. package/dist/chunks/{plugin-g91r36t6.js → git-bvch94c9.js} +48 -48
  116. package/dist/chunks/{plugin-gp8nj331.js → git-bxr47hc4.js} +11 -11
  117. package/dist/chunks/{plugin-c1fqxshp.js → git-c1fqxshp.js} +3 -3
  118. package/dist/chunks/{plugin-p49zhwnh.js → git-c5jgzh5f.js} +11 -11
  119. package/dist/chunks/{plugin-ed1g29hy.js → git-c7zza6wf.js} +3 -3
  120. package/dist/chunks/{plugin-943y27fv.js → git-ca9ag5jd.js} +13 -13
  121. package/dist/chunks/{plugin-wr1vetpx.js → git-camaazgp.js} +19 -19
  122. package/dist/chunks/{plugin-h7q2t0cx.js → git-cfgt6bdr.js} +17 -17
  123. package/dist/chunks/{plugin-zapp4e73.js → git-cg22jcxb.js} +6 -6
  124. package/dist/chunks/{plugin-xsge8m09.js → git-chy8rxbs.js} +14 -14
  125. package/dist/chunks/{plugin-f6ttj1bj.js → git-cm15zwkz.js} +5 -5
  126. package/dist/chunks/{plugin-6as4620g.js → git-cqa25d74.js} +38 -38
  127. package/dist/chunks/{plugin-z523xhrw.js → git-cr0f5pn5.js} +64 -64
  128. package/dist/chunks/{plugin-qvb3nf84.js → git-ctz7jbry.js} +8 -8
  129. package/dist/chunks/{plugin-h54myh69.js → git-cwa399ss.js} +15 -15
  130. package/dist/chunks/{plugin-bfkfe9e5.js → git-d0nnwg73.js} +6 -6
  131. package/dist/chunks/{plugin-jdbk06km.js → git-d5z54tqc.js} +23 -23
  132. package/dist/chunks/{plugin-64m4zxb7.js → git-d6p1hscb.js} +25 -25
  133. package/dist/chunks/{plugin-2zmfhp2c.js → git-d737nyfv.js} +9 -9
  134. package/dist/chunks/{plugin-embw8kgh.js → git-dhmh7aw6.js} +4 -4
  135. package/dist/chunks/{plugin-dpkg50ah.js → git-dpkg50ah.js} +1 -1
  136. package/dist/chunks/{plugin-dqxsqydv.js → git-dqxsqydv.js} +1 -1
  137. package/dist/chunks/{plugin-tm1yjyv5.js → git-dvzj1xmf.js} +13 -13
  138. package/dist/chunks/{plugin-mhnyy3p3.js → git-dx0ahrbs.js} +11 -11
  139. package/dist/chunks/{plugin-ec80nekf.js → git-dxdsq1ga.js} +49 -49
  140. package/dist/chunks/{plugin-fb9dq6eg.js → git-e16y58tk.js} +24 -24
  141. package/dist/chunks/{plugin-f1yaqp85.js → git-e264yjjw.js} +20 -20
  142. package/dist/chunks/{plugin-5qd3pb7m.js → git-e3qxr5gk.js} +2 -2
  143. package/dist/chunks/{plugin-m8trjked.js → git-e6nbdtth.js} +88 -88
  144. package/dist/chunks/{plugin-ex8d0d7f.js → git-ed0h16fb.js} +19 -19
  145. package/dist/chunks/{plugin-eej6y6fw.js → git-eej6y6fw.js} +2 -2
  146. package/dist/chunks/{plugin-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{plugin-6y38xp4h.js → git-ehxvrac8.js} +13 -13
  148. package/dist/chunks/{plugin-42ay5jgs.js → git-esbhy878.js} +17 -17
  149. package/dist/chunks/{plugin-yb7cwtzt.js → git-esdsw5hn.js} +7 -7
  150. package/dist/chunks/{plugin-dxxsy3ct.js → git-ex36thft.js} +17 -17
  151. package/dist/chunks/{plugin-cmwkp3r5.js → git-eys57y9b.js} +8 -8
  152. package/dist/chunks/{plugin-mvbbpzvj.js → git-f4yxj0vv.js} +12 -12
  153. package/dist/chunks/{plugin-vnd13mft.js → git-fanhrq7d.js} +10 -10
  154. package/dist/chunks/{plugin-0jehgdv5.js → git-fb77j2tq.js} +56 -56
  155. package/dist/chunks/{plugin-cf0g1xq1.js → git-fbft5n7v.js} +30 -30
  156. package/dist/chunks/{plugin-q44ptrk9.js → git-fpgxzyw5.js} +22 -22
  157. package/dist/chunks/{plugin-khmqacep.js → git-fxaymqdw.js} +4 -4
  158. package/dist/chunks/{plugin-11g6kjth.js → git-fy3mehht.js} +3 -3
  159. package/dist/chunks/{plugin-q2ft1v5t.js → git-fzmbt9me.js} +1 -1
  160. package/dist/chunks/{plugin-qpt87nk1.js → git-g6gm77cp.js} +8 -8
  161. package/dist/chunks/{plugin-f1ww2tp3.js → git-gb7d80af.js} +9 -9
  162. package/dist/chunks/{plugin-y97hy3kz.js → git-gbh65n66.js} +4 -4
  163. package/dist/chunks/{plugin-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{plugin-2w0n85qp.js → git-gnbgkv9z.js} +5 -5
  165. package/dist/chunks/{plugin-zg9s2y56.js → git-h0eapdxh.js} +5 -5
  166. package/dist/chunks/{plugin-s7hww54q.js → git-h5p5sqw4.js} +3 -3
  167. package/dist/chunks/{plugin-166bsdxa.js → git-h64syw7g.js} +17 -17
  168. package/dist/chunks/{plugin-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{plugin-h7s7r6s9.js → git-h7s7r6s9.js} +2 -2
  170. package/dist/chunks/{plugin-hdgfnxpe.js → git-h8hrp1zc.js} +4 -4
  171. package/dist/chunks/{plugin-gwaf4cyv.js → git-hfbyhya8.js} +9 -9
  172. package/dist/chunks/{plugin-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
  173. package/dist/chunks/{plugin-70ryb81f.js → git-hpchzyjw.js} +1 -1
  174. package/dist/chunks/{plugin-veq9sz3k.js → git-hyqew7s4.js} +9 -9
  175. package/dist/chunks/{plugin-72f103a9.js → git-hz1jhskc.js} +10 -10
  176. package/dist/chunks/{plugin-t68945m5.js → git-hzn12ym2.js} +11 -11
  177. package/dist/chunks/{plugin-pn5hpnbk.js → git-j1441nnn.js} +11 -11
  178. package/dist/chunks/{plugin-25reggrk.js → git-j23xp3rg.js} +12 -12
  179. package/dist/chunks/{plugin-bczx5ry5.js → git-jhdf29st.js} +1 -1
  180. package/dist/chunks/{plugin-v9n95cje.js → git-jtcm6ah7.js} +21 -21
  181. package/dist/chunks/{plugin-5wzt2w6k.js → git-jwvm7gej.js} +5 -5
  182. package/dist/chunks/{plugin-5r7qkw8x.js → git-k02bsv5j.js} +34 -34
  183. package/dist/chunks/{plugin-vg2fbwzv.js → git-ka537s8x.js} +17 -17
  184. package/dist/chunks/{plugin-2d02mysb.js → git-kg0qcfxc.js} +13 -13
  185. package/dist/chunks/{plugin-jh2rwbgg.js → git-kg5y8km3.js} +29 -29
  186. package/dist/chunks/{plugin-dssbfrwz.js → git-kjdm35cs.js} +5 -5
  187. package/dist/chunks/{plugin-qkzd03sv.js → git-kjzp4feh.js} +50 -50
  188. package/dist/chunks/{plugin-mm5d3bq9.js → git-m1y5bjyb.js} +20 -20
  189. package/dist/chunks/{plugin-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{plugin-maspj1v3.js → git-maspj1v3.js} +1 -1
  191. package/dist/chunks/{plugin-m28yxvt4.js → git-mhprw537.js} +3 -3
  192. package/dist/chunks/{plugin-ermxvwhp.js → git-n2srvep7.js} +4 -4
  193. package/dist/chunks/{plugin-yd8kactt.js → git-n6mj5fd0.js} +9 -9
  194. package/dist/chunks/{plugin-c9j38zf0.js → git-ngwpesc0.js} +29 -29
  195. package/dist/chunks/{plugin-6sc87y7t.js → git-nk04yc8p.js} +20 -20
  196. package/dist/chunks/{plugin-axzaxnwr.js → git-nmc4rv8c.js} +33 -33
  197. package/dist/chunks/{plugin-q3f8x3eg.js → git-nmg59fc6.js} +11 -11
  198. package/dist/chunks/{plugin-xn38nny7.js → git-nz760qet.js} +22 -22
  199. package/dist/chunks/{plugin-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{plugin-pknna89w.js → git-pknna89w.js} +1 -1
  201. package/dist/chunks/{plugin-xd7bx4aa.js → git-pm8e59zn.js} +5 -5
  202. package/dist/chunks/{plugin-a8kk07a6.js → git-pppx0110.js} +4 -4
  203. package/dist/chunks/{plugin-zkwkf0sq.js → git-ppy949mp.js} +8 -8
  204. package/dist/chunks/{plugin-2dfe1jxq.js → git-q0d6zxbh.js} +17 -17
  205. package/dist/chunks/{plugin-x3caeb7b.js → git-q4kb9483.js} +11 -11
  206. package/dist/chunks/{plugin-ncns5cw1.js → git-q52nff5p.js} +22 -22
  207. package/dist/chunks/{plugin-mt9gqjb6.js → git-qa2ngjj1.js} +10 -10
  208. package/dist/chunks/{plugin-kmdd9nyy.js → git-qfb2n6w8.js} +4 -4
  209. package/dist/chunks/{plugin-fx8dwygt.js → git-qkc9yjvc.js} +27 -27
  210. package/dist/chunks/{plugin-qnc92qwc.js → git-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{plugin-qkjbq03w.js → git-qpbqb2nr.js} +26 -26
  212. package/dist/chunks/{plugin-qsdy395h.js → git-qsdy395h.js} +1 -1
  213. package/dist/chunks/{plugin-yxxts3mr.js → git-qsy2hnp3.js} +10 -10
  214. package/dist/chunks/{plugin-tm4k6dcn.js → git-qx7s22zk.js} +25 -25
  215. package/dist/chunks/{plugin-xrde48z0.js → git-r73gxetb.js} +10 -10
  216. package/dist/chunks/{plugin-wqkdx1qs.js → git-ra5e1p3e.js} +41 -34
  217. package/dist/chunks/{plugin-p9xx7aaf.js → git-rb4mbqq0.js} +15 -15
  218. package/dist/chunks/{plugin-es1byx0t.js → git-rda2qpa7.js} +5 -5
  219. package/dist/chunks/{plugin-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{plugin-rert0e01.js → git-rert0e01.js} +2 -2
  221. package/dist/chunks/{plugin-rj3eygr5.js → git-rj3eygr5.js} +2 -2
  222. package/dist/chunks/{plugin-8kps46xt.js → git-rjw0cna6.js} +10 -10
  223. package/dist/chunks/{plugin-g0y94j8t.js → git-s2qn355b.js} +20 -20
  224. package/dist/chunks/{plugin-nekdctqt.js → git-s7a7q68w.js} +8 -8
  225. package/dist/chunks/git-s8xv3ahs.js +253 -0
  226. package/dist/chunks/{plugin-sa8ekw3f.js → git-sa8ekw3f.js} +2 -2
  227. package/dist/chunks/{plugin-8zmyac9e.js → git-saft7jqm.js} +7 -7
  228. package/dist/chunks/{plugin-76jehvgd.js → git-sg6pmba3.js} +11 -11
  229. package/dist/chunks/{plugin-syv4x271.js → git-syv4x271.js} +1 -1
  230. package/dist/chunks/{plugin-jyj7y325.js → git-szsx7q7s.js} +22 -22
  231. package/dist/chunks/{plugin-ypb9vdcg.js → git-t2qr8xwz.js} +11 -11
  232. package/dist/chunks/{plugin-mjrf89bs.js → git-tapzf8fe.js} +9 -9
  233. package/dist/chunks/{plugin-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{plugin-tcay1cqt.js → git-tcay1cqt.js} +1 -1
  235. package/dist/chunks/{plugin-x93d2f58.js → git-tcd7y0pj.js} +3 -3
  236. package/dist/chunks/{plugin-tcezcvh9.js → git-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{plugin-tdstcens.js → git-tdstcens.js} +1 -1
  238. package/dist/chunks/{plugin-w4shdfkj.js → git-tjztzgd5.js} +9 -9
  239. package/dist/chunks/{plugin-pbfwh0cy.js → git-tkmwgdpd.js} +4 -4
  240. package/dist/chunks/{plugin-tm0kqsz3.js → git-tm0kqsz3.js} +1 -1
  241. package/dist/chunks/{plugin-s88wxxkr.js → git-tq54tggv.js} +23 -23
  242. package/dist/chunks/{plugin-e66rzxa6.js → git-tqpy3vfr.js} +24 -24
  243. package/dist/chunks/{plugin-7gdmsa8x.js → git-ty3gh6kk.js} +19 -19
  244. package/dist/chunks/{plugin-tyytaxap.js → git-tyytaxap.js} +1 -1
  245. package/dist/chunks/{plugin-1j399k4f.js → git-tz74y624.js} +33 -33
  246. package/dist/chunks/{plugin-r70na3yp.js → git-v1vh7s4p.js} +9 -9
  247. package/dist/chunks/{plugin-69vhaxh5.js → git-v40jhfgv.js} +28 -28
  248. package/dist/chunks/{plugin-35ng7dkh.js → git-v6ghzfeb.js} +5 -5
  249. package/dist/chunks/{plugin-hvese1y0.js → git-v76w5y0p.js} +20 -20
  250. package/dist/chunks/{plugin-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
  251. package/dist/chunks/{plugin-0c4jfy56.js → git-vaz5x21m.js} +189 -189
  252. package/dist/chunks/{plugin-nx6w2p0y.js → git-vbzwagc9.js} +28 -28
  253. package/dist/chunks/{plugin-veqvce7d.js → git-veqvce7d.js} +1 -1
  254. package/dist/chunks/{plugin-qccp0sz8.js → git-vmj9fr13.js} +21 -21
  255. package/dist/chunks/{plugin-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{plugin-qv2kdkkf.js → git-w0tfgnf2.js} +2 -2
  257. package/dist/chunks/{plugin-w1eejvng.js → git-w1eejvng.js} +1 -1
  258. package/dist/chunks/{plugin-epktagms.js → git-w323274d.js} +15 -15
  259. package/dist/chunks/{plugin-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{plugin-bvg9bc88.js → git-w8t6yxk8.js} +13 -13
  261. package/dist/chunks/{plugin-jx200rnq.js → git-wd0vxgyq.js} +18 -18
  262. package/dist/chunks/{plugin-wd87259q.js → git-wd87259q.js} +1 -1
  263. package/dist/chunks/{plugin-wjr9rjd7.js → git-wjr9rjd7.js} +2 -2
  264. package/dist/chunks/{plugin-1phtjabs.js → git-ws3nt8g0.js} +11 -11
  265. package/dist/chunks/git-x0jcc5yc.js +26 -0
  266. package/dist/chunks/{plugin-qsvz8ehe.js → git-x0qfghwr.js} +36 -36
  267. package/dist/chunks/{plugin-gdyt905r.js → git-xdjerwe0.js} +22 -13
  268. package/dist/chunks/{plugin-drwq78ky.js → git-xfkkasph.js} +4 -4
  269. package/dist/chunks/{plugin-had4kgfk.js → git-xvtqr6gp.js} +8 -8
  270. package/dist/chunks/{plugin-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{plugin-7fpzdcmy.js → git-y276d5pa.js} +14 -14
  272. package/dist/chunks/{plugin-ekq67cfd.js → git-y7zsnxq4.js} +4 -4
  273. package/dist/chunks/{plugin-wacjnfxv.js → git-y971thnt.js} +27 -27
  274. package/dist/chunks/{plugin-cbrbxwfw.js → git-yb885tzd.js} +20 -20
  275. package/dist/chunks/{plugin-bsxsb0mx.js → git-yefkbma1.js} +24 -24
  276. package/dist/chunks/{plugin-hfzf8adz.js → git-yjhx1jvs.js} +24 -24
  277. package/dist/chunks/{plugin-f2n192rq.js → git-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{plugin-3m8d8naw.js → git-yssqz2tb.js} +4 -4
  279. package/dist/chunks/{plugin-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{plugin-6tyejpyb.js → git-zeakd07k.js} +43 -43
  281. package/dist/chunks/{plugin-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{plugin-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{plugin-6rm5yzkt.js → git-zy43x3f1.js} +4 -4
  284. package/dist/chunks/{plugin-jjzr8ad4.js → git-zz7jnkzn.js} +32 -32
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +362 -362
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +88 -88
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +103 -103
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +1 -1
  452. package/dist/instance.js +355 -355
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +91 -91
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +91 -91
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +109 -109
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +121 -121
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +120 -120
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +92 -92
  558. package/dist/provider.js +103 -103
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +95 -95
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +129 -129
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +215 -215
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +11 -11
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +95 -95
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +120 -120
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +125 -125
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +111 -111
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +120 -120
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +95 -95
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +80 -80
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/plugin-27gwtn1w.js +0 -26
  686. package/dist/chunks/plugin-3cktxgfj.js +0 -253
  687. package/dist/chunks/plugin-jqh9b0xq.js +0 -18
  688. /package/dist/chunks/{plugin-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{plugin-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{plugin-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{plugin-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{plugin-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{plugin-24dcb14g.js → git-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{plugin-2710q6r3.js → git-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{plugin-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{plugin-2bv980vf.js → git-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{plugin-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{plugin-359p4xyc.js → git-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{plugin-3asan66x.js → git-3asan66x.js} +0 -0
  700. /package/dist/chunks/{plugin-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{plugin-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{plugin-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{plugin-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{plugin-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{plugin-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{plugin-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{plugin-53557ph1.js → git-53557ph1.js} +0 -0
  708. /package/dist/chunks/{plugin-550bvhaj.js → git-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{plugin-6prwharc.js → git-6prwharc.js} +0 -0
  710. /package/dist/chunks/{plugin-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{plugin-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{plugin-7m9af43g.js → git-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{plugin-822emrt2.js → git-822emrt2.js} +0 -0
  714. /package/dist/chunks/{plugin-84wd9syh.js → git-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{plugin-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{plugin-8n3pysct.js → git-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{plugin-8wj87zfr.js → git-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{plugin-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{plugin-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{plugin-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{plugin-af5trqkr.js → git-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{plugin-afrmfg78.js → git-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{plugin-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{plugin-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{plugin-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{plugin-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{plugin-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{plugin-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{plugin-d9fn303g.js → git-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{plugin-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{plugin-dajrwvna.js → git-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{plugin-dap0rakb.js → git-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{plugin-df08tz66.js → git-df08tz66.js} +0 -0
  734. /package/dist/chunks/{plugin-dy18nga0.js → git-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{plugin-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{plugin-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{plugin-ec1grn59.js → git-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{plugin-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{plugin-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{plugin-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{plugin-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{plugin-faypxj3z.js → git-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{plugin-fd410y7t.js → git-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{plugin-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{plugin-g86h250q.js → git-g86h250q.js} +0 -0
  746. /package/dist/chunks/{plugin-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{plugin-gftt206x.js → git-gftt206x.js} +0 -0
  748. /package/dist/chunks/{plugin-hcxmzztb.js → git-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{plugin-hk9envan.js → git-hk9envan.js} +0 -0
  750. /package/dist/chunks/{plugin-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{plugin-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{plugin-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{plugin-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{plugin-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{plugin-jze0r7bz.js → git-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{plugin-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{plugin-m18g726c.js → git-m18g726c.js} +0 -0
  758. /package/dist/chunks/{plugin-mp448xyj.js → git-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{plugin-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{plugin-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{plugin-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{plugin-njntx4h6.js → git-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{plugin-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{plugin-pyv0edze.js → git-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{plugin-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{plugin-q74kybfr.js → git-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{plugin-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{plugin-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{plugin-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{plugin-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{plugin-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{plugin-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{plugin-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{plugin-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{plugin-ve7vex1e.js → git-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{plugin-w803qqfp.js → git-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{plugin-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{plugin-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{plugin-wjj7prxr.js → git-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{plugin-wtztk69x.js → git-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{plugin-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{plugin-x61499pn.js → git-x61499pn.js} +0 -0
  783. /package/dist/chunks/{plugin-y44na4kk.js → git-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{plugin-y8f7s663.js → git-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{plugin-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{plugin-ym463w8f.js → git-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{plugin-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{plugin-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID15,
3
- Service72
4
- } from "./plugin-e66rzxa6.js";
2
+ ID10,
3
+ Service69
4
+ } from "./git-tqpy3vfr.js";
5
5
  import {
6
6
  Ref2,
7
- Service58
8
- } from "./plugin-wqkdx1qs.js";
7
+ Service74
8
+ } from "./git-ra5e1p3e.js";
9
9
  import {
10
10
  latest2,
11
- Service43
12
- } from "./plugin-m6jd6t50.js";
11
+ Service57
12
+ } from "./git-6cdy90xd.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./plugin-1xb40zjp.js";
15
+ } from "./git-4a7gy6vj.js";
16
16
  import {
17
- Service53
18
- } from "./plugin-b9a6rnx4.js";
17
+ Service70
18
+ } from "./git-962642t6.js";
19
19
  import {
20
20
  evaluate2,
21
- Service68
22
- } from "./plugin-z523xhrw.js";
21
+ Service51
22
+ } from "./git-cr0f5pn5.js";
23
23
  import {
24
- Service26
25
- } from "./plugin-m8trjked.js";
24
+ Service30
25
+ } from "./git-e6nbdtth.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./plugin-6xb47vfp.js";
28
+ } from "./git-6xb47vfp.js";
29
29
  import {
30
- Service13
31
- } from "./plugin-7gdmsa8x.js";
30
+ Service12
31
+ } from "./git-ty3gh6kk.js";
32
32
  import {
33
33
  __export
34
- } from "./plugin-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: () => Plugin49,
39
+ Input: () => Input4,
40
+ Output: () => Output3,
41
+ Plugin: () => Plugin40,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name12
43
+ description: () => description2,
44
+ name: () => name4
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name12 = "subagent";
48
+ var name4 = "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 Input4 = 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 Output3 = 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 Plugin49 = {
89
+ var Plugin40 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service26;
93
- const jobs = yield* Service53;
94
- const agents = yield* Service72;
95
- const config = yield* Service43;
96
- const permission = yield* Service68;
97
- const models = yield* Service58;
98
- const subagents = yield* Service13;
92
+ const sessions = yield* Service30;
93
+ const jobs = yield* Service70;
94
+ const agents = yield* Service69;
95
+ const config = yield* Service57;
96
+ const permission = yield* Service51;
97
+ const models = yield* Service74;
98
+ const subagents = yield* Service12;
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 Plugin49 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name4,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input12,
122
- output: Output8,
120
+ description: description2,
121
+ input: Input4,
122
+ output: Output3,
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 Plugin49 = {
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: name4,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin49 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID15.make(input.agent),
171
+ agent: ID10.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,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 !== name4 || !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[name4];
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(name4, 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, Plugin49, exports_subagent };
256
+ export { name4, Input4, Output3, description2, Plugin40, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./plugin-6q2bdcd1.js";
3
+ } from "./git-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./plugin-at6cnqgg.js";
2
+ Service81,
3
+ node85
4
+ } from "./git-bjqx3wez.js";
5
5
  import {
6
6
  __export
7
- } from "./plugin-9rqn6x4v.js";
7
+ } from "./git-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event14,
15
+ Event: () => Event21,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID9,
20
- Info: () => Info18,
19
+ ID: () => ID18,
20
+ Info: () => Info29,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError7,
24
- Reply: () => Reply2,
25
- Service: () => Service64,
23
+ NotFoundError: () => NotFoundError11,
24
+ Reply: () => Reply3,
25
+ Service: () => Service80,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node66,
28
+ layer: () => layer27,
29
+ node: () => node84,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event14 } from "@opencode/schema/form";
36
+ import { Event as Event21 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID9 = Form.ID;
39
- var Info18 = Form.Info;
38
+ var ID18 = Form.ID;
39
+ var Info29 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID9
47
+ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID18
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID9
56
+ id: ID18
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID9
64
+ id: ID18
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID9,
72
+ id: ID18,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service64 extends Context.Service()("@opencode/Form") {
82
+ class Service80 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service64, Effect.gen(function* () {
85
- const bus = yield* Service84;
84
+ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
85
+ const bus = yield* Service81;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID9.create();
93
+ const id = input.id ?? ID18.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service64, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service64.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service80.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node66 = makeLocationNode({ service: Service64, layer: layer25, deps: [node88] });
167
+ var node84 = makeLocationNode({ service: Service80, layer: layer27, deps: [node85] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID9, Info18, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service64, layer25, node66, validateAnswer2, validateFields2, exports_form, Event14 };
319
+ export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer27, node84, validateAnswer2, validateFields2, exports_form, Event21 };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./plugin-dpkg50ah.js";
4
- import {
5
- Service84,
6
- node88
7
- } from "./plugin-at6cnqgg.js";
8
- import {
9
- Event15,
10
- Service65,
11
- node67
12
- } from "./plugin-p0g4zz1t.js";
3
+ } from "./git-dpkg50ah.js";
13
4
  import {
14
5
  Service81,
15
6
  node85
16
- } from "./plugin-fkv89xr8.js";
7
+ } from "./git-bjqx3wez.js";
17
8
  import {
9
+ Event20,
18
10
  Service79,
19
- node82
20
- } from "./plugin-8dcxw8q4.js";
11
+ node83
12
+ } from "./git-3pykwxdf.js";
21
13
  import {
22
- ID9,
23
- Service64,
24
- node66
25
- } from "./plugin-34pkmzzj.js";
14
+ Service76,
15
+ node80
16
+ } from "./git-2m90p0f2.js";
17
+ import {
18
+ Service61,
19
+ node63
20
+ } from "./git-2e7f9scb.js";
21
+ import {
22
+ ID18,
23
+ Service80,
24
+ node84
25
+ } from "./git-5q44j617.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./plugin-rdw6cm16.js";
29
+ } from "./git-rdw6cm16.js";
30
30
  import {
31
- ID8,
31
+ ID16,
32
32
  MethodID2,
33
- Service63,
34
- node65
35
- } from "./plugin-pbxzkw8j.js";
33
+ Service78,
34
+ node82
35
+ } from "./git-1426e4tb.js";
36
36
  import {
37
37
  __export
38
- } from "./plugin-9rqn6x4v.js";
38
+ } from "./git-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError5,
45
- Options: () => Options5,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service38,
52
+ Service: () => Service41,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured5,
56
- layer: () => layer18,
57
- node: () => node41
55
+ configured: () => configured4,
56
+ layer: () => layer17,
57
+ node: () => node44
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service38 extends Context.Service()("@opencode/MCP") {
106
+ class Service41 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options5 = Schema.Struct({
108
+ var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
115
- const location = yield* Service81;
116
- const environment = yield* Service79;
117
- const bus = yield* Service84;
118
- const forms = yield* Service64;
119
- const integration = yield* Service63;
120
- const credentials = yield* Service65;
114
+ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
115
+ const location = yield* Service76;
116
+ const environment = yield* Service61;
117
+ const bus = yield* Service81;
118
+ const forms = yield* Service80;
119
+ const integration = yield* Service78;
120
+ const credentials = yield* Service79;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID8.make(suffix);
132
+ const integrationID = ID16.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service65, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -161,12 +161,12 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service65, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID9.create();
169
+ const formID = ID18.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service79, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service61, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer18 = (options) => Layer.effect(Service38, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service38.of({
423
+ return Service41.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured5(options) {
533
+ function configured4(options) {
534
534
  return makeLocationNode({
535
- service: Service38,
536
- layer: layer18(options),
537
- deps: [node85, node82, node88, node66, node65, node67]
535
+ service: Service41,
536
+ layer: layer17(options),
537
+ deps: [node80, node63, node85, node84, node82, node83]
538
538
  });
539
539
  }
540
- var node41 = configured5();
540
+ var node44 = configured4();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer18, configured5, node41, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service41, Options4, layer17, configured4, node44, exports_mcp4 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./plugin-hgz4x7wa.js";
3
+ } from "./git-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./plugin-z5v4ffb3.js";
6
+ } from "./git-z5v4ffb3.js";
7
7
  import {
8
- Service81
9
- } from "./plugin-fkv89xr8.js";
8
+ Service76
9
+ } from "./git-2m90p0f2.js";
10
10
  import {
11
- Service79
12
- } from "./plugin-8dcxw8q4.js";
11
+ Service61
12
+ } from "./git-2e7f9scb.js";
13
13
  import {
14
14
  Service21
15
- } from "./plugin-8kps46xt.js";
15
+ } from "./git-rjw0cna6.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./plugin-czbm6fn4.js";
21
+ } from "./git-2frv8mpr.js";
22
22
  import {
23
- Service68
24
- } from "./plugin-z523xhrw.js";
23
+ Service51
24
+ } from "./git-cr0f5pn5.js";
25
25
  import {
26
- Service15
27
- } from "./plugin-jx200rnq.js";
26
+ Service14
27
+ } from "./git-wd0vxgyq.js";
28
28
  import {
29
29
  __export
30
- } from "./plugin-9rqn6x4v.js";
30
+ } from "./git-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input11,
37
- Output: () => Output7,
38
- Plugin: () => Plugin47,
39
- name: () => name11,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input6,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin42,
39
+ name: () => name6,
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name11 = "glob";
46
- var Input11 = Schema.Struct({
45
+ var name6 = "glob";
46
+ var Input6 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input11 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output7 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output5 = Schema.Array(Entry2);
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin47 = {
66
+ var Plugin42 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service79;
69
+ const environment = yield* Service61;
70
70
  const ripgrep = yield* Service21;
71
- const location = yield* Service81;
72
- const access = yield* Service15;
73
- const permission = yield* Service68;
71
+ const location = yield* Service76;
72
+ const access = yield* Service14;
73
+ const permission = yield* Service51;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name11,
75
+ name: name6,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input11,
79
- output: Output7,
78
+ input: Input6,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name11,
86
+ action: name6,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin47 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name11, Input11, Output7, toModelContent6, Plugin47, exports_glob };
128
+ export { name6, Input6, Output5, toModelContent5, Plugin42, exports_glob };