@opencode/core 0.0.0-dev-21058 → 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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{project-4g8rzqh2.js → agent-07y8yssa.js} +13 -13
  8. package/dist/chunks/{project-kzyk8mcz.js → agent-08fthye5.js} +43 -43
  9. package/dist/chunks/{project-k05z0ace.js → agent-09dwq0k8.js} +19 -19
  10. package/dist/chunks/{project-4vht6qym.js → agent-0datvkzx.js} +27 -27
  11. package/dist/chunks/{project-8jhpg3r3.js → agent-0dq5ytza.js} +4 -4
  12. package/dist/chunks/{project-cyxn42f6.js → agent-0mp3yd4y.js} +11 -11
  13. package/dist/chunks/{project-97fna9vq.js → agent-0v56fe9p.js} +8 -8
  14. package/dist/chunks/{project-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{project-fbyej2qz.js → agent-0vk3wfpr.js} +5 -5
  16. package/dist/chunks/{project-2hxn28a9.js → agent-10mgaypy.js} +14 -14
  17. package/dist/chunks/{project-vtbrqbj2.js → agent-120mm9fe.js} +23 -23
  18. package/dist/chunks/{project-xxjgqtz4.js → agent-13egsp17.js} +22 -22
  19. package/dist/chunks/{project-q3rk13xd.js → agent-176qrfyr.js} +11 -11
  20. package/dist/chunks/{project-yp2x3t23.js → agent-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{project-bjx1sjef.js → agent-1ffvrpkg.js} +6 -6
  22. package/dist/chunks/{project-n2g6t4s8.js → agent-1hj14pj4.js} +26 -26
  23. package/dist/chunks/{project-46ekg8ch.js → agent-1k68ks32.js} +1 -1
  24. package/dist/chunks/{project-rt5q178g.js → agent-1mh1r30f.js} +18 -18
  25. package/dist/chunks/{project-b0jzx5be.js → agent-1zgm74j7.js} +4 -4
  26. package/dist/chunks/{project-xd2frmpg.js → agent-25zgp73e.js} +32 -32
  27. package/dist/chunks/{project-gj014zr3.js → agent-26c5b08v.js} +18 -18
  28. package/dist/chunks/{project-w2ve3f0z.js → agent-2cz1eswr.js} +4 -4
  29. package/dist/chunks/{project-vvd3ek3r.js → agent-2dw3jvkf.js} +14 -14
  30. package/dist/chunks/{project-kqx1b4hy.js → agent-2ryng5r3.js} +4 -4
  31. package/dist/chunks/{project-zfa7ynd8.js → agent-2tba787a.js} +16 -16
  32. package/dist/chunks/{project-h7s7r6s9.js → agent-31xfzrxg.js} +5 -5
  33. package/dist/chunks/{project-9sfv06ww.js → agent-3770a3t0.js} +10 -10
  34. package/dist/chunks/{project-x342v6qz.js → agent-3aqvrwqh.js} +3 -3
  35. package/dist/chunks/{project-td3rcjyz.js → agent-3dacjcw5.js} +12 -12
  36. package/dist/chunks/{project-7ey2hqh4.js → agent-3e3ts2k0.js} +3 -3
  37. package/dist/chunks/{project-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{project-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{project-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{project-h9jfk4va.js → agent-3ke0h2vq.js} +23 -23
  41. package/dist/chunks/{project-qen1ec59.js → agent-3nt2w26v.js} +1 -1
  42. package/dist/chunks/{project-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{project-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{project-3z7vhxa6.js → agent-3v1rmssb.js} +16 -16
  45. package/dist/chunks/{project-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{project-t3er826d.js → agent-3zst7r5n.js} +4 -4
  47. package/dist/chunks/{project-pby86dem.js → agent-40ze75wf.js} +32 -32
  48. package/dist/chunks/{project-6zpy51re.js → agent-43m0923n.js} +20 -20
  49. package/dist/chunks/{project-zx3v58va.js → agent-475aaysq.js} +8 -8
  50. package/dist/chunks/{project-nwxqhh9b.js → agent-4at5033j.js} +31 -31
  51. package/dist/chunks/{project-d9kbpe4j.js → agent-4cx4cnzf.js} +19 -19
  52. package/dist/chunks/{project-vyp8f64q.js → agent-4py5fpra.js} +39 -39
  53. package/dist/chunks/{project-54ma36ye.js → agent-54ma36ye.js} +1 -1
  54. package/dist/chunks/{project-1pxz8ven.js → agent-57myy5jh.js} +5 -5
  55. package/dist/chunks/{project-gsm4wa7c.js → agent-58dzcpvt.js} +10 -10
  56. package/dist/chunks/{project-agfffypt.js → agent-598gff9k.js} +31 -31
  57. package/dist/chunks/{project-aa1y9kb9.js → agent-59pb1bst.js} +83 -83
  58. package/dist/chunks/{project-kwzxrt73.js → agent-5ffyefh4.js} +21 -21
  59. package/dist/chunks/{project-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{project-1j38pfxf.js → agent-5sq35qhm.js} +23 -23
  61. package/dist/chunks/{project-6a3rfgsm.js → agent-6fcpqzzd.js} +4 -4
  62. package/dist/chunks/{project-gashxpx8.js → agent-6g1cr3nb.js} +10 -10
  63. package/dist/chunks/{project-4434d9q2.js → agent-6g7e4dd5.js} +9 -9
  64. package/dist/chunks/{project-tbxcyk70.js → agent-6hk8xqds.js} +4 -4
  65. package/dist/chunks/{project-4zpqecgw.js → agent-6k0cajn2.js} +11 -11
  66. package/dist/chunks/{project-qper1cvd.js → agent-6r7wd4s9.js} +20 -20
  67. package/dist/chunks/{project-9rrg1j5j.js → agent-6tw9cd06.js} +17 -17
  68. package/dist/chunks/{project-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{project-crhch0qz.js → agent-70acndry.js} +47 -47
  70. package/dist/chunks/{project-994b2pxg.js → agent-70y17xeh.js} +5 -5
  71. package/dist/chunks/{project-jaj1xxek.js → agent-71byd0nn.js} +38 -38
  72. package/dist/chunks/{project-73kdj4zj.js → agent-73kdj4zj.js} +1 -1
  73. package/dist/chunks/{project-2jtmvwcj.js → agent-76gx3gef.js} +45 -45
  74. package/dist/chunks/{project-775gj3j1.js → agent-775gj3j1.js} +2 -2
  75. package/dist/chunks/{project-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{project-ws0x2x5x.js → agent-7j2vym7r.js} +22 -22
  77. package/dist/chunks/{project-mrbqc0zq.js → agent-7j38m80p.js} +21 -21
  78. package/dist/chunks/{project-08y5q8wd.js → agent-7mq7nmkg.js} +14 -14
  79. package/dist/chunks/{project-j8nb3x1t.js → agent-7q9429tc.js} +12 -12
  80. package/dist/chunks/{project-0kb2qjdq.js → agent-7zpkz1ag.js} +35 -35
  81. package/dist/chunks/{project-3vddrp31.js → agent-84mt6kxk.js} +10 -10
  82. package/dist/chunks/{project-84txncab.js → agent-84txncab.js} +1 -1
  83. package/dist/chunks/{project-mneyqk4y.js → agent-8920dkqx.js} +142 -142
  84. package/dist/chunks/{project-sk0j6z0a.js → agent-8jjtjp8k.js} +58 -58
  85. package/dist/chunks/{project-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{project-kvz5847h.js → agent-8ytc3qm4.js} +22 -22
  87. package/dist/chunks/{project-j09zfasm.js → agent-91qna3x0.js} +3 -3
  88. package/dist/chunks/{project-f1b4ke4h.js → agent-9656bada.js} +31 -31
  89. package/dist/chunks/{project-dcnp92q7.js → agent-9ejc3kek.js} +11 -11
  90. package/dist/chunks/{project-7ra1gfj5.js → agent-9j3abkkx.js} +3 -3
  91. package/dist/chunks/{project-a43zcwkp.js → agent-9t0y1ztz.js} +3 -3
  92. package/dist/chunks/{project-ep2q945v.js → agent-9wpgc5d2.js} +17 -17
  93. package/dist/chunks/{project-7r4qhcrf.js → agent-9yxrcrk2.js} +22 -22
  94. package/dist/chunks/{project-ftkezsz2.js → agent-a3vhmvx0.js} +46 -46
  95. package/dist/chunks/{project-vpjv6pw6.js → agent-a49by44p.js} +18 -18
  96. package/dist/chunks/{project-d5bxh3kg.js → agent-acgt48p6.js} +24 -24
  97. package/dist/chunks/{project-nhkfd5v3.js → agent-an57bb0v.js} +11 -11
  98. package/dist/chunks/{project-1av17bgz.js → agent-ap7erzbb.js} +44 -44
  99. package/dist/chunks/{project-wzece18v.js → agent-axn1dk7m.js} +17 -17
  100. package/dist/chunks/{project-18n88jqj.js → agent-azndqj98.js} +13 -13
  101. package/dist/chunks/{project-b3f8fkhc.js → agent-b3f8fkhc.js} +2 -2
  102. package/dist/chunks/{project-x4t8qxf4.js → agent-b8n2r79a.js} +35 -35
  103. package/dist/chunks/{project-9a6we621.js → agent-b8s5yqvg.js} +11 -11
  104. package/dist/chunks/{project-pjbrakwm.js → agent-b99nrxjj.js} +12 -12
  105. package/dist/chunks/{project-sw36zbc0.js → agent-bb86f272.js} +11 -11
  106. package/dist/chunks/{project-as6z21sy.js → agent-bbgs6xmq.js} +12 -12
  107. package/dist/chunks/{project-qxmaq0sm.js → agent-bh0zzf2s.js} +8 -8
  108. package/dist/chunks/{project-rxptwqj8.js → agent-btjxhes9.js} +16 -16
  109. package/dist/chunks/{project-1besy32e.js → agent-bv8c7vet.js} +11 -11
  110. package/dist/chunks/{project-zke4s1dj.js → agent-bxdp1qj4.js} +38 -38
  111. package/dist/chunks/{project-kbnja1kr.js → agent-c1ezcj9p.js} +13 -13
  112. package/dist/chunks/{project-rj3eygr5.js → agent-c41wscbt.js} +2 -2
  113. package/dist/chunks/{project-sa8ekw3f.js → agent-c8ax2afj.js} +2 -2
  114. package/dist/chunks/{project-hx9rzx00.js → agent-c96shp8w.js} +7 -7
  115. package/dist/chunks/{project-38cz93yf.js → agent-c9e0ykqz.js} +28 -28
  116. package/dist/chunks/{project-ng4mt1p4.js → agent-cnw0s3pm.js} +11 -11
  117. package/dist/chunks/{project-jfyd8byt.js → agent-cp2e2e5x.js} +15 -15
  118. package/dist/chunks/{project-hsdh5v8b.js → agent-d3x6x8ct.js} +23 -23
  119. package/dist/chunks/{project-846x6n9b.js → agent-desw8mjx.js} +27 -27
  120. package/dist/chunks/{project-4qzh7fhm.js → agent-df900zta.js} +11 -11
  121. package/dist/chunks/{project-azhwb1sg.js → agent-dn7ydhqs.js} +321 -321
  122. package/dist/chunks/{project-dqxsqydv.js → agent-dqxsqydv.js} +1 -1
  123. package/dist/chunks/{project-7v81x33d.js → agent-dvep9rg9.js} +9 -9
  124. package/dist/chunks/{project-0txttp9t.js → agent-dwm3anjr.js} +32 -32
  125. package/dist/chunks/{project-q9mystjd.js → agent-e314xmzp.js} +2 -2
  126. package/dist/chunks/{project-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
  127. package/dist/chunks/{project-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{project-xah2gnd0.js → agent-emtj3tbf.js} +16 -16
  129. package/dist/chunks/{project-c1fqxshp.js → agent-es1vcfrp.js} +3 -3
  130. package/dist/chunks/{project-tgmc6crh.js → agent-f5gzyxsv.js} +9 -9
  131. package/dist/chunks/{project-dqf667jx.js → agent-fbeb1wa5.js} +11 -11
  132. package/dist/chunks/{project-4m514emz.js → agent-fbq8j98h.js} +14 -14
  133. package/dist/chunks/{project-2k8khapm.js → agent-fcrkznn8.js} +5 -5
  134. package/dist/chunks/{project-6zxpntjp.js → agent-fkhcryxm.js} +9 -9
  135. package/dist/chunks/{project-s8c9wy2r.js → agent-fn4x26t7.js} +4 -4
  136. package/dist/chunks/{project-s55z37mj.js → agent-fr4rxre2.js} +28 -28
  137. package/dist/chunks/{project-ft3hqk2c.js → agent-ft3hqk2c.js} +2 -2
  138. package/dist/chunks/{project-a44gt5xs.js → agent-fx9jxwhh.js} +6 -6
  139. package/dist/chunks/{project-khmqacep.js → agent-fxaymqdw.js} +4 -4
  140. package/dist/chunks/{project-7d1j3gh0.js → agent-g6ncrc2a.js} +14 -14
  141. package/dist/chunks/{project-29cpf1j0.js → agent-g8pbgkrs.js} +10 -10
  142. package/dist/chunks/{project-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{project-7xybr5h7.js → agent-gftv0dff.js} +15 -15
  144. package/dist/chunks/{project-0r3c1bmw.js → agent-gj71zhbs.js} +5 -5
  145. package/dist/chunks/{project-tr0zcq97.js → agent-gwkjka7r.js} +10 -10
  146. package/dist/chunks/{project-nsbd13pa.js → agent-gza6rqz1.js} +9 -9
  147. package/dist/chunks/{project-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{project-6hjx5zpb.js → agent-h71w788e.js} +9 -9
  149. package/dist/chunks/{project-j6map0at.js → agent-hfbyhya8.js} +10 -10
  150. package/dist/chunks/{project-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
  151. package/dist/chunks/{project-d57paz8b.js → agent-hk5w54gx.js} +9 -9
  152. package/dist/chunks/{project-csctevvr.js → agent-hmf6h8tj.js} +14 -14
  153. package/dist/chunks/{project-2yqxmsdx.js → agent-hrcr6mwe.js} +11 -11
  154. package/dist/chunks/{project-9qzakqdf.js → agent-hy5rne45.js} +26 -26
  155. package/dist/chunks/{project-my4zabxr.js → agent-hzrfc1p4.js} +3 -3
  156. package/dist/chunks/{project-524rf9nz.js → agent-j0mtf0c9.js} +46 -46
  157. package/dist/chunks/{project-ggpn5cje.js → agent-j4mjvx72.js} +23 -23
  158. package/dist/chunks/{project-5ghbr0aa.js → agent-j55ztwk7.js} +21 -21
  159. package/dist/chunks/{project-x4asfamj.js → agent-j6gr24hv.js} +11 -11
  160. package/dist/chunks/{project-b22ng80r.js → agent-j88gsrc2.js} +6 -6
  161. package/dist/chunks/{project-h8b1e0g7.js → agent-jfrhrggt.js} +32 -32
  162. package/dist/chunks/{project-vr3y5df8.js → agent-k6q0jycv.js} +33 -33
  163. package/dist/chunks/{project-rdk8m1yb.js → agent-k8z8vrp8.js} +5 -5
  164. package/dist/chunks/{project-kwb1v3vj.js → agent-kwb1v3vj.js} +1 -1
  165. package/dist/chunks/{project-vd0f7f2n.js → agent-kzcb1jca.js} +5 -5
  166. package/dist/chunks/{project-2f95q5sc.js → agent-m341j4am.js} +20 -20
  167. package/dist/chunks/{project-ydbknben.js → agent-m48ydh7z.js} +50 -50
  168. package/dist/chunks/{project-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{project-maspj1v3.js → agent-maspj1v3.js} +1 -1
  170. package/dist/chunks/{project-ef5jab3p.js → agent-me8drbfe.js} +27 -27
  171. package/dist/chunks/{project-gw6dy74d.js → agent-mjc8m2em.js} +36 -36
  172. package/dist/chunks/{project-5gse0wef.js → agent-mvnt7d01.js} +15 -15
  173. package/dist/chunks/{project-0pmjc72x.js → agent-mw9nhf2x.js} +3 -3
  174. package/dist/chunks/{project-k58fcyrb.js → agent-mxabp7zc.js} +20 -20
  175. package/dist/chunks/{project-3y377wv9.js → agent-mxvxcxwy.js} +4 -4
  176. package/dist/chunks/{project-e1smpma2.js → agent-n3df6fgn.js} +68 -68
  177. package/dist/chunks/{project-6hgkw0ap.js → agent-n52ad204.js} +17 -17
  178. package/dist/chunks/{project-cz8x9c8g.js → agent-n7gz7dkb.js} +21 -21
  179. package/dist/chunks/agent-n95b3jav.js +18 -0
  180. package/dist/chunks/{project-0gtcxzh4.js → agent-nhfjry95.js} +26 -26
  181. package/dist/chunks/{project-hcv80w8f.js → agent-npw39rc8.js} +8 -8
  182. package/dist/chunks/{project-nvpqrmqg.js → agent-npza5r50.js} +15 -15
  183. package/dist/chunks/{project-6rqqpc35.js → agent-ns8hhn76.js} +11 -11
  184. package/dist/chunks/{project-2t6h5syz.js → agent-p59b6n5j.js} +12 -12
  185. package/dist/chunks/{project-hfe0sdpn.js → agent-p68t7hkv.js} +176 -176
  186. package/dist/chunks/{project-0xvaxfee.js → agent-p68x8en9.js} +29 -29
  187. package/dist/chunks/{project-3sa7vbkn.js → agent-pdz643x3.js} +10 -10
  188. package/dist/chunks/{project-d7x0sh0y.js → agent-phz50fbd.js} +9 -9
  189. package/dist/chunks/{project-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{project-pknna89w.js → agent-pknna89w.js} +1 -1
  191. package/dist/chunks/{project-pnzf6mjf.js → agent-pnzf6mjf.js} +1 -1
  192. package/dist/chunks/{project-xzn6n07m.js → agent-pqk7fwvb.js} +6 -6
  193. package/dist/chunks/{project-g16p7fm5.js → agent-pxnnf3sj.js} +10 -10
  194. package/dist/chunks/{project-w92k2e0p.js → agent-py3kkmfq.js} +8 -8
  195. package/dist/chunks/{project-ce17ykb7.js → agent-pz17d9xg.js} +5 -5
  196. package/dist/chunks/{project-esffqqvs.js → agent-q159fzra.js} +17 -17
  197. package/dist/chunks/{project-xwe6v4cn.js → agent-q519ga1a.js} +40 -40
  198. package/dist/chunks/{project-jycptg83.js → agent-q88xdd0q.js} +15 -15
  199. package/dist/chunks/{project-w764hn2r.js → agent-qbas706v.js} +17 -17
  200. package/dist/chunks/{project-h8r6qxhx.js → agent-qe7caw4f.js} +32 -32
  201. package/dist/chunks/{project-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{project-h9h3ykac.js → agent-qnmgnxnk.js} +29 -29
  203. package/dist/chunks/{project-tz21801v.js → agent-qpqsqxka.js} +11 -11
  204. package/dist/chunks/{project-qsdy395h.js → agent-qsdy395h.js} +1 -1
  205. package/dist/chunks/{project-9g9rfe9e.js → agent-qwean1e1.js} +12 -12
  206. package/dist/chunks/{project-r2z489rp.js → agent-r2z489rp.js} +1 -1
  207. package/dist/chunks/{project-9wwfrree.js → agent-r365gfv3.js} +24 -24
  208. package/dist/chunks/{project-c8bydgjz.js → agent-r5wgqceq.js} +6 -6
  209. package/dist/chunks/{project-46k4mwc0.js → agent-r8eecgca.js} +23 -23
  210. package/dist/chunks/{project-h39sbrp5.js → agent-rc0eda3w.js} +7 -7
  211. package/dist/chunks/{project-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{project-rhjbct0v.js → agent-rhjbct0v.js} +1 -1
  213. package/dist/chunks/{project-jmfpatbx.js → agent-rrd63aa5.js} +25 -25
  214. package/dist/chunks/{project-embw8kgh.js → agent-rwm5vee1.js} +4 -4
  215. package/dist/chunks/{project-qa3qhgw8.js → agent-ryr25ayn.js} +4 -4
  216. package/dist/chunks/{project-yp4cx7tr.js → agent-s5bmn3fh.js} +33 -33
  217. package/dist/chunks/{project-77rprrbn.js → agent-sgz82gsd.js} +22 -22
  218. package/dist/chunks/{project-tggy4efm.js → agent-sqgae8e7.js} +15 -15
  219. package/dist/chunks/{project-b19791qn.js → agent-st9476f7.js} +21 -21
  220. package/dist/chunks/{project-syv4x271.js → agent-syv4x271.js} +1 -1
  221. package/dist/chunks/{project-txm3e8qz.js → agent-sz15zhhw.js} +4 -4
  222. package/dist/chunks/{project-0yh5wqb1.js → agent-t59vet7a.js} +7 -7
  223. package/dist/chunks/{project-a1vqgawf.js → agent-t5yst9z9.js} +13 -13
  224. package/dist/chunks/{project-xmfhmd05.js → agent-t7rvx3z8.js} +5 -5
  225. package/dist/chunks/{project-7qcbg35h.js → agent-t9157dv5.js} +23 -23
  226. package/dist/chunks/{project-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{project-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{project-vrzt526f.js → agent-tdqj5rj9.js} +5 -5
  229. package/dist/chunks/{project-tdstcens.js → agent-tdstcens.js} +1 -1
  230. package/dist/chunks/{project-5gypmxb6.js → agent-tf2nhsz8.js} +11 -11
  231. package/dist/chunks/{project-ccd6hyrd.js → agent-tgvn7qv7.js} +8 -8
  232. package/dist/chunks/{project-rert0e01.js → agent-tkb22qbm.js} +2 -2
  233. package/dist/chunks/{project-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{project-5yzzbxa7.js → agent-tpw6cwsb.js} +8 -8
  235. package/dist/chunks/{project-86bgjncs.js → agent-tvktx62v.js} +3 -3
  236. package/dist/chunks/{project-tyytaxap.js → agent-tyytaxap.js} +1 -1
  237. package/dist/chunks/{project-6e2baheb.js → agent-v0v9zhgd.js} +34 -34
  238. package/dist/chunks/{project-b261b8hj.js → agent-v2mxr9ph.js} +14 -14
  239. package/dist/chunks/{project-etqtjtw0.js → agent-v73vpk9k.js} +5 -5
  240. package/dist/chunks/{project-h5gvfa01.js → agent-v7m0z00c.js} +12 -12
  241. package/dist/chunks/{project-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{project-veqvce7d.js → agent-veqvce7d.js} +1 -1
  243. package/dist/chunks/{project-drnf6xwf.js → agent-vjjaysxc.js} +2 -2
  244. package/dist/chunks/agent-vmbjch0v.js +26 -0
  245. package/dist/chunks/{project-8ckc28nh.js → agent-vn5kn1xa.js} +3 -3
  246. package/dist/chunks/{project-tw4wzwtt.js → agent-vqd49qwt.js} +34 -34
  247. package/dist/chunks/{project-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{project-rax2wscr.js → agent-w1eqcter.js} +30 -30
  249. package/dist/chunks/{project-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{project-cg84fwzy.js → agent-w8frm7c7.js} +5 -5
  251. package/dist/chunks/{project-wd87259q.js → agent-wd87259q.js} +1 -1
  252. package/dist/chunks/{project-4ns3h2re.js → agent-wgahhr0x.js} +4 -4
  253. package/dist/chunks/{project-9r8fms9q.js → agent-wjtwcy2c.js} +13 -13
  254. package/dist/chunks/{project-66whjjpm.js → agent-ww5bxnkm.js} +20 -20
  255. package/dist/chunks/{project-7ac6etn3.js → agent-x05pdjgt.js} +11 -11
  256. package/dist/chunks/{project-scy96xry.js → agent-x2p9rnd2.js} +44 -44
  257. package/dist/chunks/{project-dfmpseqs.js → agent-x39k8923.js} +49 -49
  258. package/dist/chunks/{project-xqw97vvf.js → agent-x4fsxtvp.js} +16 -16
  259. package/dist/chunks/{project-vh35nqe6.js → agent-x6ekcm9n.js} +6 -6
  260. package/dist/chunks/{project-57b9ws8p.js → agent-xfkkasph.js} +7 -7
  261. package/dist/chunks/{project-fzscntb9.js → agent-xp6nq9tj.js} +90 -90
  262. package/dist/chunks/{project-217ry7f9.js → agent-xryj725v.js} +5 -5
  263. package/dist/chunks/{project-r2v4c7r0.js → agent-xx5ebepc.js} +8 -8
  264. package/dist/chunks/{project-gvhzaye6.js → agent-y06egy23.js} +13 -13
  265. package/dist/chunks/{project-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{project-mmme5mvc.js → agent-y4j9axvr.js} +4 -4
  267. package/dist/chunks/{project-y71avatq.js → agent-y71avatq.js} +1 -1
  268. package/dist/chunks/{project-gxsww4yb.js → agent-y7p2skpd.js} +15 -15
  269. package/dist/chunks/{project-et7yaydb.js → agent-ycw2k4m5.js} +11 -11
  270. package/dist/chunks/{project-1gbx2bbx.js → agent-yesqerhw.js} +3 -3
  271. package/dist/chunks/{project-464fgrf8.js → agent-yf1wa02y.js} +11 -11
  272. package/dist/chunks/{project-330cx653.js → agent-ykn3eabp.js} +34 -34
  273. package/dist/chunks/{project-yrcj3v3g.js → agent-yrcj3v3g.js} +1 -1
  274. package/dist/chunks/{project-5bqrbzpz.js → agent-yynp9xvp.js} +39 -39
  275. package/dist/chunks/{project-277eer69.js → agent-z0aj456m.js} +4 -4
  276. package/dist/chunks/{project-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{project-s02j1kc0.js → agent-z9tz5eek.js} +6 -6
  278. package/dist/chunks/{project-ba3xh6a2.js → agent-zfm7v8bv.js} +11 -11
  279. package/dist/chunks/{project-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{project-mxjpgj4j.js → agent-zvj6924a.js} +5 -5
  281. package/dist/chunks/{project-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{project-29qym6xz.js → agent-zy43x3f1.js} +4 -4
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +11 -11
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +75 -75
  288. package/dist/config/discovery.js +84 -84
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +101 -101
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +205 -205
  293. package/dist/config/plugin/compaction.js +154 -154
  294. package/dist/config/plugin/compatibility.js +134 -134
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +116 -116
  298. package/dist/config/plugin/instruction.js +116 -116
  299. package/dist/config/plugin/location-watcher.js +118 -118
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +117 -117
  302. package/dist/config/plugin/provider.js +116 -116
  303. package/dist/config/plugin/reference.js +118 -118
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +104 -104
  306. package/dist/config/plugin/skill.js +137 -137
  307. package/dist/config/plugin/snapshot.js +116 -116
  308. package/dist/config/plugin/source.js +119 -119
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +117 -117
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +1 -1
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +121 -121
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +85 -85
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  384. package/dist/database/migration.gen.js +51 -51
  385. package/dist/database/migration.js +53 -53
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -366
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +95 -95
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +97 -97
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +3 -3
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +76 -76
  409. package/dist/file-access.js +106 -106
  410. package/dist/file-mutation.js +96 -96
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +98 -98
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +2 -2
  425. package/dist/formatter.js +89 -89
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +93 -93
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +357 -357
  451. package/dist/instruction-discovery.js +82 -82
  452. package/dist/instructions/builtins.js +89 -89
  453. package/dist/instructions/index.js +1 -1
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +91 -91
  456. package/dist/job.js +80 -80
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +75 -75
  459. package/dist/location-activity.js +136 -136
  460. package/dist/location-lifecycle.js +105 -105
  461. package/dist/location-service-map.js +88 -88
  462. package/dist/location-services.js +354 -354
  463. package/dist/location.js +89 -89
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +93 -93
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +80 -80
  469. package/dist/mcp/stdio.js +92 -92
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +93 -93
  472. package/dist/model-resolver.js +100 -100
  473. package/dist/model.js +102 -102
  474. package/dist/models-dev.js +109 -109
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +78 -78
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +105 -105
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +77 -77
  484. package/dist/plugin/agent.js +76 -76
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +1 -1
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +329 -329
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +98 -98
  493. package/dist/plugin/module.js +117 -117
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +104 -104
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  498. package/dist/plugin/provider/azure.js +116 -116
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +116 -116
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/databricks.js +1 -1
  506. package/dist/plugin/provider/digitalocean.js +95 -95
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +97 -97
  510. package/dist/plugin/provider/gitlab.js +95 -95
  511. package/dist/plugin/provider/google-vertex.js +113 -113
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +80 -80
  514. package/dist/plugin/provider/lmstudio.js +125 -125
  515. package/dist/plugin/provider/local.js +122 -122
  516. package/dist/plugin/provider/modal.js +94 -94
  517. package/dist/plugin/provider/neon.js +1 -1
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +125 -125
  520. package/dist/plugin/provider/openai.js +118 -118
  521. package/dist/plugin/provider/opencode.js +99 -99
  522. package/dist/plugin/provider/openrouter.js +93 -93
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +81 -81
  525. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  526. package/dist/plugin/provider/sap-ai-core.js +93 -93
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  529. package/dist/plugin/provider/vercel.js +92 -92
  530. package/dist/plugin/provider/vllm.js +125 -125
  531. package/dist/plugin/provider/xai.js +93 -93
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +167 -167
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +348 -348
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +88 -88
  542. package/dist/plugin/vcs/hg.js +88 -88
  543. package/dist/plugin/verbosity.js +95 -95
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +92 -92
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +87 -87
  560. package/dist/reference/instructions.js +91 -91
  561. package/dist/reference.js +91 -91
  562. package/dist/repository-cache.js +83 -83
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +99 -99
  566. package/dist/rpc.js +88 -88
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +76 -76
  570. package/dist/session/compaction.js +135 -135
  571. package/dist/session/context.js +155 -155
  572. package/dist/session/diff.js +90 -90
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +3 -3
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +217 -217
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +154 -154
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +92 -92
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +79 -79
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +99 -99
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +122 -122
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +131 -131
  590. package/dist/session/projector.js +88 -88
  591. package/dist/session/prompt.js +107 -107
  592. package/dist/session/provider-context.js +1 -1
  593. package/dist/session/revert.js +92 -92
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -224
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +100 -100
  599. package/dist/session/runner/publish-llm-event.js +115 -115
  600. package/dist/session/runner/retry.js +2 -2
  601. package/dist/session/runner/step.js +127 -127
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +105 -105
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +75 -75
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +159 -159
  614. package/dist/session/to-session-error.js +113 -113
  615. package/dist/session/transfer.js +213 -213
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +209 -209
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +130 -130
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +104 -104
  626. package/dist/snapshot.js +93 -93
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +130 -130
  631. package/dist/tool/plugin/edit.js +122 -122
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +126 -126
  634. package/dist/tool/plugin/grep.js +126 -126
  635. package/dist/tool/plugin/mcp-resource.js +119 -119
  636. package/dist/tool/plugin/opencode.js +111 -111
  637. package/dist/tool/plugin/patch.js +124 -124
  638. package/dist/tool/plugin/question.js +105 -105
  639. package/dist/tool/plugin/read.js +127 -127
  640. package/dist/tool/plugin/shell.js +210 -210
  641. package/dist/tool/plugin/skill.js +115 -115
  642. package/dist/tool/plugin/subagent.js +208 -208
  643. package/dist/tool/plugin/webfetch.js +114 -114
  644. package/dist/tool/plugin/websearch.js +114 -114
  645. package/dist/tool/plugin/write.js +124 -124
  646. package/dist/tool/read-filesystem.js +102 -102
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +94 -94
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +93 -93
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +91 -91
  671. package/dist/websearch.js +82 -82
  672. package/dist/wellknown/plugin.js +78 -78
  673. package/dist/wellknown.js +79 -79
  674. package/dist/workspace/driver.js +3 -3
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +84 -84
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +8 -8
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +91 -91
  681. package/dist/worktree.js +96 -96
  682. package/package.json +8 -8
  683. package/dist/chunks/project-by5v678g.js +0 -18
  684. package/dist/chunks/project-gz4v619e.js +0 -26
  685. /package/dist/chunks/{project-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{project-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{project-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{project-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{project-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{project-24dcb14g.js → agent-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{project-2710q6r3.js → agent-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{project-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{project-2bv980vf.js → agent-2bv980vf.js} +0 -0
  694. /package/dist/chunks/{project-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{project-359p4xyc.js → agent-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{project-3asan66x.js → agent-3asan66x.js} +0 -0
  697. /package/dist/chunks/{project-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{project-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{project-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{project-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{project-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{project-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{project-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{project-53557ph1.js → agent-53557ph1.js} +0 -0
  705. /package/dist/chunks/{project-550bvhaj.js → agent-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{project-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{project-6prwharc.js → agent-6prwharc.js} +0 -0
  708. /package/dist/chunks/{project-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{project-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{project-7m9af43g.js → agent-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{project-822emrt2.js → agent-822emrt2.js} +0 -0
  712. /package/dist/chunks/{project-84wd9syh.js → agent-84wd9syh.js} +0 -0
  713. /package/dist/chunks/{project-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{project-8n3pysct.js → agent-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{project-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{project-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{project-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{project-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{project-af5trqkr.js → agent-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{project-afrmfg78.js → agent-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{project-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{project-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{project-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{project-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{project-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{project-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{project-d9fn303g.js → agent-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{project-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{project-dajrwvna.js → agent-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{project-dap0rakb.js → agent-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{project-df08tz66.js → agent-df08tz66.js} +0 -0
  732. /package/dist/chunks/{project-dy18nga0.js → agent-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{project-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{project-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{project-ec1grn59.js → agent-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{project-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{project-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{project-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{project-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{project-faypxj3z.js → agent-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{project-fd410y7t.js → agent-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{project-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{project-g86h250q.js → agent-g86h250q.js} +0 -0
  744. /package/dist/chunks/{project-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{project-gftt206x.js → agent-gftt206x.js} +0 -0
  746. /package/dist/chunks/{project-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  747. /package/dist/chunks/{project-hk9envan.js → agent-hk9envan.js} +0 -0
  748. /package/dist/chunks/{project-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{project-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{project-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{project-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{project-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{project-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  754. /package/dist/chunks/{project-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{project-m18g726c.js → agent-m18g726c.js} +0 -0
  756. /package/dist/chunks/{project-mp448xyj.js → agent-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{project-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{project-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{project-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{project-njntx4h6.js → agent-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{project-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
  762. /package/dist/chunks/{project-pyv0edze.js → agent-pyv0edze.js} +0 -0
  763. /package/dist/chunks/{project-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{project-q74kybfr.js → agent-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{project-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{project-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{project-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{project-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{project-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{project-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{project-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{project-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{project-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  774. /package/dist/chunks/{project-w803qqfp.js → agent-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{project-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  776. /package/dist/chunks/{project-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{project-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  778. /package/dist/chunks/{project-wtztk69x.js → agent-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{project-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{project-x61499pn.js → agent-x61499pn.js} +0 -0
  781. /package/dist/chunks/{project-y44na4kk.js → agent-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{project-y8f7s663.js → agent-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{project-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{project-ym463w8f.js → agent-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{project-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  786. /package/dist/chunks/{project-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./project-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./project-td3rcjyz.js";
6
+ } from "./agent-3dacjcw5.js";
7
7
  import {
8
8
  Slug2
9
- } from "./project-gebd4c9n.js";
9
+ } from "./agent-gebd4c9n.js";
10
10
  import {
11
11
  Service85,
12
12
  node89
13
- } from "./project-0pmjc72x.js";
13
+ } from "./agent-mw9nhf2x.js";
14
14
  import {
15
- Service84,
16
- node88
17
- } from "./project-4m514emz.js";
15
+ Service83,
16
+ node86
17
+ } from "./agent-fbq8j98h.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./project-rj3eygr5.js";
20
+ } from "./agent-c41wscbt.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./project-sa8ekw3f.js";
23
+ } from "./agent-c8ax2afj.js";
24
24
  import {
25
- ID14,
26
- NotFoundError10
27
- } from "./project-dfmpseqs.js";
25
+ ID16,
26
+ NotFoundError11
27
+ } from "./agent-x39k8923.js";
28
28
  import {
29
- Ref3
30
- } from "./project-rxptwqj8.js";
29
+ Ref4
30
+ } from "./agent-btjxhes9.js";
31
31
  import {
32
- Service59,
33
- node61
34
- } from "./project-5gypmxb6.js";
32
+ Service65,
33
+ node68
34
+ } from "./agent-tf2nhsz8.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./project-0vbcp93d.js";
38
+ } from "./agent-0vbcp93d.js";
39
39
  import {
40
- Service22
41
- } from "./project-vpjv6pw6.js";
40
+ Service21
41
+ } from "./agent-a49by44p.js";
42
42
  import {
43
43
  __export
44
- } from "./project-9rqn6x4v.js";
44
+ } from "./agent-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -50,18 +50,18 @@ __export(exports_worktree2, {
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
52
  Event: () => Event6,
53
- Info: () => Info5,
53
+ Info: () => Info4,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service21,
59
+ Service: () => Service20,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node24
64
+ node: () => node23
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info5 = Worktree.Info;
78
+ var Info4 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry3 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID14, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -92,19 +92,19 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
92
92
  }
93
93
  var Event6 = Worktree.Event;
94
94
 
95
- class Service21 extends Context.Service()("@opencode/Worktree") {
95
+ class Service20 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service21, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service85;
100
100
  const db = database.db;
101
- const bus = yield* Service84;
101
+ const bus = yield* Service83;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service59;
103
+ const locations = yield* Service65;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError10({ projectID });
107
+ return yield* new NotFoundError11({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -113,9 +113,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
113
113
  if (current?.directory === directory)
114
114
  return current.get();
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
- const context = yield* locations.contextEffect(Ref3.make({ directory }));
116
+ const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service22).get();
118
+ return Context.get(context, Service21).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service21.of({
249
+ return Service20.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node24 = Node.makeGlobalNode({
260
- service: Service21,
259
+ var node23 = Node.makeGlobalNode({
260
+ service: Service20,
261
261
  layer,
262
- deps: [FSUtil.node, node88, node89, AppProcess.node, node61]
262
+ deps: [FSUtil.node, node86, node89, AppProcess.node, node68]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service21, node24, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service20, node23, exports_worktree2, OperationError2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service61,
3
- node63
4
- } from "./project-2jtmvwcj.js";
2
+ Service72,
3
+ node75
4
+ } from "./agent-76gx3gef.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./project-my4zabxr.js";
7
+ } from "./agent-hzrfc1p4.js";
8
8
  import {
9
9
  __export
10
- } from "./project-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service50,
17
+ Service: () => Service64,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node52,
19
+ node: () => node67,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service64 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service50, Effect.gen(function* () {
58
- const resolver = yield* Service61;
59
- return Service50.of({
57
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
58
+ const resolver = yield* Service72;
59
+ return Service64.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node52 = makeLocationNode({ service: Service50, layer, deps: [node63] });
77
+ var node67 = makeLocationNode({ service: Service64, layer, deps: [node75] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service50, resolved2, node52, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service64, resolved2, node67, exports_model };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./project-qnc92qwc.js";
4
+ } from "./agent-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./project-qfa1cgps.js";
7
+ } from "./agent-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./project-qnc92qwc.js";
3
+ } from "./agent-qnc92qwc.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./project-rj3eygr5.js";
6
+ } from "./agent-c41wscbt.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service54
4
- } from "./project-ftkezsz2.js";
3
+ Service52
4
+ } from "./agent-a3vhmvx0.js";
5
5
  import {
6
6
  __export
7
- } from "./project-9rqn6x4v.js";
7
+ } from "./agent-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin17,
12
+ Plugin: () => Plugin22,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin17 = define({
22
+ var Plugin22 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service54;
25
+ const config = yield* Service52;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin17 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin17, exports_warming };
99
+ export { Plugin22, exports_warming };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./project-hgz4x7wa.js";
3
+ } from "./agent-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./project-eej6y6fw.js";
6
+ } from "./agent-eej6y6fw.js";
7
7
  import {
8
8
  Service85,
9
9
  node89
10
- } from "./project-0pmjc72x.js";
10
+ } from "./agent-mw9nhf2x.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./project-y71avatq.js";
13
+ } from "./agent-y71avatq.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node77
18
- } from "./project-4ns3h2re.js";
17
+ node88
18
+ } from "./agent-wgahhr0x.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./project-faypxj3z.js";
21
+ } from "./agent-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./project-9rqn6x4v.js";
24
+ } from "./agent-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: () => ID11,
31
- Info: () => Info20,
30
+ ID: () => ID18,
31
+ Info: () => Info29,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service73,
33
+ Service: () => Service84,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured11,
36
- node: () => node76
35
+ configured: () => configured12,
36
+ node: () => node87
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 ID11 = Workspace.ID;
44
+ var ID18 = Workspace.ID;
45
45
 
46
- class Info20 extends Schema.Class("Workspace.Info")({
47
- id: ID11,
46
+ class Info29 extends Schema.Class("Workspace.Info")({
47
+ id: ID18,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID18 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID11,
59
+ workspaceID: ID18,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service73 extends Context.Service()("@opencode/Workspace") {
65
+ class Service84 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured11 = (options = {}) => makeGlobalNode({
68
- service: Service73,
67
+ var configured12 = (options = {}) => makeGlobalNode({
68
+ service: Service84,
69
69
  layer: layer(options),
70
- deps: [node89, node77]
70
+ deps: [node89, node88]
71
71
  });
72
- var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
73
73
  const db = (yield* Service85).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service73, 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 Info20({
89
+ const info = (row, binding) => new Info29({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service73.of({
167
+ return Service84.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID11.create();
169
+ const workspaceID = input.id ?? ID18.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(Service73, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node76 = configured11();
245
+ var node87 = configured12();
246
246
 
247
- export { ID11, Info20, NotFound2, CreateConflict2, Service73, configured11, node76, exports_workspace };
247
+ export { ID18, Info29, NotFound2, CreateConflict2, Service84, configured12, node87, exports_workspace };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./project-tazgh4e4.js";
3
+ } from "./agent-tazgh4e4.js";
4
4
  import {
5
- ID5,
6
- Service41
7
- } from "./project-nwxqhh9b.js";
5
+ ID6,
6
+ Service55
7
+ } from "./agent-4at5033j.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./project-my4zabxr.js";
10
+ } from "./agent-hzrfc1p4.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./project-86bgjncs.js";
13
+ } from "./agent-tvktx62v.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./project-c1fqxshp.js";
16
+ } from "./agent-es1vcfrp.js";
17
17
  import {
18
18
  __export
19
- } from "./project-9rqn6x4v.js";
19
+ } from "./agent-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service41;
84
+ const snapshot = yield* Service55;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID5.make(from),
91
- to: ID5.make(to),
90
+ from: ID6.make(from),
91
+ to: ID6.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./project-td3rcjyz.js";
3
+ } from "./agent-3dacjcw5.js";
4
4
  import {
5
- Service66
6
- } from "./project-tw4wzwtt.js";
5
+ Service67
6
+ } from "./agent-vqd49qwt.js";
7
7
  import {
8
- Service18
9
- } from "./project-wzece18v.js";
8
+ Service26
9
+ } from "./agent-axn1dk7m.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./project-0vbcp93d.js";
12
+ } from "./agent-0vbcp93d.js";
13
13
  import {
14
- Info5,
14
+ Info4,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./project-zke4s1dj.js";
19
+ } from "./agent-bxdp1qj4.js";
20
20
  import {
21
21
  __export
22
- } from "./project-9rqn6x4v.js";
22
+ } from "./agent-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: () => Plugin36,
30
+ Plugin: () => Plugin6,
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 Plugin36 = {
100
+ var Plugin6 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service18;
104
- const permission = yield* Service66;
103
+ const access = yield* Service26;
104
+ const permission = yield* Service67;
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 Plugin36 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info5,
156
+ output: Info4,
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, Plugin36, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin6, exports_opencode };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service85
3
- } from "./project-0pmjc72x.js";
3
+ } from "./agent-mw9nhf2x.js";
4
4
  import {
5
- Service84
6
- } from "./project-4m514emz.js";
5
+ Service83
6
+ } from "./agent-fbq8j98h.js";
7
7
  import {
8
- Service49
9
- } from "./project-c8bydgjz.js";
8
+ Service63
9
+ } from "./agent-r5wgqceq.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./project-z5v4ffb3.js";
12
+ } from "./agent-z5v4ffb3.js";
13
13
  import {
14
- ID5,
15
- Service41
16
- } from "./project-nwxqhh9b.js";
14
+ ID6,
15
+ Service55
16
+ } from "./agent-4at5033j.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./project-ec1grn59.js";
19
+ } from "./agent-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./project-gftt206x.js";
22
+ } from "./agent-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./project-86bgjncs.js";
25
+ } from "./agent-tvktx62v.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./project-c1fqxshp.js";
28
+ } from "./agent-es1vcfrp.js";
29
29
  import {
30
30
  __export
31
- } from "./project-9rqn6x4v.js";
31
+ } from "./agent-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,12 +41,12 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect, Schema } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service49;
44
+ const instances = yield* Service63;
45
45
  const database = yield* Service85;
46
- const bus = yield* Service84;
46
+ const bus = yield* Service83;
47
47
  return yield* Effect.gen(function* () {
48
- const snapshot = yield* Service41;
49
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
48
+ const snapshot = yield* Service55;
49
+ const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
50
50
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
51
51
  const restore = new Map;
52
52
  if (original) {
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service49;
77
- const bus = yield* Service84;
76
+ const instances = yield* Service63;
77
+ const bus = yield* Service83;
78
78
  yield* Effect.gen(function* () {
79
- const snapshot = yield* Service41;
79
+ const snapshot = yield* Service55;
80
80
  if (!session.revert)
81
81
  return;
82
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
82
+ const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
83
  if (original)
84
84
  yield* snapshot.restore({
85
85
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
110
110
  continue;
111
111
  for (const file of message.snapshot.files ?? [])
112
112
  if (!files.has(file))
113
- files.set(file, ID5.make(message.snapshot.start));
113
+ files.set(file, ID6.make(message.snapshot.start));
114
114
  }
115
115
  return files;
116
116
  });