@opencode/core 0.0.0-dev-20076 → 0.0.0-dev-20079

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 +73 -73
  7. package/dist/chunks/{file-retention-zee1rnkq.js → location-lifecycle-06x8he3q.js} +4 -4
  8. package/dist/chunks/{file-retention-xxynqx5z.js → location-lifecycle-08rawchj.js} +3 -3
  9. package/dist/chunks/{file-retention-tfg9eqy2.js → location-lifecycle-09ww3nkz.js} +11 -11
  10. package/dist/chunks/{file-retention-0ft9cg2j.js → location-lifecycle-0gaj4617.js} +6 -6
  11. package/dist/chunks/{file-retention-nwzjzhhc.js → location-lifecycle-0httgp45.js} +53 -53
  12. package/dist/chunks/location-lifecycle-0mesazry.js +4 -0
  13. package/dist/chunks/{file-retention-0bftx5a5.js → location-lifecycle-0my6m5t2.js} +87 -87
  14. package/dist/chunks/{file-retention-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-retention-484azhyv.js → location-lifecycle-0pfhfkh4.js} +18 -18
  16. package/dist/chunks/{file-retention-qmhwq76t.js → location-lifecycle-0q40c6p6.js} +20 -20
  17. package/dist/chunks/{file-retention-b971s22s.js → location-lifecycle-0z3tr3b5.js} +4 -4
  18. package/dist/chunks/{file-retention-tv6fr57g.js → location-lifecycle-12y94dz0.js} +11 -11
  19. package/dist/chunks/{file-retention-cfvy20zr.js → location-lifecycle-15hj9zcg.js} +9 -9
  20. package/dist/chunks/{file-retention-dg2cj1yd.js → location-lifecycle-18s9r5gn.js} +4 -4
  21. package/dist/chunks/{file-retention-ph5whc14.js → location-lifecycle-1dazxqgg.js} +5 -5
  22. package/dist/chunks/{file-retention-jh4dq78w.js → location-lifecycle-1efpx20h.js} +15 -15
  23. package/dist/chunks/{file-retention-pjzp5jm9.js → location-lifecycle-1gnq4k7b.js} +32 -32
  24. package/dist/chunks/{file-retention-m5xa4xm2.js → location-lifecycle-1hb2dmf7.js} +46 -46
  25. package/dist/chunks/{file-retention-yer1ws18.js → location-lifecycle-1hn05gyd.js} +14 -14
  26. package/dist/chunks/{file-retention-e981czdn.js → location-lifecycle-1pwc4c2w.js} +9 -9
  27. package/dist/chunks/{file-retention-h2r7bbkd.js → location-lifecycle-1y1z8jnb.js} +11 -11
  28. package/dist/chunks/{file-retention-j1x1sn3n.js → location-lifecycle-1y354hzw.js} +21 -21
  29. package/dist/chunks/{file-retention-a54wp4v4.js → location-lifecycle-1z08k0r1.js} +8 -8
  30. package/dist/chunks/{file-retention-cy9y9za1.js → location-lifecycle-1zcq3fa7.js} +30 -30
  31. package/dist/chunks/{file-retention-1tmvwee5.js → location-lifecycle-1zsrxcp1.js} +8 -8
  32. package/dist/chunks/{file-retention-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
  33. package/dist/chunks/{file-retention-2f8p2v54.js → location-lifecycle-21t6fa69.js} +20 -20
  34. package/dist/chunks/{file-retention-2402vzrj.js → location-lifecycle-2402vzrj.js} +1 -1
  35. package/dist/chunks/{file-retention-b3rc9xq5.js → location-lifecycle-24sw7gsr.js} +12 -12
  36. package/dist/chunks/{file-retention-z63w68vq.js → location-lifecycle-29x78va6.js} +6 -6
  37. package/dist/chunks/{file-retention-hgz4x7wa.js → location-lifecycle-2a5m3afh.js} +4 -4
  38. package/dist/chunks/{file-retention-41wzkj33.js → location-lifecycle-2tba787a.js} +12 -12
  39. package/dist/chunks/{file-retention-e0vnyvwh.js → location-lifecycle-2w9khnp1.js} +13 -13
  40. package/dist/chunks/{file-retention-xkzzg3p1.js → location-lifecycle-306r0xtt.js} +15 -15
  41. package/dist/chunks/{file-retention-bbr0ecrm.js → location-lifecycle-332s0etf.js} +11 -11
  42. package/dist/chunks/{file-retention-mfqp6xfm.js → location-lifecycle-33w4ejhs.js} +9 -9
  43. package/dist/chunks/{file-retention-mrkjr00d.js → location-lifecycle-350m4c2t.js} +26 -26
  44. package/dist/chunks/{file-retention-e9zqkyac.js → location-lifecycle-372gw5e0.js} +12 -12
  45. package/dist/chunks/{file-retention-sc7mjsx7.js → location-lifecycle-37vsdqvp.js} +24 -24
  46. package/dist/chunks/{file-retention-mp0x0ve6.js → location-lifecycle-38162gw5.js} +13 -13
  47. package/dist/chunks/{file-retention-h63arcwz.js → location-lifecycle-3aqrkape.js} +38 -38
  48. package/dist/chunks/{file-retention-3bc8czyk.js → location-lifecycle-3bc8czyk.js} +2 -2
  49. package/dist/chunks/{file-retention-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
  50. package/dist/chunks/{file-retention-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{file-retention-v6gb7zv2.js → location-lifecycle-3ppptnan.js} +6 -6
  52. package/dist/chunks/{file-retention-7sk5kyxr.js → location-lifecycle-3r61ngk9.js} +16 -16
  53. package/dist/chunks/{file-retention-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
  54. package/dist/chunks/{file-retention-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
  55. package/dist/chunks/{file-retention-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
  56. package/dist/chunks/{file-retention-31hetm60.js → location-lifecycle-45zdvm0r.js} +4 -4
  57. package/dist/chunks/{file-retention-hvb7b1k8.js → location-lifecycle-48bssgwe.js} +11 -11
  58. package/dist/chunks/{file-retention-7h93y3jd.js → location-lifecycle-4gm3tq08.js} +16 -16
  59. package/dist/chunks/location-lifecycle-4v7qdvcn.js +18 -0
  60. package/dist/chunks/{file-retention-b7vm23fg.js → location-lifecycle-4xm8kk2n.js} +28 -28
  61. package/dist/chunks/{file-retention-y8x91hrb.js → location-lifecycle-4y5qxd6p.js} +3 -3
  62. package/dist/chunks/{file-retention-yrxt8wb8.js → location-lifecycle-531map3w.js} +67 -67
  63. package/dist/chunks/{file-retention-j67eyxhk.js → location-lifecycle-56mhcpbk.js} +34 -34
  64. package/dist/chunks/{file-retention-57ez7d0k.js → location-lifecycle-57ez7d0k.js} +2 -2
  65. package/dist/chunks/{file-retention-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
  66. package/dist/chunks/{file-retention-6xw3seg4.js → location-lifecycle-5e15319b.js} +5 -5
  67. package/dist/chunks/{file-retention-5ekn9679.js → location-lifecycle-5ekn9679.js} +1 -1
  68. package/dist/chunks/{file-retention-rgkm1ghw.js → location-lifecycle-5jhvhkxb.js} +8 -8
  69. package/dist/chunks/{file-retention-k2egtdaq.js → location-lifecycle-5nc5w3be.js} +9 -9
  70. package/dist/chunks/{file-retention-q9xx8pp8.js → location-lifecycle-5paxxmhy.js} +22 -22
  71. package/dist/chunks/{file-retention-mjm950tt.js → location-lifecycle-5syd9exq.js} +37 -37
  72. package/dist/chunks/{file-retention-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{file-retention-669tq793.js → location-lifecycle-669tq793.js} +1 -1
  74. package/dist/chunks/{file-retention-y56ehv6b.js → location-lifecycle-6fatt4mk.js} +9 -9
  75. package/dist/chunks/{file-retention-5carfvj1.js → location-lifecycle-6jxte08d.js} +2 -2
  76. package/dist/chunks/{file-retention-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{file-retention-6pc27hjz.js → location-lifecycle-6pc27hjz.js} +2 -2
  78. package/dist/chunks/{file-retention-60kb57hy.js → location-lifecycle-6phrjhr6.js} +23 -23
  79. package/dist/chunks/{file-retention-sw1mxqw6.js → location-lifecycle-6xcwnmh5.js} +8 -8
  80. package/dist/chunks/{file-retention-t5ymyahf.js → location-lifecycle-6z9mwsmt.js} +24 -24
  81. package/dist/chunks/{file-retention-2daz2v6c.js → location-lifecycle-71k1amkv.js} +36 -36
  82. package/dist/chunks/{file-retention-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{file-retention-qgn6gcr1.js → location-lifecycle-7dqw4kz8.js} +5 -5
  84. package/dist/chunks/{file-retention-tnyz8ww6.js → location-lifecycle-7gcp8pkf.js} +6 -6
  85. package/dist/chunks/{file-retention-sfn2jqx5.js → location-lifecycle-7k4trpze.js} +29 -29
  86. package/dist/chunks/{file-retention-ew6xy3kj.js → location-lifecycle-7zgec7h4.js} +13 -13
  87. package/dist/chunks/{file-retention-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{file-retention-2vqpzfka.js → location-lifecycle-8tyewwk1.js} +31 -31
  89. package/dist/chunks/{file-retention-w5bfhdvm.js → location-lifecycle-8x37xyr8.js} +8 -8
  90. package/dist/chunks/{file-retention-vjgtykma.js → location-lifecycle-92e055yb.js} +13 -13
  91. package/dist/chunks/{file-retention-9xsfwcg4.js → location-lifecycle-93eat1mg.js} +35 -35
  92. package/dist/chunks/{file-retention-94ek1h2f.js → location-lifecycle-94ek1h2f.js} +2 -2
  93. package/dist/chunks/{file-retention-hv1rr3m3.js → location-lifecycle-99bg3790.js} +9 -9
  94. package/dist/chunks/{file-retention-vtxr0yy2.js → location-lifecycle-9cyfspf3.js} +5 -5
  95. package/dist/chunks/{file-retention-6477640v.js → location-lifecycle-9ep9adm8.js} +3 -3
  96. package/dist/chunks/{file-retention-4v7r6s0x.js → location-lifecycle-9m67a2xh.js} +32 -32
  97. package/dist/chunks/{file-retention-kwagda8j.js → location-lifecycle-9mjazamh.js} +10 -10
  98. package/dist/chunks/{file-retention-8rse1bz0.js → location-lifecycle-9ry0r7nj.js} +23 -23
  99. package/dist/chunks/{file-retention-bv6943e1.js → location-lifecycle-9tpqnd1t.js} +1 -1
  100. package/dist/chunks/{file-retention-8gsbz1zp.js → location-lifecycle-9wc7tdkr.js} +18 -18
  101. package/dist/chunks/{file-retention-krmp0vwn.js → location-lifecycle-a0nn69n9.js} +13 -13
  102. package/dist/chunks/{file-retention-h38jpad5.js → location-lifecycle-a2a6ph37.js} +13 -13
  103. package/dist/chunks/{file-retention-ratrq7cm.js → location-lifecycle-a2ew8a62.js} +4 -4
  104. package/dist/chunks/{file-retention-t2f6sps2.js → location-lifecycle-a6rtn05v.js} +28 -28
  105. package/dist/chunks/{file-retention-a28va38p.js → location-lifecycle-aaet6srn.js} +8 -8
  106. package/dist/chunks/{file-retention-ypvayta9.js → location-lifecycle-ackbfy2k.js} +5 -5
  107. package/dist/chunks/{file-retention-9kbs75gn.js → location-lifecycle-af06prj0.js} +25 -25
  108. package/dist/chunks/{file-retention-t0fxg8b9.js → location-lifecycle-ag9w8cw1.js} +5 -5
  109. package/dist/chunks/{file-retention-6a3zafpc.js → location-lifecycle-ah1gfr63.js} +8 -8
  110. package/dist/chunks/{file-retention-f96ctyse.js → location-lifecycle-ak22egzq.js} +6 -6
  111. package/dist/chunks/{file-retention-ewkprqrz.js → location-lifecycle-an22treg.js} +16 -16
  112. package/dist/chunks/{file-retention-jcmwmbwz.js → location-lifecycle-ax5pekk8.js} +1 -1
  113. package/dist/chunks/{file-retention-11gyv0qx.js → location-lifecycle-b5zdkcxk.js} +11 -11
  114. package/dist/chunks/{file-retention-3hwn7j4h.js → location-lifecycle-b6gygkdw.js} +5 -5
  115. package/dist/chunks/{file-retention-cybbce78.js → location-lifecycle-b7xn4ebh.js} +17 -17
  116. package/dist/chunks/{file-retention-2j7wsrwg.js → location-lifecycle-bpcnfm2r.js} +10 -10
  117. package/dist/chunks/{file-retention-4xzzvc1x.js → location-lifecycle-bqyb16m0.js} +16 -16
  118. package/dist/chunks/{file-retention-v9vsdr5e.js → location-lifecycle-bv91g476.js} +49 -49
  119. package/dist/chunks/{file-retention-ssh52gjb.js → location-lifecycle-bya39qz1.js} +7 -7
  120. package/dist/chunks/{file-retention-ma37n9mc.js → location-lifecycle-c1ctkbd0.js} +3 -3
  121. package/dist/chunks/{file-retention-cqdgmx8n.js → location-lifecycle-c42w4v4x.js} +23 -23
  122. package/dist/chunks/{file-retention-msnvgge2.js → location-lifecycle-cam1ayvb.js} +11 -11
  123. package/dist/chunks/{file-retention-g9kevcwd.js → location-lifecycle-cd9s2exm.js} +10 -10
  124. package/dist/chunks/{file-retention-ckecvw8r.js → location-lifecycle-ckecvw8r.js} +2 -2
  125. package/dist/chunks/{file-retention-p6j5c0dx.js → location-lifecycle-cmzswfdp.js} +26 -26
  126. package/dist/chunks/{file-retention-fqmzt9nn.js → location-lifecycle-cr14m58m.js} +22 -22
  127. package/dist/chunks/{file-retention-m16z5xgj.js → location-lifecycle-crn2xksg.js} +1 -1
  128. package/dist/chunks/{file-retention-g6q9qykm.js → location-lifecycle-cwa6csj7.js} +9 -9
  129. package/dist/chunks/{file-retention-e6hmchc5.js → location-lifecycle-d1khqved.js} +5 -5
  130. package/dist/chunks/{file-retention-xk5yp3rz.js → location-lifecycle-d8mt368w.js} +29 -29
  131. package/dist/chunks/{file-retention-k53npxr2.js → location-lifecycle-dagkn99r.js} +1 -1
  132. package/dist/chunks/{file-retention-n2srvep7.js → location-lifecycle-dbb8vp5z.js} +4 -4
  133. package/dist/chunks/{file-retention-98dhkg4b.js → location-lifecycle-dcvbrmh9.js} +19 -19
  134. package/dist/chunks/{file-retention-rp4daw2c.js → location-lifecycle-drtbjaez.js} +92 -92
  135. package/dist/chunks/{file-retention-drwq78ky.js → location-lifecycle-drwq78ky.js} +1 -1
  136. package/dist/chunks/{file-retention-tpw6cwsb.js → location-lifecycle-dv1qgsyq.js} +8 -8
  137. package/dist/chunks/{file-retention-hya5ekxn.js → location-lifecycle-dx1am6a9.js} +1 -1
  138. package/dist/chunks/{file-retention-136ah40c.js → location-lifecycle-dyjhz6jk.js} +11 -11
  139. package/dist/chunks/{file-retention-76j44xz4.js → location-lifecycle-e0rwsjxg.js} +32 -32
  140. package/dist/chunks/{file-retention-4ptehb38.js → location-lifecycle-e160f7zq.js} +15 -15
  141. package/dist/chunks/{file-retention-6jq4c9x7.js → location-lifecycle-e3fdxhn1.js} +13 -13
  142. package/dist/chunks/{file-retention-5qd3pb7m.js → location-lifecycle-e3qxr5gk.js} +2 -2
  143. package/dist/chunks/{file-retention-739g7xpm.js → location-lifecycle-e3t1k4fp.js} +147 -147
  144. package/dist/chunks/{file-retention-4e3kc42d.js → location-lifecycle-ebxse63s.js} +15 -15
  145. package/dist/chunks/{file-retention-v155ndty.js → location-lifecycle-ecqqbvyr.js} +9 -9
  146. package/dist/chunks/{file-retention-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{file-retention-s76c0ttp.js → location-lifecycle-ehq2dyc1.js} +20 -20
  148. package/dist/chunks/{file-retention-pc4b88sv.js → location-lifecycle-em3h5ktn.js} +4 -4
  149. package/dist/chunks/{file-retention-ezwgvxy6.js → location-lifecycle-eqhwn6nh.js} +27 -27
  150. package/dist/chunks/{file-retention-ws1m066q.js → location-lifecycle-eqnkvkjj.js} +15 -15
  151. package/dist/chunks/{file-retention-tyd90661.js → location-lifecycle-er667zkn.js} +4 -4
  152. package/dist/chunks/{file-retention-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
  153. package/dist/chunks/{file-retention-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
  154. package/dist/chunks/{file-retention-9q2dq694.js → location-lifecycle-evjk3azk.js} +9 -9
  155. package/dist/chunks/{file-retention-m3ebeh4f.js → location-lifecycle-f1afsy8x.js} +5 -5
  156. package/dist/chunks/{file-retention-r8xr0va3.js → location-lifecycle-f2n192rq.js} +4 -4
  157. package/dist/chunks/{file-retention-wxffcvth.js → location-lifecycle-f38mbwqt.js} +7 -7
  158. package/dist/chunks/{file-retention-ky3seynh.js → location-lifecycle-f38wsw69.js} +2 -2
  159. package/dist/chunks/{file-retention-tp2f02fq.js → location-lifecycle-fbhyvh8e.js} +16 -16
  160. package/dist/chunks/{file-retention-repb58am.js → location-lifecycle-frz8dvr7.js} +8 -8
  161. package/dist/chunks/{file-retention-hvgp7k47.js → location-lifecycle-fzdjqjqe.js} +20 -20
  162. package/dist/chunks/{file-retention-7ma666fp.js → location-lifecycle-g4exfbqr.js} +4 -4
  163. package/dist/chunks/{file-retention-3917zmsm.js → location-lifecycle-ga400k24.js} +12 -12
  164. package/dist/chunks/{file-retention-tn0keqwc.js → location-lifecycle-gd0x7v4t.js} +6 -6
  165. package/dist/chunks/{file-retention-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
  166. package/dist/chunks/{file-retention-ksp53khy.js → location-lifecycle-gkq5dawr.js} +30 -30
  167. package/dist/chunks/{file-retention-sn2197kq.js → location-lifecycle-gr6sb7t2.js} +28 -28
  168. package/dist/chunks/{file-retention-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
  169. package/dist/chunks/{file-retention-1fq49j2d.js → location-lifecycle-gwyzdwgr.js} +18 -18
  170. package/dist/chunks/{file-retention-kkr60pt3.js → location-lifecycle-h04fec9s.js} +6 -6
  171. package/dist/chunks/{file-retention-4dgbcxzg.js → location-lifecycle-h6r3nrb9.js} +4 -4
  172. package/dist/chunks/{file-retention-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
  173. package/dist/chunks/{file-retention-css2w393.js → location-lifecycle-ha1n41tc.js} +10 -10
  174. package/dist/chunks/{file-retention-p10hfn84.js → location-lifecycle-hb8hngfc.js} +14 -14
  175. package/dist/chunks/{file-retention-r4m6sj2t.js → location-lifecycle-hgsf16v0.js} +46 -46
  176. package/dist/chunks/{file-retention-tq0ny4gr.js → location-lifecycle-hw583fet.js} +14 -14
  177. package/dist/chunks/{file-retention-k1qrnqst.js → location-lifecycle-hz0q9sdq.js} +8 -8
  178. package/dist/chunks/{file-retention-ttt144n2.js → location-lifecycle-j0hvv6pf.js} +17 -17
  179. package/dist/chunks/{file-retention-h27jqpzg.js → location-lifecycle-j41zh890.js} +27 -27
  180. package/dist/chunks/{file-retention-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
  181. package/dist/chunks/{file-retention-gx3bsgbr.js → location-lifecycle-jaay1cxn.js} +26 -26
  182. package/dist/chunks/{file-retention-7aqpe3z3.js → location-lifecycle-je42r6cz.js} +24 -24
  183. package/dist/chunks/{file-retention-053cybx6.js → location-lifecycle-jrh1janw.js} +10 -10
  184. package/dist/chunks/{file-retention-k3c624dm.js → location-lifecycle-k3c624dm.js} +3 -3
  185. package/dist/chunks/{file-retention-8rvbch5b.js → location-lifecycle-k6fxasg6.js} +7 -7
  186. package/dist/chunks/{file-retention-h0n36h3s.js → location-lifecycle-k9kced9z.js} +1 -1
  187. package/dist/chunks/{file-retention-wa8jxbkg.js → location-lifecycle-ka5skxx4.js} +32 -32
  188. package/dist/chunks/location-lifecycle-kkn4g2ed.js +507 -0
  189. package/dist/chunks/{file-retention-1agwz8aa.js → location-lifecycle-kp06gxjd.js} +43 -43
  190. package/dist/chunks/{file-retention-rjkx1558.js → location-lifecycle-kv1wsvct.js} +48 -48
  191. package/dist/chunks/{file-retention-ma0e9v7m.js → location-lifecycle-kwcx68me.js} +39 -39
  192. package/dist/chunks/{file-retention-amcfr32s.js → location-lifecycle-kx8hngxs.js} +6 -6
  193. package/dist/chunks/{file-retention-nq7qbqzc.js → location-lifecycle-m2d0j7c0.js} +9 -9
  194. package/dist/chunks/{file-retention-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
  195. package/dist/chunks/{file-retention-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{file-retention-vrssy5kh.js → location-lifecycle-mg9my19h.js} +21 -21
  197. package/dist/chunks/{file-retention-kmssrs7f.js → location-lifecycle-mhjfzxr8.js} +4 -4
  198. package/dist/chunks/{file-retention-mhkvc446.js → location-lifecycle-mhkvc446.js} +1 -1
  199. package/dist/chunks/{file-retention-yk950sz5.js → location-lifecycle-mjqqjndj.js} +19 -19
  200. package/dist/chunks/{file-retention-x7c67s47.js → location-lifecycle-mrsgn7my.js} +5 -5
  201. package/dist/chunks/{file-retention-5xpznt2d.js → location-lifecycle-mvksx64m.js} +4 -4
  202. package/dist/chunks/{file-retention-vtg6dttc.js → location-lifecycle-nb8z3sb6.js} +14 -14
  203. package/dist/chunks/{file-retention-9dz39q6x.js → location-lifecycle-nbwd0k52.js} +14 -14
  204. package/dist/chunks/{file-retention-awaee7qt.js → location-lifecycle-nca7p386.js} +6 -6
  205. package/dist/chunks/location-lifecycle-ndes8vtz.js +26 -0
  206. package/dist/chunks/{file-retention-fc8s73xt.js → location-lifecycle-nmnv9rqk.js} +22 -22
  207. package/dist/chunks/{file-retention-az5wxh9j.js → location-lifecycle-np185wnj.js} +11 -11
  208. package/dist/chunks/{file-retention-28tx5a5b.js → location-lifecycle-nt2h4hjy.js} +24 -24
  209. package/dist/chunks/{file-retention-mvr5bn4j.js → location-lifecycle-nx2q6m6a.js} +12 -12
  210. package/dist/chunks/{file-retention-4qrxzr33.js → location-lifecycle-p0s3dwrr.js} +23 -23
  211. package/dist/chunks/{file-retention-vp54qpx1.js → location-lifecycle-p1x0rczn.js} +22 -22
  212. package/dist/chunks/{file-retention-aj2111eg.js → location-lifecycle-pg8ttqrz.js} +41 -41
  213. package/dist/chunks/{file-retention-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{file-retention-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  215. package/dist/chunks/{file-retention-r4aa4m0k.js → location-lifecycle-pxnzp80q.js} +4 -4
  216. package/dist/chunks/{file-retention-gzjk9fnj.js → location-lifecycle-q03mkthp.js} +29 -29
  217. package/dist/chunks/{file-retention-pmsv8f6n.js → location-lifecycle-q4g1c5bp.js} +2 -2
  218. package/dist/chunks/{file-retention-gv7n655z.js → location-lifecycle-qarqz51c.js} +17 -17
  219. package/dist/chunks/{file-retention-4w5f3qm5.js → location-lifecycle-qby9dwvd.js} +8 -8
  220. package/dist/chunks/{file-retention-2nxpygkr.js → location-lifecycle-qdt77h2n.js} +10 -10
  221. package/dist/chunks/{file-retention-kf2ta3ye.js → location-lifecycle-qk40f6qf.js} +23 -23
  222. package/dist/chunks/{file-retention-t9zs3egg.js → location-lifecycle-qq11w61w.js} +4 -4
  223. package/dist/chunks/{file-retention-bwz5vyq0.js → location-lifecycle-qs1cbs9d.js} +13 -13
  224. package/dist/chunks/{file-retention-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
  225. package/dist/chunks/{file-retention-7g57k9pp.js → location-lifecycle-qsg4qf1b.js} +19 -19
  226. package/dist/chunks/{file-retention-rnzy20mt.js → location-lifecycle-r8pe3876.js} +15 -15
  227. package/dist/chunks/{file-retention-gyc1mqyt.js → location-lifecycle-rcgrsjm5.js} +3 -3
  228. package/dist/chunks/{file-retention-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{file-retention-s8d7rejh.js → location-lifecycle-rhjbct0v.js} +4 -4
  230. package/dist/chunks/{file-retention-013zbbfs.js → location-lifecycle-rj5nneh7.js} +7 -7
  231. package/dist/chunks/{file-retention-rty2yphq.js → location-lifecycle-rm0ybym0.js} +43 -43
  232. package/dist/chunks/{file-retention-sx1yqcbh.js → location-lifecycle-rvwa2653.js} +30 -30
  233. package/dist/chunks/{file-retention-yvvvp4gn.js → location-lifecycle-rzs3gq0x.js} +8 -8
  234. package/dist/chunks/{file-retention-7e2yy7bx.js → location-lifecycle-s0hza5ac.js} +4 -4
  235. package/dist/chunks/{file-retention-yrznvahk.js → location-lifecycle-s4enseaf.js} +2 -2
  236. package/dist/chunks/{file-retention-awnng6aw.js → location-lifecycle-s5jqsqh4.js} +3 -3
  237. package/dist/chunks/{file-retention-jw80jp6b.js → location-lifecycle-s8j6jbjj.js} +21 -21
  238. package/dist/chunks/{file-retention-sgwh5nyn.js → location-lifecycle-s942n1t7.js} +8 -8
  239. package/dist/chunks/{file-retention-8hddrz6y.js → location-lifecycle-sad129aw.js} +6 -6
  240. package/dist/chunks/{file-retention-brcqjxp1.js → location-lifecycle-sb3nsf3d.js} +15 -15
  241. package/dist/chunks/{file-retention-4b052jb4.js → location-lifecycle-sygkwpza.js} +18 -18
  242. package/dist/chunks/{file-retention-hfb3twc5.js → location-lifecycle-t6rsh1v1.js} +35 -35
  243. package/dist/chunks/{file-retention-k75f346z.js → location-lifecycle-t80y27b5.js} +7 -7
  244. package/dist/chunks/{file-retention-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{file-retention-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
  246. package/dist/chunks/{file-retention-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
  247. package/dist/chunks/{file-retention-qq9k8xwf.js → location-lifecycle-te4zy289.js} +49 -49
  248. package/dist/chunks/{file-retention-7exmdcvp.js → location-lifecycle-tfkjwah6.js} +14 -14
  249. package/dist/chunks/{file-retention-wt002vfw.js → location-lifecycle-ths5nwb1.js} +10 -10
  250. package/dist/chunks/{file-retention-gar1kgy6.js → location-lifecycle-trzcm3tj.js} +23 -23
  251. package/dist/chunks/{file-retention-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
  252. package/dist/chunks/{file-retention-j31v3zf1.js → location-lifecycle-tyq5db9e.js} +16 -16
  253. package/dist/chunks/{file-retention-kyngf2ah.js → location-lifecycle-v04nak97.js} +6 -6
  254. package/dist/chunks/{file-retention-gajvcqmf.js → location-lifecycle-v11xek3k.js} +24 -24
  255. package/dist/chunks/{file-retention-azms3gmy.js → location-lifecycle-v1g2mdy6.js} +30 -30
  256. package/dist/chunks/{file-retention-b8hpyb2b.js → location-lifecycle-v5d989bc.js} +13 -13
  257. package/dist/chunks/{file-retention-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  258. package/dist/chunks/{file-retention-savsd166.js → location-lifecycle-vkbv809h.js} +57 -57
  259. package/dist/chunks/{file-retention-29yjzs39.js → location-lifecycle-vnfc2q6g.js} +32 -32
  260. package/dist/chunks/{file-retention-zfjgpsdd.js → location-lifecycle-vpwfjnrg.js} +24 -24
  261. package/dist/chunks/{file-retention-scw2ekxw.js → location-lifecycle-vv97ra8n.js} +11 -11
  262. package/dist/chunks/location-lifecycle-vyykgm21.js +252 -0
  263. package/dist/chunks/{file-retention-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
  264. package/dist/chunks/{file-retention-g58k0yz2.js → location-lifecycle-w1ahv8v5.js} +15 -15
  265. package/dist/chunks/{file-retention-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  266. package/dist/chunks/{file-retention-g07zt90z.js → location-lifecycle-w73bfpmg.js} +32 -32
  267. package/dist/chunks/{file-retention-wd3x2cqz.js → location-lifecycle-wd3x2cqz.js} +2 -2
  268. package/dist/chunks/{file-retention-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  269. package/dist/chunks/{file-retention-s9h1avrm.js → location-lifecycle-wg5yspwt.js} +21 -21
  270. package/dist/chunks/{file-retention-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{file-retention-rg4p5e11.js → location-lifecycle-xvbd2t9n.js} +43 -43
  272. package/dist/chunks/{file-retention-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{file-retention-gjy9kcm5.js → location-lifecycle-y2e1z292.js} +11 -11
  274. package/dist/chunks/{file-retention-68y7phbn.js → location-lifecycle-y5df08dr.js} +12 -12
  275. package/dist/chunks/{file-retention-dpkg50ah.js → location-lifecycle-y71avatq.js} +4 -4
  276. package/dist/chunks/{file-retention-h6kzzfz4.js → location-lifecycle-ybqc9gtf.js} +2 -2
  277. package/dist/chunks/{file-retention-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{file-retention-cr07tj7n.js → location-lifecycle-yt0fqk68.js} +5 -5
  279. package/dist/chunks/{file-retention-z07pqspn.js → location-lifecycle-z07pqspn.js} +3 -3
  280. package/dist/chunks/{file-retention-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{file-retention-y0mc46pw.js → location-lifecycle-z3nay82g.js} +9 -9
  282. package/dist/chunks/{file-retention-691kgrwj.js → location-lifecycle-z3vw9vry.js} +9 -9
  283. package/dist/chunks/{file-retention-vtbecytz.js → location-lifecycle-z9kjrvxh.js} +11 -11
  284. package/dist/chunks/{file-retention-sh5cyp0z.js → location-lifecycle-zbh9kwq1.js} +26 -26
  285. package/dist/chunks/{file-retention-3p2dz6q4.js → location-lifecycle-zcsvy2cz.js} +12 -12
  286. package/dist/chunks/{file-retention-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-retention-0vdkq15g.js → location-lifecycle-zfkp2819.js} +1 -1
  288. package/dist/chunks/{file-retention-rqdsjm6x.js → location-lifecycle-zn78egd2.js} +32 -32
  289. package/dist/chunks/{file-retention-zm2y9yb3.js → location-lifecycle-zpzacb1g.js} +7 -7
  290. package/dist/chunks/{file-retention-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{file-retention-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{file-retention-4kr5mqj0.js → location-lifecycle-zypmjmgb.js} +27 -27
  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 +83 -83
  298. package/dist/config/discovery.js +82 -82
  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 +214 -214
  303. package/dist/config/plugin/compaction.js +162 -162
  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 +125 -125
  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 +125 -125
  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 +124 -124
  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 +81 -81
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +79 -79
  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 +3 -3
  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 +3 -3
  411. package/dist/environment/index.js +97 -97
  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 +74 -74
  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/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +97 -97
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +98 -98
  433. package/dist/form.js +80 -80
  434. package/dist/formatter/builtins.js +2 -2
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +362 -362
  462. package/dist/instruction-discovery.js +81 -81
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +78 -78
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +359 -359
  475. package/dist/location.js +85 -85
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +126 -126
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +91 -91
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +82 -82
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +111 -111
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +84 -84
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +104 -104
  497. package/dist/plugin/command.js +101 -101
  498. package/dist/plugin/compaction.js +133 -133
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +333 -333
  504. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +91 -91
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +120 -120
  530. package/dist/plugin/provider/openai.js +92 -92
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +120 -120
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +139 -139
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +350 -350
  550. package/dist/plugin/tool-input-repair.js +2 -2
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +6 -6
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +6 -6
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +84 -84
  566. package/dist/provider.js +91 -91
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +3 -3
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +96 -96
  571. package/dist/reference/instructions.js +87 -87
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -97
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +134 -134
  581. package/dist/session/context.js +152 -152
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +151 -151
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +90 -90
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +229 -229
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +210 -210
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +150 -150
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +223 -223
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +214 -214
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +127 -127
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +122 -122
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +215 -215
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +82 -82
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +7 -7
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +82 -82
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/file-retention-1x11rq2a.js +0 -18
  702. package/dist/chunks/file-retention-4egeceed.js +0 -507
  703. package/dist/chunks/file-retention-6kdq0pjd.js +0 -4
  704. package/dist/chunks/file-retention-fes7pmbs.js +0 -252
  705. package/dist/chunks/file-retention-s958vy2b.js +0 -26
  706. /package/dist/chunks/{file-retention-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{file-retention-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{file-retention-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{file-retention-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{file-retention-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{file-retention-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{file-retention-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{file-retention-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{file-retention-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{file-retention-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{file-retention-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{file-retention-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  718. /package/dist/chunks/{file-retention-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{file-retention-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{file-retention-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{file-retention-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{file-retention-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{file-retention-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{file-retention-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{file-retention-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  726. /package/dist/chunks/{file-retention-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{file-retention-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  728. /package/dist/chunks/{file-retention-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{file-retention-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{file-retention-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  731. /package/dist/chunks/{file-retention-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{file-retention-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{file-retention-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{file-retention-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
  735. /package/dist/chunks/{file-retention-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{file-retention-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{file-retention-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{file-retention-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{file-retention-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{file-retention-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{file-retention-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{file-retention-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{file-retention-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{file-retention-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{file-retention-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{file-retention-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{file-retention-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{file-retention-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{file-retention-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{file-retention-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  751. /package/dist/chunks/{file-retention-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{file-retention-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{file-retention-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{file-retention-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{file-retention-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{file-retention-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{file-retention-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{file-retention-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{file-retention-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{file-retention-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{file-retention-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{file-retention-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{file-retention-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  764. /package/dist/chunks/{file-retention-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{file-retention-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  766. /package/dist/chunks/{file-retention-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{file-retention-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  768. /package/dist/chunks/{file-retention-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{file-retention-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{file-retention-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{file-retention-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{file-retention-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{file-retention-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{file-retention-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{file-retention-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{file-retention-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{file-retention-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{file-retention-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{file-retention-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{file-retention-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{file-retention-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{file-retention-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{file-retention-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{file-retention-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{file-retention-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{file-retention-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{file-retention-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{file-retention-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{file-retention-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{file-retention-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{file-retention-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{file-retention-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{file-retention-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{file-retention-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{file-retention-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  796. /package/dist/chunks/{file-retention-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{file-retention-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{file-retention-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{file-retention-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{file-retention-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{file-retention-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-retention-gftt206x.js";
3
+ } from "./location-lifecycle-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./location-lifecycle-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update2
12
+ update: () => update3
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update2(adapter, event) {
24
+ function update3(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -402,4 +402,4 @@ function update2(adapter, event) {
402
402
  return project(event);
403
403
  }
404
404
 
405
- export { update2, exports_message_updater };
405
+ export { update3, exports_message_updater };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID13
3
- } from "./file-retention-gv7n655z.js";
3
+ } from "./location-lifecycle-qarqz51c.js";
4
4
  import {
5
5
  iife2
6
- } from "./file-retention-1kg9ymc8.js";
6
+ } from "./location-lifecycle-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./file-retention-31hetm60.js";
9
+ } from "./location-lifecycle-45zdvm0r.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
@@ -1,65 +1,65 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./file-retention-hvb7b1k8.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./file-retention-7sk5kyxr.js";
4
+ } from "./location-lifecycle-48bssgwe.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./location-lifecycle-3r61ngk9.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./file-retention-5t3nmthw.js";
11
+ } from "./location-lifecycle-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./file-retention-ec1grn59.js";
14
+ } from "./location-lifecycle-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./file-retention-dg2cj1yd.js";
20
+ } from "./location-lifecycle-18s9r5gn.js";
21
21
  import {
22
- load5
23
- } from "./file-retention-tfg9eqy2.js";
22
+ load4
23
+ } from "./location-lifecycle-09ww3nkz.js";
24
24
  import {
25
25
  create3
26
- } from "./file-retention-rdw6cm16.js";
26
+ } from "./location-lifecycle-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./file-retention-k53npxr2.js";
29
+ } from "./location-lifecycle-dagkn99r.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./file-retention-cy9y9za1.js";
34
+ } from "./location-lifecycle-1zcq3fa7.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./file-retention-b971s22s.js";
37
+ } from "./location-lifecycle-0z3tr3b5.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./file-retention-kkr60pt3.js";
41
+ } from "./location-lifecycle-h04fec9s.js";
42
42
  import {
43
43
  estimate2
44
- } from "./file-retention-h6vf3j39.js";
44
+ } from "./location-lifecycle-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./file-retention-tdstcens.js";
49
+ } from "./location-lifecycle-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./file-retention-9rqn6x4v.js";
52
+ } from "./location-lifecycle-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction3 = {};
56
56
  __export(exports_compaction3, {
57
- Service: () => Service8,
57
+ Service: () => Service10,
58
58
  SessionCompaction: () => exports_compaction3,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
- layer: () => layer6,
62
- node: () => node10,
61
+ layer: () => layer7,
62
+ node: () => node12,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,10 +298,10 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer6 = Layer.effect(Service8, Effect.gen(function* () {
302
- const bus = yield* Service83;
301
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
302
+ const bus = yield* Service82;
303
303
  const llm = yield* LLMClient.Service;
304
- const db = (yield* Service84).db;
304
+ const db = (yield* Service83).db;
305
305
  const state = create3({
306
306
  name: "session-compaction",
307
307
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS, native: [] }),
@@ -377,7 +377,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
377
377
  webSocket
378
378
  });
379
379
  };
380
- const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
380
+ const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
381
381
  const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
382
382
  const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
383
383
  const context = input.context;
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
606
606
  }
607
607
  }));
608
608
  });
609
- return Service8.of({
609
+ return Service10.of({
610
610
  transform: state.transform,
611
611
  reload: state.reload,
612
612
  enabled: () => state.get().auto,
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
615
615
  compactManual
616
616
  });
617
617
  }));
618
- var node10 = makeLocationNode({
619
- service: Service8,
620
- layer: layer6,
621
- deps: [node87, node88, llmClient2]
618
+ var node12 = makeLocationNode({
619
+ service: Service10,
620
+ layer: layer7,
621
+ deps: [node86, node87, llmClient2]
622
622
  });
623
623
 
624
- export { Service8, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node10, exports_compaction3 };
624
+ export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node12, exports_compaction3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID8,
2
+ ID12,
3
3
  Family2
4
- } from "./file-retention-gx3bsgbr.js";
4
+ } from "./location-lifecycle-jaay1cxn.js";
5
5
  import {
6
- Service44
7
- } from "./file-retention-m5xa4xm2.js";
6
+ Service70
7
+ } from "./location-lifecycle-1hb2dmf7.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./file-retention-31hetm60.js";
10
+ } from "./location-lifecycle-45zdvm0r.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service44;
39
+ const config = yield* Service70;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  providers.models.update(providerID, item.key, (model) => {
66
- model.modelID = ID8.make(item.key);
66
+ model.modelID = ID12.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make4();
128
+ var LMStudioPlugin2 = make7();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make4, LMStudioPlugin2 };
145
+ export { make7, LMStudioPlugin2 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service69
3
- } from "./file-retention-nwzjzhhc.js";
2
+ Service63
3
+ } from "./location-lifecycle-0httgp45.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./file-retention-4vcrnpx2.js";
7
+ } from "./location-lifecycle-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./file-retention-3v8g72cx.js";
10
+ } from "./location-lifecycle-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./location-lifecycle-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input7,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input12,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin43,
22
+ Plugin: () => Plugin14,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name7
27
+ name: () => name12
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name7 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name12 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input7 = Schema.Struct({
41
+ var Input12 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input7 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input7.fields.format,
51
+ format: Input12.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin43 = {
95
+ var Plugin14 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service69;
99
+ const permission = yield* Service63;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name7,
101
+ name: name12,
102
102
  options: { codemode: false },
103
- description: description3,
104
- input: Input7,
103
+ description: description5,
104
+ input: Input12,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin43 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name7,
112
+ action: name12,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input7, Plugin43, extractTextFromHTML2, exports_webfetch };
170
+ export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin14, extractTextFromHTML2, exports_webfetch };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./file-retention-pmsv8f6n.js";
5
+ } from "./location-lifecycle-q4g1c5bp.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./file-retention-hvb7b1k8.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-lifecycle-48bssgwe.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  combine2
10
- } from "./file-retention-s8d7rejh.js";
10
+ } from "./location-lifecycle-rhjbct0v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./file-retention-z07pqspn.js";
13
+ } from "./location-lifecycle-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./location-lifecycle-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info3,
21
+ Info: () => Info4,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service22,
25
+ Service: () => Service28,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node26,
29
+ node: () => node32,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info3 = InstructionEntry.Info;
37
+ var Info4 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service22 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service28 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
64
+ var source = (entry) => make20({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,8 +75,8 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service22, Effect.gen(function* () {
79
- const { db } = yield* Service84;
78
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
79
+ const { db } = yield* Service83;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service22.of({ list, put, remove, load });
111
+ return Service28.of({ list, put, remove, load });
112
112
  }));
113
- var node26 = makeLocationNode({ service: Service22, layer, deps: [node88] });
113
+ var node32 = makeLocationNode({ service: Service28, layer, deps: [node87] });
114
114
 
115
- export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service22, node26, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node32, exports_instruction_entry };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-tv6fr57g.js";
3
+ } from "./location-lifecycle-12y94dz0.js";
4
4
  import {
5
- Service83
6
- } from "./file-retention-7sk5kyxr.js";
5
+ Service82
6
+ } from "./location-lifecycle-3r61ngk9.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./file-retention-xk5yp3rz.js";
9
+ Event19
10
+ } from "./location-lifecycle-d8mt368w.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./file-retention-j31v3zf1.js";
14
+ } from "./location-lifecycle-tyq5db9e.js";
15
15
  import {
16
16
  ID13
17
- } from "./file-retention-gv7n655z.js";
17
+ } from "./location-lifecycle-qarqz51c.js";
18
18
  import {
19
- ID8,
19
+ ID12,
20
20
  Family2
21
- } from "./file-retention-gx3bsgbr.js";
21
+ } from "./location-lifecycle-jaay1cxn.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./file-retention-pjvnvgmy.js";
24
+ } from "./location-lifecycle-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service83;
119
+ const bus = yield* Service82;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID8.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID12.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service66,
9
- node70
10
- } from "./file-retention-sfn2jqx5.js";
8
+ Service47,
9
+ node49
10
+ } from "./location-lifecycle-7k4trpze.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./file-retention-xxynqx5z.js";
13
+ } from "./location-lifecycle-08rawchj.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./location-lifecycle-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service62,
25
+ Service: () => Service42,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node66,
31
+ node: () => node44,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service62 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service42 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service62, Effect.gen(function* () {
76
- const resolver = yield* Service66;
77
- return Service62.of({
75
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
76
+ const resolver = yield* Service47;
77
+ return Service42.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node66 = makeLocationNode({ service: Service62, layer, deps: [node70] });
95
+ var node44 = makeLocationNode({ service: Service42, layer, deps: [node49] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service62, resolved2, node66, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service42, resolved2, node44, exports_model };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info15
9
+ Info: () => Info18
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info15 = Schema.Struct({
12
+ var Info18 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info15, exports_command5 };
21
+ export { Info18, exports_command5 };