@opencode/core 0.0.0-dev-19677 → 0.0.0-dev-19679

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{command-km6ktv04.js → formatter-01ydztrv.js} +6 -6
  8. package/dist/chunks/{command-8phwd4yj.js → formatter-02y3xw2c.js} +14 -6
  9. package/dist/chunks/{command-khnzgmt2.js → formatter-04s09f7r.js} +22 -22
  10. package/dist/chunks/{command-06dxphr1.js → formatter-06dxphr1.js} +1 -1
  11. package/dist/chunks/{command-30bm9ajm.js → formatter-0hqwafz3.js} +17 -17
  12. package/dist/chunks/{command-9hcft21q.js → formatter-0keqgn7s.js} +6 -6
  13. package/dist/chunks/{command-j4d74nk7.js → formatter-0nbseank.js} +38 -38
  14. package/dist/chunks/{command-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{command-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{command-0qescp40.js → formatter-10fvk495.js} +1 -1
  17. package/dist/chunks/{command-yy3gmdz3.js → formatter-1109kv5r.js} +8 -8
  18. package/dist/chunks/{command-73tb2d7t.js → formatter-1bbkgx8g.js} +3 -3
  19. package/dist/chunks/{command-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{command-td2jtkpf.js → formatter-1dbrqace.js} +16 -16
  21. package/dist/chunks/{command-m728j35j.js → formatter-1dhhxh6a.js} +10 -10
  22. package/dist/chunks/{command-c89895qa.js → formatter-1qs9yxn9.js} +20 -20
  23. package/dist/chunks/{command-7hj3xbrc.js → formatter-1xp9teg7.js} +21 -21
  24. package/dist/chunks/{command-21r38tys.js → formatter-21r38tys.js} +1 -1
  25. package/dist/chunks/{command-yaf95dqt.js → formatter-22jekang.js} +11 -11
  26. package/dist/chunks/{command-10jtetaj.js → formatter-23sxaqwc.js} +6 -6
  27. package/dist/chunks/{command-2402vzrj.js → formatter-2402vzrj.js} +1 -1
  28. package/dist/chunks/{command-t23rfjnq.js → formatter-25n9xza4.js} +8 -8
  29. package/dist/chunks/{command-akdr1yx1.js → formatter-28gebyhq.js} +9 -9
  30. package/dist/chunks/{command-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{command-2sgz0h5a.js → formatter-2bp2agkf.js} +17 -17
  32. package/dist/chunks/{command-7p3xftwe.js → formatter-2ehxpneg.js} +12 -12
  33. package/dist/chunks/{command-g8jasmdt.js → formatter-2ekhvkds.js} +8 -8
  34. package/dist/chunks/{command-162dzd26.js → formatter-2jbrsabm.js} +12 -12
  35. package/dist/chunks/{command-3h2szgxz.js → formatter-2q231by8.js} +6 -6
  36. package/dist/chunks/{command-467dymen.js → formatter-2s9cgapc.js} +18 -18
  37. package/dist/chunks/{command-x0dfaghg.js → formatter-2v8ddz2e.js} +13 -13
  38. package/dist/chunks/{command-wmqsncpr.js → formatter-2wjkk1n7.js} +12 -12
  39. package/dist/chunks/{command-53tjwt9g.js → formatter-2y39epze.js} +47 -47
  40. package/dist/chunks/{command-h3kwk8y9.js → formatter-33m53xa8.js} +7 -7
  41. package/dist/chunks/{command-0t3f5f2j.js → formatter-37gmwthz.js} +28 -28
  42. package/dist/chunks/{command-cy3cnjq8.js → formatter-388hykv8.js} +4 -4
  43. package/dist/chunks/{command-tfdat96q.js → formatter-3by05310.js} +9 -9
  44. package/dist/chunks/{command-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
  45. package/dist/chunks/formatter-3fd9tgbe.js +26 -0
  46. package/dist/chunks/{command-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{command-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{command-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{command-0vgngd9g.js → formatter-42wacjv5.js} +23 -23
  50. package/dist/chunks/{command-840wgd2q.js → formatter-43qxnbwp.js} +24 -24
  51. package/dist/chunks/{command-bxvsvvek.js → formatter-44ck3ba6.js} +11 -11
  52. package/dist/chunks/{command-bja92bag.js → formatter-46eaec1k.js} +15 -15
  53. package/dist/chunks/{command-h9r75fxg.js → formatter-48tpvksp.js} +1 -1
  54. package/dist/chunks/{command-kfep38wt.js → formatter-4dtgeqyn.js} +35 -35
  55. package/dist/chunks/{command-s86fxarf.js → formatter-4j981g0a.js} +22 -22
  56. package/dist/chunks/{command-xd79hgjq.js → formatter-4jtqadht.js} +15 -15
  57. package/dist/chunks/formatter-4v7qdvcn.js +18 -0
  58. package/dist/chunks/{command-fza673sd.js → formatter-4y21hyzt.js} +8 -8
  59. package/dist/chunks/{command-84q2vxed.js → formatter-56hxrh5a.js} +33 -33
  60. package/dist/chunks/{command-a1bz86dw.js → formatter-5c4hm403.js} +3 -3
  61. package/dist/chunks/{command-5daktx2q.js → formatter-5daktx2q.js} +1 -1
  62. package/dist/chunks/{command-tcy8tav0.js → formatter-5e66gv88.js} +5 -5
  63. package/dist/chunks/{command-0v94nfhm.js → formatter-5hytmrsx.js} +9 -9
  64. package/dist/chunks/{command-0gbtp71g.js → formatter-5rty2w29.js} +29 -29
  65. package/dist/chunks/{command-3w0fmcng.js → formatter-5sj81wm5.js} +5 -5
  66. package/dist/chunks/{command-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{command-669tq793.js → formatter-669tq793.js} +1 -1
  68. package/dist/chunks/{command-b2aemhvb.js → formatter-6b3h3gt4.js} +15 -15
  69. package/dist/chunks/{command-qnga3n65.js → formatter-6cdjkj9y.js} +18 -18
  70. package/dist/chunks/{command-69a0df8h.js → formatter-6d6b60sb.js} +16 -16
  71. package/dist/chunks/{command-ecywet7n.js → formatter-6j251myq.js} +33 -33
  72. package/dist/chunks/{command-46pvzydw.js → formatter-6kcgkr6d.js} +21 -21
  73. package/dist/chunks/formatter-6kdq0pjd.js +4 -0
  74. package/dist/chunks/{command-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{command-1qsftg3h.js → formatter-6t5jxagc.js} +32 -32
  76. package/dist/chunks/{command-9fzyx5wt.js → formatter-6w0wg9jg.js} +1 -1
  77. package/dist/chunks/{command-mx4gtjsx.js → formatter-6x0kyrqv.js} +20 -20
  78. package/dist/chunks/{command-7d93j08s.js → formatter-71cb39j6.js} +11 -11
  79. package/dist/chunks/{command-dfzezczs.js → formatter-75qmyhmw.js} +1 -1
  80. package/dist/chunks/{command-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{command-n9gqnw48.js → formatter-7cw71xqv.js} +27 -27
  82. package/dist/chunks/{command-cykmh698.js → formatter-7p0g7677.js} +20 -20
  83. package/dist/chunks/{command-q68zbz63.js → formatter-7pxwp1dg.js} +14 -14
  84. package/dist/chunks/{command-9g3kc011.js → formatter-7q799ka0.js} +12 -12
  85. package/dist/chunks/{command-vry016k2.js → formatter-7trhxpej.js} +17 -17
  86. package/dist/chunks/{command-2zsjkq9g.js → formatter-7wz8p787.js} +23 -23
  87. package/dist/chunks/{command-bajakh74.js → formatter-89smrnyf.js} +4 -4
  88. package/dist/chunks/{command-wbhg106y.js → formatter-8afez20c.js} +22 -22
  89. package/dist/chunks/{command-hy1f76q1.js → formatter-8b0a6wbp.js} +4 -4
  90. package/dist/chunks/{command-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{command-gw8w5vjt.js → formatter-91f2smre.js} +28 -28
  92. package/dist/chunks/{command-rqz3bkzt.js → formatter-971wwt9m.js} +14 -14
  93. package/dist/chunks/{command-e2a7kn3r.js → formatter-9an9dexz.js} +36 -36
  94. package/dist/chunks/{command-ytvz0vpx.js → formatter-9hva4mkp.js} +23 -23
  95. package/dist/chunks/{command-g97kwpg6.js → formatter-9hwxgnfb.js} +43 -43
  96. package/dist/chunks/{command-m8hf639e.js → formatter-9tpme7yj.js} +5 -5
  97. package/dist/chunks/{command-68wccpr5.js → formatter-9ym8bn3r.js} +25 -25
  98. package/dist/chunks/{command-ky3seynh.js → formatter-a3r4dcrj.js} +2 -2
  99. package/dist/chunks/{command-p7kdkvkh.js → formatter-aa5rtnrq.js} +22 -22
  100. package/dist/chunks/{command-aaet6srn.js → formatter-aaet6srn.js} +2 -2
  101. package/dist/chunks/{command-3pzavtjr.js → formatter-ah3dvs9v.js} +18 -18
  102. package/dist/chunks/{command-sgve36kw.js → formatter-ahhxn4qe.js} +131 -131
  103. package/dist/chunks/{command-9pj1fj9p.js → formatter-azkvshmx.js} +13 -13
  104. package/dist/chunks/{command-7q2zmtmd.js → formatter-b4h2tax8.js} +13 -13
  105. package/dist/chunks/{command-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{command-4dgbcxzg.js → formatter-bc5edygd.js} +4 -4
  107. package/dist/chunks/{command-q1hc292q.js → formatter-by1yxwyh.js} +11 -11
  108. package/dist/chunks/{command-d1sy02nx.js → formatter-by9thqa4.js} +27 -27
  109. package/dist/chunks/{command-bz85s9hh.js → formatter-bz85s9hh.js} +1 -1
  110. package/dist/chunks/{command-kzm1fy32.js → formatter-c06p2a9p.js} +14 -14
  111. package/dist/chunks/{command-z9kmesag.js → formatter-c3yw71c8.js} +41 -41
  112. package/dist/chunks/{command-k6zsgamj.js → formatter-cb8q5ez7.js} +8 -8
  113. package/dist/chunks/{command-1sjdykg9.js → formatter-cstgxdmc.js} +19 -19
  114. package/dist/chunks/{command-r2m716tb.js → formatter-cwa6csj7.js} +9 -9
  115. package/dist/chunks/{command-jv9wq4h1.js → formatter-d0w96wb4.js} +9 -9
  116. package/dist/chunks/{command-fdv30zvt.js → formatter-d216944b.js} +4 -4
  117. package/dist/chunks/{command-57ez7d0k.js → formatter-d9s573fh.js} +2 -2
  118. package/dist/chunks/{command-a1a50ys5.js → formatter-ddj0ymwc.js} +5 -5
  119. package/dist/chunks/{command-hatahbqr.js → formatter-df85982r.js} +22 -22
  120. package/dist/chunks/{command-8p4f9s12.js → formatter-dj2t23y0.js} +2 -2
  121. package/dist/chunks/{command-ahh5tn9t.js → formatter-dk9xar0x.js} +6 -6
  122. package/dist/chunks/{command-zam46q7w.js → formatter-dks2a8hp.js} +11 -11
  123. package/dist/chunks/{command-y71avatq.js → formatter-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{command-5mffgv55.js → formatter-dppk487s.js} +2 -2
  125. package/dist/chunks/{command-qj8dptrs.js → formatter-dt2dr06x.js} +40 -40
  126. package/dist/chunks/{command-kwqsq9eb.js → formatter-dx71f7x8.js} +1 -1
  127. package/dist/chunks/{command-8977mvv6.js → formatter-e3gxvnwd.js} +11 -11
  128. package/dist/chunks/{command-1w4m95ye.js → formatter-e3nv3mr8.js} +2 -2
  129. package/dist/chunks/{command-zr1jw1p3.js → formatter-e4myhat6.js} +28 -28
  130. package/dist/chunks/{command-9r15s34d.js → formatter-edbfpfck.js} +5 -5
  131. package/dist/chunks/{command-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{command-c18bwgtt.js → formatter-ep6xqv6h.js} +28 -28
  133. package/dist/chunks/{command-dy775f0c.js → formatter-ep9bxrrg.js} +11 -11
  134. package/dist/chunks/{command-4w1whx26.js → formatter-epe270ka.js} +4 -4
  135. package/dist/chunks/{command-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{command-e3bagrz8.js → formatter-f0hsp6qy.js} +3 -3
  137. package/dist/chunks/{command-4sbvrcej.js → formatter-f2gznfg6.js} +20 -20
  138. package/dist/chunks/{command-cavr175a.js → formatter-f3ngv102.js} +4 -4
  139. package/dist/chunks/{command-zgsp9d7f.js → formatter-fcj0t6bh.js} +33 -33
  140. package/dist/chunks/{command-zveb96hb.js → formatter-fh02q7y7.js} +34 -34
  141. package/dist/chunks/{command-stnkqxxq.js → formatter-fj6s2ck6.js} +13 -13
  142. package/dist/chunks/{command-qa89xvga.js → formatter-fnxj8cpf.js} +47 -47
  143. package/dist/chunks/{command-hjm0k3fp.js → formatter-fqjmww7h.js} +2 -2
  144. package/dist/chunks/{command-w2xdsg80.js → formatter-fty4b77f.js} +19 -19
  145. package/dist/chunks/{command-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{command-9hn6k4tm.js → formatter-g0445xdp.js} +8 -8
  147. package/dist/chunks/{command-9y0w708y.js → formatter-g1sxm558.js} +8 -8
  148. package/dist/chunks/{command-dsk9gyby.js → formatter-g3vrdx9d.js} +6 -6
  149. package/dist/chunks/{command-xnq8y3wp.js → formatter-g82k96ka.js} +10 -10
  150. package/dist/chunks/{command-e01edj6k.js → formatter-g9es1mvw.js} +37 -37
  151. package/dist/chunks/{command-7wxbqxph.js → formatter-gcaxjv0p.js} +23 -23
  152. package/dist/chunks/{command-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{command-ek5xzf05.js → formatter-gdhk03s2.js} +28 -28
  154. package/dist/chunks/{command-h5m7e0fe.js → formatter-gffqj91w.js} +9 -9
  155. package/dist/chunks/{command-41h8t21e.js → formatter-ggx4p1yv.js} +8 -8
  156. package/dist/chunks/{command-96hc392c.js → formatter-grqs2tes.js} +6 -6
  157. package/dist/chunks/{command-h03wrkyp.js → formatter-h03wrkyp.js} +2 -2
  158. package/dist/chunks/{command-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{command-n2jgbhgk.js → formatter-ha1jzck9.js} +11 -11
  160. package/dist/chunks/{command-f828m53h.js → formatter-hdnk95c8.js} +2 -2
  161. package/dist/chunks/{command-f6jpff70.js → formatter-hma0brmp.js} +19 -19
  162. package/dist/chunks/{command-s57hh4xa.js → formatter-hmjxenbv.js} +65 -65
  163. package/dist/chunks/{command-7wdpv7yx.js → formatter-hn961kdb.js} +16 -16
  164. package/dist/chunks/{command-qnt9sasj.js → formatter-j047qggn.js} +8 -8
  165. package/dist/chunks/{command-j56e64zr.js → formatter-j56e64zr.js} +1 -1
  166. package/dist/chunks/{command-0rbej475.js → formatter-j709rff9.js} +18 -18
  167. package/dist/chunks/{command-xxynqx5z.js → formatter-jexxy024.js} +2 -2
  168. package/dist/chunks/{command-4d8evfpc.js → formatter-jh28hxeq.js} +8 -8
  169. package/dist/chunks/{command-xw6050bm.js → formatter-jj4jbhde.js} +14 -14
  170. package/dist/chunks/{command-6xmmm4dq.js → formatter-jnhwxhat.js} +15 -15
  171. package/dist/chunks/{command-jppvw2tx.js → formatter-jppvw2tx.js} +2 -2
  172. package/dist/chunks/{command-pka3f0bn.js → formatter-jq4q8xt0.js} +26 -26
  173. package/dist/chunks/{command-205fktxw.js → formatter-jq7wke7q.js} +13 -13
  174. package/dist/chunks/formatter-jtgn3q85.js +247 -0
  175. package/dist/chunks/{command-2ehyz9hr.js → formatter-jxb34sm7.js} +8 -8
  176. package/dist/chunks/{command-zch60zmd.js → formatter-k64qd7k1.js} +13 -13
  177. package/dist/chunks/{command-knb7evpn.js → formatter-k9kj6xed.js} +6 -6
  178. package/dist/chunks/{command-2s9v5q2j.js → formatter-kmq5vwh3.js} +17 -17
  179. package/dist/chunks/{command-gfcakcdp.js → formatter-knyxj63x.js} +3 -3
  180. package/dist/chunks/{command-at45qxm4.js → formatter-ksfgtg35.js} +2 -2
  181. package/dist/chunks/{command-xf7eefbk.js → formatter-kxxzm7f4.js} +9 -9
  182. package/dist/chunks/{command-cnkwk6vd.js → formatter-kzcnx9w5.js} +13 -13
  183. package/dist/chunks/{command-cfpkc3c9.js → formatter-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/formatter-m3fdjcah.js +46 -0
  185. package/dist/chunks/{command-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{command-2277p7za.js → formatter-ma8xfq73.js} +3 -3
  187. package/dist/chunks/{command-b7td26qf.js → formatter-mdr6zn1s.js} +9 -9
  188. package/dist/chunks/{command-4dq01fp5.js → formatter-mff9swar.js} +8 -8
  189. package/dist/chunks/{command-1ygqh575.js → formatter-mfqp6xfm.js} +6 -6
  190. package/dist/chunks/{command-rhafb4aa.js → formatter-mvn2r3z4.js} +5 -5
  191. package/dist/chunks/{command-eeq2162a.js → formatter-mx0xbf1r.js} +74 -74
  192. package/dist/chunks/{command-tqxxrrwb.js → formatter-myfcz0dp.js} +30 -30
  193. package/dist/chunks/{command-nwkv3axv.js → formatter-mzn8y9kv.js} +3 -3
  194. package/dist/chunks/{command-p04t4jyd.js → formatter-n1c2f0d1.js} +5 -5
  195. package/dist/chunks/{command-5vcsb3kk.js → formatter-n57ktpxf.js} +32 -32
  196. package/dist/chunks/{command-p5t2wdxk.js → formatter-n57v3773.js} +11 -11
  197. package/dist/chunks/{command-dmajge55.js → formatter-n7etp4gz.js} +31 -31
  198. package/dist/chunks/{command-xmzstg3h.js → formatter-nap6yjmm.js} +7 -7
  199. package/dist/chunks/{command-r7fwjr8e.js → formatter-ntv95gx3.js} +47 -47
  200. package/dist/chunks/{command-d24a1m55.js → formatter-nvzpyqmz.js} +11 -11
  201. package/dist/chunks/{command-bbzxkx14.js → formatter-nzh65d8p.js} +32 -32
  202. package/dist/chunks/{command-tbvzjzzt.js → formatter-p8yn6kww.js} +41 -41
  203. package/dist/chunks/{command-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{command-pknna89w.js → formatter-pknna89w.js} +1 -1
  205. package/dist/chunks/{command-8a8wdyzn.js → formatter-pvrwh8gf.js} +11 -11
  206. package/dist/chunks/{command-q5asdkn4.js → formatter-q5asdkn4.js} +1 -1
  207. package/dist/chunks/{command-sj80jspt.js → formatter-qfrpe6h6.js} +33 -33
  208. package/dist/chunks/{command-6yyja3sr.js → formatter-qfwtn752.js} +9 -9
  209. package/dist/chunks/{command-0jwsre1p.js → formatter-qgn6gcr1.js} +5 -5
  210. package/dist/chunks/{command-qhvr2jea.js → formatter-qhvr2jea.js} +1 -1
  211. package/dist/chunks/{command-45j2k0pw.js → formatter-qj75ppkt.js} +18 -18
  212. package/dist/chunks/{command-wmnva1mv.js → formatter-qmt2fwsc.js} +3 -3
  213. package/dist/chunks/{command-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  214. package/dist/chunks/{command-h9ammvhv.js → formatter-qybgqjrq.js} +22 -22
  215. package/dist/chunks/{command-wpsghzwe.js → formatter-r51a36wh.js} +21 -21
  216. package/dist/chunks/{command-fdms3n6w.js → formatter-r9w3djhf.js} +9 -9
  217. package/dist/chunks/{command-seydkqn5.js → formatter-rbf7yj9j.js} +8 -8
  218. package/dist/chunks/{command-n8fcz8br.js → formatter-rby1t0fa.js} +5 -5
  219. package/dist/chunks/{command-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{command-tk1ghjnq.js → formatter-re6cm9q5.js} +3 -3
  221. package/dist/chunks/{command-yp2x3t23.js → formatter-rhraev7y.js} +4 -4
  222. package/dist/chunks/{command-y8nmaz64.js → formatter-rph3zd4r.js} +6 -6
  223. package/dist/chunks/{command-zeh9ct20.js → formatter-rq775frq.js} +2 -2
  224. package/dist/chunks/{command-4jv5ref6.js → formatter-rtvjmksn.js} +84 -84
  225. package/dist/chunks/{command-rre36xp5.js → formatter-rwq4n5b8.js} +15 -15
  226. package/dist/chunks/{command-v10a7mjz.js → formatter-s6z6n115.js} +29 -29
  227. package/dist/chunks/{command-t550f9t1.js → formatter-s8d7rejh.js} +4 -4
  228. package/dist/chunks/{command-1jzmnccz.js → formatter-shf17fbc.js} +8 -8
  229. package/dist/chunks/{command-mrwc1hpc.js → formatter-smtr1fa8.js} +8 -8
  230. package/dist/chunks/{command-12fr5h43.js → formatter-spqgqf9x.js} +4 -4
  231. package/dist/chunks/{command-wd5s8d9s.js → formatter-src3dmgd.js} +34 -34
  232. package/dist/chunks/{command-cq2x0peb.js → formatter-swb3rex7.js} +4 -4
  233. package/dist/chunks/{command-yjptyezs.js → formatter-t3swkhbg.js} +5 -5
  234. package/dist/chunks/{command-ez8ghmhr.js → formatter-t58pgdm3.js} +10 -10
  235. package/dist/chunks/{command-24k4k4wx.js → formatter-t64as4t3.js} +23 -23
  236. package/dist/chunks/{command-zk8c4w5t.js → formatter-t71v2ka4.js} +5 -5
  237. package/dist/chunks/{command-vzjsab6x.js → formatter-t9q5kvj9.js} +14 -14
  238. package/dist/chunks/{command-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{command-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{command-tdstcens.js → formatter-tdstcens.js} +1 -1
  241. package/dist/chunks/{command-666pnfkr.js → formatter-tmcync46.js} +14 -14
  242. package/dist/chunks/{command-wevghkec.js → formatter-ts5zcp8n.js} +24 -24
  243. package/dist/chunks/{command-tvtrv512.js → formatter-tvtrv512.js} +1 -1
  244. package/dist/chunks/{command-7v69ty2b.js → formatter-txdz6xps.js} +25 -25
  245. package/dist/chunks/{command-1v7c51ma.js → formatter-v4y50nk3.js} +14 -14
  246. package/dist/chunks/{command-ha607pgt.js → formatter-v76by4bg.js} +6 -6
  247. package/dist/chunks/{command-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  248. package/dist/chunks/{command-5q02cxx3.js → formatter-vncycja5.js} +4 -4
  249. package/dist/chunks/{command-j7qr8k9e.js → formatter-vs7hrzt9.js} +11 -11
  250. package/dist/chunks/{command-zeays675.js → formatter-vwjphj0g.js} +17 -17
  251. package/dist/chunks/{command-wpxh4773.js → formatter-vxm0nypn.js} +25 -25
  252. package/dist/chunks/{command-9s6fqtph.js → formatter-vyff70sc.js} +309 -309
  253. package/dist/chunks/{command-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{command-7262bdbz.js → formatter-w1jtwn81.js} +13 -13
  255. package/dist/chunks/{command-1hpee78n.js → formatter-w3e0d9m6.js} +12 -12
  256. package/dist/chunks/{command-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{command-69j91c1q.js → formatter-w3x9v1nk.js} +8 -8
  258. package/dist/chunks/{command-wd87259q.js → formatter-wd87259q.js} +1 -1
  259. package/dist/chunks/{command-ghzty3dd.js → formatter-wwr3bxnb.js} +24 -24
  260. package/dist/chunks/{command-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{command-b9g9100q.js → formatter-x1xvj5zf.js} +2 -2
  262. package/dist/chunks/{command-rqr91q1p.js → formatter-xbr6rbgj.js} +26 -26
  263. package/dist/chunks/{command-drwq78ky.js → formatter-xfkkasph.js} +4 -4
  264. package/dist/chunks/{command-zmnepbn3.js → formatter-xzwtfmxp.js} +7 -7
  265. package/dist/chunks/{command-9r59gk3z.js → formatter-y0rszavt.js} +6 -6
  266. package/dist/chunks/{command-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{command-7htbj526.js → formatter-y211r34z.js} +22 -22
  268. package/dist/chunks/{command-c492wyyq.js → formatter-y59evk2k.js} +9 -9
  269. package/dist/chunks/{command-rc7jd0ep.js → formatter-y8bg2ghp.js} +11 -11
  270. package/dist/chunks/{command-wtvb9gzx.js → formatter-yac9wp7m.js} +9 -9
  271. package/dist/chunks/{command-wxffcvth.js → formatter-ybhbtxjg.js} +3 -3
  272. package/dist/chunks/{command-9esbgk1q.js → formatter-ykdp11k0.js} +4 -4
  273. package/dist/chunks/{command-w9037jm3.js → formatter-yqqzveaj.js} +31 -31
  274. package/dist/chunks/{command-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{command-yrznvahk.js → formatter-yrznvahk.js} +2 -2
  276. package/dist/chunks/{command-gv6a8nnw.js → formatter-yyb7tjpc.js} +2 -2
  277. package/dist/chunks/{command-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{command-a6aqwg0c.js → formatter-z0y29jwt.js} +1 -1
  279. package/dist/chunks/{command-ber7v889.js → formatter-z1h03t2t.js} +9 -9
  280. package/dist/chunks/{command-z63w68vq.js → formatter-z63w68vq.js} +2 -2
  281. package/dist/chunks/{command-pb15jk6q.js → formatter-zcy30wa5.js} +24 -24
  282. package/dist/chunks/{command-shh6fz4q.js → formatter-zj09a0ew.js} +4 -4
  283. package/dist/chunks/{command-y10xyzsy.js → formatter-zpczsn54.js} +3 -3
  284. package/dist/chunks/{command-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{command-h0jpty9f.js → formatter-zsjkwtsn.js} +11 -11
  286. package/dist/chunks/{command-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -2
  290. package/dist/codemode/web.js +10 -0
  291. package/dist/command.js +80 -80
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +124 -124
  296. package/dist/config/plugin/command.js +213 -212
  297. package/dist/config/plugin/compaction.js +159 -158
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +124 -124
  304. package/dist/config/plugin/mcp.js +131 -131
  305. package/dist/config/plugin/policy.js +122 -122
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +122 -122
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +143 -143
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +125 -125
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +121 -121
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +127 -127
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +78 -78
  321. package/dist/database/database.js +65 -65
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +358 -357
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.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/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +226 -225
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +102 -102
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +99 -99
  426. package/dist/form.js +79 -79
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +86 -86
  429. package/dist/generate.js +104 -104
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +98 -98
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +3 -3
  454. package/dist/instance.js +354 -353
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +86 -86
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +81 -81
  460. package/dist/job.js +76 -76
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +129 -129
  464. package/dist/location-mutation.js +103 -103
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +353 -352
  467. package/dist/location.js +80 -80
  468. package/dist/mcp/client.js +90 -90
  469. package/dist/mcp/index.js +107 -107
  470. package/dist/mcp/instructions.js +127 -126
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +89 -89
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +98 -98
  475. package/dist/model-resolver.js +97 -97
  476. package/dist/model.js +97 -97
  477. package/dist/models-dev.js +106 -106
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +79 -79
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +104 -104
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +87 -87
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +103 -103
  488. package/dist/plugin/command.js +100 -100
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +217 -216
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +328 -327
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +95 -95
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +101 -101
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  501. package/dist/plugin/provider/azure.js +121 -121
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +118 -118
  507. package/dist/plugin/provider/digitalocean.js +92 -92
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +92 -92
  512. package/dist/plugin/provider/gitlab.js +90 -90
  513. package/dist/plugin/provider/google-vertex.js +89 -89
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +121 -121
  517. package/dist/plugin/provider/modal.js +91 -91
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +119 -119
  520. package/dist/plugin/provider/openai.js +93 -93
  521. package/dist/plugin/provider/opencode.js +92 -92
  522. package/dist/plugin/provider/openrouter.js +90 -90
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  526. package/dist/plugin/provider/sap-ai-core.js +90 -90
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +89 -89
  531. package/dist/plugin/provider/vllm.js +119 -119
  532. package/dist/plugin/provider/xai.js +90 -90
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +140 -140
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +343 -342
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +85 -85
  542. package/dist/plugin/vcs/hg.js +85 -85
  543. package/dist/plugin/warming.js +120 -120
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +224 -223
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +79 -79
  555. package/dist/provider.js +96 -96
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +97 -97
  560. package/dist/reference/instructions.js +86 -86
  561. package/dist/reference.js +90 -90
  562. package/dist/repository-cache.js +80 -80
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +96 -96
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +131 -130
  570. package/dist/session/context.js +151 -150
  571. package/dist/session/diff.js +87 -87
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +219 -218
  576. package/dist/session/execution.js +121 -121
  577. package/dist/session/generate.js +152 -151
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +83 -83
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +96 -96
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +118 -117
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +104 -104
  591. package/dist/session/provider-context.js +1 -1
  592. package/dist/session/revert.js +89 -89
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +1 -1
  595. package/dist/session/runner/llm.js +229 -228
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +97 -97
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +113 -113
  600. package/dist/session/runner/step.js +125 -124
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +3 -3
  603. package/dist/session/session.js +171 -171
  604. package/dist/session/shell.js +137 -137
  605. package/dist/session/skill.js +102 -102
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +86 -86
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +209 -208
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +153 -152
  613. package/dist/session/to-session-error.js +110 -110
  614. package/dist/session/transfer.js +214 -213
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -210
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +139 -139
  622. package/dist/skill/discovery.js +4 -4
  623. package/dist/skill/instructions.js +104 -104
  624. package/dist/skill.js +111 -111
  625. package/dist/snapshot.js +90 -90
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +124 -123
  630. package/dist/tool/plugin/edit.js +119 -119
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +123 -123
  633. package/dist/tool/plugin/grep.js +123 -123
  634. package/dist/tool/plugin/opencode.js +1 -1
  635. package/dist/tool/plugin/patch.js +121 -121
  636. package/dist/tool/plugin/question.js +102 -102
  637. package/dist/tool/plugin/read.js +122 -122
  638. package/dist/tool/plugin/shell.js +214 -213
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +218 -217
  641. package/dist/tool/plugin/webfetch.js +109 -109
  642. package/dist/tool/plugin/websearch.js +109 -109
  643. package/dist/tool/plugin/write.js +121 -121
  644. package/dist/tool/read-filesystem.js +99 -99
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +14 -13
  648. package/dist/types/codemode/web.d.ts +8 -0
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +92 -92
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +86 -86
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +78 -78
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +77 -77
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +97 -97
  689. package/package.json +8 -8
  690. package/dist/chunks/command-1x11rq2a.js +0 -18
  691. package/dist/chunks/command-95efmqcm.js +0 -247
  692. package/dist/chunks/command-ca6m86r2.js +0 -26
  693. package/dist/chunks/command-gbadjzag.js +0 -4
  694. /package/dist/chunks/{command-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{command-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{command-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{command-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{command-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{command-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{command-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{command-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{command-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{command-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{command-3asan66x.js → formatter-3asan66x.js} +0 -0
  705. /package/dist/chunks/{command-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{command-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{command-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{command-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{command-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{command-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{command-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{command-53557ph1.js → formatter-53557ph1.js} +0 -0
  713. /package/dist/chunks/{command-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{command-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{command-6prwharc.js → formatter-6prwharc.js} +0 -0
  716. /package/dist/chunks/{command-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{command-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{command-822emrt2.js → formatter-822emrt2.js} +0 -0
  719. /package/dist/chunks/{command-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{command-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{command-922hggd3.js → formatter-922hggd3.js} +0 -0
  722. /package/dist/chunks/{command-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{command-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{command-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{command-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{command-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{command-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{command-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{command-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{command-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{command-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{command-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{command-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{command-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{command-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{command-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{command-df08tz66.js → formatter-df08tz66.js} +0 -0
  738. /package/dist/chunks/{command-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{command-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{command-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{command-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{command-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{command-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{command-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{command-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{command-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{command-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{command-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{command-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{command-g86h250q.js → formatter-g86h250q.js} +0 -0
  751. /package/dist/chunks/{command-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{command-gftt206x.js → formatter-gftt206x.js} +0 -0
  753. /package/dist/chunks/{command-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{command-hk9envan.js → formatter-hk9envan.js} +0 -0
  755. /package/dist/chunks/{command-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{command-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{command-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{command-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{command-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{command-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{command-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{command-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{command-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{command-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{command-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{command-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{command-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{command-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{command-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{command-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{command-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{command-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{command-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{command-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{command-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{command-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{command-twg0f83k.js → formatter-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{command-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{command-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{command-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{command-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{command-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{command-x61499pn.js → formatter-x61499pn.js} +0 -0
  784. /package/dist/chunks/{command-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{command-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{command-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{command-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{command-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{command-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./command-2a5m3afh.js";
3
+ } from "./formatter-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./command-922hggd3.js";
6
+ } from "./formatter-922hggd3.js";
7
7
  import {
8
8
  Service78
9
- } from "./command-at45qxm4.js";
9
+ } from "./formatter-ksfgtg35.js";
10
10
  import {
11
- Service42
12
- } from "./command-7hj3xbrc.js";
11
+ Service48
12
+ } from "./formatter-1xp9teg7.js";
13
13
  import {
14
- Service41
15
- } from "./command-3pzavtjr.js";
14
+ Service24
15
+ } from "./formatter-ah3dvs9v.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./command-467dymen.js";
21
+ } from "./formatter-2s9cgapc.js";
22
22
  import {
23
- Service61
24
- } from "./command-kfep38wt.js";
23
+ Service63
24
+ } from "./formatter-4dtgeqyn.js";
25
25
  import {
26
- Service50
27
- } from "./command-6xmmm4dq.js";
26
+ Service18
27
+ } from "./formatter-jnhwxhat.js";
28
28
  import {
29
29
  __export
30
- } from "./command-9rqn6x4v.js";
30
+ } from "./formatter-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: () => Input2,
37
- Output: () => Output2,
38
- Plugin: () => Plugin35,
39
- name: () => name2,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input4,
37
+ Output: () => Output4,
38
+ Plugin: () => Plugin37,
39
+ name: () => name4,
40
+ toModelContent: () => toModelContent3
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name2 = "glob";
46
- var Input2 = Schema.Struct({
45
+ var name4 = "glob";
46
+ var Input4 = 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 Input2 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output4 = Schema.Array(Entry2);
59
+ var toModelContent3 = (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 Plugin35 = {
66
+ var Plugin37 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service42;
70
- const ripgrep = yield* Service41;
69
+ const environment = yield* Service48;
70
+ const ripgrep = yield* Service24;
71
71
  const location = yield* Service78;
72
- const access = yield* Service50;
73
- const permission = yield* Service61;
72
+ const access = yield* Service18;
73
+ const permission = yield* Service63;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name2,
75
+ name: name4,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input2,
79
- output: Output2,
78
+ input: Input4,
79
+ output: Output4,
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: name2,
86
+ action: name4,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin35 = {
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: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent3(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 { name2, Input2, Output2, toModelContent2, Plugin35, exports_glob };
128
+ export { name4, Input4, Output4, toModelContent3, Plugin37, exports_glob };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./command-6msgmcgs.js";
4
+ } from "./formatter-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./command-qfa1cgps.js";
7
+ } from "./formatter-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./command-8p4f9s12.js";
10
+ } from "./formatter-dj2t23y0.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID12
3
- } from "./command-7v69ty2b.js";
3
+ } from "./formatter-txdz6xps.js";
4
4
  import {
5
- Service43
6
- } from "./command-tbvzjzzt.js";
5
+ Service45
6
+ } from "./formatter-p8yn6kww.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./command-9r59gk3z.js";
9
+ } from "./formatter-y0rszavt.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -26,7 +26,7 @@ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service43;
29
+ const config = yield* Service45;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-yaf95dqt.js";
3
+ } from "./formatter-22jekang.js";
4
4
  import {
5
5
  call2
6
- } from "./command-1ygqh575.js";
6
+ } from "./formatter-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./formatter-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin9,
14
+ Plugin: () => Plugin23,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint5
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint5 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint2 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin9 = define({
36
+ var Plugin23 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin9 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin9 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint5, Plugin9, exports_tinyfish };
76
+ export { endpoint2, Plugin23, exports_tinyfish };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./command-922hggd3.js";
4
+ } from "./formatter-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service80,
9
- node84
10
- } from "./command-9g3kc011.js";
8
+ Service81,
9
+ node85
10
+ } from "./formatter-7q799ka0.js";
11
11
  import {
12
12
  Service78,
13
13
  node82
14
- } from "./command-at45qxm4.js";
14
+ } from "./formatter-ksfgtg35.js";
15
15
  import {
16
16
  create3
17
- } from "./command-rdw6cm16.js";
17
+ } from "./formatter-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./formatter-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service37,
25
+ Error: () => Error4,
26
+ ID: () => ID7,
27
+ Service: () => Service50,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node40,
29
+ node: () => node54,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,20 +34,20 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service37 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service50 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service37, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service81;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID7.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node40 = makeLocationNode({
144
- service: Service37,
143
+ var node54 = makeLocationNode({
144
+ service: Service50,
145
145
  layer,
146
- deps: [FSUtil.node, node84, Global.node, node82]
146
+ deps: [FSUtil.node, node85, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service37, Service37.of({
148
+ var noopLayer2 = Layer.succeed(Service50, Service50.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
166
+ export { ID7, Error4, Service50, node54, noopLayer2, exports_snapshot2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./command-922hggd3.js";
3
+ } from "./formatter-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info15
13
+ Info: () => Info12
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info15 = Schema.Struct({
30
+ var Info12 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info15, exports_attachment };
34
+ export { Image2, Info12, exports_attachment };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./command-y8cydn3q.js";
3
+ } from "./formatter-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./command-ym463w8f.js";
3
+ } from "./formatter-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service78
3
- } from "./command-at45qxm4.js";
3
+ } from "./formatter-ksfgtg35.js";
4
4
  import {
5
5
  latest2,
6
- Service43
7
- } from "./command-tbvzjzzt.js";
6
+ Service45
7
+ } from "./formatter-p8yn6kww.js";
8
8
  import {
9
- Service40
10
- } from "./command-bxvsvvek.js";
9
+ Service27
10
+ } from "./formatter-44ck3ba6.js";
11
11
  import {
12
- make10
13
- } from "./command-73tb2d7t.js";
12
+ make7
13
+ } from "./formatter-1bbkgx8g.js";
14
14
  import {
15
15
  observe2
16
- } from "./command-qsdy395h.js";
16
+ } from "./formatter-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./command-9rqn6x4v.js";
19
+ } from "./formatter-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin24
25
+ Plugin: () => Plugin15
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
30
30
  import { Npm } from "@opencode/util/npm";
31
31
  import { AppProcess } from "@opencode/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin24 = define({
33
+ var Plugin15 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
- const config = yield* Service43;
37
- const formatter = yield* Service40;
36
+ const config = yield* Service45;
37
+ const formatter = yield* Service27;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
40
  const location = yield* Service78;
@@ -45,7 +45,7 @@ var Plugin24 = define({
45
45
  const configured = latest2(loaded.entries, "formatter");
46
46
  if (!configured)
47
47
  return;
48
- const builtIns = make10({
48
+ const builtIns = make7({
49
49
  directory: location.directory,
50
50
  worktree: location.project.directory,
51
51
  fs,
@@ -74,4 +74,4 @@ var Plugin24 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin24, exports_formatter };
77
+ export { Plugin15, exports_formatter };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-922hggd3.js";
3
+ } from "./formatter-922hggd3.js";
4
4
  import {
5
- Info5,
6
- ID3,
5
+ Info8,
6
+ ID5,
7
7
  Name2
8
- } from "./command-ek5xzf05.js";
8
+ } from "./formatter-gdhk03s2.js";
9
9
  import {
10
- Service43
11
- } from "./command-tbvzjzzt.js";
10
+ Service45
11
+ } from "./formatter-p8yn6kww.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./formatter-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill2 = {};
18
+ __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin11,
21
+ Plugin: () => Plugin31,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill2
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -421,20 +421,20 @@ var OpencodeContent2 = opencode_default;
421
421
  var ReportContent2 = report_default;
422
422
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
423
423
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
424
- var Plugin11 = define({
424
+ var Plugin31 = define({
425
425
  id: "opencode.skill",
426
426
  effect: Effect.fn(function* (ctx) {
427
427
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
428
428
  yield* ctx.skill.transform((editor) => {
429
- editor.add(Info5.make({
430
- id: ID3.make("opencode"),
429
+ editor.add(Info8.make({
430
+ id: ID5.make("opencode"),
431
431
  name: Name2.make("OpenCode"),
432
432
  description: OpencodeDescription2,
433
433
  path: AbsolutePath2.make("/builtin/opencode.md"),
434
434
  content: OpencodeContent2
435
435
  }));
436
- editor.add(Info5.make({
437
- id: ID3.make("report"),
436
+ editor.add(Info8.make({
437
+ id: ID5.make("report"),
438
438
  name: Name2.make("Report"),
439
439
  description: REPORT_DESCRIPTION,
440
440
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -462,7 +462,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
462
462
  `);
463
463
  });
464
464
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
465
- const config = yield* Service43;
465
+ const config = yield* Service45;
466
466
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
467
467
  });
468
468
  function terminal() {
@@ -476,4 +476,4 @@ function shell() {
476
476
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
477
477
  }
478
478
 
479
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
479
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./command-4dgbcxzg.js";
3
+ } from "./formatter-bc5edygd.js";
4
4
  import {
5
- Service81
6
- } from "./command-162dzd26.js";
5
+ Service80
6
+ } from "./formatter-2jbrsabm.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./command-f6jpff70.js";
10
+ } from "./formatter-hma0brmp.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./command-p7kdkvkh.js";
14
+ } from "./formatter-aa5rtnrq.js";
15
15
  import {
16
16
  ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service70
20
- } from "./command-pka3f0bn.js";
19
+ Service73
20
+ } from "./formatter-jq4q8xt0.js";
21
21
  import {
22
22
  ID12
23
- } from "./command-7v69ty2b.js";
23
+ } from "./formatter-txdz6xps.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./command-2sgz0h5a.js";
25
+ load3,
26
+ derive3
27
+ } from "./formatter-2bp2agkf.js";
28
28
  import {
29
29
  useragent2
30
- } from "./command-yaf95dqt.js";
30
+ } from "./formatter-22jekang.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -157,8 +157,8 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service70;
161
- const bus = yield* Service81;
160
+ const providers = yield* Service73;
161
+ const bus = yield* Service80;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
164
164
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -175,7 +175,7 @@ var GithubCopilotPlugin2 = define({
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
176
  const provider = yield* providers.get(ID13.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
- try: () => load2(url, {
178
+ try: () => load3(url, {
179
179
  ...provider?.headers,
180
180
  Authorization: `Bearer ${credential.refresh}`,
181
181
  "User-Agent": useragent2(ctx.app),
@@ -200,7 +200,7 @@ var GithubCopilotPlugin2 = define({
200
200
  if (loaded.models) {
201
201
  evt.add({
202
202
  info: item.provider,
203
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
203
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
204
204
  sourceConnection: loaded.connection
205
205
  });
206
206
  return;