@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,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
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/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info14,
12
+ Info: () => Info13,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info14 = Schema.Struct({
64
+ var Info13 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info14 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info14, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info13, exports_provider2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service61,
8
+ Service: () => Service32,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node64
10
+ node: () => node35
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service61 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service32 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service61, () => {
17
+ var layer = Layer.sync(Service32, () => {
18
18
  const environments = new Map;
19
- return Service61.of({
19
+ return Service32.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service61, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [] });
29
+ var node35 = makeGlobalNode({ service: Service32, layer, deps: [] });
30
30
 
31
- export { Service61, node64, exports_environment };
31
+ export { Service32, node35, exports_environment };
@@ -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/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service49,
3
- node52
4
- } from "./command-y28amm4t.js";
2
+ Service61,
3
+ node63
4
+ } from "./repository-cache-t9gapptp.js";
5
5
  import {
6
- Service25,
7
- node28
8
- } from "./command-1vge1skc.js";
6
+ Service17,
7
+ node20
8
+ } from "./repository-cache-dpt9takt.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./command-6xb47vfp.js";
12
+ } from "./repository-cache-6xb47vfp.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./repository-cache-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service9,
20
+ Service: () => Service12,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node11
22
+ node: () => node14
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service9 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service12 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service25;
30
- const jobs = yield* Service49;
29
+ const sessions = yield* Service17;
30
+ const jobs = yield* Service61;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service9.of({
45
+ return Service12.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node11 = Node.makeGlobalNode({
68
- service: Service9,
69
- layer: Layer.effect(Service9, make),
70
- deps: [node28, node52]
67
+ var node14 = Node.makeGlobalNode({
68
+ service: Service12,
69
+ layer: Layer.effect(Service12, make),
70
+ deps: [node20, node63]
71
71
  });
72
72
 
73
- export { Service9, node11, exports_subagent_job };
73
+ export { Service12, node14, exports_subagent_job };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./command-y1fvbwt7.js";
3
+ } from "./repository-cache-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service17,
12
+ Service: () => Service55,
13
13
  decision: () => decision2,
14
- layer: () => layer10,
15
- node: () => node20,
14
+ layer: () => layer22,
15
+ node: () => node57,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service17 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service55 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer10 = Layer.effect(Service17, Effect.gen(function* () {
24
+ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service17.of({
27
+ return Service55.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node20 = makeGlobalNode({ service: Service17, layer: layer10, deps: [] });
39
+ var node57 = makeGlobalNode({ service: Service55, layer: layer22, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service17, layer10, node20, statements2, decision2, exports_managed_policy };
53
+ export { Service55, layer22, node57, statements2, decision2, exports_managed_policy };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./command-tazgh4e4.js";
10
+ } from "./repository-cache-tazgh4e4.js";
11
11
  import {
12
- Service78
13
- } from "./command-wgzgvsr8.js";
12
+ Service82
13
+ } from "./repository-cache-xvpfz61x.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./command-xmhs9py1.js";
16
+ } from "./repository-cache-wb3npxmx.js";
17
17
  import {
18
18
  __export
19
- } from "./command-9rqn6x4v.js";
19
+ } from "./repository-cache-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin4,
24
+ Plugin: () => Plugin21,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin4 = define({
33
+ var Plugin21 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service78;
36
+ const location = yield* Service82;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin4, exports_hg };
201
+ export { Plugin21, exports_hg };
@@ -1,28 +1,28 @@
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
  shutdown2,
7
7
  create3
8
- } from "./command-rdw6cm16.js";
8
+ } from "./repository-cache-rdw6cm16.js";
9
9
  import {
10
- Service78,
11
- node82
12
- } from "./command-wgzgvsr8.js";
10
+ Service82,
11
+ node86
12
+ } from "./repository-cache-xvpfz61x.js";
13
13
  import {
14
14
  rewrite2,
15
- ID9,
15
+ ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service70,
20
- node74,
19
+ Service72,
20
+ node76,
21
21
  Event15
22
- } from "./command-6snphvfm.js";
22
+ } from "./repository-cache-5ky00pdm.js";
23
23
  import {
24
24
  __export
25
- } from "./command-9rqn6x4v.js";
25
+ } from "./repository-cache-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,27 +30,27 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event13,
33
+ Event: () => Event14,
34
34
  Family: () => Family2,
35
- ID: () => ID8,
36
- Info: () => Info18,
35
+ ID: () => ID12,
36
+ Info: () => Info20,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service68,
40
+ Service: () => Service71,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node72,
45
- parse: () => parse5,
44
+ node: () => node75,
45
+ parse: () => parse4,
46
46
  supportsText: () => supportsText2
47
47
  });
48
48
  import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event13 } from "@opencode/schema/model";
53
- var ID8 = Model.ID;
52
+ import { Event as Event14 } from "@opencode/schema/model";
53
+ var ID12 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
56
56
  var ReasoningField2 = Model.ReasoningField;
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
67
67
  };
68
68
  var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
- var Info18 = Model.Info;
70
+ var Info20 = Model.Info;
71
71
 
72
- class Service68 extends Context.Service()("@opencode/Model") {
72
+ class Service71 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service68, Effect.gen(function* () {
75
- const providers = yield* Service70;
76
- const bus = yield* Service85;
77
- const location = yield* Service78;
74
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
75
+ const providers = yield* Service72;
76
+ const bus = yield* Service84;
77
+ const location = yield* Service82;
78
78
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
79
79
  let input;
80
80
  const state = create3({
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
120
120
  const models = writable(providerID);
121
121
  if (!models)
122
122
  return;
123
- const model = draft(providerID, modelID) ?? Info18.default(providerID, modelID);
123
+ const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
124
124
  update(model);
125
125
  model.id = modelID;
126
126
  model.providerID = providerID;
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
189
189
  ];
190
190
  }));
191
191
  if (disableFree)
192
- for (const providerID of [ID9.opencode, ID9.make("opencode-go")])
192
+ for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
193
193
  byProvider.get(providerID)?.forEach((model, id, models) => {
194
194
  if (!model.cost.some((cost) => cost.input > 0))
195
195
  models.delete(id);
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
217
217
  });
218
218
  });
219
219
  yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
- return Service68.of({
220
+ return Service71.of({
221
221
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
222
222
  reload,
223
223
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
236
236
  })
237
237
  });
238
238
  }));
239
- var node72 = makeLocationNode({ service: Service68, layer, deps: [node74, node89, node82] });
239
+ var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, node88, node86] });
240
240
  var PREFERRED_FREE = [
241
241
  "big-pickle",
242
242
  "deepseek-v4.1-flash-free",
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
244
244
  "muse-spark-1.3-contributor-free"
245
245
  ];
246
246
  function preferFree(models) {
247
- const freeOnly = models.every((model) => model.providerID === ID9.opencode && !model.cost.some((cost) => cost.input > 0));
247
+ const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
248
248
  if (!freeOnly)
249
249
  return models;
250
250
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -260,12 +260,12 @@ function compatibility2(input) {
260
260
  return;
261
261
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
262
262
  }
263
- function parse5(input) {
263
+ function parse4(input) {
264
264
  const index = input.indexOf("/");
265
265
  return {
266
- providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
267
- modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
266
+ providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
267
+ modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
268
268
  };
269
269
  }
270
270
 
271
- export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info18, Service68, node72, supportsText2, compatibility2, parse5, exports_model2, Event13 };
271
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service71, node75, supportsText2, compatibility2, parse4, exports_model2, Event14 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
4
- import {
5
- Service86,
6
- node90
7
- } from "./command-6p77gfgj.js";
3
+ } from "./repository-cache-z5v4ffb3.js";
8
4
  import {
9
5
  Service85,
10
6
  node89
11
- } from "./command-zej84cff.js";
7
+ } from "./repository-cache-f9h0bmn8.js";
12
8
  import {
13
- Service80,
14
- node84
15
- } from "./command-sp9nn688.js";
9
+ Service84,
10
+ node88
11
+ } from "./repository-cache-7yn4yp07.js";
12
+ import {
13
+ Service86,
14
+ node90
15
+ } from "./repository-cache-cg54xxwj.js";
16
16
  import {
17
- ID15,
17
+ ID18,
18
18
  Current3,
19
- Info25,
19
+ Info29,
20
20
  UpdateInput5,
21
- Event18,
21
+ Event21,
22
22
  Vcs3
23
- } from "./command-tx0gtb9m.js";
23
+ } from "./repository-cache-v210v162.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./command-034tev2y.js";
27
+ } from "./repository-cache-aj7mw0zk.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./command-xw9fg8fb.js";
30
+ } from "./repository-cache-8vcf4cwr.js";
31
31
  import {
32
32
  __export
33
- } from "./command-9rqn6x4v.js";
33
+ } from "./repository-cache-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID14,
40
- Info: () => Info24,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID17,
40
+ Info: () => Info28,
41
+ NotFoundError: () => NotFoundError12,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service83,
44
44
  UpdateInput: () => UpdateInput4,
45
45
  Vcs: () => Vcs2,
46
- node: () => node83,
46
+ node: () => node87,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID14 = ID15;
59
+ var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info24 = Info25;
62
+ var Info28 = Info29;
63
63
  var UpdateInput4 = UpdateInput5;
64
64
 
65
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID14
65
+ class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
66
+ projectID: ID17
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service79 extends Context.Service()("@opencode/Project") {
77
+ class Service83 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,12 +98,12 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service79, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service80;
103
+ const git = yield* Service86;
104
104
  const proc = yield* AppProcess.Service;
105
- const bus = yield* Service85;
106
- const db = (yield* Service86).db;
105
+ const bus = yield* Service84;
106
+ const db = (yield* Service85).db;
107
107
  const announcing = new Set;
108
108
  const persist = Effect.fnUntraced(function* (project) {
109
109
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event18.Updated, fromRow(changed));
115
+ yield* bus.publish(Event21.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID14.global,
151
+ previous: project.previous ?? ID17.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
171
171
  time_updated: Date.now()
172
172
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
173
173
  if (!row)
174
- return yield* new NotFoundError11({ projectID: input.projectID });
174
+ return yield* new NotFoundError12({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event18.Updated, project);
176
+ yield* bus.publish(Event21.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event18.Updated, fromRow(row));
187
+ yield* bus.publish(Event21.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID14.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID14.make(root) : undefined;
226
+ return root ? ID17.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID14.make(node) : undefined;
242
+ return node ? ID17.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
248
248
  const id = previous ?? (yield* hgRoot(worktree));
249
249
  return {
250
250
  previous,
251
- id: id ?? ID14.global,
251
+ id: id ?? ID17.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* persist({
267
267
  previous,
268
- id: id ?? ID14.global,
268
+ id: id ?? ID17.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID14.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID14.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event18.Updated, fromRow(row));
304
+ yield* bus.publish(Event21.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service79.of({ list, update, activate, resolve, sweep });
307
+ return Service83.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node83 = makeGlobalNode({
310
- service: Service79,
309
+ var node87 = makeGlobalNode({
310
+ service: Service83,
311
311
  layer,
312
- deps: [node89, node90, FSUtil.node, node84, AppProcess.node]
312
+ deps: [node88, node89, FSUtil.node, node90, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service79;
317
+ const project = yield* Service83;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node83]
320
+ deps: [node87]
321
321
  });
322
322
 
323
- export { ID14, Vcs2, Current2, Info24, UpdateInput4, NotFoundError11, root2, Service79, node83, sweepNode2, exports_project };
323
+ export { ID17, Vcs2, Current2, Info28, UpdateInput4, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };