@opencode/core 0.0.0-dev-20957 → 0.0.0-dev-20958

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{rpc-p690rpx8.js → agent-076ygycp.js} +26 -26
  8. package/dist/chunks/{rpc-qgn6gcr1.js → agent-0jwsre1p.js} +5 -5
  9. package/dist/chunks/{rpc-82bj86tv.js → agent-0k12ygpv.js} +6 -6
  10. package/dist/chunks/{rpc-by0awed6.js → agent-0m77ysc4.js} +7 -7
  11. package/dist/chunks/{rpc-vwpcpzep.js → agent-0t9wd588.js} +8 -8
  12. package/dist/chunks/{rpc-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{rpc-qrmqj55a.js → agent-0yjx2tqn.js} +13 -13
  14. package/dist/chunks/{rpc-0sgp6vrq.js → agent-0ytnbz4y.js} +12 -12
  15. package/dist/chunks/{rpc-3emygs37.js → agent-0z54bg9x.js} +36 -36
  16. package/dist/chunks/{rpc-h8gytte2.js → agent-0zh4dper.js} +50 -50
  17. package/dist/chunks/{rpc-tpxg3fy4.js → agent-1609qj8w.js} +15 -15
  18. package/dist/chunks/{rpc-zfca28xf.js → agent-1agemg3z.js} +4 -4
  19. package/dist/chunks/{rpc-bfegkxfd.js → agent-1bmjn0qh.js} +8 -8
  20. package/dist/chunks/{rpc-c4rtve7x.js → agent-1f212xf4.js} +153 -153
  21. package/dist/chunks/{rpc-ngyrtr94.js → agent-1gpb38yh.js} +3 -3
  22. package/dist/chunks/{rpc-fwdmbr1p.js → agent-1j1122ka.js} +28 -28
  23. package/dist/chunks/{rpc-td0am7tz.js → agent-1z2t3sd1.js} +47 -47
  24. package/dist/chunks/{rpc-tecdc32p.js → agent-20jknadr.js} +10 -10
  25. package/dist/chunks/{rpc-kv3n5ztp.js → agent-229tzr2x.js} +13 -13
  26. package/dist/chunks/{rpc-zk21kkv9.js → agent-2a7p1gyt.js} +9 -9
  27. package/dist/chunks/{rpc-e6hwranf.js → agent-2bkpye9j.js} +11 -11
  28. package/dist/chunks/{rpc-y51ceatp.js → agent-2mhkbbfb.js} +29 -29
  29. package/dist/chunks/{rpc-72gmrwx5.js → agent-2qetk9d6.js} +25 -25
  30. package/dist/chunks/{rpc-gtexymfp.js → agent-2qp32f0v.js} +4 -4
  31. package/dist/chunks/{rpc-xxhgf0eh.js → agent-2v1pzyq0.js} +9 -9
  32. package/dist/chunks/{rpc-hk7b56jd.js → agent-31820djj.js} +89 -89
  33. package/dist/chunks/{rpc-k9yrfzzn.js → agent-328j3ef3.js} +8 -8
  34. package/dist/chunks/{rpc-c6vcmfe6.js → agent-336bg453.js} +42 -42
  35. package/dist/chunks/{rpc-bpwrvk6g.js → agent-3913b8rm.js} +19 -19
  36. package/dist/chunks/{rpc-1yvzb6cq.js → agent-3cy54vvk.js} +11 -11
  37. package/dist/chunks/{rpc-wq4ymj1p.js → agent-3ef040mj.js} +40 -40
  38. package/dist/chunks/{rpc-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{rpc-5w9yjztw.js → agent-3g8j9he4.js} +1 -1
  40. package/dist/chunks/{rpc-b1kwtjp2.js → agent-3gt6es9n.js} +5 -5
  41. package/dist/chunks/{rpc-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{rpc-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
  43. package/dist/chunks/{rpc-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{rpc-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{rpc-p7d7zdnm.js → agent-3v8y4w79.js} +3 -3
  46. package/dist/chunks/{rpc-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{rpc-5ck1sb4w.js → agent-46hxsw4n.js} +26 -26
  48. package/dist/chunks/{rpc-kchd60gm.js → agent-49ctvpxp.js} +5 -5
  49. package/dist/chunks/{rpc-xf3b7ak0.js → agent-4a1s5xyh.js} +15 -15
  50. package/dist/chunks/{rpc-sq1bvbqh.js → agent-4rxtb5vq.js} +11 -11
  51. package/dist/chunks/{rpc-35xt5v3z.js → agent-50ea6c2f.js} +48 -48
  52. package/dist/chunks/{rpc-k5swm7kd.js → agent-50z0a1gb.js} +32 -32
  53. package/dist/chunks/{rpc-54ma36ye.js → agent-54ma36ye.js} +1 -1
  54. package/dist/chunks/{rpc-a961kxqf.js → agent-5cg0xhj4.js} +11 -11
  55. package/dist/chunks/{rpc-bpa232ey.js → agent-5kxpfrb8.js} +6 -6
  56. package/dist/chunks/{rpc-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{rpc-xzr03pq0.js → agent-631jgtsf.js} +11 -11
  58. package/dist/chunks/{rpc-501wjxab.js → agent-6je4cm4t.js} +5 -5
  59. package/dist/chunks/{rpc-b674v2dg.js → agent-6kzp9tjq.js} +5 -5
  60. package/dist/chunks/{rpc-qg87bzy9.js → agent-6mp983td.js} +35 -35
  61. package/dist/chunks/{rpc-5fpmpm6s.js → agent-6nydggxm.js} +11 -11
  62. package/dist/chunks/{rpc-0s8etjc9.js → agent-6rctkjjb.js} +33 -33
  63. package/dist/chunks/{rpc-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{rpc-3jxnaj1m.js → agent-70sfpb74.js} +11 -11
  65. package/dist/chunks/{rpc-775gj3j1.js → agent-775gj3j1.js} +2 -2
  66. package/dist/chunks/{rpc-wv6kh7cb.js → agent-7abtwhpm.js} +338 -338
  67. package/dist/chunks/{rpc-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{rpc-6pc27hjz.js → agent-7fkffz83.js} +8 -8
  69. package/dist/chunks/{rpc-0g63a0te.js → agent-7j7ddnk0.js} +12 -12
  70. package/dist/chunks/{rpc-r1smz7b8.js → agent-7nmmn82v.js} +5 -5
  71. package/dist/chunks/{rpc-nmp290x7.js → agent-7v8d6x1k.js} +7 -7
  72. package/dist/chunks/{rpc-z1zcjh09.js → agent-816nw50c.js} +13 -13
  73. package/dist/chunks/{rpc-w1eejvng.js → agent-84txncab.js} +5 -5
  74. package/dist/chunks/{rpc-6ha732mw.js → agent-84v535vz.js} +30 -30
  75. package/dist/chunks/{rpc-nb9p6b26.js → agent-86qzxe6p.js} +4 -4
  76. package/dist/chunks/{rpc-s6vv92hd.js → agent-8f0r14n7.js} +18 -18
  77. package/dist/chunks/{rpc-3sm5rdfs.js → agent-8f7svxab.js} +17 -17
  78. package/dist/chunks/{rpc-x7ajn6gb.js → agent-8kbf19c9.js} +22 -22
  79. package/dist/chunks/{rpc-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{rpc-j09zfasm.js → agent-91qna3x0.js} +3 -3
  81. package/dist/chunks/{rpc-5qwd6gw2.js → agent-9bx876pj.js} +22 -22
  82. package/dist/chunks/{rpc-vrxbghgd.js → agent-9ng5jy3p.js} +9 -9
  83. package/dist/chunks/{rpc-vp0qwmgb.js → agent-a37v51ty.js} +18 -18
  84. package/dist/chunks/{rpc-6sspz9tf.js → agent-a60tcv91.js} +11 -11
  85. package/dist/chunks/{rpc-fw181sc9.js → agent-a7bcxdzj.js} +9 -9
  86. package/dist/chunks/{rpc-wss8ekf6.js → agent-acqwrbht.js} +25 -25
  87. package/dist/chunks/{rpc-mxvxcxwy.js → agent-addxnjmp.js} +4 -4
  88. package/dist/chunks/{rpc-zcrspsvn.js → agent-afdssyjb.js} +4 -4
  89. package/dist/chunks/{rpc-7pw4k8pw.js → agent-aftyskxv.js} +22 -22
  90. package/dist/chunks/{rpc-yaxkaew0.js → agent-avk7egrj.js} +18 -18
  91. package/dist/chunks/{rpc-85k52pgz.js → agent-aw43jf4k.js} +12 -12
  92. package/dist/chunks/{rpc-b3f8fkhc.js → agent-b3f8fkhc.js} +2 -2
  93. package/dist/chunks/{rpc-664av6jq.js → agent-b4y73578.js} +44 -44
  94. package/dist/chunks/{rpc-azsbjgdx.js → agent-b6aa29h5.js} +28 -28
  95. package/dist/chunks/{rpc-b6pnk01m.js → agent-bb6cbn1x.js} +88 -88
  96. package/dist/chunks/{rpc-rpfw3nqr.js → agent-bhgc3dzs.js} +14 -14
  97. package/dist/chunks/{rpc-1ffvrpkg.js → agent-bjx1sjef.js} +6 -6
  98. package/dist/chunks/{rpc-yt30aj44.js → agent-bqgyyk6d.js} +23 -23
  99. package/dist/chunks/{rpc-sdw1hh26.js → agent-btxh7gek.js} +18 -18
  100. package/dist/chunks/{rpc-es1vcfrp.js → agent-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{rpc-zt4ytqs0.js → agent-c56508zd.js} +188 -188
  102. package/dist/chunks/{rpc-axv8g7q4.js → agent-c9x8k2kr.js} +15 -15
  103. package/dist/chunks/{rpc-tagbrba9.js → agent-csb7xzkw.js} +23 -23
  104. package/dist/chunks/{rpc-1577rrhd.js → agent-d40bcff0.js} +56 -56
  105. package/dist/chunks/{rpc-v1vh7s4p.js → agent-d7x0sh0y.js} +5 -5
  106. package/dist/chunks/{rpc-7jacs1jg.js → agent-dm3nnk5j.js} +32 -32
  107. package/dist/chunks/{rpc-dqxsqydv.js → agent-dqxsqydv.js} +1 -1
  108. package/dist/chunks/{rpc-mb14aw74.js → agent-drnf6xwf.js} +2 -2
  109. package/dist/chunks/{rpc-9hn6k4tm.js → agent-dv1qgsyq.js} +4 -4
  110. package/dist/chunks/{rpc-2ew3z5ht.js → agent-dvn8h3hj.js} +19 -19
  111. package/dist/chunks/{rpc-t2jpskh3.js → agent-dz5zw78w.js} +34 -34
  112. package/dist/chunks/{rpc-94zt7vas.js → agent-dzgd3nzk.js} +8 -8
  113. package/dist/chunks/{rpc-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
  114. package/dist/chunks/{rpc-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  115. package/dist/chunks/{rpc-z5pcptfa.js → agent-efxe2svv.js} +11 -11
  116. package/dist/chunks/{rpc-99tfdan1.js → agent-egzgxsyx.js} +29 -29
  117. package/dist/chunks/{rpc-412wv95y.js → agent-ehapxwsb.js} +32 -32
  118. package/dist/chunks/{rpc-q2xhpvxb.js → agent-exe77665.js} +30 -30
  119. package/dist/chunks/{rpc-2c1etwgk.js → agent-fbmc2kmv.js} +21 -21
  120. package/dist/chunks/{rpc-0kkmefz1.js → agent-ffwe724q.js} +24 -24
  121. package/dist/chunks/{rpc-5eer2xf9.js → agent-fgem0d3n.js} +8 -8
  122. package/dist/chunks/{rpc-qy24xa0s.js → agent-fnmy9sw4.js} +18 -18
  123. package/dist/chunks/{rpc-sszn147w.js → agent-fp3zmvgv.js} +23 -23
  124. package/dist/chunks/{rpc-73tr020p.js → agent-fpzj7rn3.js} +76 -76
  125. package/dist/chunks/{rpc-yfvzqt1f.js → agent-fs2ks0ah.js} +25 -25
  126. package/dist/chunks/{rpc-gjwgx2c5.js → agent-ft3hqk2c.js} +9 -9
  127. package/dist/chunks/{rpc-t827rtr3.js → agent-fve7hrpz.js} +14 -14
  128. package/dist/chunks/{rpc-pba85c1x.js → agent-fww2ha2b.js} +10 -10
  129. package/dist/chunks/{rpc-khmqacep.js → agent-fxaymqdw.js} +4 -4
  130. package/dist/chunks/{rpc-qsqdkngs.js → agent-fz67f08d.js} +20 -20
  131. package/dist/chunks/{rpc-4xpgt2w9.js → agent-g6yfr6ja.js} +5 -5
  132. package/dist/chunks/{rpc-c688b2mm.js → agent-g8wr7j18.js} +5 -5
  133. package/dist/chunks/{rpc-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  134. package/dist/chunks/agent-gyce5qg1.js +18 -0
  135. package/dist/chunks/agent-h2s4xrnp.js +26 -0
  136. package/dist/chunks/{rpc-6tyv3xa5.js → agent-h36gg2tn.js} +4 -4
  137. package/dist/chunks/{rpc-0rmdt9st.js → agent-h3wb0rf0.js} +5 -5
  138. package/dist/chunks/{rpc-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  139. package/dist/chunks/{rpc-31xfzrxg.js → agent-h7s7r6s9.js} +5 -5
  140. package/dist/chunks/{rpc-haysr2j0.js → agent-hcs07a1d.js} +13 -13
  141. package/dist/chunks/{rpc-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
  142. package/dist/chunks/{rpc-nets62yb.js → agent-hhmdxq56.js} +3 -3
  143. package/dist/chunks/{rpc-hqhp0zxs.js → agent-hkffa77z.js} +4 -4
  144. package/dist/chunks/{rpc-b6r9ty7s.js → agent-hkttkzqp.js} +15 -15
  145. package/dist/chunks/{rpc-qq400y0z.js → agent-hpxsmcpf.js} +13 -13
  146. package/dist/chunks/{rpc-mzyxe8gm.js → agent-hqf1mv2f.js} +22 -22
  147. package/dist/chunks/{rpc-pgp1nwjn.js → agent-j34bs4nz.js} +4 -4
  148. package/dist/chunks/{rpc-dce2gzrk.js → agent-jbnebdpg.js} +8 -8
  149. package/dist/chunks/{rpc-j9ha8nqa.js → agent-jfvkz881.js} +16 -16
  150. package/dist/chunks/{rpc-f45r55fw.js → agent-jhfkefc8.js} +15 -15
  151. package/dist/chunks/{rpc-ycp3cd4k.js → agent-jhxa4x6v.js} +14 -14
  152. package/dist/chunks/{rpc-jk540des.js → agent-jk540des.js} +2 -2
  153. package/dist/chunks/{rpc-bqg1e2cj.js → agent-jrcfabzf.js} +1 -1
  154. package/dist/chunks/{rpc-6ax2sg4n.js → agent-js4pbrmc.js} +25 -25
  155. package/dist/chunks/{rpc-r0n6t0zc.js → agent-jt6f8k8z.js} +23 -23
  156. package/dist/chunks/{rpc-mtc1cw2z.js → agent-jvkv54gr.js} +3 -3
  157. package/dist/chunks/{rpc-xccpgf1k.js → agent-jy6v70g9.js} +25 -25
  158. package/dist/chunks/{rpc-hra9bp9n.js → agent-jzbfat1a.js} +19 -19
  159. package/dist/chunks/{rpc-xb5bw9r2.js → agent-k3xewbbn.js} +23 -23
  160. package/dist/chunks/{rpc-cvgztn7t.js → agent-k72nqehm.js} +38 -38
  161. package/dist/chunks/{rpc-669jbzsj.js → agent-kvnmdx0p.js} +17 -17
  162. package/dist/chunks/{rpc-z7ej7fbh.js → agent-kxy5hpjs.js} +29 -29
  163. package/dist/chunks/{rpc-pkxj7ynd.js → agent-ky7xv0tv.js} +6 -6
  164. package/dist/chunks/{rpc-n7pp7qj2.js → agent-m2tp2zy4.js} +32 -32
  165. package/dist/chunks/{rpc-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  166. package/dist/chunks/{rpc-maspj1v3.js → agent-maspj1v3.js} +1 -1
  167. package/dist/chunks/{rpc-bmr56wjg.js → agent-mv3hx7wz.js} +4 -4
  168. package/dist/chunks/{rpc-c2sed5cq.js → agent-my4zabxr.js} +2 -2
  169. package/dist/chunks/{rpc-3sj8yt8v.js → agent-n1n192bv.js} +4 -4
  170. package/dist/chunks/{rpc-zb746e9k.js → agent-n3z6xa89.js} +2 -2
  171. package/dist/chunks/{rpc-62yd8t86.js → agent-n69wn4k7.js} +14 -14
  172. package/dist/chunks/{rpc-pqdj80dn.js → agent-n6mse5q2.js} +4 -4
  173. package/dist/chunks/{rpc-v08rtmt7.js → agent-n7gja7eh.js} +25 -25
  174. package/dist/chunks/{rpc-atjwctsn.js → agent-nehy47qm.js} +18 -18
  175. package/dist/chunks/{rpc-a4y2m2pn.js → agent-nf8gtwm3.js} +16 -16
  176. package/dist/chunks/{rpc-66keg2ed.js → agent-nnbhsd2s.js} +9 -9
  177. package/dist/chunks/{rpc-13wy7mfs.js → agent-pfqf91wk.js} +20 -20
  178. package/dist/chunks/{rpc-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  179. package/dist/chunks/{rpc-fscc3096.js → agent-pk8q3hep.js} +15 -15
  180. package/dist/chunks/{rpc-pknna89w.js → agent-pknna89w.js} +1 -1
  181. package/dist/chunks/{rpc-zqnnyapg.js → agent-pmcwe568.js} +23 -23
  182. package/dist/chunks/{rpc-q0xm7vwc.js → agent-q0xm7vwc.js} +2 -2
  183. package/dist/chunks/{rpc-veq4qypw.js → agent-q1bfw64a.js} +16 -16
  184. package/dist/chunks/{rpc-6x6tfj0a.js → agent-q761sv46.js} +12 -12
  185. package/dist/chunks/{rpc-7m6me2kh.js → agent-q8p7dk20.js} +28 -28
  186. package/dist/chunks/{rpc-bqf8dw7y.js → agent-q91f3t0x.js} +31 -31
  187. package/dist/chunks/{rpc-da09f1g7.js → agent-qfx0t4ke.js} +11 -11
  188. package/dist/chunks/{rpc-c3kdpfj7.js → agent-qk0qxrtr.js} +34 -34
  189. package/dist/chunks/{rpc-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
  190. package/dist/chunks/{rpc-h9a815dw.js → agent-qq4j7qt6.js} +37 -37
  191. package/dist/chunks/{rpc-drwq78ky.js → agent-qqeeq2t9.js} +7 -7
  192. package/dist/chunks/{rpc-qsdy395h.js → agent-qsdy395h.js} +1 -1
  193. package/dist/chunks/{rpc-e5vg0yv6.js → agent-qvazqvvc.js} +8 -8
  194. package/dist/chunks/{rpc-yyyk3xhf.js → agent-qzkhffvs.js} +22 -22
  195. package/dist/chunks/{rpc-nma959mg.js → agent-r2z489rp.js} +3 -3
  196. package/dist/chunks/{rpc-5xhe9v23.js → agent-rabj4zv4.js} +9 -9
  197. package/dist/chunks/{rpc-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  198. package/dist/chunks/{rpc-tkb22qbm.js → agent-rert0e01.js} +2 -2
  199. package/dist/chunks/{rpc-f2n192rq.js → agent-rhraev7y.js} +4 -4
  200. package/dist/chunks/{rpc-c41wscbt.js → agent-rj3eygr5.js} +2 -2
  201. package/dist/chunks/{rpc-vxnp931j.js → agent-rksbsveg.js} +21 -21
  202. package/dist/chunks/{rpc-dxybt9ry.js → agent-rzhk0pxw.js} +29 -29
  203. package/dist/chunks/{rpc-p8sn5v2a.js → agent-rzmamy72.js} +46 -46
  204. package/dist/chunks/{rpc-ysmpv3j4.js → agent-s57b5eh9.js} +5 -5
  205. package/dist/chunks/{rpc-y8s1cxkd.js → agent-s777yeyn.js} +30 -30
  206. package/dist/chunks/{rpc-t550f9t1.js → agent-s8d7rejh.js} +4 -4
  207. package/dist/chunks/{rpc-c8ax2afj.js → agent-sa8ekw3f.js} +2 -2
  208. package/dist/chunks/{rpc-xjwg7jja.js → agent-sbn7pzv1.js} +8 -8
  209. package/dist/chunks/{rpc-rxg505xh.js → agent-sd36kcjb.js} +13 -13
  210. package/dist/chunks/{rpc-2jnytm9q.js → agent-se59bpe2.js} +5 -5
  211. package/dist/chunks/{rpc-81aqk3w6.js → agent-shcqsdwj.js} +11 -11
  212. package/dist/chunks/{rpc-0yp806wb.js → agent-snr1631k.js} +1 -1
  213. package/dist/chunks/{rpc-cp4eewxm.js → agent-sr657sp7.js} +5 -5
  214. package/dist/chunks/{rpc-awddqekk.js → agent-ssvc2v8g.js} +15 -15
  215. package/dist/chunks/{rpc-3cj7mw2f.js → agent-sx205xp2.js} +1 -1
  216. package/dist/chunks/{rpc-1j6h4v11.js → agent-sytrzq88.js} +18 -18
  217. package/dist/chunks/{rpc-syv4x271.js → agent-syv4x271.js} +1 -1
  218. package/dist/chunks/{rpc-fqb2p7cx.js → agent-t2fc4mz5.js} +4 -4
  219. package/dist/chunks/{rpc-20dqcrnk.js → agent-t6xdkxwv.js} +18 -18
  220. package/dist/chunks/{rpc-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{rpc-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
  222. package/dist/chunks/{rpc-xzhg0qv8.js → agent-tcxg1jmc.js} +24 -24
  223. package/dist/chunks/{rpc-tdstcens.js → agent-tdstcens.js} +1 -1
  224. package/dist/chunks/{rpc-51f5btjf.js → agent-tegs1ycp.js} +6 -6
  225. package/dist/chunks/{rpc-hmqnqm20.js → agent-tkw33k9w.js} +30 -30
  226. package/dist/chunks/{rpc-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
  227. package/dist/chunks/{rpc-tyytaxap.js → agent-tyytaxap.js} +1 -1
  228. package/dist/chunks/{rpc-tm6m41eq.js → agent-tz35mf6x.js} +8 -8
  229. package/dist/chunks/{rpc-tg7bkhef.js → agent-v0es1rhs.js} +7 -7
  230. package/dist/chunks/{rpc-yqek1wqm.js → agent-v3dtcwjz.js} +13 -13
  231. package/dist/chunks/{rpc-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
  232. package/dist/chunks/{rpc-g62k8ye6.js → agent-v9yt08hw.js} +16 -16
  233. package/dist/chunks/{rpc-3v44xrgw.js → agent-vch9y4vj.js} +23 -23
  234. package/dist/chunks/{rpc-veqvce7d.js → agent-veqvce7d.js} +1 -1
  235. package/dist/chunks/{rpc-phj7b8e3.js → agent-vfy0p931.js} +6 -6
  236. package/dist/chunks/{rpc-y14yzbv9.js → agent-vk9vgbh1.js} +15 -15
  237. package/dist/chunks/{rpc-n3vb9epv.js → agent-vqhana6f.js} +23 -23
  238. package/dist/chunks/{rpc-91pgxm1y.js → agent-vwtghmt7.js} +23 -23
  239. package/dist/chunks/{rpc-61rpadeq.js → agent-vy0s0sr4.js} +20 -20
  240. package/dist/chunks/{rpc-zm820vvs.js → agent-vz2qmdjd.js} +43 -43
  241. package/dist/chunks/{rpc-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{rpc-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{rpc-618s31kc.js → agent-w693ecfj.js} +10 -10
  244. package/dist/chunks/{rpc-6fd9p91z.js → agent-w6htd7zh.js} +13 -13
  245. package/dist/chunks/{rpc-5e3s40e2.js → agent-w86b5zna.js} +23 -23
  246. package/dist/chunks/{rpc-hnaazdex.js → agent-wa0x4va4.js} +4 -4
  247. package/dist/chunks/{rpc-wd87259q.js → agent-wd87259q.js} +1 -1
  248. package/dist/chunks/{rpc-y0xznj3f.js → agent-wdpmkj9t.js} +8 -8
  249. package/dist/chunks/{rpc-e545f8nm.js → agent-wetbxm0p.js} +9 -9
  250. package/dist/chunks/{rpc-s4a1trnd.js → agent-wh82kep3.js} +3 -3
  251. package/dist/chunks/{rpc-a7dkb545.js → agent-wha9pdbd.js} +11 -11
  252. package/dist/chunks/{rpc-633kc721.js → agent-wk28cg8h.js} +11 -11
  253. package/dist/chunks/{rpc-11dqjexa.js → agent-wk5z6jzv.js} +9 -9
  254. package/dist/chunks/{rpc-3dn5qvj3.js → agent-wm327jek.js} +30 -30
  255. package/dist/chunks/{rpc-6t1bbpnq.js → agent-wnjv9xrx.js} +7 -7
  256. package/dist/chunks/{rpc-tg8ddpts.js → agent-wqddz62t.js} +6 -6
  257. package/dist/chunks/{rpc-9pdrjcjq.js → agent-wsrve659.js} +10 -10
  258. package/dist/chunks/{rpc-jewhh3wd.js → agent-wxyjxjzj.js} +10 -10
  259. package/dist/chunks/{rpc-ngbwkpd3.js → agent-wzhp1wyq.js} +11 -11
  260. package/dist/chunks/{rpc-mfj47n67.js → agent-wzvjhsfb.js} +18 -18
  261. package/dist/chunks/{rpc-p7dppmtr.js → agent-x26hza9p.js} +13 -13
  262. package/dist/chunks/{rpc-x4bs0z10.js → agent-x3f89s44.js} +11 -11
  263. package/dist/chunks/{rpc-w4axh9wz.js → agent-xa3qyksy.js} +8 -8
  264. package/dist/chunks/{rpc-a8nkje97.js → agent-xa8dcf8m.js} +11 -11
  265. package/dist/chunks/{rpc-1qpmd929.js → agent-xaafse7q.js} +4 -4
  266. package/dist/chunks/{rpc-gtnvez50.js → agent-xbzcmspy.js} +33 -33
  267. package/dist/chunks/{rpc-nfvfn1nf.js → agent-xq456m14.js} +1 -1
  268. package/dist/chunks/{rpc-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{rpc-1hfz5630.js → agent-y5hc63tf.js} +20 -20
  270. package/dist/chunks/{rpc-dpkg50ah.js → agent-y71avatq.js} +4 -4
  271. package/dist/chunks/{rpc-ds513cvv.js → agent-y878v9rt.js} +51 -51
  272. package/dist/chunks/{rpc-1vnnf5cd.js → agent-ya23ecyg.js} +45 -45
  273. package/dist/chunks/{rpc-zjtrsxny.js → agent-yd4bzqjj.js} +5 -5
  274. package/dist/chunks/{rpc-19r4ktpx.js → agent-ydp8h3rh.js} +24 -24
  275. package/dist/chunks/{rpc-a4cx9gg9.js → agent-yfwvs8z7.js} +27 -27
  276. package/dist/chunks/{rpc-59nqaqqb.js → agent-ym3sw0s1.js} +1 -1
  277. package/dist/chunks/{rpc-c445dxh9.js → agent-ynj5s4jx.js} +19 -19
  278. package/dist/chunks/{rpc-pybx3045.js → agent-yzdd1q42.js} +43 -43
  279. package/dist/chunks/{rpc-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{rpc-wr7ps67x.js → agent-z2qbjhyn.js} +5 -5
  281. package/dist/chunks/{rpc-wf35t0j7.js → agent-ze38rjkb.js} +11 -11
  282. package/dist/chunks/{rpc-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{rpc-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +92 -92
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +120 -120
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +72 -72
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +81 -81
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +101 -101
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +87 -87
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +85 -85
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +111 -111
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +101 -101
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +105 -105
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +111 -111
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +125 -125
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +125 -125
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +125 -125
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +76 -76
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +220 -220
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +84 -84
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +89 -89
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +86 -86
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +92 -92
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +2 -2
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +3 -3
  605. package/dist/session/session.js +164 -164
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +77 -77
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +213 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +211 -211
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +4 -4
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +95 -95
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +130 -130
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +118 -118
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +118 -118
  639. package/dist/tool/plugin/question.js +107 -107
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +208 -208
  642. package/dist/tool/plugin/skill.js +109 -109
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +114 -114
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +122 -122
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +95 -95
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +86 -86
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +82 -82
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +96 -96
  683. package/package.json +8 -8
  684. package/dist/chunks/rpc-jqh9b0xq.js +0 -18
  685. package/dist/chunks/rpc-z00ewvj9.js +0 -26
  686. /package/dist/chunks/{rpc-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{rpc-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{rpc-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{rpc-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{rpc-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{rpc-24dcb14g.js → agent-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{rpc-2710q6r3.js → agent-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{rpc-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{rpc-2bv980vf.js → agent-2bv980vf.js} +0 -0
  695. /package/dist/chunks/{rpc-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{rpc-359p4xyc.js → agent-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{rpc-3asan66x.js → agent-3asan66x.js} +0 -0
  698. /package/dist/chunks/{rpc-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{rpc-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{rpc-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{rpc-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{rpc-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{rpc-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{rpc-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{rpc-53557ph1.js → agent-53557ph1.js} +0 -0
  706. /package/dist/chunks/{rpc-550bvhaj.js → agent-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{rpc-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{rpc-6prwharc.js → agent-6prwharc.js} +0 -0
  709. /package/dist/chunks/{rpc-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{rpc-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{rpc-7m9af43g.js → agent-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{rpc-822emrt2.js → agent-822emrt2.js} +0 -0
  713. /package/dist/chunks/{rpc-84wd9syh.js → agent-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{rpc-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{rpc-8n3pysct.js → agent-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{rpc-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{rpc-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{rpc-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{rpc-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{rpc-af5trqkr.js → agent-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{rpc-afrmfg78.js → agent-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{rpc-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{rpc-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{rpc-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{rpc-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{rpc-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{rpc-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{rpc-d9fn303g.js → agent-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{rpc-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{rpc-dajrwvna.js → agent-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{rpc-dap0rakb.js → agent-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{rpc-df08tz66.js → agent-df08tz66.js} +0 -0
  733. /package/dist/chunks/{rpc-dy18nga0.js → agent-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{rpc-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{rpc-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{rpc-ec1grn59.js → agent-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{rpc-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{rpc-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{rpc-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{rpc-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{rpc-faypxj3z.js → agent-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{rpc-fd410y7t.js → agent-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{rpc-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{rpc-g86h250q.js → agent-g86h250q.js} +0 -0
  745. /package/dist/chunks/{rpc-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{rpc-gftt206x.js → agent-gftt206x.js} +0 -0
  747. /package/dist/chunks/{rpc-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  748. /package/dist/chunks/{rpc-hk9envan.js → agent-hk9envan.js} +0 -0
  749. /package/dist/chunks/{rpc-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{rpc-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{rpc-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{rpc-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{rpc-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{rpc-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  755. /package/dist/chunks/{rpc-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{rpc-m18g726c.js → agent-m18g726c.js} +0 -0
  757. /package/dist/chunks/{rpc-mp448xyj.js → agent-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{rpc-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{rpc-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{rpc-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{rpc-njntx4h6.js → agent-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{rpc-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
  763. /package/dist/chunks/{rpc-pyv0edze.js → agent-pyv0edze.js} +0 -0
  764. /package/dist/chunks/{rpc-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{rpc-q74kybfr.js → agent-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{rpc-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{rpc-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{rpc-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{rpc-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{rpc-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{rpc-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{rpc-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{rpc-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{rpc-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  775. /package/dist/chunks/{rpc-w803qqfp.js → agent-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{rpc-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{rpc-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{rpc-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  779. /package/dist/chunks/{rpc-wtztk69x.js → agent-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{rpc-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{rpc-x61499pn.js → agent-x61499pn.js} +0 -0
  782. /package/dist/chunks/{rpc-y44na4kk.js → agent-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{rpc-y8f7s663.js → agent-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{rpc-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{rpc-ym463w8f.js → agent-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{rpc-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{rpc-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./rpc-775gj3j1.js";
3
+ } from "./agent-775gj3j1.js";
4
4
  import {
5
5
  __export
6
- } from "./rpc-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service35,
11
+ Service: () => Service26,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer16,
13
+ layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node38
15
+ node: () => node29
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service26 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service35.of({ bind, close, closeAll });
370
+ return Service26.of({ bind, close, closeAll });
371
371
  }));
372
- var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node38 = makeGlobalNode({ service: Service35, layer: layer16, deps: [webSocketConstructor2] });
375
+ var node29 = makeGlobalNode({ service: Service26, layer: layer13, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service35, makeLayer2, layer16, node38, exports_model_transport };
377
+ export { Service26, makeLayer2, layer13, node29, exports_model_transport };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service76
3
- } from "./rpc-vxnp931j.js";
2
+ Service55
3
+ } from "./agent-rksbsveg.js";
4
4
  import {
5
5
  __export
6
- } from "./rpc-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service76;
24
+ const environment = yield* Service55;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./rpc-hgz4x7wa.js";
3
+ } from "./agent-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./rpc-z5v4ffb3.js";
6
+ } from "./agent-z5v4ffb3.js";
7
7
  import {
8
8
  Service78
9
- } from "./rpc-b1kwtjp2.js";
9
+ } from "./agent-3gt6es9n.js";
10
10
  import {
11
- Service76
12
- } from "./rpc-vxnp931j.js";
11
+ Service55
12
+ } from "./agent-rksbsveg.js";
13
13
  import {
14
- Service23
15
- } from "./rpc-sdw1hh26.js";
14
+ Service54
15
+ } from "./agent-btxh7gek.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./rpc-y51ceatp.js";
21
+ } from "./agent-2mhkbbfb.js";
22
22
  import {
23
- Service62
24
- } from "./rpc-td0am7tz.js";
23
+ Service69
24
+ } from "./agent-1z2t3sd1.js";
25
25
  import {
26
- Service16
27
- } from "./rpc-axv8g7q4.js";
26
+ Service32
27
+ } from "./agent-c9x8k2kr.js";
28
28
  import {
29
29
  __export
30
- } from "./rpc-9rqn6x4v.js";
30
+ } from "./agent-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input8,
37
- Output: () => Output6,
38
- Plugin: () => Plugin10,
39
- name: () => name8,
40
- toModelContent: () => toModelContent5
36
+ Input: () => Input7,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin43,
39
+ name: () => name7,
40
+ toModelContent: () => toModelContent3
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name8 = "glob";
46
- var Input8 = Schema.Struct({
45
+ var name7 = "glob";
46
+ var Input7 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input8 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output6 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
58
+ var Output5 = Schema.Array(Entry2);
59
+ var toModelContent3 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin10 = {
66
+ var Plugin43 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service76;
70
- const ripgrep = yield* Service23;
69
+ const environment = yield* Service55;
70
+ const ripgrep = yield* Service54;
71
71
  const location = yield* Service78;
72
- const access = yield* Service16;
73
- const permission = yield* Service62;
72
+ const access = yield* Service32;
73
+ const permission = yield* Service69;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name8,
75
+ name: name7,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input8,
79
- output: Output6,
78
+ input: Input7,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name8,
86
+ action: name7,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin10 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name8, Input8, Output6, toModelContent5, Plugin10, exports_glob };
128
+ export { name7, Input7, Output5, toModelContent3, Plugin43, exports_glob };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./rpc-6ha732mw.js";
4
+ } from "./agent-84v535vz.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./rpc-88xbtdfr.js";
3
+ } from "./agent-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./rpc-5qd3pb7m.js";
6
+ } from "./agent-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./rpc-9rqn6x4v.js";
9
+ } from "./agent-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event9,
14
+ Event: () => Event7,
15
15
  Native: () => Native3,
16
- Options: () => Options6,
17
- Service: () => Service53,
16
+ Options: () => Options7,
17
+ Service: () => Service41,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured6,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer21,
22
+ layer: () => layer19,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node55,
25
+ node: () => node44,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event9 = { Updated: FileSystem.Event.Changed };
36
+ var Event7 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options6 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service53 extends Context.Service()("@opencode/Watcher") {
60
+ class Service41 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
65
+ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service53.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service41.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service53.of({ subscribe });
108
+ return Service41.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service53).subscribe,
134
+ subscribe: Context.get(context, Service41).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service53, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service41, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured6(options) {
168
- return makeGlobalNode({ service: Service53, layer: layer21(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service41, layer: layer19(options), deps: [nativeNode2] });
169
169
  }
170
- var node55 = configured6();
170
+ var node44 = configured6();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event9, hasNativeBinding2, Native3, Options6, Service53, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured6, node55, exports_watcher };
190
+ export { Event7, hasNativeBinding2, Native3, Options7, Service41, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured6, node44, exports_watcher };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make22,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make22 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make22, exports_keyed_mutex };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./rpc-dpkg50ah.js";
3
+ } from "./agent-y71avatq.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./rpc-g62k8ye6.js";
5
+ Service81,
6
+ node85
7
+ } from "./agent-v9yt08hw.js";
8
8
  import {
9
- Event18,
10
- Service73,
11
- node76
12
- } from "./rpc-t2jpskh3.js";
9
+ Event19,
10
+ Service76,
11
+ node80
12
+ } from "./agent-dz5zw78w.js";
13
13
  import {
14
14
  Service78,
15
15
  node82
16
- } from "./rpc-b1kwtjp2.js";
16
+ } from "./agent-3gt6es9n.js";
17
17
  import {
18
- Service76,
19
- node79
20
- } from "./rpc-vxnp931j.js";
18
+ Service55,
19
+ node59
20
+ } from "./agent-rksbsveg.js";
21
21
  import {
22
- ID15,
23
- Service74,
24
- node77
25
- } from "./rpc-n3vb9epv.js";
22
+ ID16,
23
+ Service77,
24
+ node81
25
+ } from "./agent-vqhana6f.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./rpc-rdw6cm16.js";
29
+ } from "./agent-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID14,
32
32
  MethodID2,
33
- Service72,
34
- node75
35
- } from "./rpc-z7ej7fbh.js";
33
+ Service75,
34
+ node79
35
+ } from "./agent-kxy5hpjs.js";
36
36
  import {
37
37
  __export
38
- } from "./rpc-9rqn6x4v.js";
38
+ } from "./agent-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service33,
52
+ Service: () => Service28,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured4,
56
- layer: () => layer14,
57
- node: () => node36
55
+ configured: () => configured3,
56
+ layer: () => layer15,
57
+ node: () => node31
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service33 extends Context.Service()("@opencode/MCP") {
106
+ class Service28 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options4 = Schema.Struct({
108
+ var Options3 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
114
+ var layer15 = (options) => Layer.effect(Service28, Effect.gen(function* () {
115
115
  const location = yield* Service78;
116
- const environment = yield* Service76;
117
- const bus = yield* Service83;
118
- const forms = yield* Service74;
119
- const integration = yield* Service72;
120
- const credentials = yield* Service73;
116
+ const environment = yield* Service55;
117
+ const bus = yield* Service81;
118
+ const forms = yield* Service77;
119
+ const integration = yield* Service75;
120
+ const credentials = yield* Service76;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID13.make(suffix);
132
+ const integrationID = ID14.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError4({ server: name });
157
+ return yield* new NotFoundError3({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID15.create();
169
+ const formID = ID16.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service76, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service33.of({
423
+ return Service28.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured4(options) {
533
+ function configured3(options) {
534
534
  return makeLocationNode({
535
- service: Service33,
536
- layer: layer14(options),
537
- deps: [node82, node79, node87, node77, node75, node76]
535
+ service: Service28,
536
+ layer: layer15(options),
537
+ deps: [node82, node59, node85, node81, node79, node80]
538
538
  });
539
539
  }
540
- var node36 = configured4();
540
+ var node31 = configured3();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service33, Options4, layer14, configured4, node36, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service28, Options3, layer15, configured3, node31, exports_mcp4 };