@opencode/core 0.0.0-dev-20077 → 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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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/{persistent-pty-n4r3xatb.js → location-lifecycle-06x8he3q.js} +4 -4
  8. package/dist/chunks/{persistent-pty-jexxy024.js → location-lifecycle-08rawchj.js} +3 -3
  9. package/dist/chunks/{persistent-pty-tg4v6ybm.js → location-lifecycle-09ww3nkz.js} +11 -11
  10. package/dist/chunks/{persistent-pty-pf2hb43r.js → location-lifecycle-0gaj4617.js} +6 -6
  11. package/dist/chunks/{persistent-pty-h18k85sj.js → location-lifecycle-0httgp45.js} +44 -44
  12. package/dist/chunks/{persistent-pty-2pbd4axt.js → location-lifecycle-0my6m5t2.js} +77 -77
  13. package/dist/chunks/{persistent-pty-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{persistent-pty-x2659m4s.js → location-lifecycle-0pfhfkh4.js} +15 -15
  15. package/dist/chunks/{persistent-pty-fqdw0qb0.js → location-lifecycle-0q40c6p6.js} +20 -20
  16. package/dist/chunks/{persistent-pty-w0ekr5w4.js → location-lifecycle-0z3tr3b5.js} +4 -4
  17. package/dist/chunks/{persistent-pty-htcezajs.js → location-lifecycle-12y94dz0.js} +11 -11
  18. package/dist/chunks/{persistent-pty-5n6xt7h3.js → location-lifecycle-15hj9zcg.js} +7 -7
  19. package/dist/chunks/{persistent-pty-dg2cj1yd.js → location-lifecycle-18s9r5gn.js} +4 -4
  20. package/dist/chunks/{persistent-pty-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{persistent-pty-g4de2dpr.js → location-lifecycle-1efpx20h.js} +16 -16
  22. package/dist/chunks/{persistent-pty-131medm0.js → location-lifecycle-1gnq4k7b.js} +25 -25
  23. package/dist/chunks/{persistent-pty-qsky8txg.js → location-lifecycle-1hb2dmf7.js} +40 -40
  24. package/dist/chunks/{persistent-pty-tjhtcc6s.js → location-lifecycle-1hn05gyd.js} +12 -12
  25. package/dist/chunks/{persistent-pty-msks4rpe.js → location-lifecycle-1pwc4c2w.js} +7 -7
  26. package/dist/chunks/{persistent-pty-b1h1c68h.js → location-lifecycle-1y1z8jnb.js} +11 -11
  27. package/dist/chunks/{persistent-pty-nms3vxe4.js → location-lifecycle-1y354hzw.js} +21 -21
  28. package/dist/chunks/{persistent-pty-kfh0cw1f.js → location-lifecycle-1z08k0r1.js} +8 -8
  29. package/dist/chunks/{persistent-pty-em8t1d4b.js → location-lifecycle-1zcq3fa7.js} +32 -32
  30. package/dist/chunks/{persistent-pty-4hcxqz1j.js → location-lifecycle-1zsrxcp1.js} +8 -8
  31. package/dist/chunks/{persistent-pty-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
  32. package/dist/chunks/{persistent-pty-ehdcnawv.js → location-lifecycle-21t6fa69.js} +15 -15
  33. package/dist/chunks/{persistent-pty-2402vzrj.js → location-lifecycle-2402vzrj.js} +1 -1
  34. package/dist/chunks/{persistent-pty-jdd6ya46.js → location-lifecycle-24sw7gsr.js} +12 -12
  35. package/dist/chunks/{persistent-pty-z63w68vq.js → location-lifecycle-29x78va6.js} +6 -6
  36. package/dist/chunks/{persistent-pty-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{persistent-pty-qhexs5yx.js → location-lifecycle-2tba787a.js} +13 -13
  38. package/dist/chunks/{persistent-pty-b09qp47b.js → location-lifecycle-2w9khnp1.js} +13 -13
  39. package/dist/chunks/{persistent-pty-jv7ffsz1.js → location-lifecycle-306r0xtt.js} +18 -18
  40. package/dist/chunks/{persistent-pty-k2mdnn2s.js → location-lifecycle-332s0etf.js} +11 -11
  41. package/dist/chunks/{persistent-pty-56gdpj1q.js → location-lifecycle-33w4ejhs.js} +6 -6
  42. package/dist/chunks/{persistent-pty-bhscgnbe.js → location-lifecycle-350m4c2t.js} +19 -19
  43. package/dist/chunks/{persistent-pty-t7vxnrsg.js → location-lifecycle-372gw5e0.js} +12 -12
  44. package/dist/chunks/{persistent-pty-an4t2was.js → location-lifecycle-37vsdqvp.js} +24 -24
  45. package/dist/chunks/{persistent-pty-8xqgb62y.js → location-lifecycle-38162gw5.js} +13 -13
  46. package/dist/chunks/{persistent-pty-se3n0aez.js → location-lifecycle-3aqrkape.js} +34 -34
  47. package/dist/chunks/{persistent-pty-zd30eb5w.js → location-lifecycle-3bc8czyk.js} +5 -5
  48. package/dist/chunks/{persistent-pty-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{persistent-pty-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{persistent-pty-ycjb11n5.js → location-lifecycle-3ppptnan.js} +6 -6
  51. package/dist/chunks/{persistent-pty-a6mwbtq0.js → location-lifecycle-3r61ngk9.js} +16 -16
  52. package/dist/chunks/{persistent-pty-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
  53. package/dist/chunks/{persistent-pty-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{persistent-pty-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
  55. package/dist/chunks/{persistent-pty-w7trrfxg.js → location-lifecycle-45zdvm0r.js} +4 -4
  56. package/dist/chunks/{persistent-pty-jwkmn8w3.js → location-lifecycle-48bssgwe.js} +11 -11
  57. package/dist/chunks/{persistent-pty-e1a8gcn8.js → location-lifecycle-4gm3tq08.js} +14 -14
  58. package/dist/chunks/location-lifecycle-4v7qdvcn.js +18 -0
  59. package/dist/chunks/{persistent-pty-1xntmtej.js → location-lifecycle-4xm8kk2n.js} +20 -20
  60. package/dist/chunks/{persistent-pty-9r70zj9f.js → location-lifecycle-4y5qxd6p.js} +3 -3
  61. package/dist/chunks/{persistent-pty-agwz5jq8.js → location-lifecycle-531map3w.js} +67 -67
  62. package/dist/chunks/{persistent-pty-sd9ps8hc.js → location-lifecycle-56mhcpbk.js} +26 -26
  63. package/dist/chunks/{persistent-pty-0ke265bw.js → location-lifecycle-57ez7d0k.js} +5 -5
  64. package/dist/chunks/{persistent-pty-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
  65. package/dist/chunks/{persistent-pty-dfzjqex4.js → location-lifecycle-5e15319b.js} +5 -5
  66. package/dist/chunks/{persistent-pty-5ekn9679.js → location-lifecycle-5ekn9679.js} +1 -1
  67. package/dist/chunks/{persistent-pty-svvemcs6.js → location-lifecycle-5jhvhkxb.js} +6 -6
  68. package/dist/chunks/{persistent-pty-7p0ydzsf.js → location-lifecycle-5nc5w3be.js} +9 -9
  69. package/dist/chunks/{persistent-pty-8cw38amn.js → location-lifecycle-5paxxmhy.js} +10 -10
  70. package/dist/chunks/{persistent-pty-sw03m82y.js → location-lifecycle-5syd9exq.js} +33 -33
  71. package/dist/chunks/{persistent-pty-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
  72. package/dist/chunks/{persistent-pty-669tq793.js → location-lifecycle-669tq793.js} +1 -1
  73. package/dist/chunks/{persistent-pty-fqcgpcra.js → location-lifecycle-6fatt4mk.js} +9 -9
  74. package/dist/chunks/{persistent-pty-4697qq0h.js → location-lifecycle-6jxte08d.js} +2 -2
  75. package/dist/chunks/{persistent-pty-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{persistent-pty-py3kkmfq.js → location-lifecycle-6pc27hjz.js} +6 -6
  77. package/dist/chunks/{persistent-pty-7dz95w49.js → location-lifecycle-6phrjhr6.js} +11 -11
  78. package/dist/chunks/{persistent-pty-8qf8qbfj.js → location-lifecycle-6xcwnmh5.js} +8 -8
  79. package/dist/chunks/{persistent-pty-aj1cmtrn.js → location-lifecycle-6z9mwsmt.js} +24 -24
  80. package/dist/chunks/{persistent-pty-v7w3wckr.js → location-lifecycle-71k1amkv.js} +27 -27
  81. package/dist/chunks/{persistent-pty-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{persistent-pty-2k8khapm.js → location-lifecycle-7dqw4kz8.js} +5 -5
  83. package/dist/chunks/{persistent-pty-fdjyeynq.js → location-lifecycle-7gcp8pkf.js} +6 -6
  84. package/dist/chunks/{persistent-pty-kv0rj397.js → location-lifecycle-7k4trpze.js} +19 -19
  85. package/dist/chunks/{persistent-pty-b2m85fba.js → location-lifecycle-7zgec7h4.js} +11 -11
  86. package/dist/chunks/{persistent-pty-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{persistent-pty-tp9rhsw7.js → location-lifecycle-8tyewwk1.js} +33 -33
  88. package/dist/chunks/{persistent-pty-rbhtsr62.js → location-lifecycle-8x37xyr8.js} +8 -8
  89. package/dist/chunks/{persistent-pty-3n9k99kr.js → location-lifecycle-92e055yb.js} +13 -13
  90. package/dist/chunks/{persistent-pty-a5vb42nz.js → location-lifecycle-93eat1mg.js} +33 -33
  91. package/dist/chunks/{persistent-pty-gfvb90ym.js → location-lifecycle-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{persistent-pty-a4r3ry0g.js → location-lifecycle-99bg3790.js} +14 -14
  93. package/dist/chunks/{persistent-pty-9cyfspf3.js → location-lifecycle-9cyfspf3.js} +2 -2
  94. package/dist/chunks/{persistent-pty-dydfzrfg.js → location-lifecycle-9ep9adm8.js} +3 -3
  95. package/dist/chunks/{persistent-pty-7npttpkb.js → location-lifecycle-9m67a2xh.js} +26 -26
  96. package/dist/chunks/{persistent-pty-s13hgdhw.js → location-lifecycle-9mjazamh.js} +5 -5
  97. package/dist/chunks/{persistent-pty-thfsr13d.js → location-lifecycle-9ry0r7nj.js} +20 -20
  98. package/dist/chunks/{persistent-pty-zrk49733.js → location-lifecycle-9tpqnd1t.js} +1 -1
  99. package/dist/chunks/{persistent-pty-ymfjs49y.js → location-lifecycle-9wc7tdkr.js} +20 -20
  100. package/dist/chunks/{persistent-pty-hcha2833.js → location-lifecycle-a0nn69n9.js} +11 -11
  101. package/dist/chunks/{persistent-pty-6kj2kzkg.js → location-lifecycle-a2a6ph37.js} +13 -13
  102. package/dist/chunks/{persistent-pty-jfqtm2ew.js → location-lifecycle-a2ew8a62.js} +4 -4
  103. package/dist/chunks/{persistent-pty-jbnt79dx.js → location-lifecycle-a6rtn05v.js} +19 -19
  104. package/dist/chunks/{persistent-pty-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
  105. package/dist/chunks/{persistent-pty-e8p1kpnk.js → location-lifecycle-ackbfy2k.js} +5 -5
  106. package/dist/chunks/{persistent-pty-ecnmd6j5.js → location-lifecycle-af06prj0.js} +25 -25
  107. package/dist/chunks/{persistent-pty-2f0bjgcj.js → location-lifecycle-ag9w8cw1.js} +5 -5
  108. package/dist/chunks/{persistent-pty-m2eqy9a3.js → location-lifecycle-ah1gfr63.js} +8 -8
  109. package/dist/chunks/{persistent-pty-1tbcb674.js → location-lifecycle-ak22egzq.js} +9 -9
  110. package/dist/chunks/{persistent-pty-q0x8zzpj.js → location-lifecycle-an22treg.js} +14 -14
  111. package/dist/chunks/{persistent-pty-xwmca76c.js → location-lifecycle-ax5pekk8.js} +1 -1
  112. package/dist/chunks/{persistent-pty-zjstjz92.js → location-lifecycle-b5zdkcxk.js} +11 -11
  113. package/dist/chunks/{persistent-pty-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{persistent-pty-0q07yjwe.js → location-lifecycle-b7xn4ebh.js} +17 -17
  115. package/dist/chunks/{persistent-pty-h0yyr0gy.js → location-lifecycle-bpcnfm2r.js} +8 -8
  116. package/dist/chunks/{persistent-pty-d7hggpe0.js → location-lifecycle-bqyb16m0.js} +16 -16
  117. package/dist/chunks/{persistent-pty-4bbdhcnf.js → location-lifecycle-bv91g476.js} +43 -43
  118. package/dist/chunks/{persistent-pty-8pv6180c.js → location-lifecycle-bya39qz1.js} +7 -7
  119. package/dist/chunks/{persistent-pty-4r3r3wqp.js → location-lifecycle-c1ctkbd0.js} +1 -1
  120. package/dist/chunks/{persistent-pty-0ar9x5a3.js → location-lifecycle-c42w4v4x.js} +31 -31
  121. package/dist/chunks/{persistent-pty-mtzk9mcs.js → location-lifecycle-cam1ayvb.js} +11 -11
  122. package/dist/chunks/{persistent-pty-t8xra3xv.js → location-lifecycle-cd9s2exm.js} +10 -10
  123. package/dist/chunks/{persistent-pty-54tcyq79.js → location-lifecycle-ckecvw8r.js} +2 -2
  124. package/dist/chunks/{persistent-pty-k7k6eexb.js → location-lifecycle-cmzswfdp.js} +28 -28
  125. package/dist/chunks/{persistent-pty-fmhgq1sm.js → location-lifecycle-cr14m58m.js} +28 -28
  126. package/dist/chunks/{persistent-pty-j6dx4cjd.js → location-lifecycle-crn2xksg.js} +1 -1
  127. package/dist/chunks/{persistent-pty-d4he2qe1.js → location-lifecycle-cwa6csj7.js} +9 -9
  128. package/dist/chunks/{persistent-pty-0r7yqxbf.js → location-lifecycle-d1khqved.js} +5 -5
  129. package/dist/chunks/{persistent-pty-w3wzfs1e.js → location-lifecycle-d8mt368w.js} +22 -22
  130. package/dist/chunks/{persistent-pty-k53npxr2.js → location-lifecycle-dagkn99r.js} +1 -1
  131. package/dist/chunks/{persistent-pty-kkp8zx71.js → location-lifecycle-dbb8vp5z.js} +4 -4
  132. package/dist/chunks/{persistent-pty-jgaqdvsy.js → location-lifecycle-dcvbrmh9.js} +19 -19
  133. package/dist/chunks/{persistent-pty-kwhxm0rt.js → location-lifecycle-drtbjaez.js} +82 -82
  134. package/dist/chunks/{persistent-pty-xfkkasph.js → location-lifecycle-drwq78ky.js} +4 -4
  135. package/dist/chunks/{persistent-pty-p42hj8p8.js → location-lifecycle-dv1qgsyq.js} +8 -8
  136. package/dist/chunks/{persistent-pty-y8vstp7v.js → location-lifecycle-dx1am6a9.js} +1 -1
  137. package/dist/chunks/{persistent-pty-2vk85jev.js → location-lifecycle-dyjhz6jk.js} +8 -8
  138. package/dist/chunks/{persistent-pty-09pa4m3v.js → location-lifecycle-e0rwsjxg.js} +33 -33
  139. package/dist/chunks/{persistent-pty-bx27tg5g.js → location-lifecycle-e160f7zq.js} +13 -13
  140. package/dist/chunks/{persistent-pty-gy4yc5qs.js → location-lifecycle-e3fdxhn1.js} +13 -13
  141. package/dist/chunks/{persistent-pty-5qd3pb7m.js → location-lifecycle-e3qxr5gk.js} +2 -2
  142. package/dist/chunks/{persistent-pty-8nqnatqw.js → location-lifecycle-e3t1k4fp.js} +111 -111
  143. package/dist/chunks/{persistent-pty-xy3zq42w.js → location-lifecycle-ebxse63s.js} +15 -15
  144. package/dist/chunks/{persistent-pty-bhv2qxb3.js → location-lifecycle-ecqqbvyr.js} +9 -9
  145. package/dist/chunks/{persistent-pty-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{persistent-pty-xc9wkb25.js → location-lifecycle-ehq2dyc1.js} +17 -17
  147. package/dist/chunks/{persistent-pty-xs53z2pm.js → location-lifecycle-em3h5ktn.js} +4 -4
  148. package/dist/chunks/{persistent-pty-0g3je6g8.js → location-lifecycle-eqhwn6nh.js} +24 -24
  149. package/dist/chunks/{persistent-pty-9sfevq5x.js → location-lifecycle-eqnkvkjj.js} +13 -13
  150. package/dist/chunks/{persistent-pty-hq1v3zy8.js → location-lifecycle-er667zkn.js} +4 -4
  151. package/dist/chunks/{persistent-pty-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
  152. package/dist/chunks/{persistent-pty-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{persistent-pty-bzd9xh3w.js → location-lifecycle-evjk3azk.js} +9 -9
  154. package/dist/chunks/{persistent-pty-p7zyvqxs.js → location-lifecycle-f1afsy8x.js} +3 -3
  155. package/dist/chunks/{persistent-pty-rhraev7y.js → location-lifecycle-f2n192rq.js} +4 -4
  156. package/dist/chunks/{persistent-pty-ybhbtxjg.js → location-lifecycle-f38mbwqt.js} +7 -7
  157. package/dist/chunks/{persistent-pty-a3r4dcrj.js → location-lifecycle-f38wsw69.js} +2 -2
  158. package/dist/chunks/{persistent-pty-pv3n2ae1.js → location-lifecycle-fbhyvh8e.js} +18 -18
  159. package/dist/chunks/{persistent-pty-eyaegrqq.js → location-lifecycle-frz8dvr7.js} +4 -4
  160. package/dist/chunks/{persistent-pty-7ndvrzgb.js → location-lifecycle-fzdjqjqe.js} +17 -17
  161. package/dist/chunks/{persistent-pty-5mhrsa16.js → location-lifecycle-g4exfbqr.js} +4 -4
  162. package/dist/chunks/{persistent-pty-qe4kd680.js → location-lifecycle-ga400k24.js} +12 -12
  163. package/dist/chunks/{persistent-pty-krxy378t.js → location-lifecycle-gd0x7v4t.js} +4 -4
  164. package/dist/chunks/{persistent-pty-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{persistent-pty-gwrhg37m.js → location-lifecycle-gkq5dawr.js} +23 -23
  166. package/dist/chunks/{persistent-pty-jtefkk5f.js → location-lifecycle-gr6sb7t2.js} +20 -20
  167. package/dist/chunks/{persistent-pty-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{persistent-pty-xga9dy9m.js → location-lifecycle-gwyzdwgr.js} +18 -18
  169. package/dist/chunks/{persistent-pty-50t6b855.js → location-lifecycle-h04fec9s.js} +3 -3
  170. package/dist/chunks/{persistent-pty-h6r3nrb9.js → location-lifecycle-h6r3nrb9.js} +1 -1
  171. package/dist/chunks/{persistent-pty-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
  172. package/dist/chunks/{persistent-pty-g7gngde7.js → location-lifecycle-ha1n41tc.js} +8 -8
  173. package/dist/chunks/{persistent-pty-bxf6ahcf.js → location-lifecycle-hb8hngfc.js} +14 -14
  174. package/dist/chunks/{persistent-pty-2ap5w51g.js → location-lifecycle-hgsf16v0.js} +39 -39
  175. package/dist/chunks/{persistent-pty-2hzw9kex.js → location-lifecycle-hw583fet.js} +20 -20
  176. package/dist/chunks/{persistent-pty-k8aese3t.js → location-lifecycle-hz0q9sdq.js} +8 -8
  177. package/dist/chunks/{persistent-pty-mcnp5paj.js → location-lifecycle-j0hvv6pf.js} +22 -22
  178. package/dist/chunks/{persistent-pty-1jap1q27.js → location-lifecycle-j41zh890.js} +18 -18
  179. package/dist/chunks/{persistent-pty-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
  180. package/dist/chunks/{persistent-pty-q7hsqcry.js → location-lifecycle-jaay1cxn.js} +14 -14
  181. package/dist/chunks/{persistent-pty-4mgmwwhc.js → location-lifecycle-je42r6cz.js} +22 -22
  182. package/dist/chunks/{persistent-pty-gbpvysbe.js → location-lifecycle-jrh1janw.js} +14 -14
  183. package/dist/chunks/{persistent-pty-k3c624dm.js → location-lifecycle-k3c624dm.js} +3 -3
  184. package/dist/chunks/{persistent-pty-7x9j1zsm.js → location-lifecycle-k6fxasg6.js} +7 -7
  185. package/dist/chunks/{persistent-pty-5p0mp6ge.js → location-lifecycle-k9kced9z.js} +1 -1
  186. package/dist/chunks/{persistent-pty-gc5brfvv.js → location-lifecycle-ka5skxx4.js} +32 -32
  187. package/dist/chunks/location-lifecycle-kkn4g2ed.js +507 -0
  188. package/dist/chunks/{persistent-pty-8vm1nfxe.js → location-lifecycle-kp06gxjd.js} +41 -41
  189. package/dist/chunks/{persistent-pty-mtg6ts2t.js → location-lifecycle-kv1wsvct.js} +48 -48
  190. package/dist/chunks/{persistent-pty-8s07ccs3.js → location-lifecycle-kwcx68me.js} +34 -34
  191. package/dist/chunks/{persistent-pty-g2dc85z0.js → location-lifecycle-kx8hngxs.js} +6 -6
  192. package/dist/chunks/{persistent-pty-m2d0j7c0.js → location-lifecycle-m2d0j7c0.js} +2 -2
  193. package/dist/chunks/{persistent-pty-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
  194. package/dist/chunks/{persistent-pty-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{persistent-pty-2gbcq7ge.js → location-lifecycle-mg9my19h.js} +20 -20
  196. package/dist/chunks/{persistent-pty-sv56s9vz.js → location-lifecycle-mhjfzxr8.js} +4 -4
  197. package/dist/chunks/{persistent-pty-mvfsc1pv.js → location-lifecycle-mhkvc446.js} +3 -3
  198. package/dist/chunks/{persistent-pty-nwsnnm7q.js → location-lifecycle-mjqqjndj.js} +15 -15
  199. package/dist/chunks/{persistent-pty-4mpw8txs.js → location-lifecycle-mrsgn7my.js} +5 -5
  200. package/dist/chunks/{persistent-pty-q7azfttr.js → location-lifecycle-mvksx64m.js} +4 -4
  201. package/dist/chunks/{persistent-pty-79sb0qv2.js → location-lifecycle-nb8z3sb6.js} +11 -11
  202. package/dist/chunks/{persistent-pty-83tqnnyb.js → location-lifecycle-nbwd0k52.js} +14 -14
  203. package/dist/chunks/{persistent-pty-ndqtf2h8.js → location-lifecycle-nca7p386.js} +6 -6
  204. package/dist/chunks/location-lifecycle-ndes8vtz.js +26 -0
  205. package/dist/chunks/{persistent-pty-c15wgtb8.js → location-lifecycle-nmnv9rqk.js} +23 -23
  206. package/dist/chunks/{persistent-pty-qt6mstr8.js → location-lifecycle-np185wnj.js} +9 -9
  207. package/dist/chunks/{persistent-pty-k0h4vbz7.js → location-lifecycle-nt2h4hjy.js} +30 -30
  208. package/dist/chunks/{persistent-pty-sh3cnwks.js → location-lifecycle-nx2q6m6a.js} +12 -12
  209. package/dist/chunks/{persistent-pty-9qp60kxg.js → location-lifecycle-p0s3dwrr.js} +21 -21
  210. package/dist/chunks/{persistent-pty-y7kpdk7a.js → location-lifecycle-p1x0rczn.js} +20 -20
  211. package/dist/chunks/{persistent-pty-jh8z11nh.js → location-lifecycle-pg8ttqrz.js} +40 -40
  212. package/dist/chunks/{persistent-pty-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{persistent-pty-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  214. package/dist/chunks/{persistent-pty-px6v4n28.js → location-lifecycle-pxnzp80q.js} +4 -4
  215. package/dist/chunks/{persistent-pty-5yae57x6.js → location-lifecycle-q03mkthp.js} +27 -27
  216. package/dist/chunks/{persistent-pty-0rxys545.js → location-lifecycle-q4g1c5bp.js} +2 -2
  217. package/dist/chunks/{persistent-pty-a2q4hhkc.js → location-lifecycle-qarqz51c.js} +15 -15
  218. package/dist/chunks/{persistent-pty-0xezjjjn.js → location-lifecycle-qby9dwvd.js} +8 -8
  219. package/dist/chunks/{persistent-pty-95ntde08.js → location-lifecycle-qdt77h2n.js} +14 -14
  220. package/dist/chunks/{persistent-pty-5w50106y.js → location-lifecycle-qk40f6qf.js} +20 -20
  221. package/dist/chunks/{persistent-pty-dfe8djrf.js → location-lifecycle-qq11w61w.js} +4 -4
  222. package/dist/chunks/{persistent-pty-9wnraymz.js → location-lifecycle-qs1cbs9d.js} +13 -13
  223. package/dist/chunks/{persistent-pty-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
  224. package/dist/chunks/{persistent-pty-h9p2zxhd.js → location-lifecycle-qsg4qf1b.js} +25 -25
  225. package/dist/chunks/{persistent-pty-e4jg4zfm.js → location-lifecycle-r8pe3876.js} +15 -15
  226. package/dist/chunks/{persistent-pty-teryqt5v.js → location-lifecycle-rcgrsjm5.js} +3 -3
  227. package/dist/chunks/{persistent-pty-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{persistent-pty-eaj1djv9.js → location-lifecycle-rhjbct0v.js} +8 -8
  229. package/dist/chunks/{persistent-pty-5b9pa3q7.js → location-lifecycle-rj5nneh7.js} +8 -8
  230. package/dist/chunks/{persistent-pty-33nwj033.js → location-lifecycle-rm0ybym0.js} +43 -43
  231. package/dist/chunks/{persistent-pty-jx35jf7z.js → location-lifecycle-rvwa2653.js} +30 -30
  232. package/dist/chunks/{persistent-pty-00x4qneg.js → location-lifecycle-rzs3gq0x.js} +8 -8
  233. package/dist/chunks/{persistent-pty-bjn91642.js → location-lifecycle-s0hza5ac.js} +4 -4
  234. package/dist/chunks/{persistent-pty-yrznvahk.js → location-lifecycle-s4enseaf.js} +2 -2
  235. package/dist/chunks/{persistent-pty-0j8mf7cg.js → location-lifecycle-s5jqsqh4.js} +3 -3
  236. package/dist/chunks/{persistent-pty-magykp64.js → location-lifecycle-s8j6jbjj.js} +21 -21
  237. package/dist/chunks/{persistent-pty-was7srj9.js → location-lifecycle-s942n1t7.js} +8 -8
  238. package/dist/chunks/{persistent-pty-qpf5xtm9.js → location-lifecycle-sad129aw.js} +6 -6
  239. package/dist/chunks/{persistent-pty-aakph5ea.js → location-lifecycle-sb3nsf3d.js} +9 -9
  240. package/dist/chunks/{persistent-pty-0sz7h9zd.js → location-lifecycle-sygkwpza.js} +14 -14
  241. package/dist/chunks/{persistent-pty-n7rbchxd.js → location-lifecycle-t6rsh1v1.js} +30 -30
  242. package/dist/chunks/{persistent-pty-bc7x5p7s.js → location-lifecycle-t80y27b5.js} +5 -5
  243. package/dist/chunks/{persistent-pty-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{persistent-pty-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{persistent-pty-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
  246. package/dist/chunks/{persistent-pty-0qmb29gv.js → location-lifecycle-te4zy289.js} +36 -36
  247. package/dist/chunks/{persistent-pty-mg5rbkhq.js → location-lifecycle-tfkjwah6.js} +2 -2
  248. package/dist/chunks/{persistent-pty-9fy1pcrd.js → location-lifecycle-ths5nwb1.js} +12 -12
  249. package/dist/chunks/{persistent-pty-smyzvreh.js → location-lifecycle-trzcm3tj.js} +18 -18
  250. package/dist/chunks/{persistent-pty-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
  251. package/dist/chunks/{persistent-pty-59z0gf60.js → location-lifecycle-tyq5db9e.js} +16 -16
  252. package/dist/chunks/{persistent-pty-8x24e6zw.js → location-lifecycle-v04nak97.js} +6 -6
  253. package/dist/chunks/{persistent-pty-jc8m90n4.js → location-lifecycle-v11xek3k.js} +25 -25
  254. package/dist/chunks/{persistent-pty-dz39j9yq.js → location-lifecycle-v1g2mdy6.js} +23 -23
  255. package/dist/chunks/{persistent-pty-vrgxsb1e.js → location-lifecycle-v5d989bc.js} +11 -11
  256. package/dist/chunks/{persistent-pty-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  257. package/dist/chunks/{persistent-pty-2xkrv8r8.js → location-lifecycle-vkbv809h.js} +51 -51
  258. package/dist/chunks/{persistent-pty-m030b1ec.js → location-lifecycle-vnfc2q6g.js} +27 -27
  259. package/dist/chunks/{persistent-pty-69c49fy8.js → location-lifecycle-vpwfjnrg.js} +24 -24
  260. package/dist/chunks/{persistent-pty-h75wmkrs.js → location-lifecycle-vv97ra8n.js} +11 -11
  261. package/dist/chunks/location-lifecycle-vyykgm21.js +252 -0
  262. package/dist/chunks/{persistent-pty-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
  263. package/dist/chunks/{persistent-pty-nppa2k1t.js → location-lifecycle-w1ahv8v5.js} +11 -11
  264. package/dist/chunks/{persistent-pty-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{persistent-pty-g9se4cjc.js → location-lifecycle-w73bfpmg.js} +33 -33
  266. package/dist/chunks/{persistent-pty-psazpmmj.js → location-lifecycle-wd3x2cqz.js} +2 -2
  267. package/dist/chunks/{persistent-pty-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  268. package/dist/chunks/{persistent-pty-jqnmytps.js → location-lifecycle-wg5yspwt.js} +16 -16
  269. package/dist/chunks/{persistent-pty-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
  270. package/dist/chunks/{persistent-pty-1nwp9f3z.js → location-lifecycle-xvbd2t9n.js} +41 -41
  271. package/dist/chunks/{persistent-pty-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{persistent-pty-978gy482.js → location-lifecycle-y2e1z292.js} +11 -11
  273. package/dist/chunks/{persistent-pty-74rrnwt7.js → location-lifecycle-y5df08dr.js} +5 -5
  274. package/dist/chunks/{persistent-pty-dpkg50ah.js → location-lifecycle-y71avatq.js} +4 -4
  275. package/dist/chunks/{persistent-pty-0j290fjy.js → location-lifecycle-ybqc9gtf.js} +2 -2
  276. package/dist/chunks/{persistent-pty-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{persistent-pty-ead3g9p8.js → location-lifecycle-yt0fqk68.js} +5 -5
  278. package/dist/chunks/{persistent-pty-bjtzbw4r.js → location-lifecycle-z07pqspn.js} +3 -3
  279. package/dist/chunks/{persistent-pty-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{persistent-pty-wbt9zsn3.js → location-lifecycle-z3nay82g.js} +9 -9
  281. package/dist/chunks/{persistent-pty-zqfjm1r3.js → location-lifecycle-z3vw9vry.js} +9 -9
  282. package/dist/chunks/{persistent-pty-9ppvxvx2.js → location-lifecycle-z9kjrvxh.js} +9 -9
  283. package/dist/chunks/{persistent-pty-qdyeg9tz.js → location-lifecycle-zbh9kwq1.js} +24 -24
  284. package/dist/chunks/{persistent-pty-1zsz5cte.js → location-lifecycle-zcsvy2cz.js} +12 -12
  285. package/dist/chunks/{persistent-pty-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{persistent-pty-3h2x9zep.js → location-lifecycle-zfkp2819.js} +1 -1
  287. package/dist/chunks/{persistent-pty-3jgsjshs.js → location-lifecycle-zn78egd2.js} +28 -28
  288. package/dist/chunks/{persistent-pty-sqgptjkv.js → location-lifecycle-zpzacb1g.js} +9 -9
  289. package/dist/chunks/{persistent-pty-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{persistent-pty-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{persistent-pty-fevnpa4j.js → location-lifecycle-zypmjmgb.js} +17 -17
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +162 -162
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +77 -77
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.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 +227 -227
  427. package/dist/filesystem/protected.js +1 -1
  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 +104 -104
  432. package/dist/form.js +74 -74
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  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 +5 -5
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +78 -78
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +133 -133
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +75 -75
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +92 -92
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/compaction.js +133 -133
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +91 -91
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +120 -120
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +225 -225
  562. package/dist/project/schema.js +4 -4
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +91 -91
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +94 -94
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +130 -130
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +219 -219
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +93 -93
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +112 -112
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +154 -154
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +214 -214
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +138 -138
  632. package/dist/skill/discovery.js +2 -2
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +106 -106
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +116 -116
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +109 -109
  651. package/dist/tool/plugin/subagent.js +217 -217
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +4 -4
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +3 -3
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
  701. package/dist/chunks/persistent-pty-ntfxyrp8.js +0 -26
  702. package/dist/chunks/persistent-pty-peathsrz.js +0 -507
  703. package/dist/chunks/persistent-pty-xjrs478y.js +0 -252
  704. /package/dist/chunks/{persistent-pty-0mesazry.js → location-lifecycle-0mesazry.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./persistent-pty-a6mwbtq0.js";
2
+ Service82,
3
+ node86
4
+ } from "./location-lifecycle-3r61ngk9.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./persistent-pty-922hggd3.js";
8
+ } from "./location-lifecycle-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
11
  Service79,
12
12
  node83
13
- } from "./persistent-pty-mg5rbkhq.js";
13
+ } from "./location-lifecycle-tfkjwah6.js";
14
14
  import {
15
15
  __export
16
- } from "./persistent-pty-9rqn6x4v.js";
16
+ } from "./location-lifecycle-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service38,
22
+ Service: () => Service61,
23
23
  define: () => define2,
24
- node: () => node42
24
+ node: () => node64
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service38 extends Context.Service()("@opencode/Rpc") {
30
+ class Service61 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,8 +39,8 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service38, Effect.gen(function* () {
43
- const bus = yield* Service83;
42
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
43
+ const bus = yield* Service82;
44
44
  const location = yield* Service79;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
123
123
  }
124
124
  };
125
125
  };
126
- return Service38.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service61.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node42 = makeLocationNode({ service: Service38, layer, deps: [node87, node83] });
128
+ var node64 = makeLocationNode({ service: Service61, layer, deps: [node86, node83] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service38, node42, exports_rpc, define2 };
213
+ export { Service61, node64, exports_rpc, define2 };
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./persistent-pty-a6mwbtq0.js";
2
+ Service82,
3
+ node86
4
+ } from "./location-lifecycle-3r61ngk9.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./persistent-pty-74rrnwt7.js";
8
+ } from "./location-lifecycle-y5df08dr.js";
9
9
  import {
10
10
  Service79,
11
11
  node83
12
- } from "./persistent-pty-mg5rbkhq.js";
12
+ } from "./location-lifecycle-tfkjwah6.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./persistent-pty-9sh4wc5j.js";
15
+ } from "./location-lifecycle-4v7qdvcn.js";
16
16
  import {
17
- Service56,
18
- node61
19
- } from "./persistent-pty-aj1cmtrn.js";
17
+ Service71,
18
+ node75
19
+ } from "./location-lifecycle-6z9mwsmt.js";
20
20
  import {
21
- node17
22
- } from "./persistent-pty-y7kpdk7a.js";
21
+ node22
22
+ } from "./location-lifecycle-p1x0rczn.js";
23
23
  import {
24
- Service8,
25
- node10
26
- } from "./persistent-pty-d4he2qe1.js";
24
+ Service12,
25
+ node14
26
+ } from "./location-lifecycle-cwa6csj7.js";
27
27
  import {
28
28
  __export
29
- } from "./persistent-pty-9rqn6x4v.js";
29
+ } from "./location-lifecycle-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher = {};
33
- __export(exports_location_watcher, {
34
- LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service2,
36
- node: () => node2
32
+ var exports_location_watcher2 = {};
33
+ __export(exports_location_watcher2, {
34
+ LocationWatcher: () => exports_location_watcher2,
35
+ Service: () => Service11,
36
+ node: () => node13
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service2 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service11 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service2, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
46
46
  const location = yield* Service79;
47
- const watcher = yield* Service56;
48
- const bus = yield* Service83;
47
+ const watcher = yield* Service71;
48
+ const bus = yield* Service82;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service81;
51
- const policy = yield* Service8;
51
+ const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service2.of({});
103
+ return Service11.of({});
104
104
  }));
105
- var node2 = makeLocationNode({
106
- service: Service2,
105
+ var node13 = makeLocationNode({
106
+ service: Service11,
107
107
  layer,
108
- deps: [node61, FSUtil.node, node83, node85, node87, node17, node10]
108
+ deps: [node75, FSUtil.node, node83, node85, node86, node22, node14]
109
109
  });
110
110
 
111
- export { Service2, node2, exports_location_watcher };
111
+ export { Service11, node13, exports_location_watcher2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ID12,
3
3
  Family2
4
- } from "./persistent-pty-q7hsqcry.js";
4
+ } from "./location-lifecycle-jaay1cxn.js";
5
5
  import {
6
- Service55
7
- } from "./persistent-pty-qsky8txg.js";
6
+ Service70
7
+ } from "./location-lifecycle-1hb2dmf7.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./persistent-pty-w7trrfxg.js";
10
+ } from "./location-lifecycle-45zdvm0r.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service55;
53
+ const config = yield* Service70;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./persistent-pty-dpkg50ah.js";
3
+ } from "./location-lifecycle-y71avatq.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./persistent-pty-a6mwbtq0.js";
5
+ Service82,
6
+ node86
7
+ } from "./location-lifecycle-3r61ngk9.js";
8
8
  import {
9
- Event18,
9
+ Event19,
10
10
  Service77,
11
11
  node81
12
- } from "./persistent-pty-w3wzfs1e.js";
12
+ } from "./location-lifecycle-d8mt368w.js";
13
13
  import {
14
14
  Service79,
15
15
  node83
16
- } from "./persistent-pty-mg5rbkhq.js";
16
+ } from "./location-lifecycle-tfkjwah6.js";
17
17
  import {
18
- Service49,
19
- node53
20
- } from "./persistent-pty-bhscgnbe.js";
18
+ Service52,
19
+ node54
20
+ } from "./location-lifecycle-350m4c2t.js";
21
21
  import {
22
22
  ID16,
23
23
  Service78,
24
24
  node82
25
- } from "./persistent-pty-7dz95w49.js";
25
+ } from "./location-lifecycle-6phrjhr6.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./persistent-pty-rdw6cm16.js";
29
+ } from "./location-lifecycle-rdw6cm16.js";
30
30
  import {
31
31
  ID14,
32
32
  MethodID2,
33
33
  Service76,
34
34
  node80
35
- } from "./persistent-pty-59z0gf60.js";
35
+ } from "./location-lifecycle-tyq5db9e.js";
36
36
  import {
37
37
  __export
38
- } from "./persistent-pty-9rqn6x4v.js";
38
+ } from "./location-lifecycle-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service33,
53
+ Service: () => Service31,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured3,
57
- layer: () => layer13,
58
- node: () => node36
56
+ configured: () => configured4,
57
+ layer: () => layer12,
58
+ node: () => node34
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,18 +93,18 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service33 extends Context.Service()("@opencode/MCP") {
96
+ class Service31 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options3 = Schema.Struct({
98
+ var Options4 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
104
+ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
105
105
  const location = yield* Service79;
106
- const environment = yield* Service49;
107
- const bus = yield* Service83;
106
+ const environment = yield* Service52;
107
+ const bus = yield* Service82;
108
108
  const forms = yield* Service78;
109
109
  const integration = yield* Service76;
110
110
  const credentials = yield* Service77;
@@ -144,7 +144,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError3({ server: name });
147
+ return yield* new NotFoundError5({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -259,7 +259,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
259
259
  entry.scope = scope;
260
260
  const authProvider = yield* connectProvider(entry);
261
261
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
262
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service49, environment), Scope.provide(scope));
262
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service52, environment), Scope.provide(scope));
263
263
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
264
264
  if (Exit.isSuccess(result)) {
265
265
  entry.client = result.value.connection;
@@ -384,7 +384,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
384
384
  yield* startServer(name, entry);
385
385
  }).pipe(locks.withLock(name));
386
386
  });
387
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
387
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
388
388
  const state = create3({
389
389
  name: "mcp",
390
390
  initial: () => ({
@@ -410,7 +410,7 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
410
410
  }),
411
411
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
412
412
  });
413
- return Service33.of({
413
+ return Service31.of({
414
414
  transform: state.transform,
415
415
  reload: state.reload,
416
416
  servers: Effect.fn("MCP.servers")(function* () {
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
516
516
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
517
517
  });
518
518
  }
519
- function configured3(options) {
519
+ function configured4(options) {
520
520
  return makeLocationNode({
521
- service: Service33,
522
- layer: layer13(options),
523
- deps: [node83, node53, node87, node82, node80, node81]
521
+ service: Service31,
522
+ layer: layer12(options),
523
+ deps: [node83, node54, node86, node82, node80, node81]
524
524
  });
525
525
  }
526
- var node36 = configured3();
526
+ var node34 = configured4();
527
527
  function toElicitationField(key, property, required) {
528
528
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
529
529
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
574
574
  }
575
575
  }
576
576
 
577
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service33, Options3, layer13, configured3, node36, exports_mcp4 };
577
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service31, Options4, layer12, configured4, node34, exports_mcp4 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./persistent-pty-smyzvreh.js";
4
+ } from "./location-lifecycle-trzcm3tj.js";
5
5
  import {
6
6
  __export
7
- } from "./persistent-pty-9rqn6x4v.js";
7
+ } from "./location-lifecycle-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-htcezajs.js";
3
+ } from "./location-lifecycle-12y94dz0.js";
4
4
  import {
5
- Service83
6
- } from "./persistent-pty-a6mwbtq0.js";
5
+ Service82
6
+ } from "./location-lifecycle-3r61ngk9.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./persistent-pty-w3wzfs1e.js";
9
+ Event19
10
+ } from "./location-lifecycle-d8mt368w.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./persistent-pty-59z0gf60.js";
14
+ } from "./location-lifecycle-tyq5db9e.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./persistent-pty-pjvnvgmy.js";
18
+ } from "./location-lifecycle-pjvnvgmy.js";
19
19
  import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./persistent-pty-a2q4hhkc.js";
23
+ } from "./location-lifecycle-qarqz51c.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -159,10 +159,10 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin2 = define({
162
+ var OpenAIPlugin3 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service83;
165
+ const bus = yield* Service82;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -227,7 +227,7 @@ var OpenAIPlugin2 = define({
227
227
  evt.headers["session-id"] = evt.sessionID;
228
228
  }), { providerID: ID13.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -318,4 +318,4 @@ function claim(token) {
318
318
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
319
319
  }
320
320
 
321
- export { OpenAIPlugin2 };
321
+ export { OpenAIPlugin3 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
4
- import {
5
- Service84,
6
- node88
7
- } from "./persistent-pty-jwkmn8w3.js";
3
+ } from "./location-lifecycle-922hggd3.js";
8
4
  import {
9
5
  Service83,
10
6
  node87
11
- } from "./persistent-pty-a6mwbtq0.js";
7
+ } from "./location-lifecycle-48bssgwe.js";
8
+ import {
9
+ Service82,
10
+ node86
11
+ } from "./location-lifecycle-3r61ngk9.js";
12
12
  import {
13
13
  Service81,
14
14
  node85
15
- } from "./persistent-pty-74rrnwt7.js";
15
+ } from "./location-lifecycle-y5df08dr.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
19
  Info34,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./persistent-pty-0ke265bw.js";
23
+ } from "./location-lifecycle-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./persistent-pty-psazpmmj.js";
27
+ } from "./location-lifecycle-wd3x2cqz.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./persistent-pty-gfvb90ym.js";
30
+ } from "./location-lifecycle-94ek1h2f.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./location-lifecycle-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const git = yield* Service81;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service83;
103
- const db = (yield* Service84).db;
102
+ const bus = yield* Service82;
103
+ const db = (yield* Service83).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
106
106
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event20.Updated, fromRow(row));
111
+ yield* bus.publish(Event21.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
170
170
  if (!row)
171
171
  return yield* new NotFoundError11({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event20.Updated, project);
173
+ yield* bus.publish(Event21.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,7 +181,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event20.Updated, fromRow(row));
184
+ yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
187
  return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
@@ -287,7 +287,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
287
287
  var node84 = makeGlobalNode({
288
288
  service: Service80,
289
289
  layer,
290
- deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
290
+ deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
291
291
  });
292
292
 
293
293
  export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};