@opencode/core 0.0.0-dev-20284 → 0.0.0-dev-20285

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/file-retention-0awdyt48.js +26 -0
  8. package/dist/chunks/{integration-rhjbct0v.js → file-retention-0gdmqesm.js} +4 -4
  9. package/dist/chunks/{integration-6hjx5zpb.js → file-retention-0jq9fyba.js} +9 -9
  10. package/dist/chunks/{integration-yesqp7fw.js → file-retention-0m56zc8a.js} +12 -12
  11. package/dist/chunks/{integration-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{integration-87b0ccws.js → file-retention-0ywk5tx6.js} +4 -4
  13. package/dist/chunks/{integration-9erc8nq9.js → file-retention-14rxwr6z.js} +41 -41
  14. package/dist/chunks/{integration-jx4jx4s1.js → file-retention-16gx62bp.js} +2 -2
  15. package/dist/chunks/{integration-1acjjqhc.js → file-retention-1acjjqhc.js} +1 -1
  16. package/dist/chunks/{integration-mhkvc446.js → file-retention-1bbkgx8g.js} +3 -3
  17. package/dist/chunks/{integration-pkfxfszq.js → file-retention-1caf5nrg.js} +26 -26
  18. package/dist/chunks/{integration-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{integration-m2p4qxhv.js → file-retention-1fdwkrhc.js} +27 -27
  20. package/dist/chunks/{integration-3py9tntd.js → file-retention-1fscjbh9.js} +3 -3
  21. package/dist/chunks/{integration-3801kdgp.js → file-retention-1wr3xbz8.js} +5 -5
  22. package/dist/chunks/{integration-336jbapg.js → file-retention-20k655vp.js} +8 -8
  23. package/dist/chunks/{integration-1hsgezmh.js → file-retention-21b4tg1x.js} +11 -11
  24. package/dist/chunks/{integration-21r38tys.js → file-retention-21r38tys.js} +1 -1
  25. package/dist/chunks/{integration-z63w68vq.js → file-retention-29x78va6.js} +6 -6
  26. package/dist/chunks/{integration-dxt5nwr4.js → file-retention-2a31wvsa.js} +13 -13
  27. package/dist/chunks/{integration-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{integration-wefqzq4f.js → file-retention-2bef5nan.js} +304 -304
  29. package/dist/chunks/{integration-f60ve7xe.js → file-retention-2fz0za61.js} +16 -16
  30. package/dist/chunks/{integration-0jwsre1p.js → file-retention-2k8khapm.js} +5 -5
  31. package/dist/chunks/{integration-a8bn8zg0.js → file-retention-2pnhn36q.js} +21 -21
  32. package/dist/chunks/{integration-19eyspa8.js → file-retention-2yxf3rmy.js} +30 -30
  33. package/dist/chunks/{integration-p0sbmvqz.js → file-retention-30dn2p1d.js} +24 -24
  34. package/dist/chunks/{integration-a79rb00n.js → file-retention-341r3tte.js} +12 -12
  35. package/dist/chunks/{integration-a4ae1mqs.js → file-retention-3556dn8t.js} +1 -1
  36. package/dist/chunks/{integration-59xwxqv5.js → file-retention-36cgn824.js} +5 -5
  37. package/dist/chunks/{integration-qf37nfnm.js → file-retention-3czz45a3.js} +3 -3
  38. package/dist/chunks/{integration-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{integration-akqv09jd.js → file-retention-3gd62aj9.js} +172 -167
  40. package/dist/chunks/{integration-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{integration-k5c5twea.js → file-retention-3m43f51c.js} +23 -23
  42. package/dist/chunks/{integration-nydz2zbj.js → file-retention-3q73b6mj.js} +15 -15
  43. package/dist/chunks/{integration-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{integration-355jfwf8.js → file-retention-3st197qb.js} +50 -50
  45. package/dist/chunks/{integration-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{integration-med42bqn.js → file-retention-3vehk3w1.js} +15 -15
  47. package/dist/chunks/{integration-baes5359.js → file-retention-3vzfjtr8.js} +5 -5
  48. package/dist/chunks/{integration-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{integration-rbkd2d5v.js → file-retention-41rmpfss.js} +22 -22
  50. package/dist/chunks/{integration-9jft2ye4.js → file-retention-43m7x77p.js} +17 -17
  51. package/dist/chunks/{integration-cvhkk3hw.js → file-retention-47378fkq.js} +7 -7
  52. package/dist/chunks/{integration-zbsarep8.js → file-retention-474p48fz.js} +12 -12
  53. package/dist/chunks/{integration-y9vg1scn.js → file-retention-481cetth.js} +10 -10
  54. package/dist/chunks/{integration-m601tfh9.js → file-retention-4a49dmp5.js} +15 -15
  55. package/dist/chunks/{integration-h8vn6fjj.js → file-retention-4bgvjpaj.js} +14 -14
  56. package/dist/chunks/{integration-wztfhms8.js → file-retention-4bpxp8jr.js} +3 -3
  57. package/dist/chunks/{integration-941r3npm.js → file-retention-4dcyp64e.js} +11 -11
  58. package/dist/chunks/{integration-bt5vmpp6.js → file-retention-4f1mqxn7.js} +4 -4
  59. package/dist/chunks/{integration-s00bxgng.js → file-retention-4jrfqp12.js} +26 -26
  60. package/dist/chunks/{integration-r0bd36fr.js → file-retention-4pf42kt4.js} +6 -6
  61. package/dist/chunks/{integration-7r6wwy4a.js → file-retention-4q599fyn.js} +6 -6
  62. package/dist/chunks/{integration-3ayz7pdh.js → file-retention-4s8ysvrb.js} +31 -31
  63. package/dist/chunks/{integration-jxjcdxd0.js → file-retention-4x93m9qy.js} +17 -17
  64. package/dist/chunks/{integration-d2czbp48.js → file-retention-4z58m4b4.js} +4 -4
  65. package/dist/chunks/{integration-d0k1g5nx.js → file-retention-51f5btjf.js} +6 -6
  66. package/dist/chunks/{integration-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
  67. package/dist/chunks/{integration-54tcyq79.js → file-retention-54tcyq79.js} +2 -2
  68. package/dist/chunks/{integration-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  69. package/dist/chunks/{integration-7b7x293f.js → file-retention-5dg6696f.js} +46 -27
  70. package/dist/chunks/{integration-03wz1akf.js → file-retention-5epvw41m.js} +39 -39
  71. package/dist/chunks/file-retention-5g7fvmhm.js +507 -0
  72. package/dist/chunks/{integration-14skzq0n.js → file-retention-5gerj4ra.js} +41 -41
  73. package/dist/chunks/{integration-m8dxka3f.js → file-retention-5khy2bd0.js} +33 -33
  74. package/dist/chunks/{integration-a2xz39qp.js → file-retention-5ndd65f1.js} +9 -9
  75. package/dist/chunks/{integration-4w3q00qb.js → file-retention-5pk58n1t.js} +18 -18
  76. package/dist/chunks/{integration-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  77. package/dist/chunks/{integration-hkxx6036.js → file-retention-60amgp41.js} +4 -4
  78. package/dist/chunks/{integration-bxp2jpa1.js → file-retention-60e937tk.js} +4 -4
  79. package/dist/chunks/{integration-3q756xqj.js → file-retention-61h3kr51.js} +33 -33
  80. package/dist/chunks/{integration-669tq793.js → file-retention-669tq793.js} +1 -1
  81. package/dist/chunks/{integration-r280vhkp.js → file-retention-679y6aj6.js} +16 -16
  82. package/dist/chunks/{integration-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  83. package/dist/chunks/{integration-g74mfj6n.js → file-retention-6scfp7gb.js} +9 -9
  84. package/dist/chunks/{integration-9kbags8k.js → file-retention-6zcagf6x.js} +9 -9
  85. package/dist/chunks/{integration-yqrrhp5w.js → file-retention-782bh3pr.js} +20 -20
  86. package/dist/chunks/{integration-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{integration-n264kn3f.js → file-retention-7h1rvsdd.js} +14 -14
  88. package/dist/chunks/{integration-hawc55qt.js → file-retention-7jn4cbqh.js} +6 -6
  89. package/dist/chunks/{integration-8hpx30f9.js → file-retention-7k8jnmap.js} +44 -44
  90. package/dist/chunks/{integration-3rtxz4nr.js → file-retention-7s2tn799.js} +8 -8
  91. package/dist/chunks/{integration-yfj39tds.js → file-retention-7yj99b4g.js} +25 -25
  92. package/dist/chunks/{integration-eahhehpg.js → file-retention-80scg3y3.js} +4 -4
  93. package/dist/chunks/{integration-84txncab.js → file-retention-84txncab.js} +1 -1
  94. package/dist/chunks/{integration-tcezcvh9.js → file-retention-89znhe33.js} +4 -4
  95. package/dist/chunks/{integration-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{integration-4xz89tjk.js → file-retention-8jxztqqt.js} +5 -5
  97. package/dist/chunks/{integration-1p07q0wb.js → file-retention-8sze2n9a.js} +8 -8
  98. package/dist/chunks/{integration-4p773rn4.js → file-retention-8xyqwyw4.js} +16 -16
  99. package/dist/chunks/{integration-hwaq6n4f.js → file-retention-958ry1en.js} +13 -13
  100. package/dist/chunks/{integration-10ce4g8v.js → file-retention-9asxwhye.js} +10 -10
  101. package/dist/chunks/{integration-s9htjpym.js → file-retention-9ckhpt6a.js} +28 -28
  102. package/dist/chunks/{integration-2y8s9x1b.js → file-retention-9gjt9gbs.js} +13 -13
  103. package/dist/chunks/{integration-d7ap0fky.js → file-retention-9gk01zf5.js} +11 -11
  104. package/dist/chunks/{integration-4wdgh5xv.js → file-retention-9hbvw80x.js} +2 -2
  105. package/dist/chunks/{integration-ngts6ef0.js → file-retention-9jbvj98d.js} +8 -8
  106. package/dist/chunks/{integration-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  107. package/dist/chunks/{integration-mh4rkcf4.js → file-retention-addykxcr.js} +24 -24
  108. package/dist/chunks/{integration-kaqgv1kk.js → file-retention-ah16ew7h.js} +11 -11
  109. package/dist/chunks/{integration-zfsz7c4a.js → file-retention-amhzemjk.js} +11 -11
  110. package/dist/chunks/{integration-fdv30zvt.js → file-retention-at5d07az.js} +7 -7
  111. package/dist/chunks/{integration-wnys78fq.js → file-retention-b0a139tp.js} +3 -3
  112. package/dist/chunks/{integration-wzmaxvc9.js → file-retention-b29g69qn.js} +30 -30
  113. package/dist/chunks/{integration-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{integration-df3df5tx.js → file-retention-bbb7krmb.js} +1 -1
  115. package/dist/chunks/{integration-bjtzbw4r.js → file-retention-bjtzbw4r.js} +3 -3
  116. package/dist/chunks/{integration-88b17fsa.js → file-retention-c01tdnkp.js} +35 -35
  117. package/dist/chunks/{integration-7w8vs4ab.js → file-retention-c1y4bq5r.js} +13 -13
  118. package/dist/chunks/file-retention-c2k3cth8.js +252 -0
  119. package/dist/chunks/{integration-fsmmwzws.js → file-retention-c9h5a3rv.js} +25 -25
  120. package/dist/chunks/{integration-jw0bqmef.js → file-retention-ccrmjght.js} +34 -34
  121. package/dist/chunks/{integration-k2aj64ym.js → file-retention-cg045a5a.js} +22 -22
  122. package/dist/chunks/{integration-41xbg949.js → file-retention-chthj8nn.js} +17 -17
  123. package/dist/chunks/{integration-b8t30bwq.js → file-retention-cjj4r78p.js} +12 -12
  124. package/dist/chunks/{integration-ssx3zy79.js → file-retention-d9bmnkpe.js} +17 -17
  125. package/dist/chunks/{integration-d9s573fh.js → file-retention-d9s573fh.js} +2 -2
  126. package/dist/chunks/{integration-nvrj0150.js → file-retention-dgk65g6a.js} +11 -11
  127. package/dist/chunks/{integration-q7z079fr.js → file-retention-dk1h4k3m.js} +24 -24
  128. package/dist/chunks/{integration-qf0b0eax.js → file-retention-dp089qyj.js} +11 -11
  129. package/dist/chunks/{integration-g2mx06y3.js → file-retention-dte89hxh.js} +27 -27
  130. package/dist/chunks/{integration-2c7hjkzv.js → file-retention-dvzj1xmf.js} +12 -12
  131. package/dist/chunks/{integration-jssdqx31.js → file-retention-dwwxx3ad.js} +24 -24
  132. package/dist/chunks/{integration-5qd3pb7m.js → file-retention-e3qxr5gk.js} +2 -2
  133. package/dist/chunks/{integration-jmv4csz4.js → file-retention-e4e0rb9m.js} +11 -11
  134. package/dist/chunks/{integration-13wsvgev.js → file-retention-e5etnha4.js} +11 -11
  135. package/dist/chunks/{integration-ecfe7b91.js → file-retention-ecfe7b91.js} +2 -2
  136. package/dist/chunks/{integration-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{integration-0qjwcdf0.js → file-retention-ekf0jtj0.js} +3 -3
  138. package/dist/chunks/{integration-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{integration-nf82b3wt.js → file-retention-etwdtmvh.js} +10 -10
  140. package/dist/chunks/{integration-v7tbbmm7.js → file-retention-ew2nq7xx.js} +5 -5
  141. package/dist/chunks/{integration-ns7tbk3m.js → file-retention-ez49j3s8.js} +24 -24
  142. package/dist/chunks/{integration-sn41jhqx.js → file-retention-f638v0k7.js} +15 -15
  143. package/dist/chunks/{integration-0w5jwg0z.js → file-retention-f79rnm05.js} +5 -5
  144. package/dist/chunks/{integration-287rg9sk.js → file-retention-f9v3w90c.js} +25 -25
  145. package/dist/chunks/{integration-1ag5f13t.js → file-retention-fe8gfspk.js} +11 -11
  146. package/dist/chunks/{integration-xsgk3b13.js → file-retention-fhff0x2d.js} +9 -9
  147. package/dist/chunks/{integration-y5sjzhg5.js → file-retention-frtvfavf.js} +4 -4
  148. package/dist/chunks/{integration-500fmqbd.js → file-retention-ftbwh1a1.js} +11 -11
  149. package/dist/chunks/{integration-dpja50vx.js → file-retention-fw2v9256.js} +8 -8
  150. package/dist/chunks/{integration-8ntmc9jd.js → file-retention-fx4fe4nq.js} +4 -4
  151. package/dist/chunks/{integration-j7kkg62r.js → file-retention-g0x0gx4j.js} +25 -25
  152. package/dist/chunks/{integration-fs86y4y8.js → file-retention-g298hghc.js} +25 -25
  153. package/dist/chunks/{integration-h3xyrx8k.js → file-retention-g2tbeqr5.js} +15 -15
  154. package/dist/chunks/{integration-xn76t6fc.js → file-retention-g5q29pcg.js} +16 -16
  155. package/dist/chunks/{integration-v4r6ds62.js → file-retention-g87nsqnj.js} +5 -5
  156. package/dist/chunks/{integration-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{integration-gfvb90ym.js → file-retention-gfvb90ym.js} +2 -2
  158. package/dist/chunks/{integration-h9055z12.js → file-retention-gja6y8ab.js} +20 -20
  159. package/dist/chunks/{integration-s9taesah.js → file-retention-gjyhvyzk.js} +11 -11
  160. package/dist/chunks/{integration-e2w4nw67.js → file-retention-gkcpgxvn.js} +11 -11
  161. package/dist/chunks/{integration-s2eagjy5.js → file-retention-grfgqh29.js} +25 -25
  162. package/dist/chunks/{integration-18fhcwyd.js → file-retention-gx02ghzj.js} +9 -9
  163. package/dist/chunks/{integration-99jc8f7r.js → file-retention-gzj4cxdc.js} +19 -19
  164. package/dist/chunks/{integration-k8s2g9k3.js → file-retention-gzsrjqqd.js} +69 -69
  165. package/dist/chunks/{integration-g26xt907.js → file-retention-h6p0mwy3.js} +20 -20
  166. package/dist/chunks/{integration-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{integration-zd5r1z3p.js → file-retention-h78cdha0.js} +33 -33
  168. package/dist/chunks/{integration-37dqmmxw.js → file-retention-hbsdh60r.js} +20 -20
  169. package/dist/chunks/{integration-5sxhaqv9.js → file-retention-hfym5axa.js} +13 -13
  170. package/dist/chunks/file-retention-ht5y0zrb.js +18 -0
  171. package/dist/chunks/{integration-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  172. package/dist/chunks/{integration-13ahtzqa.js → file-retention-j6wzn4gt.js} +14 -14
  173. package/dist/chunks/{integration-5r5ngwvx.js → file-retention-jdtz6xe6.js} +11 -11
  174. package/dist/chunks/{integration-2emg5d4r.js → file-retention-jpq1mxv8.js} +8 -8
  175. package/dist/chunks/{integration-tchf8bzg.js → file-retention-jrh7cjv9.js} +15 -15
  176. package/dist/chunks/{integration-g56r92cj.js → file-retention-jwhd9bgz.js} +14 -14
  177. package/dist/chunks/{integration-xr72202b.js → file-retention-jz6k0e3h.js} +3 -3
  178. package/dist/chunks/{integration-rzep3kdk.js → file-retention-k0aew57z.js} +8 -8
  179. package/dist/chunks/{integration-datgzbnb.js → file-retention-k1k1f0xx.js} +16 -16
  180. package/dist/chunks/{integration-2yx0kjta.js → file-retention-k6c967g7.js} +3 -3
  181. package/dist/chunks/{integration-enc8k7eb.js → file-retention-kag9wx21.js} +139 -31
  182. package/dist/chunks/{integration-5frpvc34.js → file-retention-kbegyq1c.js} +2 -2
  183. package/dist/chunks/{integration-w4arg62q.js → file-retention-kmkwybff.js} +4 -4
  184. package/dist/chunks/{integration-kcc7mh83.js → file-retention-kryy842e.js} +43 -43
  185. package/dist/chunks/{integration-tgcnk5sw.js → file-retention-kspsnyg5.js} +5 -5
  186. package/dist/chunks/{integration-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{integration-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{integration-1ygqh575.js → file-retention-mfqp6xfm.js} +6 -6
  189. package/dist/chunks/{integration-h6r3nrb9.js → file-retention-mpk0rfs5.js} +4 -2
  190. package/dist/chunks/{integration-2e55ks6z.js → file-retention-ms03nq7r.js} +13 -13
  191. package/dist/chunks/{integration-npzqcw4h.js → file-retention-n2az5f76.js} +12 -12
  192. package/dist/chunks/{integration-8q7cq0y1.js → file-retention-n7d88tpn.js} +3 -3
  193. package/dist/chunks/{integration-j6rk38x8.js → file-retention-nenvs776.js} +9 -9
  194. package/dist/chunks/{integration-56tk9z3j.js → file-retention-njhj3ca1.js} +13 -13
  195. package/dist/chunks/{integration-h3b20av4.js → file-retention-nnk7v8pm.js} +8 -8
  196. package/dist/chunks/{integration-txe61999.js → file-retention-nt2xy26d.js} +29 -29
  197. package/dist/chunks/{integration-k3c624dm.js → file-retention-nzks3jc8.js} +3 -3
  198. package/dist/chunks/{integration-5yzzbxa7.js → file-retention-p37cw4rj.js} +8 -8
  199. package/dist/chunks/{integration-ete09x6f.js → file-retention-p3t9fn4d.js} +9 -9
  200. package/dist/chunks/{integration-7rncv06g.js → file-retention-p9te1kmc.js} +43 -43
  201. package/dist/chunks/{integration-txzsewg6.js → file-retention-pg27pa1a.js} +30 -30
  202. package/dist/chunks/{integration-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{integration-pknna89w.js → file-retention-pknna89w.js} +1 -1
  204. package/dist/chunks/{integration-dd4dnbbb.js → file-retention-ps5z82g9.js} +5 -5
  205. package/dist/chunks/{integration-psazpmmj.js → file-retention-psazpmmj.js} +2 -2
  206. package/dist/chunks/{integration-8y7th7f2.js → file-retention-psbrwbtd.js} +5 -5
  207. package/dist/chunks/{integration-kc8mrxbe.js → file-retention-pzhy0znt.js} +14 -14
  208. package/dist/chunks/{integration-h9qb7c7q.js → file-retention-pzwaf65z.js} +32 -32
  209. package/dist/chunks/{integration-p4b86tx8.js → file-retention-q1n3a0d0.js} +6 -6
  210. package/dist/chunks/{integration-sht10b59.js → file-retention-q3cwr1ch.js} +52 -52
  211. package/dist/chunks/{integration-a7pt7jn1.js → file-retention-qcmd6j3d.js} +4 -4
  212. package/dist/chunks/{integration-t5ey9jjv.js → file-retention-qeb5ksby.js} +46 -46
  213. package/dist/chunks/{integration-amv7r7xf.js → file-retention-qgc72k7m.js} +8 -8
  214. package/dist/chunks/{integration-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  215. package/dist/chunks/{integration-cwa6csj7.js → file-retention-r2m716tb.js} +9 -9
  216. package/dist/chunks/{integration-576s5d3g.js → file-retention-r59n77gh.js} +24 -24
  217. package/dist/chunks/{integration-fj3c9ane.js → file-retention-r5d8z5dp.js} +10 -10
  218. package/dist/chunks/{integration-q2b1ymqp.js → file-retention-r98e92ep.js} +4 -4
  219. package/dist/chunks/{integration-y3ems7z9.js → file-retention-rb8xkgfd.js} +10 -10
  220. package/dist/chunks/{integration-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{integration-b2s2f9hy.js → file-retention-rjbmcc11.js} +11 -11
  222. package/dist/chunks/{integration-5798x35d.js → file-retention-rjpmn9fg.js} +23 -23
  223. package/dist/chunks/{integration-8xwjq0pe.js → file-retention-rkp2w2jx.js} +35 -35
  224. package/dist/chunks/{integration-rq775frq.js → file-retention-rq775frq.js} +2 -2
  225. package/dist/chunks/{integration-s0k7kba5.js → file-retention-rr5wp26c.js} +11 -11
  226. package/dist/chunks/{integration-mr90rcr6.js → file-retention-rrb87pxb.js} +17 -17
  227. package/dist/chunks/{integration-3e147rt9.js → file-retention-rwh68y4k.js} +9 -9
  228. package/dist/chunks/{integration-82206brs.js → file-retention-s1a7yt6d.js} +48 -48
  229. package/dist/chunks/{integration-kfktj5h5.js → file-retention-s2byz38y.js} +4 -4
  230. package/dist/chunks/{integration-yrznvahk.js → file-retention-s4enseaf.js} +2 -2
  231. package/dist/chunks/{integration-4yb1sc8z.js → file-retention-s6yj2pcz.js} +9 -9
  232. package/dist/chunks/{integration-5we7r0eg.js → file-retention-sc51f7bh.js} +8 -8
  233. package/dist/chunks/{integration-8parajs2.js → file-retention-snjen9h6.js} +42 -42
  234. package/dist/chunks/{integration-s3g84wna.js → file-retention-srey4qzw.js} +7 -7
  235. package/dist/chunks/{integration-exxm0dv4.js → file-retention-svx0194h.js} +24 -24
  236. package/dist/chunks/{integration-2va239gy.js → file-retention-szekdmz8.js} +21 -21
  237. package/dist/chunks/{integration-mpthp08p.js → file-retention-t3tn9a53.js} +9 -9
  238. package/dist/chunks/{integration-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{integration-j34bs4nz.js → file-retention-tb1cafh6.js} +4 -4
  240. package/dist/chunks/{integration-tdstcens.js → file-retention-tdstcens.js} +1 -1
  241. package/dist/chunks/{integration-8p70309a.js → file-retention-tffeed3q.js} +12 -12
  242. package/dist/chunks/{integration-e5d75q9m.js → file-retention-tnppw0jd.js} +31 -31
  243. package/dist/chunks/{integration-aby47wwy.js → file-retention-tv83fb5h.js} +23 -23
  244. package/dist/chunks/{integration-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  245. package/dist/chunks/{integration-qv1j0f1d.js → file-retention-twd39qy8.js} +13 -13
  246. package/dist/chunks/{integration-166agdv6.js → file-retention-v2hpcb12.js} +11 -11
  247. package/dist/chunks/{integration-r0d7dx27.js → file-retention-v9aw8j7f.js} +79 -79
  248. package/dist/chunks/{integration-xvp1j2dc.js → file-retention-vd7rzxqf.js} +5 -5
  249. package/dist/chunks/{integration-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  250. package/dist/chunks/{integration-kefef9st.js → file-retention-vk4wj6sj.js} +24 -24
  251. package/dist/chunks/{integration-2hg7qvzt.js → file-retention-vnwmzs4a.js} +5 -5
  252. package/dist/chunks/{integration-ycwy6ex1.js → file-retention-vsx1rdgx.js} +20 -20
  253. package/dist/chunks/{integration-0ta8ncat.js → file-retention-vxje23vy.js} +10 -10
  254. package/dist/chunks/{integration-pc4b88sv.js → file-retention-vxzh5eqq.js} +4 -4
  255. package/dist/chunks/{integration-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{integration-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{integration-dfmjf6m5.js → file-retention-w2wbxgzd.js} +7 -7
  258. package/dist/chunks/{integration-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{integration-zywn5321.js → file-retention-wapkz1da.js} +18 -18
  260. package/dist/chunks/{integration-6esbwhw5.js → file-retention-wd0xah3x.js} +32 -32
  261. package/dist/chunks/{integration-wd87259q.js → file-retention-wd87259q.js} +1 -1
  262. package/dist/chunks/{integration-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{integration-h8pmqzj1.js → file-retention-x1mx0z9d.js} +8 -8
  264. package/dist/chunks/{integration-57b9ws8p.js → file-retention-xfkkasph.js} +7 -7
  265. package/dist/chunks/{integration-1p2r191f.js → file-retention-xj0hxfaf.js} +12 -12
  266. package/dist/chunks/{integration-xkntkrq7.js → file-retention-xkntkrq7.js} +2 -2
  267. package/dist/chunks/{integration-r1mh77dy.js → file-retention-xsq4etav.js} +24 -24
  268. package/dist/chunks/{integration-vzfyd6yh.js → file-retention-xw6mcszy.js} +16 -16
  269. package/dist/chunks/{integration-fndw4the.js → file-retention-xznz5zdk.js} +1 -1
  270. package/dist/chunks/{integration-d1pkyphn.js → file-retention-y1afxrem.js} +5 -5
  271. package/dist/chunks/{integration-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{integration-tffktew3.js → file-retention-y1zeze83.js} +5 -5
  273. package/dist/chunks/{integration-cpyc35sh.js → file-retention-y4spq9gz.js} +83 -83
  274. package/dist/chunks/{integration-y71avatq.js → file-retention-y71avatq.js} +1 -1
  275. package/dist/chunks/{integration-evxqfha7.js → file-retention-yd5d63z4.js} +24 -24
  276. package/dist/chunks/{integration-mvfdckk2.js → file-retention-ydgy0jv4.js} +4 -4
  277. package/dist/chunks/{integration-a79tw4th.js → file-retention-yec3cmat.js} +5 -5
  278. package/dist/chunks/{integration-mkvne50z.js → file-retention-yg47fsda.js} +10 -10
  279. package/dist/chunks/{integration-m3v0axb2.js → file-retention-yr5t88vm.js} +5 -5
  280. package/dist/chunks/{integration-g3nv7gdt.js → file-retention-yrc0g15d.js} +3 -3
  281. package/dist/chunks/{integration-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{integration-7zdz69fq.js → file-retention-yte8k0cp.js} +18 -18
  283. package/dist/chunks/{integration-7evwkt5a.js → file-retention-yx0fmswe.js} +7 -7
  284. package/dist/chunks/{integration-yyb7tjpc.js → file-retention-yyb7tjpc.js} +2 -2
  285. package/dist/chunks/{integration-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{integration-ash82f75.js → file-retention-z5jasrp0.js} +13 -13
  287. package/dist/chunks/{integration-rpg9c19m.js → file-retention-zcrspsvn.js} +4 -4
  288. package/dist/chunks/{integration-fjnt6npx.js → file-retention-zd4enfcj.js} +18 -18
  289. package/dist/chunks/{integration-kxw6n92b.js → file-retention-zgw5b4rz.js} +13 -13
  290. package/dist/chunks/{integration-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{integration-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{integration-99ws31qd.js → file-retention-zzp9hs8b.js} +33 -33
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +77 -77
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +101 -101
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -1
  465. package/dist/integration.js +87 -86
  466. package/dist/job.js +75 -75
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -108
  477. package/dist/mcp/instructions.js +125 -124
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +78 -78
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -101
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +334 -334
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +95 -95
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -162
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +349 -349
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +4 -4
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +224 -224
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +91 -91
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +95 -95
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +135 -135
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +221 -221
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +1 -1
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +170 -170
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +215 -215
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +219 -219
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +126 -125
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +122 -122
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +117 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +101 -101
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +216 -216
  649. package/dist/tool/plugin/skill.js +105 -105
  650. package/dist/tool/plugin/subagent.js +218 -218
  651. package/dist/tool/plugin/webfetch.js +108 -108
  652. package/dist/tool/plugin/websearch.js +110 -110
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +16 -16
  658. package/dist/types/integration/connection.d.ts +42 -0
  659. package/dist/types/integration.d.ts +24 -0
  660. package/dist/types/plugin/provider/opencode.d.ts +1 -1
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +7 -7
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +4 -4
  675. package/dist/v1/config/formatter.js +7 -7
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +7 -7
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +82 -82
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +3 -3
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +78 -78
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +8 -8
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +96 -96
  701. package/package.json +8 -8
  702. package/dist/chunks/integration-1x11rq2a.js +0 -18
  703. package/dist/chunks/integration-78b6byxs.js +0 -252
  704. package/dist/chunks/integration-a9zdxssk.js +0 -26
  705. package/dist/chunks/integration-efmr7s8w.js +0 -507
  706. /package/dist/chunks/{integration-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{integration-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{integration-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{integration-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{integration-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{integration-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{integration-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{integration-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{integration-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{integration-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{integration-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{integration-3asan66x.js → file-retention-3asan66x.js} +0 -0
  718. /package/dist/chunks/{integration-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{integration-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{integration-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{integration-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{integration-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{integration-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{integration-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{integration-53557ph1.js → file-retention-53557ph1.js} +0 -0
  726. /package/dist/chunks/{integration-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{integration-6prwharc.js → file-retention-6prwharc.js} +0 -0
  728. /package/dist/chunks/{integration-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{integration-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{integration-822emrt2.js → file-retention-822emrt2.js} +0 -0
  731. /package/dist/chunks/{integration-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{integration-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{integration-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{integration-922hggd3.js → file-retention-922hggd3.js} +0 -0
  735. /package/dist/chunks/{integration-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{integration-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{integration-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{integration-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{integration-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{integration-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{integration-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{integration-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{integration-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{integration-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{integration-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{integration-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{integration-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{integration-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{integration-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{integration-df08tz66.js → file-retention-df08tz66.js} +0 -0
  751. /package/dist/chunks/{integration-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{integration-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{integration-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{integration-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{integration-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{integration-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{integration-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{integration-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{integration-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{integration-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{integration-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{integration-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{integration-g86h250q.js → file-retention-g86h250q.js} +0 -0
  764. /package/dist/chunks/{integration-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{integration-gftt206x.js → file-retention-gftt206x.js} +0 -0
  766. /package/dist/chunks/{integration-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{integration-hk9envan.js → file-retention-hk9envan.js} +0 -0
  768. /package/dist/chunks/{integration-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{integration-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{integration-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{integration-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{integration-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{integration-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{integration-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{integration-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{integration-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{integration-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{integration-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{integration-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{integration-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{integration-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{integration-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{integration-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{integration-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{integration-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{integration-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{integration-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{integration-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{integration-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{integration-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{integration-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{integration-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{integration-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{integration-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{integration-x61499pn.js → file-retention-x61499pn.js} +0 -0
  796. /package/dist/chunks/{integration-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{integration-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{integration-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{integration-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{integration-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{integration-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,125 +1,125 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./integration-wztfhms8.js";
4
+ } from "./file-retention-4bpxp8jr.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./integration-bxp2jpa1.js";
8
+ } from "./file-retention-60e937tk.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./integration-gftt206x.js";
11
+ } from "./file-retention-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./integration-j6rk38x8.js";
14
+ } from "./file-retention-nenvs776.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./integration-ec1grn59.js";
17
+ } from "./file-retention-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./integration-bjtzbw4r.js";
20
+ } from "./file-retention-bjtzbw4r.js";
21
21
  import {
22
22
  prepare4
23
- } from "./integration-a7pt7jn1.js";
23
+ } from "./file-retention-qcmd6j3d.js";
24
24
  import {
25
25
  provenance2
26
- } from "./integration-d2czbp48.js";
26
+ } from "./file-retention-4z58m4b4.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./integration-kaqgv1kk.js";
30
+ } from "./file-retention-ah16ew7h.js";
31
31
  import {
32
- Service59,
33
- node62
34
- } from "./integration-n264kn3f.js";
32
+ Service51,
33
+ node53
34
+ } from "./file-retention-7h1rvsdd.js";
35
35
  import {
36
- Service47,
37
- node50
38
- } from "./integration-m2p4qxhv.js";
36
+ Service46,
37
+ node48
38
+ } from "./file-retention-1fdwkrhc.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./integration-5t3nmthw.js";
41
+ } from "./file-retention-5t3nmthw.js";
42
42
  import {
43
- Service29,
44
- node32
45
- } from "./integration-500fmqbd.js";
43
+ Service30,
44
+ node33
45
+ } from "./file-retention-ftbwh1a1.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./integration-3q756xqj.js";
48
+ } from "./file-retention-61h3kr51.js";
49
49
  import {
50
- make8
51
- } from "./integration-xvp1j2dc.js";
50
+ make10
51
+ } from "./file-retention-vd7rzxqf.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./integration-a79tw4th.js";
54
+ } from "./file-retention-yec3cmat.js";
55
55
  import {
56
- Service6,
57
- node8,
56
+ Service11,
57
+ node13,
58
58
  estimatePrompt2
59
- } from "./integration-txzsewg6.js";
59
+ } from "./file-retention-pg27pa1a.js";
60
60
  import {
61
- Service22,
61
+ Service21,
62
62
  node25
63
- } from "./integration-r0d7dx27.js";
63
+ } from "./file-retention-v9aw8j7f.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./integration-ns7tbk3m.js";
68
+ } from "./file-retention-ez49j3s8.js";
69
69
  import {
70
- Service5,
70
+ Service10,
71
71
  isUntitled2,
72
- node7
73
- } from "./integration-yfj39tds.js";
72
+ node12
73
+ } from "./file-retention-7yj99b4g.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service52
77
- } from "./integration-rpg9c19m.js";
76
+ Service41
77
+ } from "./file-retention-zcrspsvn.js";
78
78
  import {
79
- node46
80
- } from "./integration-fs86y4y8.js";
79
+ node35
80
+ } from "./file-retention-g298hghc.js";
81
81
  import {
82
- node45
83
- } from "./integration-8p70309a.js";
82
+ node68
83
+ } from "./file-retention-tffeed3q.js";
84
84
  import {
85
85
  Outcome2,
86
- make7
87
- } from "./integration-h9055z12.js";
86
+ make8
87
+ } from "./file-retention-gja6y8ab.js";
88
88
  import {
89
- Service27
90
- } from "./integration-1x11rq2a.js";
89
+ Service28
90
+ } from "./file-retention-ht5y0zrb.js";
91
91
  import {
92
- node15
93
- } from "./integration-datgzbnb.js";
92
+ node14
93
+ } from "./file-retention-k1k1f0xx.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./integration-y44na4kk.js";
96
+ } from "./file-retention-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./integration-9rqn6x4v.js";
99
+ } from "./file-retention-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node6
105
+ node: () => node10
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
108
  import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service52, Effect.gen(function* () {
112
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
113
113
  const bus = yield* Service83;
114
- const lifecycle = yield* Service47;
115
- const store = yield* Service59;
116
- const context = yield* Service22;
117
- const modelTransport = yield* Service29;
114
+ const lifecycle = yield* Service46;
115
+ const store = yield* Service51;
116
+ const context = yield* Service21;
117
+ const modelTransport = yield* Service30;
118
118
  const db = (yield* Service84).db;
119
- const compaction = yield* Service6;
120
- const plugins = yield* Service27;
121
- const title = yield* Service5;
122
- const steps = yield* make7;
119
+ const compaction = yield* Service11;
120
+ const plugins = yield* Service28;
121
+ const title = yield* Service10;
122
+ const steps = yield* make8;
123
123
  const titles = yield* FiberMap.make();
124
124
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
125
125
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make8(bus, sessionID);
243
+ const retry = yield* make10(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service52.of({ drain });
359
+ return Service41.of({ drain });
360
360
  }));
361
- var node6 = makeLocationNode({
362
- service: Service52,
361
+ var node10 = makeLocationNode({
362
+ service: Service41,
363
363
  layer,
364
364
  deps: [
365
365
  node87,
366
- node50,
366
+ node48,
367
367
  llmClient2,
368
368
  node25,
369
- node32,
370
- node62,
371
- node8,
372
- node15,
373
- node7,
374
- node46,
375
- node45,
369
+ node33,
370
+ node53,
371
+ node13,
372
+ node14,
373
+ node12,
374
+ node35,
375
+ node68,
376
376
  node88
377
377
  ]
378
378
  });
379
379
 
380
- export { node6, exports_llm };
380
+ export { node10, exports_llm };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./integration-rdw6cm16.js";
3
+ } from "./file-retention-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./integration-qaymkmh1.js";
6
+ } from "./file-retention-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./integration-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options8,
15
- Service: () => Service41,
14
+ Options: () => Options6,
15
+ Service: () => Service64,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
18
  configured: () => configured7,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node44,
24
+ node: () => node67,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve3
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options8 = Schema.Struct({
46
+ var Options6 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service41 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service64 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve3(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service41.of({
202
+ return Service64.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
209
  function configured7(options) {
210
- return makeLocationNode({ service: Service41, layer: layer(options), deps: [Global.node] });
210
+ return makeLocationNode({ service: Service64, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node44 = configured7();
212
+ var node67 = configured7();
213
213
 
214
- export { Options8, Service41, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured7, node44, exports_select };
214
+ export { Options6, Service64, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node67, exports_select };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./integration-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./integration-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node86
7
- } from "./integration-tgcnk5sw.js";
7
+ } from "./file-retention-kspsnyg5.js";
8
8
  import {
9
9
  Slug2
10
- } from "./integration-gebd4c9n.js";
10
+ } from "./file-retention-gebd4c9n.js";
11
11
  import {
12
12
  Service84,
13
13
  node88
14
- } from "./integration-wztfhms8.js";
14
+ } from "./file-retention-4bpxp8jr.js";
15
15
  import {
16
16
  Service83,
17
17
  node87
18
- } from "./integration-bxp2jpa1.js";
18
+ } from "./file-retention-60e937tk.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./integration-psazpmmj.js";
21
+ } from "./file-retention-psazpmmj.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./integration-gfvb90ym.js";
24
+ } from "./file-retention-gfvb90ym.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./integration-rzep3kdk.js";
28
+ } from "./file-retention-k0aew57z.js";
29
29
  import {
30
30
  Ref4
31
- } from "./integration-4wdgh5xv.js";
31
+ } from "./file-retention-9hbvw80x.js";
32
32
  import {
33
- Service57,
34
- node60
35
- } from "./integration-mpthp08p.js";
33
+ Service48,
34
+ node50
35
+ } from "./file-retention-t3tn9a53.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./integration-yyb7tjpc.js";
39
+ } from "./file-retention-yyb7tjpc.js";
40
40
  import {
41
41
  make12
42
- } from "./integration-wnys78fq.js";
42
+ } from "./file-retention-b0a139tp.js";
43
43
  import {
44
- Service16
45
- } from "./integration-h8vn6fjj.js";
44
+ Service18
45
+ } from "./file-retention-4bgvjpaj.js";
46
46
  import {
47
47
  __export
48
- } from "./integration-9rqn6x4v.js";
48
+ } from "./file-retention-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
52
52
  __export(exports_worktree2, {
53
- CreateInput: () => CreateInput3,
53
+ CreateInput: () => CreateInput2,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event4,
56
+ Event: () => Event3,
57
57
  Info: () => Info4,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service15,
63
+ Service: () => Service17,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node18
68
+ node: () => node20
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -77,7 +77,7 @@ import { AppProcess } from "@opencode/util/process";
77
77
  import { ChildProcess } from "effect/unstable/process";
78
78
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
- var CreateInput3 = Worktree.CreateInput;
80
+ var CreateInput2 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
82
  var Info4 = Worktree.Info;
83
83
  var List2 = Worktree.List;
@@ -94,17 +94,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event4 = Worktree.Event;
97
+ var Event3 = Worktree.Event;
98
98
 
99
- class Service15 extends Context.Service()("@opencode/Worktree") {
99
+ class Service17 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service15, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service84;
104
104
  const db = database.db;
105
105
  const bus = yield* Service83;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service57;
107
+ const locations = yield* Service48;
108
108
  const gitStrategy = yield* make12;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service16).get();
123
+ return Context.get(context, Service18).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event4.Updated, { projectID });
127
+ yield* bus.publish(Event3.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service15.of({
254
+ return Service17.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node18 = Node.makeGlobalNode({
265
- service: Service15,
264
+ var node20 = Node.makeGlobalNode({
265
+ service: Service17,
266
266
  layer,
267
- deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node60]
267
+ deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node50]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service15, node18, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service17, node20, exports_worktree2, OperationError2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID8
3
- } from "./integration-p0sbmvqz.js";
2
+ ID7
3
+ } from "./file-retention-30dn2p1d.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./integration-922hggd3.js";
6
+ } from "./file-retention-922hggd3.js";
7
7
  import {
8
- Info11
9
- } from "./integration-s0k7kba5.js";
8
+ Info17
9
+ } from "./file-retention-rr5wp26c.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./integration-kfktj5h5.js";
12
+ } from "./file-retention-s2byz38y.js";
13
13
  import {
14
14
  latest2,
15
- Service37
16
- } from "./integration-9erc8nq9.js";
15
+ Service66
16
+ } from "./file-retention-14rxwr6z.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./integration-5daktx2q.js";
19
+ } from "./file-retention-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./integration-9rqn6x4v.js";
22
+ } from "./file-retention-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin19
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin7
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin19 = define({
47
+ var Plugin7 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service37;
50
+ const config = yield* Service66;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin19 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID8.make(configuredDefault));
79
+ editor.default(ID7.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID8.make(id);
85
+ const agentID = ID7.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin19, exports_agent2 };
164
+ export { Plugin7, exports_agent };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service37
3
- } from "./integration-9erc8nq9.js";
2
+ Service66
3
+ } from "./file-retention-14rxwr6z.js";
4
4
  import {
5
- Service32
6
- } from "./integration-t5ey9jjv.js";
5
+ Service25
6
+ } from "./file-retention-qeb5ksby.js";
7
7
  import {
8
8
  __export
9
- } from "./integration-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin20,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin19,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin20 = define({
20
+ var Plugin19 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service37;
28
- const mcp = yield* Service32;
27
+ const config = yield* Service66;
28
+ const mcp = yield* Service25;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin20, register2, exports_mcp2 };
49
+ export { Plugin19, register2, exports_mcp };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./file-retention-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service28,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service28 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service28.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service28, awaitActivation2, exports_service };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./integration-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};