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

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{agent-n52ad204.js → repository-cache-04fq9w7k.js} +17 -17
  8. package/dist/chunks/{agent-9j3abkkx.js → repository-cache-04hm8sbf.js} +3 -3
  9. package/dist/chunks/{agent-vqd49qwt.js → repository-cache-0fkzsajt.js} +48 -48
  10. package/dist/chunks/{agent-fkhcryxm.js → repository-cache-0gwaxdb5.js} +9 -9
  11. package/dist/chunks/{agent-9656bada.js → repository-cache-0h584zcj.js} +31 -31
  12. package/dist/chunks/{agent-13egsp17.js → repository-cache-0ks8fkk7.js} +18 -18
  13. package/dist/chunks/{agent-a49by44p.js → repository-cache-0mp77758.js} +19 -19
  14. package/dist/chunks/{agent-rc0eda3w.js → repository-cache-0q1bg550.js} +7 -7
  15. package/dist/chunks/{agent-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{agent-6g1cr3nb.js → repository-cache-0vxmkk46.js} +13 -13
  17. package/dist/chunks/{agent-fn4x26t7.js → repository-cache-1002ah85.js} +4 -4
  18. package/dist/chunks/{agent-9ejc3kek.js → repository-cache-14ghcskf.js} +11 -11
  19. package/dist/chunks/{agent-1acjjqhc.js → repository-cache-1acjjqhc.js} +1 -1
  20. package/dist/chunks/{agent-qnmgnxnk.js → repository-cache-1c0nrm75.js} +36 -36
  21. package/dist/chunks/{agent-j0mtf0c9.js → repository-cache-1mhdjbgf.js} +54 -54
  22. package/dist/chunks/{agent-y7p2skpd.js → repository-cache-1zkr7at4.js} +17 -17
  23. package/dist/chunks/{agent-xryj725v.js → repository-cache-20ddjeqk.js} +5 -5
  24. package/dist/chunks/{agent-2tba787a.js → repository-cache-2c7hjkzv.js} +16 -16
  25. package/dist/chunks/{agent-emtj3tbf.js → repository-cache-2hs2b7gr.js} +16 -16
  26. package/dist/chunks/{agent-3dacjcw5.js → repository-cache-2r93mh4x.js} +12 -12
  27. package/dist/chunks/{agent-qpqsqxka.js → repository-cache-2reh3z7q.js} +22 -22
  28. package/dist/chunks/{agent-t5yst9z9.js → repository-cache-34wbqfzd.js} +13 -13
  29. package/dist/chunks/{agent-yesqerhw.js → repository-cache-3dp26de5.js} +3 -3
  30. package/dist/chunks/{agent-7j2vym7r.js → repository-cache-3f3jw9g7.js} +34 -24
  31. package/dist/chunks/{agent-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{agent-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{agent-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{agent-cp2e2e5x.js → repository-cache-3j6skxgn.js} +15 -15
  35. package/dist/chunks/{agent-r5wgqceq.js → repository-cache-3ppptnan.js} +6 -6
  36. package/dist/chunks/{agent-1zgm74j7.js → repository-cache-3s0pff9n.js} +4 -4
  37. package/dist/chunks/{agent-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{agent-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{agent-0v56fe9p.js → repository-cache-3yfx7ssa.js} +8 -8
  40. package/dist/chunks/{agent-v0v9zhgd.js → repository-cache-3yx1m4p2.js} +34 -34
  41. package/dist/chunks/{agent-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{agent-qe7caw4f.js → repository-cache-47p11zqp.js} +32 -32
  43. package/dist/chunks/{agent-8ytc3qm4.js → repository-cache-491xdksk.js} +27 -27
  44. package/dist/chunks/{agent-j6gr24hv.js → repository-cache-4cacgcg4.js} +13 -13
  45. package/dist/chunks/{agent-c9e0ykqz.js → repository-cache-4s488yf0.js} +28 -28
  46. package/dist/chunks/{agent-73kdj4zj.js → repository-cache-4w5f3qm5.js} +8 -8
  47. package/dist/chunks/{agent-b99nrxjj.js → repository-cache-4weqkh0r.js} +23 -23
  48. package/dist/chunks/{agent-475aaysq.js → repository-cache-529j2gk6.js} +8 -8
  49. package/dist/chunks/{agent-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
  50. package/dist/chunks/{agent-xfkkasph.js → repository-cache-57b9ws8p.js} +7 -7
  51. package/dist/chunks/{agent-gwkjka7r.js → repository-cache-5b8jzjbb.js} +10 -10
  52. package/dist/chunks/{agent-26c5b08v.js → repository-cache-5cgvgbkt.js} +22 -22
  53. package/dist/chunks/{agent-f5gzyxsv.js → repository-cache-5fggwg49.js} +9 -9
  54. package/dist/chunks/{agent-p59b6n5j.js → repository-cache-5kcxs3hq.js} +11 -11
  55. package/dist/chunks/{agent-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{agent-h71w788e.js → repository-cache-6fatt4mk.js} +9 -9
  57. package/dist/chunks/{agent-r365gfv3.js → repository-cache-6mvxpr6a.js} +24 -24
  58. package/dist/chunks/{agent-zy43x3f1.js → repository-cache-6rm5yzkt.js} +4 -4
  59. package/dist/chunks/{agent-6k0cajn2.js → repository-cache-6shgtgh7.js} +18 -18
  60. package/dist/chunks/{agent-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{agent-gza6rqz1.js → repository-cache-6y3da09e.js} +9 -9
  62. package/dist/chunks/{agent-pz17d9xg.js → repository-cache-71ydk2nh.js} +5 -5
  63. package/dist/chunks/{agent-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
  64. package/dist/chunks/{agent-0vk3wfpr.js → repository-cache-7862sz3y.js} +5 -5
  65. package/dist/chunks/{agent-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{agent-t7rvx3z8.js → repository-cache-7hpzbegt.js} +5 -5
  67. package/dist/chunks/{agent-c96shp8w.js → repository-cache-7s2t8884.js} +7 -7
  68. package/dist/chunks/{agent-bbgs6xmq.js → repository-cache-87xdddg2.js} +16 -16
  69. package/dist/chunks/{agent-tcezcvh9.js → repository-cache-89znhe33.js} +4 -4
  70. package/dist/chunks/{agent-t9157dv5.js → repository-cache-8ke26ekv.js} +23 -23
  71. package/dist/chunks/{agent-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
  72. package/dist/chunks/{agent-p68t7hkv.js → repository-cache-8nmsyqvc.js} +185 -185
  73. package/dist/chunks/{agent-npza5r50.js → repository-cache-8qpd1wq0.js} +28 -28
  74. package/dist/chunks/{agent-q159fzra.js → repository-cache-8tsx4356.js} +20 -20
  75. package/dist/chunks/{agent-6fcpqzzd.js → repository-cache-8xbb1bj4.js} +4 -4
  76. package/dist/chunks/{agent-0dq5ytza.js → repository-cache-8xfr6ygr.js} +4 -4
  77. package/dist/chunks/{agent-91qna3x0.js → repository-cache-91qna3x0.js} +3 -3
  78. package/dist/chunks/{agent-tdqj5rj9.js → repository-cache-94ca0bep.js} +5 -5
  79. package/dist/chunks/{agent-axn1dk7m.js → repository-cache-9a1tk2ax.js} +18 -18
  80. package/dist/chunks/{agent-08fthye5.js → repository-cache-9bepqb19.js} +45 -45
  81. package/dist/chunks/{agent-kzcb1jca.js → repository-cache-9e6h2n11.js} +5 -5
  82. package/dist/chunks/{agent-3aqvrwqh.js → repository-cache-9hd7xbnq.js} +3 -3
  83. package/dist/chunks/{agent-jfrhrggt.js → repository-cache-9m58ky0y.js} +32 -32
  84. package/dist/chunks/{agent-2dw3jvkf.js → repository-cache-9rehpywf.js} +32 -32
  85. package/dist/chunks/{agent-vjjaysxc.js → repository-cache-9y9sk2j9.js} +2 -2
  86. package/dist/chunks/{agent-3ke0h2vq.js → repository-cache-9ydfqn9m.js} +24 -24
  87. package/dist/chunks/{agent-7q9429tc.js → repository-cache-a5efwarc.js} +13 -13
  88. package/dist/chunks/{agent-q519ga1a.js → repository-cache-a7q6bcxf.js} +50 -50
  89. package/dist/chunks/{agent-wjtwcy2c.js → repository-cache-ab7kh9ah.js} +13 -13
  90. package/dist/chunks/{agent-k6q0jycv.js → repository-cache-abs0cgcn.js} +38 -37
  91. package/dist/chunks/{agent-mxvxcxwy.js → repository-cache-addxnjmp.js} +4 -4
  92. package/dist/chunks/{agent-6tw9cd06.js → repository-cache-apjrvc88.js} +15 -15
  93. package/dist/chunks/{agent-g8pbgkrs.js → repository-cache-at71mg2v.js} +17 -17
  94. package/dist/chunks/{agent-v73vpk9k.js → repository-cache-ave3dvq0.js} +10 -10
  95. package/dist/chunks/{agent-hzrfc1p4.js → repository-cache-axe3mf62.js} +3 -3
  96. package/dist/chunks/{agent-pdz643x3.js → repository-cache-aypb1cd9.js} +12 -12
  97. package/dist/chunks/{agent-qbas706v.js → repository-cache-b15enhky.js} +25 -25
  98. package/dist/chunks/{agent-76gx3gef.js → repository-cache-b4qvnwj4.js} +45 -45
  99. package/dist/chunks/{agent-bh0zzf2s.js → repository-cache-be7qvw84.js} +8 -8
  100. package/dist/chunks/{agent-fx9jxwhh.js → repository-cache-bfv9bv9k.js} +6 -6
  101. package/dist/chunks/{agent-1k68ks32.js → repository-cache-bqcq01f8.js} +1 -1
  102. package/dist/chunks/{agent-70y17xeh.js → repository-cache-btec747f.js} +5 -5
  103. package/dist/chunks/{agent-bxdp1qj4.js → repository-cache-bxv8f0vx.js} +37 -37
  104. package/dist/chunks/{agent-an57bb0v.js → repository-cache-by2m0qzd.js} +23 -16
  105. package/dist/chunks/{agent-es1vcfrp.js → repository-cache-c1fqxshp.js} +3 -3
  106. package/dist/chunks/{agent-4cx4cnzf.js → repository-cache-c342w7bd.js} +19 -19
  107. package/dist/chunks/{agent-9yxrcrk2.js → repository-cache-c63260k1.js} +22 -22
  108. package/dist/chunks/{agent-2cz1eswr.js → repository-cache-cchmky4n.js} +4 -4
  109. package/dist/chunks/{agent-0mp3yd4y.js → repository-cache-cdv61tg0.js} +11 -11
  110. package/dist/chunks/{agent-k8z8vrp8.js → repository-cache-ch54pc8v.js} +5 -5
  111. package/dist/chunks/{agent-58dzcpvt.js → repository-cache-cjb9bptw.js} +10 -10
  112. package/dist/chunks/{agent-tpw6cwsb.js → repository-cache-cmwkp3r5.js} +8 -8
  113. package/dist/chunks/{agent-v7m0z00c.js → repository-cache-crq3qyq7.js} +16 -16
  114. package/dist/chunks/{agent-desw8mjx.js → repository-cache-ctj9g63t.js} +27 -27
  115. package/dist/chunks/{agent-9wpgc5d2.js → repository-cache-cwe0vf0q.js} +17 -17
  116. package/dist/chunks/{agent-1mh1r30f.js → repository-cache-cx8gshh0.js} +18 -18
  117. package/dist/chunks/{agent-acgt48p6.js → repository-cache-d1qr7c61.js} +27 -27
  118. package/dist/chunks/{agent-yrcj3v3g.js → repository-cache-d2czbp48.js} +4 -4
  119. package/dist/chunks/{agent-j4mjvx72.js → repository-cache-d4k0r7c4.js} +31 -31
  120. package/dist/chunks/{agent-598gff9k.js → repository-cache-d591ppm4.js} +29 -29
  121. package/dist/chunks/{agent-mjc8m2em.js → repository-cache-d8v8pkk5.js} +36 -36
  122. package/dist/chunks/{agent-r8eecgca.js → repository-cache-d9vjfnsx.js} +24 -24
  123. package/dist/chunks/{agent-d3x6x8ct.js → repository-cache-dk6v5ecn.js} +23 -23
  124. package/dist/chunks/{agent-dqxsqydv.js → repository-cache-dqxsqydv.js} +1 -1
  125. package/dist/chunks/repository-cache-dxj72tfx.js +18 -0
  126. package/dist/chunks/{agent-npw39rc8.js → repository-cache-dys7k0s0.js} +8 -8
  127. package/dist/chunks/{agent-a3vhmvx0.js → repository-cache-e2pebnkw.js} +53 -53
  128. package/dist/chunks/{agent-fbeb1wa5.js → repository-cache-e40rpznh.js} +11 -11
  129. package/dist/chunks/{agent-azndqj98.js → repository-cache-e49nbjze.js} +16 -16
  130. package/dist/chunks/{agent-5sq35qhm.js → repository-cache-e5m8tg9t.js} +23 -23
  131. package/dist/chunks/{agent-120mm9fe.js → repository-cache-e5tpmdkr.js} +23 -23
  132. package/dist/chunks/{agent-x05pdjgt.js → repository-cache-e7r48vpy.js} +11 -11
  133. package/dist/chunks/{agent-r2z489rp.js → repository-cache-e80seqcp.js} +3 -3
  134. package/dist/chunks/{agent-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
  135. package/dist/chunks/{agent-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{agent-y06egy23.js → repository-cache-eg4pqzs7.js} +15 -15
  137. package/dist/chunks/{agent-m48ydh7z.js → repository-cache-ejb551xx.js} +50 -50
  138. package/dist/chunks/{agent-w1eqcter.js → repository-cache-ejvep6r2.js} +33 -33
  139. package/dist/chunks/{agent-x39k8923.js → repository-cache-ewxjqerj.js} +41 -41
  140. package/dist/chunks/{agent-qwean1e1.js → repository-cache-f0q5jczr.js} +14 -14
  141. package/dist/chunks/{agent-p68x8en9.js → repository-cache-f25zr6qz.js} +27 -27
  142. package/dist/chunks/{agent-09dwq0k8.js → repository-cache-fdg7jwgm.js} +19 -19
  143. package/dist/chunks/{agent-b8s5yqvg.js → repository-cache-fe4hjjyy.js} +11 -11
  144. package/dist/chunks/{agent-3770a3t0.js → repository-cache-fjtmed58.js} +13 -13
  145. package/dist/chunks/{agent-7j38m80p.js → repository-cache-fpyqxqmr.js} +22 -22
  146. package/dist/chunks/{agent-st9476f7.js → repository-cache-fqp693fh.js} +25 -25
  147. package/dist/chunks/{agent-g6ncrc2a.js → repository-cache-fvcpcef7.js} +14 -14
  148. package/dist/chunks/{agent-dvep9rg9.js → repository-cache-fw181sc9.js} +9 -9
  149. package/dist/chunks/{agent-7mq7nmkg.js → repository-cache-g3y8m8pp.js} +14 -14
  150. package/dist/chunks/{agent-ft3hqk2c.js → repository-cache-g6q9qykm.js} +9 -9
  151. package/dist/chunks/{agent-57myy5jh.js → repository-cache-g6yfr6ja.js} +5 -5
  152. package/dist/chunks/{agent-df900zta.js → repository-cache-gd39dmhb.js} +11 -11
  153. package/dist/chunks/{agent-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{agent-1hj14pj4.js → repository-cache-geyja93h.js} +28 -28
  155. package/dist/chunks/{agent-gj71zhbs.js → repository-cache-gj71zhbs.js} +2 -2
  156. package/dist/chunks/{agent-hy5rne45.js → repository-cache-gq7y3cd8.js} +27 -27
  157. package/dist/chunks/{agent-rwm5vee1.js → repository-cache-gst7axd9.js} +4 -4
  158. package/dist/chunks/{agent-ykn3eabp.js → repository-cache-gv37jgcn.js} +38 -38
  159. package/dist/chunks/{agent-0datvkzx.js → repository-cache-h0y6q46p.js} +27 -27
  160. package/dist/chunks/{agent-fbq8j98h.js → repository-cache-h4a8c9dz.js} +14 -14
  161. package/dist/chunks/{agent-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{agent-31xfzrxg.js → repository-cache-h7s7r6s9.js} +5 -5
  163. package/dist/chunks/{agent-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
  164. package/dist/chunks/{agent-vn5kn1xa.js → repository-cache-hqxhqkds.js} +16 -6
  165. package/dist/chunks/{agent-mw9nhf2x.js → repository-cache-j1wkfhwt.js} +3 -3
  166. package/dist/chunks/{agent-10mgaypy.js → repository-cache-j2b91fdp.js} +14 -14
  167. package/dist/chunks/{agent-x6ekcm9n.js → repository-cache-j9x0khfw.js} +6 -6
  168. package/dist/chunks/{agent-j88gsrc2.js → repository-cache-jecp24jg.js} +6 -6
  169. package/dist/chunks/repository-cache-jevmk2ks.js +26 -0
  170. package/dist/chunks/{agent-3e3ts2k0.js → repository-cache-k57ac7j1.js} +3 -3
  171. package/dist/chunks/{agent-ww5bxnkm.js → repository-cache-k9gyx25e.js} +21 -21
  172. package/dist/chunks/{agent-dwm3anjr.js → repository-cache-kcvbm89f.js} +32 -32
  173. package/dist/chunks/{agent-fxaymqdw.js → repository-cache-khmqacep.js} +4 -4
  174. package/dist/chunks/{agent-t59vet7a.js → repository-cache-kpe059n0.js} +9 -9
  175. package/dist/chunks/{agent-n3df6fgn.js → repository-cache-kqtg52fn.js} +72 -72
  176. package/dist/chunks/{agent-2ryng5r3.js → repository-cache-kqx1b4hy.js} +4 -4
  177. package/dist/chunks/{agent-v2mxr9ph.js → repository-cache-krf4tsjk.js} +34 -34
  178. package/dist/chunks/repository-cache-ks80404h.js +513 -0
  179. package/dist/chunks/{agent-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
  180. package/dist/chunks/{agent-e314xmzp.js → repository-cache-m6b17x9v.js} +2 -2
  181. package/dist/chunks/{agent-07y8yssa.js → repository-cache-m8sfq14v.js} +13 -13
  182. package/dist/chunks/{agent-zvj6924a.js → repository-cache-m93cgr6s.js} +5 -5
  183. package/dist/chunks/{agent-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{agent-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
  185. package/dist/chunks/{agent-bb86f272.js → repository-cache-mdre6djm.js} +11 -11
  186. package/dist/chunks/{agent-m341j4am.js → repository-cache-mj4tx5qy.js} +22 -22
  187. package/dist/chunks/{agent-9t0y1ztz.js → repository-cache-mp7nbm6p.js} +3 -3
  188. package/dist/chunks/{agent-hrcr6mwe.js → repository-cache-mpy9qz4k.js} +11 -11
  189. package/dist/chunks/{agent-4at5033j.js → repository-cache-mq9zb5b9.js} +33 -33
  190. package/dist/chunks/{agent-ap7erzbb.js → repository-cache-mv1zf9z2.js} +47 -47
  191. package/dist/chunks/{agent-hmf6h8tj.js → repository-cache-mwyvanbh.js} +14 -14
  192. package/dist/chunks/{agent-40ze75wf.js → repository-cache-n2wb2mch.js} +33 -33
  193. package/dist/chunks/{agent-n7gz7dkb.js → repository-cache-ngpfqwbj.js} +21 -21
  194. package/dist/chunks/{agent-x4fsxtvp.js → repository-cache-nj3byha7.js} +16 -16
  195. package/dist/chunks/{agent-3v1rmssb.js → repository-cache-nq7pnem0.js} +23 -23
  196. package/dist/chunks/{agent-y4j9axvr.js → repository-cache-p91h8kfs.js} +4 -4
  197. package/dist/chunks/{agent-yf1wa02y.js → repository-cache-pdx0gykg.js} +25 -25
  198. package/dist/chunks/{agent-176qrfyr.js → repository-cache-pfjh7j5z.js} +11 -11
  199. package/dist/chunks/{agent-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{agent-mxabp7zc.js → repository-cache-pk4ymh6x.js} +22 -22
  201. package/dist/chunks/{agent-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  202. package/dist/chunks/{agent-43m0923n.js → repository-cache-pm1kn7fh.js} +23 -23
  203. package/dist/chunks/{agent-59pb1bst.js → repository-cache-ptjpt6w9.js} +89 -89
  204. package/dist/chunks/{agent-5ffyefh4.js → repository-cache-px85ptb0.js} +21 -21
  205. package/dist/chunks/{agent-gftv0dff.js → repository-cache-q2pht526.js} +19 -19
  206. package/dist/chunks/{agent-tf2nhsz8.js → repository-cache-q51r5gk2.js} +9 -9
  207. package/dist/chunks/{agent-me8drbfe.js → repository-cache-q5v42qaq.js} +27 -27
  208. package/dist/chunks/{agent-tvktx62v.js → repository-cache-qb9n2841.js} +3 -3
  209. package/dist/chunks/{agent-fcrkznn8.js → repository-cache-qgn6gcr1.js} +5 -5
  210. package/dist/chunks/{agent-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{agent-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  212. package/dist/chunks/{agent-ycw2k4m5.js → repository-cache-qyj1vcvk.js} +11 -11
  213. package/dist/chunks/{agent-pxnnf3sj.js → repository-cache-rap56gfv.js} +10 -10
  214. package/dist/chunks/{agent-x2p9rnd2.js → repository-cache-rcy0c9yy.js} +46 -46
  215. package/dist/chunks/{agent-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{agent-tkb22qbm.js → repository-cache-rert0e01.js} +2 -2
  217. package/dist/chunks/{agent-rhjbct0v.js → repository-cache-rhjbct0v.js} +1 -1
  218. package/dist/chunks/{agent-c41wscbt.js → repository-cache-rj3eygr5.js} +2 -2
  219. package/dist/chunks/{agent-70acndry.js → repository-cache-rkxvzxf2.js} +47 -47
  220. package/dist/chunks/{agent-wgahhr0x.js → repository-cache-rsvmvhbp.js} +6 -6
  221. package/dist/chunks/{agent-c8ax2afj.js → repository-cache-sa8ekw3f.js} +2 -2
  222. package/dist/chunks/{agent-cnw0s3pm.js → repository-cache-sgjfhjy7.js} +11 -11
  223. package/dist/chunks/{agent-zfm7v8bv.js → repository-cache-sje3rda6.js} +14 -14
  224. package/dist/chunks/{agent-s5bmn3fh.js → repository-cache-sxk90dft.js} +33 -33
  225. package/dist/chunks/{agent-syv4x271.js → repository-cache-syv4x271.js} +1 -1
  226. package/dist/chunks/{agent-xx5ebepc.js → repository-cache-t0yfw6ys.js} +8 -8
  227. package/dist/chunks/{agent-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{agent-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  229. package/dist/chunks/{agent-3zst7r5n.js → repository-cache-temcp865.js} +4 -4
  230. package/dist/chunks/{agent-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
  231. package/dist/chunks/{agent-3nt2w26v.js → repository-cache-tnw9vg4a.js} +1 -1
  232. package/dist/chunks/{agent-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
  233. package/dist/chunks/{agent-6g7e4dd5.js → repository-cache-v0es1rhs.js} +7 -7
  234. package/dist/chunks/{agent-q88xdd0q.js → repository-cache-v1cyyw7h.js} +15 -15
  235. package/dist/chunks/{agent-c1ezcj9p.js → repository-cache-v4v9aph4.js} +13 -13
  236. package/dist/chunks/{agent-ryr25ayn.js → repository-cache-v5dkyp31.js} +4 -4
  237. package/dist/chunks/{agent-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{agent-4py5fpra.js → repository-cache-vcdzpava.js} +38 -38
  239. package/dist/chunks/{agent-84mt6kxk.js → repository-cache-ve7zbnhg.js} +10 -10
  240. package/dist/chunks/{agent-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  241. package/dist/chunks/{agent-xp6nq9tj.js → repository-cache-vhaf4ayt.js} +92 -92
  242. package/dist/chunks/{agent-6hk8xqds.js → repository-cache-vk80et65.js} +4 -4
  243. package/dist/chunks/{agent-sgz82gsd.js → repository-cache-vr44d4hm.js} +19 -19
  244. package/dist/chunks/{agent-fr4rxre2.js → repository-cache-vsye7q8h.js} +32 -32
  245. package/dist/chunks/{agent-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{agent-84txncab.js → repository-cache-w1eejvng.js} +5 -5
  247. package/dist/chunks/repository-cache-w3tje0hb.js +253 -0
  248. package/dist/chunks/{agent-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{agent-py3kkmfq.js → repository-cache-w92k2e0p.js} +8 -8
  250. package/dist/chunks/{agent-sz15zhhw.js → repository-cache-waskdk5r.js} +4 -4
  251. package/dist/chunks/{agent-b8n2r79a.js → repository-cache-wbv8krvw.js} +35 -35
  252. package/dist/chunks/{agent-z9tz5eek.js → repository-cache-wcmdh5fr.js} +8 -8
  253. package/dist/chunks/{agent-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  254. package/dist/chunks/{agent-b3f8fkhc.js → repository-cache-wecqtg5s.js} +5 -5
  255. package/dist/chunks/{agent-1ffvrpkg.js → repository-cache-wjr9rjd7.js} +9 -9
  256. package/dist/chunks/{agent-mvnt7d01.js → repository-cache-wp5jg3qv.js} +15 -15
  257. package/dist/chunks/{agent-6r7wd4s9.js → repository-cache-wqaksqmk.js} +20 -20
  258. package/dist/chunks/{agent-yynp9xvp.js → repository-cache-wz0h12mc.js} +45 -45
  259. package/dist/chunks/{agent-hk5w54gx.js → repository-cache-x7pmjftd.js} +9 -9
  260. package/dist/chunks/{agent-sqgae8e7.js → repository-cache-xfnq57nx.js} +17 -17
  261. package/dist/chunks/{agent-pqk7fwvb.js → repository-cache-xgq2rm19.js} +9 -9
  262. package/dist/chunks/{agent-7zpkz1ag.js → repository-cache-xreky3y6.js} +32 -32
  263. package/dist/chunks/{agent-71byd0nn.js → repository-cache-xrr5sc3f.js} +42 -41
  264. package/dist/chunks/{agent-ns8hhn76.js → repository-cache-xxtzrfs4.js} +11 -11
  265. package/dist/chunks/{agent-pnzf6mjf.js → repository-cache-xybefm6f.js} +1 -1
  266. package/dist/chunks/{agent-rrd63aa5.js → repository-cache-xyzkt3tg.js} +28 -28
  267. package/dist/chunks/{agent-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{agent-z0aj456m.js → repository-cache-y6mhz57t.js} +4 -4
  269. package/dist/chunks/{agent-y71avatq.js → repository-cache-y71avatq.js} +1 -1
  270. package/dist/chunks/{agent-phz50fbd.js → repository-cache-y7nndgyc.js} +9 -9
  271. package/dist/chunks/{agent-w8frm7c7.js → repository-cache-yacze3r8.js} +5 -5
  272. package/dist/chunks/{agent-25zgp73e.js → repository-cache-ycpsy51k.js} +32 -32
  273. package/dist/chunks/{agent-hfbyhya8.js → repository-cache-yh1stbkq.js} +10 -10
  274. package/dist/chunks/{agent-bv8c7vet.js → repository-cache-yrmnft4d.js} +11 -11
  275. package/dist/chunks/{agent-j55ztwk7.js → repository-cache-ywqzdww2.js} +25 -25
  276. package/dist/chunks/{agent-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{agent-8jjtjp8k.js → repository-cache-z0qz3jqt.js} +56 -56
  278. package/dist/chunks/{agent-tgvn7qv7.js → repository-cache-zgza60ny.js} +8 -8
  279. package/dist/chunks/{agent-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{agent-nhfjry95.js → repository-cache-zss4em3h.js} +23 -23
  281. package/dist/chunks/{agent-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{agent-btjxhes9.js → repository-cache-zzt06fmm.js} +16 -16
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +11 -11
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +85 -85
  288. package/dist/config/discovery.js +86 -86
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +101 -101
  291. package/dist/config/plugin/agent.js +118 -118
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +154 -154
  294. package/dist/config/plugin/compatibility.js +134 -134
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +116 -116
  298. package/dist/config/plugin/instruction.js +116 -116
  299. package/dist/config/plugin/location-watcher.js +116 -116
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +117 -117
  302. package/dist/config/plugin/provider.js +116 -116
  303. package/dist/config/plugin/reference.js +118 -118
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +104 -104
  306. package/dist/config/plugin/skill.js +137 -137
  307. package/dist/config/plugin/snapshot.js +116 -116
  308. package/dist/config/plugin/source.js +119 -119
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +117 -117
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +1 -1
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +121 -121
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +85 -85
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  384. package/dist/database/migration.gen.js +51 -51
  385. package/dist/database/migration.js +53 -53
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -366
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +95 -95
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +3 -3
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +76 -76
  409. package/dist/file-access.js +106 -106
  410. package/dist/file-mutation.js +96 -96
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +105 -105
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +108 -108
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +89 -89
  426. package/dist/generate.js +107 -107
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +101 -101
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +357 -357
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +89 -89
  453. package/dist/instructions/index.js +1 -1
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +89 -89
  456. package/dist/job.js +80 -80
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +75 -75
  459. package/dist/location-activity.js +136 -136
  460. package/dist/location-lifecycle.js +109 -109
  461. package/dist/location-service-map.js +88 -88
  462. package/dist/location-services.js +354 -354
  463. package/dist/location.js +89 -89
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +93 -93
  466. package/dist/mcp/index.js +111 -111
  467. package/dist/mcp/instructions.js +131 -131
  468. package/dist/mcp/oauth.js +80 -80
  469. package/dist/mcp/stdio.js +92 -92
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +101 -101
  472. package/dist/model-resolver.js +100 -100
  473. package/dist/model.js +104 -104
  474. package/dist/models-dev.js +109 -109
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +84 -84
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +109 -109
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +90 -90
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +77 -77
  484. package/dist/plugin/agent.js +78 -78
  485. package/dist/plugin/command.js +104 -104
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +329 -329
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +98 -98
  493. package/dist/plugin/module.js +117 -117
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +104 -104
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  498. package/dist/plugin/provider/azure.js +116 -116
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +116 -116
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/databricks.js +1 -1
  506. package/dist/plugin/provider/digitalocean.js +95 -95
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +97 -97
  510. package/dist/plugin/provider/gitlab.js +95 -95
  511. package/dist/plugin/provider/google-vertex.js +113 -113
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +80 -80
  514. package/dist/plugin/provider/lmstudio.js +125 -125
  515. package/dist/plugin/provider/local.js +122 -122
  516. package/dist/plugin/provider/modal.js +94 -94
  517. package/dist/plugin/provider/neon.js +1 -1
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +125 -125
  520. package/dist/plugin/provider/openai.js +118 -118
  521. package/dist/plugin/provider/opencode.js +100 -99
  522. package/dist/plugin/provider/openrouter.js +93 -93
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +81 -81
  525. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  526. package/dist/plugin/provider/sap-ai-core.js +93 -93
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  529. package/dist/plugin/provider/vercel.js +92 -92
  530. package/dist/plugin/provider/vllm.js +125 -125
  531. package/dist/plugin/provider/xai.js +93 -93
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +168 -167
  534. package/dist/plugin/sdk.js +78 -78
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -132
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +346 -346
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +88 -88
  542. package/dist/plugin/vcs/hg.js +88 -88
  543. package/dist/plugin/verbosity.js +95 -95
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +222 -222
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +97 -97
  560. package/dist/reference/instructions.js +91 -91
  561. package/dist/reference.js +91 -91
  562. package/dist/repository-cache.js +83 -83
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +99 -99
  566. package/dist/rpc.js +88 -88
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +76 -76
  570. package/dist/session/compaction.js +137 -137
  571. package/dist/session/context.js +155 -155
  572. package/dist/session/diff.js +90 -90
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +3 -3
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +217 -217
  577. package/dist/session/execution.js +129 -129
  578. package/dist/session/generate.js +156 -156
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +92 -92
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +79 -79
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +99 -99
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +122 -122
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +131 -131
  590. package/dist/session/projector.js +88 -88
  591. package/dist/session/prompt.js +107 -107
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +92 -92
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -224
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +100 -100
  599. package/dist/session/runner/publish-llm-event.js +115 -115
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +105 -105
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +75 -75
  609. package/dist/session/store.js +89 -89
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +113 -113
  615. package/dist/session/transfer.js +213 -213
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +209 -209
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +15 -15
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +109 -109
  625. package/dist/skill.js +114 -114
  626. package/dist/snapshot.js +95 -95
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +130 -130
  631. package/dist/tool/plugin/edit.js +122 -122
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +126 -126
  634. package/dist/tool/plugin/grep.js +124 -124
  635. package/dist/tool/plugin/mcp-resource.js +119 -119
  636. package/dist/tool/plugin/opencode.js +111 -111
  637. package/dist/tool/plugin/patch.js +124 -124
  638. package/dist/tool/plugin/question.js +105 -105
  639. package/dist/tool/plugin/read.js +127 -127
  640. package/dist/tool/plugin/shell.js +210 -210
  641. package/dist/tool/plugin/skill.js +115 -115
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +114 -114
  644. package/dist/tool/plugin/websearch.js +116 -116
  645. package/dist/tool/plugin/write.js +124 -124
  646. package/dist/tool/read-filesystem.js +102 -102
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +16 -16
  650. package/dist/types/model.d.ts +3 -0
  651. package/dist/types/variant.d.ts +3 -0
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +2 -2
  670. package/dist/variant.js +97 -95
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +82 -82
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/agent-8920dkqx.js +0 -253
  686. package/dist/chunks/agent-dn7ydhqs.js +0 -513
  687. package/dist/chunks/agent-n95b3jav.js +0 -18
  688. package/dist/chunks/agent-vmbjch0v.js +0 -26
  689. /package/dist/chunks/{agent-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{agent-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{agent-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{agent-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{agent-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{agent-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{agent-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{agent-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{agent-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{agent-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{agent-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{agent-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  701. /package/dist/chunks/{agent-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{agent-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{agent-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{agent-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{agent-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{agent-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{agent-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{agent-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  709. /package/dist/chunks/{agent-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{agent-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{agent-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  712. /package/dist/chunks/{agent-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{agent-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{agent-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{agent-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  716. /package/dist/chunks/{agent-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{agent-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{agent-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{agent-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{agent-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{agent-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{agent-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{agent-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{agent-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{agent-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{agent-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{agent-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{agent-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{agent-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{agent-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{agent-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{agent-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{agent-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{agent-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{agent-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  736. /package/dist/chunks/{agent-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{agent-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{agent-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{agent-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{agent-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{agent-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{agent-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{agent-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{agent-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{agent-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{agent-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{agent-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  748. /package/dist/chunks/{agent-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{agent-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  750. /package/dist/chunks/{agent-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{agent-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  752. /package/dist/chunks/{agent-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{agent-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{agent-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{agent-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{agent-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{agent-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{agent-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{agent-m18g726c.js → repository-cache-m18g726c.js} +0 -0
  760. /package/dist/chunks/{agent-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{agent-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{agent-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{agent-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{agent-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{agent-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{agent-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{agent-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{agent-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{agent-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{agent-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{agent-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{agent-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{agent-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{agent-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{agent-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{agent-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{agent-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{agent-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{agent-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{agent-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{agent-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{agent-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{agent-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{agent-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  785. /package/dist/chunks/{agent-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{agent-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{agent-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{agent-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{agent-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{agent-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service83
3
- } from "./agent-fbq8j98h.js";
2
+ Service84
3
+ } from "./repository-cache-h4a8c9dz.js";
4
4
  import {
5
- Service71
6
- } from "./agent-84mt6kxk.js";
5
+ Service75
6
+ } from "./repository-cache-ve7zbnhg.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./agent-rdw6cm16.js";
12
+ } from "./repository-cache-rdw6cm16.js";
13
13
  import {
14
- Service39,
14
+ Service31,
15
15
  awaitActivation2
16
- } from "./agent-n95b3jav.js";
16
+ } from "./repository-cache-dxj72tfx.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./agent-p68t7hkv.js";
21
+ } from "./repository-cache-8nmsyqvc.js";
22
22
  import {
23
23
  __export
24
- } from "./agent-9rqn6x4v.js";
24
+ } from "./repository-cache-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event5,
30
- ID: () => ID3,
31
- Info: () => Info3,
29
+ Event: () => Event2,
30
+ ID: () => ID2,
31
+ Info: () => Info2,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service39,
33
+ Service: () => Service31,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node21
37
+ node: () => node17
38
38
  });
39
- import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service39, Effect.gen(function* () {
44
- const bus = yield* Service83;
45
- const kv = yield* Service71;
43
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
44
+ const bus = yield* Service84;
45
+ const kv = yield* Service75;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service39.of({
208
+ return Service31.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node21 = Node.makeLocationNode({
226
- service: Service39,
225
+ var node17 = Node.makeLocationNode({
226
+ service: Service31,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node21, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
231
+ export { node17, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./agent-m48ydh7z.js";
3
+ } from "./repository-cache-ejb551xx.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./agent-pkyv6v7h.js";
6
+ } from "./repository-cache-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./agent-9rqn6x4v.js";
9
+ } from "./repository-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID11,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./agent-40ze75wf.js";
7
+ } from "./repository-cache-n2wb2mch.js";
8
8
  import {
9
9
  __export
10
- } from "./agent-9rqn6x4v.js";
10
+ } from "./repository-cache-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service74,
17
+ Service: () => Service76,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node77
19
+ node: () => node80
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID11,
154
+ providerID: ID13,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service74 extends Context.Service()("@opencode/AISDK") {
162
+ class Service76 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service76, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service74.of({
202
+ const service = Service76.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node77 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
877
+ var node80 = makeLocationNode({ service: Service76, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service74, locationLayer2, node77, exports_aisdk };
879
+ export { InitError2, Service76, locationLayer2, node80, exports_aisdk };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./agent-z5v4ffb3.js";
4
+ } from "./repository-cache-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node85
10
- } from "./agent-3dacjcw5.js";
8
+ Service83,
9
+ node87
10
+ } from "./repository-cache-2r93mh4x.js";
11
11
  import {
12
- Service79,
13
- node82
14
- } from "./agent-btjxhes9.js";
12
+ Service81,
13
+ node85
14
+ } from "./repository-cache-zzt06fmm.js";
15
15
  import {
16
16
  create3
17
- } from "./agent-rdw6cm16.js";
17
+ } from "./repository-cache-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./agent-9rqn6x4v.js";
20
+ } from "./repository-cache-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID6,
27
- Service: () => Service55,
25
+ Error: () => Error2,
26
+ ID: () => ID5,
27
+ Service: () => Service41,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node58,
30
- noopLayer: () => noopLayer2
29
+ node: () => node43,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service55 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service41 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service55, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service83;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service81;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID6.make(tree);
99
+ return ID5.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service41.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node58 = makeLocationNode({
153
- service: Service55,
152
+ var node43 = makeLocationNode({
153
+ service: Service41,
154
154
  layer,
155
- deps: [FSUtil.node, node85, Global.node, node82]
155
+ deps: [FSUtil.node, node87, Global.node, node85]
156
156
  });
157
- var noopLayer2 = Layer.succeed(Service55, Service55.of({
157
+ var noopLayer3 = Layer.succeed(Service41, Service41.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service55, Service55.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error3 && cause.operation === operation)
166
+ if (cause instanceof Error2 && cause.operation === operation)
167
167
  return cause;
168
- return new Error3({
168
+ return new Error2({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID6, Error3, Service55, node58, noopLayer2, exports_snapshot2 };
175
+ export { ID5, Error2, Service41, node43, noopLayer3, exports_snapshot2 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service83,
3
- node86
4
- } from "./agent-fbq8j98h.js";
2
+ Service84,
3
+ node88
4
+ } from "./repository-cache-h4a8c9dz.js";
5
5
  import {
6
- node56
7
- } from "./agent-mxabp7zc.js";
6
+ node53
7
+ } from "./repository-cache-pk4ymh6x.js";
8
8
  import {
9
- Service12,
10
- node14
11
- } from "./agent-hy5rne45.js";
9
+ Service4,
10
+ node6
11
+ } from "./repository-cache-gq7y3cd8.js";
12
12
  import {
13
- Service15
14
- } from "./agent-hfbyhya8.js";
13
+ Service53
14
+ } from "./repository-cache-yh1stbkq.js";
15
15
  import {
16
- Service39
17
- } from "./agent-n95b3jav.js";
16
+ Service31
17
+ } from "./repository-cache-dxj72tfx.js";
18
18
  import {
19
- node21,
20
- ID3
21
- } from "./agent-m341j4am.js";
19
+ node17,
20
+ ID2
21
+ } from "./repository-cache-mj4tx5qy.js";
22
22
  import {
23
- Service7,
24
- node9
25
- } from "./agent-tpw6cwsb.js";
23
+ Service5,
24
+ node7
25
+ } from "./repository-cache-cmwkp3r5.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./agent-dn7ydhqs.js";
30
+ } from "./repository-cache-ks80404h.js";
31
31
  import {
32
- make8,
32
+ make9,
33
33
  LoadError2
34
- } from "./agent-hmf6h8tj.js";
34
+ } from "./repository-cache-mwyvanbh.js";
35
35
  import {
36
36
  Updated2,
37
- Service3,
38
- node5
39
- } from "./agent-6g1cr3nb.js";
37
+ Service9,
38
+ node11
39
+ } from "./repository-cache-0vxmkk46.js";
40
40
  import {
41
- Service6,
42
- node8
43
- } from "./agent-h71w788e.js";
41
+ Service8,
42
+ node10
43
+ } from "./repository-cache-6fatt4mk.js";
44
44
  import {
45
45
  __export
46
- } from "./agent-9rqn6x4v.js";
46
+ } from "./repository-cache-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
50
50
  __export(exports_supervisor, {
51
51
  PluginSupervisor: () => exports_supervisor,
52
52
  layer: () => layer4,
53
- node: () => node4
53
+ node: () => node5
54
54
  });
55
55
  import { Event } from "@opencode/schema/config";
56
56
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
127
127
  failures: [
128
128
  ...failures.values(),
129
129
  ...ordered.filter(duplicate).map((plugin) => ({
130
- id: ID3.make(plugin.id),
130
+ id: ID2.make(plugin.id),
131
131
  source: plugin.source ?? { type: "builtin" },
132
132
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
133
133
  features: { server: true, ...plugin.features }
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
137
137
  };
138
138
  });
139
139
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service15;
141
- const registry = yield* Service39;
142
- const sdk = yield* Service3;
143
- const instance = yield* Service7;
144
- const sources = yield* Service12;
145
- const modules = yield* make8();
146
- const bus = yield* Service83;
147
- const updates = yield* Service6;
140
+ const managed = yield* Service53;
141
+ const registry = yield* Service31;
142
+ const sdk = yield* Service9;
143
+ const instance = yield* Service5;
144
+ const sources = yield* Service4;
145
+ const modules = yield* make9();
146
+ const bus = yield* Service84;
147
+ const updates = yield* Service8;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node21,
224
- node5,
225
- node9,
226
- node14,
227
- node8,
228
- node86,
223
+ node17,
224
+ node11,
225
+ node7,
226
+ node6,
227
+ node10,
228
+ node88,
229
229
  Npm.node,
230
- node56,
230
+ node53,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -235,6 +235,6 @@ function pluginSource(target) {
235
235
  return { type: "local", path: target };
236
236
  return { type: "package", target };
237
237
  }
238
- var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
238
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
239
239
 
240
- export { layer4, node4, exports_supervisor };
240
+ export { layer4, node5, exports_supervisor };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./agent-zr2ceqn5.js";
3
+ } from "./repository-cache-zr2ceqn5.js";
4
4
  import {
5
- Service53
6
- } from "./agent-mxabp7zc.js";
5
+ Service51
6
+ } from "./repository-cache-pk4ymh6x.js";
7
7
  import {
8
- Service52
9
- } from "./agent-a3vhmvx0.js";
8
+ Service50
9
+ } from "./repository-cache-e2pebnkw.js";
10
10
  import {
11
- Service15,
11
+ Service53,
12
12
  statements2,
13
13
  decision2
14
- } from "./agent-hfbyhya8.js";
14
+ } from "./repository-cache-yh1stbkq.js";
15
15
  import {
16
16
  __export
17
- } from "./agent-9rqn6x4v.js";
17
+ } from "./repository-cache-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make8
24
+ make: () => make9
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make8 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service52;
35
- const managed = yield* Service15;
36
- const watcher = yield* Service53;
33
+ var make9 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service50;
35
+ const managed = yield* Service53;
36
+ const watcher = yield* Service51;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make8, LoadError2, exports_module };
121
+ export { make9, LoadError2, exports_module };