@opencode/core 0.0.0-dev-20830 → 0.0.0-dev-20833

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{state-e6g20vae.js → skill-054svtv6.js} +17 -17
  8. package/dist/chunks/{state-x63y8anf.js → skill-0fdwtpfh.js} +4 -4
  9. package/dist/chunks/{state-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{state-0r3c1bmw.js → skill-0r3c1bmw.js} +2 -2
  11. package/dist/chunks/{state-krjewr0x.js → skill-0s02n0bf.js} +32 -32
  12. package/dist/chunks/{state-z89zfw7h.js → skill-0sxmr5rs.js} +25 -25
  13. package/dist/chunks/{state-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{state-bgvakscb.js → skill-0xz1meda.js} +20 -20
  15. package/dist/chunks/{state-jqd3eecq.js → skill-0yeeqf1s.js} +9 -9
  16. package/dist/chunks/{state-krmj6tzy.js → skill-0za2k72q.js} +20 -20
  17. package/dist/chunks/{state-zcwza7b0.js → skill-1016d4rp.js} +6 -6
  18. package/dist/chunks/{state-8sze2n9a.js → skill-1p07q0wb.js} +8 -8
  19. package/dist/chunks/{state-4v653aq5.js → skill-2d9r571f.js} +4 -4
  20. package/dist/chunks/{state-nh7hmz05.js → skill-2eegc9fr.js} +5 -5
  21. package/dist/chunks/{state-0jwsre1p.js → skill-2k8khapm.js} +5 -5
  22. package/dist/chunks/{state-ej0jrn3e.js → skill-2m8bs1wq.js} +10 -10
  23. package/dist/chunks/{state-hcv80w8f.js → skill-2r1j4600.js} +6 -6
  24. package/dist/chunks/{state-pyg4v0b6.js → skill-2ryng5r3.js} +4 -4
  25. package/dist/chunks/{state-hdn8e5hd.js → skill-2s02rqce.js} +4 -4
  26. package/dist/chunks/{state-2vvh33eb.js → skill-2vvh33eb.js} +2 -2
  27. package/dist/chunks/{state-wtdq1xvb.js → skill-2wc77t1t.js} +20 -20
  28. package/dist/chunks/{state-b7ag9snz.js → skill-32m338mk.js} +32 -32
  29. package/dist/chunks/{state-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{state-pz9yt98x.js → skill-3gt51074.js} +7 -7
  31. package/dist/chunks/{state-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{state-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{state-cyzep8tn.js → skill-3rcp1bkh.js} +4 -4
  34. package/dist/chunks/{state-pdhsfkgt.js → skill-3s8rp8kd.js} +11 -11
  35. package/dist/chunks/{state-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{state-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{state-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{state-50jyrsbn.js → skill-405chrpt.js} +17 -17
  39. package/dist/chunks/{state-emzsebxx.js → skill-40ptwz48.js} +6 -6
  40. package/dist/chunks/{state-djj1n09f.js → skill-4dq07bfp.js} +7 -7
  41. package/dist/chunks/{state-9a7pyw65.js → skill-4pg8xtk6.js} +33 -33
  42. package/dist/chunks/{state-ahqtxjpt.js → skill-4q6sd4ev.js} +13 -13
  43. package/dist/chunks/{state-4ts7tf6z.js → skill-4ts7tf6z.js} +2 -2
  44. package/dist/chunks/{state-qjcd7mbq.js → skill-5260vjed.js} +11 -11
  45. package/dist/chunks/{state-54ma36ye.js → skill-54ma36ye.js} +1 -1
  46. package/dist/chunks/{state-f80x16a8.js → skill-552s16s7.js} +13 -13
  47. package/dist/chunks/{state-esc9b6cf.js → skill-55ej53y0.js} +7 -7
  48. package/dist/chunks/{state-e5wg3wb1.js → skill-569ytrch.js} +22 -22
  49. package/dist/chunks/{state-xfkkasph.js → skill-57b9ws8p.js} +7 -7
  50. package/dist/chunks/{state-ghhxwymr.js → skill-5e7wkws8.js} +9 -9
  51. package/dist/chunks/{state-h93dctaq.js → skill-5fkgkkf7.js} +11 -11
  52. package/dist/chunks/{state-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{state-2p5arddx.js → skill-5nbh0nh0.js} +13 -13
  54. package/dist/chunks/{state-jnft9wxv.js → skill-5z2sj3fs.js} +8 -8
  55. package/dist/chunks/{state-bh3znjnz.js → skill-67xjq50c.js} +22 -22
  56. package/dist/chunks/{state-rpgyk1wb.js → skill-6eshf08m.js} +16 -16
  57. package/dist/chunks/{state-ndkkganb.js → skill-6p45mqr9.js} +20 -20
  58. package/dist/chunks/{state-w88g6rmw.js → skill-6qf8t02h.js} +5 -5
  59. package/dist/chunks/{state-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
  60. package/dist/chunks/{state-0ww3hhrw.js → skill-70swvzd8.js} +4 -4
  61. package/dist/chunks/{state-j9z6me7c.js → skill-724rf6bp.js} +9 -9
  62. package/dist/chunks/{state-ckxmgpbg.js → skill-73yz4zg3.js} +21 -21
  63. package/dist/chunks/{state-vbv3keym.js → skill-75s66m2y.js} +11 -11
  64. package/dist/chunks/{state-0cg871e2.js → skill-782zrs06.js} +5 -5
  65. package/dist/chunks/{state-x4adhrm2.js → skill-78vr1b9m.js} +44 -44
  66. package/dist/chunks/{state-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{state-dfam6ca0.js → skill-7caqxz4m.js} +10 -10
  68. package/dist/chunks/{state-ybtjykms.js → skill-7feea0h6.js} +11 -11
  69. package/dist/chunks/{state-ayty09pp.js → skill-7h08sh5e.js} +34 -34
  70. package/dist/chunks/{state-dp1z867b.js → skill-7jytaq0t.js} +28 -28
  71. package/dist/chunks/{state-a7e5kesa.js → skill-7my2nqf1.js} +2 -2
  72. package/dist/chunks/{state-r02hbddp.js → skill-7q2avqby.js} +18 -18
  73. package/dist/chunks/{state-b8zqr6yd.js → skill-7qv68cd5.js} +11 -11
  74. package/dist/chunks/{state-zx4tn7qt.js → skill-7s8haqk2.js} +3 -3
  75. package/dist/chunks/{state-xsmtq4qf.js → skill-7vknfave.js} +8 -8
  76. package/dist/chunks/{state-7mtsxbrk.js → skill-8044bj4y.js} +14 -14
  77. package/dist/chunks/{state-9bxt77bv.js → skill-8184nqf7.js} +53 -53
  78. package/dist/chunks/{state-rc1szs54.js → skill-81vzgppv.js} +6 -6
  79. package/dist/chunks/{state-vvdwz8bp.js → skill-8224dges.js} +4 -4
  80. package/dist/chunks/{state-8472ey6f.js → skill-8382cxrx.js} +30 -30
  81. package/dist/chunks/{state-a5ah3nzf.js → skill-87d4vk9c.js} +17 -17
  82. package/dist/chunks/{state-2ktf0ed2.js → skill-8ank75fn.js} +8 -8
  83. package/dist/chunks/{state-wzkn9px2.js → skill-8cn6pkt4.js} +6 -6
  84. package/dist/chunks/{state-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{state-xbg4wfgw.js → skill-8qgvra92.js} +9 -9
  86. package/dist/chunks/{state-rg9sha5m.js → skill-8sbesgs4.js} +7 -7
  87. package/dist/chunks/{state-kkp8zx71.js → skill-8tsdq50x.js} +4 -4
  88. package/dist/chunks/{state-0sakkys5.js → skill-98byex5e.js} +10 -10
  89. package/dist/chunks/{state-krdw763r.js → skill-9dbv26z0.js} +32 -32
  90. package/dist/chunks/{state-jjw261ry.js → skill-9k7hrna8.js} +17 -17
  91. package/dist/chunks/{state-h40gvhgm.js → skill-9mcfctbe.js} +21 -21
  92. package/dist/chunks/{state-b96c8sgz.js → skill-9weh3wzf.js} +40 -40
  93. package/dist/chunks/{state-63db42yp.js → skill-9y9sk2j9.js} +2 -2
  94. package/dist/chunks/{state-db2wf4at.js → skill-addxnjmp.js} +4 -4
  95. package/dist/chunks/{state-z3a8mnsb.js → skill-adwg6g1g.js} +43 -43
  96. package/dist/chunks/{state-72xps0ff.js → skill-ahymfmgv.js} +25 -25
  97. package/dist/chunks/{state-rccpv2ye.js → skill-atsyc4d9.js} +18 -18
  98. package/dist/chunks/{state-ss358qx3.js → skill-axe3mf62.js} +3 -3
  99. package/dist/chunks/{state-qp0mnk5r.js → skill-azwtswd0.js} +5 -5
  100. package/dist/chunks/{state-m3gr93j5.js → skill-b3cxevkr.js} +14 -14
  101. package/dist/chunks/{state-77nza94r.js → skill-bascbawg.js} +13 -13
  102. package/dist/chunks/{state-fdqap5k5.js → skill-bgjshvdd.js} +177 -177
  103. package/dist/chunks/{state-y5rf7nzv.js → skill-bp8fbaqn.js} +4 -4
  104. package/dist/chunks/{state-0dfgejyr.js → skill-bzfkpd6q.js} +2 -2
  105. package/dist/chunks/{state-c41wscbt.js → skill-c41wscbt.js} +2 -2
  106. package/dist/chunks/{state-c8ax2afj.js → skill-c8ax2afj.js} +2 -2
  107. package/dist/chunks/{state-vqfzq50h.js → skill-c8bydgjz.js} +6 -6
  108. package/dist/chunks/{state-x119eg88.js → skill-ca4nzew3.js} +30 -30
  109. package/dist/chunks/{state-d5nwps6r.js → skill-ck9gwgf3.js} +4 -4
  110. package/dist/chunks/{state-r96659h9.js → skill-cmm4jbpf.js} +37 -37
  111. package/dist/chunks/{state-5jsc8r4j.js → skill-crhgbc5p.js} +13 -13
  112. package/dist/chunks/{state-edrmdtr5.js → skill-d216944b.js} +4 -4
  113. package/dist/chunks/{state-gw7cjrad.js → skill-d2czbp48.js} +4 -4
  114. package/dist/chunks/{state-t2y7bdcw.js → skill-d2jq4w4b.js} +15 -15
  115. package/dist/chunks/{state-px6rtfw4.js → skill-d2wqpwe4.js} +16 -16
  116. package/dist/chunks/{state-9bm5c0md.js → skill-d49krybn.js} +19 -19
  117. package/dist/chunks/{state-c765mh8b.js → skill-d4he2qe1.js} +9 -9
  118. package/dist/chunks/{state-9qd4mbdw.js → skill-dac8vsng.js} +58 -58
  119. package/dist/chunks/{state-k8ktzaxx.js → skill-ddegw46w.js} +16 -16
  120. package/dist/chunks/{state-9ndy2hht.js → skill-def4v9zx.js} +15 -15
  121. package/dist/chunks/{state-hn57h045.js → skill-dhmh7aw6.js} +4 -4
  122. package/dist/chunks/{state-1jpgqh2z.js → skill-dpgmwnc4.js} +19 -19
  123. package/dist/chunks/{state-y71avatq.js → skill-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{state-m93cgr6s.js → skill-drmqggy3.js} +3 -3
  125. package/dist/chunks/{state-83tfp6t6.js → skill-dtdf0bvj.js} +17 -17
  126. package/dist/chunks/{state-hd86p3k8.js → skill-dyxreg6v.js} +4 -4
  127. package/dist/chunks/{state-w8zb7k19.js → skill-dza32a7m.js} +12 -12
  128. package/dist/chunks/{state-cfyzhaat.js → skill-e2xzawa4.js} +10 -10
  129. package/dist/chunks/{state-6ee6mja4.js → skill-e5nxv3vq.js} +11 -11
  130. package/dist/chunks/{state-sxcaecc0.js → skill-ed1g29hy.js} +3 -3
  131. package/dist/chunks/{state-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
  132. package/dist/chunks/{state-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{state-vv5tc97j.js → skill-eq0yeex0.js} +5 -5
  134. package/dist/chunks/{state-es1vcfrp.js → skill-es1vcfrp.js} +3 -3
  135. package/dist/chunks/{state-mxwkr8w2.js → skill-escw4zgr.js} +9 -9
  136. package/dist/chunks/{state-42y89c4e.js → skill-f1fr68yy.js} +20 -20
  137. package/dist/chunks/{state-qp1byhys.js → skill-f2k9zecx.js} +1 -1
  138. package/dist/chunks/{state-z88250gw.js → skill-f50qka02.js} +25 -25
  139. package/dist/chunks/{state-k9jq8a9f.js → skill-fgwtchw0.js} +22 -22
  140. package/dist/chunks/{state-2wy3czpc.js → skill-fne91c8b.js} +1 -1
  141. package/dist/chunks/{state-944h6gfv.js → skill-fnvcpqmt.js} +28 -28
  142. package/dist/chunks/{state-51wkfrt1.js → skill-ftb54e0p.js} +5 -5
  143. package/dist/chunks/{state-4gbdxvwm.js → skill-fw4wre8b.js} +19 -19
  144. package/dist/chunks/{state-3y03j49s.js → skill-fwbwyram.js} +9 -9
  145. package/dist/chunks/{state-171hx01y.js → skill-g08k2zh7.js} +15 -15
  146. package/dist/chunks/{state-tvwsnpay.js → skill-g2gac3xs.js} +5 -5
  147. package/dist/chunks/{state-dyabj6q8.js → skill-g5nsxxxe.js} +13 -13
  148. package/dist/chunks/{state-yknhy38n.js → skill-g6wep00f.js} +50 -50
  149. package/dist/chunks/{state-cfnx7scx.js → skill-ga6p1d4m.js} +50 -50
  150. package/dist/chunks/{state-0nafeyy2.js → skill-gc8ctcma.js} +15 -15
  151. package/dist/chunks/{state-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{state-gk8qb678.js → skill-gk8qb678.js} +1 -1
  153. package/dist/chunks/{state-x1hcexjc.js → skill-gtv9dk19.js} +3 -3
  154. package/dist/chunks/{state-2j0vym9z.js → skill-gvs8fea6.js} +13 -13
  155. package/dist/chunks/{state-ccx2wqdd.js → skill-h5y6xa2t.js} +5 -5
  156. package/dist/chunks/{state-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{state-h7s7r6s9.js → skill-h7s7r6s9.js} +2 -2
  158. package/dist/chunks/{state-zyk1yjk8.js → skill-hdkng2sj.js} +5 -5
  159. package/dist/chunks/{state-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
  160. package/dist/chunks/{state-d2m5w5xb.js → skill-hrpnb9ff.js} +45 -45
  161. package/dist/chunks/{state-a0x3wzs7.js → skill-hz47x616.js} +10 -10
  162. package/dist/chunks/{state-24myjta5.js → skill-hzpy5m7f.js} +6 -6
  163. package/dist/chunks/{state-91qna3x0.js → skill-j09zfasm.js} +3 -3
  164. package/dist/chunks/{state-2zxcz0hw.js → skill-j2g33a1c.js} +25 -25
  165. package/dist/chunks/{state-11ca2t5k.js → skill-j4kvmnhv.js} +46 -46
  166. package/dist/chunks/{state-5zrs708t.js → skill-j56at9tr.js} +16 -16
  167. package/dist/chunks/{state-j56e64zr.js → skill-j56e64zr.js} +1 -1
  168. package/dist/chunks/{state-jjneh92f.js → skill-j6w7t3kf.js} +16 -16
  169. package/dist/chunks/{state-rjjk3vjj.js → skill-je0cjxy7.js} +18 -18
  170. package/dist/chunks/{state-1nzh38e4.js → skill-jvvc3tfq.js} +9 -9
  171. package/dist/chunks/{state-4tm360fx.js → skill-jy0k167r.js} +11 -11
  172. package/dist/chunks/{state-wm17x2yg.js → skill-jzrsbs88.js} +16 -16
  173. package/dist/chunks/{state-87bedf94.js → skill-k16p1bxt.js} +11 -11
  174. package/dist/chunks/{state-1xzgq0dt.js → skill-k9gjc60j.js} +13 -13
  175. package/dist/chunks/{state-f06gwrsq.js → skill-k9nsdntx.js} +8 -8
  176. package/dist/chunks/{state-jqpbgzsk.js → skill-ka3752hn.js} +10 -10
  177. package/dist/chunks/{state-khmqacep.js → skill-khmqacep.js} +1 -1
  178. package/dist/chunks/{state-kg8sbxbz.js → skill-kw4nzx18.js} +23 -23
  179. package/dist/chunks/{state-gtx4ax2e.js → skill-kx3hc9sa.js} +49 -49
  180. package/dist/chunks/{state-29c6hkck.js → skill-m2ty9nkc.js} +8 -8
  181. package/dist/chunks/{state-2r93mh4x.js → skill-m329mjby.js} +5 -5
  182. package/dist/chunks/{state-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{state-2qhyej25.js → skill-mg81a4xy.js} +19 -19
  184. package/dist/chunks/{state-k6dq7md3.js → skill-mge78gw6.js} +15 -15
  185. package/dist/chunks/{state-h986hd8g.js → skill-mhbm5qcp.js} +17 -17
  186. package/dist/chunks/{state-8enzew06.js → skill-mqrxernt.js} +34 -34
  187. package/dist/chunks/{state-hdxgsgcv.js → skill-mt9hgtdy.js} +5 -5
  188. package/dist/chunks/{state-qv34d5f9.js → skill-n7js4ddx.js} +11 -11
  189. package/dist/chunks/skill-n95b3jav.js +18 -0
  190. package/dist/chunks/{state-2fr77vvd.js → skill-naqa8k3j.js} +22 -22
  191. package/dist/chunks/{state-88xma3a9.js → skill-nghc8s7q.js} +11 -11
  192. package/dist/chunks/{state-0557p3be.js → skill-nx80jqtx.js} +32 -32
  193. package/dist/chunks/{state-ghsw8zx7.js → skill-ny2kewhb.js} +15 -15
  194. package/dist/chunks/{state-4g85bg4y.js → skill-p09nk2vw.js} +20 -20
  195. package/dist/chunks/{state-x372j2ps.js → skill-p1dwhgj1.js} +30 -30
  196. package/dist/chunks/{state-x39s0e6k.js → skill-pdve0n95.js} +16 -16
  197. package/dist/chunks/{state-phz50fbd.js → skill-phz50fbd.js} +2 -2
  198. package/dist/chunks/{state-e8vwfchq.js → skill-pjsqfx9m.js} +6 -6
  199. package/dist/chunks/{state-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{state-pknna89w.js → skill-pknna89w.js} +1 -1
  201. package/dist/chunks/{state-xjk7skpn.js → skill-pp05avfq.js} +25 -25
  202. package/dist/chunks/{state-5av0yrf2.js → skill-ppbj35cq.js} +24 -24
  203. package/dist/chunks/{state-ywszk2jg.js → skill-prgac22y.js} +5 -5
  204. package/dist/chunks/{state-q0xm7vwc.js → skill-q0xm7vwc.js} +2 -2
  205. package/dist/chunks/{state-k0b9ft2z.js → skill-q7hrjn7r.js} +11 -11
  206. package/dist/chunks/{state-6xpm1twa.js → skill-q869bsgd.js} +10 -10
  207. package/dist/chunks/{state-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{state-qsdy395h.js → skill-qsdy395h.js} +1 -1
  209. package/dist/chunks/{state-adnxhg2x.js → skill-r6543sev.js} +30 -30
  210. package/dist/chunks/{state-b7e85k7b.js → skill-r7ady3br.js} +16 -16
  211. package/dist/chunks/{state-8v02gd0t.js → skill-rd755b8h.js} +8 -8
  212. package/dist/chunks/{state-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{state-1msdpkf3.js → skill-rfp5zzsq.js} +12 -12
  214. package/dist/chunks/{state-t8neg7x7.js → skill-rhbg084w.js} +33 -33
  215. package/dist/chunks/{state-eaj1djv9.js → skill-rhjbct0v.js} +8 -8
  216. package/dist/chunks/{state-efpar2mq.js → skill-s0q95er0.js} +3 -3
  217. package/dist/chunks/{state-cg9scsxc.js → skill-s4tq5zkz.js} +32 -32
  218. package/dist/chunks/{state-ghrzdqqx.js → skill-sfkj0ta1.js} +5 -5
  219. package/dist/chunks/{state-9rbc7h43.js → skill-skc70r5h.js} +17 -17
  220. package/dist/chunks/{state-x52x10kp.js → skill-smfwgzza.js} +25 -25
  221. package/dist/chunks/{state-72cj47zm.js → skill-srcpm4ff.js} +8 -8
  222. package/dist/chunks/{state-syv4x271.js → skill-syv4x271.js} +1 -1
  223. package/dist/chunks/{state-hazngtky.js → skill-syxdd2xa.js} +4 -4
  224. package/dist/chunks/{state-cwmk4gds.js → skill-t1megmfx.js} +7 -7
  225. package/dist/chunks/{state-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{state-89znhe33.js → skill-tcezcvh9.js} +4 -4
  227. package/dist/chunks/{state-tdstcens.js → skill-tdstcens.js} +1 -1
  228. package/dist/chunks/{state-w3ajezp3.js → skill-th0tys96.js} +12 -12
  229. package/dist/chunks/{state-tkb22qbm.js → skill-tkb22qbm.js} +2 -2
  230. package/dist/chunks/{state-pa8pe2x7.js → skill-tpw6cwsb.js} +8 -8
  231. package/dist/chunks/{state-txm3e8qz.js → skill-txm3e8qz.js} +1 -1
  232. package/dist/chunks/{state-tyytaxap.js → skill-tyytaxap.js} +1 -1
  233. package/dist/chunks/{state-v0es1rhs.js → skill-v0es1rhs.js} +2 -2
  234. package/dist/chunks/{state-mnvbn3nr.js → skill-v6kwrd5g.js} +9 -9
  235. package/dist/chunks/{state-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
  236. package/dist/chunks/{state-vztm24v3.js → skill-vc3yqv7h.js} +43 -43
  237. package/dist/chunks/{state-veqvce7d.js → skill-veqvce7d.js} +1 -1
  238. package/dist/chunks/{state-cnv8w6dz.js → skill-vfwyw16r.js} +84 -84
  239. package/dist/chunks/{state-1v5f3sf1.js → skill-vq1egqyg.js} +13 -13
  240. package/dist/chunks/{state-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
  241. package/dist/chunks/{state-84txncab.js → skill-w1eejvng.js} +5 -5
  242. package/dist/chunks/{state-n5my2xp1.js → skill-w2hcdfr2.js} +15 -15
  243. package/dist/chunks/{state-w39jehkq.js → skill-w39jehkq.js} +2 -2
  244. package/dist/chunks/{state-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{state-wrt27mz2.js → skill-w6q9gv7w.js} +9 -9
  246. package/dist/chunks/{state-z0xmsghh.js → skill-w7zc90am.js} +15 -15
  247. package/dist/chunks/{state-wd87259q.js → skill-wd87259q.js} +1 -1
  248. package/dist/chunks/{state-83exb234.js → skill-wda1rmmt.js} +26 -26
  249. package/dist/chunks/{state-1yceajqh.js → skill-wp0p5d3x.js} +16 -16
  250. package/dist/chunks/{state-jznafckq.js → skill-wqaw1cba.js} +11 -11
  251. package/dist/chunks/{state-1hrrgg86.js → skill-wsaedz03.js} +312 -312
  252. package/dist/chunks/{state-82qb1t6x.js → skill-wsmkzf2y.js} +11 -11
  253. package/dist/chunks/{state-n8axfj05.js → skill-wv2bk7tv.js} +5 -5
  254. package/dist/chunks/{state-fbw9agv5.js → skill-x24eaf8s.js} +30 -30
  255. package/dist/chunks/{state-rxg074bj.js → skill-x3sq15ye.js} +22 -22
  256. package/dist/chunks/{state-gaabptfq.js → skill-x3wf1psf.js} +21 -21
  257. package/dist/chunks/{state-bxkmvfck.js → skill-x4npy98r.js} +26 -26
  258. package/dist/chunks/{state-ny5dcp87.js → skill-x5qhrbsh.js} +28 -28
  259. package/dist/chunks/skill-xe7nf68j.js +253 -0
  260. package/dist/chunks/{state-58peq4z0.js → skill-xfcvf5p3.js} +3 -3
  261. package/dist/chunks/{state-ykry54sk.js → skill-xjg7zrhk.js} +30 -30
  262. package/dist/chunks/{state-36n3adjp.js → skill-xnbxhycs.js} +31 -31
  263. package/dist/chunks/{state-adrw5mdv.js → skill-xqdvt29a.js} +81 -81
  264. package/dist/chunks/{state-1p1kcw92.js → skill-xqfqvw8r.js} +8 -8
  265. package/dist/chunks/{state-7zt5x37y.js → skill-xybefm6f.js} +1 -1
  266. package/dist/chunks/{state-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{state-wjqb2vp5.js → skill-y56ehv6b.js} +9 -9
  268. package/dist/chunks/{state-8aaqm6qj.js → skill-y72zmemf.js} +8 -8
  269. package/dist/chunks/{state-1acjjqhc.js → skill-yp2x3t23.js} +4 -4
  270. package/dist/chunks/{state-ftz7pznp.js → skill-yta13bge.js} +10 -10
  271. package/dist/chunks/{state-35rvysyk.js → skill-yvmxv5ps.js} +6 -6
  272. package/dist/chunks/{state-ywt8jp22.js → skill-ywt8jp22.js} +2 -2
  273. package/dist/chunks/{state-xw7yq2vg.js → skill-ywwge2w7.js} +32 -32
  274. package/dist/chunks/{state-b3d5k4tq.js → skill-yystcyqc.js} +11 -11
  275. package/dist/chunks/{state-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{state-nza4bhrq.js → skill-z0dmr40s.js} +5 -5
  277. package/dist/chunks/{state-s5qxm7c2.js → skill-z5pcptfa.js} +11 -11
  278. package/dist/chunks/{state-sc2t89x6.js → skill-z9w0eb3r.js} +12 -12
  279. package/dist/chunks/{state-9f40cav3.js → skill-zfa7ynd8.js} +17 -17
  280. package/dist/chunks/{state-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{state-3yqqv8dh.js → skill-zrnd17ej.js} +37 -37
  282. package/dist/chunks/{state-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{state-zj4r7vbk.js → skill-zyc0r4e4.js} +3 -3
  284. package/dist/chunks/{state-jvmjd6nh.js → skill-zzds4v72.js} +17 -17
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +115 -115
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +216 -216
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +88 -88
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +6 -6
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +85 -85
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +98 -98
  475. package/dist/model.js +104 -104
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +96 -96
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +97 -97
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +93 -93
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +2 -2
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +82 -82
  558. package/dist/provider.js +103 -103
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +87 -87
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +89 -89
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +129 -129
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +88 -88
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +224 -224
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +203 -203
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +153 -153
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +209 -209
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +215 -215
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +2 -2
  626. package/dist/skill/instructions.js +107 -107
  627. package/dist/skill.js +112 -112
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +212 -212
  645. package/dist/tool/plugin/webfetch.js +110 -110
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +12 -12
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +2 -2
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +1 -1
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +2 -2
  670. package/dist/variant.js +95 -95
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +82 -82
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/state-9zdhvgqs.js +0 -18
  686. package/dist/chunks/state-y2yc1hmv.js +0 -253
  687. /package/dist/chunks/{state-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{state-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{state-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{state-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{state-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{state-24dcb14g.js → skill-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{state-2710q6r3.js → skill-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{state-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{state-2bv980vf.js → skill-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{state-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{state-359p4xyc.js → skill-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{state-3asan66x.js → skill-3asan66x.js} +0 -0
  699. /package/dist/chunks/{state-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{state-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{state-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{state-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{state-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{state-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{state-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{state-53557ph1.js → skill-53557ph1.js} +0 -0
  707. /package/dist/chunks/{state-550bvhaj.js → skill-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{state-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{state-6prwharc.js → skill-6prwharc.js} +0 -0
  710. /package/dist/chunks/{state-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{state-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{state-7m9af43g.js → skill-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{state-822emrt2.js → skill-822emrt2.js} +0 -0
  714. /package/dist/chunks/{state-84wd9syh.js → skill-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{state-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{state-8n3pysct.js → skill-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{state-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{state-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{state-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{state-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{state-af5trqkr.js → skill-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{state-afrmfg78.js → skill-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{state-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{state-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{state-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{state-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{state-bw78ga2c.js → skill-bw78ga2c.js} +0 -0
  728. /package/dist/chunks/{state-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{state-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{state-d9fn303g.js → skill-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{state-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{state-dajrwvna.js → skill-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{state-dap0rakb.js → skill-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{state-df08tz66.js → skill-df08tz66.js} +0 -0
  735. /package/dist/chunks/{state-dy18nga0.js → skill-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{state-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{state-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{state-ec1grn59.js → skill-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{state-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{state-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{state-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{state-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{state-faypxj3z.js → skill-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{state-fd410y7t.js → skill-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{state-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{state-g86h250q.js → skill-g86h250q.js} +0 -0
  747. /package/dist/chunks/{state-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{state-gftt206x.js → skill-gftt206x.js} +0 -0
  749. /package/dist/chunks/{state-hk9envan.js → skill-hk9envan.js} +0 -0
  750. /package/dist/chunks/{state-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{state-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{state-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{state-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{state-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{state-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{state-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{state-m18g726c.js → skill-m18g726c.js} +0 -0
  758. /package/dist/chunks/{state-mp448xyj.js → skill-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{state-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{state-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{state-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{state-njntx4h6.js → skill-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{state-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{state-pyv0edze.js → skill-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{state-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{state-q74kybfr.js → skill-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{state-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{state-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{state-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{state-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{state-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{state-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{state-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{state-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{state-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{state-w803qqfp.js → skill-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{state-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{state-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{state-wtztk69x.js → skill-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{state-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{state-x61499pn.js → skill-x61499pn.js} +0 -0
  782. /package/dist/chunks/{state-y44na4kk.js → skill-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{state-y8f7s663.js → skill-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{state-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{state-ym463w8f.js → skill-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{state-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{state-z9919s4g.js → skill-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./state-88xbtdfr.js";
3
+ } from "./skill-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./state-5qd3pb7m.js";
6
+ } from "./skill-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./skill-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event7,
14
+ Event: () => Event8,
15
15
  Native: () => Native3,
16
16
  Options: () => Options7,
17
- Service: () => Service52,
17
+ Service: () => Service54,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured6,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer19,
22
+ layer: () => layer23,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node54,
25
+ node: () => node56,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event7 = { Updated: FileSystem.Event.Changed };
36
+ var Event8 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -57,14 +57,14 @@ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service52 extends Context.Service()("@opencode/Watcher") {
60
+ class Service54 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer19 = (options) => Layer.effect(Service52, Effect.gen(function* () {
65
+ var layer23 = (options) => Layer.effect(Service54, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service54.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service52, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service52.of({ subscribe });
108
+ return Service54.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service52).subscribe,
134
+ subscribe: Context.get(context, Service54).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service54, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured6(options) {
168
- return makeGlobalNode({ service: Service52, layer: layer19(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service54, layer: layer23(options), deps: [nativeNode2] });
169
169
  }
170
- var node54 = configured6();
170
+ var node56 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event7, hasNativeBinding2, Native3, Options7, Service52, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured6, node54, exports_watcher };
190
+ export { Event8, hasNativeBinding2, Native3, Options7, Service54, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured7, node56, exports_watcher };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./state-a7e5kesa.js";
5
+ } from "./skill-7my2nqf1.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./state-z5v4ffb3.js";
4
+ } from "./skill-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service83,
9
9
  node87
10
- } from "./state-2r93mh4x.js";
10
+ } from "./skill-m329mjby.js";
11
11
  import {
12
12
  Service81,
13
- node85
14
- } from "./state-vv5tc97j.js";
13
+ node84
14
+ } from "./skill-eq0yeex0.js";
15
15
  import {
16
16
  create3
17
- } from "./state-rdw6cm16.js";
17
+ } from "./skill-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./state-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: () => Error2,
25
+ Error: () => Error4,
26
26
  ID: () => ID4,
27
- Service: () => Service32,
27
+ Service: () => Service58,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node35,
30
- noopLayer: () => noopLayer2
29
+ node: () => node60,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 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 Service32 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service58 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service32, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service83;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service32, 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 Error2({ 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)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service32.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service58.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node35 = makeLocationNode({
153
- service: Service32,
152
+ var node60 = makeLocationNode({
153
+ service: Service58,
154
154
  layer,
155
- deps: [FSUtil.node, node87, Global.node, node85]
155
+ deps: [FSUtil.node, node87, Global.node, node84]
156
156
  });
157
- var noopLayer2 = Layer.succeed(Service32, Service32.of({
157
+ var noopLayer3 = Layer.succeed(Service58, Service58.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service32, Service32.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error2 && cause.operation === operation)
166
+ if (cause instanceof Error4 && cause.operation === operation)
167
167
  return cause;
168
- return new Error2({
168
+ return new Error4({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID4, Error2, Service32, node35, noopLayer2, exports_snapshot2 };
175
+ export { ID4, Error4, Service58, node60, noopLayer3, exports_snapshot2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./state-vvdwz8bp.js";
4
+ } from "./skill-8224dges.js";
5
5
  import {
6
6
  create3
7
- } from "./state-rdw6cm16.js";
7
+ } from "./skill-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./state-9bxt77bv.js";
10
+ } from "./skill-8184nqf7.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./skill-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event9,
21
- ID: () => ID6,
22
- Info: () => Info14,
20
+ Event: () => Event14,
21
+ ID: () => ID8,
22
+ Info: () => Info17,
23
23
  Name: () => Name2,
24
- Service: () => Service55,
24
+ Service: () => Service70,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available3,
29
- node: () => node57,
29
+ node: () => node73,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event9 } from "@opencode/schema/skill";
37
+ import { Event as Event14 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info14 = Skill.Info;
43
- var ID6 = Skill.ID;
42
+ var Info17 = Skill.Info;
43
+ var ID8 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service55 extends Context.Service()("@opencode/Skill") {
74
+ class Service70 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service55, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
77
77
  const bus = yield* Service84;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID8.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID8.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID8.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID8.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service55.of({
100
+ return Service70.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node57 = makeLocationNode({
112
- service: Service55,
111
+ var node73 = makeLocationNode({
112
+ service: Service70,
113
113
  layer,
114
114
  deps: [node88]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info14, ID6, Name2, available3, toModelOutput3, prepare3, Service55, node57, exports_skill5, Event9 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info17, ID8, Name2, available3, toModelOutput3, prepare3, Service70, node73, exports_skill5, Event14 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./state-fbw9agv5.js";
4
+ } from "./skill-x24eaf8s.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./state-vvdwz8bp.js";
4
+ } from "./skill-8224dges.js";
5
5
  import {
6
- Service29,
7
- node33
8
- } from "./state-gtx4ax2e.js";
6
+ Service42,
7
+ node45
8
+ } from "./skill-kx3hc9sa.js";
9
9
  import {
10
- Service76,
11
- node80
12
- } from "./state-9bxt77bv.js";
10
+ Service71,
11
+ node74
12
+ } from "./skill-8184nqf7.js";
13
13
  import {
14
- Service45,
14
+ Service44,
15
15
  node47
16
- } from "./state-2fr77vvd.js";
16
+ } from "./skill-naqa8k3j.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./skill-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service24,
26
- layer: () => layer11,
27
- name: () => name13,
25
+ Service: () => Service41,
26
+ layer: () => layer17,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node28
29
+ node: () => node44
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service24 extends Context.Service()("@opencode/McpTool") {
38
+ class Service41 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service24, Effect.gen(function* () {
41
- const mcp = yield* Service29;
42
- const tools = yield* Service45;
40
+ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
41
+ const mcp = yield* Service42;
42
+ const tools = yield* Service44;
43
43
  const bus = yield* Service84;
44
- const permission = yield* Service76;
44
+ const permission = yield* Service71;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service41.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node28 = makeLocationNode({
124
- service: Service24,
125
- layer: layer11,
126
- deps: [node47, node33, node88, node80]
123
+ var node44 = makeLocationNode({
124
+ service: Service41,
125
+ layer: layer17,
126
+ deps: [node47, node45, node88, node74]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service24, layer11, node28, exports_mcp3 };
129
+ export { namespace2, name14, Service41, layer17, node44, exports_mcp3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./state-9bxt77bv.js";
3
+ } from "./skill-8184nqf7.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./skill-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin43
12
+ Plugin: () => Plugin48
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin43 = define({
32
+ var Plugin48 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin43, exports_plan };
108
+ export { Plugin48, exports_plan };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./state-vvdwz8bp.js";
4
+ } from "./skill-8224dges.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./state-tazgh4e4.js";
9
+ } from "./skill-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./state-jnft9wxv.js";
12
+ } from "./skill-5z2sj3fs.js";
13
13
  import {
14
14
  Service81,
15
- node85
16
- } from "./state-vv5tc97j.js";
15
+ node84
16
+ } from "./skill-eq0yeex0.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./state-rdw6cm16.js";
20
+ } from "./skill-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./state-9rqn6x4v.js";
23
+ } from "./skill-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info4,
32
+ Info: () => Info5,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service16,
35
+ Service: () => Service26,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node19
37
+ node: () => node29
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service16 extends Context.Service()("@opencode/Vcs") {
57
+ class Service26 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service16, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
61
  const location = yield* Service81;
62
62
  const bus = yield* Service84;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service16.of({
132
+ return Service26.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node19 = makeLocationNode({
191
- service: Service16,
190
+ var node29 = makeLocationNode({
191
+ service: Service26,
192
192
  layer,
193
- deps: [FSUtil.node, node85, node88]
193
+ deps: [FSUtil.node, node84, node88]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service16, node19, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service26, node29, exports_vcs };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service41
3
- } from "./state-vqfzq50h.js";
2
+ Service49
3
+ } from "./skill-c8bydgjz.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./state-9zdhvgqs.js";
6
+ } from "./skill-n95b3jav.js";
7
7
  import {
8
- Service47
9
- } from "./state-d2m5w5xb.js";
8
+ Service51
9
+ } from "./skill-hrpnb9ff.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./state-vzs5sf6e.js";
12
+ } from "./skill-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./skill-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service41;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
25
+ const instances = yield* Service49;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,