@opencode/core 0.0.0-dev-21269 → 0.0.0-dev-21286

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 (806) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{voice-ydyb6qzy.js → skill-05vzypjk.js} +13 -13
  8. package/dist/chunks/{voice-hnqavcr7.js → skill-06waph1v.js} +50 -50
  9. package/dist/chunks/{voice-7gksfrk6.js → skill-09nv85a9.js} +30 -30
  10. package/dist/chunks/{voice-e7faghhc.js → skill-0adv686s.js} +8 -8
  11. package/dist/chunks/{voice-xybefm6f.js → skill-0ebt9ktc.js} +17 -13
  12. package/dist/chunks/{voice-3px9zfj5.js → skill-0s4awtrm.js} +29 -29
  13. package/dist/chunks/{voice-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{voice-xn17cbv3.js → skill-13a51vk5.js} +8 -8
  15. package/dist/chunks/{voice-6dh1jvz0.js → skill-15v1mmar.js} +13 -13
  16. package/dist/chunks/{voice-q303yhz1.js → skill-1cp9bz2d.js} +12 -12
  17. package/dist/chunks/{voice-bzeyqsqd.js → skill-1ep4rre3.js} +4 -4
  18. package/dist/chunks/{voice-1ffvrpkg.js → skill-1ffvrpkg.js} +2 -2
  19. package/dist/chunks/{voice-ft66ww99.js → skill-1gmddy7b.js} +4 -4
  20. package/dist/chunks/{voice-15rr0twx.js → skill-1scs9kvk.js} +23 -23
  21. package/dist/chunks/{voice-788azn8w.js → skill-1x40g0cb.js} +77 -154
  22. package/dist/chunks/{voice-3xsm4mrf.js → skill-1x9n3mmz.js} +36 -36
  23. package/dist/chunks/{voice-y8ng1a9s.js → skill-1ywjs8d5.js} +11 -11
  24. package/dist/chunks/{voice-d1r5081s.js → skill-207ajt2h.js} +5 -5
  25. package/dist/chunks/{voice-m552b91p.js → skill-22fjnv6b.js} +13 -13
  26. package/dist/chunks/{voice-ddsesdvm.js → skill-22zjq5d7.js} +22 -22
  27. package/dist/chunks/{voice-zf1d6pfw.js → skill-23fhnjw2.js} +9 -9
  28. package/dist/chunks/{voice-fcy1mh1a.js → skill-24qb9ktg.js} +31 -31
  29. package/dist/chunks/{voice-52nydkw8.js → skill-284nz0qx.js} +5 -5
  30. package/dist/chunks/{voice-0jwsre1p.js → skill-2k8khapm.js} +5 -5
  31. package/dist/chunks/{voice-kj9vwc9j.js → skill-2pqzp2n5.js} +28 -28
  32. package/dist/chunks/{voice-z5pvh795.js → skill-2pv2ee2c.js} +8 -8
  33. package/dist/chunks/{voice-3pr9cre2.js → skill-2rhr1j2v.js} +32 -32
  34. package/dist/chunks/{voice-1e040kv3.js → skill-2s32b1pm.js} +2 -2
  35. package/dist/chunks/{voice-hyjay5vw.js → skill-2xre7bbz.js} +19 -19
  36. package/dist/chunks/{voice-dbx1c2tg.js → skill-2ydj7fj1.js} +33 -33
  37. package/dist/chunks/{voice-a4rkzzpg.js → skill-30x38mv8.js} +46 -46
  38. package/dist/chunks/{voice-gsbrh5b6.js → skill-33vw7qyp.js} +22 -22
  39. package/dist/chunks/{voice-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{voice-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
  41. package/dist/chunks/{voice-dp558nrd.js → skill-3s06hs9t.js} +3 -3
  42. package/dist/chunks/{voice-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{voice-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{voice-zc7as1na.js → skill-3w4mwa0r.js} +19 -19
  45. package/dist/chunks/{voice-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{voice-hx6e907q.js → skill-40h581yp.js} +8 -8
  47. package/dist/chunks/{voice-q8ra9vd5.js → skill-47zrz7pg.js} +27 -27
  48. package/dist/chunks/{voice-7wfv1tbf.js → skill-49eyavm8.js} +7 -7
  49. package/dist/chunks/{voice-bft59c27.js → skill-4ckgtqrh.js} +9 -9
  50. package/dist/chunks/{voice-80kf5cft.js → skill-4g7bc71f.js} +25 -25
  51. package/dist/chunks/{voice-rzk8bj82.js → skill-4mwphs2k.js} +6 -6
  52. package/dist/chunks/{voice-0jq9fyba.js → skill-4nj4bn9q.js} +9 -9
  53. package/dist/chunks/{voice-rjmsaa2q.js → skill-4ptxcp1e.js} +19 -19
  54. package/dist/chunks/{voice-zd055dky.js → skill-4r2zbptf.js} +63 -66
  55. package/dist/chunks/{voice-htn8a1qv.js → skill-4t2jy500.js} +13 -13
  56. package/dist/chunks/skill-4wsa0agf.js +257 -0
  57. package/dist/chunks/{voice-54ma36ye.js → skill-54ma36ye.js} +1 -1
  58. package/dist/chunks/{voice-wt0mmhah.js → skill-5dc849gq.js} +6 -6
  59. package/dist/chunks/{voice-e0yy9ryt.js → skill-5efy2ttq.js} +11 -11
  60. package/dist/chunks/{voice-1a5chre8.js → skill-5jpamcfq.js} +12 -12
  61. package/dist/chunks/{voice-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{voice-0n7hx3s8.js → skill-5vf4742z.js} +21 -28
  63. package/dist/chunks/{voice-wez1ajrw.js → skill-5wzag2z6.js} +7 -7
  64. package/dist/chunks/{voice-6827pfxn.js → skill-6827pfxn.js} +1 -1
  65. package/dist/chunks/{voice-zhc0v3qp.js → skill-6p3qshzc.js} +32 -32
  66. package/dist/chunks/{voice-4bnzbgn8.js → skill-6s9dfnwd.js} +9 -7
  67. package/dist/chunks/{voice-8sc2nzy6.js → skill-6x24qp8q.js} +10 -10
  68. package/dist/chunks/{voice-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{voice-775gj3j1.js → skill-775gj3j1.js} +2 -2
  70. package/dist/chunks/{voice-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{voice-y32fbaee.js → skill-7es1h6bd.js} +7 -7
  72. package/dist/chunks/{voice-a20pjse5.js → skill-7v6vae4w.js} +3 -3
  73. package/dist/chunks/{voice-4ts41tr6.js → skill-7xw63ggs.js} +2 -2
  74. package/dist/chunks/{voice-84txncab.js → skill-84txncab.js} +1 -1
  75. package/dist/chunks/{voice-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
  76. package/dist/chunks/skill-8mywswrd.js +86 -0
  77. package/dist/chunks/{voice-h81g9n7s.js → skill-8nr83adb.js} +6 -6
  78. package/dist/chunks/{voice-hen2h1me.js → skill-8psfat6b.js} +3 -3
  79. package/dist/chunks/{voice-4qnvasr9.js → skill-8w9ta1h6.js} +5 -5
  80. package/dist/chunks/{voice-7czk49a2.js → skill-96ewcb6m.js} +11 -11
  81. package/dist/chunks/{voice-72sk51vb.js → skill-994fvcqk.js} +35 -35
  82. package/dist/chunks/{voice-p37cw4rj.js → skill-9hn6k4tm.js} +8 -8
  83. package/dist/chunks/{voice-55m81wnp.js → skill-9nyvt9wv.js} +5 -5
  84. package/dist/chunks/{voice-atsf9aqe.js → skill-9sgsjpgv.js} +6 -6
  85. package/dist/chunks/{voice-9t0xmec0.js → skill-9w133m1s.js} +15 -15
  86. package/dist/chunks/skill-9zdhvgqs.js +18 -0
  87. package/dist/chunks/{voice-pcf1k9th.js → skill-acrka64b.js} +6 -6
  88. package/dist/chunks/{voice-a7t9gw66.js → skill-ahnhtz0s.js} +11 -11
  89. package/dist/chunks/{voice-gm31ynds.js → skill-aj3rbcf1.js} +5 -5
  90. package/dist/chunks/{voice-zxc5z6hb.js → skill-an6ss4rp.js} +33 -33
  91. package/dist/chunks/{voice-8k16pbxa.js → skill-az180baf.js} +5 -5
  92. package/dist/chunks/{voice-m0xs32yr.js → skill-az9pkjsk.js} +32 -31
  93. package/dist/chunks/{voice-46459d5e.js → skill-azfbpf7r.js} +47 -49
  94. package/dist/chunks/{voice-y6bex35g.js → skill-azwe5p1w.js} +4 -4
  95. package/dist/chunks/{voice-capghd97.js → skill-b0m1ne2p.js} +23 -23
  96. package/dist/chunks/{voice-y8m1m766.js → skill-b5e8q9y4.js} +4 -4
  97. package/dist/chunks/{voice-vzbxwz1d.js → skill-bh2h312c.js} +11 -11
  98. package/dist/chunks/{voice-gj46k6vd.js → skill-bkatn0cp.js} +16 -16
  99. package/dist/chunks/{voice-7zjhs1nm.js → skill-bm84hcav.js} +17 -17
  100. package/dist/chunks/{voice-166kng33.js → skill-bnmr3cva.js} +8 -8
  101. package/dist/chunks/{voice-p38fre57.js → skill-bteyxjds.js} +5 -5
  102. package/dist/chunks/{voice-81rrwt6s.js → skill-bw9zjykr.js} +6 -6
  103. package/dist/chunks/{voice-rj3eygr5.js → skill-c41wscbt.js} +2 -2
  104. package/dist/chunks/{voice-dqpnj7av.js → skill-c5cr6fz1.js} +26 -26
  105. package/dist/chunks/{voice-sa8ekw3f.js → skill-c8ax2afj.js} +2 -2
  106. package/dist/chunks/{voice-jnsvnygx.js → skill-cd870end.js} +52 -52
  107. package/dist/chunks/{voice-q2sz1tra.js → skill-cgjwj88c.js} +9 -9
  108. package/dist/chunks/{voice-d10c0ppg.js → skill-cka3pwfj.js} +20 -21
  109. package/dist/chunks/{voice-pzta8gqa.js → skill-cse5452s.js} +23 -23
  110. package/dist/chunks/{voice-be82r499.js → skill-cxfgc6by.js} +2 -2
  111. package/dist/chunks/{voice-1k9hs225.js → skill-dcpjbqwq.js} +4 -4
  112. package/dist/chunks/{voice-10q04s9m.js → skill-dddsnv1t.js} +19 -19
  113. package/dist/chunks/{voice-t6p333e3.js → skill-dh1wnrr3.js} +26 -26
  114. package/dist/chunks/{voice-y71avatq.js → skill-dpkg50ah.js} +4 -4
  115. package/dist/chunks/{voice-2560qahv.js → skill-dsc898vs.js} +23 -23
  116. package/dist/chunks/{voice-fe7mjage.js → skill-dsct1602.js} +11 -11
  117. package/dist/chunks/{voice-wh6zw745.js → skill-dssbfrwz.js} +5 -5
  118. package/dist/chunks/{voice-zybbj8zn.js → skill-dtvxyhpg.js} +29 -29
  119. package/dist/chunks/{voice-0d60ahdf.js → skill-dzb6kqcp.js} +3 -3
  120. package/dist/chunks/{voice-rxwwr6rj.js → skill-e49jeknm.js} +21 -21
  121. package/dist/chunks/{voice-wmg4dxvw.js → skill-e5t061k5.js} +15 -15
  122. package/dist/chunks/{voice-r2z489rp.js → skill-e80seqcp.js} +3 -3
  123. package/dist/chunks/{voice-s8d7rejh.js → skill-eaj1djv9.js} +6 -6
  124. package/dist/chunks/{voice-99xay3p1.js → skill-eeaf82dq.js} +8 -8
  125. package/dist/chunks/{voice-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
  126. package/dist/chunks/{voice-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{voice-c1fqxshp.js → skill-es1vcfrp.js} +3 -3
  128. package/dist/chunks/{voice-ax36eyar.js → skill-esjfm2jj.js} +6 -6
  129. package/dist/chunks/{voice-9cvx9cd3.js → skill-f19p4dtt.js} +9 -9
  130. package/dist/chunks/{voice-8jzsrpfh.js → skill-fba44ey8.js} +4 -4
  131. package/dist/chunks/{voice-fcy631f0.js → skill-fcy631f0.js} +1 -1
  132. package/dist/chunks/{voice-w645cvh3.js → skill-ffex79nh.js} +4 -4
  133. package/dist/chunks/{voice-a47cqtsz.js → skill-fgat89d3.js} +8 -8
  134. package/dist/chunks/{voice-tt8gc4fv.js → skill-fn9t717r.js} +6 -6
  135. package/dist/chunks/{voice-m37876mr.js → skill-fp460gdt.js} +16 -16
  136. package/dist/chunks/{voice-cwa6csj7.js → skill-ft3hqk2c.js} +9 -9
  137. package/dist/chunks/{voice-bxaezv13.js → skill-fx27t40w.js} +14 -14
  138. package/dist/chunks/{voice-fy8g54x2.js → skill-g7zm5684.js} +11 -11
  139. package/dist/chunks/{voice-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{voice-gj71zhbs.js → skill-gj71zhbs.js} +2 -2
  141. package/dist/chunks/{voice-g9mhys8g.js → skill-gjpes3nd.js} +11 -11
  142. package/dist/chunks/{voice-jz94ppxa.js → skill-gjqf6prp.js} +15 -15
  143. package/dist/chunks/{voice-n5feeqsd.js → skill-gxqmtd9s.js} +4 -4
  144. package/dist/chunks/{voice-jm1jdg4g.js → skill-h1qzx281.js} +16 -16
  145. package/dist/chunks/{voice-hq3c8me3.js → skill-h221s06d.js} +4 -4
  146. package/dist/chunks/{voice-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{voice-fan8xm03.js → skill-hcv80w8f.js} +8 -8
  148. package/dist/chunks/{voice-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
  149. package/dist/chunks/{voice-zygw1fg1.js → skill-hpwaxba9.js} +51 -36
  150. package/dist/chunks/{voice-46aes8ch.js → skill-j3pmw4n4.js} +13 -16
  151. package/dist/chunks/{voice-wdqr7xqq.js → skill-j5vs2s0c.js} +16 -16
  152. package/dist/chunks/{voice-9at0pwnx.js → skill-jg6y9exp.js} +9 -9
  153. package/dist/chunks/{voice-1nkzkq3r.js → skill-jpxbkzcm.js} +18 -18
  154. package/dist/chunks/{voice-70z88rjf.js → skill-jrcrphs5.js} +13 -13
  155. package/dist/chunks/skill-k4pcy416.js +26 -0
  156. package/dist/chunks/{voice-1bq62cry.js → skill-k4z9qb1h.js} +14 -14
  157. package/dist/chunks/{voice-18zsf568.js → skill-k767h5gk.js} +9 -9
  158. package/dist/chunks/{voice-x4p01p4y.js → skill-k9rcbhkt.js} +20 -20
  159. package/dist/chunks/{voice-w1zgsyjh.js → skill-kb53hzak.js} +25 -25
  160. package/dist/chunks/{voice-kwb1v3vj.js → skill-kwb1v3vj.js} +1 -1
  161. package/dist/chunks/{voice-n5csmyza.js → skill-kzp04e93.js} +10 -10
  162. package/dist/chunks/{voice-wp1wkg59.js → skill-m6pbs28h.js} +15 -15
  163. package/dist/chunks/{voice-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
  164. package/dist/chunks/{voice-maspj1v3.js → skill-maspj1v3.js} +1 -1
  165. package/dist/chunks/{voice-egpmcp8a.js → skill-mezgzbf4.js} +11 -11
  166. package/dist/chunks/{voice-1c85gy23.js → skill-mf2cr3hn.js} +5 -5
  167. package/dist/chunks/{voice-2w7xd5ef.js → skill-mfjtdt2y.js} +6 -6
  168. package/dist/chunks/{voice-2rfqgm69.js → skill-mj8v08g3.js} +19 -19
  169. package/dist/chunks/{voice-8btm942h.js → skill-mk12phhj.js} +2 -2
  170. package/dist/chunks/{voice-84pnh87n.js → skill-mr40cxx5.js} +11 -11
  171. package/dist/chunks/{voice-sz1e9eqn.js → skill-mrvktngd.js} +22 -22
  172. package/dist/chunks/{voice-zaxy7ecx.js → skill-mwfdq8qc.js} +19 -19
  173. package/dist/chunks/{voice-3yfbedjd.js → skill-mxzy28fn.js} +12 -12
  174. package/dist/chunks/{voice-1h2d0ke7.js → skill-n2jhanjn.js} +7 -7
  175. package/dist/chunks/{voice-wch0f9f3.js → skill-n8s3x8gg.js} +18 -18
  176. package/dist/chunks/{voice-g686f6pq.js → skill-nd4tfyg0.js} +9 -9
  177. package/dist/chunks/{voice-6n27b0t2.js → skill-nrfaghy7.js} +30 -30
  178. package/dist/chunks/{voice-83vj9qt0.js → skill-p24k7xxs.js} +17 -17
  179. package/dist/chunks/{voice-x0m4hwhr.js → skill-p7ejm75f.js} +15 -15
  180. package/dist/chunks/{voice-skrw0pay.js → skill-p83bgnwy.js} +172 -172
  181. package/dist/chunks/{voice-3vnym5x3.js → skill-p9yv9cpt.js} +41 -41
  182. package/dist/chunks/{voice-y3vys761.js → skill-pe6c7tpr.js} +46 -46
  183. package/dist/chunks/{voice-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
  184. package/dist/chunks/{voice-pknna89w.js → skill-pknna89w.js} +1 -1
  185. package/dist/chunks/{voice-xw8v86tr.js → skill-psw58z79.js} +25 -25
  186. package/dist/chunks/{voice-rkprpv83.js → skill-py3kkmfq.js} +2 -2
  187. package/dist/chunks/{voice-0tgjh03h.js → skill-q5yng9nd.js} +3 -3
  188. package/dist/chunks/{voice-q8xm0c2j.js → skill-q7nxqx7p.js} +11 -11
  189. package/dist/chunks/{voice-0pdk8z67.js → skill-q7w9bzh9.js} +5 -5
  190. package/dist/chunks/{voice-401wxw87.js → skill-qfphg4nc.js} +5 -5
  191. package/dist/chunks/{voice-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
  192. package/dist/chunks/{voice-yzh5znq2.js → skill-qrvjed71.js} +22 -22
  193. package/dist/chunks/{voice-qsdy395h.js → skill-qsdy395h.js} +1 -1
  194. package/dist/chunks/{voice-asgfpy10.js → skill-qshse4pa.js} +11 -11
  195. package/dist/chunks/{voice-m0k7y5tq.js → skill-r0snawp5.js} +11 -11
  196. package/dist/chunks/{voice-gchk0vkb.js → skill-r2gt430y.js} +40 -40
  197. package/dist/chunks/{voice-7mcgqaeh.js → skill-r4dce1g6.js} +6 -6
  198. package/dist/chunks/{voice-9qee0jk3.js → skill-rbpvdgf0.js} +8 -8
  199. package/dist/chunks/{voice-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
  200. package/dist/chunks/{voice-yp2x3t23.js → skill-rhraev7y.js} +4 -4
  201. package/dist/chunks/{voice-6h73966b.js → skill-rtj3qdv7.js} +17 -17
  202. package/dist/chunks/{voice-krbeg2se.js → skill-rw53n0fn.js} +39 -39
  203. package/dist/chunks/{voice-qwfhs2mm.js → skill-rzjhynvd.js} +17 -17
  204. package/dist/chunks/{voice-5kxj697y.js → skill-rzptascq.js} +15 -15
  205. package/dist/chunks/{voice-xr64f026.js → skill-s062krnn.js} +28 -29
  206. package/dist/chunks/{voice-hhe0v7zm.js → skill-s0tpqwmh.js} +36 -36
  207. package/dist/chunks/{voice-n52gxnde.js → skill-s3dcqe2f.js} +71 -74
  208. package/dist/chunks/{voice-c62gkb3b.js → skill-s7hgpj7n.js} +20 -20
  209. package/dist/chunks/{voice-c214aq79.js → skill-sjrfcf49.js} +10 -10
  210. package/dist/chunks/{voice-z5wvy2zw.js → skill-skda7hje.js} +87 -87
  211. package/dist/chunks/{voice-x63dfm1w.js → skill-snpdvfcc.js} +15 -15
  212. package/dist/chunks/{voice-bhkm1g5m.js → skill-spvegxv4.js} +45 -45
  213. package/dist/chunks/{voice-vpm8vpz0.js → skill-ss358qx3.js} +3 -3
  214. package/dist/chunks/{voice-6k23gnk2.js → skill-stpt7qpp.js} +23 -23
  215. package/dist/chunks/{voice-syv4x271.js → skill-syv4x271.js} +1 -1
  216. package/dist/chunks/{voice-j8v25mck.js → skill-szfjq214.js} +5 -5
  217. package/dist/chunks/{voice-kw7ww2k8.js → skill-t0s87p9z.js} +43 -43
  218. package/dist/chunks/{voice-ay7h7ryq.js → skill-t2cxfkz0.js} +16 -16
  219. package/dist/chunks/{voice-t6twestg.js → skill-t3s4rf4r.js} +11 -11
  220. package/dist/chunks/{voice-t6vsspdg.js → skill-t6vsspdg.js} +1 -1
  221. package/dist/chunks/{voice-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{voice-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{voice-tdstcens.js → skill-tdstcens.js} +1 -1
  224. package/dist/chunks/{voice-e9s8nezm.js → skill-tj5ahh21.js} +14 -14
  225. package/dist/chunks/{voice-9ca4c2n8.js → skill-tjmbphra.js} +28 -26
  226. package/dist/chunks/{voice-rert0e01.js → skill-tkb22qbm.js} +2 -2
  227. package/dist/chunks/{voice-tm0kqsz3.js → skill-tm0kqsz3.js} +1 -1
  228. package/dist/chunks/{voice-ym1asdg7.js → skill-tp8qtqfe.js} +14 -14
  229. package/dist/chunks/{voice-e61cj48z.js → skill-tq14xbg8.js} +20 -20
  230. package/dist/chunks/{voice-dtmw6jvf.js → skill-tw1svedf.js} +16 -16
  231. package/dist/chunks/{voice-bmr56wjg.js → skill-txm3e8qz.js} +4 -4
  232. package/dist/chunks/{voice-tyytaxap.js → skill-tyytaxap.js} +1 -1
  233. package/dist/chunks/{voice-4ymz7vr5.js → skill-tzs4kwf2.js} +18 -18
  234. package/dist/chunks/{voice-rka5c9pw.js → skill-tzx53q96.js} +23 -23
  235. package/dist/chunks/{voice-h978070j.js → skill-v13b12ef.js} +16 -19
  236. package/dist/chunks/{voice-07hyrh53.js → skill-v210v162.js} +7 -7
  237. package/dist/chunks/{voice-yfqqfr07.js → skill-v3t362sx.js} +21 -21
  238. package/dist/chunks/{voice-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{voice-cy3cg06b.js → skill-v86je2z5.js} +2 -2
  240. package/dist/chunks/{voice-3gwj7c3a.js → skill-va1m2gws.js} +1 -1
  241. package/dist/chunks/{voice-dxj1qz4d.js → skill-vd4aczts.js} +15 -15
  242. package/dist/chunks/{voice-zy43x3f1.js → skill-ve85v3xb.js} +4 -4
  243. package/dist/chunks/{voice-veqvce7d.js → skill-veqvce7d.js} +1 -1
  244. package/dist/chunks/{voice-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{voice-bekrfzrn.js → skill-w19cxg5d.js} +5 -5
  246. package/dist/chunks/{voice-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{voice-hn4xv43g.js → skill-w5e5n6qp.js} +28 -28
  248. package/dist/chunks/{voice-jpt0ksjm.js → skill-w9pxnq1f.js} +3 -3
  249. package/dist/chunks/{voice-baqyxak2.js → skill-wcnw1vw1.js} +4 -4
  250. package/dist/chunks/{voice-fgn3zs1a.js → skill-wcv23wjp.js} +8 -8
  251. package/dist/chunks/{voice-wd87259q.js → skill-wd87259q.js} +1 -1
  252. package/dist/chunks/{voice-vvne4gav.js → skill-wg21mfe7.js} +16 -16
  253. package/dist/chunks/{voice-bc25zkma.js → skill-wjvejwxj.js} +18 -18
  254. package/dist/chunks/{voice-9cb08eze.js → skill-wq5ge4qs.js} +10 -10
  255. package/dist/chunks/{voice-1ffqw314.js → skill-wrpzvqff.js} +22 -22
  256. package/dist/chunks/{voice-3yvt2eyd.js → skill-ws22wf9m.js} +11 -11
  257. package/dist/chunks/{voice-pvr736zf.js → skill-wsc8jw0e.js} +6 -6
  258. package/dist/chunks/{voice-wcmg8ka2.js → skill-x1j2xbxr.js} +11 -11
  259. package/dist/chunks/{voice-fmdmz72r.js → skill-x27b78bf.js} +18 -18
  260. package/dist/chunks/{voice-pjjz4vyy.js → skill-x7schd0t.js} +314 -314
  261. package/dist/chunks/{voice-ktg7dnk2.js → skill-x9xez83g.js} +20 -20
  262. package/dist/chunks/{voice-xgyd6awb.js → skill-xbk1brvq.js} +24 -24
  263. package/dist/chunks/{voice-drwq78ky.js → skill-xfkkasph.js} +4 -4
  264. package/dist/chunks/skill-xjwnzk3j.js +130 -0
  265. package/dist/chunks/{voice-5307c9aq.js → skill-xzt4qk3d.js} +4 -4
  266. package/dist/chunks/{voice-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{voice-x77x046w.js → skill-y34wrf3d.js} +7 -7
  268. package/dist/chunks/{voice-vy68hshx.js → skill-y5716pwx.js} +8 -8
  269. package/dist/chunks/{voice-93fzsdqz.js → skill-y5csa3j3.js} +11 -11
  270. package/dist/chunks/{voice-0stcbem0.js → skill-y5wbntgb.js} +33 -33
  271. package/dist/chunks/{voice-y6mhz57t.js → skill-y6mhz57t.js} +1 -1
  272. package/dist/chunks/{voice-adj2f2vn.js → skill-ycgxjbe9.js} +26 -26
  273. package/dist/chunks/{voice-jc4mxe0h.js → skill-yjc6fc7c.js} +22 -22
  274. package/dist/chunks/{voice-jgpthgfz.js → skill-yjtv1dgs.js} +21 -21
  275. package/dist/chunks/{voice-ps2j6rx6.js → skill-ykb9mt4z.js} +17 -17
  276. package/dist/chunks/{voice-n1900k66.js → skill-ys00zx1c.js} +1 -1
  277. package/dist/chunks/{voice-t55rwbc2.js → skill-ytphcrpa.js} +20 -20
  278. package/dist/chunks/{voice-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{voice-z18fegx4.js → skill-z18fegx4.js} +1 -1
  280. package/dist/chunks/{voice-291dyprt.js → skill-zbvn420s.js} +22 -22
  281. package/dist/chunks/{voice-zcrspsvn.js → skill-zee1rnkq.js} +4 -4
  282. package/dist/chunks/{voice-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{voice-v5130x7e.js → skill-zvn91fcw.js} +25 -25
  284. package/dist/chunks/{voice-tx938nqc.js → skill-zvqs7mdw.js} +12 -12
  285. package/dist/chunks/{voice-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{voice-wfqe50e8.js → skill-zz1b5zj3.js} +7 -7
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +114 -114
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +115 -115
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +83 -82
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +365 -365
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +104 -104
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +130 -130
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +84 -84
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +115 -115
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +1 -1
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +115 -115
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +72 -72
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +130 -130
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +217 -217
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +86 -86
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +93 -93
  566. package/dist/reference/instructions.js +87 -87
  567. package/dist/reference.js +89 -89
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +19 -13
  586. package/dist/session/inbox.js +97 -92
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +5 -5
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +14 -0
  599. package/dist/session/revert.js +96 -92
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +223 -223
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +212 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +210 -210
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +89 -89
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +118 -118
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +112 -112
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +12 -12
  657. package/dist/types/credential/sql.d.ts +0 -3
  658. package/dist/types/credential.d.ts +0 -3
  659. package/dist/types/instance.d.ts +1 -1
  660. package/dist/types/session/history.d.ts +35 -888
  661. package/dist/types/session/recent-text.d.ts +11 -0
  662. package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
  663. package/dist/types/session/transfer.d.ts +5 -55
  664. package/dist/util/error-summary.js +1 -1
  665. package/dist/util/error.js +1 -1
  666. package/dist/util/git-executable.js +2 -2
  667. package/dist/util/iife.js +1 -1
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +5 -5
  674. package/dist/v1/config/command.js +1 -1
  675. package/dist/v1/config/error.js +2 -2
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +94 -94
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +2 -2
  682. package/dist/variant.js +93 -93
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +91 -91
  685. package/dist/voice.js +88 -88
  686. package/dist/websearch.js +84 -84
  687. package/dist/wellknown/plugin.js +78 -78
  688. package/dist/wellknown.js +81 -81
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +82 -82
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +91 -91
  696. package/dist/worktree.js +98 -98
  697. package/package.json +8 -8
  698. package/dist/chunks/voice-1x11rq2a.js +0 -18
  699. package/dist/chunks/voice-a3ebqg5m.js +0 -95
  700. package/dist/chunks/voice-d2czbp48.js +0 -69
  701. package/dist/chunks/voice-rhvdwwz1.js +0 -26
  702. package/dist/chunks/voice-zqbqn1p8.js +0 -257
  703. package/dist/session/provider-context.js +0 -20
  704. package/dist/types/session/provider-context.d.ts +0 -46
  705. /package/dist/chunks/{voice-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{voice-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{voice-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{voice-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{voice-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{voice-24dcb14g.js → skill-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{voice-2710q6r3.js → skill-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{voice-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{voice-2bv980vf.js → skill-2bv980vf.js} +0 -0
  714. /package/dist/chunks/{voice-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{voice-359p4xyc.js → skill-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{voice-3asan66x.js → skill-3asan66x.js} +0 -0
  717. /package/dist/chunks/{voice-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
  718. /package/dist/chunks/{voice-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{voice-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{voice-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{voice-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{voice-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{voice-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{voice-53557ph1.js → skill-53557ph1.js} +0 -0
  725. /package/dist/chunks/{voice-550bvhaj.js → skill-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{voice-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{voice-6prwharc.js → skill-6prwharc.js} +0 -0
  728. /package/dist/chunks/{voice-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
  729. /package/dist/chunks/{voice-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{voice-7m9af43g.js → skill-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{voice-822emrt2.js → skill-822emrt2.js} +0 -0
  732. /package/dist/chunks/{voice-84wd9syh.js → skill-84wd9syh.js} +0 -0
  733. /package/dist/chunks/{voice-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{voice-8n3pysct.js → skill-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{voice-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
  736. /package/dist/chunks/{voice-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{voice-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{voice-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{voice-af5trqkr.js → skill-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{voice-afrmfg78.js → skill-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{voice-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{voice-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{voice-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{voice-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{voice-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{voice-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{voice-d9fn303g.js → skill-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{voice-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{voice-dajrwvna.js → skill-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{voice-dap0rakb.js → skill-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{voice-df08tz66.js → skill-df08tz66.js} +0 -0
  752. /package/dist/chunks/{voice-dy18nga0.js → skill-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{voice-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{voice-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{voice-ec1grn59.js → skill-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{voice-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{voice-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{voice-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{voice-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{voice-faypxj3z.js → skill-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{voice-fd410y7t.js → skill-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{voice-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{voice-g86h250q.js → skill-g86h250q.js} +0 -0
  764. /package/dist/chunks/{voice-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{voice-gftt206x.js → skill-gftt206x.js} +0 -0
  766. /package/dist/chunks/{voice-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
  767. /package/dist/chunks/{voice-hk9envan.js → skill-hk9envan.js} +0 -0
  768. /package/dist/chunks/{voice-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{voice-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{voice-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{voice-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{voice-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{voice-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
  774. /package/dist/chunks/{voice-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{voice-m18g726c.js → skill-m18g726c.js} +0 -0
  776. /package/dist/chunks/{voice-mp448xyj.js → skill-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{voice-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{voice-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{voice-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{voice-njntx4h6.js → skill-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{voice-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
  782. /package/dist/chunks/{voice-pyv0edze.js → skill-pyv0edze.js} +0 -0
  783. /package/dist/chunks/{voice-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{voice-q74kybfr.js → skill-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{voice-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{voice-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{voice-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{voice-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{voice-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{voice-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{voice-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{voice-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{voice-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
  794. /package/dist/chunks/{voice-w803qqfp.js → skill-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{voice-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{voice-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{voice-wjj7prxr.js → skill-wjj7prxr.js} +0 -0
  798. /package/dist/chunks/{voice-wtztk69x.js → skill-wtztk69x.js} +0 -0
  799. /package/dist/chunks/{voice-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
  800. /package/dist/chunks/{voice-x61499pn.js → skill-x61499pn.js} +0 -0
  801. /package/dist/chunks/{voice-y44na4kk.js → skill-y44na4kk.js} +0 -0
  802. /package/dist/chunks/{voice-y8f7s663.js → skill-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{voice-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{voice-ym463w8f.js → skill-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{voice-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
  806. /package/dist/chunks/{voice-z9919s4g.js → skill-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./voice-55m81wnp.js";
3
+ } from "./skill-9nyvt9wv.js";
4
4
  import {
5
- Service72
6
- } from "./voice-jnsvnygx.js";
5
+ Service77
6
+ } from "./skill-cd870end.js";
7
7
  import {
8
- Service17
9
- } from "./voice-dxj1qz4d.js";
8
+ Service76
9
+ } from "./skill-vd4aczts.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./voice-0vbcp93d.js";
12
+ } from "./skill-0vbcp93d.js";
13
13
  import {
14
- Info17,
14
+ Info5,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./voice-zhc0v3qp.js";
19
+ } from "./skill-6p3qshzc.js";
20
20
  import {
21
21
  __export
22
- } from "./voice-9rqn6x4v.js";
22
+ } from "./skill-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin3,
30
+ Plugin: () => Plugin8,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin3 = {
100
+ var Plugin8 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service17;
104
- const permission = yield* Service72;
103
+ const access = yield* Service76;
104
+ const permission = yield* Service77;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin3 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info17,
156
+ output: Info5,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin3, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin8, exports_opencode };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID11,
3
- Service76
4
- } from "./voice-rxwwr6rj.js";
2
+ ID15,
3
+ Service80
4
+ } from "./skill-e49jeknm.js";
5
5
  import {
6
6
  Ref2,
7
- Service77
8
- } from "./voice-hn4xv43g.js";
7
+ Service68
8
+ } from "./skill-w5e5n6qp.js";
9
9
  import {
10
10
  latest2,
11
- Service51
12
- } from "./voice-gchk0vkb.js";
11
+ Service45
12
+ } from "./skill-r2gt430y.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./voice-vpm8vpz0.js";
15
+ } from "./skill-ss358qx3.js";
16
16
  import {
17
- Service45
18
- } from "./voice-wdqr7xqq.js";
17
+ Service64
18
+ } from "./skill-j5vs2s0c.js";
19
19
  import {
20
20
  evaluate2,
21
- Service72
22
- } from "./voice-jnsvnygx.js";
21
+ Service77
22
+ } from "./skill-cd870end.js";
23
23
  import {
24
- Service26
25
- } from "./voice-z5wvy2zw.js";
24
+ Service25
25
+ } from "./skill-skda7hje.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./voice-6xb47vfp.js";
28
+ } from "./skill-6xb47vfp.js";
29
29
  import {
30
- Service8
31
- } from "./voice-10q04s9m.js";
30
+ Service9
31
+ } from "./skill-dddsnv1t.js";
32
32
  import {
33
33
  __export
34
- } from "./voice-9rqn6x4v.js";
34
+ } from "./skill-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input2,
40
- Output: () => Output2,
41
- Plugin: () => Plugin2,
39
+ Input: () => Input11,
40
+ Output: () => Output8,
41
+ Plugin: () => Plugin13,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name2
43
+ description: () => description5,
44
+ name: () => name11
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name2 = "subagent";
48
+ var name11 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input2 = Schema.Struct({
59
+ var Input11 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input2 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output2 = Schema.Struct({
75
+ var Output8 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description5 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin2 = {
89
+ var Plugin13 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service26;
93
- const jobs = yield* Service45;
94
- const agents = yield* Service76;
95
- const config = yield* Service51;
96
- const permission = yield* Service72;
97
- const models = yield* Service77;
98
- const subagents = yield* Service8;
92
+ const sessions = yield* Service25;
93
+ const jobs = yield* Service64;
94
+ const agents = yield* Service80;
95
+ const config = yield* Service45;
96
+ const permission = yield* Service77;
97
+ const models = yield* Service68;
98
+ const subagents = yield* Service9;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin2 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name11,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input2,
122
- output: Output2,
120
+ description: description5,
121
+ input: Input11,
122
+ output: Output8,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin2 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name2,
142
+ action: name11,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin2 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID11.make(input.agent),
171
+ agent: ID15.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name2 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name11 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name2];
233
+ const tool = event.tools[name11];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name2, Input2, Output2, description2, Plugin2, exports_subagent };
256
+ export { name11, Input11, Output8, description5, Plugin13, exports_subagent };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID10 = Session.ID;
5
- var Info20 = Session.Info;
4
+ var ID16 = Session.ID;
5
+ var Info26 = Session.Info;
6
6
 
7
- export { ID10, Info20, SessionSchema2 };
7
+ export { ID16, Info26, SessionSchema2 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./voice-hgz4x7wa.js";
3
+ } from "./skill-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./voice-eej6y6fw.js";
6
+ } from "./skill-eej6y6fw.js";
7
7
  import {
8
8
  Service86,
9
9
  node90
10
- } from "./voice-0d60ahdf.js";
10
+ } from "./skill-dzb6kqcp.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./voice-y71avatq.js";
13
+ } from "./skill-dpkg50ah.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node62
18
- } from "./voice-ax36eyar.js";
17
+ node63
18
+ } from "./skill-esjfm2jj.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./voice-faypxj3z.js";
21
+ } from "./skill-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./voice-9rqn6x4v.js";
24
+ } from "./skill-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID5,
31
- Info: () => Info14,
30
+ ID: () => ID7,
31
+ Info: () => Info16,
32
32
  NotFound: () => NotFound2,
33
33
  Service: () => Service58,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured9,
36
- node: () => node61
35
+ configured: () => configured11,
36
+ node: () => node62
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID5 = Workspace.ID;
44
+ var ID7 = Workspace.ID;
45
45
 
46
- class Info14 extends Schema.Class("Workspace.Info")({
47
- id: ID5,
46
+ class Info16 extends Schema.Class("Workspace.Info")({
47
+ id: ID7,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,11 +52,11 @@ class Info14 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID5,
59
+ workspaceID: ID7,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
@@ -64,10 +64,10 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
64
64
 
65
65
  class Service58 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured9 = (options = {}) => makeGlobalNode({
67
+ var configured11 = (options = {}) => makeGlobalNode({
68
68
  service: Service58,
69
69
  layer: layer(options),
70
- deps: [node90, node62]
70
+ deps: [node90, node63]
71
71
  });
72
72
  var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
73
73
  const db = (yield* Service86).db;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info14({
89
+ const info = (row, binding) => new Info16({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -166,7 +166,7 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
167
  return Service58.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID5.create();
169
+ const workspaceID = input.id ?? ID7.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node61 = configured9();
245
+ var node62 = configured11();
246
246
 
247
- export { ID5, Info14, NotFound2, CreateConflict2, Service58, configured9, node61, exports_workspace };
247
+ export { ID7, Info16, NotFound2, CreateConflict2, Service58, configured11, node62, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./voice-9rqn6x4v.js";
3
+ } from "./skill-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./voice-2w7xd5ef.js";
4
+ } from "./skill-mfjtdt2y.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./voice-jnsvnygx.js";
8
+ } from "./skill-cd870end.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./voice-fcy1mh1a.js";
11
+ } from "./skill-24qb9ktg.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./voice-46459d5e.js";
19
+ } from "./skill-azfbpf7r.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./voice-htn8a1qv.js";
23
+ } from "./skill-4t2jy500.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./voice-z5v4ffb3.js";
3
+ } from "./skill-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service51
7
- } from "./voice-gchk0vkb.js";
6
+ Service45
7
+ } from "./skill-r2gt430y.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./voice-hgz4x7wa.js";
10
+ } from "./skill-hgz4x7wa.js";
11
11
  import {
12
- Service54
13
- } from "./voice-rjmsaa2q.js";
12
+ Service57
13
+ } from "./skill-4ptxcp1e.js";
14
14
  import {
15
- Service45
16
- } from "./voice-wdqr7xqq.js";
15
+ Service64
16
+ } from "./skill-j5vs2s0c.js";
17
17
  import {
18
- Service72
19
- } from "./voice-jnsvnygx.js";
18
+ Service77
19
+ } from "./skill-cd870end.js";
20
20
  import {
21
- Service17,
21
+ Service76,
22
22
  resolvePath2
23
- } from "./voice-dxj1qz4d.js";
23
+ } from "./skill-vd4aczts.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./voice-vzs5sf6e.js";
29
+ } from "./skill-vzs5sf6e.js";
30
30
  import {
31
- Service71,
31
+ Service43,
32
32
  name16
33
- } from "./voice-sz1e9eqn.js";
33
+ } from "./skill-mrvktngd.js";
34
34
  import {
35
35
  NotFoundError5,
36
- Service49
37
- } from "./voice-krbeg2se.js";
36
+ Service39
37
+ } from "./skill-rw53n0fn.js";
38
38
  import {
39
- Service26
40
- } from "./voice-z5wvy2zw.js";
39
+ Service25
40
+ } from "./skill-skda7hje.js";
41
41
  import {
42
- scan3
43
- } from "./voice-wfqe50e8.js";
42
+ scan2
43
+ } from "./skill-zz1b5zj3.js";
44
44
  import {
45
45
  __export
46
- } from "./voice-9rqn6x4v.js";
46
+ } from "./skill-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin5,
52
+ Input: () => Input8,
53
+ Plugin: () => Plugin10,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name4
55
+ name: () => name8
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name4 = "shell";
60
+ var name8 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input4 = Schema.Struct({
74
+ var Input8 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin5 = {
120
+ var Plugin10 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service26;
124
- const jobs = yield* Service45;
123
+ const sessions = yield* Service25;
124
+ const jobs = yield* Service64;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service54;
127
- const access = yield* Service17;
128
- const shell = yield* Service49;
129
- const shellSelect = yield* Service71;
126
+ const environment = yield* Service57;
127
+ const access = yield* Service76;
128
+ const shell = yield* Service39;
129
+ const shellSelect = yield* Service43;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service72;
132
- const config = yield* Service51;
131
+ const permission = yield* Service77;
132
+ const config = yield* Service45;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin5 = {
140
140
  invocation.cwd = target.absolute;
141
141
  const timeout = invocation.timeout;
142
142
  const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
143
- const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
143
+ const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
144
144
  const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
145
145
  path: resolvePath2(target.absolute, directory),
146
146
  kind: "directory"
@@ -148,7 +148,7 @@ var Plugin5 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name4,
151
+ action: name8,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin5 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name4,
188
+ name: name8,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input4,
191
+ input: Input8,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name4,
228
+ type: name8,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name4];
258
+ const tool = event.tools[name8];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin5, exports_shell };
269
+ export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin10, exports_shell };