@opencode/core 0.0.0-dev-21453 → 0.0.0-dev-21460

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{command-m28354wd.js → repository-cache-01p087vs.js} +8 -8
  8. package/dist/chunks/{command-mk379379.js → repository-cache-03vjgxp8.js} +3 -3
  9. package/dist/chunks/{command-am1vdybj.js → repository-cache-09ypmjbv.js} +4 -4
  10. package/dist/chunks/{command-b7eb9p8b.js → repository-cache-0b36yc2a.js} +45 -45
  11. package/dist/chunks/{command-37txpjr1.js → repository-cache-0e8pwxm1.js} +10 -10
  12. package/dist/chunks/{command-461nxmbv.js → repository-cache-0fhevdjt.js} +5 -5
  13. package/dist/chunks/{command-s8d7rejh.js → repository-cache-0gdmqesm.js} +4 -4
  14. package/dist/chunks/{command-wp5fex1h.js → repository-cache-0krdeasz.js} +4 -4
  15. package/dist/chunks/{command-frsbz4zz.js → repository-cache-0q346xwt.js} +7 -7
  16. package/dist/chunks/{command-47jkzegy.js → repository-cache-0r3c1bmw.js} +5 -5
  17. package/dist/chunks/{command-8s1fj8xg.js → repository-cache-0tzy42a9.js} +8 -8
  18. package/dist/chunks/{command-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
  19. package/dist/chunks/{command-sbdjwzg5.js → repository-cache-0xxnzx42.js} +19 -19
  20. package/dist/chunks/{command-vkdxcejq.js → repository-cache-0zxm2zaw.js} +10 -10
  21. package/dist/chunks/{command-3se1dkn2.js → repository-cache-1kccv5dj.js} +9 -9
  22. package/dist/chunks/{command-bc4d43x0.js → repository-cache-1n547s99.js} +35 -35
  23. package/dist/chunks/{command-mr3qe865.js → repository-cache-1p6gkt63.js} +51 -51
  24. package/dist/chunks/{command-4xpgt2w9.js → repository-cache-1pxz8ven.js} +5 -5
  25. package/dist/chunks/{command-b3eecbxp.js → repository-cache-1rft7swv.js} +4 -4
  26. package/dist/chunks/{command-1ep2p91f.js → repository-cache-27w5k9zf.js} +2 -2
  27. package/dist/chunks/{command-byat028d.js → repository-cache-2fpbmj4a.js} +23 -23
  28. package/dist/chunks/{command-7dqw4kz8.js → repository-cache-2k8khapm.js} +5 -5
  29. package/dist/chunks/{command-y02z6wf6.js → repository-cache-2vwvyx2g.js} +35 -35
  30. package/dist/chunks/{command-26v53g8c.js → repository-cache-2wt8nezh.js} +17 -17
  31. package/dist/chunks/{command-5thbj1d7.js → repository-cache-31g1jsst.js} +11 -11
  32. package/dist/chunks/{command-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{command-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{command-z5kwvp43.js → repository-cache-3m1qjwf2.js} +10 -10
  35. package/dist/chunks/{command-rscrykr4.js → repository-cache-3mypk436.js} +37 -37
  36. package/dist/chunks/{command-53tqp3se.js → repository-cache-3n5vhy7z.js} +29 -29
  37. package/dist/chunks/{command-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{command-5hy62t2w.js → repository-cache-3wsyhczt.js} +26 -26
  39. package/dist/chunks/{command-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{command-ma9kyv73.js → repository-cache-42q84ag7.js} +54 -54
  41. package/dist/chunks/{command-hgr5fehx.js → repository-cache-450x4k77.js} +3 -3
  42. package/dist/chunks/{command-amznas3s.js → repository-cache-46xapkgq.js} +36 -36
  43. package/dist/chunks/{command-zbqtqq82.js → repository-cache-4n1wqqn5.js} +2 -2
  44. package/dist/chunks/{command-abhakzek.js → repository-cache-4pka7j6v.js} +5 -5
  45. package/dist/chunks/{command-rcas954y.js → repository-cache-4r758bxz.js} +29 -29
  46. package/dist/chunks/{command-s5ng6h1y.js → repository-cache-4tjj4m8n.js} +11 -11
  47. package/dist/chunks/{command-48pg14e9.js → repository-cache-4tsdpayj.js} +31 -31
  48. package/dist/chunks/{command-w0n6gnt9.js → repository-cache-4zjv7vh9.js} +11 -11
  49. package/dist/chunks/{command-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
  50. package/dist/chunks/{command-6snphvfm.js → repository-cache-5ky00pdm.js} +33 -33
  51. package/dist/chunks/{command-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{command-r2z489rp.js → repository-cache-5rzwp8tz.js} +3 -3
  53. package/dist/chunks/{command-cqhbfnr1.js → repository-cache-5zn069ks.js} +30 -30
  54. package/dist/chunks/{command-v8cs5gsq.js → repository-cache-63rqhaqj.js} +23 -23
  55. package/dist/chunks/{command-6827pfxn.js → repository-cache-6827pfxn.js} +1 -1
  56. package/dist/chunks/{command-1j8r0rfw.js → repository-cache-6ac9zck1.js} +2 -2
  57. package/dist/chunks/{command-1p07q0wb.js → repository-cache-6pc27hjz.js} +8 -8
  58. package/dist/chunks/{command-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{command-87g5j40b.js → repository-cache-6yncxzed.js} +11 -11
  60. package/dist/chunks/{command-tdyk1y3q.js → repository-cache-6ypv3jsn.js} +37 -37
  61. package/dist/chunks/{command-dfse8kb6.js → repository-cache-70q6x9sh.js} +21 -21
  62. package/dist/chunks/{command-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
  63. package/dist/chunks/{command-34a37mbe.js → repository-cache-7amepzc8.js} +14 -14
  64. package/dist/chunks/{command-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{command-ejndb8vb.js → repository-cache-7c5qva4r.js} +5 -5
  66. package/dist/chunks/{command-8ybx9dv8.js → repository-cache-7nm86vqr.js} +1 -1
  67. package/dist/chunks/{command-gf0da6cn.js → repository-cache-7q1pjkp3.js} +22 -22
  68. package/dist/chunks/{command-d9xzyqvc.js → repository-cache-7q5zkc9a.js} +18 -18
  69. package/dist/chunks/{command-qmmgpbwc.js → repository-cache-7q7gc744.js} +28 -28
  70. package/dist/chunks/{command-zej84cff.js → repository-cache-7yn4yp07.js} +16 -16
  71. package/dist/chunks/{command-etttfj1t.js → repository-cache-80scg3y3.js} +4 -4
  72. package/dist/chunks/{command-tcezcvh9.js → repository-cache-89znhe33.js} +4 -4
  73. package/dist/chunks/{command-ej25e5st.js → repository-cache-8cgdxtst.js} +26 -26
  74. package/dist/chunks/{command-gws60q17.js → repository-cache-8hr3x0db.js} +2 -2
  75. package/dist/chunks/{command-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
  76. package/dist/chunks/{command-8mywswrd.js → repository-cache-8mywswrd.js} +1 -1
  77. package/dist/chunks/{command-xw9fg8fb.js → repository-cache-8vcf4cwr.js} +2 -2
  78. package/dist/chunks/{command-tzv31cm4.js → repository-cache-8wejdmph.js} +13 -13
  79. package/dist/chunks/{command-2eegacq4.js → repository-cache-92swnv4m.js} +8 -8
  80. package/dist/chunks/{command-vzrdb6x9.js → repository-cache-98m99f87.js} +6 -6
  81. package/dist/chunks/{command-jksyzxb8.js → repository-cache-9gbxqhfr.js} +5 -5
  82. package/dist/chunks/{command-h69hk4jg.js → repository-cache-9n3ec7dh.js} +48 -48
  83. package/dist/chunks/{command-rpnyj0cb.js → repository-cache-9nw2rpfz.js} +87 -87
  84. package/dist/chunks/{command-z2vhj21h.js → repository-cache-9rmnry6z.js} +5 -5
  85. package/dist/chunks/{command-vvx0ahez.js → repository-cache-9t8688mm.js} +16 -16
  86. package/dist/chunks/{command-jj5bew2e.js → repository-cache-9ts5gs6y.js} +50 -50
  87. package/dist/chunks/{command-9wev2pgg.js → repository-cache-9wev2pgg.js} +1 -1
  88. package/dist/chunks/{command-7v6vae4w.js → repository-cache-a20pjse5.js} +3 -3
  89. package/dist/chunks/{command-3xzwacgq.js → repository-cache-a2abd7c8.js} +15 -15
  90. package/dist/chunks/{command-khehvdjk.js → repository-cache-a7fmgszc.js} +18 -18
  91. package/dist/chunks/{command-jr1c3etd.js → repository-cache-a7rvq0vj.js} +11 -11
  92. package/dist/chunks/{command-4q8stq7x.js → repository-cache-aa3p0grs.js} +20 -20
  93. package/dist/chunks/{command-3q9enysw.js → repository-cache-acpej7js.js} +32 -32
  94. package/dist/chunks/{command-034tev2y.js → repository-cache-aj7mw0zk.js} +2 -2
  95. package/dist/chunks/{command-r0etpgas.js → repository-cache-ar1cg2aj.js} +34 -34
  96. package/dist/chunks/{command-axp4ehpq.js → repository-cache-awbtvej0.js} +6 -6
  97. package/dist/chunks/{command-tz35mf6x.js → repository-cache-axfvp7va.js} +8 -8
  98. package/dist/chunks/{command-qrtwq0eh.js → repository-cache-b0nz1egw.js} +8 -8
  99. package/dist/chunks/{command-j89nzgjf.js → repository-cache-b5cvzhy7.js} +32 -32
  100. package/dist/chunks/{command-bh5ww8rh.js → repository-cache-b5pzk1w6.js} +44 -44
  101. package/dist/chunks/{command-p84vce2c.js → repository-cache-b97d4gnm.js} +11 -11
  102. package/dist/chunks/{command-cywftvdx.js → repository-cache-bcsnmsfv.js} +72 -72
  103. package/dist/chunks/{command-4a84bgxb.js → repository-cache-begd6zth.js} +38 -38
  104. package/dist/chunks/{command-jnwbf985.js → repository-cache-bfnqc4d0.js} +15 -15
  105. package/dist/chunks/{command-22pq31c6.js → repository-cache-bfvhqt57.js} +6 -6
  106. package/dist/chunks/{command-nyzqtb2y.js → repository-cache-bh8xtp3j.js} +27 -27
  107. package/dist/chunks/{command-3gq0bdpp.js → repository-cache-bhdq219t.js} +11 -11
  108. package/dist/chunks/{command-4pmb27zq.js → repository-cache-bk7cr9nn.js} +9 -9
  109. package/dist/chunks/{command-1ep4rre3.js → repository-cache-bzeyqsqd.js} +4 -4
  110. package/dist/chunks/{command-mfp0neqk.js → repository-cache-c1p87g8p.js} +26 -26
  111. package/dist/chunks/{command-vmyf36rx.js → repository-cache-c2qmhs8t.js} +54 -54
  112. package/dist/chunks/{command-b9dbntts.js → repository-cache-c2stk2mm.js} +22 -22
  113. package/dist/chunks/{command-s3k0j0zg.js → repository-cache-c39s302y.js} +4 -4
  114. package/dist/chunks/{command-sp9nn688.js → repository-cache-cg54xxwj.js} +12 -12
  115. package/dist/chunks/{command-06x1kmm3.js → repository-cache-cj61rx2c.js} +16 -16
  116. package/dist/chunks/{command-1fdxsekg.js → repository-cache-cmvvh89a.js} +17 -17
  117. package/dist/chunks/{command-y9pep639.js → repository-cache-cq0ra0jh.js} +24 -24
  118. package/dist/chunks/{command-53fvhgkr.js → repository-cache-cqe88zww.js} +5 -5
  119. package/dist/chunks/{command-5f9rj60p.js → repository-cache-d26ntzqk.js} +14 -14
  120. package/dist/chunks/{command-cr1mssy2.js → repository-cache-d7fp9s3w.js} +49 -49
  121. package/dist/chunks/{command-mkhd10ty.js → repository-cache-day0cpb0.js} +14 -14
  122. package/dist/chunks/{command-vsm45mx7.js → repository-cache-djg74ehg.js} +11 -11
  123. package/dist/chunks/{command-dpkg50ah.js → repository-cache-dpkg50ah.js} +1 -1
  124. package/dist/chunks/{command-1vge1skc.js → repository-cache-dpt9takt.js} +98 -98
  125. package/dist/chunks/{command-57b9ws8p.js → repository-cache-drwq78ky.js} +5 -5
  126. package/dist/chunks/{command-zj8bmmts.js → repository-cache-dtnbwmg7.js} +15 -15
  127. package/dist/chunks/{command-3at1kaya.js → repository-cache-e0hwqygg.js} +190 -190
  128. package/dist/chunks/{command-rf7bhes0.js → repository-cache-e4514827.js} +36 -36
  129. package/dist/chunks/{command-2sq9cs44.js → repository-cache-e6xd5sk6.js} +15 -15
  130. package/dist/chunks/{command-76p14g35.js → repository-cache-e7gxy7fd.js} +4 -4
  131. package/dist/chunks/{command-86jr8x5y.js → repository-cache-ecj0sxev.js} +13 -13
  132. package/dist/chunks/{command-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{command-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{command-k2xckaw8.js → repository-cache-eh4p6hf5.js} +29 -29
  135. package/dist/chunks/{command-a8q1nc8j.js → repository-cache-erjn3gam.js} +13 -13
  136. package/dist/chunks/{command-vty708x5.js → repository-cache-es79jehb.js} +14 -14
  137. package/dist/chunks/{command-yetrppan.js → repository-cache-etbdxt5c.js} +16 -16
  138. package/dist/chunks/{command-3db954pa.js → repository-cache-f9056yzv.js} +11 -11
  139. package/dist/chunks/{command-6p77gfgj.js → repository-cache-f9h0bmn8.js} +11 -11
  140. package/dist/chunks/{command-jn4zdy1z.js → repository-cache-faasdkpb.js} +18 -18
  141. package/dist/chunks/{command-fcy631f0.js → repository-cache-fcy631f0.js} +1 -1
  142. package/dist/chunks/{command-jy9jz103.js → repository-cache-fdrztmbp.js} +21 -21
  143. package/dist/chunks/{command-kbznsqxf.js → repository-cache-fk6x8bjb.js} +14 -14
  144. package/dist/chunks/{command-3ycmgy45.js → repository-cache-fmsvjh24.js} +25 -25
  145. package/dist/chunks/{command-hztdnym9.js → repository-cache-fn3caeej.js} +17 -17
  146. package/dist/chunks/{command-cp7wvvqd.js → repository-cache-fr5g4ae7.js} +11 -11
  147. package/dist/chunks/{command-31dmbqtz.js → repository-cache-g5wgwq6x.js} +5 -5
  148. package/dist/chunks/{command-9h10jqva.js → repository-cache-g8bf95t1.js} +23 -23
  149. package/dist/chunks/{command-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{command-tyk0w0pd.js → repository-cache-gf5160ad.js} +15 -15
  151. package/dist/chunks/{command-hqct51j7.js → repository-cache-ghnq0868.js} +18 -18
  152. package/dist/chunks/{command-g1bk0rvk.js → repository-cache-gn85dn78.js} +13 -13
  153. package/dist/chunks/{command-2xdwzbmw.js → repository-cache-gne8f8zx.js} +8 -8
  154. package/dist/chunks/{command-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{command-kks8wa7e.js → repository-cache-h9hmxamh.js} +19 -19
  156. package/dist/chunks/{command-dqqwr2kk.js → repository-cache-hcbxgsym.js} +11 -11
  157. package/dist/chunks/{command-x1ge9cxs.js → repository-cache-hcv80w8f.js} +8 -8
  158. package/dist/chunks/{command-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{command-69thrbjb.js → repository-cache-hsgb4j0v.js} +9 -9
  160. package/dist/chunks/{command-syv31cvt.js → repository-cache-hwjkc1fd.js} +9 -9
  161. package/dist/chunks/{command-n7er3eab.js → repository-cache-hxnv0h4d.js} +29 -29
  162. package/dist/chunks/{command-yppjc11p.js → repository-cache-j4xwnxxe.js} +22 -22
  163. package/dist/chunks/{command-z07xh9t5.js → repository-cache-j7e7jnf7.js} +47 -47
  164. package/dist/chunks/{command-xzb6sdgh.js → repository-cache-jgfm49py.js} +93 -39
  165. package/dist/chunks/{command-hkk11q6k.js → repository-cache-jknb9njf.js} +40 -40
  166. package/dist/chunks/{command-wedt70z2.js → repository-cache-jp7rf1q7.js} +32 -32
  167. package/dist/chunks/{command-15k3sgvy.js → repository-cache-jsdm87ms.js} +22 -22
  168. package/dist/chunks/{command-497kckq0.js → repository-cache-k0xvjywy.js} +61 -61
  169. package/dist/chunks/{command-q99gfpgg.js → repository-cache-k332vpf5.js} +3 -3
  170. package/dist/chunks/{command-xfwyxa0r.js → repository-cache-k7frbprm.js} +14 -14
  171. package/dist/chunks/{command-hqcwm3sg.js → repository-cache-ka6d3s58.js} +23 -23
  172. package/dist/chunks/{command-gcyw4s3t.js → repository-cache-kaa2ns5k.js} +26 -26
  173. package/dist/chunks/{command-9pkkzrmj.js → repository-cache-kerhshr9.js} +5 -5
  174. package/dist/chunks/{command-14e2z5dd.js → repository-cache-khan5c8r.js} +21 -21
  175. package/dist/chunks/{command-khmqacep.js → repository-cache-khmqacep.js} +1 -1
  176. package/dist/chunks/{command-tt8gc4fv.js → repository-cache-kmj26603.js} +6 -6
  177. package/dist/chunks/{command-zvt5dnpc.js → repository-cache-kne8f3cn.js} +4 -4
  178. package/dist/chunks/{command-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
  179. package/dist/chunks/repository-cache-ky0e2j5w.js +523 -0
  180. package/dist/chunks/{command-xvc40k3r.js → repository-cache-m2r0nwr4.js} +35 -35
  181. package/dist/chunks/{command-58072hz9.js → repository-cache-m5jcjszt.js} +3 -3
  182. package/dist/chunks/{command-4ppxeyv4.js → repository-cache-m8r31wvh.js} +14 -14
  183. package/dist/chunks/{command-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{command-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
  185. package/dist/chunks/{command-0g0zhkr3.js → repository-cache-maxwxnrc.js} +22 -22
  186. package/dist/chunks/{command-bhz4wbbx.js → repository-cache-mktar7aj.js} +6 -6
  187. package/dist/chunks/{command-x084xcqe.js → repository-cache-mre6e2bz.js} +26 -26
  188. package/dist/chunks/{command-xkpx58x0.js → repository-cache-mt8bq6wm.js} +3 -3
  189. package/dist/chunks/{command-cyqt27pd.js → repository-cache-mv2tdfz1.js} +5 -5
  190. package/dist/chunks/{command-vvccsdf3.js → repository-cache-mx9vqzsb.js} +6 -6
  191. package/dist/chunks/{command-k1nwc2sn.js → repository-cache-n42ws626.js} +12 -12
  192. package/dist/chunks/{command-ns3jj6y3.js → repository-cache-n89rhept.js} +18 -18
  193. package/dist/chunks/{command-njwf2h5j.js → repository-cache-na2qt776.js} +11 -11
  194. package/dist/chunks/{command-0akze81x.js → repository-cache-neter18e.js} +17 -17
  195. package/dist/chunks/{command-nhsdda1g.js → repository-cache-njn7svrx.js} +14 -14
  196. package/dist/chunks/{command-nz56sr1f.js → repository-cache-nz56sr1f.js} +2 -2
  197. package/dist/chunks/{command-ppqq8y70.js → repository-cache-p4ev34c6.js} +5 -5
  198. package/dist/chunks/{command-dgzq35zb.js → repository-cache-p50c7myx.js} +3 -3
  199. package/dist/chunks/{command-p37cw4rj.js → repository-cache-pa8pe2x7.js} +8 -8
  200. package/dist/chunks/{command-nq0h700v.js → repository-cache-pjrd54q9.js} +13 -13
  201. package/dist/chunks/{command-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{command-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  203. package/dist/chunks/repository-cache-q3q02nra.js +107 -0
  204. package/dist/chunks/repository-cache-q509s3k3.js +18 -0
  205. package/dist/chunks/{command-6x8zv1ga.js → repository-cache-q9nxkgyw.js} +18 -18
  206. package/dist/chunks/{command-5kxh3622.js → repository-cache-qaejpsje.js} +31 -31
  207. package/dist/chunks/{command-cwa6csj7.js → repository-cache-qmqgtz8f.js} +9 -9
  208. package/dist/chunks/{command-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  209. package/dist/chunks/{command-xebswx6q.js → repository-cache-qwwrvzk6.js} +9 -9
  210. package/dist/chunks/{command-q5vfa25v.js → repository-cache-r5mam93n.js} +20 -20
  211. package/dist/chunks/{command-anffd6jp.js → repository-cache-rb3bf4ta.js} +24 -24
  212. package/dist/chunks/repository-cache-rdknsxcs.js +26 -0
  213. package/dist/chunks/{command-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{command-xfjms2yf.js → repository-cache-re7drvpd.js} +28 -28
  215. package/dist/chunks/{command-v20a42cg.js → repository-cache-rhgbdkcw.js} +4 -4
  216. package/dist/chunks/{command-bx2c7yn7.js → repository-cache-rs7cjgc2.js} +11 -11
  217. package/dist/chunks/{command-d53g1a3y.js → repository-cache-rzvtppca.js} +9 -9
  218. package/dist/chunks/{command-wazpdbd3.js → repository-cache-s3s0e237.js} +16 -16
  219. package/dist/chunks/{command-85bd81md.js → repository-cache-s441vsqw.js} +45 -45
  220. package/dist/chunks/{command-w5xp9r00.js → repository-cache-s5q4smqk.js} +23 -23
  221. package/dist/chunks/{command-avnbws58.js → repository-cache-s8764fh1.js} +22 -22
  222. package/dist/chunks/{command-3c1qz3w8.js → repository-cache-shgfme6y.js} +9 -9
  223. package/dist/chunks/{command-m89j5wza.js → repository-cache-sk60w5yp.js} +4 -4
  224. package/dist/chunks/{command-nr352xqj.js → repository-cache-stgww97k.js} +1 -1
  225. package/dist/chunks/{command-wy4tkx13.js → repository-cache-sy8aafnh.js} +13 -13
  226. package/dist/chunks/{command-syv4x271.js → repository-cache-syv4x271.js} +1 -1
  227. package/dist/chunks/{command-y0t9c3b8.js → repository-cache-t445km54.js} +32 -32
  228. package/dist/chunks/{command-ratrq7cm.js → repository-cache-t6vsspdg.js} +7 -7
  229. package/dist/chunks/{command-y28amm4t.js → repository-cache-t9gapptp.js} +14 -14
  230. package/dist/chunks/{command-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{command-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  232. package/dist/chunks/{command-nxq8z62t.js → repository-cache-thdw9z92.js} +14 -14
  233. package/dist/chunks/{command-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{command-yy6cvr68.js → repository-cache-tq6mjjtf.js} +41 -41
  235. package/dist/chunks/{command-81f7vt2z.js → repository-cache-txm3e8qz.js} +4 -4
  236. package/dist/chunks/{command-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
  237. package/dist/chunks/repository-cache-v19kdf3f.js +257 -0
  238. package/dist/chunks/{command-tx0gtb9m.js → repository-cache-v210v162.js} +9 -9
  239. package/dist/chunks/{command-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{command-k0vsesgg.js → repository-cache-vca9tefh.js} +20 -20
  241. package/dist/chunks/{command-fvvr5s83.js → repository-cache-ve45bn9x.js} +6 -6
  242. package/dist/chunks/{command-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  243. package/dist/chunks/{command-a3c7ahw6.js → repository-cache-vfjhn2wd.js} +4 -4
  244. package/dist/chunks/{command-86br03e3.js → repository-cache-vws1dc27.js} +8 -8
  245. package/dist/chunks/{command-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{command-pz7h80dq.js → repository-cache-vzvdzsp8.js} +19 -19
  247. package/dist/chunks/{command-84txncab.js → repository-cache-w1eejvng.js} +5 -5
  248. package/dist/chunks/{command-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{command-gc8554r3.js → repository-cache-w5v1nc2x.js} +45 -45
  250. package/dist/chunks/{command-zf2st5d0.js → repository-cache-w95yk9fa.js} +12 -12
  251. package/dist/chunks/{command-y8b4jftr.js → repository-cache-w97r3myk.js} +7 -7
  252. package/dist/chunks/{command-9tjr5tfj.js → repository-cache-waj948mc.js} +13 -13
  253. package/dist/chunks/{command-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
  254. package/dist/chunks/{command-xmhs9py1.js → repository-cache-wb3npxmx.js} +24 -24
  255. package/dist/chunks/{command-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  256. package/dist/chunks/{command-87gdc6tq.js → repository-cache-wdj21rq2.js} +3 -3
  257. package/dist/chunks/{command-rvmmw9hn.js → repository-cache-wg8mj883.js} +4 -4
  258. package/dist/chunks/{command-bjx1sjef.js → repository-cache-wjr9rjd7.js} +6 -6
  259. package/dist/chunks/{command-qes6m8vb.js → repository-cache-x5n6rhaq.js} +28 -28
  260. package/dist/chunks/{command-3y377wv9.js → repository-cache-x661k3y3.js} +4 -4
  261. package/dist/chunks/{command-p6ern3p6.js → repository-cache-x99b0ndd.js} +33 -33
  262. package/dist/chunks/{command-6n4b0dsb.js → repository-cache-xdx7acry.js} +8 -8
  263. package/dist/chunks/{command-4bw5k2yb.js → repository-cache-xsd5t8ts.js} +7 -7
  264. package/dist/chunks/{command-wgzgvsr8.js → repository-cache-xvpfz61x.js} +17 -17
  265. package/dist/chunks/{command-f6znfd8x.js → repository-cache-xwvq48yb.js} +53 -53
  266. package/dist/chunks/{command-dshe5yp9.js → repository-cache-xzcw8fss.js} +35 -35
  267. package/dist/chunks/{command-zsd94d5t.js → repository-cache-xzmr40r3.js} +20 -20
  268. package/dist/chunks/{command-54ckgp8f.js → repository-cache-xzyddccp.js} +11 -11
  269. package/dist/chunks/{command-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{command-hx1srwd5.js → repository-cache-y1seeq9p.js} +19 -19
  271. package/dist/chunks/{command-ravky6v4.js → repository-cache-y2vmg8pj.js} +27 -27
  272. package/dist/chunks/{command-61bp3nch.js → repository-cache-y35aym2w.js} +4 -4
  273. package/dist/chunks/{command-prq7hedt.js → repository-cache-y56ehv6b.js} +9 -9
  274. package/dist/chunks/{command-y7nndgyc.js → repository-cache-y7nndgyc.js} +2 -2
  275. package/dist/chunks/{command-bn5wyt58.js → repository-cache-y7wkqyfh.js} +23 -23
  276. package/dist/chunks/{command-bh36nkqs.js → repository-cache-yhyj8seq.js} +23 -23
  277. package/dist/chunks/{command-s5r7j2ea.js → repository-cache-ypjr4kpw.js} +4 -4
  278. package/dist/chunks/{command-a37705eh.js → repository-cache-yyj6wd33.js} +23 -23
  279. package/dist/chunks/{command-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{command-z18fegx4.js → repository-cache-z18fegx4.js} +1 -1
  281. package/dist/chunks/{command-gjs4gkbj.js → repository-cache-z7e4qa79.js} +28 -28
  282. package/dist/chunks/{command-dd1wce65.js → repository-cache-z8b9xacy.js} +50 -50
  283. package/dist/chunks/{command-xhw0dpzq.js → repository-cache-zkbbq4dt.js} +16 -16
  284. package/dist/chunks/{command-mf528kyb.js → repository-cache-zmtrh7z6.js} +27 -27
  285. package/dist/chunks/{command-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{command-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +72 -72
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -81
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +227 -227
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +4 -4
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +91 -91
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +158 -158
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +91 -91
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +104 -104
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +333 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +103 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +171 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +352 -351
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +229 -229
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +92 -92
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +224 -224
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +166 -166
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -98
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +77 -77
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +168 -168
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +223 -223
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +218 -218
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +2 -2
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +110 -110
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +139 -139
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +107 -107
  645. package/dist/tool/plugin/read.js +121 -121
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +109 -109
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +120 -120
  653. package/dist/tool/read-filesystem.js +100 -100
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +10 -10
  657. package/dist/types/plugin/internal.d.ts +3 -2
  658. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  659. package/dist/types/voice.d.ts +30 -1
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +94 -94
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/variant.js +95 -95
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +91 -91
  681. package/dist/voice.js +90 -90
  682. package/dist/websearch.js +86 -86
  683. package/dist/wellknown/plugin.js +78 -78
  684. package/dist/wellknown.js +81 -81
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +82 -82
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +91 -91
  692. package/dist/worktree.js +100 -100
  693. package/package.json +8 -8
  694. package/dist/chunks/command-gknwg3d3.js +0 -82
  695. package/dist/chunks/command-kbyad70m.js +0 -517
  696. package/dist/chunks/command-m1grcskh.js +0 -257
  697. package/dist/chunks/command-mr3dex66.js +0 -26
  698. package/dist/chunks/command-rap9a73h.js +0 -18
  699. /package/dist/chunks/{command-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{command-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{command-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{command-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{command-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{command-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{command-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{command-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{command-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
  708. /package/dist/chunks/{command-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{command-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{command-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  711. /package/dist/chunks/{command-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
  712. /package/dist/chunks/{command-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{command-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{command-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{command-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{command-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{command-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{command-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  719. /package/dist/chunks/{command-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{command-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{command-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  722. /package/dist/chunks/{command-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
  723. /package/dist/chunks/{command-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{command-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{command-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  726. /package/dist/chunks/{command-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
  727. /package/dist/chunks/{command-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{command-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{command-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{command-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{command-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{command-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{command-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{command-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{command-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{command-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{command-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{command-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{command-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{command-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{command-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{command-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{command-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{command-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{command-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  746. /package/dist/chunks/{command-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{command-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{command-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{command-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{command-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{command-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{command-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{command-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{command-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{command-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{command-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{command-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  758. /package/dist/chunks/{command-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{command-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  760. /package/dist/chunks/{command-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
  761. /package/dist/chunks/{command-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  762. /package/dist/chunks/{command-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{command-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{command-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{command-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{command-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{command-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
  768. /package/dist/chunks/{command-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{command-m18g726c.js → repository-cache-m18g726c.js} +0 -0
  770. /package/dist/chunks/{command-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{command-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{command-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{command-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{command-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{command-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
  776. /package/dist/chunks/{command-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
  777. /package/dist/chunks/{command-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{command-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{command-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{command-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{command-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{command-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{command-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{command-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{command-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{command-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{command-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
  788. /package/dist/chunks/{command-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{command-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{command-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{command-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
  792. /package/dist/chunks/{command-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{command-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{command-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  795. /package/dist/chunks/{command-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{command-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{command-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{command-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{command-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
  800. /package/dist/chunks/{command-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service78
3
- } from "./command-wgzgvsr8.js";
2
+ Service82
3
+ } from "./repository-cache-xvpfz61x.js";
4
4
  import {
5
- Service63
6
- } from "./command-anffd6jp.js";
5
+ Service65
6
+ } from "./repository-cache-rb3bf4ta.js";
7
7
  import {
8
- Service22,
8
+ Service64,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./command-9tjr5tfj.js";
11
+ } from "./repository-cache-waj948mc.js";
12
12
  import {
13
- Service21
14
- } from "./command-zj8bmmts.js";
13
+ Service34
14
+ } from "./repository-cache-dtnbwmg7.js";
15
15
  import {
16
- Service73
17
- } from "./command-ma9kyv73.js";
16
+ Service57
17
+ } from "./repository-cache-42q84ag7.js";
18
18
  import {
19
- Service72,
19
+ Service14,
20
20
  resolvePath2
21
- } from "./command-khehvdjk.js";
21
+ } from "./repository-cache-a7fmgszc.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./command-6prwharc.js";
24
+ } from "./repository-cache-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./command-9rqn6x4v.js";
27
+ } from "./repository-cache-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input10,
34
- Output: () => Output7,
35
- Plugin: () => Plugin28,
36
- name: () => name10
33
+ Input: () => Input9,
34
+ Output: () => Output6,
35
+ Plugin: () => Plugin45,
36
+ name: () => name9
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name10 = "edit";
43
- var Input10 = Schema.Struct({
42
+ var name9 = "edit";
43
+ var Input9 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output6 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin28 = {
193
+ var Plugin45 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service72;
197
- const fileMutation = yield* Service22;
198
- const environment = yield* Service63;
199
- const formatter = yield* Service21;
200
- const location = yield* Service78;
201
- const permission = yield* Service73;
196
+ const access = yield* Service14;
197
+ const fileMutation = yield* Service64;
198
+ const environment = yield* Service65;
199
+ const formatter = yield* Service34;
200
+ const location = yield* Service82;
201
+ const permission = yield* Service57;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name10,
203
+ name: name9,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input10,
207
- output: Output7,
206
+ input: Input9,
207
+ output: Output6,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin28 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name10, Input10, Output7, Plugin28, exports_edit };
279
+ export { name9, Input9, Output6, Plugin45, exports_edit };
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service85
3
- } from "./command-zej84cff.js";
2
+ Service84
3
+ } from "./repository-cache-7yn4yp07.js";
4
4
  import {
5
- Service71
6
- } from "./command-86jr8x5y.js";
5
+ Service80
6
+ } from "./repository-cache-ecj0sxev.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./command-rdw6cm16.js";
12
+ } from "./repository-cache-rdw6cm16.js";
13
13
  import {
14
- Service33,
14
+ Service25,
15
15
  awaitActivation2
16
- } from "./command-rap9a73h.js";
16
+ } from "./repository-cache-q509s3k3.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./command-3at1kaya.js";
21
+ } from "./repository-cache-e0hwqygg.js";
22
22
  import {
23
23
  __export
24
- } from "./command-9rqn6x4v.js";
24
+ } from "./repository-cache-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event2,
30
- ID: () => ID2,
31
- Info: () => Info3,
29
+ Event: () => Event3,
30
+ ID: () => ID3,
31
+ Info: () => Info4,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service33,
33
+ Service: () => Service25,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node16
37
+ node: () => node18
38
38
  });
39
- import { Event as Event2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID3, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service33, Effect.gen(function* () {
44
- const bus = yield* Service85;
45
- const kv = yield* Service71;
43
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
44
+ const bus = yield* Service84;
45
+ const kv = yield* Service80;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service33.of({
208
+ return Service25.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node16 = Node.makeLocationNode({
226
- service: Service33,
225
+ var node18 = Node.makeLocationNode({
226
+ service: Service25,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node16, exports_plugin2, Event2, ID2, Info3, Source2, State2 };
231
+ export { node18, exports_plugin2, Event3, ID3, Info4, Source2, State2 };
@@ -1,63 +1,63 @@
1
- import {
2
- Service86,
3
- node90
4
- } from "./command-6p77gfgj.js";
5
1
  import {
6
2
  Service85,
7
3
  node89
8
- } from "./command-zej84cff.js";
4
+ } from "./repository-cache-f9h0bmn8.js";
5
+ import {
6
+ Service84,
7
+ node88
8
+ } from "./repository-cache-7yn4yp07.js";
9
9
  import {
10
- Service47,
11
- node50
12
- } from "./command-vvccsdf3.js";
10
+ Service45,
11
+ node47
12
+ } from "./repository-cache-mx9vqzsb.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./command-z5v4ffb3.js";
16
+ } from "./repository-cache-z5v4ffb3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./command-mr3qe865.js";
18
+ Service83,
19
+ node87
20
+ } from "./repository-cache-1p6gkt63.js";
21
21
  import {
22
- Ref3
23
- } from "./command-wgzgvsr8.js";
22
+ Ref4
23
+ } from "./repository-cache-xvpfz61x.js";
24
24
  import {
25
- Service48,
26
- node51
27
- } from "./command-p84vce2c.js";
25
+ Service81,
26
+ node85
27
+ } from "./repository-cache-b97d4gnm.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./command-gftt206x.js";
30
+ } from "./repository-cache-gftt206x.js";
31
31
  import {
32
- NotFoundError10
33
- } from "./command-bhz4wbbx.js";
32
+ NotFoundError9
33
+ } from "./repository-cache-mktar7aj.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./command-ec1grn59.js";
36
+ } from "./repository-cache-ec1grn59.js";
37
37
  import {
38
- Service44
39
- } from "./command-zvt5dnpc.js";
38
+ Service43
39
+ } from "./repository-cache-kne8f3cn.js";
40
40
  import {
41
- Service75,
42
- node79
43
- } from "./command-26v53g8c.js";
41
+ Service58,
42
+ node60
43
+ } from "./repository-cache-2wt8nezh.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service45,
48
- node48,
47
+ Service44,
48
+ node46,
49
49
  moveIDs2
50
- } from "./command-rcas954y.js";
50
+ } from "./repository-cache-4r758bxz.js";
51
51
  import {
52
- Service43,
53
- node47
54
- } from "./command-yy6cvr68.js";
52
+ Service42,
53
+ node45
54
+ } from "./repository-cache-tq6mjjtf.js";
55
55
  import {
56
- node34
57
- } from "./command-w5xp9r00.js";
56
+ node22
57
+ } from "./repository-cache-s5q4smqk.js";
58
58
  import {
59
59
  __export
60
- } from "./command-9rqn6x4v.js";
60
+ } from "./repository-cache-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service30,
68
+ Service: () => Service18,
69
69
  SessionMove: () => exports_move,
70
- node: () => node33
70
+ node: () => node21
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service30 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service18 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service30, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service79;
92
- const locations = yield* Service48;
93
- const store = yield* Service75;
94
- const execution = yield* Service43;
95
- const instances = yield* Service47;
96
- const admission = yield* Service45;
97
- const database = yield* Service86;
98
- const bus = yield* Service85;
91
+ const projects = yield* Service83;
92
+ const locations = yield* Service81;
93
+ const store = yield* Service58;
94
+ const execution = yield* Service42;
95
+ const instances = yield* Service45;
96
+ const admission = yield* Service44;
97
+ const database = yield* Service85;
98
+ const bus = yield* Service84;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError10({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref3.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref4.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service44.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service43.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service30.of({
136
+ return Service18.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node33 = makeGlobalNode({
167
- service: Service30,
166
+ var node21 = makeGlobalNode({
167
+ service: Service18,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node83,
173
- node51,
174
- node79,
172
+ node87,
173
+ node85,
174
+ node60,
175
+ node45,
175
176
  node47,
176
- node50,
177
- node48,
178
- node90,
177
+ node46,
179
178
  node89,
180
- node34
179
+ node88,
180
+ node22
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service30, node33, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node21, exports_move };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID8
3
- } from "./command-bc4d43x0.js";
2
+ ID12
3
+ } from "./repository-cache-1n547s99.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service78
3
- } from "./command-wgzgvsr8.js";
2
+ Service82
3
+ } from "./repository-cache-xvpfz61x.js";
4
4
  import {
5
- ID8,
5
+ ID12,
6
6
  Family2
7
- } from "./command-bc4d43x0.js";
7
+ } from "./repository-cache-1n547s99.js";
8
8
  import {
9
- Service65
10
- } from "./command-f6znfd8x.js";
9
+ Service47
10
+ } from "./repository-cache-xwvq48yb.js";
11
11
  import {
12
- Service63
13
- } from "./command-anffd6jp.js";
12
+ Service65
13
+ } from "./repository-cache-rb3bf4ta.js";
14
14
  import {
15
15
  spawner2
16
- } from "./command-khmqacep.js";
16
+ } from "./repository-cache-khmqacep.js";
17
17
  import {
18
18
  foldSettings2
19
- } from "./command-22pq31c6.js";
19
+ } from "./repository-cache-bfvhqt57.js";
20
20
 
21
21
  // src/plugin/provider/local.ts
22
22
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
32
32
  id: input.id,
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
35
- const config = yield* Service65;
36
- const environment = yield* Effect.serviceOption(Service63);
37
- const location = yield* Effect.serviceOption(Service78);
35
+ const config = yield* Service47;
36
+ const environment = yield* Effect.serviceOption(Service65);
37
+ const location = yield* Effect.serviceOption(Service82);
38
38
  const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
39
39
  const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
40
40
  const loaded = { models: [], hash: "[]" };
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
63
63
  for (const item of loaded.models) {
64
64
  const spec = input.model(item);
65
65
  providers.models.update(input.providerID, spec.id, (model) => {
66
- model.modelID = ID8.make(spec.id);
66
+ model.modelID = ID12.make(spec.id);
67
67
  model.name = spec.name || spec.id;
68
68
  model.family = spec.family ? Family2.make(spec.family) : undefined;
69
69
  model.capabilities = {
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./command-sp9nn688.js";
5
+ Service86,
6
+ node90
7
+ } from "./repository-cache-cg54xxwj.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./command-84txncab.js";
13
+ } from "./repository-cache-w1eejvng.js";
14
14
  import {
15
- Service71,
16
- node75
17
- } from "./command-86jr8x5y.js";
15
+ Service80,
16
+ node84
17
+ } from "./repository-cache-ecj0sxev.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./repository-cache-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service59,
33
+ Service: () => Service79,
34
34
  isError: () => isError2,
35
- node: () => node62,
35
+ node: () => node83,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service59 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service79 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service59, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service80;
106
+ const git = yield* Service86;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service71;
110
- return Service59.of({
109
+ const kv = yield* Service80;
110
+ return Service79.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node62 = makeGlobalNode({
171
- service: Service59,
170
+ var node83 = makeGlobalNode({
171
+ service: Service79,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node75]
173
+ deps: [EffectFlock.node, FSUtil.node, node90, Global.node, node84]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node62, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service79, isError2, validateBranch2, node83, exports_repository_cache };