@opencode/core 0.0.0-dev-20547 → 0.0.0-dev-20549

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{variant-9nftx6da.js → skill-01mnn7z9.js} +10 -10
  8. package/dist/chunks/{variant-da6vb3h8.js → skill-03r07v8r.js} +26 -26
  9. package/dist/chunks/{variant-nf6a9ee8.js → skill-0950byjh.js} +12 -12
  10. package/dist/chunks/{variant-p8qwaxbb.js → skill-0abth3v5.js} +6 -6
  11. package/dist/chunks/{variant-xf6cn1wp.js → skill-0czqcgkk.js} +30 -30
  12. package/dist/chunks/{variant-b6cd852c.js → skill-0h9agxwz.js} +13 -13
  13. package/dist/chunks/{variant-ykt494b9.js → skill-0me0fk48.js} +4 -4
  14. package/dist/chunks/{variant-mn7gjtgm.js → skill-0nyf8g8a.js} +10 -10
  15. package/dist/chunks/{variant-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{variant-xjtsx636.js → skill-0ryd0fps.js} +5 -5
  17. package/dist/chunks/{variant-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{variant-nqvytbxv.js → skill-19a83w2j.js} +32 -32
  19. package/dist/chunks/{variant-6hvm7smf.js → skill-1baywqc3.js} +31 -35
  20. package/dist/chunks/{variant-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{variant-qbkx6vz5.js → skill-1kc6jmgc.js} +50 -50
  22. package/dist/chunks/{variant-y7q3v3g9.js → skill-1p60wd67.js} +30 -30
  23. package/dist/chunks/{variant-57myy5jh.js → skill-1pxz8ven.js} +5 -5
  24. package/dist/chunks/{variant-rsccvmp7.js → skill-204qze95.js} +53 -53
  25. package/dist/chunks/{variant-16fvvttp.js → skill-21ndh2pa.js} +26 -26
  26. package/dist/chunks/{variant-24yc7kjr.js → skill-24zweb5e.js} +10 -10
  27. package/dist/chunks/{variant-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{variant-fmphmwrh.js → skill-2aq8k941.js} +9 -9
  29. package/dist/chunks/{variant-da7r7sc6.js → skill-2e0qgnqs.js} +16 -16
  30. package/dist/chunks/{variant-syfj11c6.js → skill-2tk69wqd.js} +11 -11
  31. package/dist/chunks/{variant-2q56c9sx.js → skill-313f7sf4.js} +15 -15
  32. package/dist/chunks/{variant-3cegwx68.js → skill-3cegwx68.js} +2 -2
  33. package/dist/chunks/{variant-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{variant-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{variant-fwaxmgjq.js → skill-3m9cba8p.js} +10 -10
  36. package/dist/chunks/{variant-c7tvtqj5.js → skill-3nfjvcck.js} +24 -24
  37. package/dist/chunks/{variant-zv2eb485.js → skill-3rm7g93w.js} +2 -2
  38. package/dist/chunks/{variant-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{variant-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{variant-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{variant-cjk0gcg2.js → skill-42jk16ft.js} +20 -20
  42. package/dist/chunks/{variant-31bpezkk.js → skill-44j8xkc5.js} +31 -31
  43. package/dist/chunks/{variant-vx3jgdek.js → skill-4a7gy6vj.js} +2 -2
  44. package/dist/chunks/{variant-57adf1ga.js → skill-4d2zrdm3.js} +9 -9
  45. package/dist/chunks/{variant-ygvxdrq8.js → skill-4p0s9fw7.js} +13 -13
  46. package/dist/chunks/{variant-6hk2yw3g.js → skill-4r5jmef3.js} +9 -9
  47. package/dist/chunks/{variant-63pppadt.js → skill-4s49zy95.js} +62 -62
  48. package/dist/chunks/{variant-4ts7tf6z.js → skill-4ts7tf6z.js} +2 -2
  49. package/dist/chunks/{variant-c6fchc2t.js → skill-54f8996e.js} +20 -20
  50. package/dist/chunks/{variant-54ma36ye.js → skill-54ma36ye.js} +1 -1
  51. package/dist/chunks/{variant-k1qrnqst.js → skill-56b3zt1s.js} +8 -8
  52. package/dist/chunks/{variant-56gdpj1q.js → skill-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{variant-7narw7z7.js → skill-57mzwree.js} +12 -12
  54. package/dist/chunks/{variant-bfzdf7qk.js → skill-5bfybkpt.js} +6 -6
  55. package/dist/chunks/{variant-5daktx2q.js → skill-5daktx2q.js} +1 -1
  56. package/dist/chunks/{variant-1017xczc.js → skill-5ht3dsc4.js} +84 -84
  57. package/dist/chunks/{variant-329v3arb.js → skill-5j1ay8ry.js} +8 -8
  58. package/dist/chunks/{variant-rp74r9yw.js → skill-5mz8kqs7.js} +5 -5
  59. package/dist/chunks/{variant-2a49rb13.js → skill-5qwkxp89.js} +4 -4
  60. package/dist/chunks/skill-5rp263n0.js +253 -0
  61. package/dist/chunks/{variant-hvmjbjcm.js → skill-5sfmmyr7.js} +11 -11
  62. package/dist/chunks/{variant-e6zxkh9r.js → skill-5szw1sth.js} +6 -6
  63. package/dist/chunks/{variant-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{variant-ye5j9ngg.js → skill-5v0ektps.js} +1 -1
  65. package/dist/chunks/{variant-2ej87zxe.js → skill-5zmtd2z9.js} +26 -26
  66. package/dist/chunks/{variant-62rggmfc.js → skill-64qxmar2.js} +23 -23
  67. package/dist/chunks/{variant-669tq793.js → skill-669tq793.js} +1 -1
  68. package/dist/chunks/{variant-hwmjpbet.js → skill-66vha7qm.js} +4 -4
  69. package/dist/chunks/{variant-nhsgg8x8.js → skill-6bkgq6v1.js} +10 -10
  70. package/dist/chunks/{variant-273jkg38.js → skill-6djkftks.js} +16 -16
  71. package/dist/chunks/{variant-fgywf9gk.js → skill-6nxrbw4w.js} +6 -6
  72. package/dist/chunks/{variant-wsgjsvvq.js → skill-6sn5cjnr.js} +21 -21
  73. package/dist/chunks/{variant-2r4vtsdk.js → skill-72p3wnsc.js} +3 -3
  74. package/dist/chunks/{variant-2px9e64m.js → skill-78bdb58w.js} +20 -20
  75. package/dist/chunks/{variant-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{variant-4xvyjeeg.js → skill-7fxvqdxk.js} +6 -6
  77. package/dist/chunks/{variant-c601pb3s.js → skill-7kq9c397.js} +47 -47
  78. package/dist/chunks/{variant-xx0efrt7.js → skill-7q4asrqv.js} +10 -10
  79. package/dist/chunks/{variant-xee9d92m.js → skill-7s9zzz11.js} +35 -35
  80. package/dist/chunks/{variant-3kt1g3ft.js → skill-7znzy1a8.js} +11 -11
  81. package/dist/chunks/{variant-84h8c373.js → skill-84h8c373.js} +2 -2
  82. package/dist/chunks/{variant-84txncab.js → skill-84txncab.js} +1 -1
  83. package/dist/chunks/{variant-3cd9n481.js → skill-8a6ws7jr.js} +9 -9
  84. package/dist/chunks/{variant-gw31pd7g.js → skill-8acbzghs.js} +30 -30
  85. package/dist/chunks/{variant-8sy7pwng.js → skill-8apeemca.js} +9 -9
  86. package/dist/chunks/{variant-9qvf2wqn.js → skill-8cngkqqv.js} +16 -16
  87. package/dist/chunks/{variant-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{variant-n89jxr1p.js → skill-8etyx8dn.js} +14 -14
  89. package/dist/chunks/{variant-66pt35q6.js → skill-8fxtk4vp.js} +19 -19
  90. package/dist/chunks/{variant-bvv78rhh.js → skill-8me93e25.js} +45 -45
  91. package/dist/chunks/{variant-fpecnkgp.js → skill-8ndffx4j.js} +7 -7
  92. package/dist/chunks/{variant-j106h7ss.js → skill-8xty08kc.js} +11 -11
  93. package/dist/chunks/{variant-ah6jgryv.js → skill-8y2amx6f.js} +19 -19
  94. package/dist/chunks/{variant-68f7dvn8.js → skill-8zfn737k.js} +1 -1
  95. package/dist/chunks/{variant-w6whe858.js → skill-956jqvkw.js} +4 -4
  96. package/dist/chunks/{variant-fq6511ep.js → skill-97fg007x.js} +15 -15
  97. package/dist/chunks/{variant-m2nkj9wm.js → skill-9epfchn5.js} +20 -20
  98. package/dist/chunks/{variant-dd50nx1a.js → skill-9ewbjpe3.js} +29 -29
  99. package/dist/chunks/{variant-6zexn73m.js → skill-9g5z0wv0.js} +37 -37
  100. package/dist/chunks/{variant-5nzyhd2c.js → skill-9gejvy20.js} +1 -1
  101. package/dist/chunks/{variant-zp3e6f5k.js → skill-9k1rebz0.js} +18 -18
  102. package/dist/chunks/{variant-3zbwexce.js → skill-9mfnyqzm.js} +8 -8
  103. package/dist/chunks/{variant-0b97tqax.js → skill-9r817s3s.js} +18 -18
  104. package/dist/chunks/{variant-ccqzwzs8.js → skill-9s8cx701.js} +324 -324
  105. package/dist/chunks/{variant-yb01rvg4.js → skill-a97s5rsz.js} +15 -15
  106. package/dist/chunks/{variant-aaet6srn.js → skill-aaet6srn.js} +2 -2
  107. package/dist/chunks/{variant-na810hcp.js → skill-aw6zf7vf.js} +39 -39
  108. package/dist/chunks/{variant-38kq62gf.js → skill-az5709rs.js} +9 -9
  109. package/dist/chunks/{variant-scpn23rs.js → skill-b1cd8vzz.js} +13 -13
  110. package/dist/chunks/{variant-c9nb1444.js → skill-b2zsh4zx.js} +24 -24
  111. package/dist/chunks/{variant-10z7daz1.js → skill-b38ner4f.js} +20 -20
  112. package/dist/chunks/{variant-a4ae1mqs.js → skill-b69jv39p.js} +1 -1
  113. package/dist/chunks/{variant-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{variant-pz7ncxfz.js → skill-btrb2kn9.js} +15 -15
  115. package/dist/chunks/{variant-7yrja50j.js → skill-bv4yyc6x.js} +37 -37
  116. package/dist/chunks/{variant-9hwaqfsw.js → skill-bx0gyb4h.js} +5 -5
  117. package/dist/chunks/{variant-nnr4x7kr.js → skill-bx9egp8a.js} +8 -8
  118. package/dist/chunks/{variant-hrc132h6.js → skill-c8jj867k.js} +9 -9
  119. package/dist/chunks/{variant-171k66e7.js → skill-ccgffmts.js} +9 -9
  120. package/dist/chunks/{variant-cfsekr6v.js → skill-cfsekr6v.js} +2 -2
  121. package/dist/chunks/{variant-j3wqrd5b.js → skill-cksh6vzh.js} +32 -32
  122. package/dist/chunks/{variant-g8za1g2v.js → skill-d5h7byfj.js} +24 -24
  123. package/dist/chunks/{variant-kz2hcv50.js → skill-d8d1xeyb.js} +17 -17
  124. package/dist/chunks/{variant-vwdfph8k.js → skill-d8qf9njz.js} +45 -45
  125. package/dist/chunks/{variant-g2sxjzdt.js → skill-dmgq9rsa.js} +22 -22
  126. package/dist/chunks/{variant-xkntkrq7.js → skill-dmqcgk4z.js} +5 -5
  127. package/dist/chunks/{variant-34wsaydc.js → skill-dx8zaj32.js} +20 -20
  128. package/dist/chunks/{variant-g2p31kt8.js → skill-e3tvp305.js} +13 -13
  129. package/dist/chunks/{variant-fzdmn3yz.js → skill-e8fwf20g.js} +24 -24
  130. package/dist/chunks/{variant-v9nrmqw2.js → skill-e9t4d1jv.js} +11 -11
  131. package/dist/chunks/{variant-r9rjt6mk.js → skill-ebpzjdje.js} +37 -37
  132. package/dist/chunks/{variant-e3enbvgg.js → skill-ecg5vx20.js} +38 -38
  133. package/dist/chunks/{variant-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{variant-3bfy6kq2.js → skill-emv93qq1.js} +7 -7
  135. package/dist/chunks/{variant-dyda9n33.js → skill-ep9add8h.js} +20 -20
  136. package/dist/chunks/{variant-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{variant-p558d1j2.js → skill-eye7bpsw.js} +5 -5
  138. package/dist/chunks/{variant-nqfkachn.js → skill-f1x83a2j.js} +21 -21
  139. package/dist/chunks/{variant-t7n9q6bq.js → skill-f73rjn58.js} +4 -4
  140. package/dist/chunks/{variant-f75zav2x.js → skill-f75zav2x.js} +2 -2
  141. package/dist/chunks/{variant-4ef5c9gw.js → skill-f9bwzz6b.js} +4 -4
  142. package/dist/chunks/{variant-5cajbvmm.js → skill-fb37g870.js} +14 -14
  143. package/dist/chunks/{variant-9cq1cvt4.js → skill-fermrrd4.js} +11 -11
  144. package/dist/chunks/{variant-a4vn4t9p.js → skill-fhqaa1bv.js} +9 -9
  145. package/dist/chunks/{variant-k2yc6cnv.js → skill-fn41217q.js} +11 -11
  146. package/dist/chunks/{variant-tcay1cqt.js → skill-fpq9acqp.js} +6 -6
  147. package/dist/chunks/{variant-gt0brdtn.js → skill-frz8dvr7.js} +6 -6
  148. package/dist/chunks/{variant-xfy8k7j0.js → skill-ft8zwvba.js} +10 -10
  149. package/dist/chunks/{variant-3vwksnah.js → skill-ftyasa8y.js} +16 -16
  150. package/dist/chunks/{variant-mmt6kfyc.js → skill-fwmeava6.js} +3 -3
  151. package/dist/chunks/{variant-rkt3c9tb.js → skill-fwszetqs.js} +33 -33
  152. package/dist/chunks/{variant-0q6sb854.js → skill-fwx8k2v9.js} +18 -18
  153. package/dist/chunks/{variant-0w7m479q.js → skill-g4nxgwtw.js} +24 -24
  154. package/dist/chunks/{variant-g5w8qwbj.js → skill-g5w8qwbj.js} +1 -1
  155. package/dist/chunks/{variant-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{variant-r5zvsjw5.js → skill-ghjbhsdc.js} +13 -13
  157. package/dist/chunks/{variant-hpfvhvya.js → skill-gn2hfjap.js} +8 -8
  158. package/dist/chunks/{variant-r44petzp.js → skill-gsjnmz30.js} +12 -12
  159. package/dist/chunks/{variant-gj1nr5v6.js → skill-gts7m20h.js} +15 -15
  160. package/dist/chunks/{variant-bj6x4vyx.js → skill-h4z318tq.js} +29 -27
  161. package/dist/chunks/{variant-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{variant-b8cde637.js → skill-hb7naxz9.js} +10 -10
  163. package/dist/chunks/{variant-zyk1yjk8.js → skill-hdkng2sj.js} +5 -5
  164. package/dist/chunks/{variant-kjatpnt8.js → skill-hdnns55v.js} +5 -5
  165. package/dist/chunks/{variant-rrewaqtd.js → skill-hh6grysg.js} +4 -4
  166. package/dist/chunks/{variant-qp7kv1vw.js → skill-htssgadd.js} +16 -16
  167. package/dist/chunks/{variant-gz6jqjc4.js → skill-hyakt2q8.js} +9 -9
  168. package/dist/chunks/{variant-wqzwmxsj.js → skill-hzjscxj6.js} +27 -27
  169. package/dist/chunks/{variant-ma32y5j1.js → skill-j0gnjy6r.js} +6 -6
  170. package/dist/chunks/{variant-j56e64zr.js → skill-j56e64zr.js} +1 -1
  171. package/dist/chunks/{variant-xkzytj2y.js → skill-j5hz68na.js} +3 -3
  172. package/dist/chunks/{variant-y8cjrnwe.js → skill-j65xbngf.js} +35 -35
  173. package/dist/chunks/{variant-n8mgpthn.js → skill-jaxce8wn.js} +17 -17
  174. package/dist/chunks/{variant-hb9m1k5a.js → skill-jd3ch19c.js} +5 -5
  175. package/dist/chunks/{variant-4bm5ja14.js → skill-jewzahs7.js} +4 -4
  176. package/dist/chunks/skill-jqh9b0xq.js +18 -0
  177. package/dist/chunks/{variant-4w5f3qm5.js → skill-k1gkpfdk.js} +8 -8
  178. package/dist/chunks/{variant-dwm0ckbr.js → skill-k3d6nw88.js} +25 -25
  179. package/dist/chunks/{variant-kb9j3d72.js → skill-kb9j3d72.js} +3 -3
  180. package/dist/chunks/{variant-8d65mgz8.js → skill-kj770y4x.js} +20 -20
  181. package/dist/chunks/{variant-zkvhbq4f.js → skill-kk15n38j.js} +24 -24
  182. package/dist/chunks/{variant-abzmkdk6.js → skill-krn7pgx5.js} +27 -27
  183. package/dist/chunks/{variant-70a3we72.js → skill-krv2mqyr.js} +11 -11
  184. package/dist/chunks/{variant-x1fpzj52.js → skill-ktgztcgk.js} +17 -17
  185. package/dist/chunks/{variant-nrm1rbn7.js → skill-kyvayzm9.js} +148 -148
  186. package/dist/chunks/{variant-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{variant-2k5j8z2r.js → skill-m7qqtvvt.js} +48 -48
  188. package/dist/chunks/{variant-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{variant-kfcd5z23.js → skill-mewbwgnd.js} +11 -11
  190. package/dist/chunks/{variant-y56ehv6b.js → skill-mhcp204s.js} +9 -9
  191. package/dist/chunks/{variant-zhdzh2r0.js → skill-mhpkdsge.js} +18 -18
  192. package/dist/chunks/{variant-ax711rrr.js → skill-mj9ayqyd.js} +12 -4
  193. package/dist/chunks/{variant-qm7jrdpz.js → skill-mm5kxf07.js} +8 -8
  194. package/dist/chunks/{variant-9tjcwr7d.js → skill-mnwcrtbx.js} +11 -11
  195. package/dist/chunks/{variant-z2qbjhyn.js → skill-mtrbqqrq.js} +5 -5
  196. package/dist/chunks/{variant-7yh4e7ss.js → skill-mvfsc1pv.js} +3 -3
  197. package/dist/chunks/{variant-gtsn0tnk.js → skill-mx461553.js} +17 -17
  198. package/dist/chunks/{variant-addxnjmp.js → skill-mxvxcxwy.js} +4 -4
  199. package/dist/chunks/{variant-n2dqf2np.js → skill-my61f61y.js} +3 -3
  200. package/dist/chunks/{variant-wsfq990z.js → skill-n30ttybe.js} +10 -10
  201. package/dist/chunks/{variant-63zcdw3g.js → skill-n90naw0r.js} +12 -12
  202. package/dist/chunks/{variant-xgdbyasr.js → skill-nk433a2k.js} +10 -10
  203. package/dist/chunks/{variant-1acjjqhc.js → skill-nkf980df.js} +4 -4
  204. package/dist/chunks/{variant-7crbwqvj.js → skill-nx5bgegm.js} +3 -3
  205. package/dist/chunks/{variant-dpkg50ah.js → skill-nxm207yx.js} +4 -4
  206. package/dist/chunks/{variant-d4tztbd8.js → skill-p7eqnh0e.js} +11 -11
  207. package/dist/chunks/{variant-5xtgfte3.js → skill-pa8pe2x7.js} +8 -8
  208. package/dist/chunks/{variant-spq25e1b.js → skill-pb4687ty.js} +5 -5
  209. package/dist/chunks/{variant-jw14gf2y.js → skill-pce31vy2.js} +28 -28
  210. package/dist/chunks/{variant-0kd1pk5z.js → skill-pe508z78.js} +15 -15
  211. package/dist/chunks/{variant-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{variant-4vp46et4.js → skill-pk6g247z.js} +6 -6
  213. package/dist/chunks/{variant-pknna89w.js → skill-pknna89w.js} +1 -1
  214. package/dist/chunks/{variant-n77f0pd2.js → skill-psybf3th.js} +9 -9
  215. package/dist/chunks/{variant-q0xm7vwc.js → skill-q0xm7vwc.js} +2 -2
  216. package/dist/chunks/{variant-qgn6gcr1.js → skill-qgn6gcr1.js} +1 -1
  217. package/dist/chunks/{variant-cwa6csj7.js → skill-qmqgtz8f.js} +9 -9
  218. package/dist/chunks/{variant-nwypw74p.js → skill-qmxdhjst.js} +33 -33
  219. package/dist/chunks/{variant-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
  220. package/dist/chunks/{variant-qsdy395h.js → skill-qsdy395h.js} +1 -1
  221. package/dist/chunks/{variant-z002fj63.js → skill-qweyhg8k.js} +15 -15
  222. package/dist/chunks/{variant-qxjc9qry.js → skill-qxjc9qry.js} +3 -3
  223. package/dist/chunks/{variant-5te825q2.js → skill-rb99ds0a.js} +15 -15
  224. package/dist/chunks/{variant-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{variant-17p56hwr.js → skill-rjeax7xv.js} +11 -11
  226. package/dist/chunks/{variant-bsprd9wx.js → skill-rjg4p9d1.js} +6 -6
  227. package/dist/chunks/{variant-rk7s9xkn.js → skill-rk7s9xkn.js} +1 -1
  228. package/dist/chunks/{variant-cz4d90js.js → skill-rm4bhxsp.js} +14 -14
  229. package/dist/chunks/{variant-9na55fy8.js → skill-rrjzfwx8.js} +26 -26
  230. package/dist/chunks/{variant-4kad219a.js → skill-rwrdjr4d.js} +18 -18
  231. package/dist/chunks/{variant-3rp1pjwd.js → skill-s0wvxc5c.js} +20 -20
  232. package/dist/chunks/{variant-4ke1djk9.js → skill-s1mfz8gf.js} +8 -8
  233. package/dist/chunks/{variant-cmxdgdk2.js → skill-s3n2d5f4.js} +20 -20
  234. package/dist/chunks/{variant-fwzpqqdh.js → skill-s5gzpmhw.js} +86 -86
  235. package/dist/chunks/{variant-gzw67qvm.js → skill-s6ba26vb.js} +1 -1
  236. package/dist/chunks/{variant-y98bq21c.js → skill-t1gchkmx.js} +19 -19
  237. package/dist/chunks/{variant-z68f0kh0.js → skill-t68szqhq.js} +33 -33
  238. package/dist/chunks/{variant-t2fc4mz5.js → skill-t6vsspdg.js} +7 -7
  239. package/dist/chunks/{variant-gbepe2ae.js → skill-t7x7w9dx.js} +7 -7
  240. package/dist/chunks/{variant-bg9a6krr.js → skill-t87qf2za.js} +32 -32
  241. package/dist/chunks/{variant-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{variant-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{variant-tdstcens.js → skill-tdstcens.js} +1 -1
  244. package/dist/chunks/{variant-erh0mstp.js → skill-tp6x8zae.js} +9 -9
  245. package/dist/chunks/{variant-s9eqfnec.js → skill-tpf861g3.js} +15 -15
  246. package/dist/chunks/{variant-eqktwrb6.js → skill-tttafqsw.js} +11 -11
  247. package/dist/chunks/{variant-djwwenxh.js → skill-txmzhkwh.js} +15 -15
  248. package/dist/chunks/{variant-wfppjv2a.js → skill-v6f9c3ds.js} +39 -39
  249. package/dist/chunks/{variant-veqvce7d.js → skill-veqvce7d.js} +1 -1
  250. package/dist/chunks/{variant-gt9ryc23.js → skill-vg3fw4mm.js} +20 -20
  251. package/dist/chunks/{variant-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{variant-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{variant-5pyjqqve.js → skill-w0tfgnf2.js} +2 -2
  254. package/dist/chunks/{variant-m36wpc5k.js → skill-w13frx98.js} +8 -8
  255. package/dist/chunks/{variant-ras475kb.js → skill-w17qbrxs.js} +2 -2
  256. package/dist/chunks/{variant-qyj1vcvk.js → skill-w1d288hs.js} +11 -11
  257. package/dist/chunks/{variant-5ee72v65.js → skill-w1gsm6w1.js} +1 -1
  258. package/dist/chunks/{variant-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{variant-6m1hjez2.js → skill-wb9wmhgc.js} +12 -12
  260. package/dist/chunks/{variant-wd87259q.js → skill-wd87259q.js} +1 -1
  261. package/dist/chunks/{variant-cavr175a.js → skill-wdfkj30x.js} +4 -4
  262. package/dist/chunks/{variant-dwzs7v48.js → skill-wh3fh10e.js} +4 -4
  263. package/dist/chunks/{variant-9t7a50xb.js → skill-wv396vej.js} +6 -6
  264. package/dist/chunks/{variant-8sgjz55j.js → skill-wwgwrvz8.js} +24 -24
  265. package/dist/chunks/{variant-gn253dkm.js → skill-x11epez3.js} +27 -27
  266. package/dist/chunks/{variant-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/skill-x9ntbx8t.js +26 -0
  268. package/dist/chunks/{variant-g8mz2w69.js → skill-xv6fnqjt.js} +25 -25
  269. package/dist/chunks/{variant-0j3hxpdj.js → skill-y19gyp96.js} +26 -26
  270. package/dist/chunks/{variant-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{variant-se8ef6cp.js → skill-y7qb863k.js} +33 -33
  272. package/dist/chunks/{variant-a0kspb6n.js → skill-yah7n84t.js} +3 -3
  273. package/dist/chunks/{variant-d2czbp48.js → skill-yrcj3v3g.js} +4 -4
  274. package/dist/chunks/{variant-cn3djhz4.js → skill-yy74e5r0.js} +34 -34
  275. package/dist/chunks/{variant-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{variant-j7mnaey5.js → skill-z2ga4bmk.js} +7 -7
  277. package/dist/chunks/{variant-v3k6f8x9.js → skill-z8hqvw9j.js} +28 -28
  278. package/dist/chunks/{variant-kezwgbfg.js → skill-z9e6h83k.js} +18 -18
  279. package/dist/chunks/{variant-r6jseaym.js → skill-zmm2h1v7.js} +9 -9
  280. package/dist/chunks/{variant-e629d5pb.js → skill-znmfwznf.js} +3 -3
  281. package/dist/chunks/{variant-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{variant-fp27np75.js → skill-zx605zr2.js} +2 -2
  283. package/dist/chunks/{variant-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +117 -117
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +11 -11
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -355
  450. package/dist/instruction-discovery.js +81 -81
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +85 -85
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -352
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +105 -105
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +109 -109
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -327
  490. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +113 -113
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -156
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -344
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +97 -97
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +99 -99
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +222 -222
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +3 -3
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +208 -208
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +207 -207
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +112 -112
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +116 -116
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +122 -122
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +206 -206
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +98 -98
  679. package/package.json +8 -9
  680. package/dist/chunks/variant-8bb03nvp.js +0 -26
  681. package/dist/chunks/variant-ctefx7dc.js +0 -18
  682. package/dist/chunks/variant-jg8ysj3v.js +0 -253
  683. package/dist/chunks/variant-yrhqyw5v.js +0 -15
  684. package/dist/plugin/provider/venice.js +0 -7
  685. package/dist/types/plugin/provider/venice.d.ts +0 -1
  686. /package/dist/chunks/{variant-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{variant-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{variant-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{variant-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{variant-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{variant-24dcb14g.js → skill-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{variant-2710q6r3.js → skill-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{variant-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{variant-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{variant-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{variant-359p4xyc.js → skill-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{variant-3asan66x.js → skill-3asan66x.js} +0 -0
  698. /package/dist/chunks/{variant-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{variant-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{variant-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{variant-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{variant-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{variant-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{variant-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{variant-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{variant-53557ph1.js → skill-53557ph1.js} +0 -0
  707. /package/dist/chunks/{variant-550bvhaj.js → skill-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{variant-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{variant-6prwharc.js → skill-6prwharc.js} +0 -0
  710. /package/dist/chunks/{variant-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{variant-7m9af43g.js → skill-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{variant-822emrt2.js → skill-822emrt2.js} +0 -0
  713. /package/dist/chunks/{variant-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{variant-8n3pysct.js → skill-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{variant-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{variant-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{variant-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{variant-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{variant-af5trqkr.js → skill-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{variant-afrmfg78.js → skill-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{variant-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{variant-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{variant-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{variant-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{variant-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{variant-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{variant-d9fn303g.js → skill-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{variant-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{variant-dajrwvna.js → skill-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{variant-dap0rakb.js → skill-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{variant-df08tz66.js → skill-df08tz66.js} +0 -0
  732. /package/dist/chunks/{variant-dy18nga0.js → skill-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{variant-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{variant-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{variant-ec1grn59.js → skill-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{variant-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{variant-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{variant-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{variant-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{variant-faypxj3z.js → skill-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{variant-fd410y7t.js → skill-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{variant-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{variant-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{variant-g86h250q.js → skill-g86h250q.js} +0 -0
  745. /package/dist/chunks/{variant-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{variant-gftt206x.js → skill-gftt206x.js} +0 -0
  747. /package/dist/chunks/{variant-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{variant-hk9envan.js → skill-hk9envan.js} +0 -0
  749. /package/dist/chunks/{variant-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{variant-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{variant-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{variant-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{variant-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{variant-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{variant-mp448xyj.js → skill-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{variant-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{variant-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{variant-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{variant-njntx4h6.js → skill-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{variant-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{variant-q74kybfr.js → skill-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{variant-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{variant-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{variant-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{variant-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{variant-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{variant-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{variant-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{variant-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{variant-w803qqfp.js → skill-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{variant-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{variant-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{variant-wtztk69x.js → skill-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{variant-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{variant-x61499pn.js → skill-x61499pn.js} +0 -0
  776. /package/dist/chunks/{variant-y44na4kk.js → skill-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{variant-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{variant-y8f7s663.js → skill-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{variant-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{variant-ym463w8f.js → skill-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{variant-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{variant-z9919s4g.js → skill-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./variant-dwzs7v48.js";
4
+ } from "./skill-wh3fh10e.js";
5
5
  import {
6
6
  create3
7
- } from "./variant-rdw6cm16.js";
7
+ } from "./skill-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./variant-9rqn6x4v.js";
10
+ } from "./skill-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event8,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event20,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info8,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service50,
21
- layer: () => layer20,
22
- node: () => node52
18
+ Info: () => Info29,
19
+ NotFoundError: () => NotFoundError11,
20
+ Service: () => Service81,
21
+ layer: () => layer24,
22
+ node: () => node85
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info8 = Command.Info;
27
+ import { Event as Event20 } from "@opencode/schema/command";
28
+ var Info29 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service50 extends Context.Service()("@opencode/Command") {
42
+ class Service81 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer20 = Layer.effect(Service50, Effect.gen(function* () {
44
+ var layer24 = Layer.effect(Service81, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service50, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info8.make({
54
+ const info = (definition) => Info29.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service50.of({
58
+ return Service81.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer20 = Layer.effect(Service50, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node52 = makeLocationNode({
75
- service: Service50,
76
- layer: layer20,
74
+ var node85 = makeLocationNode({
75
+ service: Service81,
76
+ layer: layer24,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info8, NotFoundError6, ExecutionError2, Service50, layer20, node52, exports_command4, Event8 };
89
+ export { Info29, NotFoundError11, ExecutionError2, Service81, layer24, node85, exports_command5, Event20 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./skill-z5v4ffb3.js";
4
4
  import {
5
- Service79
6
- } from "./variant-cz4d90js.js";
5
+ Service78
6
+ } from "./skill-rm4bhxsp.js";
7
7
  import {
8
- Service22
9
- } from "./variant-kezwgbfg.js";
8
+ Service16
9
+ } from "./skill-z9e6h83k.js";
10
10
  import {
11
- Service9
12
- } from "./variant-ah6jgryv.js";
11
+ Service8
12
+ } from "./skill-8y2amx6f.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./variant-2a5m3afh.js";
15
+ } from "./skill-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service10
27
- } from "./variant-yb01rvg4.js";
26
+ Service7
27
+ } from "./skill-a97s5rsz.js";
28
28
  import {
29
29
  __export
30
- } from "./variant-9rqn6x4v.js";
30
+ } from "./skill-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input11,
36
- Plugin: () => Plugin31,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin7,
37
37
  ReadTool: () => exports_read,
38
- name: () => name11,
39
- toModelContent: () => toModelContent6
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name11 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input11 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin31 = {
58
+ var Plugin7 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service10;
62
- const access = yield* Service22;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service7;
62
+ const access = yield* Service16;
63
+ const sessionInstructions = yield* Service8;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service78;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name11,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input11,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin31 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent6(result.path, input.offset, result.output),
116
+ content: toModelContent4(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent6 = (path, offset, output) => {
149
+ var toModelContent4 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent6 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name11, Input11, Plugin31, toModelContent6, exports_read };
185
+ export { name6, Input6, Plugin7, toModelContent4, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./skill-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin38
3
+ } from "./skill-mm5kxf07.js";
4
+ import {
5
+ Plugin36
6
+ } from "./skill-psybf3th.js";
7
+ import {
8
+ Plugin40
9
+ } from "./skill-8apeemca.js";
10
+ import {
11
+ Plugin37
12
+ } from "./skill-7fxvqdxk.js";
13
+ import {
14
+ Plugin39
15
+ } from "./skill-4r5jmef3.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin38,
20
+ Plugin36,
21
+ Plugin40,
22
+ Plugin37,
23
+ Plugin39
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service56,
3
- node59
4
- } from "./variant-0b97tqax.js";
2
+ Service43,
3
+ node47
4
+ } from "./skill-9r817s3s.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./variant-cz4d90js.js";
6
+ Service78,
7
+ node82
8
+ } from "./skill-rm4bhxsp.js";
9
9
  import {
10
- Service55,
11
- node58
12
- } from "./variant-wfppjv2a.js";
10
+ Service42,
11
+ node46
12
+ } from "./skill-v6f9c3ds.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./variant-zxq2ej10.js";
16
+ } from "./skill-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./variant-9rqn6x4v.js";
19
+ } from "./skill-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service3,
25
+ Service: () => Service4,
26
26
  empty: () => empty2,
27
27
  layer: () => layer5,
28
- node: () => node5
28
+ node: () => node6
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service3, Effect.gen(function* () {
39
- const config = yield* Service55;
40
- const watcher = yield* Service56;
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
+ const config = yield* Service42;
40
+ const watcher = yield* Service43;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service79;
42
+ const location = yield* Service78;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service3.of({
61
+ return Service4.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node5 = makeLocationNode({
74
- service: Service3,
73
+ var node6 = makeLocationNode({
74
+ service: Service4,
75
75
  layer: layer5,
76
- deps: [node58, FSUtil.node, node59, node83]
76
+ deps: [node46, FSUtil.node, node47, node82]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service3,
80
- layer: Layer.succeed(Service3, Service3.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service3, layer5, node5, empty2, exports_source };
140
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./variant-z5v4ffb3.js";
5
+ } from "./skill-z5v4ffb3.js";
6
6
  import {
7
- Service79,
8
- node83
9
- } from "./variant-cz4d90js.js";
7
+ Service78,
8
+ node82
9
+ } from "./skill-rm4bhxsp.js";
10
10
  import {
11
- Service16,
12
- node18
13
- } from "./variant-y7q3v3g9.js";
11
+ Service23,
12
+ node26
13
+ } from "./skill-1p60wd67.js";
14
14
  import {
15
15
  __export
16
- } from "./variant-9rqn6x4v.js";
16
+ } from "./skill-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event2,
27
+ Event: () => Event6,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError2,
34
+ NotFoundError: () => NotFoundError3,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service15,
36
+ Service: () => Service22,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node17
40
+ node: () => node25
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event2 = FileSystem.Event;
108
+ var Event6 = FileSystem.Event;
109
109
 
110
- class Service15 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service22 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service22, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service79;
115
- const search = yield* Service16;
114
+ const location = yield* Service78;
115
+ const search = yield* Service23;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
129
129
  return yield* Effect.die(new Error("Path escapes the location"));
130
130
  return { absolute, real, directory: location.directory };
131
131
  });
132
- return Service15.of({
132
+ return Service22.of({
133
133
  find: search.find,
134
134
  read: Effect.fn("FileSystem.read")(function* (input) {
135
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
136
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
135
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
136
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
137
137
  if (info.type !== "File")
138
138
  return yield* Effect.die(new Error("Path is not a file"));
139
139
  return {
140
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
140
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
141
141
  mime: FSUtil.mimeType(target.real)
142
142
  };
143
143
  }),
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
166
166
  })
167
167
  });
168
168
  }));
169
- var node17 = makeLocationNode({
170
- service: Service15,
169
+ var node25 = makeLocationNode({
170
+ service: Service22,
171
171
  layer: baseLayer,
172
- deps: [FSUtil.node, node83, node18]
172
+ deps: [FSUtil.node, node82, node26]
173
173
  });
174
174
 
175
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
175
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service22, node25, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./skill-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./variant-z5v4ffb3.js";
4
+ } from "./skill-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./variant-r44petzp.js";
8
+ Service80,
9
+ node84
10
+ } from "./skill-gsjnmz30.js";
11
11
  import {
12
- Service79,
13
- node83
14
- } from "./variant-cz4d90js.js";
12
+ Service78,
13
+ node82
14
+ } from "./skill-rm4bhxsp.js";
15
15
  import {
16
16
  create3
17
- } from "./variant-rdw6cm16.js";
17
+ } from "./skill-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./variant-9rqn6x4v.js";
20
+ } from "./skill-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID7,
27
- Service: () => Service60,
25
+ Error: () => Error2,
26
+ ID: () => ID4,
27
+ Service: () => Service38,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node64,
30
- noopLayer: () => noopLayer3
29
+ node: () => node41,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  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 ID7 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 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 Service60 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service38 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service60, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service60, 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 Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ 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(Service60, 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 Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ 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(Service60, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID7.make(yield* git.tree.capture({
85
+ return ID4.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(Service60, 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 Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ 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 Error5({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ 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 Service60.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node64 = makeLocationNode({
144
- service: Service60,
143
+ var node41 = makeLocationNode({
144
+ service: Service38,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node83]
146
+ deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service60, Service60.of({
148
+ var noopLayer2 = Layer.succeed(Service38, Service38.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service60, Service60.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error5 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error5({
159
+ return new Error2({
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 { ID7, Error5, Service60, node64, noopLayer3, exports_snapshot2 };
166
+ export { ID4, Error2, Service38, node41, noopLayer2, exports_snapshot2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./variant-fgywf9gk.js";
3
+ } from "./skill-6nxrbw4w.js";
4
4
  import {
5
5
  apply3
6
- } from "./variant-mmt6kfyc.js";
6
+ } from "./skill-fwmeava6.js";
7
7
  import {
8
8
  __export
9
- } from "./variant-9rqn6x4v.js";
9
+ } from "./skill-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};