@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,31 +1,31 @@
1
1
  import {
2
- Service66,
3
- node69
4
- } from "./command-yppjc11p.js";
2
+ Service48,
3
+ node50
4
+ } from "./repository-cache-j4xwnxxe.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./command-wgzgvsr8.js";
6
+ Service82,
7
+ node86
8
+ } from "./repository-cache-xvpfz61x.js";
9
9
  import {
10
- Service65,
11
- node68
12
- } from "./command-f6znfd8x.js";
10
+ Service47,
11
+ node49
12
+ } from "./repository-cache-xwvq48yb.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./command-zxq2ej10.js";
16
+ } from "./repository-cache-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./command-9rqn6x4v.js";
19
+ } from "./repository-cache-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service8,
25
+ Service: () => Service4,
26
26
  empty: () => empty2,
27
- layer: () => layer7,
28
- node: () => node10
27
+ layer: () => layer5,
28
+ node: () => node6
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer7 = Layer.effect(Service8, Effect.gen(function* () {
39
- const config = yield* Service65;
40
- const watcher = yield* Service66;
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
+ const config = yield* Service47;
40
+ const watcher = yield* Service48;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service78;
42
+ const location = yield* Service82;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service8.of({
61
+ return Service4.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node10 = makeLocationNode({
74
- service: Service8,
75
- layer: layer7,
76
- deps: [node68, FSUtil.node, node69, node82]
73
+ var node6 = makeLocationNode({
74
+ service: Service4,
75
+ layer: layer5,
76
+ deps: [node49, FSUtil.node, node50, node86]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service8,
80
- layer: Layer.succeed(Service8, Service8.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service8, layer7, node10, empty2, exports_source };
140
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./command-8m6m0r52.js";
3
+ } from "./repository-cache-8m6m0r52.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./command-z5v4ffb3.js";
6
+ } from "./repository-cache-z5v4ffb3.js";
7
7
  import {
8
8
  ID6,
9
9
  Name2
10
- } from "./command-k0vsesgg.js";
10
+ } from "./repository-cache-vca9tefh.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./repository-cache-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./command-dpkg50ah.js";
3
+ } from "./repository-cache-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service5, node7, exports_update };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service66
3
- } from "./command-yppjc11p.js";
2
+ Service48
3
+ } from "./repository-cache-j4xwnxxe.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./command-z5v4ffb3.js";
6
+ } from "./repository-cache-z5v4ffb3.js";
7
7
  import {
8
- Service78
9
- } from "./command-wgzgvsr8.js";
8
+ Service82
9
+ } from "./repository-cache-xvpfz61x.js";
10
10
  import {
11
- Service65
12
- } from "./command-f6znfd8x.js";
11
+ Service47
12
+ } from "./repository-cache-xwvq48yb.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source3
17
- } from "./command-k0vsesgg.js";
17
+ } from "./repository-cache-vca9tefh.js";
18
18
  import {
19
19
  Service10
20
- } from "./command-y7nndgyc.js";
20
+ } from "./repository-cache-y7nndgyc.js";
21
21
  import {
22
22
  parse2
23
- } from "./command-61bp3nch.js";
23
+ } from "./repository-cache-y35aym2w.js";
24
24
  import {
25
25
  ignore2,
26
- scan3
27
- } from "./command-1ep4rre3.js";
26
+ scan2
27
+ } from "./repository-cache-bzeyqsqd.js";
28
28
  import {
29
29
  __export
30
- } from "./command-9rqn6x4v.js";
30
+ } from "./repository-cache-9rqn6x4v.js";
31
31
 
32
32
  // src/config/plugin/skill.ts
33
- var exports_skill3 = {};
34
- __export(exports_skill3, {
35
- ConfigSkillPlugin: () => exports_skill3,
36
- Plugin: () => Plugin48
33
+ var exports_skill = {};
34
+ __export(exports_skill, {
35
+ ConfigSkillPlugin: () => exports_skill,
36
+ Plugin: () => Plugin13
37
37
  });
38
38
  import { define } from "@opencode/plugin/effect/plugin";
39
39
  import { FSUtil } from "@opencode/util/fs-util";
40
40
  import { Global } from "@opencode/util/global";
41
41
  import path from "path";
42
42
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
43
- var Plugin48 = define({
43
+ var Plugin13 = define({
44
44
  id: "opencode.config.skill",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const config = yield* Service65;
46
+ const config = yield* Service47;
47
47
  const discovery = yield* Service10;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const global = yield* Global.Service;
50
- const location = yield* Service78;
51
- const watcher = yield* Service66;
50
+ const location = yield* Service82;
51
+ const watcher = yield* Service48;
52
52
  const loaded = {
53
53
  entries: yield* config.entries(),
54
54
  skills: []
@@ -122,7 +122,7 @@ var Plugin48 = define({
122
122
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
123
123
  const skills = [];
124
124
  for (const directory of directories) {
125
- for (const filepath of yield* scan3(directory)) {
125
+ for (const filepath of yield* scan2(directory)) {
126
126
  const resolved = yield* fs.realPath(filepath).pipe(Effect.orElseSucceed(() => filepath));
127
127
  if (!roots.some((root) => FSUtil.contains(root, resolved)))
128
128
  yield* watch(resolved, "file");
@@ -179,4 +179,4 @@ var Plugin48 = define({
179
179
  })
180
180
  });
181
181
 
182
- export { Plugin48, exports_skill3 };
182
+ export { Plugin13, exports_skill };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID9,
2
+ ID13,
3
3
  mergeOverlay2
4
- } from "./command-6snphvfm.js";
4
+ } from "./repository-cache-5ky00pdm.js";
5
5
  import {
6
- ID8,
6
+ ID12,
7
7
  VariantID2,
8
- Info18,
8
+ Info20,
9
9
  compatibility2
10
- } from "./command-bc4d43x0.js";
10
+ } from "./repository-cache-1n547s99.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./repository-cache-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID9.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID8.make(item.id);
78
+ const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID12.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info18.make({
98
- ...Info18.default(providerID, id),
97
+ return Info20.make({
98
+ ...Info20.default(providerID, id),
99
99
  id,
100
- modelID: ID8.make(remote.id),
100
+ modelID: ID12.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID9
3
- } from "./command-6snphvfm.js";
2
+ ID13
3
+ } from "./repository-cache-5ky00pdm.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./command-22pq31c6.js";
6
+ } from "./repository-cache-bfvhqt57.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID9.make("cloudflare-ai-gateway");
13
+ var providerID = ID13.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,31 +1,31 @@
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
  evaluate2
9
- } from "./command-ma9kyv73.js";
9
+ } from "./repository-cache-42q84ag7.js";
10
10
  import {
11
- Service32,
12
- node36
13
- } from "./command-vmyf36rx.js";
11
+ Service28,
12
+ node31
13
+ } from "./repository-cache-c2qmhs8t.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./command-tdyk1y3q.js";
16
+ name15
17
+ } from "./repository-cache-6ypv3jsn.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./repository-cache-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions2 = {};
24
- __export(exports_instructions2, {
25
- McpInstructions: () => exports_instructions2,
26
- Service: () => Service27,
27
- layer: () => layer13,
28
- node: () => node30
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service21,
27
+ layer: () => layer9,
28
+ node: () => node25
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -65,13 +65,13 @@ var update = (previous, current) => {
65
65
  `);
66
66
  };
67
67
 
68
- class Service27 extends Context.Service()("@opencode/McpInstructions") {
68
+ class Service21 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
- var layer13 = Layer.effect(Service27, Effect.gen(function* () {
71
- const mcp = yield* Service32;
72
- return Service27.of({
70
+ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
71
+ const mcp = yield* Service28;
72
+ return Service21.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
- const source = (value) => make21({
74
+ const source = (value) => make18({
75
75
  key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node30 = makeLocationNode({ service: Service27, layer: layer13, deps: [node36] });
103
+ var node25 = makeLocationNode({ service: Service21, layer: layer9, deps: [node31] });
104
104
 
105
- export { Service27, layer13, node30, exports_instructions2 };
105
+ export { Service21, layer9, node25, exports_instructions4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./command-ym463w8f.js";
3
+ } from "./repository-cache-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -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/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./command-zej84cff.js";
2
+ Service84,
3
+ node88
4
+ } from "./repository-cache-7yn4yp07.js";
5
5
  import {
6
6
  create3
7
- } from "./command-rdw6cm16.js";
7
+ } from "./repository-cache-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./repository-cache-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event10,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event9,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info10,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service57,
21
- layer: () => layer24,
22
- node: () => node60
18
+ Info: () => Info14,
19
+ NotFoundError: () => NotFoundError7,
20
+ Service: () => Service52,
21
+ layer: () => layer21,
22
+ node: () => node54
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event10 } from "@opencode/schema/command";
28
- var Info10 = Command.Info;
27
+ import { Event as Event9 } from "@opencode/schema/command";
28
+ var Info14 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service57 extends Context.Service()("@opencode/Command") {
42
+ class Service52 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer24 = Layer.effect(Service57, Effect.gen(function* () {
45
- const bus = yield* Service85;
44
+ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
45
+ const bus = yield* Service84;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer24 = Layer.effect(Service57, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info10.make({
54
+ const info = (definition) => Info14.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service57.of({
58
+ return Service52.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer24 = Layer.effect(Service57, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node60 = makeLocationNode({
75
- service: Service57,
76
- layer: layer24,
77
- deps: [node89]
74
+ var node54 = makeLocationNode({
75
+ service: Service52,
76
+ layer: layer21,
77
+ deps: [node88]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info10, NotFoundError6, ExecutionError2, Service57, layer24, node60, exports_command4, Event10 };
89
+ export { Info14, NotFoundError7, ExecutionError2, Service52, layer21, node54, exports_command5, Event9 };