@opencode/core 0.0.0-dev-347 → 0.0.0-dev-358

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 (953) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +91 -91
  3. package/dist/aisdk-native.js +101 -101
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{websearch-034tev2y.js → wellknown-034tev2y.js} +2 -2
  8. package/dist/chunks/{websearch-k0093evt.js → wellknown-055gykmf.js} +34 -30
  9. package/dist/chunks/wellknown-05zgt6w8.js +42 -0
  10. package/dist/chunks/{websearch-sxxdanmy.js → wellknown-0phw887k.js} +4 -4
  11. package/dist/chunks/{websearch-mg4v6ytb.js → wellknown-0ssq8yjy.js} +4 -4
  12. package/dist/chunks/{websearch-r4yqrmdq.js → wellknown-0t098hqn.js} +5 -5
  13. package/dist/chunks/{websearch-jt8g3tk4.js → wellknown-0tgfp88b.js} +18 -18
  14. package/dist/chunks/{websearch-mvq9xm7y.js → wellknown-0w7hd0br.js} +40 -40
  15. package/dist/chunks/{websearch-7s6vzadc.js → wellknown-0x5pfh39.js} +11 -11
  16. package/dist/chunks/{websearch-yr6j2xwe.js → wellknown-0zz0njtt.js} +11 -11
  17. package/dist/chunks/wellknown-114rd6c6.js +110 -0
  18. package/dist/chunks/{websearch-f993y56a.js → wellknown-1156j3e1.js} +17 -17
  19. package/dist/chunks/{websearch-jvb6mem3.js → wellknown-130xhevp.js} +344 -344
  20. package/dist/chunks/{websearch-1aqsckx4.js → wellknown-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{websearch-xxh0nct8.js → wellknown-1bt4wc7h.js} +15 -15
  22. package/dist/chunks/{websearch-1ep2p91f.js → wellknown-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{websearch-cjcv1c2q.js → wellknown-1pat95gt.js} +20 -20
  24. package/dist/chunks/{websearch-hqxkkta1.js → wellknown-1scgcwfj.js} +3 -3
  25. package/dist/chunks/wellknown-1tqf10dq.js +50 -0
  26. package/dist/chunks/wellknown-1wg8t21p.js +149 -0
  27. package/dist/chunks/{websearch-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{websearch-p7vhpwh8.js → wellknown-1yq9hg58.js} +5 -5
  29. package/dist/chunks/{websearch-wvejrbsh.js → wellknown-20k3dskq.js} +25 -25
  30. package/dist/chunks/{websearch-gfs4qavg.js → wellknown-21pd4sh9.js} +26 -26
  31. package/dist/chunks/{websearch-8b3vzgkx.js → wellknown-25h84942.js} +4 -4
  32. package/dist/chunks/{websearch-pdj5a256.js → wellknown-29n0xt5w.js} +12 -12
  33. package/dist/chunks/wellknown-2bswbpgz.js +37 -0
  34. package/dist/chunks/{websearch-g3ga6tc0.js → wellknown-2cj337h5.js} +41 -41
  35. package/dist/chunks/{websearch-kd1drhzr.js → wellknown-2hj7r1wd.js} +23 -23
  36. package/dist/chunks/{websearch-kfyqh9ry.js → wellknown-2hkn2wbz.js} +22 -22
  37. package/dist/chunks/wellknown-2r1es908.js +41 -0
  38. package/dist/chunks/{websearch-ec44vae2.js → wellknown-2sg078pp.js} +20 -20
  39. package/dist/chunks/{websearch-pprkn22s.js → wellknown-34xj0nhf.js} +7 -7
  40. package/dist/chunks/{websearch-mmzs51g0.js → wellknown-365eavge.js} +4 -4
  41. package/dist/chunks/{websearch-mvg96cvx.js → wellknown-390k9sbc.js} +23 -23
  42. package/dist/chunks/{websearch-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{websearch-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{websearch-6xqtcmxs.js → wellknown-3r17c5hc.js} +11 -11
  45. package/dist/chunks/{websearch-z9bewzk6.js → wellknown-3r253yht.js} +36 -36
  46. package/dist/chunks/{websearch-b3efsrjf.js → wellknown-3wcxez96.js} +21 -21
  47. package/dist/chunks/{websearch-ehrznf92.js → wellknown-3wmhnv2g.js} +32 -32
  48. package/dist/chunks/{websearch-p108ft06.js → wellknown-40d3wtxe.js} +8 -8
  49. package/dist/chunks/{websearch-204s3925.js → wellknown-40y6dtc2.js} +4 -4
  50. package/dist/chunks/{websearch-8jztxfpf.js → wellknown-4d2dtj2f.js} +4 -4
  51. package/dist/chunks/{websearch-4dx1dgte.js → wellknown-4dx1dgte.js} +1 -1
  52. package/dist/chunks/{websearch-r542h3bh.js → wellknown-4f25tdd0.js} +5 -5
  53. package/dist/chunks/{websearch-f82w0nba.js → wellknown-4ffhv9d7.js} +8 -8
  54. package/dist/chunks/{websearch-4pyp9zr9.js → wellknown-4pyp9zr9.js} +1 -1
  55. package/dist/chunks/{websearch-ncqqe42p.js → wellknown-4qk9sjk2.js} +2 -2
  56. package/dist/chunks/{websearch-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
  57. package/dist/chunks/{websearch-4c3f10kp.js → wellknown-55cw6pea.js} +18 -18
  58. package/dist/chunks/{websearch-4dmxtz72.js → wellknown-5bxtajjx.js} +58 -58
  59. package/dist/chunks/{websearch-p50fwy42.js → wellknown-5ejrbqns.js} +23 -23
  60. package/dist/chunks/{websearch-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  61. package/dist/chunks/wellknown-5scxnw8r.js +36 -0
  62. package/dist/chunks/{websearch-vgy9d41n.js → wellknown-5swrknzd.js} +12 -12
  63. package/dist/chunks/{websearch-1mhmnhef.js → wellknown-5wamr1vp.js} +25 -25
  64. package/dist/chunks/wellknown-660m4eb8.js +97 -0
  65. package/dist/chunks/{websearch-n9zpx1d9.js → wellknown-69mrket9.js} +6 -6
  66. package/dist/chunks/{websearch-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
  67. package/dist/chunks/{websearch-8yhc7zrg.js → wellknown-6h8vcvjm.js} +11 -11
  68. package/dist/chunks/{websearch-yn48mmd2.js → wellknown-6ms37rsb.js} +36 -36
  69. package/dist/chunks/{websearch-vtgxp655.js → wellknown-6q8jj3zs.js} +3 -3
  70. package/dist/chunks/wellknown-6zps0eyt.js +164 -0
  71. package/dist/chunks/{websearch-a6b0z51k.js → wellknown-6zwwjdvx.js} +10 -10
  72. package/dist/chunks/{websearch-2mbz52qm.js → wellknown-734tpjk6.js} +24 -24
  73. package/dist/chunks/{websearch-e13g5x1s.js → wellknown-74hrq8bk.js} +33 -33
  74. package/dist/chunks/{websearch-76cb1hcw.js → wellknown-76cb1hcw.js} +1 -1
  75. package/dist/chunks/{websearch-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{websearch-7kr66rt3.js → wellknown-7kr66rt3.js} +1 -1
  77. package/dist/chunks/{websearch-36qx82yz.js → wellknown-7nqkf5r1.js} +2 -2
  78. package/dist/chunks/{websearch-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
  79. package/dist/chunks/{websearch-6pcpjwd2.js → wellknown-7x1j9rhd.js} +48 -48
  80. package/dist/chunks/{websearch-av8m10vw.js → wellknown-7xvyshzw.js} +3 -3
  81. package/dist/chunks/{websearch-sf35qzjn.js → wellknown-7y5gfyyn.js} +23 -23
  82. package/dist/chunks/wellknown-80mg3ag8.js +34 -0
  83. package/dist/chunks/{websearch-bznf86r0.js → wellknown-888nng90.js} +11 -11
  84. package/dist/chunks/{websearch-k814nvkf.js → wellknown-89287pr7.js} +5 -5
  85. package/dist/chunks/{websearch-kh0hrg97.js → wellknown-8dfptpqb.js} +4 -4
  86. package/dist/chunks/{websearch-n4c66n2d.js → wellknown-8f4a2z2r.js} +6 -6
  87. package/dist/chunks/{websearch-txp6vfxp.js → wellknown-8htnzefr.js} +5 -5
  88. package/dist/chunks/{websearch-j8563ys9.js → wellknown-8msaa9hz.js} +24 -24
  89. package/dist/chunks/{websearch-6zmkapgs.js → wellknown-8srgefnt.js} +21 -21
  90. package/dist/chunks/wellknown-8srhw74s.js +44 -0
  91. package/dist/chunks/{websearch-r2s7w9p5.js → wellknown-8t99kr38.js} +7 -7
  92. package/dist/chunks/{websearch-enf14z1b.js → wellknown-8tacrk44.js} +17 -17
  93. package/dist/chunks/{websearch-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
  94. package/dist/chunks/{websearch-90zstvax.js → wellknown-90zstvax.js} +1 -1
  95. package/dist/chunks/{websearch-kw50g2ba.js → wellknown-975ezy4a.js} +9 -9
  96. package/dist/chunks/{websearch-3jrs2g26.js → wellknown-9b87b64e.js} +49 -46
  97. package/dist/chunks/wellknown-9dsh5hkc.js +52 -0
  98. package/dist/chunks/{websearch-2kg89srt.js → wellknown-9q8g9sv8.js} +4 -4
  99. package/dist/chunks/{websearch-1xebvtks.js → wellknown-9w9ayf25.js} +35 -35
  100. package/dist/chunks/{websearch-egrgm9sa.js → wellknown-9zf013pm.js} +26 -26
  101. package/dist/chunks/{websearch-e6rp29s1.js → wellknown-a9rd8v2b.js} +13 -13
  102. package/dist/chunks/{websearch-50yqpbf8.js → wellknown-ae9b9yss.js} +13 -13
  103. package/dist/chunks/{websearch-2e3wrzp6.js → wellknown-akwr9qr2.js} +13 -13
  104. package/dist/chunks/{websearch-gz10z0zd.js → wellknown-am6r9jwm.js} +34 -34
  105. package/dist/chunks/{websearch-ayjs7tqn.js → wellknown-ayjs7tqn.js} +2 -2
  106. package/dist/chunks/{websearch-5nnwax6m.js → wellknown-b6vsg801.js} +5 -5
  107. package/dist/chunks/{websearch-62x64pn3.js → wellknown-b8qxy41g.js} +12 -12
  108. package/dist/chunks/wellknown-bb0970r8.js +26 -0
  109. package/dist/chunks/{websearch-mmtpgtte.js → wellknown-beq15d04.js} +17 -17
  110. package/dist/chunks/{websearch-1jah5r1w.js → wellknown-bpqzq33j.js} +33 -33
  111. package/dist/chunks/{websearch-htrj6v80.js → wellknown-bq667wdw.js} +13 -13
  112. package/dist/chunks/{websearch-empp5hj9.js → wellknown-btbkjnev.js} +5 -5
  113. package/dist/chunks/{websearch-8pp51b76.js → wellknown-bzn0hsmy.js} +22 -22
  114. package/dist/chunks/{websearch-7272xw9j.js → wellknown-c2mxr60t.js} +11 -11
  115. package/dist/chunks/{websearch-t0rcp7xm.js → wellknown-c5pa8ms9.js} +46 -46
  116. package/dist/chunks/{websearch-wwgpyqzb.js → wellknown-c5y15mwt.js} +9 -9
  117. package/dist/chunks/{websearch-ksbb71ed.js → wellknown-ch2z1gm7.js} +27 -27
  118. package/dist/chunks/{websearch-zjehbzha.js → wellknown-chstmfxk.js} +15 -15
  119. package/dist/chunks/{websearch-hds8qycc.js → wellknown-cjkj17aw.js} +9 -9
  120. package/dist/chunks/{websearch-fwgdphtq.js → wellknown-ckfh9hrw.js} +12 -12
  121. package/dist/chunks/{websearch-xfcf0hvp.js → wellknown-cps5kfgs.js} +4 -4
  122. package/dist/chunks/{websearch-jd21qj1c.js → wellknown-cscebcad.js} +11 -11
  123. package/dist/chunks/{websearch-ykwrz6sn.js → wellknown-ctxsgcm2.js} +11 -11
  124. package/dist/chunks/{websearch-cwrgdav8.js → wellknown-cwrgdav8.js} +2 -2
  125. package/dist/chunks/{websearch-3297hep7.js → wellknown-cx1yqc85.js} +87 -87
  126. package/dist/chunks/{websearch-w21mrhhg.js → wellknown-d1nmym44.js} +56 -56
  127. package/dist/chunks/{websearch-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{websearch-tp64pspc.js → wellknown-d56v2em7.js} +9 -9
  129. package/dist/chunks/{websearch-hy8c1z76.js → wellknown-ddvn7d3w.js} +8 -8
  130. package/dist/chunks/{websearch-nxjb403m.js → wellknown-detgddfv.js} +3 -3
  131. package/dist/chunks/wellknown-dgagqphw.js +379 -0
  132. package/dist/chunks/{websearch-mmg8baec.js → wellknown-dgy090gd.js} +5 -5
  133. package/dist/chunks/{websearch-7122eme9.js → wellknown-dp3359b6.js} +6 -6
  134. package/dist/chunks/{websearch-p5mrvaxe.js → wellknown-dq1qrxfc.js} +16 -16
  135. package/dist/chunks/{websearch-dt77769w.js → wellknown-dt77769w.js} +1 -1
  136. package/dist/chunks/{websearch-1sv9drr7.js → wellknown-dv96216k.js} +14 -10
  137. package/dist/chunks/{websearch-7syz3ngq.js → wellknown-dvkwagtj.js} +9 -9
  138. package/dist/chunks/{websearch-brtbsxkn.js → wellknown-dyz29spx.js} +9 -9
  139. package/dist/chunks/{websearch-e834z07m.js → wellknown-e834z07m.js} +1 -1
  140. package/dist/chunks/{websearch-qjmre3py.js → wellknown-e83p7v4f.js} +177 -177
  141. package/dist/chunks/{websearch-fmq1bg7t.js → wellknown-e85crny8.js} +10 -10
  142. package/dist/chunks/{websearch-rcjebwgm.js → wellknown-ee20801c.js} +18 -18
  143. package/dist/chunks/wellknown-en8b50e9.js +63 -0
  144. package/dist/chunks/{websearch-4ykwxwmw.js → wellknown-epcwhvcc.js} +9 -9
  145. package/dist/chunks/wellknown-eqw4pqj1.js +48 -0
  146. package/dist/chunks/{websearch-vrxnc4gr.js → wellknown-erjfhfv7.js} +15 -15
  147. package/dist/chunks/{websearch-hab39cq4.js → wellknown-est5w5t7.js} +4 -4
  148. package/dist/chunks/{websearch-md9bhnwm.js → wellknown-ev2ytmz2.js} +92 -92
  149. package/dist/chunks/{websearch-mx8m8bkx.js → wellknown-eyv077tq.js} +14 -14
  150. package/dist/chunks/{websearch-gsnsxgxa.js → wellknown-f341sazs.js} +3 -3
  151. package/dist/chunks/{websearch-8szb6ytp.js → wellknown-fdyyj7wt.js} +14 -14
  152. package/dist/chunks/{websearch-j0yxxg4y.js → wellknown-fe4xdxeg.js} +6 -6
  153. package/dist/chunks/{websearch-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
  154. package/dist/chunks/{websearch-fg9p65nk.js → wellknown-fg9p65nk.js} +2 -2
  155. package/dist/chunks/{websearch-v2c4z2sa.js → wellknown-fp8nst1z.js} +5 -5
  156. package/dist/chunks/{websearch-exva2tav.js → wellknown-fp8rc6cc.js} +23 -23
  157. package/dist/chunks/{websearch-yf5tjpcf.js → wellknown-ftt3arkd.js} +35 -35
  158. package/dist/chunks/{websearch-ds0b2y1d.js → wellknown-fvjtryy6.js} +1 -1
  159. package/dist/chunks/{websearch-t7qszmqp.js → wellknown-fzjyfb9e.js} +18 -18
  160. package/dist/chunks/{websearch-b6z35kmf.js → wellknown-fznmdakp.js} +4 -4
  161. package/dist/chunks/{websearch-ekzyfxqt.js → wellknown-g3jx5grp.js} +25 -25
  162. package/dist/chunks/{websearch-v09g80g2.js → wellknown-g66bntd9.js} +4 -4
  163. package/dist/chunks/{websearch-z32r2mg8.js → wellknown-g8efnmcb.js} +20 -20
  164. package/dist/chunks/{websearch-d95zdptj.js → wellknown-g96jg5ma.js} +16 -16
  165. package/dist/chunks/wellknown-gbjdnr5j.js +72 -0
  166. package/dist/chunks/{websearch-tva2fzy9.js → wellknown-gcch2yc8.js} +45 -45
  167. package/dist/chunks/{websearch-18g90bpv.js → wellknown-gcjdgkn2.js} +9 -9
  168. package/dist/chunks/{websearch-sx2sqvt0.js → wellknown-gfnmyn48.js} +8 -8
  169. package/dist/chunks/{websearch-gchhttn1.js → wellknown-gjt9x54v.js} +14 -14
  170. package/dist/chunks/{websearch-8ewha5k5.js → wellknown-gk4db1x7.js} +7 -7
  171. package/dist/chunks/wellknown-grzehpz7.js +18 -0
  172. package/dist/chunks/{websearch-1744f6td.js → wellknown-gtsg26mj.js} +42 -42
  173. package/dist/chunks/{websearch-jsvw9ebe.js → wellknown-h5c4mtjq.js} +8 -8
  174. package/dist/chunks/{websearch-5hqe3abq.js → wellknown-h6ntggah.js} +16 -16
  175. package/dist/chunks/{websearch-f8fw5j2t.js → wellknown-hf6487b2.js} +11 -11
  176. package/dist/chunks/{websearch-hh7kjqtw.js → wellknown-hh7kjqtw.js} +1 -1
  177. package/dist/chunks/{websearch-hpg1pkwy.js → wellknown-hpg1pkwy.js} +1 -1
  178. package/dist/chunks/{websearch-z2zjxvjz.js → wellknown-hrh0r61w.js} +7 -7
  179. package/dist/chunks/{websearch-37mjzwdy.js → wellknown-j0n0243v.js} +30 -30
  180. package/dist/chunks/{websearch-9qmt3rfg.js → wellknown-j1st84bn.js} +36 -36
  181. package/dist/chunks/{websearch-0a1545br.js → wellknown-j25maswg.js} +16 -16
  182. package/dist/chunks/{websearch-kbz2ftjv.js → wellknown-j46ks9ar.js} +22 -22
  183. package/dist/chunks/{websearch-my2774fb.js → wellknown-j92e3nqs.js} +11 -11
  184. package/dist/chunks/{websearch-30ep2pbx.js → wellknown-jcgfgyf5.js} +8 -8
  185. package/dist/chunks/{websearch-exphrrdn.js → wellknown-jfnccrt4.js} +17 -17
  186. package/dist/chunks/{websearch-mtkfycnh.js → wellknown-jg11hrrc.js} +4 -4
  187. package/dist/chunks/wellknown-jkdcm5hg.js +31 -0
  188. package/dist/chunks/{websearch-q10wp2s4.js → wellknown-jqcfnp0j.js} +14 -14
  189. package/dist/chunks/{websearch-t6pjtsxz.js → wellknown-jqwqr07f.js} +16 -16
  190. package/dist/chunks/{websearch-4rwevfy6.js → wellknown-js697kss.js} +11 -11
  191. package/dist/chunks/{websearch-jtnps1zs.js → wellknown-jtnps1zs.js} +2 -2
  192. package/dist/chunks/{websearch-9zwexsxs.js → wellknown-jv5ccajn.js} +5 -5
  193. package/dist/chunks/{websearch-n76q4j73.js → wellknown-jvjrfft4.js} +5 -5
  194. package/dist/chunks/{websearch-gt3pr6x5.js → wellknown-jz74e53v.js} +8 -8
  195. package/dist/chunks/{websearch-2hv59m0q.js → wellknown-k082w1yn.js} +21 -21
  196. package/dist/chunks/wellknown-k46dd5bg.js +40 -0
  197. package/dist/chunks/{websearch-8q5tw4pq.js → wellknown-k5cdey41.js} +21 -21
  198. package/dist/chunks/wellknown-kbgs7tyr.js +28 -0
  199. package/dist/chunks/{websearch-k39t0d7s.js → wellknown-kekyjsxv.js} +11 -11
  200. package/dist/chunks/{websearch-4vyx508x.js → wellknown-kg3wa72j.js} +17 -17
  201. package/dist/chunks/{websearch-tn13a12r.js → wellknown-kmnny0ff.js} +17 -17
  202. package/dist/chunks/{websearch-y90yy0x4.js → wellknown-kn3z1jg3.js} +23 -23
  203. package/dist/chunks/wellknown-knpbkrg7.js +22 -0
  204. package/dist/chunks/{websearch-vt2r04xq.js → wellknown-kqe4tny1.js} +14 -14
  205. package/dist/chunks/wellknown-ksj8pmnk.js +257 -0
  206. package/dist/chunks/{websearch-kt3bjfbg.js → wellknown-kt3bjfbg.js} +1 -1
  207. package/dist/chunks/{websearch-m1714858.js → wellknown-m1714858.js} +1 -1
  208. package/dist/chunks/{websearch-ged1tqgx.js → wellknown-m2bata8q.js} +23 -23
  209. package/dist/chunks/{websearch-q4wqpcrk.js → wellknown-m3p1bexb.js} +12 -12
  210. package/dist/chunks/{websearch-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  211. package/dist/chunks/{websearch-mb7mbhnz.js → wellknown-mb7mbhnz.js} +3 -3
  212. package/dist/chunks/{websearch-yjzqpyxh.js → wellknown-mc1zj4hc.js} +29 -29
  213. package/dist/chunks/{websearch-kyb052mw.js → wellknown-me7r16rb.js} +27 -27
  214. package/dist/chunks/{websearch-bsvx5x0h.js → wellknown-mehbcs3e.js} +36 -36
  215. package/dist/chunks/{websearch-s32mnc71.js → wellknown-mghzgwa1.js} +20 -20
  216. package/dist/chunks/{websearch-tkp4jwrt.js → wellknown-msqvrap6.js} +4 -4
  217. package/dist/chunks/{websearch-q8akx5wk.js → wellknown-n2pnf4rs.js} +2 -2
  218. package/dist/chunks/{websearch-hfcnjb1t.js → wellknown-n6yd116b.js} +2 -2
  219. package/dist/chunks/{websearch-nah043kf.js → wellknown-nah043kf.js} +1 -1
  220. package/dist/chunks/{websearch-gctfr74j.js → wellknown-najt6d0d.js} +12 -12
  221. package/dist/chunks/{websearch-psp8drt7.js → wellknown-nqn6hk24.js} +27 -27
  222. package/dist/chunks/{websearch-m0ny4438.js → wellknown-nrs16n5b.js} +3 -3
  223. package/dist/chunks/{websearch-f8dx2cf3.js → wellknown-nt5k9amf.js} +41 -41
  224. package/dist/chunks/{websearch-yydqqga9.js → wellknown-nttn14j9.js} +4 -4
  225. package/dist/chunks/wellknown-ny20e7ar.js +134 -0
  226. package/dist/chunks/{websearch-8zj8ha8v.js → wellknown-ny5wg8kf.js} +42 -42
  227. package/dist/chunks/{websearch-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
  228. package/dist/chunks/{websearch-69vr3bmr.js → wellknown-p5fe7y6b.js} +4 -4
  229. package/dist/chunks/wellknown-pah254n3.js +90 -0
  230. package/dist/chunks/{websearch-pzpg3tvr.js → wellknown-phqpcknt.js} +6 -6
  231. package/dist/chunks/{websearch-vzd3k5nk.js → wellknown-pjv3ykf5.js} +37 -37
  232. package/dist/chunks/{websearch-cs73swbh.js → wellknown-pkezabwa.js} +11 -11
  233. package/dist/chunks/{websearch-pknna89w.js → wellknown-pknna89w.js} +1 -1
  234. package/dist/chunks/{websearch-9makc5xg.js → wellknown-pkv8zhq8.js} +5 -5
  235. package/dist/chunks/{websearch-v2yw559c.js → wellknown-pmz1y35q.js} +13 -13
  236. package/dist/chunks/{websearch-d390zwf3.js → wellknown-pnwsrq7c.js} +8 -8
  237. package/dist/chunks/{websearch-36kks1a9.js → wellknown-pp7snq48.js} +41 -41
  238. package/dist/chunks/{websearch-q0vnjhvr.js → wellknown-pr0m3049.js} +25 -25
  239. package/dist/chunks/{websearch-9wwm5t2q.js → wellknown-pw64sj0x.js} +47 -47
  240. package/dist/chunks/{websearch-qcqrs7ry.js → wellknown-q4pz9sky.js} +35 -35
  241. package/dist/chunks/{websearch-tet0p4e8.js → wellknown-q85rya1m.js} +6 -6
  242. package/dist/chunks/{websearch-cky1f1hf.js → wellknown-qenfpjdf.js} +8 -8
  243. package/dist/chunks/{websearch-nfvj419n.js → wellknown-qjm3grwb.js} +17 -17
  244. package/dist/chunks/{websearch-8w3p2e92.js → wellknown-qn04yq3m.js} +5 -5
  245. package/dist/chunks/{websearch-qp7r0hxv.js → wellknown-qp7r0hxv.js} +1 -1
  246. package/dist/chunks/{websearch-c6x7d2ts.js → wellknown-qqg9c0kv.js} +4 -4
  247. package/dist/chunks/{websearch-qqvy8y24.js → wellknown-qqvy8y24.js} +1 -1
  248. package/dist/chunks/{websearch-m91bkzpp.js → wellknown-qscc63tw.js} +5 -5
  249. package/dist/chunks/{websearch-x9maydxg.js → wellknown-qzwvdjgs.js} +32 -32
  250. package/dist/chunks/{websearch-rfyk3b1f.js → wellknown-r14q41da.js} +28 -28
  251. package/dist/chunks/{websearch-nrtygxmh.js → wellknown-r1fnsf7p.js} +6 -6
  252. package/dist/chunks/{websearch-xmeeqggk.js → wellknown-r2etx18s.js} +18 -18
  253. package/dist/chunks/{websearch-40za9wsf.js → wellknown-r41sfy63.js} +6 -6
  254. package/dist/chunks/{websearch-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
  255. package/dist/chunks/{websearch-t1d0z29h.js → wellknown-rfty8g2e.js} +15 -15
  256. package/dist/chunks/wellknown-rj7j5fvs.js +67 -0
  257. package/dist/chunks/{websearch-p7v23fd6.js → wellknown-rmvcvm6w.js} +8 -8
  258. package/dist/chunks/{websearch-fh43p91r.js → wellknown-rqvsbm9p.js} +13 -13
  259. package/dist/chunks/{websearch-fbte303t.js → wellknown-rsjcqqy3.js} +14 -14
  260. package/dist/chunks/{websearch-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
  261. package/dist/chunks/wellknown-rtb1tmc5.js +34 -0
  262. package/dist/chunks/{websearch-c487mvhm.js → wellknown-s085mem7.js} +25 -25
  263. package/dist/chunks/{websearch-258pzyq1.js → wellknown-s1k66rcg.js} +33 -33
  264. package/dist/chunks/{websearch-xk2zn0cv.js → wellknown-s6h2s3rz.js} +4 -4
  265. package/dist/chunks/{websearch-sa3fpqfw.js → wellknown-sa3fpqfw.js} +2 -2
  266. package/dist/chunks/wellknown-sbya78hr.js +67 -0
  267. package/dist/chunks/{websearch-fe0367ah.js → wellknown-sdn2zcx3.js} +2 -2
  268. package/dist/chunks/{websearch-x8mj7217.js → wellknown-sec3bgvw.js} +26 -26
  269. package/dist/chunks/{websearch-e006kk43.js → wellknown-sfzvze88.js} +6 -6
  270. package/dist/chunks/{websearch-drkqmshe.js → wellknown-sg2r8ctw.js} +11 -11
  271. package/dist/chunks/{websearch-0j7gp832.js → wellknown-sqjzf8x2.js} +4 -4
  272. package/dist/chunks/{websearch-svcy3p9a.js → wellknown-svcy3p9a.js} +1 -1
  273. package/dist/chunks/{websearch-wrzdnxcv.js → wellknown-t6hwzzx3.js} +16 -16
  274. package/dist/chunks/{websearch-d9z3nv43.js → wellknown-t9zmkc8e.js} +16 -16
  275. package/dist/chunks/wellknown-tb2mrvc9.js +55 -0
  276. package/dist/chunks/{websearch-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
  277. package/dist/chunks/wellknown-tg7s7b5t.js +39 -0
  278. package/dist/chunks/{websearch-acbdersv.js → wellknown-tk1a1sxf.js} +6 -6
  279. package/dist/chunks/{websearch-hyqx2d6z.js → wellknown-tpewv7rv.js} +3 -3
  280. package/dist/chunks/{websearch-v9jyvts1.js → wellknown-tqebrrg5.js} +31 -31
  281. package/dist/chunks/{websearch-twssxy5n.js → wellknown-twssxy5n.js} +2 -2
  282. package/dist/chunks/{websearch-h3qnzdea.js → wellknown-tys7exqd.js} +19 -19
  283. package/dist/chunks/{websearch-jacqe95j.js → wellknown-v1d5684s.js} +21 -21
  284. package/dist/chunks/{websearch-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
  285. package/dist/chunks/{websearch-j990qqn4.js → wellknown-v3553gv9.js} +7 -7
  286. package/dist/chunks/{websearch-b6bdjtfv.js → wellknown-v8py75g4.js} +22 -22
  287. package/dist/chunks/{websearch-py5t4m7x.js → wellknown-v9xtgtd2.js} +6 -6
  288. package/dist/chunks/{websearch-y0a3p9a2.js → wellknown-vd2ph57c.js} +11 -11
  289. package/dist/chunks/{websearch-7zjy6p28.js → wellknown-vhp3tcda.js} +5 -5
  290. package/dist/chunks/wellknown-vjf35v1f.js +110 -0
  291. package/dist/chunks/{websearch-s8xdrs61.js → wellknown-vjx57ng0.js} +50 -50
  292. package/dist/chunks/{websearch-pww75gt3.js → wellknown-vmzk0fb8.js} +43 -43
  293. package/dist/chunks/{websearch-6gv6f0wn.js → wellknown-vp0f31x4.js} +14 -14
  294. package/dist/chunks/{websearch-jeswnbmw.js → wellknown-vqqt88p3.js} +6 -6
  295. package/dist/chunks/{websearch-2g9v0ep3.js → wellknown-vshra0rt.js} +3 -3
  296. package/dist/chunks/{websearch-h0rg6s60.js → wellknown-vsnnaxjq.js} +4 -4
  297. package/dist/chunks/{websearch-bw5vtrk1.js → wellknown-vx4y79tr.js} +11 -11
  298. package/dist/chunks/{websearch-mgses094.js → wellknown-vxhhthes.js} +19 -19
  299. package/dist/chunks/{websearch-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  300. package/dist/chunks/{websearch-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
  301. package/dist/chunks/{websearch-wd87259q.js → wellknown-wd87259q.js} +1 -1
  302. package/dist/chunks/{websearch-wegkxhrn.js → wellknown-wegkxhrn.js} +2 -2
  303. package/dist/chunks/{websearch-wqhfsqr1.js → wellknown-wk87sf6t.js} +21 -21
  304. package/dist/chunks/{websearch-cge737e2.js → wellknown-wnaxc5ww.js} +15 -15
  305. package/dist/chunks/{websearch-wnhgecwx.js → wellknown-wnhgecwx.js} +1 -1
  306. package/dist/chunks/{websearch-fcectc13.js → wellknown-wpx0cf3q.js} +8 -8
  307. package/dist/chunks/{websearch-6r36sxsh.js → wellknown-wqhf2kj3.js} +74 -74
  308. package/dist/chunks/{websearch-62bzxby4.js → wellknown-wv6dba78.js} +17 -17
  309. package/dist/chunks/{websearch-vmfhgzt5.js → wellknown-wvr8xscb.js} +7 -7
  310. package/dist/chunks/{websearch-g5nbtb8n.js → wellknown-x61z380y.js} +13 -13
  311. package/dist/chunks/{websearch-4tysrmyz.js → wellknown-x6zyksve.js} +29 -29
  312. package/dist/chunks/{websearch-bstexjd6.js → wellknown-xd9cc171.js} +5 -5
  313. package/dist/chunks/{websearch-6s5sfkb1.js → wellknown-xm2er2z8.js} +17 -17
  314. package/dist/chunks/{websearch-4btqn7nq.js → wellknown-xyjx3jfr.js} +32 -32
  315. package/dist/chunks/wellknown-y196j8v9.js +68 -0
  316. package/dist/chunks/{websearch-b321k266.js → wellknown-y1yncph6.js} +20 -20
  317. package/dist/chunks/{websearch-c1hc347y.js → wellknown-y3g3nwzn.js} +20 -20
  318. package/dist/chunks/{websearch-yara3q77.js → wellknown-yara3q77.js} +2 -2
  319. package/dist/chunks/{websearch-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
  320. package/dist/chunks/{websearch-9w4n3zkz.js → wellknown-ygnyxm4b.js} +6 -6
  321. package/dist/chunks/{websearch-fnxqcwgf.js → wellknown-yj68nxdv.js} +38 -32
  322. package/dist/chunks/{websearch-wc0z5452.js → wellknown-ymqs3d2z.js} +4 -4
  323. package/dist/chunks/{websearch-xchnjx2b.js → wellknown-ync8zv9y.js} +42 -42
  324. package/dist/chunks/wellknown-yr705xyq.js +17 -0
  325. package/dist/chunks/{websearch-ezzzm5zy.js → wellknown-yttqhm7h.js} +21 -21
  326. package/dist/chunks/{websearch-0d5hegjd.js → wellknown-yv1rqhcp.js} +14 -14
  327. package/dist/chunks/{websearch-m144b9ym.js → wellknown-yzqsn61h.js} +3 -3
  328. package/dist/chunks/{websearch-rv51a27w.js → wellknown-z1j2ed1d.js} +28 -28
  329. package/dist/chunks/wellknown-ze75qvmd.js +107 -0
  330. package/dist/chunks/{websearch-wrd39zd3.js → wellknown-zf7524d8.js} +9 -9
  331. package/dist/chunks/{websearch-czdwf92p.js → wellknown-zjas0r38.js} +5 -5
  332. package/dist/chunks/{websearch-kdhdtnfh.js → wellknown-zny90n21.js} +23 -23
  333. package/dist/chunks/{websearch-k8s5a6jv.js → wellknown-zrf6zj2q.js} +7 -7
  334. package/dist/chunks/{websearch-56wb752r.js → wellknown-zvrxyw6e.js} +4 -4
  335. package/dist/chunks/{websearch-tzmh93yh.js → wellknown-zytee521.js} +37 -37
  336. package/dist/codemode/catalog.js +1 -1
  337. package/dist/codemode/execution.js +3 -3
  338. package/dist/codemode/fetch.js +144 -144
  339. package/dist/codemode/instructions.js +7 -7
  340. package/dist/codemode/tool.js +152 -152
  341. package/dist/command.js +91 -91
  342. package/dist/config/discovery.js +94 -94
  343. package/dist/config/integration.js +5 -5
  344. package/dist/config/managed.js +1 -1
  345. package/dist/config/markdown.js +1 -1
  346. package/dist/config/normalize.js +111 -111
  347. package/dist/config/plugin/agent.js +129 -129
  348. package/dist/config/plugin/command.js +227 -227
  349. package/dist/config/plugin/compaction.js +170 -170
  350. package/dist/config/plugin/compatibility.js +149 -149
  351. package/dist/config/plugin/entry-observer.js +1 -1
  352. package/dist/config/plugin/formatter.js +130 -130
  353. package/dist/config/plugin/image.js +129 -129
  354. package/dist/config/plugin/instruction.js +129 -129
  355. package/dist/config/plugin/location-watcher.js +131 -131
  356. package/dist/config/plugin/mcp.js +138 -138
  357. package/dist/config/plugin/policy.js +129 -129
  358. package/dist/config/plugin/provider.js +131 -131
  359. package/dist/config/plugin/reference.js +131 -131
  360. package/dist/config/plugin/shell.js +129 -129
  361. package/dist/config/plugin/skill-file.js +145 -145
  362. package/dist/config/plugin/skill-scan.js +1 -1
  363. package/dist/config/plugin/skill.js +150 -150
  364. package/dist/config/plugin/snapshot.js +129 -129
  365. package/dist/config/plugin/source.js +132 -132
  366. package/dist/config/plugin/tool-output.js +130 -130
  367. package/dist/config/plugin/websearch.js +128 -128
  368. package/dist/config/plugin/worktree.js +131 -131
  369. package/dist/config/variable.js +1 -1
  370. package/dist/config/watch.js +1 -1
  371. package/dist/config.js +134 -134
  372. package/dist/console-access.js +1 -1
  373. package/dist/credential/sql.js +2 -2
  374. package/dist/credential.js +89 -89
  375. package/dist/database/database.js +76 -76
  376. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  377. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  378. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  379. package/dist/database/drizzle/index.js +15 -15
  380. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  381. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  382. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  383. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  384. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  385. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  386. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  387. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  388. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  389. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  390. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  391. package/dist/database/drizzle.js +16 -16
  392. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  393. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  394. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  395. package/dist/database/migration/20260225215848_workspace.js +1 -1
  396. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  397. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  398. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  399. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  400. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  401. package/dist/database/migration/20260323234822_events.js +1 -1
  402. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  403. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  404. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  405. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  406. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  407. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  408. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  409. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  410. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  411. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  412. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  413. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  414. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  415. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  416. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  417. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  418. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  419. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  420. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  421. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  422. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  423. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  424. package/dist/database/migration/20260611035744_credential.js +1 -1
  425. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  426. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  427. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  428. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  429. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  430. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  431. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  432. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  433. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  434. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  435. package/dist/database/migration/20260812213948_worktree.js +1 -1
  436. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  437. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  438. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  439. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  440. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  441. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  442. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  443. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  444. package/dist/database/migration/20261025123711_blob.js +1 -1
  445. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  446. package/dist/database/migration/20261026223005_schedule.js +1 -1
  447. package/dist/database/migration/20261029002625_session_part.js +1 -1
  448. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  449. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  450. package/dist/database/migration.gen.js +59 -59
  451. package/dist/database/migration.js +61 -61
  452. package/dist/database/path.js +2 -2
  453. package/dist/database/schema.gen.js +1 -1
  454. package/dist/database/schema.sql.js +1 -1
  455. package/dist/database/sqlite.bun.js +1 -1
  456. package/dist/database/sqlite.js +1 -1
  457. package/dist/database/sqlite.node.js +1 -1
  458. package/dist/database/sqlite.workerd.js +1 -1
  459. package/dist/database/v1-migration.bun.js +104 -104
  460. package/dist/database/v1-migration.js +1 -1
  461. package/dist/effect/app-node-builder.js +424 -393
  462. package/dist/effect/app-node-platform.js +2 -2
  463. package/dist/effect/keyed-mutex.js +3 -3
  464. package/dist/effect/websocket-constructor.js +1 -1
  465. package/dist/environment/driver.js +1 -1
  466. package/dist/environment/environment.js +105 -105
  467. package/dist/environment/exec-defaults.js +2 -2
  468. package/dist/environment/files.js +1 -1
  469. package/dist/environment/index.js +105 -105
  470. package/dist/environment/local.js +2 -2
  471. package/dist/environment/memory.js +2 -2
  472. package/dist/environment/unavailable.js +3 -3
  473. package/dist/event/sql.js +1 -1
  474. package/dist/event-logger.js +80 -80
  475. package/dist/file-access.js +155 -155
  476. package/dist/file-mutation.js +106 -106
  477. package/dist/file-retention.js +1 -1
  478. package/dist/filesystem/fff.bun.js +2 -2
  479. package/dist/filesystem/fff.js +1 -1
  480. package/dist/filesystem/fff.node.js +2 -2
  481. package/dist/filesystem/fff.workerd.js +2 -2
  482. package/dist/filesystem/file-watch.js +87 -87
  483. package/dist/filesystem/location-watcher-policy.js +6 -6
  484. package/dist/filesystem/location-watcher.js +242 -242
  485. package/dist/filesystem/protected.js +1 -1
  486. package/dist/filesystem/search.js +111 -111
  487. package/dist/filesystem/watcher-binding.js +3 -3
  488. package/dist/filesystem/watcher.js +11 -11
  489. package/dist/filesystem.js +116 -116
  490. package/dist/form.js +92 -92
  491. package/dist/formatter/builtins.js +4 -4
  492. package/dist/formatter.js +99 -99
  493. package/dist/generate.js +121 -121
  494. package/dist/git.js +11 -11
  495. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  496. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  497. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  498. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  499. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  500. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  501. package/dist/github-copilot/copilot-provider.js +17 -17
  502. package/dist/github-copilot/models.js +111 -111
  503. package/dist/github-copilot/openai-compatible-error.js +1 -1
  504. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  505. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  506. package/dist/github-copilot/responses/openai-error.js +1 -1
  507. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  508. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  509. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  510. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  511. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  512. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  513. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  514. package/dist/image/notice.js +3 -3
  515. package/dist/image/photon-normalize.js +1 -1
  516. package/dist/image/photon-worker.js +1 -1
  517. package/dist/image/photon.js +4 -4
  518. package/dist/image.js +4 -4
  519. package/dist/instance/service.js +5 -5
  520. package/dist/instance.js +415 -384
  521. package/dist/instruction-discovery.js +90 -90
  522. package/dist/instructions/builtins.js +99 -99
  523. package/dist/instructions/index.js +7 -5
  524. package/dist/integration/connection.js +3 -3
  525. package/dist/integration.js +99 -99
  526. package/dist/job.js +88 -88
  527. package/dist/kv/sql.js +2 -2
  528. package/dist/kv.js +83 -83
  529. package/dist/location-activity.js +170 -170
  530. package/dist/location-lifecycle.js +145 -145
  531. package/dist/location-service-map.js +98 -98
  532. package/dist/location-services.js +412 -381
  533. package/dist/location.js +101 -101
  534. package/dist/managed-policy.js +3 -3
  535. package/dist/mcp/client.js +103 -103
  536. package/dist/mcp/index.js +113 -113
  537. package/dist/mcp/instructions.js +178 -178
  538. package/dist/mcp/oauth.js +88 -88
  539. package/dist/mcp/socket-client.js +1 -1
  540. package/dist/mcp/stdio.js +102 -102
  541. package/dist/mime.js +1 -1
  542. package/dist/modal/models.js +111 -111
  543. package/dist/model-resolver.js +111 -111
  544. package/dist/model-retry.js +1 -1
  545. package/dist/model.js +114 -114
  546. package/dist/models-dev/v1.js +1 -1
  547. package/dist/models-dev.js +120 -120
  548. package/dist/oauth/page.js +1 -1
  549. package/dist/permission/saved.js +92 -92
  550. package/dist/permission/sql.js +5 -5
  551. package/dist/permission.js +152 -152
  552. package/dist/persistent-pty/binary.bun.js +1 -1
  553. package/dist/persistent-pty/daemon.js +1 -1
  554. package/dist/persistent-pty/index.js +98 -98
  555. package/dist/persistent-pty/pty-binding.js +1 -1
  556. package/dist/persistent-pty.js +85 -85
  557. package/dist/plugin/agent.js +84 -84
  558. package/dist/plugin/command.js +112 -112
  559. package/dist/plugin/goal.js +3 -3
  560. package/dist/plugin/hooks.js +7 -7
  561. package/dist/plugin/host.js +235 -235
  562. package/dist/plugin/identity.js +5 -5
  563. package/dist/plugin/instance.js +5 -5
  564. package/dist/plugin/internal.js +391 -360
  565. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  566. package/dist/plugin/models-dev.js +109 -109
  567. package/dist/plugin/module.js +128 -128
  568. package/dist/plugin/optimize.js +2 -2
  569. package/dist/plugin/plan.js +145 -145
  570. package/dist/plugin/promise.js +1 -1
  571. package/dist/plugin/provider/amazon-bedrock.js +103 -103
  572. package/dist/plugin/provider/azure.js +129 -129
  573. package/dist/plugin/provider/cerebras.js +1 -1
  574. package/dist/plugin/provider/chatgpt.js +129 -129
  575. package/dist/plugin/provider/claude-agent/aisdk.js +121 -0
  576. package/dist/plugin/provider/claude-agent/claude/agent-sdk.js +2 -0
  577. package/dist/plugin/provider/claude-agent/claude/agent-sdk.workerd.js +2 -0
  578. package/dist/plugin/provider/claude-agent/claude/fork.js +9 -0
  579. package/dist/plugin/provider/claude-agent/claude/io.js +11 -0
  580. package/dist/plugin/provider/claude-agent/claude/probe.js +15 -0
  581. package/dist/plugin/provider/claude-agent/claude/query-options.js +15 -0
  582. package/dist/plugin/provider/claude-agent/claude/sdk.js +8 -0
  583. package/dist/plugin/provider/claude-agent/claude/session.js +11 -0
  584. package/dist/plugin/provider/claude-agent/claude/sessions.js +27 -0
  585. package/dist/plugin/provider/claude-agent/claude/status.js +14 -0
  586. package/dist/plugin/provider/claude-agent/index.js +151 -0
  587. package/dist/plugin/provider/claude-agent/instructions.js +116 -0
  588. package/dist/plugin/provider/claude-agent/integration.js +119 -0
  589. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +8 -0
  590. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +14 -0
  591. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +11 -0
  592. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +8 -0
  593. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +12 -0
  594. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +14 -0
  595. package/dist/plugin/provider/claude-agent/language-model/usage.js +8 -0
  596. package/dist/plugin/provider/claude-agent/provider.js +120 -0
  597. package/dist/plugin/provider/claude-agent/session.js +116 -0
  598. package/dist/plugin/provider/claude-agent/sync/catch-up.js +10 -0
  599. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +9 -0
  600. package/dist/plugin/provider/claude-agent/sync/decide.js +11 -0
  601. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +8 -0
  602. package/dist/plugin/provider/claude-agent/sync/record.js +8 -0
  603. package/dist/plugin/provider/claude-agent/tools/hooks.js +8 -0
  604. package/dist/plugin/provider/claude-agent/tools/names.js +14 -0
  605. package/dist/plugin/provider/claude-agent/tools/pending.js +8 -0
  606. package/dist/plugin/provider/claude-agent/tools/result.js +12 -0
  607. package/dist/plugin/provider/claude-agent/tools/server.js +9 -0
  608. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
  609. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
  610. package/dist/plugin/provider/configured.js +125 -125
  611. package/dist/plugin/provider/credential-settings.js +84 -84
  612. package/dist/plugin/provider/databricks.js +1 -1
  613. package/dist/plugin/provider/digitalocean.js +105 -105
  614. package/dist/plugin/provider/dynamic.js +2 -2
  615. package/dist/plugin/provider/github-copilot.js +107 -107
  616. package/dist/plugin/provider/gitlab.js +106 -106
  617. package/dist/plugin/provider/google-vertex.js +126 -126
  618. package/dist/plugin/provider/kilo.js +1 -1
  619. package/dist/plugin/provider/llmgateway.js +88 -88
  620. package/dist/plugin/provider/lmstudio.js +138 -138
  621. package/dist/plugin/provider/local.js +135 -135
  622. package/dist/plugin/provider/modal.js +104 -104
  623. package/dist/plugin/provider/neon.js +1 -1
  624. package/dist/plugin/provider/nvidia.js +1 -1
  625. package/dist/plugin/provider/ollama.js +138 -138
  626. package/dist/plugin/provider/openai-context-caps.js +102 -102
  627. package/dist/plugin/provider/openai.js +129 -129
  628. package/dist/plugin/provider/opencode.js +131 -131
  629. package/dist/plugin/provider/openrouter.js +103 -103
  630. package/dist/plugin/provider/poe.js +89 -89
  631. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  632. package/dist/plugin/provider/sap-ai-core.js +103 -103
  633. package/dist/plugin/provider/sdk-factory.js +1 -1
  634. package/dist/plugin/provider/snowflake-cortex.js +128 -128
  635. package/dist/plugin/provider/vllm.js +138 -138
  636. package/dist/plugin/provider/xai.js +103 -103
  637. package/dist/plugin/provider/zenmux.js +1 -1
  638. package/dist/plugin/provider.js +209 -178
  639. package/dist/plugin/sdk.js +88 -88
  640. package/dist/plugin/service.js +3 -3
  641. package/dist/plugin/skill.js +148 -148
  642. package/dist/plugin/source-directory.js +1 -1
  643. package/dist/plugin/supervisor.js +403 -372
  644. package/dist/plugin/tool-input-repair.js +4 -4
  645. package/dist/plugin/update.js +6 -6
  646. package/dist/plugin/vcs/git.js +98 -98
  647. package/dist/plugin/vcs/hg.js +98 -98
  648. package/dist/plugin/verbosity.js +105 -105
  649. package/dist/plugin/warming.js +127 -127
  650. package/dist/plugin/websearch/exa.js +7 -7
  651. package/dist/plugin/websearch/firecrawl.js +6 -6
  652. package/dist/plugin/websearch/index.js +9 -9
  653. package/dist/plugin/websearch/mcp.js +4 -4
  654. package/dist/plugin/websearch/parallel.js +8 -8
  655. package/dist/plugin/websearch/tavily.js +4 -4
  656. package/dist/plugin/websearch/tinyfish.js +8 -8
  657. package/dist/plugin.js +244 -244
  658. package/dist/project/icon.js +5 -5
  659. package/dist/project/schema.js +8 -8
  660. package/dist/project/sql.js +4 -4
  661. package/dist/project.js +102 -102
  662. package/dist/provider.js +113 -113
  663. package/dist/pty/protocol.js +1 -1
  664. package/dist/pty/ticket.js +1 -1
  665. package/dist/pty.js +110 -110
  666. package/dist/reference/instructions.js +100 -100
  667. package/dist/reference.js +100 -100
  668. package/dist/repository-cache.js +92 -92
  669. package/dist/repository.js +3 -3
  670. package/dist/ripgrep/binary.js +2 -2
  671. package/dist/ripgrep.js +109 -109
  672. package/dist/rpc.js +98 -98
  673. package/dist/schedule/check.js +238 -238
  674. package/dist/schedule/sql.js +6 -6
  675. package/dist/schedule.js +252 -252
  676. package/dist/schema.js +1 -1
  677. package/dist/session/affinity.js +1 -1
  678. package/dist/session/background.js +1 -1
  679. package/dist/session/blob.js +128 -128
  680. package/dist/session/command.js +84 -84
  681. package/dist/session/compaction.js +170 -170
  682. package/dist/session/context.js +197 -197
  683. package/dist/session/diff.js +100 -100
  684. package/dist/session/environment.js +5 -5
  685. package/dist/session/error.js +5 -5
  686. package/dist/session/event.js +1 -1
  687. package/dist/session/execution/restart.js +241 -241
  688. package/dist/session/execution.js +161 -161
  689. package/dist/session/generate.js +199 -199
  690. package/dist/session/history.js +137 -137
  691. package/dist/session/inbox.js +146 -146
  692. package/dist/session/info.js +3 -3
  693. package/dist/session/instruction-entry.js +89 -89
  694. package/dist/session/instruction-state.js +8 -8
  695. package/dist/session/instructions.js +140 -140
  696. package/dist/session/message-updater.js +4 -4
  697. package/dist/session/message.js +1 -1
  698. package/dist/session/model-request.js +165 -165
  699. package/dist/session/model-transport.js +7 -7
  700. package/dist/session/move.js +163 -163
  701. package/dist/session/projector.js +142 -142
  702. package/dist/session/prompt.js +147 -147
  703. package/dist/session/recent-text.js +1 -1
  704. package/dist/session/revert.js +138 -138
  705. package/dist/session/run-coordinator.js +3 -3
  706. package/dist/session/runner/index.js +3 -3
  707. package/dist/session/runner/llm.js +247 -247
  708. package/dist/session/runner/max-steps.js +1 -1
  709. package/dist/session/runner/model.js +112 -112
  710. package/dist/session/runner/publish-llm-event.js +148 -148
  711. package/dist/session/runner/retry.js +5 -5
  712. package/dist/session/runner/step.js +162 -162
  713. package/dist/session/runner/to-llm-message.js +136 -136
  714. package/dist/session/schema.js +5 -5
  715. package/dist/session/session.js +181 -181
  716. package/dist/session/shell.js +145 -145
  717. package/dist/session/skill.js +146 -146
  718. package/dist/session/sql.js +5 -5
  719. package/dist/session/stats.js +83 -83
  720. package/dist/session/store.js +141 -141
  721. package/dist/session/stored.js +2 -2
  722. package/dist/session/subagent-completion.js +3 -3
  723. package/dist/session/subagent-job.js +223 -223
  724. package/dist/session/system-prompt.js +5 -5
  725. package/dist/session/title.js +201 -201
  726. package/dist/session/to-session-error.js +147 -147
  727. package/dist/session/transfer.js +235 -235
  728. package/dist/session/usage.js +3 -3
  729. package/dist/session.js +235 -235
  730. package/dist/shell/parse.js +6 -6
  731. package/dist/shell/result.js +3 -3
  732. package/dist/shell/scan.js +1 -1
  733. package/dist/shell/select.js +13 -13
  734. package/dist/shell.js +145 -145
  735. package/dist/skill/discovery.js +6 -6
  736. package/dist/skill/instructions.js +150 -150
  737. package/dist/skill.js +153 -153
  738. package/dist/snapshot.js +103 -103
  739. package/dist/state.js +3 -3
  740. package/dist/tool/html-markdown.js +1 -1
  741. package/dist/tool/http-body.js +1 -1
  742. package/dist/tool/mcp.js +175 -175
  743. package/dist/tool/plugin/edit.js +163 -163
  744. package/dist/tool/plugin/file-diff.js +1 -1
  745. package/dist/tool/plugin/glob.js +167 -167
  746. package/dist/tool/plugin/grep.js +167 -167
  747. package/dist/tool/plugin/image-generate.js +237 -237
  748. package/dist/tool/plugin/mcp-resource.js +161 -161
  749. package/dist/tool/plugin/opencode.js +160 -160
  750. package/dist/tool/plugin/patch.js +165 -165
  751. package/dist/tool/plugin/question.js +147 -147
  752. package/dist/tool/plugin/read.js +166 -166
  753. package/dist/tool/plugin/schedule.js +244 -244
  754. package/dist/tool/plugin/shell.js +231 -231
  755. package/dist/tool/plugin/skill.js +156 -156
  756. package/dist/tool/plugin/subagent.js +234 -234
  757. package/dist/tool/plugin/todo.js +152 -152
  758. package/dist/tool/plugin/webfetch.js +156 -156
  759. package/dist/tool/plugin/websearch.js +152 -152
  760. package/dist/tool/plugin/write.js +163 -163
  761. package/dist/tool/read-filesystem.js +114 -114
  762. package/dist/tool/runtime.js +1 -1
  763. package/dist/tool-output.js +7 -7
  764. package/dist/tool.js +160 -160
  765. package/dist/types/agent.d.ts +2 -0
  766. package/dist/types/aisdk.d.ts +1 -0
  767. package/dist/types/instructions/index.d.ts +8 -1
  768. package/dist/types/model-resolver.d.ts +6 -0
  769. package/dist/types/model.d.ts +4 -0
  770. package/dist/types/plugin/provider/claude-agent/aisdk.d.ts +5 -0
  771. package/dist/types/plugin/provider/claude-agent/claude/agent-sdk.d.ts +1 -0
  772. package/dist/types/plugin/provider/claude-agent/claude/agent-sdk.workerd.d.ts +1 -0
  773. package/dist/types/plugin/provider/claude-agent/claude/fork.d.ts +6 -0
  774. package/dist/types/plugin/provider/claude-agent/claude/io.d.ts +12 -0
  775. package/dist/types/plugin/provider/claude-agent/claude/probe.d.ts +23 -0
  776. package/dist/types/plugin/provider/claude-agent/claude/query-options.d.ts +29 -0
  777. package/dist/types/plugin/provider/claude-agent/claude/sdk.d.ts +3 -0
  778. package/dist/types/plugin/provider/claude-agent/claude/session.d.ts +19 -0
  779. package/dist/types/plugin/provider/claude-agent/claude/sessions.d.ts +38 -0
  780. package/dist/types/plugin/provider/claude-agent/claude/status.d.ts +25 -0
  781. package/dist/types/plugin/provider/claude-agent/index.d.ts +18 -0
  782. package/dist/types/plugin/provider/claude-agent/instructions.d.ts +4 -0
  783. package/dist/types/plugin/provider/claude-agent/integration.d.ts +7 -0
  784. package/dist/types/plugin/provider/claude-agent/language-model/claude-agent-error.d.ts +3 -0
  785. package/dist/types/plugin/provider/claude-agent/language-model/claude-agent-language-model.d.ts +17 -0
  786. package/dist/types/plugin/provider/claude-agent/language-model/convert-claude-stream.d.ts +4 -0
  787. package/dist/types/plugin/provider/claude-agent/language-model/convert-to-claude-message.d.ts +5 -0
  788. package/dist/types/plugin/provider/claude-agent/language-model/request-kind.d.ts +4 -0
  789. package/dist/types/plugin/provider/claude-agent/language-model/system-prompt.d.ts +11 -0
  790. package/dist/types/plugin/provider/claude-agent/language-model/usage.d.ts +16 -0
  791. package/dist/types/plugin/provider/claude-agent/provider.d.ts +9 -0
  792. package/dist/types/plugin/provider/claude-agent/session.d.ts +4 -0
  793. package/dist/types/plugin/provider/claude-agent/sync/catch-up.d.ts +4 -0
  794. package/dist/types/plugin/provider/claude-agent/sync/checkpoints.d.ts +14 -0
  795. package/dist/types/plugin/provider/claude-agent/sync/decide.d.ts +18 -0
  796. package/dist/types/plugin/provider/claude-agent/sync/fingerprint.d.ts +11 -0
  797. package/dist/types/plugin/provider/claude-agent/sync/record.d.ts +31 -0
  798. package/dist/types/plugin/provider/claude-agent/tools/hooks.d.ts +4 -0
  799. package/dist/types/plugin/provider/claude-agent/tools/names.d.ts +6 -0
  800. package/dist/types/plugin/provider/claude-agent/tools/pending.d.ts +12 -0
  801. package/dist/types/plugin/provider/claude-agent/tools/result.d.ts +14 -0
  802. package/dist/types/plugin/provider/claude-agent/tools/server.d.ts +5 -0
  803. package/dist/types/provider.d.ts +4 -0
  804. package/dist/types/session/context.d.ts +1 -1
  805. package/dist/types/session/history.d.ts +2 -2
  806. package/dist/types/session/instruction-state.d.ts +2 -2
  807. package/dist/types/session/model-request.d.ts +2 -1
  808. package/dist/types/session/runner/model.d.ts +1 -0
  809. package/dist/types/session/schema.d.ts +2 -0
  810. package/dist/types/session/transfer.d.ts +8 -0
  811. package/dist/types/usage-limits.d.ts +1 -0
  812. package/dist/usage-limits.js +97 -97
  813. package/dist/util/error-summary.js +1 -1
  814. package/dist/util/git-executable.js +3 -3
  815. package/dist/util/lazy.js +1 -1
  816. package/dist/util/slug.js +1 -1
  817. package/dist/util/token.js +1 -1
  818. package/dist/util/which.js +1 -1
  819. package/dist/util/wildcard.js +1 -1
  820. package/dist/v1/config/agent.js +5 -5
  821. package/dist/v1/config/command.js +3 -3
  822. package/dist/v1/config/mcp.js +4 -4
  823. package/dist/v1/config/migrate.js +104 -104
  824. package/dist/v1/config/permission.js +3 -3
  825. package/dist/v1/config/plugin.js +3 -3
  826. package/dist/v1/config/provider-options.js +1 -1
  827. package/dist/v1/config/provider.js +8 -8
  828. package/dist/variant.js +105 -105
  829. package/dist/vcs/patch.js +1 -1
  830. package/dist/vcs.js +101 -101
  831. package/dist/voice.js +100 -100
  832. package/dist/websearch.js +94 -94
  833. package/dist/wellknown/plugin.js +86 -86
  834. package/dist/wellknown.js +89 -89
  835. package/dist/workspace/driver.js +7 -7
  836. package/dist/workspace/sql.js +1 -1
  837. package/dist/workspace.js +90 -90
  838. package/dist/worktree/directory.js +2 -2
  839. package/dist/worktree/git.js +11 -11
  840. package/dist/worktree/sql.js +5 -5
  841. package/dist/worktree/strategies.js +101 -101
  842. package/dist/worktree.js +112 -112
  843. package/package.json +22 -9
  844. package/dist/chunks/websearch-1zh3k433.js +0 -26
  845. package/dist/chunks/websearch-a56ph40a.js +0 -257
  846. package/dist/chunks/websearch-vdh3rgac.js +0 -18
  847. /package/dist/chunks/{websearch-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  848. /package/dist/chunks/{websearch-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  849. /package/dist/chunks/{websearch-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  850. /package/dist/chunks/{websearch-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  851. /package/dist/chunks/{websearch-1kah00gy.js → wellknown-1kah00gy.js} +0 -0
  852. /package/dist/chunks/{websearch-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  853. /package/dist/chunks/{websearch-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  854. /package/dist/chunks/{websearch-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
  855. /package/dist/chunks/{websearch-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  856. /package/dist/chunks/{websearch-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  857. /package/dist/chunks/{websearch-3asan66x.js → wellknown-3asan66x.js} +0 -0
  858. /package/dist/chunks/{websearch-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  859. /package/dist/chunks/{websearch-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  860. /package/dist/chunks/{websearch-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  861. /package/dist/chunks/{websearch-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  862. /package/dist/chunks/{websearch-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  863. /package/dist/chunks/{websearch-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  864. /package/dist/chunks/{websearch-53557ph1.js → wellknown-53557ph1.js} +0 -0
  865. /package/dist/chunks/{websearch-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  866. /package/dist/chunks/{websearch-5w3e23ze.js → wellknown-5w3e23ze.js} +0 -0
  867. /package/dist/chunks/{websearch-6prwharc.js → wellknown-6prwharc.js} +0 -0
  868. /package/dist/chunks/{websearch-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  869. /package/dist/chunks/{websearch-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  870. /package/dist/chunks/{websearch-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  871. /package/dist/chunks/{websearch-7stb81gk.js → wellknown-7stb81gk.js} +0 -0
  872. /package/dist/chunks/{websearch-822emrt2.js → wellknown-822emrt2.js} +0 -0
  873. /package/dist/chunks/{websearch-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
  874. /package/dist/chunks/{websearch-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  875. /package/dist/chunks/{websearch-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  876. /package/dist/chunks/{websearch-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  877. /package/dist/chunks/{websearch-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  878. /package/dist/chunks/{websearch-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  879. /package/dist/chunks/{websearch-a058387c.js → wellknown-a058387c.js} +0 -0
  880. /package/dist/chunks/{websearch-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  881. /package/dist/chunks/{websearch-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  882. /package/dist/chunks/{websearch-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  883. /package/dist/chunks/{websearch-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  884. /package/dist/chunks/{websearch-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  885. /package/dist/chunks/{websearch-beh6qq61.js → wellknown-beh6qq61.js} +0 -0
  886. /package/dist/chunks/{websearch-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  887. /package/dist/chunks/{websearch-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  888. /package/dist/chunks/{websearch-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  889. /package/dist/chunks/{websearch-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
  890. /package/dist/chunks/{websearch-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  891. /package/dist/chunks/{websearch-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  892. /package/dist/chunks/{websearch-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  893. /package/dist/chunks/{websearch-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  894. /package/dist/chunks/{websearch-df08tz66.js → wellknown-df08tz66.js} +0 -0
  895. /package/dist/chunks/{websearch-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  896. /package/dist/chunks/{websearch-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  897. /package/dist/chunks/{websearch-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  898. /package/dist/chunks/{websearch-ean2d8b5.js → wellknown-ean2d8b5.js} +0 -0
  899. /package/dist/chunks/{websearch-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  900. /package/dist/chunks/{websearch-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  901. /package/dist/chunks/{websearch-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  902. /package/dist/chunks/{websearch-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  903. /package/dist/chunks/{websearch-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  904. /package/dist/chunks/{websearch-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  905. /package/dist/chunks/{websearch-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  906. /package/dist/chunks/{websearch-fkpq3x5p.js → wellknown-fkpq3x5p.js} +0 -0
  907. /package/dist/chunks/{websearch-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  908. /package/dist/chunks/{websearch-g86h250q.js → wellknown-g86h250q.js} +0 -0
  909. /package/dist/chunks/{websearch-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  910. /package/dist/chunks/{websearch-gftt206x.js → wellknown-gftt206x.js} +0 -0
  911. /package/dist/chunks/{websearch-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
  912. /package/dist/chunks/{websearch-hk9envan.js → wellknown-hk9envan.js} +0 -0
  913. /package/dist/chunks/{websearch-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  914. /package/dist/chunks/{websearch-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  915. /package/dist/chunks/{websearch-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  916. /package/dist/chunks/{websearch-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  917. /package/dist/chunks/{websearch-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  918. /package/dist/chunks/{websearch-jwr30sdr.js → wellknown-jwr30sdr.js} +0 -0
  919. /package/dist/chunks/{websearch-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
  920. /package/dist/chunks/{websearch-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  921. /package/dist/chunks/{websearch-m18g726c.js → wellknown-m18g726c.js} +0 -0
  922. /package/dist/chunks/{websearch-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  923. /package/dist/chunks/{websearch-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  924. /package/dist/chunks/{websearch-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  925. /package/dist/chunks/{websearch-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  926. /package/dist/chunks/{websearch-nh4v3znn.js → wellknown-nh4v3znn.js} +0 -0
  927. /package/dist/chunks/{websearch-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  928. /package/dist/chunks/{websearch-p71gwv9c.js → wellknown-p71gwv9c.js} +0 -0
  929. /package/dist/chunks/{websearch-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  930. /package/dist/chunks/{websearch-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  931. /package/dist/chunks/{websearch-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  932. /package/dist/chunks/{websearch-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  933. /package/dist/chunks/{websearch-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  934. /package/dist/chunks/{websearch-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  935. /package/dist/chunks/{websearch-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  936. /package/dist/chunks/{websearch-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  937. /package/dist/chunks/{websearch-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  938. /package/dist/chunks/{websearch-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  939. /package/dist/chunks/{websearch-stkk57rt.js → wellknown-stkk57rt.js} +0 -0
  940. /package/dist/chunks/{websearch-t03h4f5z.js → wellknown-t03h4f5z.js} +0 -0
  941. /package/dist/chunks/{websearch-ty7weeps.js → wellknown-ty7weeps.js} +0 -0
  942. /package/dist/chunks/{websearch-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
  943. /package/dist/chunks/{websearch-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  944. /package/dist/chunks/{websearch-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  945. /package/dist/chunks/{websearch-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  946. /package/dist/chunks/{websearch-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  947. /package/dist/chunks/{websearch-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  948. /package/dist/chunks/{websearch-x61499pn.js → wellknown-x61499pn.js} +0 -0
  949. /package/dist/chunks/{websearch-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  950. /package/dist/chunks/{websearch-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  951. /package/dist/chunks/{websearch-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  952. /package/dist/chunks/{websearch-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  953. /package/dist/chunks/{websearch-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service41
3
- } from "./websearch-tet0p4e8.js";
2
+ Service56
3
+ } from "./wellknown-q85rya1m.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./websearch-vdh3rgac.js";
6
+ } from "./wellknown-grzehpz7.js";
7
7
  import {
8
- Service45
9
- } from "./websearch-t0rcp7xm.js";
8
+ Service49
9
+ } from "./wellknown-c5pa8ms9.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./websearch-k814nvkf.js";
12
+ } from "./wellknown-89287pr7.js";
13
13
  import {
14
14
  __export
15
- } from "./websearch-9rqn6x4v.js";
15
+ } from "./wellknown-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
19
19
  __export(exports_shell3, {
20
20
  SessionShell: () => exports_shell3,
21
- start: () => start2
21
+ start: () => start3
22
22
  });
23
23
  import { Effect } from "effect";
24
- var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service41;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
24
+ var start3 = Effect.fn("SessionShell.start")(function* (input) {
25
+ const instances = yield* Service56;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -37,4 +37,4 @@ var start2 = Effect.fn("SessionShell.start")(function* (input) {
37
37
  };
38
38
  });
39
39
 
40
- export { start2, exports_shell3 };
40
+ export { start3, exports_shell3 };
@@ -0,0 +1,37 @@
1
+ import {
2
+ PREFIX2,
3
+ short2,
4
+ original2,
5
+ description7
6
+ } from "./wellknown-tg7s7b5t.js";
7
+ import {
8
+ __export
9
+ } from "./wellknown-9rqn6x4v.js";
10
+
11
+ // src/plugin/provider/claude-agent/tools/server.ts
12
+ var exports_server = {};
13
+ __export(exports_server, {
14
+ ToolServer: () => exports_server,
15
+ make: () => make14
16
+ });
17
+ async function make14(tools, pending) {
18
+ const { Server } = await import("@modelcontextprotocol/server");
19
+ const server = new Server({ name: "opencode", version: "1.0.0" }, { capabilities: { tools: {} } });
20
+ const definitions = tools.map((tool) => ({
21
+ name: short2(tool.name),
22
+ description: description7(tool),
23
+ inputSchema: tool.inputSchema,
24
+ annotations: { readOnlyHint: false },
25
+ _meta: { "anthropic/alwaysLoad": true, "anthropic/maxResultSizeChars": 500000 }
26
+ }));
27
+ server.setRequestHandler("tools/list", async () => ({ tools: definitions }));
28
+ server.setRequestHandler("tools/call", async (request) => {
29
+ const name = PREFIX2 + request.params.name;
30
+ if (!original2(name, tools))
31
+ throw new Error(`Claude Code called an unregistered OpenCode tool: ${name}`);
32
+ return pending.call(name);
33
+ });
34
+ return { type: "sdk", name: "opencode", instance: server };
35
+ }
36
+
37
+ export { make14, exports_server };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service55
3
- } from "./websearch-b3efsrjf.js";
2
+ Service67
3
+ } from "./wellknown-3wcxez96.js";
4
4
  import {
5
5
  Ref3,
6
- Service78
7
- } from "./websearch-yn48mmd2.js";
6
+ Service76
7
+ } from "./wellknown-6ms37rsb.js";
8
8
  import {
9
9
  latest2,
10
- Service72
11
- } from "./websearch-9wwm5t2q.js";
10
+ Service69
11
+ } from "./wellknown-pw64sj0x.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./websearch-vtgxp655.js";
14
+ } from "./wellknown-6q8jj3zs.js";
15
15
  import {
16
- Service68
17
- } from "./websearch-t6pjtsxz.js";
16
+ Service72
17
+ } from "./wellknown-jqwqr07f.js";
18
18
  import {
19
19
  evaluate3,
20
- Service51
21
- } from "./websearch-tva2fzy9.js";
20
+ Service64
21
+ } from "./wellknown-gcch2yc8.js";
22
22
  import {
23
- Service23
24
- } from "./websearch-md9bhnwm.js";
23
+ Service27
24
+ } from "./wellknown-ev2ytmz2.js";
25
25
  import {
26
26
  NO_TEXT2
27
- } from "./websearch-0j7gp832.js";
27
+ } from "./wellknown-sqjzf8x2.js";
28
28
  import {
29
29
  Service9
30
- } from "./websearch-g5nbtb8n.js";
30
+ } from "./wellknown-x61z380y.js";
31
31
  import {
32
32
  __export
33
- } from "./websearch-9rqn6x4v.js";
33
+ } from "./wellknown-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input13,
39
- Output: () => Output9,
40
- Plugin: () => Plugin33,
38
+ Input: () => Input3,
39
+ Output: () => Output2,
40
+ Plugin: () => Plugin4,
41
41
  SubagentTool: () => exports_subagent,
42
- description: () => description6,
43
- name: () => name13
42
+ description: () => description3,
43
+ name: () => name3
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name13 = "subagent";
47
+ var name3 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input13 = Schema.Struct({
59
+ var Input3 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input13 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output9 = Schema.Struct({
75
+ var Output2 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description6 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,15 +86,15 @@ var description6 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin33 = {
89
+ var Plugin4 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service23;
93
- const jobs = yield* Service68;
94
- const agents = yield* Service55;
95
- const config = yield* Service72;
96
- const permission = yield* Service51;
97
- const models = yield* Service78;
92
+ const sessions = yield* Service27;
93
+ const jobs = yield* Service72;
94
+ const agents = yield* Service67;
95
+ const config = yield* Service69;
96
+ const permission = yield* Service64;
97
+ const models = yield* Service76;
98
98
  const subagents = yield* Service9;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -117,11 +117,11 @@ var Plugin33 = {
117
117
  return ref;
118
118
  });
119
119
  yield* ctx.tool.transform((editor) => editor.add({
120
- name: name13,
120
+ name: name3,
121
121
  options: { codemode: false },
122
- description: description6,
123
- input: Input13,
124
- output: Output9,
122
+ description: description3,
123
+ input: Input3,
124
+ output: Output2,
125
125
  execute: (input, context) => Effect.gen(function* () {
126
126
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
127
127
  let current = parent;
@@ -141,7 +141,7 @@ var Plugin33 = {
141
141
  if (agent.mode === "primary")
142
142
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
143
143
  yield* permission.assert({
144
- action: name13,
144
+ action: name3,
145
145
  resources: [agent.id],
146
146
  save: [agent.id],
147
147
  sessionID: context.sessionID,
@@ -220,7 +220,7 @@ ${output.output}
220
220
  })))
221
221
  })).pipe(Effect.orDie);
222
222
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
223
- if (event.tool !== name13 || !Predicate.isObject(event.input))
223
+ if (event.tool !== name3 || !Predicate.isObject(event.input))
224
224
  return;
225
225
  if (event.input.model !== "" && event.input.sessionID !== "")
226
226
  return;
@@ -232,13 +232,13 @@ ${output.output}
232
232
  event.input = input;
233
233
  }));
234
234
  const hook = (event) => Effect.gen(function* () {
235
- const tool = event.tools[name13];
235
+ const tool = event.tools[name3];
236
236
  if (!tool)
237
237
  return;
238
238
  const selected = yield* agents.resolve(event.agent);
239
239
  if (!selected)
240
240
  return;
241
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
241
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
242
242
  if (available.length === 0)
243
243
  return;
244
244
  tool.description = [
@@ -255,4 +255,4 @@ ${output.output}
255
255
  })
256
256
  };
257
257
 
258
- export { name13, Input13, Output9, description6, Plugin33, exports_subagent };
258
+ export { name3, Input3, Output2, description3, Plugin4, exports_subagent };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-z5v4ffb3.js";
3
+ } from "./wellknown-z5v4ffb3.js";
4
4
  import {
5
- Service83,
6
- node86
7
- } from "./websearch-62x64pn3.js";
5
+ Service86,
6
+ node89
7
+ } from "./wellknown-b8qxy41g.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./websearch-bstexjd6.js";
13
+ } from "./wellknown-xd9cc171.js";
14
14
  import {
15
- Service77,
16
- node80
17
- } from "./websearch-a6b0z51k.js";
15
+ Service85,
16
+ node88
17
+ } from "./wellknown-6zwwjdvx.js";
18
18
  import {
19
19
  __export
20
- } from "./websearch-9rqn6x4v.js";
20
+ } from "./wellknown-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service64,
33
+ Service: () => Service84,
34
34
  isError: () => isError2,
35
- node: () => node66,
35
+ node: () => node87,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service64 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service84 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,27 +101,27 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service64, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service84, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service83;
106
+ const git = yield* Service86;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service77;
110
- return Service64.of({
109
+ const kv = yield* Service85;
110
+ return Service84.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
124
- const originReference = origin ? parse4(origin) : undefined;
124
+ const originReference = origin ? parse5(origin) : undefined;
125
125
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
126
126
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
127
127
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
169
169
  })
170
170
  });
171
171
  }));
172
- var node66 = makeGlobalNode({
173
- service: Service64,
172
+ var node87 = makeGlobalNode({
173
+ service: Service84,
174
174
  layer,
175
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node80]
175
+ deps: [EffectFlock.node, FSUtil.node, node89, Global.node, node88]
176
176
  });
177
177
  function errorMessage(error) {
178
178
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
181
181
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
182
182
  }
183
183
 
184
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service64, isError2, validateBranch2, node66, exports_repository_cache };
184
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service84, isError2, validateBranch2, node87, exports_repository_cache };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID14,
2
+ ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./websearch-1jah5r1w.js";
5
+ } from "./wellknown-bpqzq33j.js";
6
6
  import {
7
- ID13,
7
+ ID15,
8
8
  VariantID2,
9
9
  Family2,
10
- Info23
11
- } from "./websearch-yn48mmd2.js";
10
+ Info22
11
+ } from "./wellknown-6ms37rsb.js";
12
12
  import {
13
13
  __export
14
- } from "./websearch-9rqn6x4v.js";
14
+ } from "./wellknown-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load3
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load5
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load3(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load5(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load5(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID13.make(id);
97
+ const key = ID15.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info23.make({
122
- ...Info23.default(ID14.githubCopilot, id),
121
+ return Info22.make({
122
+ ...Info22.default(ID16.githubCopilot, id),
123
123
  id,
124
- modelID: ID13.make(remote.id),
125
- providerID: ID14.githubCopilot,
124
+ modelID: ID15.make(remote.id),
125
+ providerID: ID16.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load3, derive2, exports_models };
200
+ export { get3, load5, derive3, exports_models2 };
@@ -0,0 +1,41 @@
1
+ import {
2
+ load4
3
+ } from "./wellknown-knpbkrg7.js";
4
+ import {
5
+ __export
6
+ } from "./wellknown-9rqn6x4v.js";
7
+
8
+ // src/plugin/provider/claude-agent/claude/fork.ts
9
+ var exports_fork = {};
10
+ __export(exports_fork, {
11
+ ClaudeFork: () => exports_fork,
12
+ create: () => create2
13
+ });
14
+ async function create2(sessionID, messageID) {
15
+ const { deleteSession, forkSession, getSessionMessages } = await load4();
16
+ const source = await getSessionMessages(sessionID);
17
+ const end = source.findIndex((message) => message.uuid === messageID);
18
+ if (end < 0)
19
+ return;
20
+ const fork = await forkSession(sessionID, { upToMessageId: messageID });
21
+ try {
22
+ const copied = await getSessionMessages(fork.sessionId);
23
+ if (copied.length !== end + 1)
24
+ throw new Error("Claude fork did not preserve the requested history boundary");
25
+ const messages = new Map;
26
+ for (let i = 0;i < copied.length; i++) {
27
+ const before = source[i];
28
+ const after = copied[i];
29
+ if (before.type !== after.type || JSON.stringify(before.message) !== JSON.stringify(after.message)) {
30
+ throw new Error("Claude fork changed the copied conversation");
31
+ }
32
+ messages.set(before.uuid, after.uuid);
33
+ }
34
+ return { sessionID: fork.sessionId, messages };
35
+ } catch (error) {
36
+ await deleteSession(fork.sessionId);
37
+ throw error;
38
+ }
39
+ }
40
+
41
+ export { create2, exports_fork };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./websearch-88xbtdfr.js";
3
+ } from "./wellknown-88xbtdfr.js";
4
4
  import {
5
- load6
6
- } from "./websearch-ncqqe42p.js";
5
+ load7
6
+ } from "./wellknown-4qk9sjk2.js";
7
7
  import {
8
8
  __export
9
- } from "./websearch-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service73,
15
+ Service: () => Service70,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
- configured: () => configured9,
18
+ configured: () => configured11,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
- layer: () => layer23,
20
+ layer: () => layer24,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node75,
22
+ node: () => node73,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -31,7 +31,7 @@ import path from "path";
31
31
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
32
32
  var watcher = lazy2(() => {
33
33
  try {
34
- return createWrapper(load6());
34
+ return createWrapper(load7());
35
35
  } catch {
36
36
  return;
37
37
  }
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service73 extends Context.Service()("@opencode/Watcher") {
52
+ class Service70 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer23 = (options) => Layer.effect(Service73, Effect.gen(function* () {
57
+ var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service73.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service70.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer23 = (options) => Layer.effect(Service73, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service73.of({ subscribe });
100
+ return Service70.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
121
121
  };
122
122
  })
123
123
  });
124
- const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
124
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service73).subscribe,
126
+ subscribe: Context.get(context, Service70).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service73, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service70, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -155,10 +155,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
155
155
  }
156
156
  }));
157
157
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
158
- function configured9(options) {
159
- return makeGlobalNode({ service: Service73, layer: layer23(options), deps: [nativeNode] });
158
+ function configured11(options) {
159
+ return makeGlobalNode({ service: Service70, layer: layer24(options), deps: [nativeNode] });
160
160
  }
161
- var node75 = configured9();
161
+ var node73 = configured11();
162
162
  function subscribeDirectory(native, backend, directory, ignore, publish) {
163
163
  if (!native || !backend) {
164
164
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -178,4 +178,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
178
178
  }).pipe(Effect.as(undefined))));
179
179
  }
180
180
 
181
- export { hasNativeBinding2, Native3, Service73, Test3, layer23, testLayer3, nativeLayer2, configured9, node75, exports_watcher };
181
+ export { hasNativeBinding2, Native3, Service70, Test3, layer24, testLayer3, nativeLayer2, configured11, node73, exports_watcher };
@@ -1,9 +1,9 @@
1
1
  import {
2
- create3
3
- } from "./websearch-204s3925.js";
2
+ create4
3
+ } from "./wellknown-40y6dtc2.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -13,7 +13,7 @@ __export(exports_image2, {
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
14
  Service: () => Service48,
15
15
  SizeError: () => SizeError2,
16
- node: () => node49
16
+ node: () => node51
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -45,7 +45,7 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
45
45
  class Service48 extends Context.Service()("@opencode/Image") {
46
46
  }
47
47
  var layer = Layer.effect(Service48, Effect.gen(function* () {
48
- const state = create3({
48
+ const state = create4({
49
49
  name: "image",
50
50
  initial: () => ({
51
51
  autoResize: true,
@@ -76,6 +76,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
76
76
  });
77
77
  return Service48.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node49 = makeLocationNode({ service: Service48, layer, deps: [] });
79
+ var node51 = makeLocationNode({ service: Service48, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service48, node49, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service48, node51, exports_image2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/execution.ts
6
6
  var exports_execution = {};
7
7
  __export(exports_execution, {
8
8
  CodeModeExecution: () => exports_execution,
9
- Service: () => Service38
9
+ Service: () => Service47
10
10
  });
11
11
  import { Context } from "effect";
12
12
 
13
- class Service38 extends Context.Service()("@opencode/CodeModeExecution") {
13
+ class Service47 extends Context.Service()("@opencode/CodeModeExecution") {
14
14
  }
15
15
 
16
- export { Service38, exports_execution };
16
+ export { Service47, exports_execution };