@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
- Service71,
3
- node75
4
- } from "./command-86jr8x5y.js";
2
+ Service80,
3
+ node84
4
+ } from "./repository-cache-ecj0sxev.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./command-gftt206x.js";
7
+ } from "./repository-cache-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./command-58072hz9.js";
10
+ } from "./repository-cache-m5jcjszt.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./repository-cache-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service49,
19
+ Service: () => Service61,
20
20
  make: () => make19,
21
- node: () => node52
21
+ node: () => node63
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service49 extends Context.Service()("@opencode/Job") {
51
+ class Service61 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
84
84
  return next;
85
85
  }
86
86
  var make19 = Effect.gen(function* () {
87
- const kv = yield* Service71;
87
+ const kv = yield* Service80;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -343,7 +343,7 @@ var make19 = Effect.gen(function* () {
343
343
  next.delete(entry[0]);
344
344
  return next;
345
345
  })));
346
- return Service49.of({
346
+ return Service61.of({
347
347
  get,
348
348
  start,
349
349
  wait,
@@ -356,7 +356,7 @@ var make19 = Effect.gen(function* () {
356
356
  completeBackground
357
357
  });
358
358
  });
359
- var layer = Layer.effect(Service49, make19);
360
- var node52 = makeGlobalNode({ service: Service49, layer, deps: [node75] });
359
+ var layer = Layer.effect(Service61, make19);
360
+ var node63 = makeGlobalNode({ service: Service61, layer, deps: [node84] });
361
361
 
362
- export { Service49, make19, node52, exports_job };
362
+ export { Service61, make19, node63, exports_job };
@@ -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/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -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/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service65
3
- } from "./command-f6znfd8x.js";
2
+ Service47
3
+ } from "./repository-cache-xwvq48yb.js";
4
4
  import {
5
- Service12
6
- } from "./command-cwa6csj7.js";
5
+ Service9
6
+ } from "./repository-cache-qmqgtz8f.js";
7
7
  import {
8
8
  observe2
9
- } from "./command-qsdy395h.js";
9
+ } from "./repository-cache-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./repository-cache-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher = {};
16
- __export(exports_location_watcher, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin45
15
+ var exports_location_watcher2 = {};
16
+ __export(exports_location_watcher2, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
+ Plugin: () => Plugin6
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin45 = define({
22
+ var Plugin6 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service65;
26
- const policy = yield* Service12;
25
+ const config = yield* Service47;
26
+ const policy = yield* Service9;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin45 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin45, exports_location_watcher };
38
+ export { Plugin6, exports_location_watcher2 };
@@ -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/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,56 +1,56 @@
1
- import {
2
- Service86,
3
- node90
4
- } from "./command-6p77gfgj.js";
5
1
  import {
6
2
  Service85,
7
3
  node89
8
- } from "./command-zej84cff.js";
4
+ } from "./repository-cache-f9h0bmn8.js";
5
+ import {
6
+ Service84,
7
+ node88
8
+ } from "./repository-cache-7yn4yp07.js";
9
9
  import {
10
- Service49,
11
- node52
12
- } from "./command-y28amm4t.js";
10
+ Service61,
11
+ node63
12
+ } from "./repository-cache-t9gapptp.js";
13
13
  import {
14
- Service47,
15
- node50
16
- } from "./command-vvccsdf3.js";
14
+ Service45,
15
+ node47
16
+ } from "./repository-cache-mx9vqzsb.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./command-ec1grn59.js";
19
+ } from "./repository-cache-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./command-76p14g35.js";
21
+ make16
22
+ } from "./repository-cache-e7gxy7fd.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service44
26
- } from "./command-zvt5dnpc.js";
25
+ Service43
26
+ } from "./repository-cache-kne8f3cn.js";
27
27
  import {
28
- Service75,
29
- node79
30
- } from "./command-26v53g8c.js";
28
+ Service58,
29
+ node60
30
+ } from "./repository-cache-2wt8nezh.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./command-z2vhj21h.js";
33
+ } from "./repository-cache-9rmnry6z.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./command-rcas954y.js";
36
+ } from "./repository-cache-4r758bxz.js";
37
37
  import {
38
38
  __export
39
- } from "./command-9rqn6x4v.js";
39
+ } from "./repository-cache-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service43,
44
+ Service: () => Service42,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer20,
47
- node: () => node47,
46
+ layer: () => layer16,
47
+ node: () => node45,
48
48
  noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service43 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service42 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer20 = Layer.effect(Service43, Effect.gen(function* () {
63
- const store = yield* Service75;
64
- const instances = yield* Service47;
65
- const bus = yield* Service85;
66
- const jobs = yield* Service49;
67
- const db = (yield* Service86).db;
62
+ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
63
+ const store = yield* Service58;
64
+ const instances = yield* Service45;
65
+ const bus = yield* Service84;
66
+ const jobs = yield* Service61;
67
+ const db = (yield* Service85).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
70
70
  commit: () => store.claim(sessionID)
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service43.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make18({
86
+ const coordinator = yield* make16({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service43.of({
107
+ return Service42.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node47 = makeGlobalNode({
127
- service: Service43,
128
- layer: layer20,
129
- deps: [node79, node50, node89, node90, node52]
126
+ var node45 = makeGlobalNode({
127
+ service: Service42,
128
+ layer: layer16,
129
+ deps: [node60, node47, node88, node89, node63]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service43, Service43.of({
131
+ var noopLayer3 = Layer.succeed(Service42, Service42.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service43, Service43.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service43, terminal2, layer20, node47, noopLayer3, exports_execution };
140
+ export { Service42, terminal2, layer16, node45, noopLayer3, exports_execution };
@@ -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/v1/config/permission.ts
6
6
  var exports_permission = {};
@@ -8,7 +8,7 @@ __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
10
  Entries: () => Entries2,
11
- Info: () => Info16,
11
+ Info: () => Info12,
12
12
  Object: () => Object2,
13
13
  Rule: () => Rule2
14
14
  });
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
22
  var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
24
+ var Info12 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule2, Info16, exports_permission };
31
+ export { Action2, Entries2, Object2, Rule2, Info12, exports_permission };
@@ -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/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -0,0 +1,257 @@
1
+ import {
2
+ node71
3
+ } from "./repository-cache-cq0ra0jh.js";
4
+ import {
5
+ node80
6
+ } from "./repository-cache-8cgdxtst.js";
7
+ import {
8
+ node77
9
+ } from "./repository-cache-qaejpsje.js";
10
+ import {
11
+ node86,
12
+ boundNode2
13
+ } from "./repository-cache-xvpfz61x.js";
14
+ import {
15
+ node76
16
+ } from "./repository-cache-5ky00pdm.js";
17
+ import {
18
+ node74
19
+ } from "./repository-cache-31g1jsst.js";
20
+ import {
21
+ node75
22
+ } from "./repository-cache-1n547s99.js";
23
+ import {
24
+ node54
25
+ } from "./repository-cache-z7e4qa79.js";
26
+ import {
27
+ configured6,
28
+ node49
29
+ } from "./repository-cache-xwvq48yb.js";
30
+ import {
31
+ node68
32
+ } from "./repository-cache-rb3bf4ta.js";
33
+ import {
34
+ node67
35
+ } from "./repository-cache-waj948mc.js";
36
+ import {
37
+ node37
38
+ } from "./repository-cache-dtnbwmg7.js";
39
+ import {
40
+ node52
41
+ } from "./repository-cache-acpej7js.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node51
45
+ } from "./repository-cache-5zn069ks.js";
46
+ import {
47
+ node73
48
+ } from "./repository-cache-b5pzk1w6.js";
49
+ import {
50
+ node72
51
+ } from "./repository-cache-kaa2ns5k.js";
52
+ import {
53
+ node64
54
+ } from "./repository-cache-q3q02nra.js";
55
+ import {
56
+ node56
57
+ } from "./repository-cache-xdx7acry.js";
58
+ import {
59
+ node31
60
+ } from "./repository-cache-c2qmhs8t.js";
61
+ import {
62
+ Service45,
63
+ node47
64
+ } from "./repository-cache-mx9vqzsb.js";
65
+ import {
66
+ node26
67
+ } from "./repository-cache-zkbbq4dt.js";
68
+ import {
69
+ node62
70
+ } from "./repository-cache-92swnv4m.js";
71
+ import {
72
+ node59
73
+ } from "./repository-cache-42q84ag7.js";
74
+ import {
75
+ node48
76
+ } from "./repository-cache-qwwrvzk6.js";
77
+ import {
78
+ configured3,
79
+ node40
80
+ } from "./repository-cache-bh8xtp3j.js";
81
+ import {
82
+ node33
83
+ } from "./repository-cache-etbdxt5c.js";
84
+ import {
85
+ node55
86
+ } from "./repository-cache-h9hmxamh.js";
87
+ import {
88
+ node36
89
+ } from "./repository-cache-xzyddccp.js";
90
+ import {
91
+ node32
92
+ } from "./repository-cache-day0cpb0.js";
93
+ import {
94
+ node30
95
+ } from "./repository-cache-6ypv3jsn.js";
96
+ import {
97
+ node82
98
+ } from "./repository-cache-4tsdpayj.js";
99
+ import {
100
+ node24
101
+ } from "./repository-cache-q9nxkgyw.js";
102
+ import {
103
+ node58
104
+ } from "./repository-cache-vca9tefh.js";
105
+ import {
106
+ node29
107
+ } from "./repository-cache-7q5zkc9a.js";
108
+ import {
109
+ node23
110
+ } from "./repository-cache-9nw2rpfz.js";
111
+ import {
112
+ node38
113
+ } from "./repository-cache-b5cvzhy7.js";
114
+ import {
115
+ node44
116
+ } from "./repository-cache-maxwxnrc.js";
117
+ import {
118
+ node34
119
+ } from "./repository-cache-z8b9xacy.js";
120
+ import {
121
+ node81
122
+ } from "./repository-cache-63rqhaqj.js";
123
+ import {
124
+ node19
125
+ } from "./repository-cache-wb3npxmx.js";
126
+ import {
127
+ node39
128
+ } from "./repository-cache-x5n6rhaq.js";
129
+ import {
130
+ node42
131
+ } from "./repository-cache-fdrztmbp.js";
132
+ import {
133
+ node18
134
+ } from "./repository-cache-jsdm87ms.js";
135
+ import {
136
+ node4
137
+ } from "./repository-cache-46xapkgq.js";
138
+ import {
139
+ Service13,
140
+ node15
141
+ } from "./repository-cache-hxnv0h4d.js";
142
+ import {
143
+ node16
144
+ } from "./repository-cache-a7fmgszc.js";
145
+ import {
146
+ node8,
147
+ bound2
148
+ } from "./repository-cache-pa8pe2x7.js";
149
+ import {
150
+ node10
151
+ } from "./repository-cache-s441vsqw.js";
152
+ import {
153
+ node13
154
+ } from "./repository-cache-7q1pjkp3.js";
155
+ import {
156
+ node5
157
+ } from "./repository-cache-d7fp9s3w.js";
158
+ import {
159
+ node17
160
+ } from "./repository-cache-2vwvyx2g.js";
161
+ import {
162
+ node3
163
+ } from "./repository-cache-t445km54.js";
164
+ import {
165
+ node2
166
+ } from "./repository-cache-bcsnmsfv.js";
167
+ import {
168
+ __export
169
+ } from "./repository-cache-9rqn6x4v.js";
170
+
171
+ // src/instance.ts
172
+ var exports_instance = {};
173
+ __export(exports_instance, {
174
+ Instance: () => exports_instance,
175
+ Service: () => Service45,
176
+ graph: () => graph2,
177
+ layer: () => layer2,
178
+ node: () => node47
179
+ });
180
+ import { Context, Effect, Layer } from "effect";
181
+ import { LayerNode } from "@opencode/util/effect/layer-node";
182
+ import { Node } from "@opencode/util/effect/app-node";
183
+ var nodes = [
184
+ node86,
185
+ node15,
186
+ node68,
187
+ node49,
188
+ node71,
189
+ node54,
190
+ node82,
191
+ node81,
192
+ node39,
193
+ node77,
194
+ node76,
195
+ node75,
196
+ node73,
197
+ node74,
198
+ node18,
199
+ node62,
200
+ node8,
201
+ node5,
202
+ node42,
203
+ node52,
204
+ node51,
205
+ node44,
206
+ node17,
207
+ node34,
208
+ node58,
209
+ node33,
210
+ node40,
211
+ node16,
212
+ node67,
213
+ node37,
214
+ node31,
215
+ node59,
216
+ node55,
217
+ node36,
218
+ node56,
219
+ node29,
220
+ node24,
221
+ node26,
222
+ node80,
223
+ node72,
224
+ node64,
225
+ node32,
226
+ node30,
227
+ node13,
228
+ node48,
229
+ node10,
230
+ node3,
231
+ node23,
232
+ node38,
233
+ node2,
234
+ node19,
235
+ node4
236
+ ];
237
+ var graph2 = LayerNode.group(nodes);
238
+ var vanillaReplacements = [
239
+ node49.replace(configured6({ project: false, global: false })),
240
+ node40.replace(configured3({ project: false, global: false }))
241
+ ];
242
+ function layer2(ref, options = {}) {
243
+ const startedAt = performance.now();
244
+ const replacements = [
245
+ ...options.discovery === false ? vanillaReplacements : [],
246
+ ...options.replacements ?? [],
247
+ node86.replace(boundNode2(ref)),
248
+ node8.replace(bound2(options.plugins ?? []))
249
+ ];
250
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service13).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
251
+ directory: ref.directory,
252
+ workspaceID: ref.workspaceID,
253
+ durationMs: Math.round(performance.now() - startedAt)
254
+ })));
255
+ }
256
+
257
+ export { graph2, layer2, exports_instance };
@@ -1,31 +1,31 @@
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/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event18,
13
- ID: () => ID15,
14
- Info: () => Info25,
12
+ Event: () => Event21,
13
+ ID: () => ID18,
14
+ Info: () => Info29,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput5,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID15 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info25 = Project.Info;
23
+ var Info29 = Project.Info;
24
24
  var UpdateInput5 = Project.UpdateInput;
25
- var Event18 = Project.Event;
25
+ var Event21 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID15, Current3, Info25, UpdateInput5, Event18, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info29, UpdateInput5, Event21, Vcs3, exports_schema };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./command-hgz4x7wa.js";
5
+ } from "./repository-cache-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./command-9rqn6x4v.js";
8
+ } from "./repository-cache-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};