@opencode/core 0.0.0-dev-189 → 0.0.0-dev-197

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 (817) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  3. package/dist/aisdk-native.js +98 -98
  4. package/dist/aisdk.js +104 -104
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +76 -76
  7. package/dist/chunks/{repository-98r3g1tv.js → file-retention-00ay3kdv.js} +21 -21
  8. package/dist/chunks/{repository-bqh84c2y.js → file-retention-02zav387.js} +9 -9
  9. package/dist/chunks/{repository-034tev2y.js → file-retention-034tev2y.js} +2 -2
  10. package/dist/chunks/{repository-0r3ejwj6.js → file-retention-05r0g2r7.js} +3 -3
  11. package/dist/chunks/{repository-zgd8t41s.js → file-retention-0anyt1n6.js} +9 -9
  12. package/dist/chunks/{repository-2kzkh518.js → file-retention-0evwtgv8.js} +45 -45
  13. package/dist/chunks/{repository-w687dnns.js → file-retention-0h8y3ex8.js} +4 -4
  14. package/dist/chunks/{repository-6pycad06.js → file-retention-0t1gh2k2.js} +12 -12
  15. package/dist/chunks/{repository-n4zn000z.js → file-retention-1024y9y6.js} +2 -2
  16. package/dist/chunks/{repository-11hfp36g.js → file-retention-11hfp36g.js} +1 -1
  17. package/dist/chunks/{repository-w1j2qcct.js → file-retention-13efzyg2.js} +24 -24
  18. package/dist/chunks/{repository-mkc3d31y.js → file-retention-1apykrxj.js} +44 -43
  19. package/dist/chunks/{repository-1aypnazc.js → file-retention-1cv2vd66.js} +15 -15
  20. package/dist/chunks/{repository-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{repository-aar8rcwj.js → file-retention-1kfywa72.js} +4 -4
  22. package/dist/chunks/{repository-z6y50tdx.js → file-retention-1m8zk9rp.js} +9 -9
  23. package/dist/chunks/{repository-ydpqsc0x.js → file-retention-1nke647r.js} +15 -15
  24. package/dist/chunks/{repository-9n4vggc2.js → file-retention-1r7af8ee.js} +3 -3
  25. package/dist/chunks/{repository-ywm3m9q2.js → file-retention-1vt7zj53.js} +9 -9
  26. package/dist/chunks/{repository-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{repository-1yq9hg58.js → file-retention-1yq9hg58.js} +1 -1
  28. package/dist/chunks/{repository-204s3925.js → file-retention-204s3925.js} +1 -1
  29. package/dist/chunks/{repository-3njy631w.js → file-retention-24xmfd7w.js} +13 -13
  30. package/dist/chunks/{repository-08rz5a36.js → file-retention-2eskrrsw.js} +14 -14
  31. package/dist/chunks/{repository-yqveydy6.js → file-retention-2mbjfaxd.js} +4 -4
  32. package/dist/chunks/{repository-ataenv19.js → file-retention-32hbtqx1.js} +6 -6
  33. package/dist/chunks/{repository-9nzgnp4r.js → file-retention-36g55jbn.js} +27 -27
  34. package/dist/chunks/{repository-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{repository-3j1m3tq4.js → file-retention-3j1m3tq4.js} +2 -2
  36. package/dist/chunks/{repository-cdhs4fq1.js → file-retention-3jemhejf.js} +6 -6
  37. package/dist/chunks/{repository-kjrf1av9.js → file-retention-3k3wyk17.js} +24 -24
  38. package/dist/chunks/{repository-qk7rmbj1.js → file-retention-3n9k8ktf.js} +10 -10
  39. package/dist/chunks/{repository-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{repository-y50d8q8d.js → file-retention-3s7skkh9.js} +5 -5
  41. package/dist/chunks/{repository-sx391g08.js → file-retention-3vxknmvb.js} +12 -12
  42. package/dist/chunks/{repository-kex0kwh3.js → file-retention-42x4te7c.js} +10 -10
  43. package/dist/chunks/{repository-dz5kpwyf.js → file-retention-44bpj4c9.js} +25 -25
  44. package/dist/chunks/{repository-wde7vnje.js → file-retention-45nyv10h.js} +26 -26
  45. package/dist/chunks/{repository-nhs8pjpx.js → file-retention-47r66zre.js} +82 -82
  46. package/dist/chunks/{repository-zqeyh3pg.js → file-retention-481gxrfg.js} +2 -2
  47. package/dist/chunks/{repository-d96fxdz4.js → file-retention-4n32qr4v.js} +7 -7
  48. package/dist/chunks/{repository-182gebkv.js → file-retention-4pbrjawp.js} +33 -33
  49. package/dist/chunks/{repository-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
  50. package/dist/chunks/{repository-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  51. package/dist/chunks/{repository-tsk01jw9.js → file-retention-4xqce2n5.js} +11 -11
  52. package/dist/chunks/{repository-rw7j67zp.js → file-retention-527s141c.js} +5 -5
  53. package/dist/chunks/{repository-72gawy4v.js → file-retention-52hfn8qm.js} +16 -16
  54. package/dist/chunks/{repository-k1qkeqm0.js → file-retention-55yn0q28.js} +14 -14
  55. package/dist/chunks/{repository-fcevtanz.js → file-retention-5cwy195j.js} +6 -6
  56. package/dist/chunks/{repository-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{repository-ce8850xx.js → file-retention-5mm8f81r.js} +5 -5
  58. package/dist/chunks/{repository-61ennm6n.js → file-retention-61ennm6n.js} +1 -1
  59. package/dist/chunks/{repository-y624qwvn.js → file-retention-69sb8681.js} +9 -9
  60. package/dist/chunks/{repository-p16d4jds.js → file-retention-6dzgygyw.js} +47 -47
  61. package/dist/chunks/{repository-vb2gkw1m.js → file-retention-6e5dkec4.js} +35 -35
  62. package/dist/chunks/{repository-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{repository-we470cqt.js → file-retention-6fkjv1xc.js} +14 -14
  64. package/dist/chunks/{repository-9n4yzf43.js → file-retention-6kzgetar.js} +7 -7
  65. package/dist/chunks/{repository-ym290evk.js → file-retention-6qazmz99.js} +12 -12
  66. package/dist/chunks/{repository-vrcsa8qx.js → file-retention-6twykydk.js} +9 -9
  67. package/dist/chunks/{repository-se71yjgd.js → file-retention-71ffcwx2.js} +32 -32
  68. package/dist/chunks/{repository-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{repository-j10bffxc.js → file-retention-76z54svf.js} +17 -17
  70. package/dist/chunks/{repository-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{repository-wrf4qw91.js → file-retention-7d5ng1a2.js} +14 -14
  72. package/dist/chunks/{repository-x5kjwm05.js → file-retention-7m8d3k8h.js} +18 -18
  73. package/dist/chunks/{repository-swe5sap9.js → file-retention-7mfyhxd7.js} +33 -33
  74. package/dist/chunks/{repository-a5jmwq8r.js → file-retention-7qqd2nx3.js} +1 -1
  75. package/dist/chunks/{repository-037k7tff.js → file-retention-7vher5vz.js} +13 -13
  76. package/dist/chunks/{repository-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{repository-6pzctp9a.js → file-retention-7yb883t5.js} +45 -45
  78. package/dist/chunks/{repository-h1rcny21.js → file-retention-81rf7y7z.js} +11 -11
  79. package/dist/chunks/{repository-bpa6my4e.js → file-retention-81x0z535.js} +23 -23
  80. package/dist/chunks/{repository-a7jkxg7e.js → file-retention-84hv32w5.js} +22 -22
  81. package/dist/chunks/{repository-p91eqx64.js → file-retention-8b5hhaf2.js} +7 -7
  82. package/dist/chunks/{repository-mjyzwzry.js → file-retention-8p4fey4p.js} +11 -11
  83. package/dist/chunks/{repository-dbmp929s.js → file-retention-8p5baybq.js} +5 -5
  84. package/dist/chunks/{repository-c2zjjdcb.js → file-retention-8sw03j0e.js} +12 -12
  85. package/dist/chunks/{repository-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  86. package/dist/chunks/file-retention-8x060fmy.js +18 -0
  87. package/dist/chunks/{repository-90zstvax.js → file-retention-90zstvax.js} +1 -1
  88. package/dist/chunks/{repository-3v8t9fvp.js → file-retention-97z6p5c2.js} +28 -28
  89. package/dist/chunks/{repository-tbkdp4xy.js → file-retention-9tsn38wb.js} +21 -21
  90. package/dist/chunks/{repository-7n5hdcgz.js → file-retention-9xnya6re.js} +9 -9
  91. package/dist/chunks/{repository-56ae33c2.js → file-retention-9zhqn0tq.js} +27 -27
  92. package/dist/chunks/{repository-m0hczx0h.js → file-retention-ab1m5rfy.js} +13 -13
  93. package/dist/chunks/{repository-2ytvyz2d.js → file-retention-ae8yhtn6.js} +25 -25
  94. package/dist/chunks/{repository-g6dfma3d.js → file-retention-agqd6nxz.js} +6 -6
  95. package/dist/chunks/{repository-1w79wwhg.js → file-retention-aqgxz88q.js} +31 -31
  96. package/dist/chunks/{repository-mh6czyn0.js → file-retention-aqwa35rv.js} +30 -30
  97. package/dist/chunks/file-retention-aqy09njx.js +511 -0
  98. package/dist/chunks/{repository-ems0zhva.js → file-retention-as3sm64x.js} +6 -6
  99. package/dist/chunks/{repository-84k97wh8.js → file-retention-asxv01zn.js} +38 -38
  100. package/dist/chunks/{repository-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{repository-esd0f7sy.js → file-retention-b0hsmqv0.js} +23 -23
  102. package/dist/chunks/{repository-sjnxn81j.js → file-retention-b36ttk86.js} +4 -4
  103. package/dist/chunks/{repository-qt5bw9qd.js → file-retention-b6gbsyrt.js} +1 -1
  104. package/dist/chunks/{repository-b6vsg801.js → file-retention-b6vsg801.js} +2 -2
  105. package/dist/chunks/{repository-xck40x38.js → file-retention-bckyc6k9.js} +6 -6
  106. package/dist/chunks/{repository-dsk9ctag.js → file-retention-bdzmqtb7.js} +3 -3
  107. package/dist/chunks/{repository-nwyfjcs7.js → file-retention-bm4gstpq.js} +8 -8
  108. package/dist/chunks/{repository-qbcktyw0.js → file-retention-bt45xqy1.js} +19 -19
  109. package/dist/chunks/{repository-bda3vcj5.js → file-retention-byk50ab2.js} +9 -9
  110. package/dist/chunks/{repository-dsxmp27p.js → file-retention-c0ycfh2w.js} +14 -14
  111. package/dist/chunks/{repository-qqg9c0kv.js → file-retention-c6x7d2ts.js} +4 -4
  112. package/dist/chunks/{repository-hez1w8bb.js → file-retention-c7m3737k.js} +37 -37
  113. package/dist/chunks/{repository-9yvzdddr.js → file-retention-c9re5j8a.js} +18 -18
  114. package/dist/chunks/{repository-d2887f8n.js → file-retention-c9t2ty9q.js} +4 -4
  115. package/dist/chunks/{repository-xa7geska.js → file-retention-cebftnbm.js} +26 -26
  116. package/dist/chunks/{repository-ra34yqmw.js → file-retention-cg3fcpn4.js} +6 -6
  117. package/dist/chunks/{repository-6z1wc5nc.js → file-retention-ckfzcqz5.js} +3 -3
  118. package/dist/chunks/{repository-q9z0p7gh.js → file-retention-cm18kf9d.js} +14 -14
  119. package/dist/chunks/{repository-abs1shnw.js → file-retention-cvv281km.js} +34 -34
  120. package/dist/chunks/{repository-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
  121. package/dist/chunks/{repository-pyv44sw6.js → file-retention-d2rkekdg.js} +14 -14
  122. package/dist/chunks/{repository-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
  123. package/dist/chunks/{repository-6cv4a685.js → file-retention-d76g5cnb.js} +6 -6
  124. package/dist/chunks/{repository-3fa3xdsy.js → file-retention-d7ezq276.js} +11 -11
  125. package/dist/chunks/{repository-5w0ghgtj.js → file-retention-dcj312nn.js} +5 -5
  126. package/dist/chunks/{repository-wmgx0dmg.js → file-retention-dpbhk201.js} +16 -16
  127. package/dist/chunks/{repository-5kgs3fk1.js → file-retention-drerwy6v.js} +3 -3
  128. package/dist/chunks/{repository-dt77769w.js → file-retention-dt77769w.js} +1 -1
  129. package/dist/chunks/{repository-r94gekwm.js → file-retention-e07q2w5p.js} +4 -4
  130. package/dist/chunks/{repository-gbafzqgw.js → file-retention-e0w63sys.js} +22 -22
  131. package/dist/chunks/{repository-e834z07m.js → file-retention-e834z07m.js} +1 -1
  132. package/dist/chunks/{repository-0m9q59s6.js → file-retention-e8pm465n.js} +4 -4
  133. package/dist/chunks/{repository-r5tkst50.js → file-retention-e8ywph5q.js} +48 -48
  134. package/dist/chunks/{repository-a44gt5xs.js → file-retention-efer459w.js} +6 -6
  135. package/dist/chunks/{repository-agwv7dq2.js → file-retention-em4evt6c.js} +11 -11
  136. package/dist/chunks/{repository-etamvy03.js → file-retention-f4r5xwfc.js} +13 -13
  137. package/dist/chunks/{repository-p9pswzjx.js → file-retention-f7jjbss4.js} +9 -9
  138. package/dist/chunks/{repository-aytsh6n6.js → file-retention-fbh8zj85.js} +2 -2
  139. package/dist/chunks/{repository-5z598wn3.js → file-retention-fc5at3zt.js} +18 -18
  140. package/dist/chunks/{repository-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
  141. package/dist/chunks/{repository-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
  142. package/dist/chunks/{repository-12r92wk3.js → file-retention-ft8xs19g.js} +18 -18
  143. package/dist/chunks/{repository-fnn8wx3k.js → file-retention-g5swcsby.js} +12 -12
  144. package/dist/chunks/{repository-yckfh1kh.js → file-retention-g8wyr0p0.js} +13 -13
  145. package/dist/chunks/{repository-xgv24g03.js → file-retention-g8zf12h5.js} +27 -27
  146. package/dist/chunks/{repository-jz3hgwrm.js → file-retention-gc8gtep9.js} +4 -4
  147. package/dist/chunks/{repository-k8sh24kp.js → file-retention-geg17xg0.js} +10 -10
  148. package/dist/chunks/{repository-za5evj2v.js → file-retention-gexzakpg.js} +3 -3
  149. package/dist/chunks/{repository-gg8p9cgs.js → file-retention-gg8p9cgs.js} +3 -3
  150. package/dist/chunks/{repository-97e8yvkm.js → file-retention-gp067yzn.js} +11 -11
  151. package/dist/chunks/{repository-gvvhvz2q.js → file-retention-gqqeyx1x.js} +16 -16
  152. package/dist/chunks/{repository-phy9rbgr.js → file-retention-gv60x5cq.js} +77 -77
  153. package/dist/chunks/{repository-ehfhc1vp.js → file-retention-gw7rtptf.js} +10 -10
  154. package/dist/chunks/{repository-33ae382d.js → file-retention-h2wv7g1z.js} +27 -27
  155. package/dist/chunks/{repository-8r2xb3b3.js → file-retention-h3nbc66p.js} +19 -19
  156. package/dist/chunks/{repository-jcrsb2we.js → file-retention-h6t0znmf.js} +9 -9
  157. package/dist/chunks/file-retention-hccc1d27.js +26 -0
  158. package/dist/chunks/{repository-nkwqs6wb.js → file-retention-hcjxzb33.js} +6 -6
  159. package/dist/chunks/{repository-wdmx20pv.js → file-retention-hdfrs5mg.js} +9 -9
  160. package/dist/chunks/{repository-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
  161. package/dist/chunks/{repository-x62nhpqw.js → file-retention-hr6qbbbj.js} +28 -28
  162. package/dist/chunks/{repository-hs9b4b47.js → file-retention-hs9b4b47.js} +2 -2
  163. package/dist/chunks/{repository-vs1fx8n5.js → file-retention-hs9c5tve.js} +32 -32
  164. package/dist/chunks/{repository-8hrfnhev.js → file-retention-hz6fz10g.js} +18 -18
  165. package/dist/chunks/{repository-5jv51wq9.js → file-retention-hzs6scc7.js} +10 -10
  166. package/dist/chunks/{repository-ssv9vbjn.js → file-retention-j1ptedcn.js} +16 -16
  167. package/dist/chunks/{repository-s0dcwz21.js → file-retention-jd833z4n.js} +3 -3
  168. package/dist/chunks/{repository-jfaecv01.js → file-retention-jfaecv01.js} +1 -1
  169. package/dist/chunks/{repository-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
  170. package/dist/chunks/{repository-x9mcs5as.js → file-retention-jvshpvt0.js} +4 -4
  171. package/dist/chunks/{repository-gadvwfpz.js → file-retention-k09ty2nz.js} +18 -18
  172. package/dist/chunks/{repository-dvet5ash.js → file-retention-k3rsaqe1.js} +13 -13
  173. package/dist/chunks/{repository-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
  174. package/dist/chunks/{repository-0av5441t.js → file-retention-k9ry6nae.js} +18 -18
  175. package/dist/chunks/{repository-g4wje5yf.js → file-retention-ka9dq9bh.js} +14 -14
  176. package/dist/chunks/{repository-s5b0caas.js → file-retention-kbs230cz.js} +11 -11
  177. package/dist/chunks/{repository-qwcynr2z.js → file-retention-kez5w1ys.js} +35 -35
  178. package/dist/chunks/{repository-1k4zgc1c.js → file-retention-ks3c9cqr.js} +36 -36
  179. package/dist/chunks/{repository-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
  180. package/dist/chunks/{repository-m1714858.js → file-retention-m1714858.js} +1 -1
  181. package/dist/chunks/{repository-m37sd98t.js → file-retention-m37sd98t.js} +1 -1
  182. package/dist/chunks/{repository-xpx9qcwm.js → file-retention-m4bjc8bw.js} +7 -7
  183. package/dist/chunks/{repository-sdb8g23r.js → file-retention-m5n42v94.js} +15 -15
  184. package/dist/chunks/{repository-t6tqz55s.js → file-retention-m80e7yhz.js} +1 -1
  185. package/dist/chunks/{repository-k93f34r6.js → file-retention-m8210qzt.js} +12 -12
  186. package/dist/chunks/{repository-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{repository-qdvp98ce.js → file-retention-mjzzxa19.js} +1 -1
  188. package/dist/chunks/{repository-eag44dyn.js → file-retention-mpppa3sy.js} +1 -1
  189. package/dist/chunks/{repository-2080gwb7.js → file-retention-n6pb4r7m.js} +3 -3
  190. package/dist/chunks/{repository-qf65b5pw.js → file-retention-n7xzwjsb.js} +35 -35
  191. package/dist/chunks/{repository-0hkk56st.js → file-retention-n810xmn2.js} +144 -144
  192. package/dist/chunks/{repository-770pw0s1.js → file-retention-nah043kf.js} +4 -4
  193. package/dist/chunks/{repository-pnwsrq7c.js → file-retention-neary136.js} +5 -5
  194. package/dist/chunks/{repository-ck8hq31j.js → file-retention-njkvgpzw.js} +21 -21
  195. package/dist/chunks/{repository-qcb8jahv.js → file-retention-nmcr2840.js} +38 -38
  196. package/dist/chunks/{repository-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
  197. package/dist/chunks/{repository-1mde9y8f.js → file-retention-p2x3qxk9.js} +11 -11
  198. package/dist/chunks/{repository-nf3nsvxh.js → file-retention-pbbktnbz.js} +4 -4
  199. package/dist/chunks/{repository-a792y6s0.js → file-retention-pehfm7w7.js} +17 -17
  200. package/dist/chunks/{repository-wkjtf16h.js → file-retention-pfayv7n8.js} +21 -21
  201. package/dist/chunks/{repository-a23yrjc9.js → file-retention-phacckca.js} +13 -13
  202. package/dist/chunks/{repository-3t74rz0k.js → file-retention-pk1jk6nd.js} +10 -10
  203. package/dist/chunks/{repository-pknna89w.js → file-retention-pknna89w.js} +1 -1
  204. package/dist/chunks/{repository-6x6r8n8f.js → file-retention-pntz5nv8.js} +17 -17
  205. package/dist/chunks/{repository-tgcnwcew.js → file-retention-pq0g1j3r.js} +14 -14
  206. package/dist/chunks/{repository-c4bknmrm.js → file-retention-q6tw3efa.js} +28 -28
  207. package/dist/chunks/{repository-0hp4fr82.js → file-retention-q98fvpa3.js} +4 -4
  208. package/dist/chunks/{repository-werc16xm.js → file-retention-qgfsr1ak.js} +13 -13
  209. package/dist/chunks/{repository-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
  210. package/dist/chunks/{repository-v1vf4bjp.js → file-retention-qqppq1tw.js} +8 -8
  211. package/dist/chunks/{repository-ts7mkfs9.js → file-retention-qsee9sfb.js} +3 -3
  212. package/dist/chunks/{repository-g9b1jkrx.js → file-retention-qwpavc5r.js} +32 -32
  213. package/dist/chunks/{repository-n7wnam13.js → file-retention-qz087kyw.js} +8 -8
  214. package/dist/chunks/{repository-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{repository-r542h3bh.js → file-retention-r542h3bh.js} +1 -1
  216. package/dist/chunks/{repository-wvpmhz6e.js → file-retention-r564vpxy.js} +17 -17
  217. package/dist/chunks/{repository-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  218. package/dist/chunks/{repository-7g779wd2.js → file-retention-rcdgzwjt.js} +20 -20
  219. package/dist/chunks/{repository-snn1b1cz.js → file-retention-rf0tecrn.js} +12 -12
  220. package/dist/chunks/{repository-rgzggw2r.js → file-retention-rgzggw2r.js} +2 -2
  221. package/dist/chunks/{repository-dwmchd07.js → file-retention-rpgqzgsw.js} +13 -13
  222. package/dist/chunks/{repository-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
  223. package/dist/chunks/{repository-0rtm666e.js → file-retention-s52g94eq.js} +12 -12
  224. package/dist/chunks/{repository-s7gmm2q3.js → file-retention-s7gmm2q3.js} +3 -3
  225. package/dist/chunks/{repository-d68w9w8c.js → file-retention-s99cgj3z.js} +23 -23
  226. package/dist/chunks/{repository-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
  227. package/dist/chunks/{repository-ye2mws6y.js → file-retention-saw0xt7z.js} +25 -25
  228. package/dist/chunks/{repository-vz9e3ctc.js → file-retention-se016j3a.js} +4 -4
  229. package/dist/chunks/{repository-y21mv437.js → file-retention-sg08nake.js} +10 -10
  230. package/dist/chunks/{repository-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
  231. package/dist/chunks/{repository-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
  232. package/dist/chunks/{repository-jgcte78g.js → file-retention-t0yv98de.js} +2 -2
  233. package/dist/chunks/{repository-3t73xeyv.js → file-retention-t5jqs5j7.js} +2 -2
  234. package/dist/chunks/{repository-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  235. package/dist/chunks/{repository-rnd635dt.js → file-retention-tmpm4r5r.js} +11 -11
  236. package/dist/chunks/{repository-nf4jh0jx.js → file-retention-tps1nyr3.js} +21 -21
  237. package/dist/chunks/{repository-ectwy8nt.js → file-retention-ttqtdfz1.js} +5 -5
  238. package/dist/chunks/{repository-5q3h0csw.js → file-retention-tvps0thf.js} +7 -7
  239. package/dist/chunks/{repository-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
  240. package/dist/chunks/{repository-9q8g9sv8.js → file-retention-v0t96s7a.js} +4 -4
  241. package/dist/chunks/{repository-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  242. package/dist/chunks/{repository-7tpyp9vw.js → file-retention-v5hpj9dd.js} +8 -8
  243. package/dist/chunks/{repository-86g12mv6.js → file-retention-vcyr9zvk.js} +28 -28
  244. package/dist/chunks/{repository-4esa3dv6.js → file-retention-vfpbkdxj.js} +28 -28
  245. package/dist/chunks/{repository-a4sx5s4k.js → file-retention-vfxqwymt.js} +47 -47
  246. package/dist/chunks/{repository-2zp5a6yg.js → file-retention-vg0erq9k.js} +3 -3
  247. package/dist/chunks/{repository-cbtp3bm0.js → file-retention-vjbmgwyr.js} +55 -55
  248. package/dist/chunks/{repository-13r1xmr6.js → file-retention-vmrgyahk.js} +18 -18
  249. package/dist/chunks/{repository-5107fk2n.js → file-retention-vnjwe8gy.js} +3 -3
  250. package/dist/chunks/{repository-ycywz2xw.js → file-retention-vqe1mp4b.js} +20 -20
  251. package/dist/chunks/{repository-5vtqq6dj.js → file-retention-vr9ywjng.js} +21 -21
  252. package/dist/chunks/{repository-vaq1yek0.js → file-retention-vsqvcqta.js} +6 -6
  253. package/dist/chunks/{repository-xj7pfj7j.js → file-retention-vtm22ma1.js} +21 -21
  254. package/dist/chunks/{repository-r41sfy63.js → file-retention-w2eysc6j.js} +6 -6
  255. package/dist/chunks/{repository-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{repository-zw4pk1bw.js → file-retention-w8xr7nv8.js} +5 -5
  257. package/dist/chunks/{repository-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{repository-ptht14fh.js → file-retention-watjt3p8.js} +19 -19
  259. package/dist/chunks/{repository-gtbhcp1b.js → file-retention-wbje33cw.js} +4 -4
  260. package/dist/chunks/{repository-7kehrbx0.js → file-retention-wczydp3b.js} +2 -2
  261. package/dist/chunks/{repository-wd87259q.js → file-retention-wd87259q.js} +1 -1
  262. package/dist/chunks/{repository-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
  263. package/dist/chunks/{repository-1apn0a4c.js → file-retention-x592j5n8.js} +23 -23
  264. package/dist/chunks/{repository-k0h7zcy3.js → file-retention-xcj09269.js} +8 -8
  265. package/dist/chunks/{repository-bstexjd6.js → file-retention-xd9cc171.js} +5 -5
  266. package/dist/chunks/{repository-ektnw284.js → file-retention-xq7py0nk.js} +16 -16
  267. package/dist/chunks/{repository-gtn9c16a.js → file-retention-xt0z8zst.js} +4 -4
  268. package/dist/chunks/{repository-82zcwhsx.js → file-retention-xt6yj4t6.js} +19 -19
  269. package/dist/chunks/{repository-3e05p5k6.js → file-retention-xwmq2dcw.js} +18 -18
  270. package/dist/chunks/{repository-pkvxjntv.js → file-retention-y49ten0s.js} +20 -20
  271. package/dist/chunks/{repository-yara3q77.js → file-retention-yara3q77.js} +2 -2
  272. package/dist/chunks/{repository-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  273. package/dist/chunks/{repository-sv3cbmwn.js → file-retention-ycarv14j.js} +3 -3
  274. package/dist/chunks/{repository-jkfm927m.js → file-retention-yg021pr4.js} +10 -10
  275. package/dist/chunks/{repository-dpgr420w.js → file-retention-yjdt6y29.js} +8 -8
  276. package/dist/chunks/{repository-ms02w4bg.js → file-retention-yk6ka46x.js} +5 -5
  277. package/dist/chunks/{repository-2dv9mwt9.js → file-retention-ysjrjqrd.js} +17 -17
  278. package/dist/chunks/file-retention-yxdzradw.js +257 -0
  279. package/dist/chunks/{repository-swv5h1tw.js → file-retention-z2d0yvk9.js} +20 -20
  280. package/dist/chunks/{repository-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
  281. package/dist/chunks/{repository-8enexpz6.js → file-retention-z3h17q8g.js} +33 -33
  282. package/dist/chunks/{repository-0evha2wn.js → file-retention-z4efjq9s.js} +12 -12
  283. package/dist/chunks/{repository-5r0vxddc.js → file-retention-z79z9k8j.js} +9 -9
  284. package/dist/chunks/{repository-pg5757gf.js → file-retention-zcd9d9xm.js} +30 -30
  285. package/dist/chunks/{repository-mpaxnys6.js → file-retention-zf274ksp.js} +21 -21
  286. package/dist/chunks/{repository-nscwgnf9.js → file-retention-zg0ggtad.js} +59 -59
  287. package/dist/chunks/{repository-ptkgc041.js → file-retention-zke8k14a.js} +9 -9
  288. package/dist/chunks/{repository-e8rkqp2f.js → file-retention-zptqqsqr.js} +51 -51
  289. package/dist/chunks/{repository-2rgppjw0.js → file-retention-zrj29v3f.js} +11 -11
  290. package/dist/chunks/{repository-4nc3cf8h.js → file-retention-ztw3rrzx.js} +15 -15
  291. package/dist/chunks/{repository-exd6sskf.js → file-retention-zzhx4wss.js} +11 -11
  292. package/dist/chunks/{repository-cm490s5r.js → file-retention-zzjadyyc.js} +3 -3
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +88 -88
  298. package/dist/config/discovery.js +91 -91
  299. package/dist/config/integration.js +3 -3
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +108 -108
  302. package/dist/config/plugin/agent.js +124 -124
  303. package/dist/config/plugin/command.js +222 -222
  304. package/dist/config/plugin/compaction.js +163 -163
  305. package/dist/config/plugin/compatibility.js +143 -143
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +123 -123
  308. package/dist/config/plugin/image.js +122 -122
  309. package/dist/config/plugin/instruction.js +122 -122
  310. package/dist/config/plugin/location-watcher.js +124 -124
  311. package/dist/config/plugin/mcp.js +131 -131
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +124 -124
  315. package/dist/config/plugin/shell.js +124 -124
  316. package/dist/config/plugin/skill-file.js +139 -139
  317. package/dist/config/plugin/skill-scan.js +3 -3
  318. package/dist/config/plugin/skill.js +146 -146
  319. package/dist/config/plugin/snapshot.js +122 -122
  320. package/dist/config/plugin/source.js +125 -125
  321. package/dist/config/plugin/tool-output.js +123 -123
  322. package/dist/config/plugin/websearch.js +123 -123
  323. package/dist/config/plugin/worktree.js +124 -124
  324. package/dist/config/variable.js +1 -1
  325. package/dist/config/watch.js +1 -1
  326. package/dist/config.js +121 -121
  327. package/dist/console-access.js +1 -1
  328. package/dist/credential/sql.js +2 -2
  329. package/dist/credential.js +90 -90
  330. package/dist/database/database.js +73 -73
  331. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  332. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  333. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  334. package/dist/database/drizzle/index.js +13 -13
  335. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  338. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  345. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  346. package/dist/database/drizzle.js +14 -14
  347. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  348. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  349. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  350. package/dist/database/migration/20260225215848_workspace.js +1 -1
  351. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  352. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  353. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  354. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  355. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  356. package/dist/database/migration/20260323234822_events.js +1 -1
  357. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  358. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  359. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  360. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  361. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  362. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  363. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  364. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  365. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  366. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  367. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  368. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  369. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  370. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  371. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  372. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  373. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  374. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  375. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  376. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  377. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  378. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  379. package/dist/database/migration/20260611035744_credential.js +1 -1
  380. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  381. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  382. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  383. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  384. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  385. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  386. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  387. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  388. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  389. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  390. package/dist/database/migration/20260812213948_worktree.js +1 -1
  391. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  392. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  393. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  394. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  395. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  396. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  397. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  398. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  399. package/dist/database/migration/20261025123711_blob.js +1 -1
  400. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  401. package/dist/database/migration/20261026223005_schedule.js +1 -1
  402. package/dist/database/migration.gen.js +56 -56
  403. package/dist/database/migration.js +58 -58
  404. package/dist/database/path.js +2 -2
  405. package/dist/database/schema.gen.js +1 -1
  406. package/dist/database/schema.sql.js +1 -1
  407. package/dist/database/sqlite.bun.js +1 -1
  408. package/dist/database/sqlite.js +1 -1
  409. package/dist/database/sqlite.node.js +1 -1
  410. package/dist/database/sqlite.workerd.js +1 -1
  411. package/dist/database/v1-migration.bun.js +101 -101
  412. package/dist/database/v1-migration.js +1 -1
  413. package/dist/effect/app-node-builder.js +378 -378
  414. package/dist/effect/app-node-platform.js +2 -2
  415. package/dist/effect/keyed-mutex.js +1 -1
  416. package/dist/effect/websocket-constructor.js +1 -1
  417. package/dist/environment/driver.js +1 -1
  418. package/dist/environment/environment.js +102 -102
  419. package/dist/environment/exec-defaults.js +2 -2
  420. package/dist/environment/files.js +1 -1
  421. package/dist/environment/index.js +102 -102
  422. package/dist/environment/local.js +2 -2
  423. package/dist/environment/memory.js +2 -2
  424. package/dist/environment/unavailable.js +3 -3
  425. package/dist/event/sql.js +1 -1
  426. package/dist/event-logger.js +77 -77
  427. package/dist/file-access.js +149 -149
  428. package/dist/file-mutation.js +103 -103
  429. package/dist/file-retention.js +1 -1
  430. package/dist/filesystem/fff.bun.js +2 -2
  431. package/dist/filesystem/fff.js +1 -1
  432. package/dist/filesystem/fff.node.js +2 -2
  433. package/dist/filesystem/fff.workerd.js +2 -2
  434. package/dist/filesystem/file-watch.js +84 -84
  435. package/dist/filesystem/location-watcher-policy.js +6 -6
  436. package/dist/filesystem/location-watcher.js +235 -235
  437. package/dist/filesystem/protected.js +1 -1
  438. package/dist/filesystem/search.js +108 -108
  439. package/dist/filesystem/watcher-binding.js +1 -1
  440. package/dist/filesystem/watcher.js +7 -7
  441. package/dist/filesystem.js +113 -113
  442. package/dist/form.js +87 -87
  443. package/dist/formatter/builtins.js +4 -4
  444. package/dist/formatter.js +96 -96
  445. package/dist/generate.js +116 -116
  446. package/dist/git.js +11 -11
  447. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  448. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  449. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  451. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  453. package/dist/github-copilot/copilot-provider.js +17 -17
  454. package/dist/github-copilot/models.js +108 -108
  455. package/dist/github-copilot/openai-compatible-error.js +1 -1
  456. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  457. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  458. package/dist/github-copilot/responses/openai-error.js +1 -1
  459. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  460. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  461. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  462. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  463. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  464. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  466. package/dist/image/photon-normalize.js +1 -1
  467. package/dist/image/photon-worker.js +1 -1
  468. package/dist/image/photon.js +4 -4
  469. package/dist/image.js +6 -6
  470. package/dist/instance/service.js +5 -5
  471. package/dist/instance.js +369 -369
  472. package/dist/instruction-discovery.js +91 -91
  473. package/dist/instructions/builtins.js +96 -96
  474. package/dist/instructions/index.js +3 -3
  475. package/dist/integration/connection.js +1 -1
  476. package/dist/integration.js +84 -84
  477. package/dist/job.js +85 -85
  478. package/dist/kv/sql.js +2 -2
  479. package/dist/kv.js +76 -76
  480. package/dist/location-activity.js +164 -164
  481. package/dist/location-lifecycle.js +143 -143
  482. package/dist/location-service-map.js +95 -95
  483. package/dist/location-services.js +366 -366
  484. package/dist/location.js +96 -96
  485. package/dist/managed-policy.js +3 -3
  486. package/dist/mcp/client.js +100 -100
  487. package/dist/mcp/index.js +118 -118
  488. package/dist/mcp/instructions.js +169 -169
  489. package/dist/mcp/oauth.js +85 -85
  490. package/dist/mcp/socket-client.js +1 -1
  491. package/dist/mcp/stdio.js +99 -99
  492. package/dist/mime.js +1 -1
  493. package/dist/modal/models.js +108 -108
  494. package/dist/model-resolver.js +108 -108
  495. package/dist/model-retry.js +1 -1
  496. package/dist/model.js +101 -101
  497. package/dist/models-dev/v1.js +1 -1
  498. package/dist/models-dev.js +117 -117
  499. package/dist/oauth/page.js +1 -1
  500. package/dist/permission/saved.js +89 -89
  501. package/dist/permission/sql.js +5 -5
  502. package/dist/permission.js +148 -148
  503. package/dist/persistent-pty/binary.bun.js +1 -1
  504. package/dist/persistent-pty/daemon.js +1 -1
  505. package/dist/persistent-pty/index.js +95 -95
  506. package/dist/persistent-pty/pty-binding.js +1 -1
  507. package/dist/persistent-pty.js +82 -82
  508. package/dist/plugin/agent.js +83 -83
  509. package/dist/plugin/command.js +111 -111
  510. package/dist/plugin/hooks.js +5 -5
  511. package/dist/plugin/host.js +226 -226
  512. package/dist/plugin/identity.js +5 -5
  513. package/dist/plugin/instance.js +5 -5
  514. package/dist/plugin/internal.js +339 -339
  515. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  516. package/dist/plugin/models-dev.js +106 -106
  517. package/dist/plugin/module.js +124 -124
  518. package/dist/plugin/optimize.js +4 -4
  519. package/dist/plugin/plan.js +139 -139
  520. package/dist/plugin/promise.js +1 -1
  521. package/dist/plugin/provider/amazon-bedrock.js +99 -99
  522. package/dist/plugin/provider/azure.js +122 -122
  523. package/dist/plugin/provider/cerebras.js +1 -1
  524. package/dist/plugin/provider/chatgpt.js +122 -122
  525. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  526. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  527. package/dist/plugin/provider/configured.js +118 -118
  528. package/dist/plugin/provider/databricks.js +1 -1
  529. package/dist/plugin/provider/digitalocean.js +102 -102
  530. package/dist/plugin/provider/dynamic.js +2 -2
  531. package/dist/plugin/provider/github-copilot.js +104 -104
  532. package/dist/plugin/provider/gitlab.js +102 -102
  533. package/dist/plugin/provider/google-vertex.js +119 -119
  534. package/dist/plugin/provider/kilo.js +1 -1
  535. package/dist/plugin/provider/llmgateway.js +85 -85
  536. package/dist/plugin/provider/lmstudio.js +129 -129
  537. package/dist/plugin/provider/local.js +128 -128
  538. package/dist/plugin/provider/modal.js +101 -101
  539. package/dist/plugin/provider/neon.js +1 -1
  540. package/dist/plugin/provider/nvidia.js +1 -1
  541. package/dist/plugin/provider/ollama.js +131 -131
  542. package/dist/plugin/provider/openai-context-caps.js +99 -99
  543. package/dist/plugin/provider/openai.js +124 -124
  544. package/dist/plugin/provider/opencode.js +125 -125
  545. package/dist/plugin/provider/openrouter.js +100 -100
  546. package/dist/plugin/provider/poe.js +86 -86
  547. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  548. package/dist/plugin/provider/sap-ai-core.js +100 -100
  549. package/dist/plugin/provider/sdk-factory.js +1 -1
  550. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  551. package/dist/plugin/provider/vllm.js +131 -131
  552. package/dist/plugin/provider/xai.js +100 -100
  553. package/dist/plugin/provider/zenmux.js +1 -1
  554. package/dist/plugin/provider.js +172 -172
  555. package/dist/plugin/sdk.js +83 -83
  556. package/dist/plugin/service.js +3 -3
  557. package/dist/plugin/skill.js +142 -142
  558. package/dist/plugin/source-directory.js +1 -1
  559. package/dist/plugin/supervisor.js +356 -356
  560. package/dist/plugin/tool-input-repair.js +4 -4
  561. package/dist/plugin/update.js +2 -2
  562. package/dist/plugin/vcs/git.js +95 -95
  563. package/dist/plugin/vcs/hg.js +95 -95
  564. package/dist/plugin/verbosity.js +102 -102
  565. package/dist/plugin/warming.js +120 -120
  566. package/dist/plugin/websearch/exa.js +7 -7
  567. package/dist/plugin/websearch/firecrawl.js +8 -8
  568. package/dist/plugin/websearch/index.js +9 -9
  569. package/dist/plugin/websearch/mcp.js +4 -4
  570. package/dist/plugin/websearch/parallel.js +8 -8
  571. package/dist/plugin/websearch/tavily.js +4 -4
  572. package/dist/plugin/websearch/tinyfish.js +6 -6
  573. package/dist/plugin.js +237 -237
  574. package/dist/project/icon.js +5 -5
  575. package/dist/project/schema.js +8 -8
  576. package/dist/project/sql.js +4 -4
  577. package/dist/project.js +97 -97
  578. package/dist/provider.js +98 -98
  579. package/dist/pty/protocol.js +1 -1
  580. package/dist/pty/ticket.js +1 -1
  581. package/dist/pty.js +105 -105
  582. package/dist/reference/instructions.js +97 -97
  583. package/dist/reference.js +99 -99
  584. package/dist/repository-cache.js +89 -89
  585. package/dist/repository.js +3 -3
  586. package/dist/ripgrep/binary.js +2 -2
  587. package/dist/ripgrep.js +106 -106
  588. package/dist/rpc.js +95 -95
  589. package/dist/schedule/sql.js +6 -6
  590. package/dist/schedule.js +228 -228
  591. package/dist/schema.js +1 -1
  592. package/dist/session/affinity.js +1 -1
  593. package/dist/session/blob.js +121 -121
  594. package/dist/session/command.js +81 -81
  595. package/dist/session/compaction.js +165 -165
  596. package/dist/session/context.js +189 -189
  597. package/dist/session/diff.js +97 -97
  598. package/dist/session/environment.js +5 -5
  599. package/dist/session/error.js +3 -3
  600. package/dist/session/event.js +1 -1
  601. package/dist/session/execution/restart.js +229 -229
  602. package/dist/session/execution.js +155 -155
  603. package/dist/session/generate.js +189 -189
  604. package/dist/session/history.js +128 -128
  605. package/dist/session/inbox.js +139 -139
  606. package/dist/session/info.js +3 -3
  607. package/dist/session/instruction-entry.js +84 -84
  608. package/dist/session/instruction-state.js +8 -8
  609. package/dist/session/instructions.js +133 -133
  610. package/dist/session/message-updater.js +2 -2
  611. package/dist/session/message.js +1 -1
  612. package/dist/session/model-request.js +154 -154
  613. package/dist/session/model-transport.js +7 -7
  614. package/dist/session/move.js +157 -157
  615. package/dist/session/projector.js +135 -135
  616. package/dist/session/prompt.js +141 -141
  617. package/dist/session/recent-text.js +1 -1
  618. package/dist/session/revert.js +131 -131
  619. package/dist/session/run-coordinator.js +3 -3
  620. package/dist/session/runner/index.js +3 -3
  621. package/dist/session/runner/llm.js +237 -237
  622. package/dist/session/runner/max-steps.js +1 -1
  623. package/dist/session/runner/model.js +109 -109
  624. package/dist/session/runner/publish-llm-event.js +142 -142
  625. package/dist/session/runner/retry.js +5 -5
  626. package/dist/session/runner/step.js +153 -153
  627. package/dist/session/runner/to-llm-message.js +129 -129
  628. package/dist/session/schema.js +5 -5
  629. package/dist/session/session.js +171 -171
  630. package/dist/session/shell.js +136 -136
  631. package/dist/session/skill.js +140 -140
  632. package/dist/session/sql.js +5 -5
  633. package/dist/session/stats.js +80 -80
  634. package/dist/session/store.js +134 -134
  635. package/dist/session/stored.js +2 -2
  636. package/dist/session/subagent-completion.js +1 -1
  637. package/dist/session/subagent-job.js +220 -220
  638. package/dist/session/system-prompt.js +1 -1
  639. package/dist/session/title.js +187 -187
  640. package/dist/session/to-session-error.js +141 -141
  641. package/dist/session/transfer.js +225 -225
  642. package/dist/session/usage.js +1 -1
  643. package/dist/session.js +222 -222
  644. package/dist/shell/parse.js +8 -8
  645. package/dist/shell/result.js +1 -1
  646. package/dist/shell/scan.js +1 -1
  647. package/dist/shell/select.js +9 -9
  648. package/dist/shell.js +138 -138
  649. package/dist/skill/discovery.js +6 -6
  650. package/dist/skill/instructions.js +144 -144
  651. package/dist/skill.js +149 -149
  652. package/dist/snapshot.js +102 -102
  653. package/dist/state.js +1 -1
  654. package/dist/tool/html-markdown.js +1 -1
  655. package/dist/tool/http-body.js +1 -1
  656. package/dist/tool/mcp.js +168 -168
  657. package/dist/tool/plugin/edit.js +157 -157
  658. package/dist/tool/plugin/file-diff.js +1 -1
  659. package/dist/tool/plugin/glob.js +161 -161
  660. package/dist/tool/plugin/grep.js +157 -157
  661. package/dist/tool/plugin/mcp-resource.js +155 -155
  662. package/dist/tool/plugin/opencode.js +154 -154
  663. package/dist/tool/plugin/patch.js +159 -159
  664. package/dist/tool/plugin/question.js +141 -141
  665. package/dist/tool/plugin/read.js +160 -160
  666. package/dist/tool/plugin/shell.js +225 -225
  667. package/dist/tool/plugin/skill.js +150 -150
  668. package/dist/tool/plugin/subagent.js +227 -227
  669. package/dist/tool/plugin/todo.js +146 -146
  670. package/dist/tool/plugin/webfetch.js +148 -148
  671. package/dist/tool/plugin/websearch.js +144 -144
  672. package/dist/tool/plugin/write.js +151 -151
  673. package/dist/tool/read-filesystem.js +111 -111
  674. package/dist/tool/runtime.js +1 -1
  675. package/dist/tool-output.js +7 -7
  676. package/dist/tool.js +16 -16
  677. package/dist/usage-limits.js +96 -96
  678. package/dist/util/error-summary.js +1 -1
  679. package/dist/util/git-executable.js +3 -3
  680. package/dist/util/lazy.js +1 -1
  681. package/dist/util/slug.js +1 -1
  682. package/dist/util/token.js +1 -1
  683. package/dist/util/which.js +1 -1
  684. package/dist/util/wildcard.js +1 -1
  685. package/dist/v1/config/agent.js +3 -3
  686. package/dist/v1/config/command.js +3 -3
  687. package/dist/v1/config/mcp.js +2 -2
  688. package/dist/v1/config/migrate.js +101 -101
  689. package/dist/v1/config/permission.js +3 -3
  690. package/dist/v1/config/plugin.js +1 -1
  691. package/dist/v1/config/provider-options.js +1 -1
  692. package/dist/v1/config/provider.js +4 -4
  693. package/dist/variant.js +100 -100
  694. package/dist/vcs/patch.js +1 -1
  695. package/dist/vcs.js +96 -96
  696. package/dist/voice.js +97 -97
  697. package/dist/websearch.js +91 -91
  698. package/dist/wellknown/plugin.js +83 -83
  699. package/dist/wellknown.js +80 -80
  700. package/dist/workspace/driver.js +5 -5
  701. package/dist/workspace/sql.js +1 -1
  702. package/dist/workspace.js +87 -87
  703. package/dist/worktree/directory.js +2 -2
  704. package/dist/worktree/git.js +11 -11
  705. package/dist/worktree/sql.js +5 -5
  706. package/dist/worktree/strategies.js +98 -98
  707. package/dist/worktree.js +109 -109
  708. package/package.json +8 -8
  709. package/dist/chunks/repository-3ygt5d1v.js +0 -257
  710. package/dist/chunks/repository-dh9dmr4q.js +0 -511
  711. package/dist/chunks/repository-dym6dez5.js +0 -26
  712. package/dist/chunks/repository-z7bdqmx5.js +0 -18
  713. /package/dist/chunks/{repository-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  714. /package/dist/chunks/{repository-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  715. /package/dist/chunks/{repository-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  716. /package/dist/chunks/{repository-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  717. /package/dist/chunks/{repository-1jakw16s.js → file-retention-1jakw16s.js} +0 -0
  718. /package/dist/chunks/{repository-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  719. /package/dist/chunks/{repository-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  720. /package/dist/chunks/{repository-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  721. /package/dist/chunks/{repository-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  722. /package/dist/chunks/{repository-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  723. /package/dist/chunks/{repository-3asan66x.js → file-retention-3asan66x.js} +0 -0
  724. /package/dist/chunks/{repository-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  725. /package/dist/chunks/{repository-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  726. /package/dist/chunks/{repository-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  727. /package/dist/chunks/{repository-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  728. /package/dist/chunks/{repository-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  729. /package/dist/chunks/{repository-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  730. /package/dist/chunks/{repository-53557ph1.js → file-retention-53557ph1.js} +0 -0
  731. /package/dist/chunks/{repository-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  732. /package/dist/chunks/{repository-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
  733. /package/dist/chunks/{repository-6prwharc.js → file-retention-6prwharc.js} +0 -0
  734. /package/dist/chunks/{repository-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  735. /package/dist/chunks/{repository-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  736. /package/dist/chunks/{repository-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  737. /package/dist/chunks/{repository-822emrt2.js → file-retention-822emrt2.js} +0 -0
  738. /package/dist/chunks/{repository-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  739. /package/dist/chunks/{repository-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  740. /package/dist/chunks/{repository-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  741. /package/dist/chunks/{repository-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  742. /package/dist/chunks/{repository-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  743. /package/dist/chunks/{repository-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  744. /package/dist/chunks/{repository-a058387c.js → file-retention-a058387c.js} +0 -0
  745. /package/dist/chunks/{repository-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  746. /package/dist/chunks/{repository-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  747. /package/dist/chunks/{repository-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  748. /package/dist/chunks/{repository-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  749. /package/dist/chunks/{repository-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  750. /package/dist/chunks/{repository-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
  751. /package/dist/chunks/{repository-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  752. /package/dist/chunks/{repository-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  753. /package/dist/chunks/{repository-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  754. /package/dist/chunks/{repository-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
  755. /package/dist/chunks/{repository-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  756. /package/dist/chunks/{repository-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  757. /package/dist/chunks/{repository-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  758. /package/dist/chunks/{repository-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  759. /package/dist/chunks/{repository-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  760. /package/dist/chunks/{repository-df08tz66.js → file-retention-df08tz66.js} +0 -0
  761. /package/dist/chunks/{repository-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  762. /package/dist/chunks/{repository-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  763. /package/dist/chunks/{repository-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  764. /package/dist/chunks/{repository-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  765. /package/dist/chunks/{repository-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  766. /package/dist/chunks/{repository-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  767. /package/dist/chunks/{repository-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  768. /package/dist/chunks/{repository-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  769. /package/dist/chunks/{repository-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  770. /package/dist/chunks/{repository-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  771. /package/dist/chunks/{repository-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
  772. /package/dist/chunks/{repository-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  773. /package/dist/chunks/{repository-g86h250q.js → file-retention-g86h250q.js} +0 -0
  774. /package/dist/chunks/{repository-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  775. /package/dist/chunks/{repository-gftt206x.js → file-retention-gftt206x.js} +0 -0
  776. /package/dist/chunks/{repository-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  777. /package/dist/chunks/{repository-hk9envan.js → file-retention-hk9envan.js} +0 -0
  778. /package/dist/chunks/{repository-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  779. /package/dist/chunks/{repository-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  780. /package/dist/chunks/{repository-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  781. /package/dist/chunks/{repository-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  782. /package/dist/chunks/{repository-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  783. /package/dist/chunks/{repository-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
  784. /package/dist/chunks/{repository-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
  785. /package/dist/chunks/{repository-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  786. /package/dist/chunks/{repository-m18g726c.js → file-retention-m18g726c.js} +0 -0
  787. /package/dist/chunks/{repository-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  788. /package/dist/chunks/{repository-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  789. /package/dist/chunks/{repository-myztnk54.js → file-retention-myztnk54.js} +0 -0
  790. /package/dist/chunks/{repository-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  791. /package/dist/chunks/{repository-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  792. /package/dist/chunks/{repository-ncqqe42p.js → file-retention-ncqqe42p.js} +0 -0
  793. /package/dist/chunks/{repository-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
  794. /package/dist/chunks/{repository-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  795. /package/dist/chunks/{repository-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
  796. /package/dist/chunks/{repository-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  797. /package/dist/chunks/{repository-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  798. /package/dist/chunks/{repository-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  799. /package/dist/chunks/{repository-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  800. /package/dist/chunks/{repository-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  801. /package/dist/chunks/{repository-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  802. /package/dist/chunks/{repository-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  803. /package/dist/chunks/{repository-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  804. /package/dist/chunks/{repository-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  805. /package/dist/chunks/{repository-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  806. /package/dist/chunks/{repository-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  807. /package/dist/chunks/{repository-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  808. /package/dist/chunks/{repository-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  809. /package/dist/chunks/{repository-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  810. /package/dist/chunks/{repository-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  811. /package/dist/chunks/{repository-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  812. /package/dist/chunks/{repository-x61499pn.js → file-retention-x61499pn.js} +0 -0
  813. /package/dist/chunks/{repository-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  814. /package/dist/chunks/{repository-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  815. /package/dist/chunks/{repository-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  816. /package/dist/chunks/{repository-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  817. /package/dist/chunks/{repository-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
5
  Service86,
6
6
  node90
7
- } from "./repository-5107fk2n.js";
7
+ } from "./file-retention-vnjwe8gy.js";
8
8
  import {
9
9
  Service85,
10
10
  node89
11
- } from "./repository-vz9e3ctc.js";
11
+ } from "./file-retention-se016j3a.js";
12
12
  import {
13
- Service83,
14
- node87
15
- } from "./repository-ym290evk.js";
13
+ Service84,
14
+ node88
15
+ } from "./file-retention-6qazmz99.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info29,
19
+ Info30,
20
20
  UpdateInput4,
21
- Event19,
21
+ Event20,
22
22
  Vcs3
23
- } from "./repository-wdmx20pv.js";
23
+ } from "./file-retention-hdfrs5mg.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./repository-034tev2y.js";
27
+ } from "./file-retention-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./repository-yara3q77.js";
30
+ } from "./file-retention-yara3q77.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./repository-ayjs7tqn.js";
33
+ } from "./file-retention-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./repository-9rqn6x4v.js";
36
+ } from "./file-retention-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  Current: () => Current2,
42
- ID: () => ID16,
43
- Info: () => Info28,
42
+ ID: () => ID17,
43
+ Info: () => Info29,
44
44
  NotFoundError: () => NotFoundError12,
45
45
  Project: () => exports_project,
46
- Service: () => Service82,
46
+ Service: () => Service83,
47
47
  UpdateInput: () => UpdateInput3,
48
48
  Vcs: () => Vcs2,
49
- node: () => node86,
49
+ node: () => node87,
50
50
  root: () => root2,
51
51
  sweepNode: () => sweepNode2
52
52
  });
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
59
59
  import { AppProcess } from "@opencode/util/process";
60
60
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
61
61
  import { Hash } from "@opencode/util/hash";
62
- var ID16 = ID17;
62
+ var ID17 = ID18;
63
63
  var Vcs2 = Vcs3;
64
64
  var Current2 = Current3;
65
- var Info28 = Info29;
65
+ var Info29 = Info30;
66
66
  var UpdateInput3 = UpdateInput4;
67
67
 
68
68
  class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
69
- projectID: ID16
69
+ projectID: ID17
70
70
  }) {
71
71
  }
72
72
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
84
84
  var ACTIVATE_INTERVAL = 60000;
85
85
  var SWEEP_INTERVAL = Duration.hours(1);
86
86
 
87
- class Service82 extends Context.Service()("@opencode/Project") {
87
+ class Service83 extends Context.Service()("@opencode/Project") {
88
88
  }
89
89
  function fromRow(row) {
90
90
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -108,9 +108,9 @@ function fromRow(row) {
108
108
  sandboxes: row.sandboxes
109
109
  };
110
110
  }
111
- var layer = Layer.effect(Service82, Effect.gen(function* () {
111
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
112
112
  const fs = yield* FSUtil.Service;
113
- const git = yield* Service83;
113
+ const git = yield* Service84;
114
114
  const proc = yield* AppProcess.Service;
115
115
  const bus = yield* Service85;
116
116
  const db = (yield* Service86).db;
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
123
123
  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;
124
124
  const changed = replaced ?? unarchived;
125
125
  if (changed)
126
- yield* bus.publish(Event19.Updated, fromRow(changed));
127
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event19.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
126
+ yield* bus.publish(Event20.Updated, fromRow(changed));
127
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
128
128
  if (!project.vcs)
129
129
  return project;
130
130
  const directories = [
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
160
160
  yield* bus.publish(Worktree.Event.Resolved, {
161
161
  projectID: item.projectID,
162
162
  directory: item.directory,
163
- previous: project.previous ?? ID16.global,
163
+ previous: project.previous ?? ID17.global,
164
164
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
165
165
  }, {
166
166
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
185
185
  if (!row)
186
186
  return yield* new NotFoundError12({ projectID: input.projectID });
187
187
  const project = fromRow(row);
188
- yield* bus.publish(Event19.Updated, project);
188
+ yield* bus.publish(Event20.Updated, project);
189
189
  return project;
190
190
  });
191
191
  const activated = new Map;
@@ -196,10 +196,10 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
196
196
  activated.set(projectID, now);
197
197
  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);
198
198
  if (row)
199
- yield* bus.publish(Event19.Updated, fromRow(row));
199
+ yield* bus.publish(Event20.Updated, fromRow(row));
200
200
  });
201
201
  const cached = Effect.fnUntraced(function* (dir) {
202
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
202
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
203
203
  return;
204
204
  }));
205
205
  });
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
210
210
  const normalized = url(origin);
211
211
  if (!normalized)
212
212
  return;
213
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
213
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
214
214
  });
215
215
  function url(input) {
216
216
  const value = input.trim();
@@ -235,7 +235,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
235
235
  }
236
236
  const rootCommit = Effect.fnUntraced(function* (repo) {
237
237
  const root = (yield* git.history.rootCommits(repo))[0];
238
- return root ? ID16.make(root) : undefined;
238
+ return root ? ID17.make(root) : undefined;
239
239
  });
240
240
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
241
241
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
251
251
  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), fallback(repo.worktree));
252
252
  const resolved = {
253
253
  previous,
254
- id: id ?? ID16.global,
254
+ id: id ?? ID17.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
276
276
  return;
277
277
  const node = result.stdout.toString("utf8").split(`
278
278
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
279
- return node ? ID16.make(node) : undefined;
279
+ return node ? ID17.make(node) : undefined;
280
280
  });
281
281
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
282
282
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
284
284
  const id = previous ?? (yield* hgRoot(worktree));
285
285
  return {
286
286
  previous,
287
- id: id ?? ID16.global,
287
+ id: id ?? ID17.global,
288
288
  directory: worktree,
289
289
  vcs: { type: "hg", store: dotHg }
290
290
  };
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
311
311
  });
312
312
  }
313
313
  return yield* save({
314
- id: ID16.make(Hash.fast(`directory:${directory}`)),
314
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
315
315
  directory,
316
316
  canonical: directory,
317
317
  vcs: undefined
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
320
320
  const sweep = Effect.fn("Project.sweep")(function* () {
321
321
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
322
322
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
323
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
323
+ 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);
324
324
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
325
325
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
326
326
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
333
333
  return;
334
334
  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);
335
335
  if (row)
336
- yield* bus.publish(Event19.Updated, fromRow(row));
336
+ yield* bus.publish(Event20.Updated, fromRow(row));
337
337
  }), { concurrency: 8, discard: true });
338
338
  });
339
- return Service82.of({ list, update, activate, resolve, sweep });
339
+ return Service83.of({ list, update, activate, resolve, sweep });
340
340
  }));
341
- var node86 = makeGlobalNode({
342
- service: Service82,
341
+ var node87 = makeGlobalNode({
342
+ service: Service83,
343
343
  layer,
344
- deps: [node89, node90, FSUtil.node, node87, AppProcess.node]
344
+ deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
345
345
  });
346
346
  var sweepNode2 = makeGlobalNode({
347
347
  name: "project-archive-sweep",
348
348
  layer: Layer.effectDiscard(Effect.gen(function* () {
349
- const project = yield* Service82;
349
+ const project = yield* Service83;
350
350
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
351
351
  })),
352
- deps: [node86]
352
+ deps: [node87]
353
353
  });
354
354
 
355
- export { ID16, Vcs2, Current2, Info28, UpdateInput3, NotFoundError12, root2, Service82, node86, sweepNode2, exports_project };
355
+ export { ID17, Vcs2, Current2, Info29, UpdateInput3, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer6,
9
+ layer: () => layer7,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer6 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer7 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer6, exports_unavailable };
22
+ export { spawner2, layer7, exports_unavailable };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service86
3
- } from "./repository-5107fk2n.js";
3
+ } from "./file-retention-vnjwe8gy.js";
4
4
  import {
5
- Service46
6
- } from "./repository-ra34yqmw.js";
5
+ Service49
6
+ } from "./file-retention-cg3fcpn4.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./repository-z7bdqmx5.js";
9
+ } from "./file-retention-8x060fmy.js";
10
10
  import {
11
11
  preview2
12
- } from "./repository-z6y50tdx.js";
12
+ } from "./file-retention-1m8zk9rp.js";
13
13
  import {
14
14
  baseTranscript2
15
- } from "./repository-9nzgnp4r.js";
15
+ } from "./file-retention-36g55jbn.js";
16
16
  import {
17
- Service26
18
- } from "./repository-phy9rbgr.js";
17
+ Service28
18
+ } from "./file-retention-gv60x5cq.js";
19
19
  import {
20
20
  retry2
21
- } from "./repository-wnhgecwx.js";
21
+ } from "./file-retention-wnhgecwx.js";
22
22
  import {
23
23
  __export
24
- } from "./repository-9rqn6x4v.js";
24
+ } from "./file-retention-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate2 = {};
@@ -32,12 +32,12 @@ __export(exports_generate2, {
32
32
  import { LLMClient, Message } from "@opencode/ai/effect";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service46;
35
+ const instances = yield* Service49;
36
36
  const database = yield* Service86;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service26;
40
+ const context = yield* Service28;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID13
3
- } from "./repository-k8sh24kp.js";
3
+ } from "./file-retention-geg17xg0.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./repository-sjnxn81j.js";
6
+ } from "./file-retention-b36ttk86.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -4,34 +4,34 @@ import {
4
4
  Failed2,
5
5
  typeFollowing2,
6
6
  exists2
7
- } from "./repository-svcy3p9a.js";
7
+ } from "./file-retention-svcy3p9a.js";
8
8
  import {
9
9
  execDefaults2
10
- } from "./repository-jtnps1zs.js";
10
+ } from "./file-retention-jtnps1zs.js";
11
11
  import {
12
12
  makeLocalDriver2
13
- } from "./repository-cwrgdav8.js";
13
+ } from "./file-retention-cwrgdav8.js";
14
14
  import {
15
15
  makeMemoryDriver2
16
- } from "./repository-twssxy5n.js";
16
+ } from "./file-retention-twssxy5n.js";
17
17
  import {
18
- Service81,
19
- node85
20
- } from "./repository-gvvhvz2q.js";
18
+ Service82,
19
+ node86
20
+ } from "./file-retention-gqqeyx1x.js";
21
21
  import {
22
- Service66,
23
- node69
24
- } from "./repository-xa7geska.js";
22
+ Service72,
23
+ node75
24
+ } from "./file-retention-cebftnbm.js";
25
25
  import {
26
26
  __export
27
- } from "./repository-9rqn6x4v.js";
27
+ } from "./file-retention-9rqn6x4v.js";
28
28
 
29
29
  // src/environment/environment.ts
30
30
  var exports_environment2 = {};
31
31
  __export(exports_environment2, {
32
32
  EnvironmentService: () => exports_environment2,
33
- Service: () => Service65,
34
- node: () => node68
33
+ Service: () => Service70,
34
+ node: () => node73
35
35
  });
36
36
 
37
37
  // src/environment/index.ts
@@ -40,14 +40,14 @@ __export(exports_environment3, {
40
40
  Environment: () => exports_environment3,
41
41
  Failed: () => Failed2,
42
42
  NotFound: () => NotFound3,
43
- Service: () => Service65,
43
+ Service: () => Service70,
44
44
  WrongKind: () => WrongKind2,
45
45
  execDefaults: () => execDefaults2,
46
46
  exists: () => exists2,
47
47
  makeFiles: () => makeFiles2,
48
48
  makeLocalDriver: () => makeLocalDriver2,
49
49
  makeMemoryDriver: () => makeMemoryDriver2,
50
- node: () => node68,
50
+ node: () => node73,
51
51
  typeFollowing: () => typeFollowing2
52
52
  });
53
53
 
@@ -63,19 +63,19 @@ var makeFiles2 = (driver) => ({
63
63
  });
64
64
 
65
65
  // src/environment/environment.ts
66
- class Service65 extends Context.Service()("@opencode/Environment") {
66
+ class Service70 extends Context.Service()("@opencode/Environment") {
67
67
  }
68
- var layer = Layer.effect(Service65, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
69
69
  const spawner = yield* ChildProcessSpawner;
70
- const location = yield* Service81;
71
- const workspace = yield* Service66;
70
+ const location = yield* Service82;
71
+ const workspace = yield* Service72;
72
72
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
73
- return Service65.of({ files: makeFiles2(driver), spawner: driver.spawner });
73
+ return Service70.of({ files: makeFiles2(driver), spawner: driver.spawner });
74
74
  }));
75
- var node68 = makeLocationNode({
76
- service: Service65,
75
+ var node73 = makeLocationNode({
76
+ service: Service70,
77
77
  layer,
78
- deps: [CrossSpawnSpawner.node, node85, node69]
78
+ deps: [CrossSpawnSpawner.node, node86, node75]
79
79
  });
80
80
 
81
- export { Service65, node68, exports_environment2, makeFiles2, exports_environment3 };
81
+ export { Service70, node73, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,61 +1,62 @@
1
1
  import {
2
- Service71
3
- } from "./repository-82zcwhsx.js";
2
+ Service57
3
+ } from "./file-retention-xt6yj4t6.js";
4
4
  import {
5
5
  Ref3,
6
6
  Service77
7
- } from "./repository-0evha2wn.js";
7
+ } from "./file-retention-z4efjq9s.js";
8
8
  import {
9
9
  latest2,
10
- Service72
11
- } from "./repository-abs1shnw.js";
10
+ Service73
11
+ } from "./file-retention-cvv281km.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./repository-ts7mkfs9.js";
14
+ } from "./file-retention-qsee9sfb.js";
15
15
  import {
16
- Service60
17
- } from "./repository-etamvy03.js";
16
+ Service48
17
+ } from "./file-retention-f4r5xwfc.js";
18
18
  import {
19
19
  evaluate2,
20
- Service68
21
- } from "./repository-6pzctp9a.js";
20
+ Service54
21
+ } from "./file-retention-7yb883t5.js";
22
22
  import {
23
- Service24
24
- } from "./repository-nhs8pjpx.js";
23
+ Service26
24
+ } from "./file-retention-47r66zre.js";
25
25
  import {
26
26
  NO_TEXT2
27
- } from "./repository-sqjzf8x2.js";
27
+ } from "./file-retention-sqjzf8x2.js";
28
28
  import {
29
- Service7
30
- } from "./repository-qbcktyw0.js";
29
+ Service10
30
+ } from "./file-retention-bt45xqy1.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input7,
39
- Output: () => Output5,
40
- Plugin: () => Plugin8,
38
+ Input: () => Input13,
39
+ Output: () => Output9,
40
+ Plugin: () => Plugin33,
41
41
  SubagentTool: () => exports_subagent,
42
- description: () => description4,
43
- name: () => name7
42
+ description: () => description5,
43
+ name: () => name13
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name7 = "subagent";
47
+ var name13 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
51
51
  output: [
52
52
  `The subagent is working in the background (sessionID: ${sessionID}). You will be notified automatically when it finishes.`,
53
53
  "DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using.",
54
- "Work on non-overlapping tasks, or briefly tell the user what you launched and end your response."
54
+ "Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.",
55
+ "To send it follow-ups or change its instructions while it runs, call subagent again with this sessionID."
55
56
  ].join(`
56
57
  `)
57
58
  });
58
- var Input7 = Schema.Struct({
59
+ var Input13 = Schema.Struct({
59
60
  agent: Schema.String.annotate({
60
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
61
62
  }),
@@ -65,18 +66,18 @@ var Input7 = Schema.Struct({
65
66
  description: 'NEVER set this unless the user explicitly asks for a particular model or variant. The value is written as "providerID/modelID", or "providerID/modelID#variant" to include a variant. Do not guess the ID: look the model up with the models tool, filtering to your own provider first.'
66
67
  }),
67
68
  sessionID: Schema.optionalKey(SessionSchema2.ID).annotate({
68
- description: "Continue a specific previous subagent conversation by passing its sessionID. Calls without a sessionID start a new conversation."
69
+ description: "Send a follow-up to an existing subagent, running or finished. Omit to start a new one."
69
70
  }),
70
71
  background: Schema.optionalKey(Schema.Boolean).annotate({
71
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
72
73
  })
73
74
  });
74
- var Output5 = Schema.Struct({
75
+ var Output9 = Schema.Struct({
75
76
  sessionID: SessionSchema2.ID,
76
77
  status: Schema.Literals(["completed", "running"]),
77
78
  output: Schema.String
78
79
  });
79
- var description4 = [
80
+ var description5 = [
80
81
  "Spawns an agent in a child session to work on the specified task.",
81
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
82
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -85,16 +86,16 @@ var description4 = [
85
86
  "Use background only for independent work that can run while you continue elsewhere."
86
87
  ].join(`
87
88
  `);
88
- var Plugin8 = {
89
+ var Plugin33 = {
89
90
  id: "opencode.tool.subagent",
90
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
91
- const sessions = yield* Service24;
92
- const jobs = yield* Service60;
93
- const agents = yield* Service71;
94
- const config = yield* Service72;
95
- const permission = yield* Service68;
92
+ const sessions = yield* Service26;
93
+ const jobs = yield* Service48;
94
+ const agents = yield* Service57;
95
+ const config = yield* Service73;
96
+ const permission = yield* Service54;
96
97
  const models = yield* Service77;
97
- const subagents = yield* Service7;
98
+ const subagents = yield* Service10;
98
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
99
100
  const ref = yield* Effect.try({
100
101
  try: () => Ref3.parse(input),
@@ -114,11 +115,11 @@ var Plugin8 = {
114
115
  return ref;
115
116
  });
116
117
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name7,
118
+ name: name13,
118
119
  options: { codemode: false },
119
- description: description4,
120
- input: Input7,
121
- output: Output5,
120
+ description: description5,
121
+ input: Input13,
122
+ output: Output9,
122
123
  execute: (input, context) => Effect.gen(function* () {
123
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
124
125
  let current = parent;
@@ -138,7 +139,7 @@ var Plugin8 = {
138
139
  if (agent.mode === "primary")
139
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
140
141
  yield* permission.assert({
141
- action: name7,
142
+ action: name13,
142
143
  resources: [agent.id],
143
144
  save: [agent.id],
144
145
  sessionID: context.sessionID,
@@ -217,7 +218,7 @@ ${output.output}
217
218
  })))
218
219
  })).pipe(Effect.orDie);
219
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
220
- if (event.tool !== name7 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name13 || !Predicate.isObject(event.input))
221
222
  return;
222
223
  if (event.input.model !== "" && event.input.sessionID !== "")
223
224
  return;
@@ -229,13 +230,13 @@ ${output.output}
229
230
  event.input = input;
230
231
  }));
231
232
  const hook = (event) => Effect.gen(function* () {
232
- const tool = event.tools[name7];
233
+ const tool = event.tools[name13];
233
234
  if (!tool)
234
235
  return;
235
236
  const selected = yield* agents.resolve(event.agent);
236
237
  if (!selected)
237
238
  return;
238
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
240
  if (available.length === 0)
240
241
  return;
241
242
  tool.description = [
@@ -252,4 +253,4 @@ ${output.output}
252
253
  })
253
254
  };
254
255
 
255
- export { name7, Input7, Output5, description4, Plugin8, exports_subagent };
256
+ export { name13, Input13, Output9, description5, Plugin33, exports_subagent };