@opencode/core 0.0.0-dev-21224 → 0.0.0-dev-21225

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{websearch-0jspa6zs.js → location-lifecycle-02yqz1pf.js} +13 -13
  8. package/dist/chunks/{websearch-vtbhp86a.js → location-lifecycle-0396je17.js} +19 -19
  9. package/dist/chunks/{websearch-shhjjnsc.js → location-lifecycle-078jfm9t.js} +8 -8
  10. package/dist/chunks/{websearch-3y4x7fjm.js → location-lifecycle-0dy8m3zv.js} +6 -6
  11. package/dist/chunks/{websearch-0vbcp93d.js → location-lifecycle-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{websearch-xrttfryv.js → location-lifecycle-11tneqnq.js} +60 -60
  13. package/dist/chunks/{websearch-a820vvr1.js → location-lifecycle-15btyxjj.js} +14 -14
  14. package/dist/chunks/{websearch-e7jsfe8q.js → location-lifecycle-1afpt04b.js} +50 -50
  15. package/dist/chunks/{websearch-ry7qycn4.js → location-lifecycle-1azvf0ek.js} +191 -191
  16. package/dist/chunks/{websearch-qk9g970a.js → location-lifecycle-1ghf8zs3.js} +11 -11
  17. package/dist/chunks/{websearch-y7kp3jw0.js → location-lifecycle-1kxs112r.js} +24 -24
  18. package/dist/chunks/{websearch-63v2gbt2.js → location-lifecycle-1mvt4qzw.js} +11 -11
  19. package/dist/chunks/{websearch-x5z971sw.js → location-lifecycle-1r4x6jaa.js} +96 -96
  20. package/dist/chunks/{websearch-kx7btjcr.js → location-lifecycle-1wjncy0c.js} +23 -23
  21. package/dist/chunks/{websearch-dgzme5wp.js → location-lifecycle-1z7ambyv.js} +5 -5
  22. package/dist/chunks/{websearch-b9gz16sy.js → location-lifecycle-260ykpsb.js} +27 -27
  23. package/dist/chunks/{websearch-t90nd26b.js → location-lifecycle-2b0aj9p1.js} +17 -17
  24. package/dist/chunks/{websearch-p2wxn54t.js → location-lifecycle-2f2t2pv3.js} +11 -11
  25. package/dist/chunks/{websearch-x2dzfeyp.js → location-lifecycle-2re0xxhj.js} +51 -51
  26. package/dist/chunks/{websearch-0b5g1ynf.js → location-lifecycle-2ryng5r3.js} +4 -4
  27. package/dist/chunks/{websearch-gd3e21re.js → location-lifecycle-2zsw6cww.js} +32 -32
  28. package/dist/chunks/{websearch-7jvhq5gb.js → location-lifecycle-30wpx0dj.js} +22 -22
  29. package/dist/chunks/{websearch-86fewpp3.js → location-lifecycle-35xn2gh1.js} +23 -23
  30. package/dist/chunks/{websearch-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{websearch-4ghskkf3.js → location-lifecycle-3fsmcja4.js} +23 -23
  32. package/dist/chunks/{websearch-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{websearch-3hwn7j4h.js → location-lifecycle-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{websearch-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{websearch-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{websearch-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{websearch-pk9k5r3w.js → location-lifecycle-47g78yad.js} +5 -5
  38. package/dist/chunks/{websearch-xbc6qp68.js → location-lifecycle-4az1a8cs.js} +6 -6
  39. package/dist/chunks/{websearch-16pq2whc.js → location-lifecycle-4cg1k04t.js} +12 -12
  40. package/dist/chunks/{websearch-5aec44te.js → location-lifecycle-4h2r7ygm.js} +6 -6
  41. package/dist/chunks/{websearch-5vess9d2.js → location-lifecycle-4kzt1szv.js} +23 -23
  42. package/dist/chunks/{websearch-2kqhrdmh.js → location-lifecycle-4pm2zvx4.js} +37 -37
  43. package/dist/chunks/{websearch-54ma36ye.js → location-lifecycle-54ma36ye.js} +1 -1
  44. package/dist/chunks/{websearch-dgrm2w19.js → location-lifecycle-54qjajwn.js} +24 -24
  45. package/dist/chunks/{websearch-96jg49av.js → location-lifecycle-54tegpm9.js} +28 -28
  46. package/dist/chunks/{websearch-c93sr89b.js → location-lifecycle-5582nyc3.js} +4 -4
  47. package/dist/chunks/{websearch-80z0vyq9.js → location-lifecycle-55p8xrkh.js} +9 -9
  48. package/dist/chunks/{websearch-tk14y25j.js → location-lifecycle-57myy5jh.js} +5 -5
  49. package/dist/chunks/{websearch-3ew8rkf7.js → location-lifecycle-59ez5ny7.js} +14 -14
  50. package/dist/chunks/{websearch-g6q9qykm.js → location-lifecycle-5d607bsg.js} +9 -9
  51. package/dist/chunks/{websearch-5m7ht46p.js → location-lifecycle-5h69s2y5.js} +11 -11
  52. package/dist/chunks/{websearch-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{websearch-e3qxr5gk.js → location-lifecycle-5qd3pb7m.js} +2 -2
  54. package/dist/chunks/{websearch-nms2wt4g.js → location-lifecycle-607px8n0.js} +14 -14
  55. package/dist/chunks/{websearch-4jj13pkf.js → location-lifecycle-63dwnky5.js} +22 -22
  56. package/dist/chunks/{websearch-6827pfxn.js → location-lifecycle-6827pfxn.js} +1 -1
  57. package/dist/chunks/{websearch-m7ey3t0g.js → location-lifecycle-695sqb9h.js} +11 -11
  58. package/dist/chunks/{websearch-7vt1m3kq.js → location-lifecycle-6984ve19.js} +5 -5
  59. package/dist/chunks/{websearch-qf8hqpy6.js → location-lifecycle-6ebfbtkv.js} +6 -6
  60. package/dist/chunks/{websearch-w6n09bsv.js → location-lifecycle-6f9fh71a.js} +8 -8
  61. package/dist/chunks/{websearch-7e24cw9c.js → location-lifecycle-6fmd39tn.js} +50 -50
  62. package/dist/chunks/{websearch-762e5b2q.js → location-lifecycle-6we61vct.js} +22 -22
  63. package/dist/chunks/{websearch-6xb47vfp.js → location-lifecycle-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{websearch-e43bgd9j.js → location-lifecycle-72ejs4yy.js} +11 -11
  65. package/dist/chunks/{websearch-g5d66h7n.js → location-lifecycle-75aqn353.js} +49 -49
  66. package/dist/chunks/{websearch-775gj3j1.js → location-lifecycle-775gj3j1.js} +2 -2
  67. package/dist/chunks/{websearch-3356qk4w.js → location-lifecycle-781hgxz9.js} +26 -26
  68. package/dist/chunks/{websearch-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{websearch-fcrkznn8.js → location-lifecycle-7dqw4kz8.js} +5 -5
  70. package/dist/chunks/{websearch-h3ga5h05.js → location-lifecycle-7e65fbvj.js} +17 -17
  71. package/dist/chunks/{websearch-ahd542yp.js → location-lifecycle-7j2qha59.js} +8 -8
  72. package/dist/chunks/{websearch-ffc15gys.js → location-lifecycle-7p1f4xp8.js} +15 -15
  73. package/dist/chunks/{websearch-gs3s1a1g.js → location-lifecycle-7s451enq.js} +8 -8
  74. package/dist/chunks/{websearch-bnwfhg91.js → location-lifecycle-7v8jrtq9.js} +25 -25
  75. package/dist/chunks/{websearch-84txncab.js → location-lifecycle-84txncab.js} +1 -1
  76. package/dist/chunks/{websearch-14tnpq20.js → location-lifecycle-89k3ytm0.js} +22 -22
  77. package/dist/chunks/{websearch-2rcszdm4.js → location-lifecycle-89qjhs6t.js} +27 -27
  78. package/dist/chunks/{websearch-baaqp4zd.js → location-lifecycle-8gxqpgph.js} +4 -4
  79. package/dist/chunks/{websearch-f70y1yam.js → location-lifecycle-8k6988sv.js} +25 -25
  80. package/dist/chunks/{websearch-r0dj4qvr.js → location-lifecycle-8m024czr.js} +17 -17
  81. package/dist/chunks/{websearch-8m6m0r52.js → location-lifecycle-8m6m0r52.js} +1 -1
  82. package/dist/chunks/{websearch-rkprpv83.js → location-lifecycle-8sze2n9a.js} +6 -6
  83. package/dist/chunks/{websearch-e9bdbk7q.js → location-lifecycle-8wcztz1y.js} +22 -22
  84. package/dist/chunks/{websearch-3me7dwrv.js → location-lifecycle-9wxyxwvg.js} +28 -28
  85. package/dist/chunks/{websearch-2t00a1ge.js → location-lifecycle-9z1tgkt7.js} +8 -8
  86. package/dist/chunks/{websearch-0rx25b3a.js → location-lifecycle-a7k07a0r.js} +31 -31
  87. package/dist/chunks/{websearch-dgpsrprm.js → location-lifecycle-addxnjmp.js} +4 -4
  88. package/dist/chunks/{websearch-bwc6w5e3.js → location-lifecycle-af13pbh4.js} +24 -24
  89. package/dist/chunks/{websearch-pnw32wjv.js → location-lifecycle-afghd5ye.js} +13 -13
  90. package/dist/chunks/{websearch-31261pdq.js → location-lifecycle-akwe29sb.js} +17 -17
  91. package/dist/chunks/{websearch-0sd51dq6.js → location-lifecycle-aq7td031.js} +17 -17
  92. package/dist/chunks/{websearch-76304eqm.js → location-lifecycle-ba86n9wp.js} +26 -26
  93. package/dist/chunks/{websearch-9j7x1428.js → location-lifecycle-bbt6kwxg.js} +23 -23
  94. package/dist/chunks/{websearch-67zjm8xa.js → location-lifecycle-bdtjpmhe.js} +12 -12
  95. package/dist/chunks/{websearch-rs143gbp.js → location-lifecycle-bvfjyde5.js} +32 -32
  96. package/dist/chunks/{websearch-bzeyqsqd.js → location-lifecycle-bzeyqsqd.js} +1 -1
  97. package/dist/chunks/{websearch-br29hxcj.js → location-lifecycle-c0zg8c6f.js} +19 -19
  98. package/dist/chunks/{websearch-rj3eygr5.js → location-lifecycle-c41wscbt.js} +2 -2
  99. package/dist/chunks/{websearch-e80seqcp.js → location-lifecycle-c7zza6wf.js} +3 -3
  100. package/dist/chunks/{websearch-sa8ekw3f.js → location-lifecycle-c8ax2afj.js} +2 -2
  101. package/dist/chunks/{websearch-a9xpmzy9.js → location-lifecycle-c8xbbqnc.js} +27 -27
  102. package/dist/chunks/{websearch-gkpdrz2m.js → location-lifecycle-c9936egs.js} +10 -10
  103. package/dist/chunks/{websearch-nx9njvw5.js → location-lifecycle-c9mdeg46.js} +4 -4
  104. package/dist/chunks/{websearch-fzvw3sme.js → location-lifecycle-cd1hftv2.js} +24 -24
  105. package/dist/chunks/{websearch-xwjs8ww6.js → location-lifecycle-ce3hp9gv.js} +11 -11
  106. package/dist/chunks/{websearch-t1n3psfc.js → location-lifecycle-cf3kp6ja.js} +4 -4
  107. package/dist/chunks/{websearch-7k0d8gn1.js → location-lifecycle-cj14cmsv.js} +13 -13
  108. package/dist/chunks/{websearch-m91anb0y.js → location-lifecycle-cq56qfwj.js} +5 -5
  109. package/dist/chunks/location-lifecycle-ctefx7dc.js +18 -0
  110. package/dist/chunks/{websearch-246v0tc9.js → location-lifecycle-ctqzsr68.js} +40 -40
  111. package/dist/chunks/{websearch-e2h8kkd4.js → location-lifecycle-cv8r2mmt.js} +12 -12
  112. package/dist/chunks/{websearch-phstrbs2.js → location-lifecycle-czfptnv9.js} +8 -8
  113. package/dist/chunks/{websearch-pxhmaprh.js → location-lifecycle-d06zwh9p.js} +25 -25
  114. package/dist/chunks/{websearch-ea6pkrn3.js → location-lifecycle-d0mq8tsb.js} +2 -2
  115. package/dist/chunks/{websearch-h978070j.js → location-lifecycle-d1a28jh7.js} +5 -5
  116. package/dist/chunks/{websearch-b27vhd2z.js → location-lifecycle-d216944b.js} +7 -7
  117. package/dist/chunks/{websearch-enzk9cpf.js → location-lifecycle-d2fh7std.js} +29 -29
  118. package/dist/chunks/{websearch-8qbbsma3.js → location-lifecycle-d347t65w.js} +26 -26
  119. package/dist/chunks/{websearch-mnvvj4zr.js → location-lifecycle-d86m1rj0.js} +34 -34
  120. package/dist/chunks/{websearch-5cgfmz7c.js → location-lifecycle-d8pkrf5h.js} +3 -3
  121. package/dist/chunks/{websearch-vnbyr4se.js → location-lifecycle-dda9ms3f.js} +18 -18
  122. package/dist/chunks/{websearch-49krk8vq.js → location-lifecycle-dnywr8gb.js} +13 -13
  123. package/dist/chunks/{websearch-y71avatq.js → location-lifecycle-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{websearch-gk6kjc9e.js → location-lifecycle-dpxmnsbq.js} +25 -25
  125. package/dist/chunks/{websearch-pny0r53y.js → location-lifecycle-dse8h8s6.js} +43 -43
  126. package/dist/chunks/{websearch-17s7qcny.js → location-lifecycle-dxskvh44.js} +19 -19
  127. package/dist/chunks/{websearch-qqsk58jw.js → location-lifecycle-e0fmkkrk.js} +11 -11
  128. package/dist/chunks/{websearch-f4gks0ax.js → location-lifecycle-e1gt835v.js} +18 -18
  129. package/dist/chunks/{websearch-mk19mbca.js → location-lifecycle-edfw93ys.js} +12 -12
  130. package/dist/chunks/{websearch-eej6y6fw.js → location-lifecycle-eej6y6fw.js} +2 -2
  131. package/dist/chunks/{websearch-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{websearch-wgahhr0x.js → location-lifecycle-emzsebxx.js} +6 -6
  133. package/dist/chunks/{websearch-c1fqxshp.js → location-lifecycle-es1vcfrp.js} +3 -3
  134. package/dist/chunks/{websearch-a3qv28kg.js → location-lifecycle-etjx4h4r.js} +20 -20
  135. package/dist/chunks/{websearch-dt3hm876.js → location-lifecycle-f8emv4xh.js} +2 -2
  136. package/dist/chunks/{websearch-4grvyymx.js → location-lifecycle-fbr293qy.js} +10 -10
  137. package/dist/chunks/{websearch-fcy631f0.js → location-lifecycle-fcy631f0.js} +1 -1
  138. package/dist/chunks/{websearch-d1e92g2x.js → location-lifecycle-ff1xkr9y.js} +16 -16
  139. package/dist/chunks/{websearch-b4kv1q3d.js → location-lifecycle-fk55swpw.js} +4 -4
  140. package/dist/chunks/{websearch-my6mhyca.js → location-lifecycle-fnk67yax.js} +36 -36
  141. package/dist/chunks/{websearch-pj2v6jcx.js → location-lifecycle-ft2jx7b3.js} +5 -5
  142. package/dist/chunks/{websearch-1djby03j.js → location-lifecycle-fycz597j.js} +13 -13
  143. package/dist/chunks/{websearch-x9eehk7h.js → location-lifecycle-g4az1zet.js} +32 -32
  144. package/dist/chunks/{websearch-2940qx8c.js → location-lifecycle-g4yc7aag.js} +5 -5
  145. package/dist/chunks/{websearch-686rhz5m.js → location-lifecycle-g751vwq2.js} +32 -32
  146. package/dist/chunks/{websearch-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{websearch-gx4sppz1.js → location-lifecycle-ggcvx0ry.js} +10 -10
  148. package/dist/chunks/{websearch-vabrjmgk.js → location-lifecycle-gh2e7mrf.js} +1 -1
  149. package/dist/chunks/{websearch-2k9fjx65.js → location-lifecycle-gj71zhbs.js} +5 -5
  150. package/dist/chunks/{websearch-cxybd8s1.js → location-lifecycle-gr1zjdtk.js} +16 -16
  151. package/dist/chunks/{websearch-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{websearch-r96k90r2.js → location-lifecycle-h9qe49vr.js} +43 -43
  153. package/dist/chunks/{websearch-gd0tnyjc.js → location-lifecycle-he27pt63.js} +1 -1
  154. package/dist/chunks/{websearch-88723a74.js → location-lifecycle-hg5ffjfb.js} +5 -5
  155. package/dist/chunks/{websearch-hgz4x7wa.js → location-lifecycle-hgz4x7wa.js} +1 -1
  156. package/dist/chunks/{websearch-1w2wqhfv.js → location-lifecycle-hq3c8me3.js} +4 -4
  157. package/dist/chunks/{websearch-qsq1hnwm.js → location-lifecycle-hqck28wd.js} +18 -18
  158. package/dist/chunks/{websearch-s1kvmffy.js → location-lifecycle-hwjyn0yt.js} +9 -9
  159. package/dist/chunks/{websearch-91qna3x0.js → location-lifecycle-j09zfasm.js} +3 -3
  160. package/dist/chunks/{websearch-h7me9c7a.js → location-lifecycle-j4zgmpc2.js} +11 -11
  161. package/dist/chunks/{websearch-pfyqag78.js → location-lifecycle-jbzpnqck.js} +15 -15
  162. package/dist/chunks/{websearch-vmsn7365.js → location-lifecycle-jf845d62.js} +14 -14
  163. package/dist/chunks/{websearch-jpddy1wf.js → location-lifecycle-jq1m8ht5.js} +29 -29
  164. package/dist/chunks/{websearch-z7se6kvy.js → location-lifecycle-jqhmcmeg.js} +9 -9
  165. package/dist/chunks/{websearch-tp65tks7.js → location-lifecycle-jrwmj463.js} +13 -13
  166. package/dist/chunks/{websearch-9enkw6hy.js → location-lifecycle-js93qr4h.js} +16 -16
  167. package/dist/chunks/location-lifecycle-jvhcgpqb.js +26 -0
  168. package/dist/chunks/{websearch-sn8tyy2m.js → location-lifecycle-jwe28rce.js} +22 -22
  169. package/dist/chunks/{websearch-jpqeh2wc.js → location-lifecycle-k0a3z2qz.js} +4 -4
  170. package/dist/chunks/{websearch-0ma7h6ad.js → location-lifecycle-k1jx8dbv.js} +18 -18
  171. package/dist/chunks/{websearch-g75rryd5.js → location-lifecycle-kc0px9k5.js} +27 -27
  172. package/dist/chunks/location-lifecycle-khbb1r3r.js +513 -0
  173. package/dist/chunks/{websearch-fzxe8swn.js → location-lifecycle-kkck9t7z.js} +8 -8
  174. package/dist/chunks/{websearch-x65zg2f4.js → location-lifecycle-kkmn6qry.js} +4 -4
  175. package/dist/chunks/{websearch-vktwk5kv.js → location-lifecycle-kr1vnkd9.js} +9 -9
  176. package/dist/chunks/{websearch-kwb1v3vj.js → location-lifecycle-kwb1v3vj.js} +1 -1
  177. package/dist/chunks/{websearch-e6qj70wv.js → location-lifecycle-m0ph700x.js} +42 -42
  178. package/dist/chunks/{websearch-560pyh3z.js → location-lifecycle-m2b6v9cc.js} +11 -11
  179. package/dist/chunks/{websearch-kvbtfxr1.js → location-lifecycle-m4f5eap6.js} +9 -9
  180. package/dist/chunks/{websearch-31kc2c59.js → location-lifecycle-m6gwzbg0.js} +18 -18
  181. package/dist/chunks/{websearch-xq9p6z8f.js → location-lifecycle-m8zcef18.js} +9 -9
  182. package/dist/chunks/{websearch-vcshv6ve.js → location-lifecycle-m95e7rsz.js} +15 -15
  183. package/dist/chunks/{websearch-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{websearch-maspj1v3.js → location-lifecycle-maspj1v3.js} +1 -1
  185. package/dist/chunks/{websearch-p3b29jcp.js → location-lifecycle-mjj2pff8.js} +7 -7
  186. package/dist/chunks/{websearch-dwvv1d4k.js → location-lifecycle-mqj6hke2.js} +3 -3
  187. package/dist/chunks/{websearch-hwk270qq.js → location-lifecycle-n30fntma.js} +49 -49
  188. package/dist/chunks/{websearch-x9gmf1h5.js → location-lifecycle-nnj5ddfb.js} +33 -33
  189. package/dist/chunks/{websearch-ymgkxg7n.js → location-lifecycle-npw39rc8.js} +11 -11
  190. package/dist/chunks/{websearch-fnd7y97v.js → location-lifecycle-p1gbbhxc.js} +18 -18
  191. package/dist/chunks/{websearch-74q1kx8s.js → location-lifecycle-p27rdnkk.js} +33 -33
  192. package/dist/chunks/location-lifecycle-p3r2p6x2.js +257 -0
  193. package/dist/chunks/{websearch-2caf64h0.js → location-lifecycle-pa2zdcgf.js} +8 -8
  194. package/dist/chunks/{websearch-vv31ba1z.js → location-lifecycle-pdq7q66p.js} +45 -45
  195. package/dist/chunks/{websearch-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{websearch-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  197. package/dist/chunks/{websearch-r7271wee.js → location-lifecycle-pnsjedwv.js} +5 -5
  198. package/dist/chunks/{websearch-yegdtzkd.js → location-lifecycle-q0nrsbdj.js} +10 -10
  199. package/dist/chunks/{websearch-6ke9rgy7.js → location-lifecycle-q12p87yz.js} +34 -34
  200. package/dist/chunks/{websearch-jrjwnzfm.js → location-lifecycle-q9arkc6z.js} +1 -1
  201. package/dist/chunks/{websearch-33hcprh0.js → location-lifecycle-qe16ck7w.js} +45 -45
  202. package/dist/chunks/{websearch-qnc92qwc.js → location-lifecycle-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{websearch-hrxpwfpw.js → location-lifecycle-qs910jka.js} +11 -11
  204. package/dist/chunks/{websearch-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
  205. package/dist/chunks/{websearch-dp4nj4d1.js → location-lifecycle-r0yrfec0.js} +1 -1
  206. package/dist/chunks/{websearch-5rh77ejg.js → location-lifecycle-r5q76s5y.js} +7 -7
  207. package/dist/chunks/{websearch-vbh98mes.js → location-lifecycle-r6eqserw.js} +11 -11
  208. package/dist/chunks/{websearch-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{websearch-q40ec3gz.js → location-lifecycle-rfzpkp7g.js} +3 -3
  210. package/dist/chunks/{websearch-t550f9t1.js → location-lifecycle-rhjbct0v.js} +4 -4
  211. package/dist/chunks/{websearch-3g3960hh.js → location-lifecycle-rk5w8j3b.js} +17 -17
  212. package/dist/chunks/{websearch-xmaw0eaa.js → location-lifecycle-rsnhe065.js} +34 -34
  213. package/dist/chunks/{websearch-5864nzwg.js → location-lifecycle-rtm93tmp.js} +11 -11
  214. package/dist/chunks/{websearch-408djvx8.js → location-lifecycle-rw7tcjq0.js} +17 -17
  215. package/dist/chunks/{websearch-w91kb5tp.js → location-lifecycle-ry7sv2sp.js} +12 -12
  216. package/dist/chunks/{websearch-br2ajpjf.js → location-lifecycle-s0rhbd2j.js} +24 -24
  217. package/dist/chunks/{websearch-j2n35z42.js → location-lifecycle-s4k5tj5e.js} +7 -7
  218. package/dist/chunks/{websearch-p4yy72g7.js → location-lifecycle-s8wsn1ke.js} +94 -94
  219. package/dist/chunks/{websearch-me3jg3z9.js → location-lifecycle-sd0j03yg.js} +37 -37
  220. package/dist/chunks/{websearch-tneznqz4.js → location-lifecycle-se6v5b7p.js} +13 -13
  221. package/dist/chunks/{websearch-m54bh4ta.js → location-lifecycle-sfha69e5.js} +13 -13
  222. package/dist/chunks/{websearch-z7h38hxc.js → location-lifecycle-st816g4q.js} +11 -11
  223. package/dist/chunks/{websearch-syv4x271.js → location-lifecycle-syv4x271.js} +1 -1
  224. package/dist/chunks/{websearch-1j6m29mr.js → location-lifecycle-sz15zhhw.js} +9 -9
  225. package/dist/chunks/{websearch-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{websearch-8ncv3257.js → location-lifecycle-tbdgfpnd.js} +78 -78
  227. package/dist/chunks/{websearch-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{websearch-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
  229. package/dist/chunks/{websearch-rert0e01.js → location-lifecycle-tkb22qbm.js} +2 -2
  230. package/dist/chunks/{websearch-tm0kqsz3.js → location-lifecycle-tm0kqsz3.js} +1 -1
  231. package/dist/chunks/{websearch-p2fnpnpq.js → location-lifecycle-tmtp1pcb.js} +27 -27
  232. package/dist/chunks/{websearch-qnkh0g7e.js → location-lifecycle-tnr8qtc8.js} +11 -11
  233. package/dist/chunks/{websearch-q14gqrwp.js → location-lifecycle-tqzajddm.js} +25 -25
  234. package/dist/chunks/{websearch-395q6j9z.js → location-lifecycle-tt8gc4fv.js} +6 -6
  235. package/dist/chunks/{websearch-e7544r3d.js → location-lifecycle-ttvbz5a0.js} +40 -40
  236. package/dist/chunks/{websearch-7hd1qm23.js → location-lifecycle-tx68p9ax.js} +24 -24
  237. package/dist/chunks/{websearch-cdagb9hr.js → location-lifecycle-tym65pn8.js} +18 -18
  238. package/dist/chunks/{websearch-tyytaxap.js → location-lifecycle-tyytaxap.js} +1 -1
  239. package/dist/chunks/{websearch-1k2pa5az.js → location-lifecycle-v210v162.js} +9 -9
  240. package/dist/chunks/{websearch-g5zw4trq.js → location-lifecycle-v4qk44j4.js} +9 -9
  241. package/dist/chunks/{websearch-zd41cs62.js → location-lifecycle-v5db55nh.js} +9 -9
  242. package/dist/chunks/{websearch-89vjf07m.js → location-lifecycle-v6ghzfeb.js} +5 -5
  243. package/dist/chunks/{websearch-v7p4zvkq.js → location-lifecycle-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{websearch-psw4htx6.js → location-lifecycle-v8cmy866.js} +8 -8
  245. package/dist/chunks/{websearch-9ndz9apn.js → location-lifecycle-vckptexg.js} +15 -15
  246. package/dist/chunks/{websearch-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  247. package/dist/chunks/{websearch-gj6ej50n.js → location-lifecycle-vh8ckttc.js} +36 -36
  248. package/dist/chunks/{websearch-ewev2d8f.js → location-lifecycle-vq9aavz4.js} +12 -12
  249. package/dist/chunks/{websearch-my6749he.js → location-lifecycle-vsfget0z.js} +14 -14
  250. package/dist/chunks/{websearch-08rawchj.js → location-lifecycle-vx3jgdek.js} +3 -3
  251. package/dist/chunks/{websearch-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{websearch-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{websearch-6wtj175e.js → location-lifecycle-w8edt1q4.js} +50 -50
  254. package/dist/chunks/{websearch-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  255. package/dist/chunks/{websearch-czbb84tb.js → location-lifecycle-wggznzgf.js} +3 -3
  256. package/dist/chunks/{websearch-6jyskdaq.js → location-lifecycle-wh8kvkph.js} +4 -4
  257. package/dist/chunks/{websearch-89t7raa1.js → location-lifecycle-wjjn4kzj.js} +17 -17
  258. package/dist/chunks/{websearch-ywt8jp22.js → location-lifecycle-wjr9rjd7.js} +6 -6
  259. package/dist/chunks/{websearch-221f1e88.js → location-lifecycle-wvpm2d85.js} +21 -21
  260. package/dist/chunks/{websearch-3ftchhay.js → location-lifecycle-wxeknpxm.js} +11 -11
  261. package/dist/chunks/{websearch-88hv1pmh.js → location-lifecycle-x034mn82.js} +11 -11
  262. package/dist/chunks/{websearch-9p3hty2e.js → location-lifecycle-x4mwvgdt.js} +32 -32
  263. package/dist/chunks/{websearch-ma8yckng.js → location-lifecycle-xbddaxx6.js} +34 -34
  264. package/dist/chunks/{websearch-gjmk74th.js → location-lifecycle-xcd0eash.js} +5 -5
  265. package/dist/chunks/{websearch-drwq78ky.js → location-lifecycle-xfkkasph.js} +4 -4
  266. package/dist/chunks/{websearch-782zrs06.js → location-lifecycle-xj1aydcy.js} +5 -5
  267. package/dist/chunks/{websearch-stpptdzq.js → location-lifecycle-xkg3wtg9.js} +54 -54
  268. package/dist/chunks/{websearch-0fpjtet3.js → location-lifecycle-xq78qv1x.js} +30 -30
  269. package/dist/chunks/{websearch-y4xf82q9.js → location-lifecycle-xqz3gp2k.js} +27 -27
  270. package/dist/chunks/{websearch-dreqgzvx.js → location-lifecycle-xry37qyv.js} +35 -35
  271. package/dist/chunks/{websearch-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{websearch-1d5g2359.js → location-lifecycle-y3kk8hnd.js} +4 -4
  273. package/dist/chunks/{websearch-qbqbaz6q.js → location-lifecycle-y6mhz57t.js} +4 -4
  274. package/dist/chunks/{websearch-b6cc36yj.js → location-lifecycle-y8z6zp49.js} +6 -6
  275. package/dist/chunks/{websearch-a41ypxxk.js → location-lifecycle-ybrxzqz1.js} +50 -50
  276. package/dist/chunks/{websearch-1acjjqhc.js → location-lifecycle-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{websearch-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{websearch-f7xs1qns.js → location-lifecycle-z6js6zeq.js} +12 -12
  279. package/dist/chunks/{websearch-c19pq400.js → location-lifecycle-z8a72chb.js} +11 -11
  280. package/dist/chunks/{websearch-jqnvbgrg.js → location-lifecycle-zhdsm0ct.js} +35 -35
  281. package/dist/chunks/{websearch-r7zf4xmz.js → location-lifecycle-zkbpdh80.js} +17 -17
  282. package/dist/chunks/{websearch-42pyk7nk.js → location-lifecycle-zq2fbahv.js} +6 -6
  283. package/dist/chunks/{websearch-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{websearch-4z58m4b4.js → location-lifecycle-zsr4wwhv.js} +4 -4
  285. package/dist/chunks/{websearch-x5xc9net.js → location-lifecycle-zv7t0c96.js} +25 -25
  286. package/dist/chunks/{websearch-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +114 -114
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +134 -134
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +116 -116
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +72 -72
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -81
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +367 -367
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +215 -215
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +82 -82
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +3 -3
  455. package/dist/instance.js +358 -358
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +136 -136
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +91 -91
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +92 -92
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +331 -331
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +123 -123
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +350 -350
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +92 -92
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +90 -90
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +77 -77
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +214 -214
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +130 -130
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +107 -107
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +211 -211
  649. package/dist/tool/plugin/webfetch.js +112 -112
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +124 -124
  652. package/dist/tool/read-filesystem.js +102 -102
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +95 -95
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +88 -88
  678. package/dist/websearch.js +86 -86
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +83 -83
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/websearch-9zdhvgqs.js +0 -18
  691. package/dist/chunks/websearch-a45qcd57.js +0 -26
  692. package/dist/chunks/websearch-rckfce9y.js +0 -257
  693. package/dist/chunks/websearch-xvwcym22.js +0 -513
  694. /package/dist/chunks/{websearch-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{websearch-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{websearch-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{websearch-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{websearch-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{websearch-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{websearch-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{websearch-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{websearch-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{websearch-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{websearch-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{websearch-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  706. /package/dist/chunks/{websearch-3t0ybcrp.js → location-lifecycle-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{websearch-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{websearch-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{websearch-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{websearch-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{websearch-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{websearch-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{websearch-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  714. /package/dist/chunks/{websearch-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{websearch-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  716. /package/dist/chunks/{websearch-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{websearch-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{websearch-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{websearch-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  720. /package/dist/chunks/{websearch-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{websearch-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{websearch-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{websearch-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{websearch-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{websearch-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{websearch-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{websearch-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{websearch-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{websearch-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{websearch-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{websearch-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{websearch-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{websearch-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{websearch-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{websearch-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{websearch-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{websearch-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{websearch-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{websearch-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  740. /package/dist/chunks/{websearch-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{websearch-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{websearch-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{websearch-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{websearch-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{websearch-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{websearch-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{websearch-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{websearch-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{websearch-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{websearch-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{websearch-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  752. /package/dist/chunks/{websearch-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{websearch-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  754. /package/dist/chunks/{websearch-hcxmzztb.js → location-lifecycle-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{websearch-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  756. /package/dist/chunks/{websearch-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{websearch-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{websearch-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{websearch-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{websearch-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{websearch-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{websearch-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{websearch-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
  764. /package/dist/chunks/{websearch-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{websearch-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{websearch-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{websearch-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{websearch-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{websearch-pkyv6v7h.js → location-lifecycle-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{websearch-pyv0edze.js → location-lifecycle-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{websearch-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{websearch-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{websearch-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{websearch-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{websearch-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{websearch-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{websearch-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{websearch-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{websearch-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{websearch-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{websearch-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{websearch-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{websearch-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{websearch-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{websearch-wjj7prxr.js → location-lifecycle-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{websearch-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{websearch-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{websearch-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  789. /package/dist/chunks/{websearch-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{websearch-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{websearch-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{websearch-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{websearch-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{websearch-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID12,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./websearch-enzk9cpf.js";
7
+ } from "./location-lifecycle-d2fh7std.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./location-lifecycle-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service55,
17
+ Service: () => Service67,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node58
19
+ node: () => node70
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID12,
154
+ providerID: ID13,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service55 extends Context.Service()("@opencode/AISDK") {
162
+ class Service67 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service67, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service55.of({
202
+ const service = Service67.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node58 = makeLocationNode({ service: Service55, layer: locationLayer2, deps: [] });
877
+ var node70 = makeLocationNode({ service: Service67, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service55, locationLayer2, node58, exports_aisdk };
879
+ export { InitError2, Service67, locationLayer2, node70, exports_aisdk };
@@ -1,83 +1,83 @@
1
- import {
2
- Service86,
3
- node90
4
- } from "./websearch-z7h38hxc.js";
5
1
  import {
6
2
  Service85,
7
3
  node89
8
- } from "./websearch-d1e92g2x.js";
4
+ } from "./location-lifecycle-st816g4q.js";
5
+ import {
6
+ Service84,
7
+ node88
8
+ } from "./location-lifecycle-ff1xkr9y.js";
9
9
  import {
10
10
  create3
11
- } from "./websearch-rdw6cm16.js";
11
+ } from "./location-lifecycle-rdw6cm16.js";
12
12
  import {
13
- ID8,
14
- Service68,
15
- node71
16
- } from "./websearch-p2fnpnpq.js";
13
+ ID10,
14
+ Service72,
15
+ node75
16
+ } from "./location-lifecycle-tmtp1pcb.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./websearch-775gj3j1.js";
19
+ } from "./location-lifecycle-775gj3j1.js";
20
20
  import {
21
- Service74,
22
- node77
23
- } from "./websearch-mnvvj4zr.js";
21
+ Service77,
22
+ node81
23
+ } from "./location-lifecycle-d86m1rj0.js";
24
24
  import {
25
25
  estimate2
26
- } from "./websearch-h6vf3j39.js";
26
+ } from "./location-lifecycle-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./websearch-ec1grn59.js";
29
+ } from "./location-lifecycle-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./websearch-4z58m4b4.js";
35
+ } from "./location-lifecycle-zsr4wwhv.js";
36
36
  import {
37
- load4
38
- } from "./websearch-5864nzwg.js";
37
+ load5
38
+ } from "./location-lifecycle-rtm93tmp.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./websearch-gd0tnyjc.js";
41
+ } from "./location-lifecycle-he27pt63.js";
42
42
  import {
43
43
  outputLimit2,
44
44
  baseTranscript2,
45
45
  unsupportedParts2,
46
46
  boundImages2,
47
- Service24,
48
- node27
49
- } from "./websearch-x9gmf1h5.js";
47
+ Service40,
48
+ node44
49
+ } from "./location-lifecycle-nnj5ddfb.js";
50
50
  import {
51
- Service52,
52
- node55
53
- } from "./websearch-tneznqz4.js";
51
+ Service51,
52
+ node53
53
+ } from "./location-lifecycle-se6v5b7p.js";
54
54
  import {
55
55
  isRetryable2,
56
56
  policy2
57
- } from "./websearch-395q6j9z.js";
57
+ } from "./location-lifecycle-tt8gc4fv.js";
58
58
  import {
59
59
  toSessionError2,
60
60
  contentFilterError2
61
- } from "./websearch-pj2v6jcx.js";
61
+ } from "./location-lifecycle-ft2jx7b3.js";
62
62
  import {
63
63
  calculateCost2,
64
64
  record2,
65
65
  add2
66
- } from "./websearch-tdstcens.js";
66
+ } from "./location-lifecycle-tdstcens.js";
67
67
  import {
68
68
  __export
69
- } from "./websearch-9rqn6x4v.js";
69
+ } from "./location-lifecycle-9rqn6x4v.js";
70
70
 
71
71
  // src/session/compaction.ts
72
72
  var exports_compaction2 = {};
73
73
  __export(exports_compaction2, {
74
- Service: () => Service7,
74
+ Service: () => Service12,
75
75
  SessionCompaction: () => exports_compaction2,
76
76
  buildPrompt: () => buildPrompt2,
77
77
  estimateContext: () => estimateContext2,
78
78
  estimatePrompt: () => estimatePrompt2,
79
- layer: () => layer6,
80
- node: () => node9,
79
+ layer: () => layer8,
80
+ node: () => node14,
81
81
  recentUserMessages: () => recentUserMessages2
82
82
  });
83
83
  import {
@@ -93,7 +93,7 @@ import {
93
93
  } from "@opencode/ai";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
95
  import { Context, Effect, Layer, Result, Stream } from "effect";
96
- class Service7 extends Context.Service()("@opencode/SessionCompaction") {
96
+ class Service12 extends Context.Service()("@opencode/SessionCompaction") {
97
97
  }
98
98
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
99
99
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -173,14 +173,14 @@ var buildPrompt2 = (update, legacy = false) => {
173
173
  };
174
174
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
175
175
  var LEGACY_HEADING = "## Additional Context";
176
- var layer6 = Layer.effect(Service7, Effect.gen(function* () {
177
- const agents = yield* Service68;
178
- const bus = yield* Service85;
176
+ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
177
+ const agents = yield* Service72;
178
+ const bus = yield* Service84;
179
179
  const llm = yield* LLMClient.Service;
180
- const catalog = yield* Service74;
181
- const models = yield* Service52;
182
- const db = (yield* Service86).db;
183
- const requests = yield* Service24;
180
+ const catalog = yield* Service77;
181
+ const models = yield* Service51;
182
+ const db = (yield* Service85).db;
183
+ const requests = yield* Service40;
184
184
  const state = create3({
185
185
  name: "session-compaction",
186
186
  initial: () => ({ auto: true, keep: 15000 }),
@@ -198,7 +198,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
198
198
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
199
199
  return { status: "skipped" };
200
200
  const native = context.model.compaction?.type === "native";
201
- const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
201
+ const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
202
202
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
203
203
  return;
204
204
  })))) ?? context.model;
@@ -278,7 +278,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
278
278
  const send = (request) => {
279
279
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
280
280
  return Effect.gen(function* () {
281
- const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
281
+ const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
282
282
  const retained = recentUserMessages2(history, context.model, keep);
283
283
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
284
284
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -480,16 +480,16 @@ ${text}`;
480
480
  }, { metadata: outcome.metadata });
481
481
  return { status: "completed" };
482
482
  });
483
- return Service7.of({
483
+ return Service12.of({
484
484
  transform: state.transform,
485
485
  reload: state.reload,
486
486
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
487
487
  });
488
488
  }));
489
- var node9 = makeLocationNode({
490
- service: Service7,
491
- layer: layer6,
492
- deps: [node71, node89, node90, llmClient2, node77, node27, node55]
489
+ var node14 = makeLocationNode({
490
+ service: Service12,
491
+ layer: layer8,
492
+ deps: [node75, node88, node89, llmClient2, node81, node44, node53]
493
493
  });
494
494
  var previousCompaction = (messages) => {
495
495
  const [first] = messages;
@@ -707,4 +707,4 @@ var estimateMedia = (mime) => {
707
707
  return 0;
708
708
  };
709
709
 
710
- export { Service7, buildPrompt2, layer6, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
710
+ export { Service12, buildPrompt2, layer8, node14, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./websearch-jze0r7bz.js";
3
+ } from "./location-lifecycle-jze0r7bz.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./location-lifecycle-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./websearch-z7h38hxc.js";
2
+ Service85,
3
+ node89
4
+ } from "./location-lifecycle-st816g4q.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./websearch-y71avatq.js";
7
+ } from "./location-lifecycle-dpkg50ah.js";
8
8
  import {
9
- Service85,
10
- node89
11
- } from "./websearch-d1e92g2x.js";
9
+ Service84,
10
+ node88
11
+ } from "./location-lifecycle-ff1xkr9y.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./websearch-ec1grn59.js";
14
+ } from "./location-lifecycle-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./websearch-gftt206x.js";
17
+ } from "./location-lifecycle-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./websearch-08rawchj.js";
20
+ } from "./location-lifecycle-vx3jgdek.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./websearch-c1fqxshp.js";
24
+ } from "./location-lifecycle-es1vcfrp.js";
25
25
  import {
26
26
  __export
27
- } from "./websearch-9rqn6x4v.js";
27
+ } from "./location-lifecycle-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info7,
35
+ Info: () => Info8,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service53,
40
+ Service: () => Service50,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer22,
48
+ layer: () => layer21,
49
49
  list: () => list3,
50
- make: () => make18,
50
+ make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node56,
53
+ node: () => node52,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info7,
68
+ Info as Info8,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service53 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service50 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make18 = Effect.fn("SessionInbox.make")(function* () {
157
- const database = yield* Service86;
156
+ var make17 = Effect.fn("SessionInbox.make")(function* () {
157
+ const database = yield* Service85;
158
158
  const db = database.db;
159
- const bus = yield* Service85;
159
+ const bus = yield* Service84;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info7.make({
176
+ }).pipe(Effect.map((event) => Info8.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer22 = Layer.effect(Service53, make18());
231
- var node56 = makeGlobalNode({ service: Service53, layer: layer22, deps: [node90, node89] });
230
+ var layer21 = Layer.effect(Service50, make17());
231
+ var node52 = makeGlobalNode({ service: Service50, layer: layer21, deps: [node89, node88] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service53, make18, layer22, node56, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service50, make17, layer21, node52, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./websearch-emrn6kk6.js";
5
+ } from "./location-lifecycle-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options10,
9
+ Options: () => Options9,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options10 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
13
+ var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
15
15
 
16
- export { Options10, Spec2, exports_plugin3 };
16
+ export { Options9, Spec2, exports_plugin3 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service77,
3
- node80
4
- } from "./websearch-x2dzfeyp.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-lifecycle-2re0xxhj.js";
5
5
  import {
6
6
  __export
7
- } from "./websearch-9rqn6x4v.js";
7
+ } from "./location-lifecycle-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info22,
12
+ Info: () => Info25,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref3,
15
- Service: () => Service76,
14
+ Ref: () => Ref4,
15
+ Service: () => Service80,
16
16
  boundNode: () => boundNode2,
17
- node: () => node79,
17
+ node: () => node84,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info22, Ref as Ref3, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info25, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service76 extends Context.Service()("@opencode/Location") {
24
+ class Service80 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node79 = LayerNode.unbound(Service76, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service76, Effect.gen(function* () {
28
- const project = yield* Service77;
26
+ var node84 = LayerNode.unbound(Service80, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
+ const project = yield* Service83;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service76.of({
30
+ return Service80.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service76, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service76,
38
+ service: Service80,
39
39
  layer: layer(ref),
40
- deps: [node80]
40
+ deps: [node87]
41
41
  });
42
42
 
43
- export { Info22, Ref3, response2, Service76, node79, boundNode2, exports_location };
43
+ export { Info25, Ref4, response2, Service80, node84, boundNode2, exports_location };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service35,
8
+ Service: () => Service45,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node38
10
+ node: () => node48
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service35 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service45 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service35, () => {
17
+ var layer = Layer.sync(Service45, () => {
18
18
  const environments = new Map;
19
- return Service35.of({
19
+ return Service45.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service35, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node38 = makeGlobalNode({ service: Service35, layer, deps: [] });
29
+ var node48 = makeGlobalNode({ service: Service45, layer, deps: [] });
30
30
 
31
- export { Service35, node38, exports_environment };
31
+ export { Service45, node48, exports_environment };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service85
3
- } from "./websearch-d1e92g2x.js";
2
+ Service84
3
+ } from "./location-lifecycle-ff1xkr9y.js";
4
4
  import {
5
5
  key2
6
- } from "./websearch-dgpsrprm.js";
6
+ } from "./location-lifecycle-addxnjmp.js";
7
7
  import {
8
- Event19
9
- } from "./websearch-pxhmaprh.js";
8
+ Event20
9
+ } from "./location-lifecycle-d06zwh9p.js";
10
10
  import {
11
- ID15
12
- } from "./websearch-fzvw3sme.js";
11
+ ID14
12
+ } from "./location-lifecycle-cd1hftv2.js";
13
13
  import {
14
- ID12,
15
- Service75
16
- } from "./websearch-enzk9cpf.js";
14
+ ID13,
15
+ Service78
16
+ } from "./location-lifecycle-d2fh7std.js";
17
17
  import {
18
18
  load2,
19
19
  derive2
20
- } from "./websearch-16pq2whc.js";
20
+ } from "./location-lifecycle-4cg1k04t.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID12.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service75;
30
- const bus = yield* Service85;
29
+ const providers = yield* Service78;
30
+ const bus = yield* Service84;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service69,
10
- node: () => node72
9
+ Service: () => Service71,
10
+ node: () => node74
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service69 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service71 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service69, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service69.of({ has, register, trigger });
57
+ return Service71.of({ has, register, trigger });
58
58
  }));
59
- var node72 = makeLocationNode({ service: Service69, layer, deps: [] });
59
+ var node74 = makeLocationNode({ service: Service71, layer, deps: [] });
60
60
 
61
- export { Service69, node72, exports_hooks };
61
+ export { Service71, node74, exports_hooks };