@opencode/core 0.0.0-dev-21056 → 0.0.0-dev-21059

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 +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{form-xc5q4635.js → agent-07y8yssa.js} +13 -13
  8. package/dist/chunks/{form-eq84fw80.js → agent-08fthye5.js} +45 -45
  9. package/dist/chunks/{form-md48st27.js → agent-09dwq0k8.js} +11 -11
  10. package/dist/chunks/{form-vn2rg10d.js → agent-0datvkzx.js} +27 -27
  11. package/dist/chunks/{form-1m4afec7.js → agent-0dq5ytza.js} +4 -4
  12. package/dist/chunks/{form-sg80mhsz.js → agent-0mp3yd4y.js} +11 -11
  13. package/dist/chunks/{form-nsggt6bk.js → agent-0v56fe9p.js} +8 -8
  14. package/dist/chunks/{form-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{form-5gw4qxnr.js → agent-0vk3wfpr.js} +5 -5
  16. package/dist/chunks/{form-aa8ad63g.js → agent-10mgaypy.js} +14 -14
  17. package/dist/chunks/{form-ghpxedsq.js → agent-120mm9fe.js} +21 -21
  18. package/dist/chunks/{form-scbwr62e.js → agent-13egsp17.js} +18 -18
  19. package/dist/chunks/{form-4rxk4s51.js → agent-176qrfyr.js} +11 -11
  20. package/dist/chunks/{form-f2n192rq.js → agent-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{form-ywt8jp22.js → agent-1ffvrpkg.js} +6 -6
  22. package/dist/chunks/{form-g5qayb98.js → agent-1hj14pj4.js} +23 -23
  23. package/dist/chunks/{form-5v3dh65r.js → agent-1k68ks32.js} +1 -1
  24. package/dist/chunks/{form-0gypk62h.js → agent-1mh1r30f.js} +18 -18
  25. package/dist/chunks/{form-jm30c9hq.js → agent-1zgm74j7.js} +4 -4
  26. package/dist/chunks/{form-9mv5neg2.js → agent-25zgp73e.js} +29 -29
  27. package/dist/chunks/{form-z7wjcsc2.js → agent-26c5b08v.js} +22 -22
  28. package/dist/chunks/{form-cvykycyf.js → agent-2cz1eswr.js} +4 -4
  29. package/dist/chunks/{form-zq2dpeyp.js → agent-2dw3jvkf.js} +37 -37
  30. package/dist/chunks/{form-gbh65n66.js → agent-2ryng5r3.js} +4 -4
  31. package/dist/chunks/{form-ktccht67.js → agent-2tba787a.js} +9 -9
  32. package/dist/chunks/{form-31xfzrxg.js → agent-31xfzrxg.js} +2 -2
  33. package/dist/chunks/{form-1dqjdm82.js → agent-3770a3t0.js} +13 -13
  34. package/dist/chunks/{form-xkqcsmy8.js → agent-3aqvrwqh.js} +3 -3
  35. package/dist/chunks/{form-fq26d1sh.js → agent-3dacjcw5.js} +5 -5
  36. package/dist/chunks/{form-c83m7t30.js → agent-3e3ts2k0.js} +3 -3
  37. package/dist/chunks/{form-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{form-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{form-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{form-mdd2m0z3.js → agent-3ke0h2vq.js} +24 -24
  41. package/dist/chunks/{form-pb9ytg2c.js → agent-3nt2w26v.js} +1 -1
  42. package/dist/chunks/{form-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{form-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{form-amk0skfj.js → agent-3v1rmssb.js} +23 -23
  45. package/dist/chunks/{form-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{form-s8p93pn6.js → agent-3zst7r5n.js} +4 -4
  47. package/dist/chunks/{form-h84nxchg.js → agent-40ze75wf.js} +33 -33
  48. package/dist/chunks/{form-abza8qdr.js → agent-43m0923n.js} +20 -20
  49. package/dist/chunks/{form-yra4mjqj.js → agent-475aaysq.js} +8 -8
  50. package/dist/chunks/{form-y11brde6.js → agent-4at5033j.js} +21 -21
  51. package/dist/chunks/{form-qqxx7jtk.js → agent-4cx4cnzf.js} +19 -19
  52. package/dist/chunks/{form-afvw2z2s.js → agent-4py5fpra.js} +39 -39
  53. package/dist/chunks/{form-54ma36ye.js → agent-54ma36ye.js} +1 -1
  54. package/dist/chunks/{form-wh6zw745.js → agent-57myy5jh.js} +5 -5
  55. package/dist/chunks/{form-0nych2mn.js → agent-58dzcpvt.js} +11 -11
  56. package/dist/chunks/{form-k4dzxsgh.js → agent-598gff9k.js} +29 -29
  57. package/dist/chunks/{form-jmpkbkgh.js → agent-59pb1bst.js} +88 -88
  58. package/dist/chunks/{form-m39w2evq.js → agent-5ffyefh4.js} +26 -26
  59. package/dist/chunks/{form-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{form-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{form-1h0y1afe.js → agent-5sq35qhm.js} +20 -20
  62. package/dist/chunks/{form-7b61459q.js → agent-6fcpqzzd.js} +4 -4
  63. package/dist/chunks/{form-rzyrpfxb.js → agent-6g1cr3nb.js} +13 -13
  64. package/dist/chunks/{form-fpecnkgp.js → agent-6g7e4dd5.js} +5 -5
  65. package/dist/chunks/{form-4hhgvnax.js → agent-6hk8xqds.js} +4 -4
  66. package/dist/chunks/{form-yprxz05b.js → agent-6k0cajn2.js} +20 -20
  67. package/dist/chunks/{form-5jzxxy29.js → agent-6r7wd4s9.js} +20 -20
  68. package/dist/chunks/{form-ebs300h9.js → agent-6tw9cd06.js} +16 -16
  69. package/dist/chunks/{form-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{form-gdjmt365.js → agent-70acndry.js} +47 -47
  71. package/dist/chunks/{form-r4yqrmdq.js → agent-70y17xeh.js} +5 -5
  72. package/dist/chunks/{form-5hsq30f6.js → agent-71byd0nn.js} +34 -34
  73. package/dist/chunks/{form-92swnv4m.js → agent-73kdj4zj.js} +8 -8
  74. package/dist/chunks/{form-smxpbhh2.js → agent-76gx3gef.js} +45 -45
  75. package/dist/chunks/{form-775gj3j1.js → agent-775gj3j1.js} +2 -2
  76. package/dist/chunks/{form-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{form-we028rk3.js → agent-7j2vym7r.js} +24 -24
  78. package/dist/chunks/{form-h4ndeedy.js → agent-7j38m80p.js} +22 -22
  79. package/dist/chunks/{form-rcfq2fyt.js → agent-7mq7nmkg.js} +12 -12
  80. package/dist/chunks/{form-53f7afnf.js → agent-7q9429tc.js} +16 -16
  81. package/dist/chunks/{form-2fva7j8r.js → agent-7zpkz1ag.js} +32 -32
  82. package/dist/chunks/{form-hzwk08ya.js → agent-84mt6kxk.js} +10 -10
  83. package/dist/chunks/{form-w1eejvng.js → agent-84txncab.js} +5 -5
  84. package/dist/chunks/agent-8920dkqx.js +253 -0
  85. package/dist/chunks/{form-9anabrsm.js → agent-8jjtjp8k.js} +54 -54
  86. package/dist/chunks/{form-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{form-5hwcexqa.js → agent-8ytc3qm4.js} +22 -22
  88. package/dist/chunks/{form-91qna3x0.js → agent-91qna3x0.js} +3 -3
  89. package/dist/chunks/{form-wpx4gzz2.js → agent-9656bada.js} +31 -31
  90. package/dist/chunks/{form-rgh00m86.js → agent-9ejc3kek.js} +11 -11
  91. package/dist/chunks/{form-drk6xwjx.js → agent-9j3abkkx.js} +3 -3
  92. package/dist/chunks/{form-43e2rsb3.js → agent-9t0y1ztz.js} +3 -3
  93. package/dist/chunks/{form-q9wtn0es.js → agent-9wpgc5d2.js} +17 -17
  94. package/dist/chunks/{form-hbm6e8t2.js → agent-9yxrcrk2.js} +22 -22
  95. package/dist/chunks/{form-k68ke2bn.js → agent-a3vhmvx0.js} +53 -53
  96. package/dist/chunks/{form-qp0mb5x1.js → agent-a49by44p.js} +20 -20
  97. package/dist/chunks/{form-jsxy3aak.js → agent-acgt48p6.js} +29 -29
  98. package/dist/chunks/{form-f9mm3zn5.js → agent-an57bb0v.js} +11 -11
  99. package/dist/chunks/{form-jefbb03d.js → agent-ap7erzbb.js} +42 -42
  100. package/dist/chunks/{form-sq1tv70q.js → agent-axn1dk7m.js} +18 -18
  101. package/dist/chunks/{form-xgg5jmv3.js → agent-azndqj98.js} +16 -16
  102. package/dist/chunks/{form-hdkng2sj.js → agent-b3f8fkhc.js} +5 -5
  103. package/dist/chunks/{form-8gkcv90v.js → agent-b8n2r79a.js} +25 -25
  104. package/dist/chunks/{form-wp6gr4w3.js → agent-b8s5yqvg.js} +11 -11
  105. package/dist/chunks/{form-5r1bq3xb.js → agent-b99nrxjj.js} +23 -23
  106. package/dist/chunks/{form-8998nv06.js → agent-bb86f272.js} +11 -11
  107. package/dist/chunks/{form-vqp5rvg2.js → agent-bbgs6xmq.js} +16 -16
  108. package/dist/chunks/{form-ctz7jbry.js → agent-bh0zzf2s.js} +8 -8
  109. package/dist/chunks/{form-sh0hqzfg.js → agent-btjxhes9.js} +12 -12
  110. package/dist/chunks/{form-k4yyvv17.js → agent-bv8c7vet.js} +11 -11
  111. package/dist/chunks/{form-n0zxahqz.js → agent-bxdp1qj4.js} +37 -37
  112. package/dist/chunks/{form-gkmwv4ke.js → agent-c1ezcj9p.js} +13 -13
  113. package/dist/chunks/{form-rj3eygr5.js → agent-c41wscbt.js} +2 -2
  114. package/dist/chunks/{form-sa8ekw3f.js → agent-c8ax2afj.js} +2 -2
  115. package/dist/chunks/{form-e8xabe72.js → agent-c96shp8w.js} +7 -7
  116. package/dist/chunks/{form-agpdhjxs.js → agent-c9e0ykqz.js} +28 -28
  117. package/dist/chunks/{form-4kx1mebd.js → agent-cnw0s3pm.js} +11 -11
  118. package/dist/chunks/{form-vs9744ez.js → agent-cp2e2e5x.js} +15 -15
  119. package/dist/chunks/{form-zwb87n4v.js → agent-d3x6x8ct.js} +23 -23
  120. package/dist/chunks/{form-t6yga7mn.js → agent-desw8mjx.js} +27 -27
  121. package/dist/chunks/{form-6dcqwygt.js → agent-df900zta.js} +15 -15
  122. package/dist/chunks/{form-5gzka0qa.js → agent-dn7ydhqs.js} +332 -332
  123. package/dist/chunks/{form-dqxsqydv.js → agent-dqxsqydv.js} +1 -1
  124. package/dist/chunks/{form-vktwk5kv.js → agent-dvep9rg9.js} +9 -9
  125. package/dist/chunks/{form-b5pcwx3b.js → agent-dwm3anjr.js} +30 -30
  126. package/dist/chunks/{form-qymcxhzz.js → agent-e314xmzp.js} +2 -2
  127. package/dist/chunks/{form-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
  128. package/dist/chunks/{form-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{form-vjabz57c.js → agent-emtj3tbf.js} +16 -16
  130. package/dist/chunks/{form-c1fqxshp.js → agent-es1vcfrp.js} +3 -3
  131. package/dist/chunks/{form-39r0hfe8.js → agent-f5gzyxsv.js} +9 -9
  132. package/dist/chunks/{form-hk0rgc6d.js → agent-fbeb1wa5.js} +11 -11
  133. package/dist/chunks/{form-wsj0w0mv.js → agent-fbq8j98h.js} +14 -14
  134. package/dist/chunks/{form-qgn6gcr1.js → agent-fcrkznn8.js} +5 -5
  135. package/dist/chunks/{form-3yxrmzra.js → agent-fkhcryxm.js} +9 -9
  136. package/dist/chunks/{form-06wf3t83.js → agent-fn4x26t7.js} +4 -4
  137. package/dist/chunks/{form-gn5zqh62.js → agent-fr4rxre2.js} +32 -32
  138. package/dist/chunks/{form-cwa6csj7.js → agent-ft3hqk2c.js} +9 -9
  139. package/dist/chunks/{form-t04neh10.js → agent-fx9jxwhh.js} +6 -6
  140. package/dist/chunks/{form-khmqacep.js → agent-fxaymqdw.js} +4 -4
  141. package/dist/chunks/{form-4cask09z.js → agent-g6ncrc2a.js} +14 -14
  142. package/dist/chunks/{form-9wsxw2fw.js → agent-g8pbgkrs.js} +17 -17
  143. package/dist/chunks/{form-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{form-g1xp79vn.js → agent-gftv0dff.js} +19 -19
  145. package/dist/chunks/{form-0r3c1bmw.js → agent-gj71zhbs.js} +5 -5
  146. package/dist/chunks/{form-g2fkb42c.js → agent-gwkjka7r.js} +10 -10
  147. package/dist/chunks/{form-7b4m8qnh.js → agent-gza6rqz1.js} +9 -9
  148. package/dist/chunks/{form-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{form-h71w788e.js → agent-h71w788e.js} +2 -2
  150. package/dist/chunks/{form-x9rba73f.js → agent-hfbyhya8.js} +10 -10
  151. package/dist/chunks/{form-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{form-7w913k7t.js → agent-hk5w54gx.js} +9 -9
  153. package/dist/chunks/{form-k1f52h9q.js → agent-hmf6h8tj.js} +14 -14
  154. package/dist/chunks/{form-y3cajcwy.js → agent-hrcr6mwe.js} +11 -11
  155. package/dist/chunks/{form-gy73by6h.js → agent-hy5rne45.js} +27 -27
  156. package/dist/chunks/{form-mtpeagzc.js → agent-hzrfc1p4.js} +3 -3
  157. package/dist/chunks/{form-pf7swax9.js → agent-j0mtf0c9.js} +54 -54
  158. package/dist/chunks/{form-smb0a5xb.js → agent-j4mjvx72.js} +29 -29
  159. package/dist/chunks/{form-h1xp1v3c.js → agent-j55ztwk7.js} +27 -27
  160. package/dist/chunks/{form-fe91w0vx.js → agent-j6gr24hv.js} +13 -13
  161. package/dist/chunks/{form-tc59g35x.js → agent-j88gsrc2.js} +6 -6
  162. package/dist/chunks/{form-9a7kxymn.js → agent-jfrhrggt.js} +32 -32
  163. package/dist/chunks/{form-mt70e7nm.js → agent-k6q0jycv.js} +36 -36
  164. package/dist/chunks/{form-yhrg5rh5.js → agent-k8z8vrp8.js} +5 -5
  165. package/dist/chunks/{form-kwb1v3vj.js → agent-kwb1v3vj.js} +1 -1
  166. package/dist/chunks/{form-p9tj0t7z.js → agent-kzcb1jca.js} +5 -5
  167. package/dist/chunks/{form-kj1apabk.js → agent-m341j4am.js} +22 -22
  168. package/dist/chunks/{form-ef7sefg3.js → agent-m48ydh7z.js} +50 -50
  169. package/dist/chunks/{form-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{form-maspj1v3.js → agent-maspj1v3.js} +1 -1
  171. package/dist/chunks/{form-kqh3wzdw.js → agent-me8drbfe.js} +31 -31
  172. package/dist/chunks/{form-t5acvayd.js → agent-mjc8m2em.js} +36 -36
  173. package/dist/chunks/{form-6k9x50em.js → agent-mvnt7d01.js} +15 -15
  174. package/dist/chunks/{form-nxtvghd9.js → agent-mw9nhf2x.js} +3 -3
  175. package/dist/chunks/{form-3nfgarsn.js → agent-mxabp7zc.js} +24 -24
  176. package/dist/chunks/{form-gqtdsdt7.js → agent-mxvxcxwy.js} +4 -4
  177. package/dist/chunks/{form-8a9bdsjh.js → agent-n3df6fgn.js} +66 -66
  178. package/dist/chunks/{form-qpb8gnty.js → agent-n52ad204.js} +17 -17
  179. package/dist/chunks/{form-yjpft9tp.js → agent-n7gz7dkb.js} +19 -19
  180. package/dist/chunks/agent-n95b3jav.js +18 -0
  181. package/dist/chunks/{form-ev7yx7rh.js → agent-nhfjry95.js} +27 -27
  182. package/dist/chunks/{form-8dj74pby.js → agent-npw39rc8.js} +8 -8
  183. package/dist/chunks/{form-2scksz81.js → agent-npza5r50.js} +22 -22
  184. package/dist/chunks/{form-tj6ck4g6.js → agent-ns8hhn76.js} +11 -11
  185. package/dist/chunks/{form-y7m3bmgm.js → agent-p59b6n5j.js} +11 -11
  186. package/dist/chunks/{form-t6wskrdm.js → agent-p68t7hkv.js} +193 -193
  187. package/dist/chunks/{form-y4x76mtf.js → agent-p68x8en9.js} +19 -19
  188. package/dist/chunks/{form-jxw20gqk.js → agent-pdz643x3.js} +12 -12
  189. package/dist/chunks/{form-g686f6pq.js → agent-phz50fbd.js} +9 -9
  190. package/dist/chunks/{form-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{form-pknna89w.js → agent-pknna89w.js} +1 -1
  192. package/dist/chunks/{form-nffbc6ps.js → agent-pnzf6mjf.js} +1 -1
  193. package/dist/chunks/{form-x1g3ar2b.js → agent-pqk7fwvb.js} +9 -9
  194. package/dist/chunks/{form-5yky707k.js → agent-pxnnf3sj.js} +10 -10
  195. package/dist/chunks/{form-rkprpv83.js → agent-py3kkmfq.js} +2 -2
  196. package/dist/chunks/{form-8fwg2sew.js → agent-pz17d9xg.js} +5 -5
  197. package/dist/chunks/{form-b141wqtp.js → agent-q159fzra.js} +20 -20
  198. package/dist/chunks/{form-2n2xmxxy.js → agent-q519ga1a.js} +47 -47
  199. package/dist/chunks/{form-8gwvx2zf.js → agent-q88xdd0q.js} +15 -15
  200. package/dist/chunks/{form-drf1yszw.js → agent-qbas706v.js} +25 -25
  201. package/dist/chunks/{form-eppts6fp.js → agent-qe7caw4f.js} +32 -32
  202. package/dist/chunks/{form-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{form-6qzrsqm2.js → agent-qnmgnxnk.js} +33 -33
  204. package/dist/chunks/{form-sxfhfr8n.js → agent-qpqsqxka.js} +22 -22
  205. package/dist/chunks/{form-qsdy395h.js → agent-qsdy395h.js} +1 -1
  206. package/dist/chunks/{form-4zrme1de.js → agent-qwean1e1.js} +16 -16
  207. package/dist/chunks/{form-ed1g29hy.js → agent-r2z489rp.js} +3 -3
  208. package/dist/chunks/{form-yrk407yr.js → agent-r365gfv3.js} +24 -24
  209. package/dist/chunks/{form-sxzvkvgj.js → agent-r5wgqceq.js} +6 -6
  210. package/dist/chunks/{form-vf2z1tm7.js → agent-r8eecgca.js} +21 -21
  211. package/dist/chunks/{form-zac62jp8.js → agent-rc0eda3w.js} +7 -7
  212. package/dist/chunks/{form-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{form-0gdmqesm.js → agent-rhjbct0v.js} +4 -4
  214. package/dist/chunks/{form-x1rzw1tj.js → agent-rrd63aa5.js} +26 -26
  215. package/dist/chunks/{form-2vs2nh1n.js → agent-rwm5vee1.js} +4 -4
  216. package/dist/chunks/{form-ryr25ayn.js → agent-ryr25ayn.js} +1 -1
  217. package/dist/chunks/{form-x390daxx.js → agent-s5bmn3fh.js} +35 -35
  218. package/dist/chunks/{form-64bnfsgg.js → agent-sgz82gsd.js} +19 -19
  219. package/dist/chunks/{form-akbddyr6.js → agent-sqgae8e7.js} +17 -17
  220. package/dist/chunks/{form-6w65dy4w.js → agent-st9476f7.js} +25 -25
  221. package/dist/chunks/{form-syv4x271.js → agent-syv4x271.js} +1 -1
  222. package/dist/chunks/{form-rkg4v3e5.js → agent-sz15zhhw.js} +9 -9
  223. package/dist/chunks/{form-tb8cc3q5.js → agent-t59vet7a.js} +9 -9
  224. package/dist/chunks/{form-hng1cgat.js → agent-t5yst9z9.js} +13 -13
  225. package/dist/chunks/{form-zvq27828.js → agent-t7rvx3z8.js} +5 -5
  226. package/dist/chunks/{form-a4mbvygq.js → agent-t9157dv5.js} +23 -23
  227. package/dist/chunks/{form-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{form-89znhe33.js → agent-tcezcvh9.js} +4 -4
  229. package/dist/chunks/{form-0cg871e2.js → agent-tdqj5rj9.js} +5 -5
  230. package/dist/chunks/{form-tdstcens.js → agent-tdstcens.js} +1 -1
  231. package/dist/chunks/{form-rtg907x2.js → agent-tf2nhsz8.js} +9 -9
  232. package/dist/chunks/{form-gmprqjvy.js → agent-tgvn7qv7.js} +11 -11
  233. package/dist/chunks/{form-rert0e01.js → agent-tkb22qbm.js} +2 -2
  234. package/dist/chunks/{form-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{form-cmwkp3r5.js → agent-tpw6cwsb.js} +8 -8
  236. package/dist/chunks/{form-nbtrgnjj.js → agent-tvktx62v.js} +6 -6
  237. package/dist/chunks/{form-tyytaxap.js → agent-tyytaxap.js} +1 -1
  238. package/dist/chunks/{form-jpbcjddy.js → agent-v0v9zhgd.js} +32 -32
  239. package/dist/chunks/{form-5xxj70nj.js → agent-v2mxr9ph.js} +34 -34
  240. package/dist/chunks/{form-8xjcxybm.js → agent-v73vpk9k.js} +10 -10
  241. package/dist/chunks/{form-wngp4gtt.js → agent-v7m0z00c.js} +16 -16
  242. package/dist/chunks/{form-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/{form-veqvce7d.js → agent-veqvce7d.js} +1 -1
  244. package/dist/chunks/{form-127b9nq3.js → agent-vjjaysxc.js} +2 -2
  245. package/dist/chunks/agent-vmbjch0v.js +26 -0
  246. package/dist/chunks/{form-208m9g5p.js → agent-vn5kn1xa.js} +3 -3
  247. package/dist/chunks/{form-xet2j094.js → agent-vqd49qwt.js} +59 -59
  248. package/dist/chunks/{form-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{form-457z7jt0.js → agent-w1eqcter.js} +33 -33
  250. package/dist/chunks/{form-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{form-gjswpdrn.js → agent-w8frm7c7.js} +5 -5
  252. package/dist/chunks/{form-wd87259q.js → agent-wd87259q.js} +1 -1
  253. package/dist/chunks/{form-4vwczy25.js → agent-wgahhr0x.js} +6 -6
  254. package/dist/chunks/{form-kqk0xaah.js → agent-wjtwcy2c.js} +13 -13
  255. package/dist/chunks/{form-jdcspryj.js → agent-ww5bxnkm.js} +23 -23
  256. package/dist/chunks/{form-r4c0bnz8.js → agent-x05pdjgt.js} +11 -11
  257. package/dist/chunks/{form-gfgv4jym.js → agent-x2p9rnd2.js} +44 -44
  258. package/dist/chunks/{form-t3rpkjaz.js → agent-x39k8923.js} +17 -17
  259. package/dist/chunks/{form-8bkvq3rv.js → agent-x4fsxtvp.js} +18 -18
  260. package/dist/chunks/{form-j31rstgq.js → agent-x6ekcm9n.js} +4 -4
  261. package/dist/chunks/{form-drwq78ky.js → agent-xfkkasph.js} +4 -4
  262. package/dist/chunks/{form-hcg28tba.js → agent-xp6nq9tj.js} +92 -92
  263. package/dist/chunks/{form-06szj819.js → agent-xryj725v.js} +5 -5
  264. package/dist/chunks/{form-nza4bhrq.js → agent-xx5ebepc.js} +5 -5
  265. package/dist/chunks/{form-4sqaep4n.js → agent-y06egy23.js} +15 -15
  266. package/dist/chunks/{form-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{form-9pkqejgm.js → agent-y4j9axvr.js} +4 -4
  268. package/dist/chunks/{form-y71avatq.js → agent-y71avatq.js} +1 -1
  269. package/dist/chunks/{form-k4z5awvr.js → agent-y7p2skpd.js} +17 -17
  270. package/dist/chunks/{form-zv8cwpd2.js → agent-ycw2k4m5.js} +11 -11
  271. package/dist/chunks/{form-7gmkp606.js → agent-yesqerhw.js} +3 -3
  272. package/dist/chunks/{form-hv6pheye.js → agent-yf1wa02y.js} +18 -18
  273. package/dist/chunks/{form-5s9m1zwe.js → agent-ykn3eabp.js} +38 -38
  274. package/dist/chunks/{form-8zp79j7j.js → agent-yrcj3v3g.js} +4 -4
  275. package/dist/chunks/{form-84qk9gsz.js → agent-yynp9xvp.js} +43 -43
  276. package/dist/chunks/{form-wj76ss2k.js → agent-z0aj456m.js} +4 -4
  277. package/dist/chunks/{form-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{form-mcehh85s.js → agent-z9tz5eek.js} +6 -6
  279. package/dist/chunks/{form-56k16gap.js → agent-zfm7v8bv.js} +14 -14
  280. package/dist/chunks/{form-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{form-d9m13e9r.js → agent-zvj6924a.js} +6 -6
  282. package/dist/chunks/{form-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{form-ra4n65wq.js → agent-zy43x3f1.js} +4 -4
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +86 -86
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +116 -116
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +1 -1
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +218 -218
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +108 -108
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +107 -107
  428. package/dist/git.js +6 -6
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +101 -101
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +357 -357
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +354 -354
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +111 -111
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +101 -101
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +105 -105
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +117 -117
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +88 -88
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +329 -329
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +117 -117
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +116 -116
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +113 -113
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +125 -125
  516. package/dist/plugin/provider/local.js +122 -122
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +125 -125
  521. package/dist/plugin/provider/openai.js +116 -116
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +125 -125
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +167 -167
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +346 -346
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +2 -2
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +114 -114
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +82 -82
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +135 -135
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +217 -217
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +92 -92
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +222 -222
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +164 -164
  606. package/dist/session/shell.js +130 -130
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +201 -201
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +153 -153
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +210 -210
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +130 -130
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +91 -91
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +130 -130
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +120 -120
  635. package/dist/tool/plugin/grep.js +124 -124
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +105 -105
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +212 -212
  644. package/dist/tool/plugin/webfetch.js +112 -112
  645. package/dist/tool/plugin/websearch.js +116 -116
  646. package/dist/tool/plugin/write.js +122 -122
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +16 -16
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +1 -1
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +89 -89
  672. package/dist/websearch.js +84 -84
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +100 -100
  683. package/package.json +8 -8
  684. package/dist/chunks/form-9zdhvgqs.js +0 -18
  685. package/dist/chunks/form-dfpckm2y.js +0 -253
  686. package/dist/chunks/form-wvhg3a55.js +0 -26
  687. /package/dist/chunks/{form-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{form-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{form-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{form-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{form-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{form-24dcb14g.js → agent-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{form-2710q6r3.js → agent-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{form-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{form-2bv980vf.js → agent-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{form-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{form-359p4xyc.js → agent-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{form-3asan66x.js → agent-3asan66x.js} +0 -0
  699. /package/dist/chunks/{form-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{form-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{form-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{form-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{form-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{form-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{form-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{form-53557ph1.js → agent-53557ph1.js} +0 -0
  707. /package/dist/chunks/{form-550bvhaj.js → agent-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{form-6prwharc.js → agent-6prwharc.js} +0 -0
  709. /package/dist/chunks/{form-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{form-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{form-7m9af43g.js → agent-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{form-822emrt2.js → agent-822emrt2.js} +0 -0
  713. /package/dist/chunks/{form-84wd9syh.js → agent-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{form-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{form-8n3pysct.js → agent-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{form-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{form-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{form-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{form-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{form-af5trqkr.js → agent-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{form-afrmfg78.js → agent-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{form-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{form-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{form-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{form-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{form-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{form-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{form-d9fn303g.js → agent-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{form-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{form-dajrwvna.js → agent-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{form-dap0rakb.js → agent-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{form-df08tz66.js → agent-df08tz66.js} +0 -0
  733. /package/dist/chunks/{form-dy18nga0.js → agent-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{form-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{form-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{form-ec1grn59.js → agent-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{form-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{form-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{form-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{form-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{form-faypxj3z.js → agent-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{form-fd410y7t.js → agent-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{form-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{form-g86h250q.js → agent-g86h250q.js} +0 -0
  745. /package/dist/chunks/{form-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{form-gftt206x.js → agent-gftt206x.js} +0 -0
  747. /package/dist/chunks/{form-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  748. /package/dist/chunks/{form-hk9envan.js → agent-hk9envan.js} +0 -0
  749. /package/dist/chunks/{form-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{form-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{form-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{form-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{form-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{form-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  755. /package/dist/chunks/{form-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{form-m18g726c.js → agent-m18g726c.js} +0 -0
  757. /package/dist/chunks/{form-mp448xyj.js → agent-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{form-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{form-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{form-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{form-njntx4h6.js → agent-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{form-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
  763. /package/dist/chunks/{form-pyv0edze.js → agent-pyv0edze.js} +0 -0
  764. /package/dist/chunks/{form-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{form-q74kybfr.js → agent-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{form-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{form-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{form-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{form-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{form-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{form-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{form-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{form-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{form-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  775. /package/dist/chunks/{form-w803qqfp.js → agent-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{form-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{form-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{form-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  779. /package/dist/chunks/{form-wtztk69x.js → agent-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{form-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{form-x61499pn.js → agent-x61499pn.js} +0 -0
  782. /package/dist/chunks/{form-y44na4kk.js → agent-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{form-y8f7s663.js → agent-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{form-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{form-ym463w8f.js → agent-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{form-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{form-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./form-wsj0w0mv.js";
2
+ Service83,
3
+ node86
4
+ } from "./agent-fbq8j98h.js";
5
5
  import {
6
6
  create3
7
- } from "./form-rdw6cm16.js";
7
+ } from "./agent-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event6,
16
+ Event: () => Event8,
17
17
  ExecutionError: () => ExecutionError2,
18
18
  Info: () => Info7,
19
- NotFoundError: () => NotFoundError4,
19
+ NotFoundError: () => NotFoundError6,
20
20
  Service: () => Service44,
21
- layer: () => layer18,
22
- node: () => node46
21
+ layer: () => layer19,
22
+ node: () => node47
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event6 } from "@opencode/schema/command";
27
+ import { Event as Event8 } from "@opencode/schema/command";
28
28
  var Info7 = Command.Info;
29
29
 
30
- class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -41,8 +41,8 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
41
41
 
42
42
  class Service44 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer18 = Layer.effect(Service44, Effect.gen(function* () {
45
- const bus = yield* Service84;
44
+ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
45
+ const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -66,15 +66,15 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node46 = makeLocationNode({
74
+ var node47 = makeLocationNode({
75
75
  service: Service44,
76
- layer: layer18,
77
- deps: [node88]
76
+ layer: layer19,
77
+ deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError4, ExecutionError2, Service44, layer18, node46, exports_command4, Event6 };
89
+ export { Info7, NotFoundError6, ExecutionError2, Service44, layer19, node47, exports_command4, Event8 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./form-gqtdsdt7.js";
3
+ } from "./agent-mxvxcxwy.js";
4
4
  import {
5
- Service84
6
- } from "./form-wsj0w0mv.js";
5
+ Service83
6
+ } from "./agent-fbq8j98h.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./form-wpx4gzz2.js";
9
+ Event18
10
+ } from "./agent-9656bada.js";
11
11
  import {
12
- ID10,
12
+ ID12,
13
13
  MethodID2
14
- } from "./form-k4dzxsgh.js";
14
+ } from "./agent-598gff9k.js";
15
15
  import {
16
- ID9,
16
+ ID11,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service63
20
- } from "./form-h84nxchg.js";
19
+ Service75
20
+ } from "./agent-40ze75wf.js";
21
21
  import {
22
- ID8
23
- } from "./form-mt70e7nm.js";
22
+ ID10
23
+ } from "./agent-k6q0jycv.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./form-sxfhfr8n.js";
25
+ load3,
26
+ derive3
27
+ } from "./agent-qpqsqxka.js";
28
28
  import {
29
29
  useragent2
30
- } from "./form-0nych2mn.js";
30
+ } from "./agent-58dzcpvt.js";
31
31
  import {
32
- ID11
33
- } from "./form-yrk407yr.js";
32
+ ID15
33
+ } from "./agent-r365gfv3.js";
34
34
  import {
35
35
  get5
36
- } from "./form-54ma36ye.js";
36
+ } from "./agent-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID10.make("github-copilot"),
68
+ integrationID: ID12.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,8 +163,8 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service63;
167
- const bus = yield* Service84;
166
+ const providers = yield* Service75;
167
+ const bus = yield* Service83;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
170
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID9.githubCopilot);
183
+ const provider = yield* providers.get(ID11.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
- try: () => load2(url, {
185
+ try: () => load3(url, {
186
186
  ...provider?.headers,
187
187
  Authorization: `Bearer ${credential.refresh}`,
188
188
  "User-Agent": useragent2(ctx.app),
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID9.githubCopilot);
205
+ const item = evt.get(ID11.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
209
209
  evt.add({
210
210
  info: item.provider,
211
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
211
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
212
  sourceConnection: loaded.connection
213
213
  });
214
214
  return;
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
230
230
  }
231
231
  });
232
232
  yield* ctx.model.transform((models) => {
233
- if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
234
- models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
233
+ if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
234
+ models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
235
235
  model.enabled = false;
236
236
  });
237
237
  }
238
238
  });
239
239
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
240
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
240
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
241
  yield* refresh().pipe(Effect.forkScoped);
242
242
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
243
- if (evt.model.providerID !== ID9.githubCopilot)
243
+ if (evt.model.providerID !== ID11.githubCopilot)
244
244
  return;
245
245
  if (evt.package !== "@ai-sdk/github-copilot")
246
246
  return;
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
249
249
  evt.sdk = mod.createOpenaiCompatible(evt.options);
250
250
  }));
251
251
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
252
- if (evt.model.providerID !== ID9.githubCopilot)
252
+ if (evt.model.providerID !== ID11.githubCopilot)
253
253
  return;
254
254
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
255
255
  return;
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
259
259
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
260
260
  if (interaction !== "conversation-agent")
261
261
  evt.headers["x-initiator"] = "agent";
262
- }), { providerID: ID9.githubCopilot });
262
+ }), { providerID: ID11.githubCopilot });
263
263
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
264
- if (evt.model.providerID !== ID9.githubCopilot)
264
+ if (evt.model.providerID !== ID11.githubCopilot)
265
265
  return;
266
266
  if (!loaded.baseURL || !loaded.token || !loaded.models)
267
267
  return;
268
- const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
268
+ const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
271
  if (agent?.data.model)
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
276
276
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
277
277
  return;
278
278
  }));
279
- }), { providerID: ID9.githubCopilot });
279
+ }), { providerID: ID11.githubCopilot });
280
280
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
281
- if (evt.model.providerID !== ID9.githubCopilot)
281
+ if (evt.model.providerID !== ID11.githubCopilot)
282
282
  return;
283
283
  const token = evt.request.headers.get("x-api-key");
284
284
  if (!token)
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
286
286
  const text = yield* Effect.promise(() => evt.request.clone().text());
287
287
  const body = Option.getOrUndefined(decodeBody(text));
288
288
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
289
- }), { providerID: ID9.githubCopilot });
289
+ }), { providerID: ID11.githubCopilot });
290
290
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
291
- if (evt.model.providerID !== ID9.githubCopilot)
291
+ if (evt.model.providerID !== ID11.githubCopilot)
292
292
  return;
293
293
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
294
294
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info8,
8
+ Info: () => Info16,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info8 = SessionProviderContext.Info;
22
+ var Info16 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info8, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info16, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID11,
3
- Service65
4
- } from "./form-yrk407yr.js";
2
+ ID15,
3
+ Service80
4
+ } from "./agent-r365gfv3.js";
5
5
  import {
6
6
  Ref2,
7
- Service62
8
- } from "./form-mt70e7nm.js";
7
+ Service73
8
+ } from "./agent-k6q0jycv.js";
9
9
  import {
10
10
  latest2,
11
- Service57
12
- } from "./form-k68ke2bn.js";
11
+ Service52
12
+ } from "./agent-a3vhmvx0.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./form-mtpeagzc.js";
15
+ } from "./agent-hzrfc1p4.js";
16
16
  import {
17
- Service76
18
- } from "./form-vjabz57c.js";
17
+ Service66
18
+ } from "./agent-emtj3tbf.js";
19
19
  import {
20
20
  evaluate2,
21
- Service45
22
- } from "./form-xet2j094.js";
21
+ Service67
22
+ } from "./agent-vqd49qwt.js";
23
23
  import {
24
- Service19
25
- } from "./form-hcg28tba.js";
24
+ Service31
25
+ } from "./agent-xp6nq9tj.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./form-6xb47vfp.js";
28
+ } from "./agent-6xb47vfp.js";
29
29
  import {
30
30
  Service10
31
- } from "./form-md48st27.js";
31
+ } from "./agent-09dwq0k8.js";
32
32
  import {
33
33
  __export
34
- } from "./form-9rqn6x4v.js";
34
+ } from "./agent-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: () => Plugin20,
39
+ Input: () => Input7,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin9,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name2
43
+ description: () => description3,
44
+ name: () => name7
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name2 = "subagent";
48
+ var name7 = "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 Input7 = 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 Output5 = 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 description3 = [
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,15 +86,15 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin20 = {
89
+ var Plugin9 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service19;
93
- const jobs = yield* Service76;
94
- const agents = yield* Service65;
95
- const config = yield* Service57;
96
- const permission = yield* Service45;
97
- const models = yield* Service62;
92
+ const sessions = yield* Service31;
93
+ const jobs = yield* Service66;
94
+ const agents = yield* Service80;
95
+ const config = yield* Service52;
96
+ const permission = yield* Service67;
97
+ const models = yield* Service73;
98
98
  const subagents = yield* Service10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -115,11 +115,11 @@ var Plugin20 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name7,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input2,
122
- output: Output2,
120
+ description: description3,
121
+ input: Input7,
122
+ output: Output5,
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 Plugin20 = {
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: name7,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin20 = {
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 !== name7 || !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[name7];
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(name7, 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, Plugin20, exports_subagent };
256
+ export { name7, Input7, Output5, description3, Plugin9, exports_subagent };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin43,
9
+ Plugin: () => Plugin30,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin43 = define({
25
+ var Plugin30 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin43 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin43, exports_identity };
38
+ export { identity2, Plugin30, exports_identity };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./form-ym463w8f.js";
3
+ } from "./agent-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Service44
3
- } from "./form-hv6pheye.js";
3
+ } from "./agent-yf1wa02y.js";
4
4
  import {
5
- Service42
6
- } from "./form-sxzvkvgj.js";
5
+ Service63
6
+ } from "./agent-r5wgqceq.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./form-9zdhvgqs.js";
9
+ } from "./agent-n95b3jav.js";
10
10
  import {
11
11
  __export
12
- } from "./form-9rqn6x4v.js";
12
+ } from "./agent-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,7 +19,7 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service42;
22
+ const instances = yield* Service63;
23
23
  const commands = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID11,
2
+ ID15,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./form-yrk407yr.js";
5
+ } from "./agent-r365gfv3.js";
6
6
  import {
7
7
  __export
8
- } from "./form-9rqn6x4v.js";
8
+ } from "./agent-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent2 = {};
12
- __export(exports_agent2, {
13
- AgentPlugin: () => exports_agent2,
14
- Plugin: () => Plugin48
11
+ var exports_agent = {};
12
+ __export(exports_agent, {
13
+ AgentPlugin: () => exports_agent,
14
+ Plugin: () => Plugin28
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -81,7 +81,7 @@ Rules:
81
81
  - Never ask questions or add new questions
82
82
  - If the conversation ends with an unanswered question to the user, preserve that exact question
83
83
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
84
- var Plugin48 = define({
84
+ var Plugin28 = define({
85
85
  id: "opencode.agent",
86
86
  effect: Effect.fn(function* (ctx) {
87
87
  yield* ctx.agent.transform((editor) => {
@@ -91,32 +91,32 @@ var Plugin48 = define({
91
91
  item.mode = "primary";
92
92
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
93
93
  });
94
- editor.update(ID11.make("general"), (item) => {
94
+ editor.update(ID15.make("general"), (item) => {
95
95
  item.name = Name3.make("General");
96
96
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
97
97
  item.mode = "subagent";
98
98
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
99
99
  });
100
- editor.update(ID11.make("explore"), (item) => {
100
+ editor.update(ID15.make("explore"), (item) => {
101
101
  item.name = Name3.make("Explore");
102
102
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
103
103
  item.system = PROMPT_EXPLORE;
104
104
  item.mode = "subagent";
105
105
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
106
106
  });
107
- editor.update(ID11.make("compaction"), (item) => {
107
+ editor.update(ID15.make("compaction"), (item) => {
108
108
  item.name = Name3.make("Compaction");
109
109
  item.mode = "primary";
110
110
  item.hidden = true;
111
111
  });
112
- editor.update(ID11.make("title"), (item) => {
112
+ editor.update(ID15.make("title"), (item) => {
113
113
  item.name = Name3.make("Title");
114
114
  item.mode = "primary";
115
115
  item.hidden = true;
116
116
  item.system = PROMPT_TITLE;
117
117
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
118
118
  });
119
- editor.update(ID11.make("summary"), (item) => {
119
+ editor.update(ID15.make("summary"), (item) => {
120
120
  item.name = Name3.make("Summary");
121
121
  item.mode = "primary";
122
122
  item.hidden = true;
@@ -127,4 +127,4 @@ var Plugin48 = define({
127
127
  })
128
128
  });
129
129
 
130
- export { Plugin48, exports_agent2 };
130
+ export { Plugin28, exports_agent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service82
3
- } from "./form-fq26d1sh.js";
3
+ } from "./agent-3dacjcw5.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./form-0vbcp93d.js";
7
+ } from "./agent-0vbcp93d.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make17
16
+ make: () => make12
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make17 = Effect.gen(function* () {
21
+ var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
23
  const git = yield* Service82;
24
24
  return {
@@ -46,4 +46,4 @@ var make17 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make17, exports_git2 };
49
+ export { make12, exports_git2 };