@opencode/core 0.0.0-dev-106 → 0.0.0-dev-107

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 (820) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{file-retention-034tev2y.js → generate-034tev2y.js} +2 -2
  8. package/dist/chunks/{file-retention-3ctwxhf6.js → generate-06z701rm.js} +25 -25
  9. package/dist/chunks/{file-retention-26x8chrq.js → generate-0ma4nchc.js} +6 -6
  10. package/dist/chunks/{file-retention-13ebf3mq.js → generate-0n115jhs.js} +2 -2
  11. package/dist/chunks/{file-retention-tzm99g9n.js → generate-0rdesn2s.js} +11 -11
  12. package/dist/chunks/{file-retention-cbn5qz6c.js → generate-0vsxvdtn.js} +16 -16
  13. package/dist/chunks/{file-retention-ectwy8nt.js → generate-0zzszzpj.js} +5 -5
  14. package/dist/chunks/{file-retention-rmt6m6se.js → generate-18g90bpv.js} +5 -5
  15. package/dist/chunks/{file-retention-2djfsmxs.js → generate-1ee0r1kj.js} +20 -20
  16. package/dist/chunks/{file-retention-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{file-retention-x38q2hx0.js → generate-1j9w4y6h.js} +24 -24
  18. package/dist/chunks/{file-retention-1kn6jdkn.js → generate-1kn6jdkn.js} +1 -1
  19. package/dist/chunks/{file-retention-0d5wzp0a.js → generate-1m60qraa.js} +45 -45
  20. package/dist/chunks/{file-retention-at3ha3gd.js → generate-1q6dszbz.js} +13 -13
  21. package/dist/chunks/{file-retention-je0z6vt0.js → generate-1sfk74bq.js} +19 -19
  22. package/dist/chunks/{file-retention-exqnczdn.js → generate-1t55kv49.js} +18 -18
  23. package/dist/chunks/{file-retention-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{file-retention-18fr36ja.js → generate-202bxvr4.js} +8 -8
  25. package/dist/chunks/{file-retention-204s3925.js → generate-204s3925.js} +1 -1
  26. package/dist/chunks/{file-retention-7b491anb.js → generate-2ae0bb16.js} +11 -11
  27. package/dist/chunks/{file-retention-z9rbxwes.js → generate-2fhcbr2h.js} +10 -10
  28. package/dist/chunks/{file-retention-1tpd8jbg.js → generate-2g290e82.js} +54 -54
  29. package/dist/chunks/{file-retention-h5tttybt.js → generate-2ma0e9a9.js} +19 -19
  30. package/dist/chunks/{file-retention-w1ampmdn.js → generate-2ztdhh52.js} +87 -87
  31. package/dist/chunks/{file-retention-b2e3mpfn.js → generate-3e5vr4ez.js} +18 -18
  32. package/dist/chunks/{file-retention-4p3hg7qr.js → generate-3ec98pns.js} +8 -8
  33. package/dist/chunks/{file-retention-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{file-retention-6y263vp8.js → generate-3kdbrncp.js} +5 -5
  35. package/dist/chunks/{file-retention-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/generate-3swdr1y8.js +26 -0
  37. package/dist/chunks/{file-retention-b27sr8xw.js → generate-3vj30g40.js} +25 -25
  38. package/dist/chunks/{file-retention-2v29ms50.js → generate-3yr9ad7b.js} +20 -20
  39. package/dist/chunks/{file-retention-4en8p6w3.js → generate-4320fn7v.js} +11 -11
  40. package/dist/chunks/{file-retention-tv6nmqg6.js → generate-4g9y7qp0.js} +13 -13
  41. package/dist/chunks/{file-retention-4pyp9zr9.js → generate-4pyp9zr9.js} +1 -1
  42. package/dist/chunks/{file-retention-qtgtdkvq.js → generate-4tqctrqn.js} +8 -8
  43. package/dist/chunks/{file-retention-6ss6ngz0.js → generate-4tqs0jzk.js} +4 -4
  44. package/dist/chunks/{file-retention-4v008n1t.js → generate-4v008n1t.js} +1 -1
  45. package/dist/chunks/{file-retention-bqhtr9km.js → generate-4v40nn40.js} +16 -16
  46. package/dist/chunks/{file-retention-kexjjz2s.js → generate-4z2wtcvt.js} +32 -32
  47. package/dist/chunks/{file-retention-9c0sbrgq.js → generate-5092e2jb.js} +5 -5
  48. package/dist/chunks/{file-retention-tvbcxp3f.js → generate-50yzfa9j.js} +11 -11
  49. package/dist/chunks/{file-retention-vfqzwbd6.js → generate-5ee85207.js} +24 -24
  50. package/dist/chunks/{file-retention-257338nf.js → generate-5ktqpe3k.js} +18 -18
  51. package/dist/chunks/{file-retention-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{file-retention-5gyja307.js → generate-5x26af84.js} +4 -4
  53. package/dist/chunks/{file-retention-2n2jra7h.js → generate-5z35dpy9.js} +2 -2
  54. package/dist/chunks/{file-retention-ce8850xx.js → generate-666bv3ay.js} +5 -5
  55. package/dist/chunks/generate-6bshxcsx.js +18 -0
  56. package/dist/chunks/{file-retention-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{file-retention-8w2sjm13.js → generate-6hy38yqe.js} +13 -13
  58. package/dist/chunks/{file-retention-xdjf2s1h.js → generate-6whdpt6t.js} +19 -19
  59. package/dist/chunks/{file-retention-9grvd76r.js → generate-6wxsr7gx.js} +8 -8
  60. package/dist/chunks/{file-retention-dzpz9w51.js → generate-6zwdg53a.js} +30 -30
  61. package/dist/chunks/{file-retention-ma8y8rx5.js → generate-71zez6gk.js} +6 -6
  62. package/dist/chunks/{file-retention-w8qtt4th.js → generate-76cb1hcw.js} +4 -4
  63. package/dist/chunks/{file-retention-pnwsrq7c.js → generate-7aa2mjr2.js} +11 -11
  64. package/dist/chunks/{file-retention-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{file-retention-6pnx88k5.js → generate-7c4ttkny.js} +32 -32
  66. package/dist/chunks/{file-retention-94khjvtj.js → generate-7e2708gx.js} +28 -28
  67. package/dist/chunks/{file-retention-bdady26x.js → generate-7q0gn4vw.js} +34 -34
  68. package/dist/chunks/{file-retention-hrgy1ehp.js → generate-7v4h4gdx.js} +3 -3
  69. package/dist/chunks/{file-retention-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
  70. package/dist/chunks/{file-retention-6qcwe8h6.js → generate-7w97sera.js} +7 -7
  71. package/dist/chunks/{file-retention-4tsasp0w.js → generate-87xrnj2a.js} +16 -16
  72. package/dist/chunks/{file-retention-b4fxnh5x.js → generate-8a1jyxga.js} +4 -4
  73. package/dist/chunks/{file-retention-aahkq6z2.js → generate-8gjt3z81.js} +10 -10
  74. package/dist/chunks/{file-retention-8jztxfpf.js → generate-8jztxfpf.js} +1 -1
  75. package/dist/chunks/{file-retention-bdxrme4x.js → generate-8wntc457.js} +26 -26
  76. package/dist/chunks/{file-retention-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
  77. package/dist/chunks/{file-retention-bzk4ydrv.js → generate-8yty72zd.js} +89 -89
  78. package/dist/chunks/{file-retention-90zstvax.js → generate-90zstvax.js} +1 -1
  79. package/dist/chunks/{file-retention-hrzny8v8.js → generate-91h8br7e.js} +24 -24
  80. package/dist/chunks/{file-retention-pg7tzw83.js → generate-9746xxpe.js} +18 -18
  81. package/dist/chunks/{file-retention-8yhc7zrg.js → generate-9f3sjfep.js} +9 -9
  82. package/dist/chunks/{file-retention-yztxn572.js → generate-9g6r0xzh.js} +4 -4
  83. package/dist/chunks/{file-retention-6617bgsd.js → generate-9hykb5cg.js} +15 -15
  84. package/dist/chunks/{file-retention-r67zf7b0.js → generate-9n9p4xt1.js} +44 -44
  85. package/dist/chunks/{file-retention-wc3hvwsb.js → generate-9vpjb0mc.js} +27 -27
  86. package/dist/chunks/{file-retention-ryddx2hx.js → generate-9wmr3sd2.js} +26 -26
  87. package/dist/chunks/{file-retention-yjq04dxh.js → generate-9wzq089f.js} +43 -43
  88. package/dist/chunks/{file-retention-dvpav3c8.js → generate-a89th7t7.js} +16 -16
  89. package/dist/chunks/{file-retention-3cgskxpq.js → generate-a9q6fvpe.js} +3 -3
  90. package/dist/chunks/{file-retention-1p7ae65c.js → generate-agwf0v5r.js} +11 -11
  91. package/dist/chunks/{file-retention-qc86zz63.js → generate-aknbadps.js} +11 -11
  92. package/dist/chunks/{file-retention-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
  93. package/dist/chunks/{file-retention-f6n5e1dm.js → generate-az9xpas6.js} +14 -14
  94. package/dist/chunks/{file-retention-b6vsg801.js → generate-b6vsg801.js} +2 -2
  95. package/dist/chunks/{file-retention-1npk31dn.js → generate-b77f8j6q.js} +5 -5
  96. package/dist/chunks/{file-retention-mq7hpmjw.js → generate-bdgvvtkj.js} +4 -4
  97. package/dist/chunks/{file-retention-bstexjd6.js → generate-bstexjd6.js} +1 -1
  98. package/dist/chunks/{file-retention-1gc92e9b.js → generate-bxgg086j.js} +42 -42
  99. package/dist/chunks/{file-retention-fz3avstq.js → generate-c4p24wp9.js} +20 -20
  100. package/dist/chunks/{file-retention-1dmvqq8e.js → generate-c97hk87q.js} +17 -17
  101. package/dist/chunks/generate-caqvfgf5.js +511 -0
  102. package/dist/chunks/{file-retention-w1n8wyt0.js → generate-cjj6cyve.js} +19 -19
  103. package/dist/chunks/{file-retention-zqfva1zy.js → generate-cq2w5zye.js} +1 -1
  104. package/dist/chunks/{file-retention-cwrgdav8.js → generate-cwrgdav8.js} +2 -2
  105. package/dist/chunks/{file-retention-jz9sppn7.js → generate-cytwgfbf.js} +4 -4
  106. package/dist/chunks/{file-retention-6y6e3gcj.js → generate-d0fjdyyv.js} +30 -30
  107. package/dist/chunks/{file-retention-82kem97q.js → generate-d22azegw.js} +20 -20
  108. package/dist/chunks/{file-retention-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
  109. package/dist/chunks/{file-retention-gwb4hjpw.js → generate-d9ym7arr.js} +5 -5
  110. package/dist/chunks/{file-retention-vtftkppy.js → generate-db9qyw1r.js} +35 -35
  111. package/dist/chunks/{file-retention-x08t3gav.js → generate-dbp9zbdw.js} +17 -17
  112. package/dist/chunks/{file-retention-ydsespw1.js → generate-ddvn7d3w.js} +8 -8
  113. package/dist/chunks/{file-retention-7kf2nsex.js → generate-de9fn7va.js} +8 -8
  114. package/dist/chunks/{file-retention-dskmn5nd.js → generate-dnn01zm9.js} +25 -25
  115. package/dist/chunks/{file-retention-10fq91z6.js → generate-dptvw9a5.js} +32 -32
  116. package/dist/chunks/{file-retention-h6t0znmf.js → generate-dqpjcdfr.js} +9 -9
  117. package/dist/chunks/{file-retention-g6dfma3d.js → generate-drvbhkez.js} +6 -6
  118. package/dist/chunks/{file-retention-w9g7809j.js → generate-dt4hj756.js} +11 -11
  119. package/dist/chunks/{file-retention-dt77769w.js → generate-dt77769w.js} +1 -1
  120. package/dist/chunks/{file-retention-ys5044sq.js → generate-dw5es7np.js} +1 -1
  121. package/dist/chunks/{file-retention-e834z07m.js → generate-e834z07m.js} +1 -1
  122. package/dist/chunks/{file-retention-nd9x6dx5.js → generate-ea418bh9.js} +7 -7
  123. package/dist/chunks/{file-retention-hdfrs5mg.js → generate-ea54n1e7.js} +9 -9
  124. package/dist/chunks/{file-retention-3t7s1jht.js → generate-eazr4mrc.js} +23 -23
  125. package/dist/chunks/{file-retention-ep2aybfb.js → generate-ebc8470v.js} +22 -22
  126. package/dist/chunks/{file-retention-530qnn32.js → generate-eh8g1rp4.js} +54 -54
  127. package/dist/chunks/{file-retention-2hrs92et.js → generate-emg02mbg.js} +14 -14
  128. package/dist/chunks/{file-retention-nspspvnz.js → generate-eq1bfm3w.js} +23 -23
  129. package/dist/chunks/{file-retention-prdb4jtf.js → generate-erv8assh.js} +17 -17
  130. package/dist/chunks/{file-retention-jyq1zm3m.js → generate-ey7c0mj3.js} +35 -35
  131. package/dist/chunks/{file-retention-haf3v3hy.js → generate-f01y088k.js} +5 -5
  132. package/dist/chunks/{file-retention-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
  133. package/dist/chunks/{file-retention-1bazgwy0.js → generate-ffwhmgh9.js} +20 -20
  134. package/dist/chunks/{file-retention-fg9p65nk.js → generate-fg9p65nk.js} +2 -2
  135. package/dist/chunks/{file-retention-11b27yxh.js → generate-fpjnyk7v.js} +13 -13
  136. package/dist/chunks/{file-retention-wdj410na.js → generate-gbbntbvj.js} +35 -35
  137. package/dist/chunks/{file-retention-gg8p9cgs.js → generate-gg8p9cgs.js} +3 -3
  138. package/dist/chunks/{file-retention-pxsskgvr.js → generate-gq58s2jg.js} +15 -15
  139. package/dist/chunks/{file-retention-3grw85tc.js → generate-grk9sjy2.js} +11 -11
  140. package/dist/chunks/{file-retention-r8c7z53f.js → generate-h1wkcee1.js} +16 -16
  141. package/dist/chunks/{file-retention-qerk2cbg.js → generate-h50mtd3p.js} +12 -12
  142. package/dist/chunks/{file-retention-b78pvnk0.js → generate-hdfccz72.js} +18 -18
  143. package/dist/chunks/{file-retention-rnnfdfqg.js → generate-hdn2t124.js} +25 -25
  144. package/dist/chunks/{file-retention-6d987nwp.js → generate-hdv37mps.js} +31 -31
  145. package/dist/chunks/{file-retention-nwyfjcs7.js → generate-hdvssxsh.js} +8 -8
  146. package/dist/chunks/{file-retention-m37sd98t.js → generate-hfgk9wzg.js} +4 -4
  147. package/dist/chunks/{file-retention-hpg1pkwy.js → generate-hpg1pkwy.js} +1 -1
  148. package/dist/chunks/{file-retention-ymetyeqh.js → generate-hs9fnnsf.js} +11 -11
  149. package/dist/chunks/{file-retention-p2dy9dmh.js → generate-hxa57kkw.js} +16 -16
  150. package/dist/chunks/{file-retention-220xmsjv.js → generate-hy8pjzp2.js} +20 -20
  151. package/dist/chunks/{file-retention-vpm8vpz0.js → generate-hzrfc1p4.js} +3 -3
  152. package/dist/chunks/{file-retention-fd09956s.js → generate-j8k0q4w6.js} +1 -1
  153. package/dist/chunks/{file-retention-jfaecv01.js → generate-jfaecv01.js} +1 -1
  154. package/dist/chunks/{file-retention-xm94g0fx.js → generate-jj9kddkh.js} +195 -195
  155. package/dist/chunks/{file-retention-m37mrzs7.js → generate-jksqncxt.js} +10 -10
  156. package/dist/chunks/{file-retention-1xawp968.js → generate-jq3m410h.js} +4 -4
  157. package/dist/chunks/{file-retention-jtnps1zs.js → generate-jtnps1zs.js} +2 -2
  158. package/dist/chunks/{file-retention-h4v9p5rq.js → generate-jvt6ewmz.js} +3 -3
  159. package/dist/chunks/{file-retention-mqr8efz6.js → generate-jwxx7s5d.js} +9 -9
  160. package/dist/chunks/{file-retention-k814nvkf.js → generate-k814nvkf.js} +1 -1
  161. package/dist/chunks/{file-retention-bg4dmm5d.js → generate-kdj9z3kk.js} +15 -15
  162. package/dist/chunks/{file-retention-9qyfvz4m.js → generate-kg4a0hxh.js} +10 -10
  163. package/dist/chunks/{file-retention-0gbb59p9.js → generate-kjgnzevm.js} +9 -9
  164. package/dist/chunks/{file-retention-tpm8y58e.js → generate-kn1v0813.js} +36 -36
  165. package/dist/chunks/{file-retention-mz3668s9.js → generate-kq7mjshc.js} +22 -22
  166. package/dist/chunks/{file-retention-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
  167. package/dist/chunks/{file-retention-jb9hj9nr.js → generate-kw1sybbj.js} +6 -6
  168. package/dist/chunks/{file-retention-h9awvcw8.js → generate-kz9rq8ns.js} +35 -35
  169. package/dist/chunks/{file-retention-ant32n8a.js → generate-m0cfdda0.js} +17 -17
  170. package/dist/chunks/{file-retention-m5z5bky1.js → generate-m16tgpdr.js} +27 -27
  171. package/dist/chunks/{file-retention-m1714858.js → generate-m1714858.js} +1 -1
  172. package/dist/chunks/{file-retention-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{file-retention-n4q7tcga.js → generate-mkmw974x.js} +18 -18
  174. package/dist/chunks/{file-retention-e2mp0d97.js → generate-mmk7c5zv.js} +19 -19
  175. package/dist/chunks/{file-retention-hqxkkta1.js → generate-mqe7nf5n.js} +3 -3
  176. package/dist/chunks/{file-retention-ed1x3daz.js → generate-mw3ncd47.js} +21 -21
  177. package/dist/chunks/{file-retention-gk998fjy.js → generate-mybk4etn.js} +26 -26
  178. package/dist/chunks/{file-retention-4exy2tgb.js → generate-n2hv359w.js} +69 -69
  179. package/dist/chunks/{file-retention-w046pjj9.js → generate-n3hk2jtv.js} +13 -13
  180. package/dist/chunks/{file-retention-n4mbpr34.js → generate-n7xqecct.js} +49 -49
  181. package/dist/chunks/{file-retention-nah043kf.js → generate-nah043kf.js} +1 -1
  182. package/dist/chunks/{file-retention-70qgk999.js → generate-nbzxv6ct.js} +4 -4
  183. package/dist/chunks/{file-retention-11fnx5ad.js → generate-ngwmsjrv.js} +3 -3
  184. package/dist/chunks/{file-retention-3cbzjvxf.js → generate-njb5ba6d.js} +12 -12
  185. package/dist/chunks/{file-retention-05acc43v.js → generate-nm02mz5v.js} +9 -9
  186. package/dist/chunks/{file-retention-htrvxm7y.js → generate-nn2w1eqe.js} +21 -21
  187. package/dist/chunks/{file-retention-tya21j9a.js → generate-nx7gw4xs.js} +30 -30
  188. package/dist/chunks/{file-retention-akjr89gm.js → generate-nym92392.js} +3 -3
  189. package/dist/chunks/{file-retention-c0wmmjhw.js → generate-nzd678w9.js} +43 -43
  190. package/dist/chunks/{file-retention-p015t6z3.js → generate-p015t6z3.js} +2 -2
  191. package/dist/chunks/{file-retention-wdx8z5j2.js → generate-p0fjc254.js} +8 -8
  192. package/dist/chunks/{file-retention-z04zt6pc.js → generate-p10enhg4.js} +21 -21
  193. package/dist/chunks/{file-retention-0geb145b.js → generate-p3w9bnf6.js} +10 -10
  194. package/dist/chunks/{file-retention-pqz8f4xz.js → generate-p7nnq0h5.js} +11 -11
  195. package/dist/chunks/{file-retention-1yq9hg58.js → generate-p7vhpwh8.js} +5 -5
  196. package/dist/chunks/{file-retention-hwg9r3t9.js → generate-pk00nasj.js} +44 -44
  197. package/dist/chunks/{file-retention-qz7zdzmc.js → generate-pkmfc50t.js} +9 -9
  198. package/dist/chunks/{file-retention-pknna89w.js → generate-pknna89w.js} +1 -1
  199. package/dist/chunks/{file-retention-h3hvekyy.js → generate-pt5qt6br.js} +11 -11
  200. package/dist/chunks/{file-retention-97vq97zw.js → generate-pxnkq3zk.js} +9 -9
  201. package/dist/chunks/{file-retention-m4qbnc51.js → generate-q5ksxkha.js} +3 -3
  202. package/dist/chunks/{file-retention-wmrfeaxa.js → generate-q62a41c3.js} +35 -35
  203. package/dist/chunks/{file-retention-cap58psb.js → generate-q83e4r6c.js} +8 -8
  204. package/dist/chunks/{file-retention-51d35nkj.js → generate-q85rya1m.js} +6 -6
  205. package/dist/chunks/{file-retention-pdbk0b84.js → generate-qadf7jyf.js} +29 -29
  206. package/dist/chunks/{file-retention-zhvf8v5k.js → generate-qedarahg.js} +9 -9
  207. package/dist/chunks/{file-retention-3ryz99p0.js → generate-qft8hb75.js} +7 -7
  208. package/dist/chunks/{file-retention-e684jnvx.js → generate-qgt3dwxm.js} +9 -9
  209. package/dist/chunks/{file-retention-saqfpqv7.js → generate-qj7q2t7b.js} +21 -21
  210. package/dist/chunks/{file-retention-atk704ss.js → generate-qjzfdart.js} +12 -12
  211. package/dist/chunks/{file-retention-8jwdpn38.js → generate-qnz30c4x.js} +19 -19
  212. package/dist/chunks/{file-retention-qp7r0hxv.js → generate-qp7r0hxv.js} +1 -1
  213. package/dist/chunks/{file-retention-t9vygg4h.js → generate-qtjq56z8.js} +16 -16
  214. package/dist/chunks/{file-retention-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{file-retention-e0h4m4ge.js → generate-r20ydrt4.js} +4 -4
  216. package/dist/chunks/{file-retention-mc71x809.js → generate-r4dvsgaa.js} +4 -4
  217. package/dist/chunks/{file-retention-r542h3bh.js → generate-r542h3bh.js} +1 -1
  218. package/dist/chunks/{file-retention-5c35a5tr.js → generate-ra053bj0.js} +9 -9
  219. package/dist/chunks/{file-retention-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{file-retention-f9nn1sjd.js → generate-rcv4y2hr.js} +21 -21
  221. package/dist/chunks/{file-retention-bjhzkqyk.js → generate-rrad2nt9.js} +4 -4
  222. package/dist/chunks/{file-retention-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
  223. package/dist/chunks/{file-retention-7yect7x1.js → generate-rxrz6b15.js} +2 -2
  224. package/dist/chunks/{file-retention-aw4q487d.js → generate-rzx2fdc9.js} +25 -25
  225. package/dist/chunks/{file-retention-vh7hpp0n.js → generate-s2zs9ezy.js} +11 -11
  226. package/dist/chunks/{file-retention-nbbcay66.js → generate-s67dn7c0.js} +11 -11
  227. package/dist/chunks/{file-retention-bewng5xt.js → generate-s7kbkgr5.js} +12 -12
  228. package/dist/chunks/{file-retention-qp0h8mz4.js → generate-s7wcbp6p.js} +33 -33
  229. package/dist/chunks/{file-retention-zw4pk1bw.js → generate-s857ash9.js} +5 -5
  230. package/dist/chunks/{file-retention-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
  231. package/dist/chunks/{file-retention-79gnnek8.js → generate-sbse9r81.js} +12 -12
  232. package/dist/chunks/{file-retention-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{file-retention-d2887f8n.js → generate-ssfehs1z.js} +4 -4
  234. package/dist/chunks/{file-retention-q2a1qg4p.js → generate-stzr70w7.js} +5 -5
  235. package/dist/chunks/{file-retention-svcy3p9a.js → generate-svcy3p9a.js} +1 -1
  236. package/dist/chunks/{file-retention-qjdvspq8.js → generate-t2wj15q2.js} +4 -4
  237. package/dist/chunks/{file-retention-va65z9ez.js → generate-t763r6q6.js} +9 -9
  238. package/dist/chunks/{file-retention-m8d78p9r.js → generate-tc7v1aj8.js} +3 -3
  239. package/dist/chunks/{file-retention-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
  240. package/dist/chunks/{file-retention-xmt6n58z.js → generate-trfczban.js} +48 -48
  241. package/dist/chunks/{file-retention-twssxy5n.js → generate-twssxy5n.js} +2 -2
  242. package/dist/chunks/{file-retention-6mc65ctj.js → generate-v1cyqkdh.js} +24 -24
  243. package/dist/chunks/{file-retention-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
  244. package/dist/chunks/{file-retention-wevd75am.js → generate-v4pzw4ea.js} +9 -9
  245. package/dist/chunks/{file-retention-veqvce7d.js → generate-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-retention-00ensp01.js → generate-vpn990f9.js} +7 -7
  247. package/dist/chunks/{file-retention-8r9nj4s8.js → generate-vsnnaxjq.js} +4 -4
  248. package/dist/chunks/{file-retention-3gxdekad.js → generate-vyebj7xm.js} +5 -5
  249. package/dist/chunks/{file-retention-fng6wk28.js → generate-vyv3g1eh.js} +11 -11
  250. package/dist/chunks/{file-retention-yes5e36g.js → generate-w2d0d7v1.js} +13 -13
  251. package/dist/chunks/{file-retention-5enarcya.js → generate-w2eysc6j.js} +6 -6
  252. package/dist/chunks/{file-retention-9q8g9sv8.js → generate-w35wzz9x.js} +4 -4
  253. package/dist/chunks/{file-retention-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{file-retention-8dnm6rqe.js → generate-w5k8ndhw.js} +35 -35
  255. package/dist/chunks/{file-retention-ed1jg8md.js → generate-w7m8a9sj.js} +32 -32
  256. package/dist/chunks/{file-retention-7hgt5e5w.js → generate-w84j477y.js} +3 -3
  257. package/dist/chunks/{file-retention-wcjz4gw8.js → generate-wa69088s.js} +15 -15
  258. package/dist/chunks/{file-retention-z6te0x2y.js → generate-wagm36fb.js} +30 -30
  259. package/dist/chunks/{file-retention-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
  260. package/dist/chunks/{file-retention-epbqh0vp.js → generate-wby0kqsc.js} +4 -4
  261. package/dist/chunks/{file-retention-wd87259q.js → generate-wd87259q.js} +1 -1
  262. package/dist/chunks/{file-retention-d6bett94.js → generate-wkz62ntz.js} +28 -28
  263. package/dist/chunks/{file-retention-wnhgecwx.js → generate-wnhgecwx.js} +1 -1
  264. package/dist/chunks/{file-retention-w687dnns.js → generate-wr3re1en.js} +4 -4
  265. package/dist/chunks/{file-retention-e486tjyp.js → generate-wwc0wvm8.js} +5 -5
  266. package/dist/chunks/{file-retention-dnphr175.js → generate-x0cjh2rw.js} +11 -11
  267. package/dist/chunks/{file-retention-284vr7mk.js → generate-x21tw6yf.js} +5 -5
  268. package/dist/chunks/{file-retention-ek5b82yj.js → generate-x5aby0mh.js} +36 -36
  269. package/dist/chunks/{file-retention-ptdgs7e1.js → generate-xd77wxb5.js} +14 -14
  270. package/dist/chunks/{file-retention-xkjzrxhz.js → generate-xh6s06j0.js} +17 -17
  271. package/dist/chunks/{file-retention-7c1hejwc.js → generate-xpfsdcm6.js} +37 -37
  272. package/dist/chunks/{file-retention-ksbsws88.js → generate-xsajkasw.js} +12 -12
  273. package/dist/chunks/{file-retention-4app0d5h.js → generate-xtbe8yyk.js} +22 -22
  274. package/dist/chunks/{file-retention-xaz3vqte.js → generate-y3x0evb5.js} +8 -8
  275. package/dist/chunks/{file-retention-2ny0ezjb.js → generate-y6t48rzr.js} +24 -24
  276. package/dist/chunks/{file-retention-v5h34zxn.js → generate-yadhmhsa.js} +6 -6
  277. package/dist/chunks/{file-retention-yara3q77.js → generate-yara3q77.js} +2 -2
  278. package/dist/chunks/{file-retention-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
  279. package/dist/chunks/generate-ygprdr8p.js +257 -0
  280. package/dist/chunks/{file-retention-858yc3fz.js → generate-ymvnz4e6.js} +17 -17
  281. package/dist/chunks/{file-retention-213ntr4e.js → generate-ypv1jkb1.js} +30 -30
  282. package/dist/chunks/{file-retention-01cw0x8c.js → generate-yxr9byb3.js} +32 -32
  283. package/dist/chunks/{file-retention-mxhqtbmm.js → generate-yzgm5439.js} +12 -12
  284. package/dist/chunks/{file-retention-2jznjq70.js → generate-z03xx0zs.js} +14 -14
  285. package/dist/chunks/{file-retention-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{file-retention-xwfc5a9y.js → generate-z2qd981m.js} +30 -30
  287. package/dist/chunks/{file-retention-z38nccrw.js → generate-z38nccrw.js} +1 -1
  288. package/dist/chunks/{file-retention-8h66evbt.js → generate-zcsbj68c.js} +30 -30
  289. package/dist/chunks/{file-retention-zgkm4kzm.js → generate-zgkm4kzm.js} +3 -3
  290. package/dist/chunks/{file-retention-8p9z5v1r.js → generate-zjcdctqk.js} +23 -23
  291. package/dist/chunks/{file-retention-17qfb74n.js → generate-zkhxg2te.js} +11 -11
  292. package/dist/chunks/{file-retention-qymv4vqy.js → generate-zp10wf5q.js} +6 -6
  293. package/dist/chunks/{file-retention-d0hcg7jd.js → generate-ztfb9jsa.js} +28 -28
  294. package/dist/chunks/{file-retention-abwhxwyy.js → generate-zzc7r4pv.js} +3 -3
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +7 -7
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +91 -91
  300. package/dist/config/discovery.js +92 -92
  301. package/dist/config/integration.js +3 -3
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +121 -121
  305. package/dist/config/plugin/command.js +219 -219
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +121 -121
  313. package/dist/config/plugin/mcp.js +128 -128
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +121 -121
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +1 -1
  320. package/dist/config/plugin/skill.js +143 -143
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +124 -124
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +120 -120
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +124 -124
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +87 -87
  332. package/dist/database/database.js +72 -72
  333. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  334. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +13 -13
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +14 -14
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +100 -100
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +381 -381
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +1 -1
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -101
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +103 -103
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +3 -3
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +76 -76
  428. package/dist/file-access.js +148 -148
  429. package/dist/file-mutation.js +100 -100
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +83 -83
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +232 -232
  438. package/dist/filesystem/protected.js +3 -3
  439. package/dist/filesystem/search.js +107 -107
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +9 -9
  442. package/dist/filesystem.js +110 -110
  443. package/dist/form.js +90 -90
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +95 -95
  446. package/dist/generate.js +115 -115
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +107 -107
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon-normalize.js +1 -1
  468. package/dist/image/photon-worker.js +1 -1
  469. package/dist/image/photon.js +4 -4
  470. package/dist/image.js +6 -6
  471. package/dist/instance/service.js +5 -5
  472. package/dist/instance.js +372 -372
  473. package/dist/instruction-discovery.js +90 -90
  474. package/dist/instructions/builtins.js +95 -95
  475. package/dist/instructions/index.js +1 -1
  476. package/dist/integration/connection.js +3 -3
  477. package/dist/integration.js +95 -95
  478. package/dist/job.js +82 -82
  479. package/dist/kv/sql.js +2 -2
  480. package/dist/kv.js +79 -79
  481. package/dist/location-activity.js +163 -163
  482. package/dist/location-lifecycle.js +142 -142
  483. package/dist/location-service-map.js +94 -94
  484. package/dist/location-services.js +369 -369
  485. package/dist/location.js +97 -97
  486. package/dist/managed-policy.js +3 -3
  487. package/dist/mcp/client.js +99 -99
  488. package/dist/mcp/index.js +117 -117
  489. package/dist/mcp/instructions.js +168 -168
  490. package/dist/mcp/oauth.js +84 -84
  491. package/dist/mcp/socket-client.js +1 -1
  492. package/dist/mcp/stdio.js +98 -98
  493. package/dist/mime.js +1 -1
  494. package/dist/modal/models.js +107 -107
  495. package/dist/model-resolver.js +107 -107
  496. package/dist/model-retry.js +1 -1
  497. package/dist/model.js +108 -108
  498. package/dist/models-dev/v1.js +1 -1
  499. package/dist/models-dev.js +116 -116
  500. package/dist/oauth/page.js +1 -1
  501. package/dist/permission/saved.js +84 -84
  502. package/dist/permission/sql.js +5 -5
  503. package/dist/permission.js +139 -139
  504. package/dist/persistent-pty/binary.bun.js +1 -1
  505. package/dist/persistent-pty/daemon.js +1 -1
  506. package/dist/persistent-pty/index.js +96 -96
  507. package/dist/persistent-pty/pty-binding.js +1 -1
  508. package/dist/persistent-pty.js +81 -81
  509. package/dist/plugin/agent.js +80 -80
  510. package/dist/plugin/command.js +108 -108
  511. package/dist/plugin/hooks.js +5 -5
  512. package/dist/plugin/host.js +225 -225
  513. package/dist/plugin/identity.js +5 -5
  514. package/dist/plugin/instance.js +5 -5
  515. package/dist/plugin/internal.js +342 -342
  516. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  517. package/dist/plugin/models-dev.js +105 -105
  518. package/dist/plugin/module.js +123 -123
  519. package/dist/plugin/optimize.js +4 -4
  520. package/dist/plugin/plan.js +138 -138
  521. package/dist/plugin/promise.js +1 -1
  522. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  523. package/dist/plugin/provider/azure.js +121 -121
  524. package/dist/plugin/provider/cerebras.js +1 -1
  525. package/dist/plugin/provider/chatgpt.js +121 -121
  526. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  527. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  528. package/dist/plugin/provider/cohere.js +2 -2
  529. package/dist/plugin/provider/configured.js +117 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +101 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/factory.js +1 -1
  534. package/dist/plugin/provider/github-copilot.js +103 -103
  535. package/dist/plugin/provider/gitlab.js +101 -101
  536. package/dist/plugin/provider/google-vertex.js +118 -118
  537. package/dist/plugin/provider/kilo.js +1 -1
  538. package/dist/plugin/provider/llmgateway.js +84 -84
  539. package/dist/plugin/provider/lmstudio.js +130 -130
  540. package/dist/plugin/provider/local.js +127 -127
  541. package/dist/plugin/provider/modal.js +100 -100
  542. package/dist/plugin/provider/neon.js +1 -1
  543. package/dist/plugin/provider/nvidia.js +1 -1
  544. package/dist/plugin/provider/ollama.js +130 -130
  545. package/dist/plugin/provider/openai-context-caps.js +98 -98
  546. package/dist/plugin/provider/openai.js +123 -123
  547. package/dist/plugin/provider/opencode.js +124 -124
  548. package/dist/plugin/provider/openrouter.js +99 -99
  549. package/dist/plugin/provider/perplexity.js +2 -2
  550. package/dist/plugin/provider/poe.js +85 -85
  551. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  552. package/dist/plugin/provider/sap-ai-core.js +99 -99
  553. package/dist/plugin/provider/sdk-factory.js +1 -1
  554. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  555. package/dist/plugin/provider/vercel.js +98 -98
  556. package/dist/plugin/provider/vllm.js +128 -128
  557. package/dist/plugin/provider/xai.js +99 -99
  558. package/dist/plugin/provider/zenmux.js +1 -1
  559. package/dist/plugin/provider.js +175 -175
  560. package/dist/plugin/sdk.js +80 -80
  561. package/dist/plugin/service.js +3 -3
  562. package/dist/plugin/skill.js +141 -141
  563. package/dist/plugin/source-directory.js +1 -1
  564. package/dist/plugin/supervisor.js +361 -361
  565. package/dist/plugin/tool-input-repair.js +4 -4
  566. package/dist/plugin/update.js +6 -6
  567. package/dist/plugin/vcs/git.js +94 -94
  568. package/dist/plugin/vcs/hg.js +94 -94
  569. package/dist/plugin/verbosity.js +101 -101
  570. package/dist/plugin/warming.js +119 -119
  571. package/dist/plugin/websearch/exa.js +7 -7
  572. package/dist/plugin/websearch/firecrawl.js +8 -8
  573. package/dist/plugin/websearch/index.js +9 -9
  574. package/dist/plugin/websearch/mcp.js +4 -4
  575. package/dist/plugin/websearch/parallel.js +8 -8
  576. package/dist/plugin/websearch/tavily.js +6 -6
  577. package/dist/plugin/websearch/tinyfish.js +8 -8
  578. package/dist/plugin.js +232 -232
  579. package/dist/project/icon.js +5 -5
  580. package/dist/project/schema.js +8 -8
  581. package/dist/project/sql.js +4 -4
  582. package/dist/project.js +98 -98
  583. package/dist/provider.js +107 -107
  584. package/dist/pty/protocol.js +1 -1
  585. package/dist/pty/ticket.js +1 -1
  586. package/dist/pty.js +104 -104
  587. package/dist/reference/instructions.js +96 -96
  588. package/dist/reference.js +98 -98
  589. package/dist/repository-cache.js +88 -88
  590. package/dist/repository.js +1 -1
  591. package/dist/ripgrep/binary.js +2 -2
  592. package/dist/ripgrep.js +105 -105
  593. package/dist/rpc.js +94 -94
  594. package/dist/schema.js +1 -1
  595. package/dist/session/affinity.js +1 -1
  596. package/dist/session/blob.js +120 -120
  597. package/dist/session/command.js +80 -80
  598. package/dist/session/compaction.js +164 -164
  599. package/dist/session/context.js +188 -188
  600. package/dist/session/diff.js +96 -96
  601. package/dist/session/environment.js +5 -5
  602. package/dist/session/error.js +3 -3
  603. package/dist/session/event.js +1 -1
  604. package/dist/session/execution/restart.js +228 -228
  605. package/dist/session/execution.js +152 -152
  606. package/dist/session/generate.js +190 -190
  607. package/dist/session/history.js +127 -127
  608. package/dist/session/inbox.js +138 -138
  609. package/dist/session/info.js +3 -3
  610. package/dist/session/instruction-entry.js +85 -85
  611. package/dist/session/instruction-state.js +8 -8
  612. package/dist/session/instructions.js +132 -132
  613. package/dist/session/message-updater.js +2 -2
  614. package/dist/session/message.js +1 -1
  615. package/dist/session/model-request.js +155 -155
  616. package/dist/session/model-transport.js +9 -9
  617. package/dist/session/move.js +156 -156
  618. package/dist/session/projector.js +134 -134
  619. package/dist/session/prompt.js +140 -140
  620. package/dist/session/recent-text.js +1 -1
  621. package/dist/session/revert.js +130 -130
  622. package/dist/session/run-coordinator.js +3 -3
  623. package/dist/session/runner/index.js +3 -3
  624. package/dist/session/runner/llm.js +238 -238
  625. package/dist/session/runner/max-steps.js +1 -1
  626. package/dist/session/runner/model.js +108 -108
  627. package/dist/session/runner/publish-llm-event.js +141 -141
  628. package/dist/session/runner/retry.js +5 -5
  629. package/dist/session/runner/step.js +154 -154
  630. package/dist/session/runner/to-llm-message.js +128 -128
  631. package/dist/session/schema.js +5 -5
  632. package/dist/session/session.js +172 -172
  633. package/dist/session/shell.js +135 -135
  634. package/dist/session/skill.js +139 -139
  635. package/dist/session/sql.js +5 -5
  636. package/dist/session/stats.js +79 -79
  637. package/dist/session/store.js +133 -133
  638. package/dist/session/stored.js +2 -2
  639. package/dist/session/subagent-completion.js +1 -1
  640. package/dist/session/subagent-job.js +219 -219
  641. package/dist/session/system-prompt.js +3 -3
  642. package/dist/session/title.js +192 -192
  643. package/dist/session/to-session-error.js +140 -140
  644. package/dist/session/transfer.js +224 -224
  645. package/dist/session/usage.js +1 -1
  646. package/dist/session.js +221 -221
  647. package/dist/shell/parse.js +6 -6
  648. package/dist/shell/result.js +1 -1
  649. package/dist/shell/scan.js +1 -1
  650. package/dist/shell/select.js +13 -13
  651. package/dist/shell.js +135 -135
  652. package/dist/skill/discovery.js +4 -4
  653. package/dist/skill/instructions.js +143 -143
  654. package/dist/skill.js +150 -150
  655. package/dist/snapshot.js +99 -99
  656. package/dist/state.js +1 -1
  657. package/dist/tool/html-markdown.js +1 -1
  658. package/dist/tool/http-body.js +1 -1
  659. package/dist/tool/mcp.js +167 -167
  660. package/dist/tool/plugin/edit.js +156 -156
  661. package/dist/tool/plugin/file-diff.js +1 -1
  662. package/dist/tool/plugin/glob.js +160 -160
  663. package/dist/tool/plugin/grep.js +160 -160
  664. package/dist/tool/plugin/mcp-resource.js +154 -154
  665. package/dist/tool/plugin/opencode.js +153 -153
  666. package/dist/tool/plugin/patch.js +152 -152
  667. package/dist/tool/plugin/question.js +140 -140
  668. package/dist/tool/plugin/read.js +159 -159
  669. package/dist/tool/plugin/shell.js +218 -218
  670. package/dist/tool/plugin/skill.js +149 -149
  671. package/dist/tool/plugin/subagent.js +226 -226
  672. package/dist/tool/plugin/todo.js +145 -145
  673. package/dist/tool/plugin/webfetch.js +149 -149
  674. package/dist/tool/plugin/websearch.js +145 -145
  675. package/dist/tool/plugin/write.js +158 -158
  676. package/dist/tool/read-filesystem.js +108 -108
  677. package/dist/tool/runtime.js +1 -1
  678. package/dist/tool-output.js +7 -7
  679. package/dist/tool.js +14 -14
  680. package/dist/usage-limits.js +93 -93
  681. package/dist/util/error-summary.js +1 -1
  682. package/dist/util/git-executable.js +3 -3
  683. package/dist/util/lazy.js +1 -1
  684. package/dist/util/slug.js +1 -1
  685. package/dist/util/token.js +1 -1
  686. package/dist/util/which.js +1 -1
  687. package/dist/util/wildcard.js +1 -1
  688. package/dist/v1/config/agent.js +7 -7
  689. package/dist/v1/config/command.js +5 -5
  690. package/dist/v1/config/mcp.js +4 -4
  691. package/dist/v1/config/migrate.js +100 -100
  692. package/dist/v1/config/permission.js +3 -3
  693. package/dist/v1/config/plugin.js +3 -3
  694. package/dist/v1/config/provider-options.js +1 -1
  695. package/dist/v1/config/provider.js +4 -4
  696. package/dist/variant.js +99 -99
  697. package/dist/vcs/patch.js +1 -1
  698. package/dist/vcs.js +97 -97
  699. package/dist/voice.js +92 -92
  700. package/dist/websearch.js +90 -90
  701. package/dist/wellknown/plugin.js +82 -82
  702. package/dist/wellknown.js +87 -87
  703. package/dist/workspace/driver.js +7 -7
  704. package/dist/workspace/sql.js +1 -1
  705. package/dist/workspace.js +88 -88
  706. package/dist/worktree/directory.js +2 -2
  707. package/dist/worktree/git.js +9 -9
  708. package/dist/worktree/sql.js +5 -5
  709. package/dist/worktree/strategies.js +97 -97
  710. package/dist/worktree.js +102 -102
  711. package/package.json +8 -8
  712. package/dist/chunks/file-retention-f8ma18fn.js +0 -18
  713. package/dist/chunks/file-retention-fb3r9cnw.js +0 -26
  714. package/dist/chunks/file-retention-p44nm9sv.js +0 -257
  715. package/dist/chunks/file-retention-sd7aqspp.js +0 -511
  716. /package/dist/chunks/{file-retention-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  717. /package/dist/chunks/{file-retention-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  718. /package/dist/chunks/{file-retention-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  719. /package/dist/chunks/{file-retention-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  720. /package/dist/chunks/{file-retention-1jakw16s.js → generate-1jakw16s.js} +0 -0
  721. /package/dist/chunks/{file-retention-24dcb14g.js → generate-24dcb14g.js} +0 -0
  722. /package/dist/chunks/{file-retention-2710q6r3.js → generate-2710q6r3.js} +0 -0
  723. /package/dist/chunks/{file-retention-2bv980vf.js → generate-2bv980vf.js} +0 -0
  724. /package/dist/chunks/{file-retention-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  725. /package/dist/chunks/{file-retention-359p4xyc.js → generate-359p4xyc.js} +0 -0
  726. /package/dist/chunks/{file-retention-3asan66x.js → generate-3asan66x.js} +0 -0
  727. /package/dist/chunks/{file-retention-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  728. /package/dist/chunks/{file-retention-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  729. /package/dist/chunks/{file-retention-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  730. /package/dist/chunks/{file-retention-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  731. /package/dist/chunks/{file-retention-4m86bj6y.js → generate-4m86bj6y.js} +0 -0
  732. /package/dist/chunks/{file-retention-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  733. /package/dist/chunks/{file-retention-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  734. /package/dist/chunks/{file-retention-53557ph1.js → generate-53557ph1.js} +0 -0
  735. /package/dist/chunks/{file-retention-550bvhaj.js → generate-550bvhaj.js} +0 -0
  736. /package/dist/chunks/{file-retention-5w3e23ze.js → generate-5w3e23ze.js} +0 -0
  737. /package/dist/chunks/{file-retention-6prwharc.js → generate-6prwharc.js} +0 -0
  738. /package/dist/chunks/{file-retention-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  739. /package/dist/chunks/{file-retention-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  740. /package/dist/chunks/{file-retention-7m9af43g.js → generate-7m9af43g.js} +0 -0
  741. /package/dist/chunks/{file-retention-822emrt2.js → generate-822emrt2.js} +0 -0
  742. /package/dist/chunks/{file-retention-84wd9syh.js → generate-84wd9syh.js} +0 -0
  743. /package/dist/chunks/{file-retention-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  744. /package/dist/chunks/{file-retention-8n3pysct.js → generate-8n3pysct.js} +0 -0
  745. /package/dist/chunks/{file-retention-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  746. /package/dist/chunks/{file-retention-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  747. /package/dist/chunks/{file-retention-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  748. /package/dist/chunks/{file-retention-a058387c.js → generate-a058387c.js} +0 -0
  749. /package/dist/chunks/{file-retention-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  750. /package/dist/chunks/{file-retention-af5trqkr.js → generate-af5trqkr.js} +0 -0
  751. /package/dist/chunks/{file-retention-afrmfg78.js → generate-afrmfg78.js} +0 -0
  752. /package/dist/chunks/{file-retention-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  753. /package/dist/chunks/{file-retention-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  754. /package/dist/chunks/{file-retention-beh6qq61.js → generate-beh6qq61.js} +0 -0
  755. /package/dist/chunks/{file-retention-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  756. /package/dist/chunks/{file-retention-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  757. /package/dist/chunks/{file-retention-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  758. /package/dist/chunks/{file-retention-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
  759. /package/dist/chunks/{file-retention-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  760. /package/dist/chunks/{file-retention-d9fn303g.js → generate-d9fn303g.js} +0 -0
  761. /package/dist/chunks/{file-retention-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  762. /package/dist/chunks/{file-retention-dajrwvna.js → generate-dajrwvna.js} +0 -0
  763. /package/dist/chunks/{file-retention-dap0rakb.js → generate-dap0rakb.js} +0 -0
  764. /package/dist/chunks/{file-retention-df08tz66.js → generate-df08tz66.js} +0 -0
  765. /package/dist/chunks/{file-retention-dy18nga0.js → generate-dy18nga0.js} +0 -0
  766. /package/dist/chunks/{file-retention-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  767. /package/dist/chunks/{file-retention-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  768. /package/dist/chunks/{file-retention-ec1grn59.js → generate-ec1grn59.js} +0 -0
  769. /package/dist/chunks/{file-retention-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  770. /package/dist/chunks/{file-retention-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  771. /package/dist/chunks/{file-retention-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  772. /package/dist/chunks/{file-retention-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  773. /package/dist/chunks/{file-retention-faypxj3z.js → generate-faypxj3z.js} +0 -0
  774. /package/dist/chunks/{file-retention-fd410y7t.js → generate-fd410y7t.js} +0 -0
  775. /package/dist/chunks/{file-retention-fkpq3x5p.js → generate-fkpq3x5p.js} +0 -0
  776. /package/dist/chunks/{file-retention-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  777. /package/dist/chunks/{file-retention-g86h250q.js → generate-g86h250q.js} +0 -0
  778. /package/dist/chunks/{file-retention-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  779. /package/dist/chunks/{file-retention-gftt206x.js → generate-gftt206x.js} +0 -0
  780. /package/dist/chunks/{file-retention-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  781. /package/dist/chunks/{file-retention-hk9envan.js → generate-hk9envan.js} +0 -0
  782. /package/dist/chunks/{file-retention-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  783. /package/dist/chunks/{file-retention-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  784. /package/dist/chunks/{file-retention-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  785. /package/dist/chunks/{file-retention-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  786. /package/dist/chunks/{file-retention-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  787. /package/dist/chunks/{file-retention-jwr30sdr.js → generate-jwr30sdr.js} +0 -0
  788. /package/dist/chunks/{file-retention-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  789. /package/dist/chunks/{file-retention-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  790. /package/dist/chunks/{file-retention-m18g726c.js → generate-m18g726c.js} +0 -0
  791. /package/dist/chunks/{file-retention-mp448xyj.js → generate-mp448xyj.js} +0 -0
  792. /package/dist/chunks/{file-retention-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  793. /package/dist/chunks/{file-retention-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  794. /package/dist/chunks/{file-retention-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  795. /package/dist/chunks/{file-retention-ncqqe42p.js → generate-ncqqe42p.js} +0 -0
  796. /package/dist/chunks/{file-retention-njntx4h6.js → generate-njntx4h6.js} +0 -0
  797. /package/dist/chunks/{file-retention-p71gwv9c.js → generate-p71gwv9c.js} +0 -0
  798. /package/dist/chunks/{file-retention-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  799. /package/dist/chunks/{file-retention-q74kybfr.js → generate-q74kybfr.js} +0 -0
  800. /package/dist/chunks/{file-retention-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  801. /package/dist/chunks/{file-retention-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  802. /package/dist/chunks/{file-retention-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  803. /package/dist/chunks/{file-retention-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  804. /package/dist/chunks/{file-retention-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  805. /package/dist/chunks/{file-retention-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  806. /package/dist/chunks/{file-retention-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  807. /package/dist/chunks/{file-retention-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  808. /package/dist/chunks/{file-retention-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  809. /package/dist/chunks/{file-retention-w803qqfp.js → generate-w803qqfp.js} +0 -0
  810. /package/dist/chunks/{file-retention-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  811. /package/dist/chunks/{file-retention-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  812. /package/dist/chunks/{file-retention-wtztk69x.js → generate-wtztk69x.js} +0 -0
  813. /package/dist/chunks/{file-retention-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  814. /package/dist/chunks/{file-retention-x61499pn.js → generate-x61499pn.js} +0 -0
  815. /package/dist/chunks/{file-retention-y44na4kk.js → generate-y44na4kk.js} +0 -0
  816. /package/dist/chunks/{file-retention-y8f7s663.js → generate-y8f7s663.js} +0 -0
  817. /package/dist/chunks/{file-retention-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  818. /package/dist/chunks/{file-retention-ym463w8f.js → generate-ym463w8f.js} +0 -0
  819. /package/dist/chunks/{file-retention-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  820. /package/dist/chunks/{file-retention-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -0,0 +1,257 @@
1
+ import {
2
+ node82
3
+ } from "./generate-ebc8470v.js";
4
+ import {
5
+ node87
6
+ } from "./generate-v1cyqkdh.js";
7
+ import {
8
+ node85
9
+ } from "./generate-ztfb9jsa.js";
10
+ import {
11
+ node79,
12
+ boundNode2
13
+ } from "./generate-ymvnz4e6.js";
14
+ import {
15
+ node77
16
+ } from "./generate-wagm36fb.js";
17
+ import {
18
+ node75
19
+ } from "./generate-xsajkasw.js";
20
+ import {
21
+ node76
22
+ } from "./generate-7c4ttkny.js";
23
+ import {
24
+ node88
25
+ } from "./generate-1j9w4y6h.js";
26
+ import {
27
+ configured8,
28
+ node66
29
+ } from "./generate-9n9p4xt1.js";
30
+ import {
31
+ node53
32
+ } from "./generate-91h8br7e.js";
33
+ import {
34
+ node18
35
+ } from "./generate-ra053bj0.js";
36
+ import {
37
+ node26
38
+ } from "./generate-gq58s2jg.js";
39
+ import {
40
+ node49
41
+ } from "./generate-9vpjb0mc.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node48
45
+ } from "./generate-nx7gw4xs.js";
46
+ import {
47
+ node74
48
+ } from "./generate-1m60qraa.js";
49
+ import {
50
+ node29
51
+ } from "./generate-ypv1jkb1.js";
52
+ import {
53
+ node16
54
+ } from "./generate-mmk7c5zv.js";
55
+ import {
56
+ node84
57
+ } from "./generate-nn2w1eqe.js";
58
+ import {
59
+ node47
60
+ } from "./generate-dqpjcdfr.js";
61
+ import {
62
+ node43
63
+ } from "./generate-n7xqecct.js";
64
+ import {
65
+ Service56,
66
+ node59
67
+ } from "./generate-q85rya1m.js";
68
+ import {
69
+ node65
70
+ } from "./generate-202bxvr4.js";
71
+ import {
72
+ node61
73
+ } from "./generate-s7wcbp6p.js";
74
+ import {
75
+ node60
76
+ } from "./generate-xh6s06j0.js";
77
+ import {
78
+ configured7,
79
+ node56
80
+ } from "./generate-qj7q2t7b.js";
81
+ import {
82
+ node40
83
+ } from "./generate-n3hk2jtv.js";
84
+ import {
85
+ node46
86
+ } from "./generate-zjcdctqk.js";
87
+ import {
88
+ node69
89
+ } from "./generate-vyv3g1eh.js";
90
+ import {
91
+ node42
92
+ } from "./generate-9hykb5cg.js";
93
+ import {
94
+ node41
95
+ } from "./generate-gbbntbvj.js";
96
+ import {
97
+ node44
98
+ } from "./generate-8wntc457.js";
99
+ import {
100
+ node34
101
+ } from "./generate-hxa57kkw.js";
102
+ import {
103
+ node45
104
+ } from "./generate-3vj30g40.js";
105
+ import {
106
+ node36
107
+ } from "./generate-c4p24wp9.js";
108
+ import {
109
+ node33
110
+ } from "./generate-8yty72zd.js";
111
+ import {
112
+ node78
113
+ } from "./generate-yxr9byb3.js";
114
+ import {
115
+ node73
116
+ } from "./generate-qnz30c4x.js";
117
+ import {
118
+ node51
119
+ } from "./generate-9wzq089f.js";
120
+ import {
121
+ node20
122
+ } from "./generate-3e5vr4ez.js";
123
+ import {
124
+ node28
125
+ } from "./generate-p10enhg4.js";
126
+ import {
127
+ node25
128
+ } from "./generate-hdn2t124.js";
129
+ import {
130
+ node24
131
+ } from "./generate-6whdpt6t.js";
132
+ import {
133
+ node19
134
+ } from "./generate-9746xxpe.js";
135
+ import {
136
+ node4
137
+ } from "./generate-z2qd981m.js";
138
+ import {
139
+ Service15,
140
+ node17
141
+ } from "./generate-7q0gn4vw.js";
142
+ import {
143
+ node21
144
+ } from "./generate-rzx2fdc9.js";
145
+ import {
146
+ node9,
147
+ bound2
148
+ } from "./generate-ddvn7d3w.js";
149
+ import {
150
+ node11
151
+ } from "./generate-bxgg086j.js";
152
+ import {
153
+ node14
154
+ } from "./generate-dbp9zbdw.js";
155
+ import {
156
+ node5
157
+ } from "./generate-xpfsdcm6.js";
158
+ import {
159
+ node27
160
+ } from "./generate-4z2wtcvt.js";
161
+ import {
162
+ node3
163
+ } from "./generate-9wmr3sd2.js";
164
+ import {
165
+ node2
166
+ } from "./generate-n2hv359w.js";
167
+ import {
168
+ __export
169
+ } from "./generate-9rqn6x4v.js";
170
+
171
+ // src/instance.ts
172
+ var exports_instance = {};
173
+ __export(exports_instance, {
174
+ Instance: () => exports_instance,
175
+ Service: () => Service56,
176
+ graph: () => graph2,
177
+ layer: () => layer2,
178
+ node: () => node59
179
+ });
180
+ import { Context, Effect, Layer } from "effect";
181
+ import { LayerNode } from "@opencode/util/effect/layer-node";
182
+ import { Node } from "@opencode/util/effect/app-node";
183
+ var nodes = [
184
+ node79,
185
+ node17,
186
+ node53,
187
+ node66,
188
+ node82,
189
+ node88,
190
+ node44,
191
+ node20,
192
+ node25,
193
+ node85,
194
+ node77,
195
+ node76,
196
+ node74,
197
+ node75,
198
+ node19,
199
+ node65,
200
+ node9,
201
+ node5,
202
+ node24,
203
+ node49,
204
+ node48,
205
+ node73,
206
+ node27,
207
+ node51,
208
+ node45,
209
+ node40,
210
+ node56,
211
+ node21,
212
+ node18,
213
+ node26,
214
+ node43,
215
+ node61,
216
+ node46,
217
+ node69,
218
+ node47,
219
+ node36,
220
+ node34,
221
+ node87,
222
+ node29,
223
+ node16,
224
+ node84,
225
+ node42,
226
+ node41,
227
+ node14,
228
+ node60,
229
+ node11,
230
+ node3,
231
+ node33,
232
+ node78,
233
+ node2,
234
+ node28,
235
+ node4
236
+ ];
237
+ var graph2 = LayerNode.group(nodes);
238
+ var vanillaReplacements = [
239
+ node66.replace(configured8({ project: false, global: false })),
240
+ node56.replace(configured7({ project: false, global: false }))
241
+ ];
242
+ function layer2(ref, options = {}) {
243
+ const startedAt = performance.now();
244
+ const replacements = [
245
+ ...options.discovery === false ? vanillaReplacements : [],
246
+ ...options.replacements ?? [],
247
+ node79.replace(boundNode2(ref)),
248
+ node9.replace(bound2(options.plugins ?? []))
249
+ ];
250
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service15).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
251
+ directory: ref.directory,
252
+ workspaceID: ref.workspaceID,
253
+ durationMs: Math.round(performance.now() - startedAt)
254
+ })));
255
+ }
256
+
257
+ export { graph2, layer2, exports_instance };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./file-retention-xmt6n58z.js";
2
+ Service76,
3
+ node80
4
+ } from "./generate-trfczban.js";
5
5
  import {
6
6
  __export
7
- } from "./file-retention-9rqn6x4v.js";
7
+ } from "./generate-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info28,
12
+ Info: () => Info21,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref5,
15
- Service: () => Service82,
14
+ Ref: () => Ref4,
15
+ Service: () => Service75,
16
16
  boundNode: () => boundNode2,
17
- node: () => node86,
17
+ node: () => node79,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info28, Ref as Ref5, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info21, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service82 extends Context.Service()("@opencode/Location") {
24
+ class Service75 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node86 = LayerNode.unbound(Service82, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
28
- const project = yield* Service83;
26
+ var node79 = LayerNode.unbound(Service75, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service75, Effect.gen(function* () {
28
+ const project = yield* Service76;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service82.of({
30
+ return Service75.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service82,
38
+ service: Service75,
39
39
  layer: layer(ref),
40
- deps: [node87]
40
+ deps: [node80]
41
41
  });
42
42
 
43
- export { Info28, Ref5, response2, Service82, node86, boundNode2, exports_location };
43
+ export { Info21, Ref4, response2, Service75, node79, boundNode2, exports_location };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./file-retention-p015t6z3.js";
4
+ } from "./generate-p015t6z3.js";
5
5
  import {
6
- Service70,
7
- node73
8
- } from "./file-retention-6pnx88k5.js";
6
+ Service72,
7
+ node76
8
+ } from "./generate-7c4ttkny.js";
9
9
  import {
10
- Service55,
11
- node58
12
- } from "./file-retention-0d5wzp0a.js";
10
+ Service70,
11
+ node74
12
+ } from "./generate-1m60qraa.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./file-retention-wnhgecwx.js";
15
+ } from "./generate-wnhgecwx.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./generate-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
- var exports_generate2 = {};
22
- __export(exports_generate2, {
23
- Generate: () => exports_generate2,
21
+ var exports_generate = {};
22
+ __export(exports_generate, {
23
+ Generate: () => exports_generate,
24
24
  InvalidRequestError: () => InvalidRequestError3,
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service48,
29
- UnavailableError: () => UnavailableError3,
28
+ Service: () => Service26,
29
+ UnavailableError: () => UnavailableError4,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer21,
32
- node: () => node51
31
+ layer: () => layer12,
32
+ node: () => node29
33
33
  });
34
34
  import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
37
37
  import { Context, Effect, Layer, Schema } from "effect";
38
38
  import { RequestExecutor } from "@opencode/ai/route";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
40
+ class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
41
41
  message: Schema.String,
42
42
  service: Schema.optional(Schema.String)
43
43
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service48 extends Context.Service()("@opencode/Generate") {
84
+ class Service26 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer21 = Layer.effect(Service48, Effect.gen(function* () {
86
+ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service55;
89
- const models = yield* Service70;
88
+ const resolver = yield* Service70;
89
+ const models = yield* Service72;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -98,11 +98,11 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
98
98
  "SessionRunnerModel.ModelInitializationError",
99
99
  "SessionRunnerModel.UnresolvedProviderVariablesError",
100
100
  "SessionRunnerModel.UnsupportedCompactionError"
101
- ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
101
+ ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
102
102
  if (!resolved && input.model)
103
103
  return yield* missing(input.model, "chat");
104
104
  if (!resolved)
105
- return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
105
+ return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
106
106
  const response = yield* llm.generate(LLM.request({
107
107
  model: resolved.model,
108
108
  prompt: input.prompt,
@@ -162,8 +162,8 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
162
162
  ...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
163
163
  };
164
164
  });
165
- const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
166
- return Service48.of({
165
+ const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
166
+ return Service26.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node51 = makeLocationNode({
219
- service: Service48,
220
- layer: layer21,
221
- deps: [node58, node73, llmClient2, requestExecutor2]
218
+ var node29 = makeLocationNode({
219
+ service: Service26,
220
+ layer: layer12,
221
+ deps: [node74, node76, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service48, layer21, node51, exports_generate2 };
224
+ export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service26, layer12, node29, exports_generate };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-retention-z5v4ffb3.js";
4
+ } from "./generate-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service84,
9
- node88
10
- } from "./file-retention-3cbzjvxf.js";
8
+ Service77,
9
+ node81
10
+ } from "./generate-njb5ba6d.js";
11
11
  import {
12
- Service82,
13
- node86
14
- } from "./file-retention-858yc3fz.js";
12
+ Service75,
13
+ node79
14
+ } from "./generate-ymvnz4e6.js";
15
15
  import {
16
16
  create3
17
- } from "./file-retention-204s3925.js";
17
+ } from "./generate-204s3925.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./generate-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID3,
27
- Service: () => Service39,
25
+ Error: () => Error5,
26
+ ID: () => ID12,
27
+ Service: () => Service74,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node41,
29
+ node: () => node78,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ 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 ID3 } from "@opencode/schema/snapshot";
37
+ import { ID as ID12 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 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 Service39 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service74 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service39, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service84;
50
+ const git = yield* Service77;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service82;
52
+ const location = yield* Service75;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service39, 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 Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ 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(Service39, 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 Error2({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error5({ 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(Service39, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID3.make(tree);
99
+ return ID12.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) {
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service74.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node41 = makeLocationNode({
158
- service: Service39,
157
+ var node78 = makeLocationNode({
158
+ service: Service74,
159
159
  layer,
160
- deps: [FSUtil.node, node88, Global.node, node86]
160
+ deps: [FSUtil.node, node81, Global.node, node79]
161
161
  });
162
- var noopLayer3 = Layer.succeed(Service39, Service39.of({
162
+ var noopLayer3 = Layer.succeed(Service74, Service74.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service39, Service39.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error2 && cause.operation === operation)
171
+ if (cause instanceof Error5 && cause.operation === operation)
172
172
  return cause;
173
- return new Error2({
173
+ return new Error5({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID3, Error2, Service39, node41, noopLayer3, exports_snapshot2 };
180
+ export { ID12, Error5, Service74, node78, noopLayer3, exports_snapshot2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./file-retention-4v008n1t.js";
3
+ } from "./generate-4v008n1t.js";
4
4
  import {
5
- Service68
6
- } from "./file-retention-cbn5qz6c.js";
5
+ Service64
6
+ } from "./generate-0vsxvdtn.js";
7
7
  import {
8
- Service67
9
- } from "./file-retention-r67zf7b0.js";
8
+ Service63
9
+ } from "./generate-9n9p4xt1.js";
10
10
  import {
11
11
  statements2,
12
12
  decision2
13
- } from "./file-retention-3cgskxpq.js";
13
+ } from "./generate-a9q6fvpe.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./generate-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/module.ts
19
19
  var exports_module = {};
20
20
  __export(exports_module, {
21
21
  LoadError: () => LoadError2,
22
22
  PluginModule: () => exports_module,
23
- make: () => make3
23
+ make: () => make10
24
24
  });
25
25
  import { Host } from "@opencode/plugin/host";
26
26
  import { GuiBundle } from "@opencode/schema/plugin";
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
31
31
  import path from "path";
32
32
  import { readFile, stat } from "node:fs/promises";
33
33
  import { fileURLToPath, pathToFileURL } from "url";
34
- var make3 = Effect.fn("PluginModule.make")(function* () {
35
- const config = yield* Service67;
36
- const watcher = yield* Service68;
34
+ var make10 = Effect.fn("PluginModule.make")(function* () {
35
+ const config = yield* Service63;
36
+ const watcher = yield* Service64;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
136
136
  return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
137
137
  });
138
138
 
139
- export { make3, LoadError2, exports_module };
139
+ export { make10, LoadError2, exports_module };