@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,24 +1,24 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make21,
4
+ make18,
5
5
  diffByKey2
6
- } from "./command-s8d7rejh.js";
6
+ } from "./repository-cache-0gdmqesm.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize3,
10
10
  namespaceLine2
11
- } from "./command-z18fegx4.js";
11
+ } from "./repository-cache-z18fegx4.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./repository-cache-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions5 = {};
18
- __export(exports_instructions5, {
19
- CodeModeInstructions: () => exports_instructions5,
20
- make: () => make15,
21
- render: () => render3,
17
+ var exports_instructions2 = {};
18
+ __export(exports_instructions2, {
19
+ CodeModeInstructions: () => exports_instructions2,
20
+ make: () => make13,
21
+ render: () => render2,
22
22
  update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
32
32
  - ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
33
33
 
34
34
  ## Available tools`;
35
- function render3(catalog) {
35
+ function render2(catalog) {
36
36
  if (catalog.total === 0)
37
37
  return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
38
38
  const tools = catalog.namespaces.flatMap((namespace) => {
@@ -46,7 +46,7 @@ ${tools.join(`
46
46
  function update3(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
- ${render3(current)}`;
49
+ ${render2(current)}`;
50
50
  if (current.total === 0)
51
51
  return replacement;
52
52
  const previousComplete = previous.shown === previous.total;
@@ -111,18 +111,18 @@ ${render3(current)}`;
111
111
  }
112
112
  var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make15 = (inventory) => {
114
+ var make13 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize3(inventory);
116
- return make21({
116
+ return make18({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
- initial: render3,
121
+ initial: render2,
122
122
  changed: update3,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render3, update3, make15, exports_instructions5 };
128
+ export { render2, update3, make13, exports_instructions2 };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./command-z5v4ffb3.js";
5
+ } from "./repository-cache-z5v4ffb3.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./command-anffd6jp.js";
7
+ Service65,
8
+ node68
9
+ } from "./repository-cache-rb3bf4ta.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./command-maspj1v3.js";
12
+ } from "./repository-cache-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./repository-cache-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service41,
24
- node: () => node44
23
+ Service: () => Service51,
24
+ node: () => node53
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service41 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service51 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service41, Effect.gen(function* () {
67
- const environment = yield* Service63;
66
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
67
+ const environment = yield* Service65;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service41.of({
95
+ return Service51.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node44 = makeLocationNode({ service: Service41, layer, deps: [node66, RipgrepBinary2.node] });
178
+ var node53 = makeLocationNode({ service: Service51, layer, deps: [node68, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service41, node44, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service51, node53, exports_ripgrep };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service65
3
- } from "./command-f6znfd8x.js";
2
+ Service47
3
+ } from "./repository-cache-xwvq48yb.js";
4
4
  import {
5
- Service32
6
- } from "./command-vmyf36rx.js";
5
+ Service28
6
+ } from "./repository-cache-c2qmhs8t.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./repository-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin33,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin2,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin33 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service65;
28
- const mcp = yield* Service32;
27
+ const config = yield* Service47;
28
+ const mcp = yield* Service28;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin33, register2, exports_mcp2 };
49
+ export { Plugin2, register2, exports_mcp };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service57
3
- } from "./command-gjs4gkbj.js";
2
+ Service52
3
+ } from "./repository-cache-z7e4qa79.js";
4
4
  import {
5
- Service47
6
- } from "./command-vvccsdf3.js";
5
+ Service45
6
+ } from "./repository-cache-mx9vqzsb.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./command-rap9a73h.js";
9
+ } from "./repository-cache-q509s3k3.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./repository-cache-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service47;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service57), instances.provide(input.session));
22
+ const instances = yield* Service45;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service52), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./command-pyv0edze.js";
7
+ } from "./repository-cache-pyv0edze.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./command-7v6vae4w.js";
11
+ } from "./repository-cache-a20pjse5.js";
12
12
  import {
13
13
  create3
14
- } from "./command-rdw6cm16.js";
14
+ } from "./repository-cache-rdw6cm16.js";
15
15
  import {
16
- Service53,
16
+ Service54,
17
17
  node56
18
- } from "./command-6n4b0dsb.js";
18
+ } from "./repository-cache-xdx7acry.js";
19
19
  import {
20
- Service77,
21
- node81
22
- } from "./command-2eegacq4.js";
20
+ Service60,
21
+ node62
22
+ } from "./repository-cache-92swnv4m.js";
23
23
  import {
24
24
  match2
25
- } from "./command-y1fvbwt7.js";
25
+ } from "./repository-cache-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./command-9rqn6x4v.js";
28
+ } from "./repository-cache-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,7 +35,7 @@ __export(exports_tool, {
35
35
  Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service52,
38
+ Service: () => Service53,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
41
  node: () => node55
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service52 extends Context.Service()("@opencode/Tool") {
54
+ class Service53 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service52, Effect.gen(function* () {
57
- const hooks = yield* Service77;
58
- const image = yield* Service53;
56
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
57
+ const hooks = yield* Service60;
58
+ const image = yield* Service54;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service52.of({
187
+ return Service53.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -274,9 +274,9 @@ function namespaceError(name) {
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
276
  var node55 = makeLocationNode({
277
- service: Service52,
277
+ service: Service53,
278
278
  layer,
279
- deps: [node81, node56]
279
+ deps: [node62, node56]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service52, node55, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service53, node55, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-bx2c7yn7.js";
3
+ } from "./repository-cache-rs7cjgc2.js";
4
4
  import {
5
5
  OAuth3,
6
- Service83
7
- } from "./command-p6ern3p6.js";
6
+ Service74
7
+ } from "./repository-cache-x99b0ndd.js";
8
8
  import {
9
- ID16,
9
+ ID14,
10
10
  MethodID2
11
- } from "./command-5kxh3622.js";
11
+ } from "./repository-cache-qaejpsje.js";
12
12
  import {
13
- ID9,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./command-6snphvfm.js";
15
+ } from "./repository-cache-5ky00pdm.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID9.make("xai");
27
+ var providerID = ID13.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID16.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service83;
73
- yield* Effect.forEach(yield* credentials.list(ID16.make("xai")), (credential) => {
72
+ const credentials = yield* Service74;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info16
7
- } from "./command-81f7vt2z.js";
6
+ Info12
7
+ } from "./repository-cache-txm3e8qz.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./repository-cache-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
13
  var exports_agent3 = {};
14
14
  __export(exports_agent3, {
15
15
  ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info12
16
+ Info: () => Info11
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info16)
48
+ permission: Schema.optional(Info12)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info12 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info11 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info12, exports_agent3 };
72
+ export { Info11, exports_agent3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-bx2c7yn7.js";
3
+ } from "./repository-cache-rs7cjgc2.js";
4
4
  import {
5
5
  call2
6
- } from "./command-bjx1sjef.js";
6
+ } from "./repository-cache-wjr9rjd7.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./repository-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin2,
14
+ Plugin: () => Plugin27,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint6
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint2 = "https://search.parallel.ai/mcp";
21
+ var endpoint6 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin2 = define({
50
+ var Plugin27 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin2 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin2 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint2, Plugin2, exports_parallel };
96
+ export { endpoint6, Plugin27, exports_parallel };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-bx2c7yn7.js";
3
+ } from "./repository-cache-rs7cjgc2.js";
4
4
  import {
5
5
  call2
6
- } from "./command-bjx1sjef.js";
6
+ } from "./repository-cache-wjr9rjd7.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./repository-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin9,
14
+ Plugin: () => Plugin24,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin9 = define({
40
+ var Plugin24 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin9 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin9 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin9, exports_firecrawl };
80
+ export { endpoint3, Plugin24, exports_firecrawl };
@@ -1,37 +1,37 @@
1
- import {
2
- Service85,
3
- node89
4
- } from "./command-zej84cff.js";
5
1
  import {
6
2
  Service84,
7
3
  node88
8
- } from "./command-ej25e5st.js";
4
+ } from "./repository-cache-7yn4yp07.js";
5
+ import {
6
+ Service76,
7
+ node80
8
+ } from "./repository-cache-8cgdxtst.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./command-mr3qe865.js";
10
+ Service83,
11
+ node87
12
+ } from "./repository-cache-1p6gkt63.js";
13
13
  import {
14
- Ref3,
15
- Service78,
16
- node82
17
- } from "./command-wgzgvsr8.js";
14
+ Ref4,
15
+ Service82,
16
+ node86
17
+ } from "./repository-cache-xvpfz61x.js";
18
18
  import {
19
19
  canonical3
20
- } from "./command-p84vce2c.js";
20
+ } from "./repository-cache-b97d4gnm.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./command-ec1grn59.js";
23
+ } from "./repository-cache-ec1grn59.js";
24
24
  import {
25
- Service73,
26
- node77
27
- } from "./command-ma9kyv73.js";
25
+ Service57,
26
+ node59
27
+ } from "./repository-cache-42q84ag7.js";
28
28
  import {
29
- Service16,
30
- node19
31
- } from "./command-v8cs5gsq.js";
29
+ Service77,
30
+ node81
31
+ } from "./repository-cache-63rqhaqj.js";
32
32
  import {
33
33
  __export
34
- } from "./command-9rqn6x4v.js";
34
+ } from "./repository-cache-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
@@ -48,12 +48,12 @@ var isSessionEvent = Schema.is(SessionEvent2.Durable);
48
48
  class Service13 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
50
  var layer = Layer.effect(Service13, Effect.gen(function* () {
51
- const bus = yield* Service85;
52
- const location = yield* Service78;
53
- const permission = yield* Service73;
54
- const forms = yield* Service84;
55
- const rpc = yield* Service16;
56
- const project = yield* Service79;
51
+ const bus = yield* Service84;
52
+ const location = yield* Service82;
53
+ const permission = yield* Service57;
54
+ const forms = yield* Service76;
55
+ const rpc = yield* Service77;
56
+ const project = yield* Service83;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -76,7 +76,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
76
76
  yield* forms.close;
77
77
  yield* rpc.close;
78
78
  yield* bus.publish(LocationEvent.Shutdown, {}, {
79
- location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
79
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
88
88
  var node15 = makeLocationNode({
89
89
  service: Service13,
90
90
  layer,
91
- deps: [node89, node82, node77, node83, node88, node19]
91
+ deps: [node88, node86, node59, node87, node80, node81]
92
92
  });
93
93
 
94
94
  export { Service13, node15, exports_location_lifecycle };