@opencode/core 0.0.0-dev-21695 → 0.0.0-dev-21708

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 (791) 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 +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{bus-wre4fh0b.js → agent-00n6seg6.js} +33 -33
  8. package/dist/chunks/{bus-1ya82mrw.js → agent-01crwgf8.js} +7 -7
  9. package/dist/chunks/{bus-wpcz644m.js → agent-02kv643b.js} +15 -15
  10. package/dist/chunks/{bus-034tev2y.js → agent-034tev2y.js} +2 -2
  11. package/dist/chunks/{bus-558jb3j2.js → agent-036gtng7.js} +3 -3
  12. package/dist/chunks/{bus-pdjw8hws.js → agent-0aydfmfd.js} +10 -10
  13. package/dist/chunks/{bus-ywxn696m.js → agent-0bxps2dt.js} +30 -30
  14. package/dist/chunks/{bus-5dj834cv.js → agent-0cpnqkys.js} +5 -5
  15. package/dist/chunks/{bus-0h8y3ex8.js → agent-0h8y3ex8.js} +1 -1
  16. package/dist/chunks/{bus-kedzwwnr.js → agent-0p88zpcm.js} +4 -4
  17. package/dist/chunks/{bus-pz0hzqp4.js → agent-0pes53yc.js} +45 -45
  18. package/dist/chunks/{bus-wncd5gvv.js → agent-0teydma5.js} +13 -13
  19. package/dist/chunks/{bus-1ep2p91f.js → agent-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{bus-za6yq9hg.js → agent-1q5awywt.js} +5 -5
  21. package/dist/chunks/{bus-dfv3sd11.js → agent-1vpzeawt.js} +21 -21
  22. package/dist/chunks/{bus-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{bus-qv7y9773.js → agent-1y0wdj51.js} +4 -4
  24. package/dist/chunks/{bus-8ss74ppy.js → agent-1zsaqb4r.js} +9 -9
  25. package/dist/chunks/{bus-c9k9wqyf.js → agent-2cxr0spy.js} +11 -11
  26. package/dist/chunks/{bus-etmf56fp.js → agent-2fhsvw3b.js} +10 -10
  27. package/dist/chunks/{bus-4jars7ak.js → agent-2j4fkc1b.js} +9 -9
  28. package/dist/chunks/{bus-a9h5srre.js → agent-2rb0wgje.js} +50 -50
  29. package/dist/chunks/{bus-zfh6qh7b.js → agent-2yj94xj3.js} +13 -13
  30. package/dist/chunks/{bus-2z1j29yd.js → agent-2z1j29yd.js} +1 -1
  31. package/dist/chunks/{bus-0rj3103z.js → agent-30wk5qzn.js} +5 -5
  32. package/dist/chunks/{bus-1622r1ga.js → agent-34s5tdcd.js} +4 -4
  33. package/dist/chunks/{bus-3f5zfv5g.js → agent-3e6zmnwb.js} +17 -17
  34. package/dist/chunks/{bus-0syemgjh.js → agent-3fq3g97k.js} +4 -4
  35. package/dist/chunks/{bus-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{bus-rxt7kx39.js → agent-3hg15haz.js} +40 -40
  37. package/dist/chunks/{bus-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{bus-sqvkc2gg.js → agent-3s89fne6.js} +19 -19
  39. package/dist/chunks/{bus-gyvvxe68.js → agent-3wx5r2aw.js} +84 -84
  40. package/dist/chunks/{bus-ck9t0a91.js → agent-43pxryb4.js} +35 -35
  41. package/dist/chunks/{bus-ksqksx3k.js → agent-45wkcxp1.js} +21 -21
  42. package/dist/chunks/{bus-jsjjdmy1.js → agent-4edy420v.js} +9 -9
  43. package/dist/chunks/{bus-dxvj00dw.js → agent-4fqqg07t.js} +32 -32
  44. package/dist/chunks/{bus-2m54h93x.js → agent-4n19pvv2.js} +16 -16
  45. package/dist/chunks/{bus-t63bt17c.js → agent-4q4hrjc3.js} +11 -11
  46. package/dist/chunks/{bus-4v008n1t.js → agent-4v008n1t.js} +1 -1
  47. package/dist/chunks/{bus-4xvmh7wp.js → agent-4xvmh7wp.js} +3 -3
  48. package/dist/chunks/{bus-8t64g0wg.js → agent-5465mdww.js} +23 -23
  49. package/dist/chunks/{bus-b7wm22tc.js → agent-58wwcftr.js} +19 -19
  50. package/dist/chunks/{bus-1mfyhvm9.js → agent-5agv5pnb.js} +9 -9
  51. package/dist/chunks/{bus-qzr9ezbv.js → agent-5e5fd4m6.js} +5 -5
  52. package/dist/chunks/{bus-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{bus-3h5qsd4j.js → agent-5pr0e8th.js} +5 -5
  54. package/dist/chunks/{bus-x9e6ksmw.js → agent-5sgdhf0y.js} +46 -46
  55. package/dist/chunks/{bus-tnhdtpkv.js → agent-5sgw76x3.js} +17 -17
  56. package/dist/chunks/{bus-97h34c8v.js → agent-5vk473bb.js} +12 -12
  57. package/dist/chunks/{bus-bm2mqchg.js → agent-5y6gyw07.js} +11 -11
  58. package/dist/chunks/{bus-5jnymmb4.js → agent-5zmew617.js} +25 -25
  59. package/dist/chunks/{bus-5zrxpy3q.js → agent-5zrxpy3q.js} +1 -1
  60. package/dist/chunks/{bus-pdy1hqnf.js → agent-605j6g36.js} +29 -29
  61. package/dist/chunks/{bus-6esdw8yj.js → agent-6esdw8yj.js} +1 -1
  62. package/dist/chunks/{bus-6pjqjmy2.js → agent-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{bus-zwzj79wc.js → agent-6rgwxkf7.js} +16 -16
  64. package/dist/chunks/{bus-czxyp6y6.js → agent-6t50jf2k.js} +12 -12
  65. package/dist/chunks/{bus-kqnqd6x4.js → agent-6w1z0ptf.js} +1 -1
  66. package/dist/chunks/{bus-rrje2nwc.js → agent-70e5j6cm.js} +26 -26
  67. package/dist/chunks/{bus-392n4kdw.js → agent-731c8v1k.js} +38 -38
  68. package/dist/chunks/{bus-76cb1hcw.js → agent-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{bus-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{bus-vwj3jgr1.js → agent-7df5b9k0.js} +26 -26
  71. package/dist/chunks/{bus-2h28cep3.js → agent-7fhznn00.js} +26 -26
  72. package/dist/chunks/{bus-nw6j7gpm.js → agent-7kaqzwxm.js} +11 -11
  73. package/dist/chunks/{bus-mx9h14xa.js → agent-7kk9vmc1.js} +22 -22
  74. package/dist/chunks/{bus-06q2jeyp.js → agent-7mw2rj4h.js} +9 -9
  75. package/dist/chunks/{bus-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{bus-c1hj90w1.js → agent-81g59q3k.js} +4 -4
  77. package/dist/chunks/{bus-wd652945.js → agent-83xm0yd3.js} +11 -11
  78. package/dist/chunks/{bus-htpbdr1d.js → agent-84rbnah8.js} +26 -26
  79. package/dist/chunks/{bus-4eca1hyp.js → agent-860hyfcr.js} +17 -17
  80. package/dist/chunks/{bus-fntzncgy.js → agent-8avgn4nh.js} +17 -17
  81. package/dist/chunks/{bus-qjgzc4b4.js → agent-8jztxfpf.js} +4 -4
  82. package/dist/chunks/{bus-a4qy9fc3.js → agent-8k8r57g4.js} +5 -5
  83. package/dist/chunks/{bus-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
  84. package/dist/chunks/{bus-e8dk3ywt.js → agent-8yms0qqj.js} +11 -11
  85. package/dist/chunks/{bus-91rj84md.js → agent-91rj84md.js} +1 -1
  86. package/dist/chunks/{bus-998yhzzq.js → agent-998yhzzq.js} +3 -3
  87. package/dist/chunks/{bus-pyv2pjn5.js → agent-9egmy7ex.js} +29 -29
  88. package/dist/chunks/{bus-48yd86fd.js → agent-9mea8krd.js} +21 -21
  89. package/dist/chunks/{bus-b0sjjnk6.js → agent-9q3bjtf0.js} +13 -13
  90. package/dist/chunks/{bus-1xwbrvt7.js → agent-9q7rnr6m.js} +7 -7
  91. package/dist/chunks/{bus-cmd2t0hw.js → agent-a56egb6w.js} +5 -5
  92. package/dist/chunks/{bus-ms3syv86.js → agent-ab61cr6d.js} +14 -14
  93. package/dist/chunks/{bus-44s0n40r.js → agent-ac2jg0km.js} +40 -40
  94. package/dist/chunks/{bus-m4s0x578.js → agent-asx4crfn.js} +21 -21
  95. package/dist/chunks/{bus-2gqhjjsx.js → agent-awmbx144.js} +8 -8
  96. package/dist/chunks/{bus-ayjs7tqn.js → agent-ayjs7tqn.js} +2 -2
  97. package/dist/chunks/{bus-8wj4azc9.js → agent-aywq2m6b.js} +11 -11
  98. package/dist/chunks/{bus-b0mv4wxm.js → agent-b0mv4wxm.js} +2 -2
  99. package/dist/chunks/{bus-7t2432tj.js → agent-b39xeefv.js} +31 -31
  100. package/dist/chunks/{bus-7xg2jm5b.js → agent-b50rsrab.js} +5 -5
  101. package/dist/chunks/{bus-b6vsg801.js → agent-b6vsg801.js} +2 -2
  102. package/dist/chunks/{bus-7zrrpsam.js → agent-b7mz4wb4.js} +2 -2
  103. package/dist/chunks/{bus-9dyryqmk.js → agent-ba699vex.js} +16 -16
  104. package/dist/chunks/{bus-0swax997.js → agent-bc3gms31.js} +16 -16
  105. package/dist/chunks/{bus-bstexjd6.js → agent-bstexjd6.js} +1 -1
  106. package/dist/chunks/{bus-wm3cz6bg.js → agent-c1nwn41d.js} +30 -30
  107. package/dist/chunks/{bus-1r5cd4qg.js → agent-c22xs6zs.js} +11 -11
  108. package/dist/chunks/{bus-rda9yzm6.js → agent-c3cfh5w6.js} +7 -7
  109. package/dist/chunks/{bus-421ekqkw.js → agent-c9nnf1dt.js} +4 -4
  110. package/dist/chunks/{bus-b1pn0vxn.js → agent-c9t2ty9q.js} +4 -4
  111. package/dist/chunks/{bus-efnptb2b.js → agent-cb7xvab4.js} +17 -17
  112. package/dist/chunks/{bus-5s1pgksh.js → agent-cbva7xm7.js} +20 -20
  113. package/dist/chunks/{bus-f4ce69wc.js → agent-cn8d63zf.js} +8 -8
  114. package/dist/chunks/{bus-w5800457.js → agent-cr8qxe6d.js} +7 -7
  115. package/dist/chunks/{bus-99v64gx3.js → agent-cv2j9yha.js} +3 -3
  116. package/dist/chunks/{bus-fm5nzcmq.js → agent-cw4wsck5.js} +21 -21
  117. package/dist/chunks/{bus-wfmpnrq7.js → agent-d2jy9c0j.js} +4 -4
  118. package/dist/chunks/{bus-d4v9tmah.js → agent-d4v9tmah.js} +2 -2
  119. package/dist/chunks/{bus-9h3yt0ty.js → agent-d8mgxzbr.js} +24 -24
  120. package/dist/chunks/{bus-zegptfkw.js → agent-dwm0n3p0.js} +5 -5
  121. package/dist/chunks/{bus-05g8hkey.js → agent-dy4xqx41.js} +50 -50
  122. package/dist/chunks/{bus-8gthgyb8.js → agent-dza0thjn.js} +18 -18
  123. package/dist/chunks/{bus-r15835qb.js → agent-e1x5hgfw.js} +3 -3
  124. package/dist/chunks/{bus-47rq8bk5.js → agent-e1yvprzr.js} +17 -17
  125. package/dist/chunks/{bus-mn6r1kh0.js → agent-e3cpefx3.js} +20 -20
  126. package/dist/chunks/{bus-9p9xqj3m.js → agent-e5dqjz6v.js} +8 -8
  127. package/dist/chunks/{bus-e834z07m.js → agent-e834z07m.js} +1 -1
  128. package/dist/chunks/{bus-kph7g7k5.js → agent-ea9qy1vr.js} +22 -22
  129. package/dist/chunks/{bus-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{bus-0p11b9tv.js → agent-egqc00n5.js} +9 -9
  131. package/dist/chunks/{bus-caesvrsr.js → agent-ejyk05z4.js} +20 -20
  132. package/dist/chunks/{bus-tqx9c315.js → agent-enkpkfwx.js} +8 -8
  133. package/dist/chunks/{bus-pacbbjc0.js → agent-eq3fc1qc.js} +5 -5
  134. package/dist/chunks/{bus-vgk61ywp.js → agent-eqh43b5v.js} +9 -9
  135. package/dist/chunks/{bus-nn3pn70b.js → agent-ercvtcgz.js} +4 -4
  136. package/dist/chunks/{bus-dds9zz6p.js → agent-erjptbv1.js} +4 -4
  137. package/dist/chunks/{bus-n5gmbbrg.js → agent-et6331cw.js} +43 -43
  138. package/dist/chunks/{bus-abr51mnh.js → agent-ez1g32xq.js} +8 -8
  139. package/dist/chunks/{bus-jv78zvp3.js → agent-f3xvtd5f.js} +14 -14
  140. package/dist/chunks/{bus-k5d1wqjw.js → agent-f56tfzs6.js} +329 -329
  141. package/dist/chunks/{bus-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
  142. package/dist/chunks/{bus-2b6ncc8q.js → agent-fp2kss3x.js} +6 -6
  143. package/dist/chunks/{bus-jzxk7jdc.js → agent-g0mjfn9f.js} +12 -12
  144. package/dist/chunks/{bus-xrpfz6f8.js → agent-g1ay4zd8.js} +9 -9
  145. package/dist/chunks/{bus-g5h9c0rr.js → agent-g5h9c0rr.js} +2 -2
  146. package/dist/chunks/{bus-cah09krx.js → agent-g7yg2z4y.js} +9 -9
  147. package/dist/chunks/{bus-xeb0t073.js → agent-g9jwm955.js} +1 -1
  148. package/dist/chunks/agent-gbftmgpj.js +26 -0
  149. package/dist/chunks/{bus-smfcvx02.js → agent-gcjdgkn2.js} +9 -9
  150. package/dist/chunks/{bus-sfmp0f7b.js → agent-gm52qjxn.js} +13 -13
  151. package/dist/chunks/{bus-wsd07rfm.js → agent-gtwwf5qc.js} +21 -21
  152. package/dist/chunks/{bus-2ex6mje1.js → agent-gwff6e0f.js} +27 -27
  153. package/dist/chunks/{bus-c1953ttw.js → agent-h84cj61w.js} +2 -2
  154. package/dist/chunks/{bus-2rx1emds.js → agent-hm143rc2.js} +3 -3
  155. package/dist/chunks/{bus-krdanp5y.js → agent-ht7bz1sv.js} +25 -25
  156. package/dist/chunks/{bus-j113cymg.js → agent-j113cymg.js} +1 -1
  157. package/dist/chunks/{bus-2dxw0vtj.js → agent-j5pyptyp.js} +19 -19
  158. package/dist/chunks/{bus-jg2v1dk6.js → agent-j8ka3dj3.js} +30 -30
  159. package/dist/chunks/{bus-r86349qm.js → agent-jmt4g3es.js} +6 -6
  160. package/dist/chunks/{bus-5tym1825.js → agent-k5g4ndkg.js} +32 -32
  161. package/dist/chunks/{bus-k814nvkf.js → agent-k814nvkf.js} +1 -1
  162. package/dist/chunks/{bus-60hpmyq7.js → agent-k8sgxmwq.js} +27 -27
  163. package/dist/chunks/{bus-r6tddt1e.js → agent-kwwqhmte.js} +29 -29
  164. package/dist/chunks/{bus-m1714858.js → agent-m1714858.js} +1 -1
  165. package/dist/chunks/{bus-xbcypdf3.js → agent-m96zp2x3.js} +5 -5
  166. package/dist/chunks/{bus-qx1n59h8.js → agent-m9tz8kfk.js} +18 -18
  167. package/dist/chunks/{bus-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  168. package/dist/chunks/{bus-maspj1v3.js → agent-maspj1v3.js} +1 -1
  169. package/dist/chunks/{bus-w0569hsk.js → agent-mkr1zw4c.js} +24 -24
  170. package/dist/chunks/{bus-hsbqs0yf.js → agent-mv2fkptf.js} +8 -8
  171. package/dist/chunks/{bus-k0agw6wh.js → agent-mvrp1pf2.js} +13 -13
  172. package/dist/chunks/{bus-gq7wjy6f.js → agent-mwam2bxf.js} +25 -25
  173. package/dist/chunks/{bus-bsry7g8x.js → agent-my1p2r7g.js} +16 -16
  174. package/dist/chunks/{bus-n0p0277s.js → agent-n0p0277s.js} +1 -1
  175. package/dist/chunks/{bus-yrnwxx36.js → agent-n7j6jkwh.js} +21 -21
  176. package/dist/chunks/{bus-1j2dtaqf.js → agent-nae82sp2.js} +25 -25
  177. package/dist/chunks/{bus-nah043kf.js → agent-nah043kf.js} +1 -1
  178. package/dist/chunks/{bus-yhjes8yv.js → agent-nbwnjq76.js} +6 -6
  179. package/dist/chunks/{bus-w6839knk.js → agent-njstssvg.js} +18 -18
  180. package/dist/chunks/{bus-j8nk5b8t.js → agent-npyprqtv.js} +6 -6
  181. package/dist/chunks/{bus-ghn7jtaj.js → agent-nq3tx4x1.js} +37 -37
  182. package/dist/chunks/{bus-8v7kcz56.js → agent-nt0vz67d.js} +11 -11
  183. package/dist/chunks/{bus-8df9xh9g.js → agent-nwvcypp6.js} +11 -11
  184. package/dist/chunks/{bus-p015t6z3.js → agent-p015t6z3.js} +2 -2
  185. package/dist/chunks/{bus-jx89vj1k.js → agent-pc1v25hk.js} +3 -3
  186. package/dist/chunks/{bus-5x14y5p3.js → agent-pdjy0dkv.js} +1 -1
  187. package/dist/chunks/{bus-pknna89w.js → agent-pknna89w.js} +1 -1
  188. package/dist/chunks/{bus-p1c1zyxr.js → agent-prpkhwe7.js} +44 -44
  189. package/dist/chunks/{bus-rvhr0thr.js → agent-pwb927wa.js} +83 -83
  190. package/dist/chunks/{bus-143qq2q9.js → agent-pyzjd10w.js} +3 -3
  191. package/dist/chunks/{bus-xar86st9.js → agent-q2dycjj6.js} +7 -7
  192. package/dist/chunks/{bus-e4f4x5n9.js → agent-q431msev.js} +9 -9
  193. package/dist/chunks/{bus-231a8wys.js → agent-q6vmwcr3.js} +8 -8
  194. package/dist/chunks/{bus-t4n7m6zf.js → agent-qa2bc9h6.js} +26 -26
  195. package/dist/chunks/{bus-g6rdvcdw.js → agent-qdjpasa6.js} +15 -15
  196. package/dist/chunks/{bus-rtdrjve7.js → agent-qe4f2n8q.js} +25 -25
  197. package/dist/chunks/{bus-p12nptkx.js → agent-qps3wf85.js} +11 -11
  198. package/dist/chunks/{bus-v5kv89ke.js → agent-qrsf94hb.js} +12 -12
  199. package/dist/chunks/{bus-mswbh5s9.js → agent-qsxt5pmn.js} +156 -156
  200. package/dist/chunks/{bus-r0yr0wbs.js → agent-r0yr0wbs.js} +1 -1
  201. package/dist/chunks/{bus-7ambk3z6.js → agent-r649t70p.js} +38 -38
  202. package/dist/chunks/{bus-pbqc7r64.js → agent-r6g963jp.js} +26 -26
  203. package/dist/chunks/{bus-956c56jz.js → agent-r6wgv8c9.js} +6 -6
  204. package/dist/chunks/{bus-51e0cpsh.js → agent-r8vff35f.js} +30 -30
  205. package/dist/chunks/{bus-gq4ft62x.js → agent-r9jvn0me.js} +17 -17
  206. package/dist/chunks/{bus-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
  207. package/dist/chunks/{bus-3s4b3ezj.js → agent-rm4sw271.js} +4 -4
  208. package/dist/chunks/{bus-b7g1t3mx.js → agent-rpd03b69.js} +19 -19
  209. package/dist/chunks/{bus-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
  210. package/dist/chunks/{bus-7193gb3b.js → agent-s1cekj41.js} +5 -5
  211. package/dist/chunks/{bus-ar37ae2g.js → agent-s5ckv70a.js} +9 -9
  212. package/dist/chunks/{bus-ar2j3j0f.js → agent-s626qfae.js} +4 -4
  213. package/dist/chunks/{bus-k0rrpnh5.js → agent-sdskc420.js} +176 -176
  214. package/dist/chunks/{bus-hwj1j5q0.js → agent-se8z0af6.js} +4 -4
  215. package/dist/chunks/{bus-2etvdtc8.js → agent-sfayrj8h.js} +11 -11
  216. package/dist/chunks/{bus-tdj3cxsw.js → agent-sg8mkp01.js} +31 -31
  217. package/dist/chunks/{bus-mgbmf9v5.js → agent-shygem95.js} +17 -17
  218. package/dist/chunks/{bus-3dcm03ph.js → agent-spa8vgy8.js} +8 -8
  219. package/dist/chunks/{bus-sqjzf8x2.js → agent-sqjzf8x2.js} +1 -1
  220. package/dist/chunks/{bus-p8var5ry.js → agent-syd85nze.js} +4 -4
  221. package/dist/chunks/{bus-6gt5xc60.js → agent-t34k7vdx.js} +23 -23
  222. package/dist/chunks/{bus-wznw0skg.js → agent-t81h9cx6.js} +17 -17
  223. package/dist/chunks/{bus-5gk89hyb.js → agent-tbmp9t5p.js} +5 -5
  224. package/dist/chunks/{bus-fc6c4hv8.js → agent-tc4kyz8e.js} +2 -2
  225. package/dist/chunks/{bus-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
  226. package/dist/chunks/{bus-vj8mtejf.js → agent-tf78gtve.js} +15 -15
  227. package/dist/chunks/{bus-2ryhy1r3.js → agent-tha6crsv.js} +16 -16
  228. package/dist/chunks/{bus-5aqqzxvt.js → agent-tr53db22.js} +36 -36
  229. package/dist/chunks/{bus-tw8zr1ps.js → agent-tw8zr1ps.js} +1 -1
  230. package/dist/chunks/{bus-twv2r8f4.js → agent-twv2r8f4.js} +2 -2
  231. package/dist/chunks/{bus-zs3fm22t.js → agent-tybz541q.js} +25 -25
  232. package/dist/chunks/{bus-5r00rv09.js → agent-tzwfb695.js} +24 -24
  233. package/dist/chunks/{bus-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
  234. package/dist/chunks/{bus-9k6vjqzw.js → agent-v6pnwzcj.js} +66 -66
  235. package/dist/chunks/{bus-c6z72wfs.js → agent-v7v3rrns.js} +7 -7
  236. package/dist/chunks/{bus-yj5wzhce.js → agent-v8w832qv.js} +21 -21
  237. package/dist/chunks/{bus-vd3b3yk9.js → agent-vd3b3yk9.js} +1 -1
  238. package/dist/chunks/{bus-veqvce7d.js → agent-veqvce7d.js} +1 -1
  239. package/dist/chunks/{bus-m37sd98t.js → agent-vmfhgzt5.js} +4 -4
  240. package/dist/chunks/{bus-dyh6ghqz.js → agent-vq55ta2w.js} +10 -10
  241. package/dist/chunks/{bus-km2c56gg.js → agent-vwac03cp.js} +6 -6
  242. package/dist/chunks/{bus-a0hasf4t.js → agent-vxgn3e9c.js} +4 -4
  243. package/dist/chunks/{bus-zj5v4v4s.js → agent-w1b192n3.js} +16 -16
  244. package/dist/chunks/{bus-kgex5j78.js → agent-w1w7qgbq.js} +11 -11
  245. package/dist/chunks/{bus-w2eysc6j.js → agent-w2eysc6j.js} +2 -2
  246. package/dist/chunks/{bus-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{bus-g3k29tzj.js → agent-w5t7bbyx.js} +13 -13
  248. package/dist/chunks/{bus-088xsv39.js → agent-w75qjcvt.js} +8 -8
  249. package/dist/chunks/{bus-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
  250. package/dist/chunks/{bus-wd87259q.js → agent-wd87259q.js} +1 -1
  251. package/dist/chunks/{bus-q4q80s4a.js → agent-wdk09kh3.js} +17 -17
  252. package/dist/chunks/{bus-k7fcp7vh.js → agent-wgvnftve.js} +8 -8
  253. package/dist/chunks/{bus-t8nkzmzj.js → agent-wmjzvx4b.js} +7 -7
  254. package/dist/chunks/{bus-0mcw7mfx.js → agent-x1kqdqv8.js} +7 -7
  255. package/dist/chunks/{bus-m8gt97br.js → agent-x29zv49r.js} +5 -5
  256. package/dist/chunks/{bus-0kp1st58.js → agent-x7nn8z2j.js} +11 -11
  257. package/dist/chunks/{bus-zt2awk40.js → agent-xf07g6fp.js} +27 -27
  258. package/dist/chunks/{bus-tpfax3t6.js → agent-xfrhb91r.js} +40 -40
  259. package/dist/chunks/{bus-02tqe3dc.js → agent-xk6cct51.js} +33 -33
  260. package/dist/chunks/{bus-q306eq19.js → agent-xkv91zbc.js} +24 -24
  261. package/dist/chunks/{bus-0ks2n9jf.js → agent-xkympmbz.js} +6 -6
  262. package/dist/chunks/{bus-mmgwrvtt.js → agent-xmdjjv6p.js} +15 -15
  263. package/dist/chunks/{bus-kfag0pyw.js → agent-xpx0a1hv.js} +25 -25
  264. package/dist/chunks/{bus-w76xjer3.js → agent-xsact9zs.js} +4 -4
  265. package/dist/chunks/{bus-mnd9dafd.js → agent-xw0c0mqp.js} +8 -8
  266. package/dist/chunks/{bus-9dhj7pzk.js → agent-xxf3k3sy.js} +14 -14
  267. package/dist/chunks/{bus-bhwcrmj7.js → agent-y8hmd8bf.js} +10 -10
  268. package/dist/chunks/{bus-ms080em1.js → agent-ya0bzcwn.js} +12 -12
  269. package/dist/chunks/{bus-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
  270. package/dist/chunks/{bus-5g3z7av9.js → agent-yhhb56re.js} +16 -16
  271. package/dist/chunks/{bus-158w7htw.js → agent-yjkkab03.js} +6 -6
  272. package/dist/chunks/{bus-sz8868xq.js → agent-yn9h7jnh.js} +7 -7
  273. package/dist/chunks/{bus-zz3ytsxz.js → agent-yqmxxt9c.js} +6 -6
  274. package/dist/chunks/{bus-82at59ng.js → agent-ysw37sry.js} +42 -42
  275. package/dist/chunks/{bus-w52v0pzm.js → agent-yyd0z27r.js} +20 -20
  276. package/dist/chunks/{bus-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{bus-xm26fr51.js → agent-z0te8qnm.js} +11 -11
  278. package/dist/chunks/{bus-sk0g3fth.js → agent-z1b9nwea.js} +6 -6
  279. package/dist/chunks/{bus-z38nccrw.js → agent-z38nccrw.js} +1 -1
  280. package/dist/chunks/{bus-z7bdqmx5.js → agent-z7bdqmx5.js} +1 -1
  281. package/dist/chunks/{bus-6b2dxyr2.js → agent-z8hxvef0.js} +35 -35
  282. package/dist/chunks/{bus-0zzd7vfm.js → agent-zav2k54e.js} +4 -4
  283. package/dist/chunks/{bus-ps63y3s5.js → agent-zcv9t832.js} +17 -17
  284. package/dist/chunks/{bus-zkg84ctx.js → agent-zkg84ctx.js} +1 -1
  285. package/dist/chunks/{bus-x55w4aqt.js → agent-zqfy40s7.js} +16 -16
  286. package/dist/chunks/{bus-gjr461gh.js → agent-ztngrg4w.js} +15 -15
  287. package/dist/chunks/{bus-dj1vw1rv.js → agent-zxrxde13.js} +15 -15
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +113 -113
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +92 -92
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +88 -88
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +85 -85
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +101 -101
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +115 -115
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +92 -92
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +76 -76
  493. package/dist/plugin/command.js +102 -102
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +114 -114
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +118 -118
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +123 -123
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +1 -1
  545. package/dist/plugin/skill.js +132 -132
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +348 -348
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +4 -4
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +223 -223
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +86 -86
  565. package/dist/provider.js +103 -103
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +101 -101
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +93 -93
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +136 -136
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +91 -91
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +7 -7
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +166 -166
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +214 -214
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +116 -116
  635. package/dist/snapshot.js +95 -95
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +139 -139
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +126 -126
  643. package/dist/tool/plugin/grep.js +122 -122
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +118 -118
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +213 -213
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +217 -217
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +113 -113
  654. package/dist/tool/plugin/websearch.js +116 -116
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +104 -104
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +1 -1
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +86 -86
  679. package/dist/websearch.js +80 -80
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +102 -102
  690. package/package.json +8 -8
  691. package/dist/chunks/bus-p1hxy2vt.js +0 -26
  692. /package/dist/chunks/{bus-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{bus-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{bus-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{bus-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{bus-24dcb14g.js → agent-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{bus-2710q6r3.js → agent-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{bus-2bv980vf.js → agent-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{bus-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{bus-359p4xyc.js → agent-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{bus-3asan66x.js → agent-3asan66x.js} +0 -0
  702. /package/dist/chunks/{bus-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{bus-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{bus-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{bus-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{bus-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{bus-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{bus-53557ph1.js → agent-53557ph1.js} +0 -0
  709. /package/dist/chunks/{bus-550bvhaj.js → agent-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{bus-5fjb7ams.js → agent-5fjb7ams.js} +0 -0
  711. /package/dist/chunks/{bus-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  712. /package/dist/chunks/{bus-6prwharc.js → agent-6prwharc.js} +0 -0
  713. /package/dist/chunks/{bus-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{bus-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{bus-7m9af43g.js → agent-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{bus-822emrt2.js → agent-822emrt2.js} +0 -0
  717. /package/dist/chunks/{bus-84wd9syh.js → agent-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{bus-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{bus-8n3pysct.js → agent-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{bus-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{bus-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{bus-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{bus-a058387c.js → agent-a058387c.js} +0 -0
  724. /package/dist/chunks/{bus-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{bus-af5trqkr.js → agent-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{bus-afrmfg78.js → agent-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{bus-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{bus-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{bus-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{bus-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{bus-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{bus-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{bus-d9fn303g.js → agent-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{bus-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{bus-dajrwvna.js → agent-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{bus-dap0rakb.js → agent-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{bus-df08tz66.js → agent-df08tz66.js} +0 -0
  738. /package/dist/chunks/{bus-dy18nga0.js → agent-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{bus-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{bus-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{bus-ec1grn59.js → agent-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{bus-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{bus-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{bus-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{bus-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{bus-faypxj3z.js → agent-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{bus-fd410y7t.js → agent-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{bus-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{bus-g86h250q.js → agent-g86h250q.js} +0 -0
  750. /package/dist/chunks/{bus-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{bus-gftt206x.js → agent-gftt206x.js} +0 -0
  752. /package/dist/chunks/{bus-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{bus-hk9envan.js → agent-hk9envan.js} +0 -0
  754. /package/dist/chunks/{bus-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{bus-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{bus-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{bus-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{bus-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{bus-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{bus-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{bus-m18g726c.js → agent-m18g726c.js} +0 -0
  762. /package/dist/chunks/{bus-mp448xyj.js → agent-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{bus-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{bus-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{bus-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{bus-njntx4h6.js → agent-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{bus-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{bus-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{bus-q74kybfr.js → agent-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{bus-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{bus-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{bus-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{bus-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{bus-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{bus-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{bus-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{bus-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{bus-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{bus-w803qqfp.js → agent-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{bus-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{bus-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{bus-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{bus-wtztk69x.js → agent-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{bus-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{bus-x61499pn.js → agent-x61499pn.js} +0 -0
  786. /package/dist/chunks/{bus-y44na4kk.js → agent-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{bus-y8f7s663.js → agent-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{bus-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{bus-ym463w8f.js → agent-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{bus-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{bus-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
- make21,
4
+ make20,
5
5
  diffByKey2
6
- } from "./bus-9p9xqj3m.js";
6
+ } from "./agent-e5dqjz6v.js";
7
7
  import {
8
- ID4,
8
+ ID6,
9
9
  Name2,
10
- available2,
11
- Service37,
12
- node40
13
- } from "./bus-krdanp5y.js";
10
+ available3,
11
+ Service49,
12
+ node53
13
+ } from "./agent-ht7bz1sv.js";
14
14
  import {
15
15
  __export
16
- } from "./bus-9rqn6x4v.js";
16
+ } from "./agent-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions2 = {};
20
- __export(exports_instructions2, {
21
- Service: () => Service24,
22
- SkillInstructions: () => exports_instructions2,
23
- node: () => node28
19
+ var exports_instructions5 = {};
20
+ __export(exports_instructions5, {
21
+ Service: () => Service34,
22
+ SkillInstructions: () => exports_instructions5,
23
+ node: () => node37
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID4,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -64,15 +64,15 @@ var update = (previous, current) => {
64
64
  `);
65
65
  };
66
66
 
67
- class Service24 extends Context.Service()("@opencode/SkillInstructions") {
67
+ class Service34 extends Context.Service()("@opencode/SkillInstructions") {
68
68
  }
69
- var layer = Layer.effect(Service24, Effect.gen(function* () {
70
- const skills = yield* Service37;
71
- return Service24.of({
69
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
70
+ const skills = yield* Service49;
71
+ return Service34.of({
72
72
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
73
- const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make21({
75
- key: Key4.make("core/skill-guidance"),
73
+ const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
+ return make20({
75
+ key: Key3.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(available.length === 0 ? removed2 : available),
78
78
  render: {
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node28 = makeLocationNode({ service: Service24, layer, deps: [node40] });
87
+ var node37 = makeLocationNode({ service: Service34, layer, deps: [node53] });
88
88
 
89
- export { Service24, node28, exports_instructions2 };
89
+ export { Service34, node37, exports_instructions5 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  policy3
3
- } from "./bus-n0p0277s.js";
3
+ } from "./agent-n0p0277s.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./bus-ec1grn59.js";
6
+ } from "./agent-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./agent-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make5,
16
+ make: () => make4,
17
17
  policy: () => policy2
18
18
  });
19
19
  import { isRetryable as isRetryable2 } from "@opencode/ai";
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
39
39
  return { retry: true, attempt: next.attempt, delay: normalized };
40
40
  });
41
41
  });
42
- var make5 = (bus, sessionID) => Effect.gen(function* () {
42
+ var make4 = (bus, sessionID) => Effect.gen(function* () {
43
43
  const decide = yield* policy2(sessionID);
44
44
  const wait = (input) => Effect.gen(function* () {
45
45
  const scheduled = yield* Clock.currentTimeMillis;
@@ -56,4 +56,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
56
56
  return { decide, wait };
57
57
  });
58
58
 
59
- export { isRetryable2, policy2, make5, exports_retry };
59
+ export { isRetryable2, policy2, make4, exports_retry };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./bus-5gk89hyb.js";
3
+ } from "./agent-tbmp9t5p.js";
4
4
  import {
5
- Service77
6
- } from "./bus-x9e6ksmw.js";
5
+ Service62
6
+ } from "./agent-5sgdhf0y.js";
7
7
  import {
8
- Service76
9
- } from "./bus-gjr461gh.js";
8
+ Service61
9
+ } from "./agent-ztngrg4w.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./bus-d4v9tmah.js";
12
+ } from "./agent-d4v9tmah.js";
13
13
  import {
14
- Info5,
14
+ Info26,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./bus-392n4kdw.js";
19
+ } from "./agent-731c8v1k.js";
20
20
  import {
21
21
  __export
22
- } from "./bus-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: () => Plugin7,
30
+ Plugin: () => Plugin32,
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 Plugin7 = {
100
+ var Plugin32 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service76;
104
- const permission = yield* Service77;
103
+ const access = yield* Service61;
104
+ const permission = yield* Service62;
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 Plugin7 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info5,
156
+ output: Info26,
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, Plugin7, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin32, exports_opencode };
@@ -2,43 +2,43 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./bus-zkg84ctx.js";
5
+ } from "./agent-zkg84ctx.js";
6
6
  import {
7
7
  Service82
8
- } from "./bus-m8gt97br.js";
8
+ } from "./agent-x29zv49r.js";
9
9
  import {
10
- Service44
11
- } from "./bus-wsd07rfm.js";
10
+ Service47
11
+ } from "./agent-gtwwf5qc.js";
12
12
  import {
13
- Service18
14
- } from "./bus-2etvdtc8.js";
13
+ Service13
14
+ } from "./agent-sfayrj8h.js";
15
15
  import {
16
- Service13,
16
+ Service19,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./bus-zfh6qh7b.js";
19
+ } from "./agent-2yj94xj3.js";
20
20
  import {
21
- Service77
22
- } from "./bus-x9e6ksmw.js";
21
+ Service62
22
+ } from "./agent-5sgdhf0y.js";
23
23
  import {
24
- Service76,
24
+ Service61,
25
25
  resolvePath2
26
- } from "./bus-gjr461gh.js";
26
+ } from "./agent-ztngrg4w.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./bus-6prwharc.js";
29
+ } from "./agent-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./bus-9rqn6x4v.js";
32
+ } from "./agent-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
38
  Input: () => Input10,
39
- Output: () => Output6,
39
+ Output: () => Output7,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin13,
41
+ Plugin: () => Plugin29,
42
42
  name: () => name10,
43
43
  toModelContent: () => toModelContent5
44
44
  });
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output6 = Schema.Struct({
99
+ var Output7 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
@@ -105,21 +105,21 @@ var toModelContent5 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin13 = {
108
+ var Plugin29 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service44;
112
- const access = yield* Service76;
113
- const fileMutation = yield* Service13;
114
- const formatter = yield* Service18;
111
+ const environment = yield* Service47;
112
+ const access = yield* Service61;
113
+ const fileMutation = yield* Service19;
114
+ const formatter = yield* Service13;
115
115
  const location = yield* Service82;
116
- const permission = yield* Service77;
116
+ const permission = yield* Service62;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
118
  name: name10,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
121
  input: Input10,
122
- output: Output6,
122
+ output: Output7,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name10, Input10, Applied2, Output6, toModelContent5, Plugin13, exports_patch };
329
+ export { name10, Input10, Applied2, Output7, toModelContent5, Plugin29, exports_patch };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service47,
9
+ Service: () => Service51,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service47 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service51 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service47, exports_runner };
18
+ export { DrainResult2, Service51, exports_runner };
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./bus-rb9dy4dg.js";
8
+ } from "./agent-rb9dy4dg.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./bus-ef5x83kb.js";
11
+ } from "./agent-ef5x83kb.js";
12
12
  import {
13
13
  Service82
14
- } from "./bus-m8gt97br.js";
14
+ } from "./agent-x29zv49r.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./bus-47rq8bk5.js";
17
+ } from "./agent-e1yvprzr.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./agent-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin35,
25
+ Plugin: () => Plugin40,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,7 +33,7 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin35 = define({
36
+ var Plugin40 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
39
  const location = yield* Service82;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin35, exports_git };
556
+ export { Plugin40, exports_git };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./bus-pyv2pjn5.js";
4
+ } from "./agent-9egmy7ex.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./bus-pdy1hqnf.js";
7
+ } from "./agent-605j6g36.js";
8
8
  import {
9
9
  latest2,
10
- Service54
11
- } from "./bus-44s0n40r.js";
10
+ Service56
11
+ } from "./agent-ac2jg0km.js";
12
12
  import {
13
13
  supports2,
14
- resolve3
15
- } from "./bus-zz3ytsxz.js";
14
+ resolve4
15
+ } from "./agent-yqmxxt9c.js";
16
16
  import {
17
17
  observe2
18
- } from "./bus-6pjqjmy2.js";
18
+ } from "./agent-6pjqjmy2.js";
19
19
  import {
20
20
  __export
21
- } from "./bus-9rqn6x4v.js";
21
+ } from "./agent-9rqn6x4v.js";
22
22
 
23
23
  // src/config/plugin/provider.ts
24
24
  var exports_provider = {};
25
25
  __export(exports_provider, {
26
26
  ConfigProviderPlugin: () => exports_provider,
27
- Plugin: () => Plugin21
27
+ Plugin: () => Plugin10
28
28
  });
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Money } from "@opencode/schema/money";
31
31
  import { Effect } from "effect";
32
- var Plugin21 = define({
32
+ var Plugin10 = define({
33
33
  id: "opencode.config.provider",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service54;
35
+ const config = yield* Service56;
36
36
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
37
37
  yield* ctx.integration.transform((integrations) => {
38
38
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -165,7 +165,7 @@ var Plugin21 = define({
165
165
  models.update(providerID, id, (model) => {
166
166
  if (config.capabilities?.reasoning !== undefined)
167
167
  model.variants = [
168
- ...resolve3({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
168
+ ...resolve4({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
169
169
  ];
170
170
  if (config.variants !== undefined) {
171
171
  model.variants ??= [];
@@ -201,7 +201,7 @@ var Plugin21 = define({
201
201
  if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base || repackaged))
202
202
  models.update(providerID, id, (model) => {
203
203
  model.variants = [
204
- ...resolve3({
204
+ ...resolve4({
205
205
  ...model,
206
206
  package: model.package ?? models.provider.get(providerID)?.provider.package
207
207
  })
@@ -216,4 +216,4 @@ function configuredProviders(entries) {
216
216
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
217
217
  }
218
218
 
219
- export { Plugin21, exports_provider };
219
+ export { Plugin10, exports_provider };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./bus-99v64gx3.js";
4
+ } from "./agent-cv2j9yha.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./bus-3hepkmqq.js";
7
+ } from "./agent-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service74,
17
- node: () => node78
16
+ Service: () => Service59,
17
+ node: () => node62
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service74 extends Context.Service()("@opencode/KV") {
22
+ class Service59 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service74, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
25
25
  const db = (yield* Service86).db;
26
- return Service74.of({
26
+ return Service59.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node78 = makeGlobalNode({ service: Service74, layer, deps: [node90] });
54
+ var node62 = makeGlobalNode({ service: Service59, layer, deps: [node90] });
55
55
 
56
- export { Service74, node78, exports_kv };
56
+ export { Service59, node62, exports_kv };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service55,
3
- node59
4
- } from "./bus-qx1n59h8.js";
2
+ Service57,
3
+ node60
4
+ } from "./agent-m9tz8kfk.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./bus-m8gt97br.js";
8
+ } from "./agent-x29zv49r.js";
9
9
  import {
10
- Service54,
11
- node58
12
- } from "./bus-44s0n40r.js";
10
+ Service56,
11
+ node59
12
+ } from "./agent-ac2jg0km.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./bus-6esdw8yj.js";
16
+ } from "./agent-6esdw8yj.js";
17
17
  import {
18
18
  __export
19
- } from "./bus-9rqn6x4v.js";
19
+ } from "./agent-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
@@ -36,8 +36,8 @@ import { fileURLToPath, pathToFileURL } from "url";
36
36
  class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
38
  var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service54;
40
- const watcher = yield* Service55;
39
+ const config = yield* Service56;
40
+ const watcher = yield* Service57;
41
41
  const fs = yield* FSUtil.Service;
42
42
  const location = yield* Service82;
43
43
  const configuredChanges = yield* PubSub.unbounded();
@@ -73,7 +73,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
73
73
  var node6 = makeLocationNode({
74
74
  service: Service4,
75
75
  layer: layer5,
76
- deps: [node58, FSUtil.node, node59, node86]
76
+ deps: [node59, FSUtil.node, node60, node86]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
79
  service: Service4,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service72
3
- } from "./bus-1mfyhvm9.js";
2
+ Service43
3
+ } from "./agent-5agv5pnb.js";
4
4
  import {
5
- Service49
6
- } from "./bus-2b6ncc8q.js";
5
+ Service54
6
+ } from "./agent-fp2kss3x.js";
7
7
  import {
8
8
  detect2
9
- } from "./bus-2z1j29yd.js";
9
+ } from "./agent-2z1j29yd.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./bus-z7bdqmx5.js";
12
+ } from "./agent-z7bdqmx5.js";
13
13
  import {
14
- Service80
15
- } from "./bus-231a8wys.js";
14
+ Service65
15
+ } from "./agent-q6vmwcr3.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./bus-158w7htw.js";
19
+ } from "./agent-yjkkab03.js";
20
20
  import {
21
21
  prepare3,
22
- Service37
23
- } from "./bus-krdanp5y.js";
22
+ Service49
23
+ } from "./agent-ht7bz1sv.js";
24
24
  import {
25
25
  __export
26
- } from "./bus-9rqn6x4v.js";
26
+ } from "./agent-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service49;
42
+ const instances = yield* Service54;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service80;
45
+ const hooks = yield* Service65;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service37;
64
+ const skillService = yield* Service49;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
124
124
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
125
125
  if (!mime.startsWith("image/"))
126
126
  return { data: Base64.make(data), mime };
127
- const image = yield* Service72;
127
+ const image = yield* Service43;
128
128
  const label = attachmentLabel(input);
129
129
  const content = { uri: label, content: data, encoding: "base64", mime };
130
130
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./bus-gftt206x.js";
3
+ } from "./agent-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./bus-143qq2q9.js";
6
+ } from "./agent-pyzjd10w.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./agent-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -20,7 +20,7 @@ __export(exports_error, {
20
20
  InvalidListCursorError: () => InvalidListCursorError2,
21
21
  MessageDecodeError: () => MessageDecodeError2,
22
22
  MessageNotFoundError: () => MessageNotFoundError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError8,
24
24
  PromptConflictError: () => PromptConflictError2,
25
25
  SessionErrors: () => exports_error,
26
26
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError11 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError11, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError8, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };