@opencode/core 0.0.0-dev-21647 → 0.0.0-dev-21654

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{filesystem-034tev2y.js → repository-cache-034tev2y.js} +2 -2
  8. package/dist/chunks/{filesystem-tpm1qpxt.js → repository-cache-0421tmwc.js} +9 -9
  9. package/dist/chunks/{filesystem-bkna9k4r.js → repository-cache-05t45fgn.js} +20 -20
  10. package/dist/chunks/{filesystem-51r6w5tg.js → repository-cache-06ne1vpq.js} +9 -9
  11. package/dist/chunks/{filesystem-zgjcgapj.js → repository-cache-0j8j5tyq.js} +3 -3
  12. package/dist/chunks/{filesystem-c9vjxdk9.js → repository-cache-0k1p4s69.js} +7 -7
  13. package/dist/chunks/{filesystem-dbkw9y8f.js → repository-cache-0m0bmnz6.js} +44 -44
  14. package/dist/chunks/{filesystem-8n969cs1.js → repository-cache-0xdzzbfj.js} +4 -4
  15. package/dist/chunks/{filesystem-5pn4ypd0.js → repository-cache-12dpmfar.js} +11 -11
  16. package/dist/chunks/{filesystem-wzfzr50j.js → repository-cache-1711wf45.js} +12 -12
  17. package/dist/chunks/{filesystem-8mm41x9v.js → repository-cache-18fakw40.js} +23 -23
  18. package/dist/chunks/{filesystem-6mf4mhq6.js → repository-cache-1914d4m2.js} +36 -36
  19. package/dist/chunks/{filesystem-009tt1tc.js → repository-cache-1d7c9p74.js} +37 -37
  20. package/dist/chunks/{filesystem-qtm30naq.js → repository-cache-1djcyy3s.js} +18 -18
  21. package/dist/chunks/{filesystem-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{filesystem-wckc0zrx.js → repository-cache-1erzekvj.js} +4 -4
  23. package/dist/chunks/{filesystem-0zwy0wgk.js → repository-cache-1q4dac4t.js} +11 -11
  24. package/dist/chunks/{filesystem-arsn7stx.js → repository-cache-1qbwk3vx.js} +1 -1
  25. package/dist/chunks/{filesystem-0m63avf2.js → repository-cache-1vg1fscw.js} +14 -14
  26. package/dist/chunks/{filesystem-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{filesystem-hfc7xfzf.js → repository-cache-1xj3kh2r.js} +22 -22
  28. package/dist/chunks/{filesystem-ytxs1176.js → repository-cache-1ytqv3fd.js} +6 -6
  29. package/dist/chunks/{filesystem-8ryk0bb9.js → repository-cache-207ajt2h.js} +5 -5
  30. package/dist/chunks/{filesystem-9dk4f4hb.js → repository-cache-27bs79w9.js} +2 -2
  31. package/dist/chunks/{filesystem-f33ds01d.js → repository-cache-2vt8hxhk.js} +21 -21
  32. package/dist/chunks/{filesystem-2z1j29yd.js → repository-cache-2z1j29yd.js} +1 -1
  33. package/dist/chunks/{filesystem-d70em1ty.js → repository-cache-316j7v8e.js} +5 -5
  34. package/dist/chunks/{filesystem-dztq030m.js → repository-cache-336ztn5g.js} +39 -39
  35. package/dist/chunks/{filesystem-8j8gppkv.js → repository-cache-362gf1js.js} +27 -27
  36. package/dist/chunks/{filesystem-avbcnn8s.js → repository-cache-36sdsjr1.js} +2 -2
  37. package/dist/chunks/{filesystem-ar426sjr.js → repository-cache-3bp279dk.js} +21 -21
  38. package/dist/chunks/{filesystem-c8j7dx8q.js → repository-cache-3f8v07ch.js} +11 -11
  39. package/dist/chunks/{filesystem-5cn61jve.js → repository-cache-3gh72xqr.js} +4 -4
  40. package/dist/chunks/{filesystem-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{filesystem-t3rfzc0n.js → repository-cache-3hq0yj39.js} +2 -2
  42. package/dist/chunks/{filesystem-7xg2jm5b.js → repository-cache-3kdbrncp.js} +5 -5
  43. package/dist/chunks/{filesystem-3nnrz6f6.js → repository-cache-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{filesystem-356ycsz0.js → repository-cache-3pmyxw75.js} +18 -18
  45. package/dist/chunks/{filesystem-5crs9zmq.js → repository-cache-48zhenr1.js} +4 -4
  46. package/dist/chunks/{filesystem-tfeyr919.js → repository-cache-4ay36gmp.js} +16 -16
  47. package/dist/chunks/{filesystem-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
  48. package/dist/chunks/{filesystem-4xvmh7wp.js → repository-cache-4xvmh7wp.js} +3 -3
  49. package/dist/chunks/{filesystem-h0d2nkz7.js → repository-cache-507qjdd6.js} +10 -10
  50. package/dist/chunks/{filesystem-cq8031fv.js → repository-cache-5555hpps.js} +3 -3
  51. package/dist/chunks/{filesystem-v81ymy3c.js → repository-cache-57t7dmdr.js} +4 -4
  52. package/dist/chunks/{filesystem-xggf8f2k.js → repository-cache-5agv5pnb.js} +9 -9
  53. package/dist/chunks/{filesystem-ymrtwgat.js → repository-cache-5azq9rsq.js} +3 -3
  54. package/dist/chunks/{filesystem-7qzzp3th.js → repository-cache-5dnrgg7g.js} +15 -15
  55. package/dist/chunks/{filesystem-jqefqkzj.js → repository-cache-5jjy01jh.js} +12 -12
  56. package/dist/chunks/{filesystem-98mxgbz2.js → repository-cache-5jrgt8vn.js} +18 -18
  57. package/dist/chunks/{filesystem-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{filesystem-f9r434at.js → repository-cache-5n23vyzy.js} +9 -9
  59. package/dist/chunks/{filesystem-jawcrgg3.js → repository-cache-5qdsq766.js} +29 -29
  60. package/dist/chunks/{filesystem-p7vhpwh8.js → repository-cache-5zrxpy3q.js} +5 -5
  61. package/dist/chunks/{filesystem-ytj9cq62.js → repository-cache-64mfsmgx.js} +13 -13
  62. package/dist/chunks/repository-cache-6bshxcsx.js +18 -0
  63. package/dist/chunks/{filesystem-amdzwm80.js → repository-cache-6d6xnsqa.js} +5 -5
  64. package/dist/chunks/{filesystem-6esdw8yj.js → repository-cache-6esdw8yj.js} +1 -1
  65. package/dist/chunks/{filesystem-1n1y95ae.js → repository-cache-6g7sbevv.js} +9 -9
  66. package/dist/chunks/{filesystem-n32wkzbx.js → repository-cache-6n4ac7kc.js} +32 -32
  67. package/dist/chunks/{filesystem-y2sesghw.js → repository-cache-6nw1th37.js} +4 -4
  68. package/dist/chunks/{filesystem-6pjqjmy2.js → repository-cache-6pjqjmy2.js} +1 -1
  69. package/dist/chunks/{filesystem-8tv6we1q.js → repository-cache-6tnd2r5t.js} +82 -82
  70. package/dist/chunks/{filesystem-fwvkg7a4.js → repository-cache-6y1pjz6k.js} +11 -11
  71. package/dist/chunks/{filesystem-770pw0s1.js → repository-cache-770pw0s1.js} +1 -1
  72. package/dist/chunks/{filesystem-vq1ppevj.js → repository-cache-7bg5w1mh.js} +8 -8
  73. package/dist/chunks/{filesystem-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{filesystem-74z5myxc.js → repository-cache-7epm6vve.js} +18 -18
  75. package/dist/chunks/{filesystem-4zdy853b.js → repository-cache-7vxtg88a.js} +27 -27
  76. package/dist/chunks/{filesystem-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{filesystem-jmf5ej32.js → repository-cache-7y79ykyn.js} +4 -4
  78. package/dist/chunks/{filesystem-zwqbvap5.js → repository-cache-882abr6x.js} +22 -22
  79. package/dist/chunks/{filesystem-c6mtb9s1.js → repository-cache-8ev1pcqt.js} +10 -10
  80. package/dist/chunks/{filesystem-krc69tyh.js → repository-cache-8nyf59xc.js} +3 -3
  81. package/dist/chunks/{filesystem-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{filesystem-d8qd4w10.js → repository-cache-8ykqf5wm.js} +11 -11
  83. package/dist/chunks/{filesystem-91rj84md.js → repository-cache-91rj84md.js} +1 -1
  84. package/dist/chunks/{filesystem-6vgp65ky.js → repository-cache-95a59wgr.js} +21 -21
  85. package/dist/chunks/{filesystem-qg8qtdad.js → repository-cache-98vm4ve1.js} +3 -3
  86. package/dist/chunks/{filesystem-997dsrmm.js → repository-cache-997dsrmm.js} +2 -2
  87. package/dist/chunks/{filesystem-998yhzzq.js → repository-cache-998yhzzq.js} +3 -3
  88. package/dist/chunks/{filesystem-vbcm6ahj.js → repository-cache-9db9x33r.js} +12 -12
  89. package/dist/chunks/{filesystem-tj5yfdht.js → repository-cache-9jt80rn9.js} +31 -31
  90. package/dist/chunks/{filesystem-68fc5fjq.js → repository-cache-9r40bkxv.js} +8 -8
  91. package/dist/chunks/{filesystem-tzkvb7j5.js → repository-cache-a10bphs2.js} +91 -91
  92. package/dist/chunks/{filesystem-bvkwt3vh.js → repository-cache-a93j7cb6.js} +16 -16
  93. package/dist/chunks/{filesystem-gsdn6242.js → repository-cache-ae12v80k.js} +30 -30
  94. package/dist/chunks/{filesystem-96t1we0v.js → repository-cache-ajjhf6jy.js} +14 -14
  95. package/dist/chunks/{filesystem-3e0wzh8b.js → repository-cache-apz0gy3j.js} +14 -14
  96. package/dist/chunks/{filesystem-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
  97. package/dist/chunks/{filesystem-b0mv4wxm.js → repository-cache-b0mv4wxm.js} +2 -2
  98. package/dist/chunks/{filesystem-b6vsg801.js → repository-cache-b6vsg801.js} +2 -2
  99. package/dist/chunks/{filesystem-zj4f4v9r.js → repository-cache-bbwsfe1r.js} +20 -20
  100. package/dist/chunks/{filesystem-ztmrs8ra.js → repository-cache-bee3dq4t.js} +5 -5
  101. package/dist/chunks/{filesystem-bdsrgrhy.js → repository-cache-bfknhky6.js} +17 -17
  102. package/dist/chunks/{filesystem-pvrft5am.js → repository-cache-bgjq6n3s.js} +50 -50
  103. package/dist/chunks/{filesystem-s626qfae.js → repository-cache-bjhzkqyk.js} +4 -4
  104. package/dist/chunks/{filesystem-c4h1hzvn.js → repository-cache-bkp072jg.js} +8 -8
  105. package/dist/chunks/{filesystem-5qv54f7z.js → repository-cache-bqwdyg2t.js} +9 -9
  106. package/dist/chunks/{filesystem-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
  107. package/dist/chunks/{filesystem-6mw02xdg.js → repository-cache-bwsq2f4f.js} +37 -37
  108. package/dist/chunks/{filesystem-z1448dy0.js → repository-cache-bx39zcgj.js} +11 -11
  109. package/dist/chunks/{filesystem-gv029hbs.js → repository-cache-bygpv8tp.js} +5 -5
  110. package/dist/chunks/{filesystem-4whg3jbc.js → repository-cache-c1wt3632.js} +2 -2
  111. package/dist/chunks/{filesystem-mz3a5edd.js → repository-cache-c295kw9q.js} +6 -6
  112. package/dist/chunks/{filesystem-v44g1jae.js → repository-cache-c3cfh5w6.js} +9 -9
  113. package/dist/chunks/{filesystem-c8666r4c.js → repository-cache-c8666r4c.js} +3 -3
  114. package/dist/chunks/{filesystem-d2887f8n.js → repository-cache-c9t2ty9q.js} +4 -4
  115. package/dist/chunks/{filesystem-bx21rrrk.js → repository-cache-cb840yf6.js} +22 -22
  116. package/dist/chunks/{filesystem-xqg92hb0.js → repository-cache-cegnsd8m.js} +17 -17
  117. package/dist/chunks/{filesystem-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
  118. package/dist/chunks/{filesystem-6kzpt8m6.js → repository-cache-d5p6tmrf.js} +12 -12
  119. package/dist/chunks/{filesystem-nm4qwr9s.js → repository-cache-d79ca6ae.js} +11 -11
  120. package/dist/chunks/{filesystem-5t0hnzkm.js → repository-cache-d8zqpry0.js} +5 -5
  121. package/dist/chunks/{filesystem-5q1nw5b2.js → repository-cache-daa7zsg6.js} +35 -35
  122. package/dist/chunks/{filesystem-k7zas86q.js → repository-cache-dapvcjq1.js} +22 -22
  123. package/dist/chunks/{filesystem-vq9exjc4.js → repository-cache-dexpzvpz.js} +72 -72
  124. package/dist/chunks/{filesystem-0d5pkr3t.js → repository-cache-dgc6zgst.js} +5 -5
  125. package/dist/chunks/{filesystem-r1esf721.js → repository-cache-dqfcynkm.js} +41 -41
  126. package/dist/chunks/{filesystem-z0dwbekb.js → repository-cache-dvhq7cxa.js} +18 -18
  127. package/dist/chunks/{filesystem-51x4aarj.js → repository-cache-dy4mqkt9.js} +4 -4
  128. package/dist/chunks/{filesystem-sejvc57q.js → repository-cache-e34d40ft.js} +22 -22
  129. package/dist/chunks/{filesystem-5qd3pb7m.js → repository-cache-e3qxr5gk.js} +2 -2
  130. package/dist/chunks/{filesystem-fwp9mfc9.js → repository-cache-e45fk36t.js} +4 -4
  131. package/dist/chunks/{filesystem-e834z07m.js → repository-cache-e834z07m.js} +1 -1
  132. package/dist/chunks/{filesystem-nttn14j9.js → repository-cache-e8pm465n.js} +4 -4
  133. package/dist/chunks/{filesystem-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{filesystem-vnxwgqtp.js → repository-cache-efrks8s7.js} +33 -33
  135. package/dist/chunks/{filesystem-nxdk44b7.js → repository-cache-epb2tz48.js} +9 -9
  136. package/dist/chunks/{filesystem-x6h7fa0f.js → repository-cache-epqvz6sp.js} +11 -11
  137. package/dist/chunks/{filesystem-6rvpfmay.js → repository-cache-etxarc0c.js} +5 -5
  138. package/dist/chunks/{filesystem-nq8bay0y.js → repository-cache-ex2c5m6n.js} +25 -25
  139. package/dist/chunks/{filesystem-f9ntwk7j.js → repository-cache-f1d6w5yp.js} +9 -9
  140. package/dist/chunks/{filesystem-jz901ekc.js → repository-cache-f2kxhge1.js} +19 -19
  141. package/dist/chunks/{filesystem-jg76350t.js → repository-cache-fayv5fjb.js} +47 -47
  142. package/dist/chunks/{filesystem-m7sf20d3.js → repository-cache-fbmv4zkf.js} +25 -25
  143. package/dist/chunks/{filesystem-6kjtmk7q.js → repository-cache-fera0h98.js} +10 -10
  144. package/dist/chunks/{filesystem-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{filesystem-nvexje8a.js → repository-cache-fhcyw9er.js} +5 -5
  146. package/dist/chunks/{filesystem-fznmdakp.js → repository-cache-fznmdakp.js} +1 -1
  147. package/dist/chunks/{filesystem-padq4g58.js → repository-cache-g3dxjs5g.js} +17 -17
  148. package/dist/chunks/{filesystem-9fcy9jas.js → repository-cache-g4nys0an.js} +11 -11
  149. package/dist/chunks/{filesystem-jbszwdvq.js → repository-cache-g4y5gz37.js} +6 -6
  150. package/dist/chunks/{filesystem-g5h9c0rr.js → repository-cache-g5h9c0rr.js} +2 -2
  151. package/dist/chunks/{filesystem-g7esga4v.js → repository-cache-g7esga4v.js} +1 -1
  152. package/dist/chunks/{filesystem-jk3vvd6z.js → repository-cache-g8ptsmqj.js} +16 -16
  153. package/dist/chunks/{filesystem-gyabndjg.js → repository-cache-g96fpxa4.js} +1 -1
  154. package/dist/chunks/{filesystem-t271sy58.js → repository-cache-ga3nj1ct.js} +11 -11
  155. package/dist/chunks/{filesystem-nnv5zz39.js → repository-cache-gvq5deds.js} +23 -23
  156. package/dist/chunks/{filesystem-ae59h7aq.js → repository-cache-h04fff7h.js} +41 -41
  157. package/dist/chunks/{filesystem-wcsf77ep.js → repository-cache-h0prck52.js} +5 -5
  158. package/dist/chunks/{filesystem-yawxmpnv.js → repository-cache-h5q3bctd.js} +20 -20
  159. package/dist/chunks/{filesystem-1zaw68ze.js → repository-cache-hfwb91mh.js} +22 -22
  160. package/dist/chunks/{filesystem-fn89k98g.js → repository-cache-hgyydanp.js} +23 -23
  161. package/dist/chunks/{filesystem-rfg9rte0.js → repository-cache-hpfjxvqq.js} +19 -19
  162. package/dist/chunks/{filesystem-d9nsghbd.js → repository-cache-hv3v4m8k.js} +38 -38
  163. package/dist/chunks/{filesystem-z0qqz9cx.js → repository-cache-hvnf17n2.js} +11 -11
  164. package/dist/chunks/repository-cache-hwag7jbr.js +523 -0
  165. package/dist/chunks/{filesystem-kphdvy8n.js → repository-cache-hy96gn3p.js} +8 -8
  166. package/dist/chunks/{filesystem-j113cymg.js → repository-cache-j113cymg.js} +1 -1
  167. package/dist/chunks/{filesystem-4d5fcr8w.js → repository-cache-j1sdj48j.js} +27 -27
  168. package/dist/chunks/{filesystem-5xy94632.js → repository-cache-j49x6kf4.js} +8 -8
  169. package/dist/chunks/{filesystem-kw6yrzx1.js → repository-cache-j5c0nw1x.js} +14 -14
  170. package/dist/chunks/{filesystem-sm3pn1yy.js → repository-cache-j623kct8.js} +176 -176
  171. package/dist/chunks/{filesystem-18g90bpv.js → repository-cache-jcqm84fr.js} +9 -9
  172. package/dist/chunks/{filesystem-0rk2tx64.js → repository-cache-jgzdw78p.js} +27 -27
  173. package/dist/chunks/{filesystem-dk5xnaxx.js → repository-cache-jkg2pe84.js} +4 -4
  174. package/dist/chunks/{filesystem-8kvpvnp7.js → repository-cache-js4fqk0b.js} +32 -32
  175. package/dist/chunks/{filesystem-tx3h81rw.js → repository-cache-js82nf9k.js} +11 -11
  176. package/dist/chunks/{filesystem-sz9hkbm4.js → repository-cache-jsqqb0ba.js} +9 -9
  177. package/dist/chunks/{filesystem-jzdzfwts.js → repository-cache-jz5m0jmz.js} +58 -58
  178. package/dist/chunks/{filesystem-k814nvkf.js → repository-cache-k814nvkf.js} +1 -1
  179. package/dist/chunks/{filesystem-j3228jtb.js → repository-cache-kmpm0sjp.js} +13 -13
  180. package/dist/chunks/{filesystem-gxpe1m6c.js → repository-cache-kpyf14q1.js} +13 -13
  181. package/dist/chunks/{filesystem-5s5rpxk9.js → repository-cache-kq1mzbp8.js} +46 -46
  182. package/dist/chunks/{filesystem-ffejy4wd.js → repository-cache-ks3wwvy5.js} +9 -9
  183. package/dist/chunks/{filesystem-0mt6tx3t.js → repository-cache-kzkf7na7.js} +25 -25
  184. package/dist/chunks/{filesystem-m1714858.js → repository-cache-m1714858.js} +1 -1
  185. package/dist/chunks/{filesystem-n4d18xwc.js → repository-cache-m1gzeghs.js} +13 -13
  186. package/dist/chunks/repository-cache-m2yjxv7r.js +26 -0
  187. package/dist/chunks/{filesystem-fwbqpq8p.js → repository-cache-m8wgw1ap.js} +20 -20
  188. package/dist/chunks/{filesystem-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{filesystem-7rh6cm1k.js → repository-cache-majbhfqf.js} +8 -8
  190. package/dist/chunks/{filesystem-jchrqzf6.js → repository-cache-masd7ga8.js} +4 -4
  191. package/dist/chunks/{filesystem-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
  192. package/dist/chunks/{filesystem-2wyfsdtp.js → repository-cache-mkadae17.js} +21 -21
  193. package/dist/chunks/{filesystem-s1rp2hzf.js → repository-cache-mt89smwx.js} +14 -14
  194. package/dist/chunks/{filesystem-n0p0277s.js → repository-cache-n0p0277s.js} +1 -1
  195. package/dist/chunks/{filesystem-nk6d3n00.js → repository-cache-n3mttp9c.js} +46 -46
  196. package/dist/chunks/{filesystem-gj87f6s9.js → repository-cache-n6q34c7t.js} +4 -4
  197. package/dist/chunks/{filesystem-8d63q4vm.js → repository-cache-nn952gpa.js} +19 -19
  198. package/dist/chunks/{filesystem-x934s5n8.js → repository-cache-nvvc4vjs.js} +4 -4
  199. package/dist/chunks/{filesystem-p015t6z3.js → repository-cache-p015t6z3.js} +2 -2
  200. package/dist/chunks/{filesystem-9b28cy4d.js → repository-cache-pacbbjc0.js} +5 -5
  201. package/dist/chunks/{filesystem-pc1v25hk.js → repository-cache-pc1v25hk.js} +1 -1
  202. package/dist/chunks/{filesystem-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  203. package/dist/chunks/{filesystem-r3f67wnp.js → repository-cache-pkwzrktv.js} +26 -26
  204. package/dist/chunks/{filesystem-grrps705.js → repository-cache-pq54n2x2.js} +17 -17
  205. package/dist/chunks/{filesystem-st4qtcsw.js → repository-cache-q8f5hf3a.js} +31 -31
  206. package/dist/chunks/{filesystem-5j88v3fz.js → repository-cache-q92ejtxw.js} +28 -28
  207. package/dist/chunks/{filesystem-0cjz94q6.js → repository-cache-q9vkgwxm.js} +50 -50
  208. package/dist/chunks/{filesystem-qjgzc4b4.js → repository-cache-qjgzc4b4.js} +1 -1
  209. package/dist/chunks/{filesystem-9zhqcg1r.js → repository-cache-qjx0zx6g.js} +25 -25
  210. package/dist/chunks/{filesystem-nd5d6z5j.js → repository-cache-qkxp7296.js} +1 -1
  211. package/dist/chunks/repository-cache-qnhptmb8.js +257 -0
  212. package/dist/chunks/{filesystem-89hkn2ck.js → repository-cache-qnst15rb.js} +14 -14
  213. package/dist/chunks/{filesystem-p0tsr9h6.js → repository-cache-qqg9c0kv.js} +4 -4
  214. package/dist/chunks/{filesystem-r0yr0wbs.js → repository-cache-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{filesystem-3spxaejg.js → repository-cache-r4xyerk1.js} +47 -47
  216. package/dist/chunks/{filesystem-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
  217. package/dist/chunks/{filesystem-etk19sk0.js → repository-cache-rdcxq6dg.js} +28 -28
  218. package/dist/chunks/{filesystem-chey27p8.js → repository-cache-rfkydm6q.js} +43 -43
  219. package/dist/chunks/{filesystem-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
  220. package/dist/chunks/{filesystem-brp8afje.js → repository-cache-ry1q6mjw.js} +20 -20
  221. package/dist/chunks/{filesystem-4h7a260j.js → repository-cache-s1bnsxce.js} +31 -31
  222. package/dist/chunks/{filesystem-v93w9dtv.js → repository-cache-s1s90sgh.js} +13 -13
  223. package/dist/chunks/{filesystem-36nwec3d.js → repository-cache-s2dpb278.js} +34 -34
  224. package/dist/chunks/{filesystem-9nkjg9qd.js → repository-cache-s2pfznc4.js} +6 -6
  225. package/dist/chunks/{filesystem-d2dx6a7h.js → repository-cache-s7kyse9r.js} +9 -9
  226. package/dist/chunks/{filesystem-ap3xe38h.js → repository-cache-scxnsnp9.js} +12 -12
  227. package/dist/chunks/{filesystem-bxr1hg8m.js → repository-cache-shmxrrpn.js} +28 -28
  228. package/dist/chunks/{filesystem-kba41hf4.js → repository-cache-spy53wnz.js} +19 -19
  229. package/dist/chunks/{filesystem-sqjzf8x2.js → repository-cache-sqjzf8x2.js} +1 -1
  230. package/dist/chunks/{filesystem-s3jvwajm.js → repository-cache-sqtvtx7d.js} +18 -18
  231. package/dist/chunks/{filesystem-bchnzv4a.js → repository-cache-ss1jzj40.js} +29 -29
  232. package/dist/chunks/{filesystem-58me5448.js → repository-cache-sy5y9pr1.js} +12 -12
  233. package/dist/chunks/{filesystem-n5q96v35.js → repository-cache-t746b1c9.js} +13 -13
  234. package/dist/chunks/{filesystem-53ehtthp.js → repository-cache-taa02m37.js} +10 -10
  235. package/dist/chunks/{filesystem-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{filesystem-s4r347cv.js → repository-cache-tjze7m48.js} +7 -7
  237. package/dist/chunks/{filesystem-jfm4fjtg.js → repository-cache-tmmqa6ew.js} +10 -10
  238. package/dist/chunks/{filesystem-j4jzjbre.js → repository-cache-tqwxcfvf.js} +21 -21
  239. package/dist/chunks/{filesystem-7jc9rsv4.js → repository-cache-trtfktz1.js} +25 -25
  240. package/dist/chunks/{filesystem-dnmtmk4w.js → repository-cache-tsfhzs96.js} +25 -25
  241. package/dist/chunks/{filesystem-tw8zr1ps.js → repository-cache-tw8zr1ps.js} +1 -1
  242. package/dist/chunks/{filesystem-twv2r8f4.js → repository-cache-twv2r8f4.js} +2 -2
  243. package/dist/chunks/{filesystem-bhxt7mnn.js → repository-cache-txs3q12t.js} +24 -24
  244. package/dist/chunks/{filesystem-w96mkmzg.js → repository-cache-v0r2q4dy.js} +27 -27
  245. package/dist/chunks/{filesystem-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{filesystem-efr9f7w8.js → repository-cache-v5gy4fh6.js} +8 -8
  247. package/dist/chunks/{filesystem-tg0gd36c.js → repository-cache-v9snnrq5.js} +20 -20
  248. package/dist/chunks/{filesystem-vd3b3yk9.js → repository-cache-vd3b3yk9.js} +1 -1
  249. package/dist/chunks/{filesystem-r0dtc59e.js → repository-cache-vdkq80q2.js} +24 -24
  250. package/dist/chunks/{filesystem-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  251. package/dist/chunks/{filesystem-sdcxcfrs.js → repository-cache-vhv0edzw.js} +6 -6
  252. package/dist/chunks/{filesystem-rvmjpzp1.js → repository-cache-vm0wcjea.js} +10 -10
  253. package/dist/chunks/{filesystem-vgqfs1n2.js → repository-cache-vmvx5n1d.js} +11 -11
  254. package/dist/chunks/{filesystem-m5jcjszt.js → repository-cache-vx3jgdek.js} +3 -3
  255. package/dist/chunks/{filesystem-c5093bv4.js → repository-cache-w12njt9q.js} +5 -5
  256. package/dist/chunks/{filesystem-r41sfy63.js → repository-cache-w2eysc6j.js} +6 -6
  257. package/dist/chunks/{filesystem-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{filesystem-w8qtt4th.js → repository-cache-w8qtt4th.js} +1 -1
  259. package/dist/chunks/{filesystem-d6xvjcm1.js → repository-cache-w9kbxh01.js} +20 -20
  260. package/dist/chunks/{filesystem-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
  261. package/dist/chunks/{filesystem-6vawrx7p.js → repository-cache-wcqq4kvm.js} +29 -29
  262. package/dist/chunks/{filesystem-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  263. package/dist/chunks/{filesystem-spsj76tb.js → repository-cache-wjjhfpfw.js} +7 -7
  264. package/dist/chunks/{filesystem-0v552w6g.js → repository-cache-x14n6813.js} +10 -10
  265. package/dist/chunks/{filesystem-qh4tvjey.js → repository-cache-x588deh8.js} +6 -6
  266. package/dist/chunks/{filesystem-kpjnnt0y.js → repository-cache-x5qs9jyb.js} +32 -32
  267. package/dist/chunks/{filesystem-s9v9gzsc.js → repository-cache-xfffv0qn.js} +23 -23
  268. package/dist/chunks/{filesystem-b0e0ha1k.js → repository-cache-xj361v57.js} +19 -19
  269. package/dist/chunks/{filesystem-gmjwgw4f.js → repository-cache-xjz1c7y8.js} +3 -3
  270. package/dist/chunks/{filesystem-d1cerpfm.js → repository-cache-xmav9z9e.js} +25 -25
  271. package/dist/chunks/{filesystem-jwndhsk1.js → repository-cache-xq0cmmmd.js} +15 -15
  272. package/dist/chunks/{filesystem-pkyesxg1.js → repository-cache-xqaf1wtx.js} +16 -16
  273. package/dist/chunks/{filesystem-n8gn2k8w.js → repository-cache-xqwqgje7.js} +13 -13
  274. package/dist/chunks/{filesystem-b59295hw.js → repository-cache-y85xtnja.js} +23 -23
  275. package/dist/chunks/{filesystem-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
  276. package/dist/chunks/{filesystem-v5hpj9dd.js → repository-cache-ydsespw1.js} +8 -8
  277. package/dist/chunks/{filesystem-xnj8czy5.js → repository-cache-ygxwp2qk.js} +53 -53
  278. package/dist/chunks/{filesystem-7qh21x13.js → repository-cache-ykqsc6sd.js} +12 -12
  279. package/dist/chunks/{filesystem-0pcpg2vk.js → repository-cache-ytbmzjv3.js} +9 -9
  280. package/dist/chunks/{filesystem-7zfzjnyd.js → repository-cache-yxeqx0e7.js} +9 -9
  281. package/dist/chunks/{filesystem-t3gbfrqn.js → repository-cache-yyb6gzd4.js} +11 -11
  282. package/dist/chunks/{filesystem-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{filesystem-t6cdgaq6.js → repository-cache-z2wxp724.js} +31 -31
  284. package/dist/chunks/{filesystem-z38nccrw.js → repository-cache-z38nccrw.js} +1 -1
  285. package/dist/chunks/{filesystem-jpvfv4j9.js → repository-cache-z5gn6yp1.js} +34 -34
  286. package/dist/chunks/{filesystem-zqz3yng3.js → repository-cache-z5k5qppw.js} +9 -9
  287. package/dist/chunks/{filesystem-zkg84ctx.js → repository-cache-zkg84ctx.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +94 -94
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +91 -91
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +91 -91
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +99 -99
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +78 -78
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +159 -159
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +103 -103
  473. package/dist/mcp/instructions.js +136 -136
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +101 -101
  479. package/dist/model-resolver.js +99 -99
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +105 -105
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +115 -115
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +80 -80
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +114 -114
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +123 -123
  528. package/dist/plugin/provider/openai.js +116 -116
  529. package/dist/plugin/provider/opencode.js +103 -103
  530. package/dist/plugin/provider/openrouter.js +93 -93
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +81 -81
  533. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  534. package/dist/plugin/provider/sap-ai-core.js +93 -93
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  537. package/dist/plugin/provider/vercel.js +92 -92
  538. package/dist/plugin/provider/vllm.js +125 -125
  539. package/dist/plugin/provider/xai.js +93 -93
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +170 -170
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +134 -134
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +351 -351
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +88 -88
  550. package/dist/plugin/vcs/hg.js +88 -88
  551. package/dist/plugin/verbosity.js +95 -95
  552. package/dist/plugin/warming.js +114 -114
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +6 -6
  560. package/dist/plugin.js +223 -223
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +90 -90
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +101 -101
  568. package/dist/reference/instructions.js +91 -91
  569. package/dist/reference.js +91 -91
  570. package/dist/repository-cache.js +83 -83
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +93 -93
  574. package/dist/rpc.js +88 -88
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +76 -76
  578. package/dist/session/compaction.js +138 -138
  579. package/dist/session/context.js +164 -164
  580. package/dist/session/diff.js +90 -90
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +224 -224
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +164 -164
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +97 -97
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +99 -99
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +122 -122
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +132 -132
  598. package/dist/session/projector.js +91 -91
  599. package/dist/session/prompt.js +107 -107
  600. package/dist/session/recent-text.js +1 -1
  601. package/dist/session/revert.js +96 -96
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +101 -101
  607. package/dist/session/runner/publish-llm-event.js +116 -116
  608. package/dist/session/runner/retry.js +3 -3
  609. package/dist/session/runner/step.js +128 -128
  610. package/dist/session/runner/to-llm-message.js +14 -14
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +163 -163
  613. package/dist/session/shell.js +130 -130
  614. package/dist/session/skill.js +105 -105
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +208 -208
  620. package/dist/session/system-prompt.js +1 -1
  621. package/dist/session/title.js +168 -168
  622. package/dist/session/to-session-error.js +114 -114
  623. package/dist/session/transfer.js +220 -220
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +216 -216
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +15 -15
  630. package/dist/shell.js +132 -132
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +109 -109
  633. package/dist/skill.js +114 -114
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +135 -135
  639. package/dist/tool/plugin/edit.js +118 -118
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +126 -126
  642. package/dist/tool/plugin/grep.js +126 -126
  643. package/dist/tool/plugin/mcp-resource.js +126 -126
  644. package/dist/tool/plugin/opencode.js +111 -111
  645. package/dist/tool/plugin/patch.js +116 -116
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +127 -127
  648. package/dist/tool/plugin/shell.js +215 -215
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/todo.js +138 -138
  652. package/dist/tool/plugin/webfetch.js +113 -113
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +7 -7
  658. package/dist/tool.js +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +90 -90
  678. package/dist/websearch.js +82 -82
  679. package/dist/wellknown/plugin.js +76 -76
  680. package/dist/wellknown.js +83 -83
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +8 -8
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +87 -87
  688. package/dist/worktree.js +94 -94
  689. package/package.json +8 -8
  690. package/dist/chunks/filesystem-00ve6mdn.js +0 -18
  691. package/dist/chunks/filesystem-9ycsyq8d.js +0 -257
  692. package/dist/chunks/filesystem-mpdatzvn.js +0 -26
  693. package/dist/chunks/filesystem-ym2fpx9j.js +0 -523
  694. /package/dist/chunks/{filesystem-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{filesystem-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{filesystem-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{filesystem-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{filesystem-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{filesystem-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{filesystem-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{filesystem-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{filesystem-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{filesystem-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  704. /package/dist/chunks/{filesystem-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{filesystem-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{filesystem-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{filesystem-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{filesystem-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{filesystem-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{filesystem-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  711. /package/dist/chunks/{filesystem-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{filesystem-5fjb7ams.js → repository-cache-5fjb7ams.js} +0 -0
  713. /package/dist/chunks/{filesystem-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  714. /package/dist/chunks/{filesystem-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{filesystem-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{filesystem-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{filesystem-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  718. /package/dist/chunks/{filesystem-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{filesystem-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{filesystem-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{filesystem-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{filesystem-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{filesystem-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{filesystem-a058387c.js → repository-cache-a058387c.js} +0 -0
  725. /package/dist/chunks/{filesystem-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{filesystem-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{filesystem-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{filesystem-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{filesystem-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{filesystem-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{filesystem-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{filesystem-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{filesystem-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{filesystem-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{filesystem-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{filesystem-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{filesystem-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{filesystem-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  739. /package/dist/chunks/{filesystem-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{filesystem-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{filesystem-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{filesystem-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{filesystem-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{filesystem-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{filesystem-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{filesystem-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{filesystem-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{filesystem-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{filesystem-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{filesystem-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  751. /package/dist/chunks/{filesystem-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{filesystem-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  753. /package/dist/chunks/{filesystem-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{filesystem-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  755. /package/dist/chunks/{filesystem-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{filesystem-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{filesystem-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{filesystem-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{filesystem-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{filesystem-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{filesystem-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{filesystem-m18g726c.js → repository-cache-m18g726c.js} +0 -0
  763. /package/dist/chunks/{filesystem-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{filesystem-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{filesystem-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{filesystem-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{filesystem-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{filesystem-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{filesystem-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{filesystem-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{filesystem-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{filesystem-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{filesystem-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{filesystem-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{filesystem-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{filesystem-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{filesystem-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{filesystem-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{filesystem-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
  780. /package/dist/chunks/{filesystem-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{filesystem-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{filesystem-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{filesystem-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
  784. /package/dist/chunks/{filesystem-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{filesystem-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{filesystem-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  787. /package/dist/chunks/{filesystem-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{filesystem-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{filesystem-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{filesystem-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{filesystem-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{filesystem-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,83 +1,83 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./filesystem-qg8qtdad.js";
4
+ } from "./repository-cache-98vm4ve1.js";
5
5
  import {
6
- Service85,
7
- node89
8
- } from "./filesystem-7qh21x13.js";
6
+ Service84,
7
+ node88
8
+ } from "./repository-cache-ykqsc6sd.js";
9
9
  import {
10
10
  create3
11
- } from "./filesystem-vd3b3yk9.js";
11
+ } from "./repository-cache-vd3b3yk9.js";
12
12
  import {
13
- ID17,
14
- Service83,
15
- node86
16
- } from "./filesystem-dnmtmk4w.js";
13
+ ID7,
14
+ Service56,
15
+ node58
16
+ } from "./repository-cache-tsfhzs96.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./filesystem-p015t6z3.js";
19
+ } from "./repository-cache-p015t6z3.js";
20
20
  import {
21
- Service74,
22
- node77
23
- } from "./filesystem-5q1nw5b2.js";
21
+ Service76,
22
+ node80
23
+ } from "./repository-cache-daa7zsg6.js";
24
24
  import {
25
25
  estimate2
26
- } from "./filesystem-8wtp7s3z.js";
26
+ } from "./repository-cache-8wtp7s3z.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./filesystem-ec1grn59.js";
29
+ } from "./repository-cache-ec1grn59.js";
30
30
  import {
31
31
  kept2,
32
32
  messageToText2,
33
33
  serializeToolContent2
34
- } from "./filesystem-v2r1d0zg.js";
34
+ } from "./repository-cache-v2r1d0zg.js";
35
35
  import {
36
36
  isNativeCompaction2,
37
- load5
38
- } from "./filesystem-h0d2nkz7.js";
37
+ load4
38
+ } from "./repository-cache-507qjdd6.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./filesystem-4whg3jbc.js";
41
+ } from "./repository-cache-c1wt3632.js";
42
42
  import {
43
43
  outputLimit2,
44
44
  baseTranscript2,
45
45
  unsupportedParts2,
46
46
  boundImages2,
47
- Service29,
48
- node32
49
- } from "./filesystem-gsdn6242.js";
47
+ Service36,
48
+ node40
49
+ } from "./repository-cache-ae12v80k.js";
50
50
  import {
51
- Service44,
52
- node46
53
- } from "./filesystem-ytj9cq62.js";
51
+ Service47,
52
+ node49
53
+ } from "./repository-cache-64mfsmgx.js";
54
54
  import {
55
55
  isRetryable2,
56
56
  policy2
57
- } from "./filesystem-c8666r4c.js";
57
+ } from "./repository-cache-c8666r4c.js";
58
58
  import {
59
59
  toSessionError2,
60
60
  contentFilterError2
61
- } from "./filesystem-nvexje8a.js";
61
+ } from "./repository-cache-fhcyw9er.js";
62
62
  import {
63
63
  calculateCost2,
64
64
  record2,
65
65
  add2
66
- } from "./filesystem-tw8zr1ps.js";
66
+ } from "./repository-cache-tw8zr1ps.js";
67
67
  import {
68
68
  __export
69
- } from "./filesystem-9rqn6x4v.js";
69
+ } from "./repository-cache-9rqn6x4v.js";
70
70
 
71
71
  // src/session/compaction.ts
72
72
  var exports_compaction2 = {};
73
73
  __export(exports_compaction2, {
74
- Service: () => Service12,
74
+ Service: () => Service8,
75
75
  SessionCompaction: () => exports_compaction2,
76
76
  buildPrompt: () => buildPrompt2,
77
77
  estimateContext: () => estimateContext2,
78
78
  estimatePrompt: () => estimatePrompt2,
79
- layer: () => layer8,
80
- node: () => node14,
79
+ layer: () => layer7,
80
+ node: () => node10,
81
81
  recentUserMessages: () => recentUserMessages2
82
82
  });
83
83
  import {
@@ -93,7 +93,7 @@ import {
93
93
  } from "@opencode/ai";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
95
  import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
96
- class Service12 extends Context.Service()("@opencode/SessionCompaction") {
96
+ class Service8 extends Context.Service()("@opencode/SessionCompaction") {
97
97
  }
98
98
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
99
99
  var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
@@ -184,14 +184,14 @@ var buildPrompt2 = (update, legacy = false) => {
184
184
  };
185
185
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
186
186
  var LEGACY_HEADING = "## Additional Context";
187
- var layer8 = Layer.effect(Service12, Effect.gen(function* () {
188
- const agents = yield* Service83;
189
- const bus = yield* Service85;
187
+ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
188
+ const agents = yield* Service56;
189
+ const bus = yield* Service84;
190
190
  const llm = yield* LLMClient.Service;
191
- const catalog = yield* Service74;
192
- const models = yield* Service44;
191
+ const catalog = yield* Service76;
192
+ const models = yield* Service47;
193
193
  const db = (yield* Service86).db;
194
- const requests = yield* Service29;
194
+ const requests = yield* Service36;
195
195
  const scope = yield* Scope.Scope;
196
196
  const precomputed = new Map;
197
197
  const state = create3({
@@ -204,7 +204,7 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
204
204
  })
205
205
  });
206
206
  const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
207
- const agent = native ? undefined : yield* agents.get(ID17.make("compaction"));
207
+ const agent = native ? undefined : yield* agents.get(ID7.make("compaction"));
208
208
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
209
209
  return;
210
210
  })))) ?? context.model;
@@ -359,7 +359,7 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
359
359
  const send = (request) => {
360
360
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
361
361
  return Effect.gen(function* () {
362
- const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
362
+ const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
363
363
  const retained = recentUserMessages2(history, context.model, keep);
364
364
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
365
365
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -574,17 +574,17 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
574
574
  }, { metadata: outcome.metadata });
575
575
  return { status: "completed" };
576
576
  });
577
- return Service12.of({
577
+ return Service8.of({
578
578
  transform: state.transform,
579
579
  reload: state.reload,
580
580
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
581
581
  precompute
582
582
  });
583
583
  }));
584
- var node14 = makeLocationNode({
585
- service: Service12,
586
- layer: layer8,
587
- deps: [node86, node89, node90, llmClient2, node77, node32, node46]
584
+ var node10 = makeLocationNode({
585
+ service: Service8,
586
+ layer: layer7,
587
+ deps: [node58, node88, node90, llmClient2, node80, node40, node49]
588
588
  });
589
589
  var heldIndex = (held, context) => {
590
590
  if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
@@ -771,4 +771,4 @@ var estimateMedia = (mime) => {
771
771
  return 0;
772
772
  };
773
773
 
774
- export { Service12, buildPrompt2, layer8, node14, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
774
+ export { Service8, buildPrompt2, layer7, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./filesystem-wzfzr50j.js";
6
+ } from "./repository-cache-1711wf45.js";
7
7
  import {
8
8
  Slug2
9
- } from "./filesystem-gebd4c9n.js";
9
+ } from "./repository-cache-gebd4c9n.js";
10
10
  import {
11
11
  Service86,
12
12
  node90
13
- } from "./filesystem-qg8qtdad.js";
13
+ } from "./repository-cache-98vm4ve1.js";
14
14
  import {
15
- Service85,
16
- node89
17
- } from "./filesystem-7qh21x13.js";
15
+ Service84,
16
+ node88
17
+ } from "./repository-cache-ykqsc6sd.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./filesystem-034tev2y.js";
20
+ } from "./repository-cache-034tev2y.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./filesystem-ayjs7tqn.js";
23
+ } from "./repository-cache-ayjs7tqn.js";
24
24
  import {
25
- ID15,
25
+ ID17,
26
26
  NotFoundError12
27
- } from "./filesystem-5s5rpxk9.js";
27
+ } from "./repository-cache-kq1mzbp8.js";
28
28
  import {
29
29
  Ref4
30
- } from "./filesystem-jk3vvd6z.js";
30
+ } from "./repository-cache-g8ptsmqj.js";
31
31
  import {
32
- Service59,
33
- node61
34
- } from "./filesystem-ffejy4wd.js";
32
+ Service50,
33
+ node52
34
+ } from "./repository-cache-ks3wwvy5.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./filesystem-d4v9tmah.js";
38
+ } from "./repository-cache-d4v9tmah.js";
39
39
  import {
40
40
  Service19
41
- } from "./filesystem-z0qqz9cx.js";
41
+ } from "./repository-cache-hvnf17n2.js";
42
42
  import {
43
43
  __export
44
- } from "./filesystem-9rqn6x4v.js";
44
+ } from "./repository-cache-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput3,
49
+ CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event5,
52
+ Event: () => Event3,
53
53
  Info: () => Info5,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
73
73
  import { ChildProcess } from "effect/process";
74
74
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
- var CreateInput3 = Worktree.CreateInput;
76
+ var CreateInput2 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
78
  var Info5 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry2 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,7 +90,7 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event5 = Worktree.Event;
93
+ var Event3 = Worktree.Event;
94
94
 
95
95
  class Service18 extends Context.Service()("@opencode/Worktree") {
96
96
  }
@@ -98,9 +98,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service86;
100
100
  const db = database.db;
101
- const bus = yield* Service85;
101
+ const bus = yield* Service84;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service59;
103
+ const locations = yield* Service50;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event5.Updated, { projectID });
122
+ yield* bus.publish(Event3.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
259
259
  var node21 = Node.makeGlobalNode({
260
260
  service: Service18,
261
261
  layer,
262
- deps: [FSUtil.node, node89, node90, AppProcess.node, node61]
262
+ deps: [FSUtil.node, node88, node90, AppProcess.node, node52]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service18, node21, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput2, RemoveInput2, Info5, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service18, node21, exports_worktree2, OperationError2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID12,
3
- Service77,
4
- node80
5
- } from "./filesystem-bchnzv4a.js";
2
+ ID14,
3
+ Service78,
4
+ node82
5
+ } from "./repository-cache-ss1jzj40.js";
6
6
  import {
7
- ID11,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service75,
19
- node78
20
- } from "./filesystem-vnxwgqtp.js";
18
+ Service77,
19
+ node81
20
+ } from "./repository-cache-efrks8s7.js";
21
21
  import {
22
- Service53,
23
- node55
24
- } from "./filesystem-vbcm6ahj.js";
22
+ Service52,
23
+ node54
24
+ } from "./repository-cache-9db9x33r.js";
25
25
  import {
26
- ID10,
26
+ ID12,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service74,
30
- node77,
29
+ Service76,
30
+ node80,
31
31
  supportsText2
32
- } from "./filesystem-5q1nw5b2.js";
32
+ } from "./repository-cache-daa7zsg6.js";
33
33
  import {
34
34
  __export
35
- } from "./filesystem-9rqn6x4v.js";
35
+ } from "./repository-cache-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,7 +41,7 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service52,
44
+ Service: () => Service51,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
@@ -49,7 +49,7 @@ __export(exports_model_resolver, {
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
51
  layer: () => layer21,
52
- node: () => node54,
52
+ node: () => node53,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID11,
63
- modelID: ID10,
62
+ providerID: ID13,
63
+ modelID: ID12,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID11,
73
- modelID: ID10,
72
+ providerID: ID13,
73
+ modelID: ID12,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID11,
84
- modelID: ID10,
83
+ providerID: ID13,
84
+ modelID: ID12,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID11,
95
- modelID: ID10,
94
+ providerID: ID13,
95
+ modelID: ID12,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID11,
107
- modelID: ID10,
106
+ providerID: ID13,
107
+ modelID: ID12,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID11,
117
- modelID: ID10,
116
+ providerID: ID13,
117
+ modelID: ID12,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service52 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service51 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
234
234
  return tokenSettings(specifier, credential.access);
235
235
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
236
236
  return { auth: "sigv4" };
237
- if (model.providerID === ID11.azure)
237
+ if (model.providerID === ID13.azure)
238
238
  return tokenSettings(specifier, "azure-cli");
239
239
  return {};
240
240
  };
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
269
269
  };
270
270
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
271
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer21 = Layer.effect(Service52, Effect.gen(function* () {
273
- const providers = yield* Service75;
274
- const models = yield* Service74;
275
- const integrations = yield* Service77;
272
+ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
273
+ const providers = yield* Service77;
274
+ const models = yield* Service76;
275
+ const integrations = yield* Service78;
276
276
  const npm = yield* Npm.Service;
277
- const aisdk = yield* Service53;
277
+ const aisdk = yield* Service52;
278
278
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
279
279
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
280
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
281
281
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
282
  const selectedVariant = yield* withVariant2(selected, variant);
283
283
  const runtimeInfo = {
@@ -304,7 +304,7 @@ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
304
304
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
305
305
  };
306
306
  });
307
- return Service52.of({
307
+ return Service51.of({
308
308
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
309
309
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
310
310
  if (!selected)
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
321
321
  const name = packageName2(packageName);
322
322
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
323
323
  }
324
- var node54 = makeLocationNode({
325
- service: Service52,
324
+ var node53 = makeLocationNode({
325
+ service: Service51,
326
326
  layer: layer21,
327
- deps: [node78, node77, node80, Npm.node, node55]
327
+ deps: [node81, node80, node82, Npm.node, node54]
328
328
  });
329
329
 
330
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node54, exports_model_resolver };
330
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node53, exports_model_resolver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID17
3
- } from "./filesystem-dnmtmk4w.js";
2
+ ID7
3
+ } from "./repository-cache-tsfhzs96.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./filesystem-z5v4ffb3.js";
6
+ } from "./repository-cache-z5v4ffb3.js";
7
7
  import {
8
- Info12
9
- } from "./filesystem-d8qd4w10.js";
8
+ Info17
9
+ } from "./repository-cache-8ykqf5wm.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./filesystem-8n969cs1.js";
12
+ } from "./repository-cache-0xdzzbfj.js";
13
13
  import {
14
14
  latest2,
15
- Service54
16
- } from "./filesystem-pvrft5am.js";
15
+ Service64
16
+ } from "./repository-cache-bgjq6n3s.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./filesystem-e834z07m.js";
19
+ } from "./repository-cache-e834z07m.js";
20
20
  import {
21
21
  __export
22
- } from "./filesystem-9rqn6x4v.js";
22
+ } from "./repository-cache-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin48
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin32
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
44
44
  var pathActions = ["external_directory", "read", "edit"];
45
45
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
46
46
  var nativeKeys = ["permissions", "request", "system", "disabled"];
47
- var Plugin48 = define({
47
+ var Plugin32 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service54;
50
+ const config = yield* Service64;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin48 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID17.make(configuredDefault));
79
+ editor.default(ID7.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID17.make(id);
85
+ const agentID = ID7.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
163
163
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
164
164
  });
165
165
 
166
- export { Plugin48, exports_agent2 };
166
+ export { Plugin32, exports_agent };