@opencode/core 2.0.13 → 2.0.15

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 (807) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -80
  3. package/dist/aisdk-native.js +89 -88
  4. package/dist/aisdk.js +94 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -72
  7. package/dist/chunks/{websearch-7br4y16f.js → location-04mw5jg5.js} +3 -3
  8. package/dist/chunks/{websearch-3hkye8av.js → location-0810149y.js} +23 -23
  9. package/dist/chunks/{websearch-8ffd997c.js → location-0jgcnqr4.js} +42 -35
  10. package/dist/chunks/{websearch-1fgcm8sa.js → location-0k6bkn72.js} +3 -3
  11. package/dist/chunks/{websearch-42wpavvt.js → location-0kxfmfxf.js} +13 -13
  12. package/dist/chunks/{websearch-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  13. package/dist/chunks/location-0tmnpbjy.js +89 -0
  14. package/dist/chunks/{websearch-ceykt9br.js → location-15y6myyc.js} +19 -19
  15. package/dist/chunks/{websearch-4zaanewj.js → location-15ywfmbg.js} +21 -21
  16. package/dist/chunks/{websearch-06dxphr1.js → location-18s9r5gn.js} +5 -8
  17. package/dist/chunks/{websearch-r5x6zcsm.js → location-1bbkgx8g.js} +3 -3
  18. package/dist/chunks/{websearch-m6f3t844.js → location-1dangqhw.js} +8 -8
  19. package/dist/chunks/{websearch-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{websearch-y5beve1t.js → location-1twdgbjf.js} +13 -13
  21. package/dist/chunks/{websearch-21r38tys.js → location-21r38tys.js} +1 -1
  22. package/dist/chunks/{websearch-2402vzrj.js → location-2402vzrj.js} +1 -1
  23. package/dist/chunks/{websearch-mf9m2v67.js → location-256nx13v.js} +3 -3
  24. package/dist/chunks/{websearch-z63w68vq.js → location-29x78va6.js} +6 -6
  25. package/dist/chunks/{websearch-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{websearch-4zr9c183.js → location-2f7sk49n.js} +16 -16
  27. package/dist/chunks/{websearch-d5py0aaa.js → location-2n8vgttj.js} +24 -24
  28. package/dist/chunks/{websearch-cb3acs6r.js → location-2p24pe68.js} +43 -43
  29. package/dist/chunks/{websearch-nj9fmwgy.js → location-2p5y98w0.js} +6 -6
  30. package/dist/chunks/{websearch-bwc02zqa.js → location-2pnnswbv.js} +4 -4
  31. package/dist/chunks/{websearch-vwqydq6z.js → location-2prhyday.js} +20 -20
  32. package/dist/chunks/{websearch-dj9sq318.js → location-2qp6y8xf.js} +5 -5
  33. package/dist/chunks/{websearch-fz4tcata.js → location-2vvgwsdm.js} +17 -17
  34. package/dist/chunks/{websearch-geps4ccc.js → location-2ys44scz.js} +12 -12
  35. package/dist/chunks/{websearch-721ynsaq.js → location-306693xq.js} +22 -22
  36. package/dist/chunks/{websearch-df2mqfaw.js → location-3124xjv5.js} +8 -8
  37. package/dist/chunks/{websearch-2nmgtr31.js → location-31723wk9.js} +17 -17
  38. package/dist/chunks/{websearch-jkkc4s57.js → location-3172pg9v.js} +17 -17
  39. package/dist/chunks/{websearch-56gdpj1q.js → location-33w4ejhs.js} +6 -6
  40. package/dist/chunks/{websearch-twg0f83k.js → location-34c7v6d4.js} +1 -0
  41. package/dist/chunks/{websearch-s01nxg3k.js → location-358yawqv.js} +23 -23
  42. package/dist/chunks/{websearch-vq95j9ek.js → location-35r86gx7.js} +2 -2
  43. package/dist/chunks/{websearch-b4jr5bvf.js → location-3a58h9a4.js} +72 -72
  44. package/dist/chunks/{websearch-4t9cqsny.js → location-3d2kdets.js} +9 -9
  45. package/dist/chunks/{websearch-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{websearch-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{websearch-wgmfr2f3.js → location-3rbdcc49.js} +25 -25
  48. package/dist/chunks/{websearch-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{websearch-3qzrj5mf.js → location-3t63r8vy.js} +11 -11
  50. package/dist/chunks/{websearch-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{websearch-rzq9nr28.js → location-3yfr3ttv.js} +6 -6
  52. package/dist/chunks/{websearch-0q0f95c6.js → location-3zsf4n22.js} +3 -1
  53. package/dist/chunks/{websearch-h6r3nrb9.js → location-4dgbcxzg.js} +4 -4
  54. package/dist/chunks/{websearch-pcja8x98.js → location-4qjz8wfv.js} +23 -23
  55. package/dist/chunks/{websearch-57ez7d0k.js → location-4sn99hha.js} +7 -7
  56. package/dist/chunks/{websearch-bgfhd05q.js → location-4ywqwb3e.js} +10 -10
  57. package/dist/chunks/{websearch-ca6w0az7.js → location-512dnrra.js} +9 -9
  58. package/dist/chunks/{websearch-ejdds51n.js → location-52mpv69t.js} +10 -10
  59. package/dist/chunks/{websearch-5daktx2q.js → location-5daktx2q.js} +1 -1
  60. package/dist/chunks/{websearch-qg2t1cnz.js → location-5dyz4swx.js} +20 -20
  61. package/dist/chunks/{websearch-fxbjtjnd.js → location-5ekn9679.js} +7 -7
  62. package/dist/chunks/{websearch-8setgw8w.js → location-5em5jamf.js} +9 -9
  63. package/dist/chunks/{websearch-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{websearch-669tq793.js → location-669tq793.js} +1 -1
  65. package/dist/chunks/{websearch-kxpygcw9.js → location-6anwy9fs.js} +4 -4
  66. package/dist/chunks/{websearch-g0kh82bp.js → location-6jbefxhr.js} +32 -32
  67. package/dist/chunks/{websearch-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{websearch-ktgyenpv.js → location-6sftkhr6.js} +15 -15
  69. package/dist/chunks/{websearch-69srdcjj.js → location-6z9mwsmt.js} +24 -24
  70. package/dist/chunks/{websearch-pjx48m1m.js → location-78jgv2cz.js} +1 -1
  71. package/dist/chunks/{websearch-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{websearch-0jwsre1p.js → location-7dqw4kz8.js} +5 -5
  73. package/dist/chunks/{websearch-2vqs3qr0.js → location-7pqgzsme.js} +16 -16
  74. package/dist/chunks/{websearch-zv31vsf2.js → location-7tpcrxhs.js} +19 -19
  75. package/dist/chunks/{websearch-4c8j5v6g.js → location-7tvzmp5f.js} +15 -15
  76. package/dist/chunks/{websearch-48e3sgyw.js → location-7w0t4dm2.js} +13 -13
  77. package/dist/chunks/{websearch-pm6ahx9a.js → location-7yca83g1.js} +11 -11
  78. package/dist/chunks/{websearch-wnhwta9h.js → location-826nay5f.js} +43 -43
  79. package/dist/chunks/{websearch-tw7ncza7.js → location-85skx0n5.js} +27 -27
  80. package/dist/chunks/{websearch-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{websearch-g9xsnvx2.js → location-8ec97xvv.js} +9 -9
  82. package/dist/chunks/{websearch-a8ne3yaj.js → location-8ffpk8ek.js} +26 -26
  83. package/dist/chunks/{websearch-b4qkjsn5.js → location-8fyqdzgp.js} +8 -8
  84. package/dist/chunks/{websearch-cs4aeaz8.js → location-8kc8r484.js} +31 -31
  85. package/dist/chunks/{websearch-mec04ymj.js → location-8py9cb08.js} +1 -1
  86. package/dist/chunks/{websearch-rtbmhys6.js → location-8s04dv6n.js} +16 -16
  87. package/dist/chunks/{websearch-j9ee68hg.js → location-8v97fgxy.js} +14 -14
  88. package/dist/chunks/location-8wj87zfr.js +14 -0
  89. package/dist/chunks/{websearch-zvyfprkc.js → location-92pk5wqe.js} +23 -23
  90. package/dist/chunks/{websearch-cfpkc3c9.js → location-94ek1h2f.js} +2 -2
  91. package/dist/chunks/{websearch-6wb18vcm.js → location-96dp4j9b.js} +94 -93
  92. package/dist/chunks/{websearch-9y2cgwvf.js → location-9qc6n929.js} +29 -29
  93. package/dist/chunks/{websearch-a5chm12h.js → location-a64frenn.js} +3 -3
  94. package/dist/chunks/{websearch-fsz9a353.js → location-a6zkqr4m.js} +18 -18
  95. package/dist/chunks/{websearch-y54hr7f3.js → location-a881zpfh.js} +9 -9
  96. package/dist/chunks/{websearch-btmdjt4s.js → location-aa2h7fmm.js} +33 -33
  97. package/dist/chunks/{websearch-aaet6srn.js → location-aaet6srn.js} +2 -2
  98. package/dist/chunks/{websearch-00fvbtb6.js → location-ae4pezjx.js} +56 -56
  99. package/dist/chunks/{websearch-4zs668pg.js → location-agc1sn7c.js} +20 -19
  100. package/dist/chunks/{websearch-b0dgvpy7.js → location-ajdjch6h.js} +9 -9
  101. package/dist/chunks/{websearch-bct739vz.js → location-an7cqtb7.js} +4 -4
  102. package/dist/chunks/{websearch-cgfbfj64.js → location-apd0xxcy.js} +11 -11
  103. package/dist/chunks/{websearch-ntyqt0ve.js → location-b3bw2nfz.js} +5 -5
  104. package/dist/chunks/{websearch-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{websearch-wd7kjd8z.js → location-bdmzfegv.js} +29 -29
  106. package/dist/chunks/{websearch-zzfy15vp.js → location-bh4p5r3h.js} +18 -18
  107. package/dist/chunks/{websearch-ncqqrhc3.js → location-c395zvtw.js} +19 -19
  108. package/dist/chunks/{websearch-m3nc835m.js → location-c5nmmnam.js} +13 -13
  109. package/dist/chunks/{websearch-8heej3bj.js → location-c6mn7xyg.js} +25 -25
  110. package/dist/chunks/{websearch-dk7w7hgz.js → location-c6rpq5f1.js} +49 -49
  111. package/dist/chunks/{websearch-ff0htmxq.js → location-c8bydgjz.js} +6 -6
  112. package/dist/chunks/{websearch-728qhrqd.js → location-cdc8dbba.js} +12 -12
  113. package/dist/chunks/location-ce7bf4ce.js +252 -0
  114. package/dist/chunks/{websearch-2a9mph1a.js → location-cf8rhbja.js} +34 -34
  115. package/dist/chunks/{websearch-cwjws732.js → location-cje11ec7.js} +56 -56
  116. package/dist/chunks/{websearch-f828m53h.js → location-ckecvw8r.js} +2 -2
  117. package/dist/chunks/{websearch-bqszwq89.js → location-cte9ap30.js} +8 -8
  118. package/dist/chunks/{websearch-24cy06qr.js → location-cxrw2h6h.js} +41 -41
  119. package/dist/chunks/{websearch-af0ngryb.js → location-d2kfejna.js} +13 -13
  120. package/dist/chunks/{websearch-x8wrq3yr.js → location-d6ex932k.js} +11 -11
  121. package/dist/chunks/{websearch-bz85s9hh.js → location-dagkn99r.js} +3 -3
  122. package/dist/chunks/{websearch-1mv4feyx.js → location-db8cpbv4.js} +11 -11
  123. package/dist/chunks/{websearch-wy092wnb.js → location-dgpq7z8n.js} +28 -28
  124. package/dist/chunks/{websearch-kne8f3cn.js → location-dhmh7aw6.js} +4 -4
  125. package/dist/chunks/{websearch-azkeppvt.js → location-dkgr3p4r.js} +8 -8
  126. package/dist/chunks/{websearch-2jfqhj3w.js → location-dpwed560.js} +4 -3
  127. package/dist/chunks/{websearch-dq0v80fr.js → location-e23w9d35.js} +12 -12
  128. package/dist/chunks/{websearch-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
  129. package/dist/chunks/{websearch-40bnz2ss.js → location-e5sbd26s.js} +4 -4
  130. package/dist/chunks/{websearch-f51x5vyb.js → location-e6asg1wm.js} +50 -50
  131. package/dist/chunks/{websearch-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{websearch-70sqfhcp.js → location-ek44vwmj.js} +52 -48
  133. package/dist/chunks/{websearch-e80fa34w.js → location-eq2jtcfw.js} +7 -7
  134. package/dist/chunks/{websearch-erw5rpbs.js → location-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{websearch-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{websearch-ednp5hmx.js → location-etzz3kcr.js} +8 -8
  137. package/dist/chunks/{websearch-byhgpva7.js → location-exkxrshv.js} +16 -16
  138. package/dist/chunks/{websearch-d1tczq4r.js → location-fb3n4k1c.js} +5 -5
  139. package/dist/chunks/{websearch-pfxxjzb6.js → location-fpvyk3ge.js} +26 -26
  140. package/dist/chunks/{websearch-d4he2qe1.js → location-ft3hqk2c.js} +9 -9
  141. package/dist/chunks/{websearch-qt0nm0tq.js → location-fwz8j036.js} +11 -11
  142. package/dist/chunks/{websearch-cmwkp3r5.js → location-g0445xdp.js} +4 -4
  143. package/dist/chunks/{websearch-9y0w708y.js → location-g1sxm558.js} +8 -8
  144. package/dist/chunks/{websearch-2z26cvtf.js → location-g98nad6a.js} +20 -20
  145. package/dist/chunks/{websearch-f0kvdsjk.js → location-gbece2fh.js} +26 -26
  146. package/dist/chunks/{websearch-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{websearch-h18rmnek.js → location-ge3bpktt.js} +15 -15
  148. package/dist/chunks/{websearch-tehwna3t.js → location-geebtqnp.js} +7 -7
  149. package/dist/chunks/{websearch-8b4gqq2a.js → location-gr2tmdz7.js} +17 -17
  150. package/dist/chunks/{websearch-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{websearch-kasvs68z.js → location-gy60rj0z.js} +17 -17
  152. package/dist/chunks/{websearch-q7heda50.js → location-h5gt9chz.js} +25 -25
  153. package/dist/chunks/{websearch-wawr6n1a.js → location-h6awxmcx.js} +12 -12
  154. package/dist/chunks/{websearch-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{websearch-pn0hqhy4.js → location-hafm9y5m.js} +25 -25
  156. package/dist/chunks/{websearch-s2q5f0ep.js → location-hcg5gfqa.js} +6 -6
  157. package/dist/chunks/{websearch-8mqqtss7.js → location-hd8qv2ty.js} +9 -9
  158. package/dist/chunks/{websearch-h2tmbha1.js → location-hpfbmb0d.js} +4 -4
  159. package/dist/chunks/{websearch-gq69k564.js → location-hvtd657f.js} +28 -28
  160. package/dist/chunks/{websearch-jsekz2vh.js → location-hypat1yv.js} +3 -3
  161. package/dist/chunks/{websearch-j56e64zr.js → location-j56e64zr.js} +1 -1
  162. package/dist/chunks/{websearch-qpnen36s.js → location-j8tshh3j.js} +42 -42
  163. package/dist/chunks/location-jbs0jehe.js +26 -0
  164. package/dist/chunks/{websearch-qa3qhgw8.js → location-jfqtm2ew.js} +4 -4
  165. package/dist/chunks/{websearch-fj8fr7dj.js → location-jftkgdp0.js} +18 -18
  166. package/dist/chunks/{websearch-6vq97qmv.js → location-jgttmm4a.js} +5 -5
  167. package/dist/chunks/{websearch-gg7pg1rj.js → location-jv01nqvq.js} +5 -5
  168. package/dist/chunks/{websearch-8d0p2m37.js → location-jv4eadh7.js} +5 -5
  169. package/dist/chunks/{websearch-y71avatq.js → location-jwcy2c2z.js} +4 -4
  170. package/dist/chunks/{websearch-8fmf3tg1.js → location-jzje5vrp.js} +19 -19
  171. package/dist/chunks/{websearch-63zxpw7x.js → location-k906dc9m.js} +11 -11
  172. package/dist/chunks/{websearch-magykp64.js → location-kk00bynn.js} +21 -21
  173. package/dist/chunks/{websearch-v21173bj.js → location-kpf5aqxw.js} +10 -10
  174. package/dist/chunks/{websearch-vpf0b8my.js → location-kwj5scwb.js} +16 -16
  175. package/dist/chunks/{websearch-vwhy2xj8.js → location-kx0rdwde.js} +11 -11
  176. package/dist/chunks/{websearch-q7pad7f3.js → location-kxqn5q5s.js} +18 -18
  177. package/dist/chunks/{websearch-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{websearch-9kmbd9mt.js → location-m7va1g8x.js} +2 -2
  179. package/dist/chunks/{websearch-y35sf2j4.js → location-m9g140gf.js} +4 -4
  180. package/dist/chunks/{websearch-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{websearch-44ke2mar.js → location-mmr7bq34.js} +8 -8
  182. package/dist/chunks/{websearch-257v7a1q.js → location-mtg5e72x.js} +14 -14
  183. package/dist/chunks/{websearch-cq37gk0t.js → location-mvksx64m.js} +4 -4
  184. package/dist/chunks/{websearch-qe1nqkem.js → location-n793kqf0.js} +10 -10
  185. package/dist/chunks/{websearch-qsxf26yz.js → location-n8c291r7.js} +6 -6
  186. package/dist/chunks/location-n95b3jav.js +18 -0
  187. package/dist/chunks/{websearch-9yk0xwpf.js → location-n9awvp43.js} +39 -39
  188. package/dist/chunks/{websearch-v454fm3m.js → location-neb0pg0h.js} +10 -10
  189. package/dist/chunks/{websearch-yweepa2j.js → location-nf6tfn93.js} +3 -3
  190. package/dist/chunks/{websearch-wjre5m3f.js → location-nmc8s8ga.js} +15 -15
  191. package/dist/chunks/{websearch-63x4799j.js → location-np8489tv.js} +19 -19
  192. package/dist/chunks/{websearch-ksz5wrf2.js → location-npk9ncrr.js} +9 -9
  193. package/dist/chunks/{websearch-0k3mr0xx.js → location-ny0mz096.js} +20 -20
  194. package/dist/chunks/{websearch-k3c624dm.js → location-nzks3jc8.js} +3 -3
  195. package/dist/chunks/{websearch-9m8xvtm7.js → location-p9n0sz6q.js} +20 -20
  196. package/dist/chunks/{websearch-pqs23sba.js → location-pdgv857h.js} +10 -10
  197. package/dist/chunks/{websearch-zv4w339z.js → location-pghvqat4.js} +12 -12
  198. package/dist/chunks/{websearch-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{websearch-pknna89w.js → location-pknna89w.js} +1 -1
  200. package/dist/chunks/{websearch-xgg4rgr8.js → location-pmh8g6yq.js} +11 -11
  201. package/dist/chunks/{websearch-ja57wr1y.js → location-pvat10bb.js} +11 -11
  202. package/dist/chunks/{websearch-pt7y7m15.js → location-pxs69nmc.js} +6 -6
  203. package/dist/chunks/{websearch-sn0z3ax3.js → location-qdm92ydp.js} +26 -26
  204. package/dist/chunks/{websearch-cefp19fp.js → location-qfe26hq3.js} +83 -83
  205. package/dist/chunks/{websearch-pnv527nz.js → location-qg0jgkcp.js} +9 -9
  206. package/dist/chunks/{websearch-yfqwtwmb.js → location-qmr67b2d.js} +12 -12
  207. package/dist/chunks/{websearch-yvb78gxr.js → location-qnqm58w1.js} +13 -13
  208. package/dist/chunks/{websearch-n6hdevwk.js → location-qpk3e0rf.js} +26 -26
  209. package/dist/chunks/{websearch-xfkkasph.js → location-qqeeq2t9.js} +7 -7
  210. package/dist/chunks/{websearch-qsdy395h.js → location-qsdy395h.js} +1 -1
  211. package/dist/chunks/{websearch-2gxn7j3s.js → location-qyagpvrp.js} +29 -29
  212. package/dist/chunks/{websearch-81zbrjdd.js → location-r1kjg1tc.js} +5 -5
  213. package/dist/chunks/{websearch-dp0abknt.js → location-r1vfcwav.js} +26 -26
  214. package/dist/chunks/{websearch-df79gpwv.js → location-r2cbgwrp.js} +11 -11
  215. package/dist/chunks/{websearch-xmbbp4st.js → location-r99pq75w.js} +24 -24
  216. package/dist/chunks/{websearch-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{websearch-apsct0ff.js → location-rfbkd05a.js} +5 -5
  218. package/dist/chunks/{websearch-b1kzaezp.js → location-rgtjpwpw.js} +3 -3
  219. package/dist/chunks/{websearch-rhjbct0v.js → location-rhjbct0v.js} +1 -1
  220. package/dist/chunks/{websearch-b8tt4s7v.js → location-rhjkpe6e.js} +5 -5
  221. package/dist/chunks/{websearch-egcqtb3v.js → location-rk8yrdje.js} +15 -15
  222. package/dist/chunks/{websearch-28dp60he.js → location-rnghhd3g.js} +10 -10
  223. package/dist/chunks/{websearch-4766b92f.js → location-rvhvw5j9.js} +175 -175
  224. package/dist/chunks/{websearch-bjn91642.js → location-s0esgemt.js} +4 -4
  225. package/dist/chunks/{websearch-9ckvqgv0.js → location-s2y6cwc9.js} +37 -37
  226. package/dist/chunks/{websearch-yrznvahk.js → location-s4enseaf.js} +2 -2
  227. package/dist/chunks/{websearch-yccezfcq.js → location-s92vr3t8.js} +35 -35
  228. package/dist/chunks/{websearch-j89a0wbm.js → location-s9r6cqpa.js} +3 -3
  229. package/dist/chunks/{websearch-rn169q41.js → location-saawvakp.js} +13 -13
  230. package/dist/chunks/{websearch-q8s08p64.js → location-sj7g5k2t.js} +5 -5
  231. package/dist/chunks/{websearch-7ge6n5j8.js → location-svhm0fyq.js} +4 -4
  232. package/dist/chunks/{websearch-tf2e20t4.js → location-t0b0bsey.js} +11 -11
  233. package/dist/chunks/{websearch-94jc9gk0.js → location-t5ewrtsm.js} +9 -9
  234. package/dist/chunks/{websearch-rfx28j1a.js → location-t5z4ehj3.js} +11 -11
  235. package/dist/chunks/{websearch-ysmd2bxa.js → location-t880hhr6.js} +31 -31
  236. package/dist/chunks/{websearch-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{websearch-xnzqxyx5.js → location-tb273c1p.js} +32 -32
  238. package/dist/chunks/{websearch-89znhe33.js → location-tcezcvh9.js} +4 -4
  239. package/dist/chunks/{websearch-479a8j7t.js → location-tdkr4fjp.js} +40 -40
  240. package/dist/chunks/{websearch-tdstcens.js → location-tdstcens.js} +1 -1
  241. package/dist/chunks/{websearch-q0y9rkgz.js → location-tqzp8tzb.js} +3 -3
  242. package/dist/chunks/{websearch-tvtrv512.js → location-tvtrv512.js} +1 -1
  243. package/dist/chunks/{websearch-rr5a4r7f.js → location-vbz4mrgg.js} +42 -36
  244. package/dist/chunks/{websearch-45vzqjcc.js → location-vdwcy635.js} +15 -15
  245. package/dist/chunks/{websearch-veqvce7d.js → location-veqvce7d.js} +1 -1
  246. package/dist/chunks/{websearch-3j8ehyx9.js → location-vg9ntks0.js} +325 -325
  247. package/dist/chunks/{websearch-e9wter2c.js → location-vh4x57nh.js} +32 -32
  248. package/dist/chunks/{websearch-ykb9earz.js → location-vhv9377y.js} +5 -5
  249. package/dist/chunks/{websearch-gas0hv4z.js → location-vjn4w5j0.js} +16 -16
  250. package/dist/chunks/{websearch-j533r9mj.js → location-vp932wpr.js} +32 -32
  251. package/dist/chunks/{websearch-e32j4sgx.js → location-vs030v48.js} +6 -4
  252. package/dist/chunks/{websearch-nbeebzc0.js → location-vssdr3c7.js} +14 -14
  253. package/dist/chunks/{websearch-p28j5sbe.js → location-vtxr0yy2.js} +3 -2
  254. package/dist/chunks/{websearch-2r5dq4tz.js → location-vxyzwx8s.js} +8 -8
  255. package/dist/chunks/{websearch-ep6z9mt6.js → location-vyrd71eq.js} +11 -11
  256. package/dist/chunks/{websearch-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{websearch-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{websearch-9je2ywm6.js → location-w3z8akkh.js} +44 -44
  259. package/dist/chunks/{websearch-3nhk3fk8.js → location-w63jt7y5.js} +12 -12
  260. package/dist/chunks/{websearch-cydhczrf.js → location-w747ydy6.js} +25 -25
  261. package/dist/chunks/{websearch-xxtc5hj7.js → location-w9gpp3gx.js} +28 -28
  262. package/dist/chunks/{websearch-8p4f9s12.js → location-wd3x2cqz.js} +3 -2
  263. package/dist/chunks/{websearch-wd87259q.js → location-wd87259q.js} +1 -1
  264. package/dist/chunks/{websearch-s0pmdbgf.js → location-wk3hxpq4.js} +17 -17
  265. package/dist/chunks/{websearch-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{websearch-q6sn8kt1.js → location-x2z8ar3h.js} +23 -23
  267. package/dist/chunks/{websearch-67m7nkze.js → location-xcrt1tny.js} +33 -33
  268. package/dist/chunks/{websearch-yna87b4j.js → location-xfjpae9m.js} +27 -27
  269. package/dist/chunks/{websearch-q85t7zb8.js → location-xhk8n0yf.js} +56 -37
  270. package/dist/chunks/{websearch-cqaxg9fr.js → location-xhyq1prs.js} +4 -4
  271. package/dist/chunks/{websearch-x53p46j9.js → location-xq3yw8dy.js} +52 -52
  272. package/dist/chunks/{websearch-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{websearch-jqp60asj.js → location-y6zcy5jv.js} +24 -24
  274. package/dist/chunks/{websearch-40vg4f55.js → location-y7as1a2d.js} +34 -34
  275. package/dist/chunks/{websearch-7nhrbb6w.js → location-ygg1f209.js} +9 -9
  276. package/dist/chunks/{websearch-1acjjqhc.js → location-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{websearch-zd30eb5w.js → location-yq14pbr7.js} +5 -5
  278. package/dist/chunks/{websearch-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{websearch-pecb0brz.js → location-yt0fqk68.js} +5 -5
  280. package/dist/chunks/{websearch-sm965ndy.js → location-yvvvp4gn.js} +8 -8
  281. package/dist/chunks/{websearch-bzgbr59y.js → location-yz4rntjy.js} +29 -29
  282. package/dist/chunks/{websearch-a1bz86dw.js → location-z07pqspn.js} +3 -3
  283. package/dist/chunks/{websearch-bacyadyn.js → location-z0aj456m.js} +4 -4
  284. package/dist/chunks/{websearch-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{websearch-ytpnnqhk.js → location-z1cdyrqr.js} +29 -29
  286. package/dist/chunks/{websearch-5s4efm0s.js → location-z5qed6cr.js} +53 -41
  287. package/dist/chunks/{websearch-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{websearch-vtt0yr3x.js → location-zfa7ynd8.js} +13 -13
  289. package/dist/chunks/{websearch-m7y66avd.js → location-zgw6fgh0.js} +5 -5
  290. package/dist/chunks/{websearch-1cq2a0y1.js → location-zm32ajz2.js} +10 -10
  291. package/dist/chunks/{websearch-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{websearch-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -82
  298. package/dist/config/discovery.js +84 -83
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -105
  301. package/dist/config/plugin/agent.js +125 -124
  302. package/dist/config/plugin/command.js +214 -213
  303. package/dist/config/plugin/compaction.js +162 -161
  304. package/dist/config/plugin/compatibility.js +141 -140
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -123
  307. package/dist/config/plugin/image.js +123 -122
  308. package/dist/config/plugin/instruction.js +90 -89
  309. package/dist/config/plugin/location-watcher.js +125 -124
  310. package/dist/config/plugin/mcp.js +132 -131
  311. package/dist/config/plugin/policy.js +124 -123
  312. package/dist/config/plugin/provider.js +123 -122
  313. package/dist/config/plugin/reference.js +125 -124
  314. package/dist/config/plugin/shell.js +123 -122
  315. package/dist/config/plugin/skill-file.js +102 -101
  316. package/dist/config/plugin/skill.js +144 -143
  317. package/dist/config/plugin/snapshot.js +123 -122
  318. package/dist/config/plugin/source.js +124 -123
  319. package/dist/config/plugin/tool-output.js +125 -124
  320. package/dist/config/plugin/websearch.js +122 -121
  321. package/dist/config/plugin/worktree.js +125 -124
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -127
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -82
  327. package/dist/database/database.js +66 -65
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +6 -0
  392. package/dist/database/migration.gen.js +49 -48
  393. package/dist/database/migration.js +51 -50
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +80 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +370 -369
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -92
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -94
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -73
  417. package/dist/file-access.js +104 -103
  418. package/dist/file-mutation.js +94 -93
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -226
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -102
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +108 -107
  433. package/dist/form.js +76 -75
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -86
  436. package/dist/generate.js +103 -102
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -90
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +361 -360
  462. package/dist/instruction-discovery.js +85 -84
  463. package/dist/instructions/builtins.js +87 -86
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +84 -83
  467. package/dist/job.js +79 -78
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -72
  470. package/dist/location-activity.js +135 -134
  471. package/dist/location-lifecycle.js +107 -105
  472. package/dist/location-mutation.js +104 -103
  473. package/dist/location-service-map.js +86 -85
  474. package/dist/location-services.js +358 -357
  475. package/dist/location.js +87 -86
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -90
  478. package/dist/mcp/index.js +108 -107
  479. package/dist/mcp/instructions.js +128 -127
  480. package/dist/mcp/oauth.js +78 -77
  481. package/dist/mcp/stdio.js +90 -89
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +91 -90
  484. package/dist/model-resolver.js +98 -97
  485. package/dist/model.js +98 -97
  486. package/dist/models-dev.js +107 -106
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +82 -81
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +113 -112
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +84 -83
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -74
  496. package/dist/plugin/agent.js +104 -103
  497. package/dist/plugin/command.js +101 -100
  498. package/dist/plugin/compaction.js +133 -132
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -217
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +3 -3
  503. package/dist/plugin/internal.js +332 -331
  504. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -95
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +102 -101
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -89
  511. package/dist/plugin/provider/azure.js +122 -121
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -120
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -120
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -118
  517. package/dist/plugin/provider/digitalocean.js +93 -92
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -92
  522. package/dist/plugin/provider/gitlab.js +91 -90
  523. package/dist/plugin/provider/google-vertex.js +90 -89
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -76
  526. package/dist/plugin/provider/lmstudio.js +122 -121
  527. package/dist/plugin/provider/modal.js +92 -91
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -121
  530. package/dist/plugin/provider/openai.js +94 -93
  531. package/dist/plugin/provider/opencode.js +94 -93
  532. package/dist/plugin/provider/openrouter.js +91 -90
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -77
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -89
  536. package/dist/plugin/provider/sap-ai-core.js +91 -90
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -121
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -89
  541. package/dist/plugin/provider/vllm.js +122 -121
  542. package/dist/plugin/provider/xai.js +91 -90
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -159
  545. package/dist/plugin/sdk.js +76 -75
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -140
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +351 -350
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -85
  553. package/dist/plugin/vcs/hg.js +86 -85
  554. package/dist/plugin/warming.js +121 -120
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +6 -6
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +225 -224
  563. package/dist/project/schema.js +6 -6
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +88 -87
  566. package/dist/provider.js +97 -96
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +92 -91
  571. package/dist/reference/instructions.js +89 -88
  572. package/dist/reference.js +91 -90
  573. package/dist/repository-cache.js +81 -80
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -96
  577. package/dist/rpc.js +86 -85
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -73
  580. package/dist/session/compaction.js +132 -131
  581. package/dist/session/context.js +152 -151
  582. package/dist/session/diff.js +88 -87
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -223
  587. package/dist/session/execution.js +126 -125
  588. package/dist/session/generate.js +153 -152
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -87
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -78
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +93 -92
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -118
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -129
  600. package/dist/session/projector.js +86 -85
  601. package/dist/session/prompt.js +105 -104
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -89
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -230
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +96 -95
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +112 -111
  611. package/dist/session/runner/step.js +126 -125
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -171
  615. package/dist/session/shell.js +138 -137
  616. package/dist/session/skill.js +103 -102
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -72
  619. package/dist/session/store.js +87 -86
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +210 -209
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +156 -155
  624. package/dist/session/to-session-error.js +111 -110
  625. package/dist/session/transfer.js +220 -219
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +220 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +138 -137
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -104
  635. package/dist/skill.js +112 -111
  636. package/dist/snapshot.js +91 -90
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +125 -124
  641. package/dist/tool/plugin/edit.js +120 -119
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -123
  644. package/dist/tool/plugin/grep.js +122 -121
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +120 -119
  647. package/dist/tool/plugin/question.js +103 -102
  648. package/dist/tool/plugin/read.js +125 -124
  649. package/dist/tool/plugin/shell.js +215 -214
  650. package/dist/tool/plugin/skill.js +111 -110
  651. package/dist/tool/plugin/subagent.js +219 -218
  652. package/dist/tool/plugin/webfetch.js +110 -109
  653. package/dist/tool/plugin/websearch.js +112 -111
  654. package/dist/tool/plugin/write.js +122 -121
  655. package/dist/tool/read-filesystem.js +100 -99
  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/types/database/migration/20260923013825_project_time_active.d.ts +3 -0
  660. package/dist/types/mime.d.ts +1 -1
  661. package/dist/types/project/schema.d.ts +5 -0
  662. package/dist/types/project/sql.d.ts +16 -0
  663. package/dist/types/project.d.ts +3 -0
  664. package/dist/types/session/provider-context.d.ts +2 -2
  665. package/dist/types/session/session.d.ts +3 -0
  666. package/dist/types/session.d.ts +4 -0
  667. package/dist/types/util/error-summary.d.ts +2 -1
  668. package/dist/util/error-summary.js +1 -1
  669. package/dist/util/error.js +1 -1
  670. package/dist/util/git-executable.js +2 -2
  671. package/dist/util/iife.js +1 -1
  672. package/dist/util/lazy.js +1 -1
  673. package/dist/util/slug.js +1 -1
  674. package/dist/util/token.js +1 -1
  675. package/dist/util/which.js +1 -1
  676. package/dist/util/wildcard.js +1 -1
  677. package/dist/v1/config/agent.js +7 -7
  678. package/dist/v1/config/attachment.js +4 -4
  679. package/dist/v1/config/command.js +3 -3
  680. package/dist/v1/config/config.js +16 -16
  681. package/dist/v1/config/error.js +4 -4
  682. package/dist/v1/config/formatter.js +5 -5
  683. package/dist/v1/config/layout.js +1 -1
  684. package/dist/v1/config/lsp.js +3 -3
  685. package/dist/v1/config/mcp.js +4 -4
  686. package/dist/v1/config/migrate.js +92 -91
  687. package/dist/v1/config/permission.js +7 -7
  688. package/dist/v1/config/plugin.js +3 -3
  689. package/dist/v1/config/provider-options.js +1 -1
  690. package/dist/v1/config/provider.js +4 -4
  691. package/dist/v1/config/server.js +2 -2
  692. package/dist/v1/config/skills.js +3 -3
  693. package/dist/v1/permission.js +1 -1
  694. package/dist/variant.js +91 -90
  695. package/dist/vcs/patch.js +1 -1
  696. package/dist/vcs.js +89 -88
  697. package/dist/websearch.js +84 -83
  698. package/dist/wellknown/plugin.js +76 -75
  699. package/dist/wellknown.js +81 -80
  700. package/dist/workspace/driver.js +7 -7
  701. package/dist/workspace/sql.js +1 -1
  702. package/dist/workspace.js +80 -79
  703. package/dist/worktree/directory.js +2 -2
  704. package/dist/worktree/git.js +8 -8
  705. package/dist/worktree/sql.js +5 -5
  706. package/dist/worktree/strategies.js +89 -88
  707. package/dist/worktree.js +92 -91
  708. package/package.json +9 -9
  709. package/dist/chunks/websearch-5qcvsacd.js +0 -65
  710. package/dist/chunks/websearch-9sh4wc5j.js +0 -18
  711. package/dist/chunks/websearch-hg4x7egy.js +0 -252
  712. package/dist/chunks/websearch-hqzbrwpc.js +0 -26
  713. /package/dist/chunks/{websearch-0mesazry.js → location-0mesazry.js} +0 -0
  714. /package/dist/chunks/{websearch-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  715. /package/dist/chunks/{websearch-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  716. /package/dist/chunks/{websearch-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  717. /package/dist/chunks/{websearch-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  718. /package/dist/chunks/{websearch-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  719. /package/dist/chunks/{websearch-24dcb14g.js → location-24dcb14g.js} +0 -0
  720. /package/dist/chunks/{websearch-2710q6r3.js → location-2710q6r3.js} +0 -0
  721. /package/dist/chunks/{websearch-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  722. /package/dist/chunks/{websearch-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  723. /package/dist/chunks/{websearch-359p4xyc.js → location-359p4xyc.js} +0 -0
  724. /package/dist/chunks/{websearch-3asan66x.js → location-3asan66x.js} +0 -0
  725. /package/dist/chunks/{websearch-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  726. /package/dist/chunks/{websearch-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  727. /package/dist/chunks/{websearch-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  728. /package/dist/chunks/{websearch-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  729. /package/dist/chunks/{websearch-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  730. /package/dist/chunks/{websearch-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  731. /package/dist/chunks/{websearch-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  732. /package/dist/chunks/{websearch-53557ph1.js → location-53557ph1.js} +0 -0
  733. /package/dist/chunks/{websearch-550bvhaj.js → location-550bvhaj.js} +0 -0
  734. /package/dist/chunks/{websearch-6prwharc.js → location-6prwharc.js} +0 -0
  735. /package/dist/chunks/{websearch-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  736. /package/dist/chunks/{websearch-7m9af43g.js → location-7m9af43g.js} +0 -0
  737. /package/dist/chunks/{websearch-822emrt2.js → location-822emrt2.js} +0 -0
  738. /package/dist/chunks/{websearch-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  739. /package/dist/chunks/{websearch-8n3pysct.js → location-8n3pysct.js} +0 -0
  740. /package/dist/chunks/{websearch-922hggd3.js → location-922hggd3.js} +0 -0
  741. /package/dist/chunks/{websearch-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  742. /package/dist/chunks/{websearch-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  743. /package/dist/chunks/{websearch-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  744. /package/dist/chunks/{websearch-af5trqkr.js → location-af5trqkr.js} +0 -0
  745. /package/dist/chunks/{websearch-afrmfg78.js → location-afrmfg78.js} +0 -0
  746. /package/dist/chunks/{websearch-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  747. /package/dist/chunks/{websearch-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  748. /package/dist/chunks/{websearch-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  749. /package/dist/chunks/{websearch-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  750. /package/dist/chunks/{websearch-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  751. /package/dist/chunks/{websearch-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  752. /package/dist/chunks/{websearch-d9fn303g.js → location-d9fn303g.js} +0 -0
  753. /package/dist/chunks/{websearch-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  754. /package/dist/chunks/{websearch-dajrwvna.js → location-dajrwvna.js} +0 -0
  755. /package/dist/chunks/{websearch-dap0rakb.js → location-dap0rakb.js} +0 -0
  756. /package/dist/chunks/{websearch-df08tz66.js → location-df08tz66.js} +0 -0
  757. /package/dist/chunks/{websearch-dy18nga0.js → location-dy18nga0.js} +0 -0
  758. /package/dist/chunks/{websearch-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  759. /package/dist/chunks/{websearch-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  760. /package/dist/chunks/{websearch-ec1grn59.js → location-ec1grn59.js} +0 -0
  761. /package/dist/chunks/{websearch-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  762. /package/dist/chunks/{websearch-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  763. /package/dist/chunks/{websearch-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  764. /package/dist/chunks/{websearch-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  765. /package/dist/chunks/{websearch-faypxj3z.js → location-faypxj3z.js} +0 -0
  766. /package/dist/chunks/{websearch-fd410y7t.js → location-fd410y7t.js} +0 -0
  767. /package/dist/chunks/{websearch-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  768. /package/dist/chunks/{websearch-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  769. /package/dist/chunks/{websearch-g86h250q.js → location-g86h250q.js} +0 -0
  770. /package/dist/chunks/{websearch-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  771. /package/dist/chunks/{websearch-gftt206x.js → location-gftt206x.js} +0 -0
  772. /package/dist/chunks/{websearch-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  773. /package/dist/chunks/{websearch-hk9envan.js → location-hk9envan.js} +0 -0
  774. /package/dist/chunks/{websearch-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  775. /package/dist/chunks/{websearch-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  776. /package/dist/chunks/{websearch-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  777. /package/dist/chunks/{websearch-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  778. /package/dist/chunks/{websearch-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  779. /package/dist/chunks/{websearch-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  780. /package/dist/chunks/{websearch-mp448xyj.js → location-mp448xyj.js} +0 -0
  781. /package/dist/chunks/{websearch-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  782. /package/dist/chunks/{websearch-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  783. /package/dist/chunks/{websearch-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  784. /package/dist/chunks/{websearch-njntx4h6.js → location-njntx4h6.js} +0 -0
  785. /package/dist/chunks/{websearch-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  786. /package/dist/chunks/{websearch-q74kybfr.js → location-q74kybfr.js} +0 -0
  787. /package/dist/chunks/{websearch-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  788. /package/dist/chunks/{websearch-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  789. /package/dist/chunks/{websearch-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  790. /package/dist/chunks/{websearch-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  791. /package/dist/chunks/{websearch-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  792. /package/dist/chunks/{websearch-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  793. /package/dist/chunks/{websearch-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  794. /package/dist/chunks/{websearch-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  795. /package/dist/chunks/{websearch-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  796. /package/dist/chunks/{websearch-w803qqfp.js → location-w803qqfp.js} +0 -0
  797. /package/dist/chunks/{websearch-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  798. /package/dist/chunks/{websearch-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  799. /package/dist/chunks/{websearch-wtztk69x.js → location-wtztk69x.js} +0 -0
  800. /package/dist/chunks/{websearch-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  801. /package/dist/chunks/{websearch-x61499pn.js → location-x61499pn.js} +0 -0
  802. /package/dist/chunks/{websearch-y44na4kk.js → location-y44na4kk.js} +0 -0
  803. /package/dist/chunks/{websearch-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  804. /package/dist/chunks/{websearch-y8f7s663.js → location-y8f7s663.js} +0 -0
  805. /package/dist/chunks/{websearch-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  806. /package/dist/chunks/{websearch-ym463w8f.js → location-ym463w8f.js} +0 -0
  807. /package/dist/chunks/{websearch-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,21 +1,21 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./websearch-geps4ccc.js";
2
+ Service81,
3
+ node85
4
+ } from "./location-2ys44scz.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./websearch-rtbmhys6.js";
6
+ Service78,
7
+ node82
8
+ } from "./location-8s04dv6n.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./websearch-ec1grn59.js";
11
+ } from "./location-ec1grn59.js";
12
12
  import {
13
- Service64,
14
- node67
15
- } from "./websearch-4zr9c183.js";
13
+ Service66,
14
+ node70
15
+ } from "./location-2f7sk49n.js";
16
16
  import {
17
17
  __export
18
- } from "./websearch-9rqn6x4v.js";
18
+ } from "./location-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
@@ -35,10 +35,10 @@ var InjectedMetadata = Schema.Struct({
35
35
  class Service7 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
37
  var layer = Layer.effect(Service7, Effect.gen(function* () {
38
- const bus = yield* Service83;
38
+ const bus = yield* Service81;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service64;
41
- const location = yield* Service80;
40
+ const store = yield* Service66;
41
+ const location = yield* Service78;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -98,7 +98,7 @@ function describePath(root, path) {
98
98
  var node9 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node87, FSUtil.node, node84, node67]
101
+ deps: [node85, FSUtil.node, node82, node70]
102
102
  });
103
103
 
104
104
  export { Service7, node9, exports_instructions };
@@ -4,34 +4,34 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./websearch-tazgh4e4.js";
7
+ } from "./location-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./websearch-ef5x83kb.js";
10
+ } from "./location-ef5x83kb.js";
11
11
  import {
12
- Service80
13
- } from "./websearch-rtbmhys6.js";
12
+ Service78
13
+ } from "./location-8s04dv6n.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./websearch-3hkye8av.js";
16
+ } from "./location-0810149y.js";
17
17
  import {
18
18
  __export
19
- } from "./websearch-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin36,
24
+ Plugin: () => Plugin16,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin36 = define({
31
+ var Plugin16 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
- const location = yield* Service80;
34
+ const location = yield* Service78;
35
35
  if (location.vcs?.type !== "git")
36
36
  return;
37
37
  const processes = yield* AppProcess.Service;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin36, exports_git };
473
+ export { Plugin16, exports_git };
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node45
4
- } from "./websearch-cgfbfj64.js";
3
+ node62
4
+ } from "./location-apd0xxcy.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./websearch-geps4ccc.js";
6
+ Service81,
7
+ node85
8
+ } from "./location-2ys44scz.js";
9
9
  import {
10
10
  ID10,
11
- Service66,
12
- node69
13
- } from "./websearch-4zaanewj.js";
11
+ Service68,
12
+ node72
13
+ } from "./location-15ywfmbg.js";
14
14
  import {
15
- ID16,
15
+ ID14,
16
16
  OAuth3
17
- } from "./websearch-ysmd2bxa.js";
17
+ } from "./location-t880hhr6.js";
18
18
  import {
19
- ID14,
19
+ ID13,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service77,
24
- node81
25
- } from "./websearch-f0kvdsjk.js";
23
+ Service75,
24
+ node79
25
+ } from "./location-gbece2fh.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./websearch-922hggd3.js";
28
+ } from "./location-922hggd3.js";
29
29
  import {
30
- Info32,
30
+ Info31,
31
31
  Ref4,
32
- Service80,
33
- node84
34
- } from "./websearch-rtbmhys6.js";
32
+ Service78,
33
+ node82
34
+ } from "./location-8s04dv6n.js";
35
35
  import {
36
- ID13,
37
- Service76,
38
- node80
39
- } from "./websearch-ytpnnqhk.js";
36
+ ID12,
37
+ Service74,
38
+ node78
39
+ } from "./location-z1cdyrqr.js";
40
40
  import {
41
- Service69,
42
- node72
43
- } from "./websearch-q85t7zb8.js";
41
+ Service56,
42
+ node58
43
+ } from "./location-xhk8n0yf.js";
44
44
  import {
45
- Service36,
46
- node39
47
- } from "./websearch-q7heda50.js";
45
+ Service54,
46
+ node56
47
+ } from "./location-h5gt9chz.js";
48
48
  import {
49
- Service61,
50
- node64
51
- } from "./websearch-ejdds51n.js";
49
+ Service83,
50
+ node87
51
+ } from "./location-52mpv69t.js";
52
52
  import {
53
- Service47,
54
- node50
55
- } from "./websearch-ksz5wrf2.js";
53
+ Service63,
54
+ node67
55
+ } from "./location-npk9ncrr.js";
56
56
  import {
57
- ID12,
58
- Service75,
59
- node79
60
- } from "./websearch-bzgbr59y.js";
57
+ ID11,
58
+ Service73,
59
+ node77
60
+ } from "./location-yz4rntjy.js";
61
+ import {
62
+ ID5
63
+ } from "./location-8ffpk8ek.js";
61
64
  import {
62
- ID11
63
- } from "./websearch-a8ne3yaj.js";
65
+ Service34,
66
+ node38
67
+ } from "./location-xq3yw8dy.js";
64
68
  import {
65
- Service33,
66
- node36
67
- } from "./websearch-x53p46j9.js";
69
+ Service67,
70
+ node71
71
+ } from "./location-g1sxm558.js";
68
72
  import {
69
- Service65,
73
+ Service64,
70
74
  node68
71
- } from "./websearch-9y0w708y.js";
75
+ } from "./location-cje11ec7.js";
72
76
  import {
73
- Service62,
74
- node65
75
- } from "./websearch-cwjws732.js";
77
+ Service41,
78
+ node44
79
+ } from "./location-2n8vgttj.js";
76
80
  import {
77
- Service50,
81
+ Source3,
82
+ Service51,
78
83
  node53
79
- } from "./websearch-d5py0aaa.js";
80
- import {
81
- Source4,
82
- Service54,
83
- node57
84
- } from "./websearch-9y2cgwvf.js";
85
- import {
86
- Info18,
87
- Service48,
88
- node51
89
- } from "./websearch-wy092wnb.js";
84
+ } from "./location-9qc6n929.js";
90
85
  import {
91
- Service23,
92
- node26
93
- } from "./websearch-6wb18vcm.js";
86
+ Info11,
87
+ Service59,
88
+ node63
89
+ } from "./location-dgpq7z8n.js";
94
90
  import {
95
- Service20,
96
- node23
97
- } from "./websearch-s01nxg3k.js";
91
+ Service27,
92
+ node30
93
+ } from "./location-96dp4j9b.js";
98
94
  import {
99
- Service53,
100
- node56
101
- } from "./websearch-fj8fr7dj.js";
95
+ Service16,
96
+ node19
97
+ } from "./location-358yawqv.js";
102
98
  import {
103
- Service57,
104
- node60
105
- } from "./websearch-3hkye8av.js";
106
- import {
107
- ID6,
108
- Service60,
109
- node63
110
- } from "./websearch-yna87b4j.js";
99
+ Service62,
100
+ node66
101
+ } from "./location-jftkgdp0.js";
111
102
  import {
112
103
  Service22,
113
104
  node25
114
- } from "./websearch-ncqqrhc3.js";
105
+ } from "./location-0810149y.js";
106
+ import {
107
+ ID4,
108
+ Service17,
109
+ node20
110
+ } from "./location-xfjpae9m.js";
111
+ import {
112
+ Service19,
113
+ node22
114
+ } from "./location-c395zvtw.js";
115
115
  import {
116
116
  StrategyID2,
117
117
  Info4,
118
118
  ListEntry3,
119
- Service21,
120
- node24
121
- } from "./websearch-40vg4f55.js";
119
+ Service18,
120
+ node21
121
+ } from "./location-y7as1a2d.js";
122
122
  import {
123
- Service67,
124
- node70
125
- } from "./websearch-2z26cvtf.js";
123
+ Service20,
124
+ node23
125
+ } from "./location-g98nad6a.js";
126
126
  import {
127
127
  __export
128
- } from "./websearch-9rqn6x4v.js";
128
+ } from "./location-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,49 +143,49 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service66;
147
- const aisdk = yield* Service69;
148
- const providers = yield* Service76;
149
- const models = yield* Service75;
150
- const commands = yield* Service36;
151
- const bus = yield* Service83;
152
- const integration = yield* Service77;
153
- const kv = yield* Service61;
154
- const mcp = yield* Service33;
155
- const location = yield* Service80;
156
- const reference = yield* Service54;
157
- const rpc = yield* Service53;
158
- const skill = yield* Service48;
159
- const tools = yield* Service50;
160
- const vcs = yield* Service57;
161
- const websearch = yield* Service60;
162
- const generate = yield* Service67;
163
- const permission = yield* Service62;
164
- const hooks = yield* Service65;
165
- const sessions = yield* Service23;
166
- const persistentPty = yield* Service20;
167
- const locations = yield* Service47;
168
- const worktrees = yield* Service21;
169
- const worktreeStrategies = yield* Service22;
146
+ const agents = yield* Service68;
147
+ const aisdk = yield* Service56;
148
+ const providers = yield* Service74;
149
+ const models = yield* Service73;
150
+ const commands = yield* Service54;
151
+ const bus = yield* Service81;
152
+ const integration = yield* Service75;
153
+ const kv = yield* Service83;
154
+ const mcp = yield* Service34;
155
+ const location = yield* Service78;
156
+ const reference = yield* Service51;
157
+ const rpc = yield* Service62;
158
+ const skill = yield* Service59;
159
+ const tools = yield* Service41;
160
+ const vcs = yield* Service22;
161
+ const websearch = yield* Service17;
162
+ const generate = yield* Service20;
163
+ const permission = yield* Service64;
164
+ const hooks = yield* Service67;
165
+ const sessions = yield* Service27;
166
+ const persistentPty = yield* Service16;
167
+ const locations = yield* Service63;
168
+ const worktrees = yield* Service18;
169
+ const worktreeStrategies = yield* Service19;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
- const locationInfo = () => new Info32({
171
+ const locationInfo = () => new Info31({
172
172
  directory: location.directory,
173
173
  workspaceID: location.workspaceID,
174
174
  project: location.project
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
182
  const decodeWorktree = Schema.decodeUnknownEffect(Info4);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
- const location = yield* Service80;
186
- const agents = yield* Service66;
185
+ const location = yield* Service78;
186
+ const agents = yield* Service68;
187
187
  return {
188
- location: new Info32({
188
+ location: new Info31({
189
189
  directory: location.directory,
190
190
  workspaceID: location.workspaceID,
191
191
  project: location.project
@@ -254,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
254
254
  },
255
255
  provider: {
256
256
  list: () => response(providers.available()),
257
- get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
257
+ get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
258
  reload: providers.reload,
259
259
  transform: (callback) => providers.transform((editor) => {
260
260
  callback({
261
261
  list: editor.list,
262
- get: (id) => editor.get(ID13.make(id)),
262
+ get: (id) => editor.get(ID12.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
- update: (id, update) => editor.update(ID13.make(id), update),
268
- remove: (id) => editor.remove(ID13.make(id)),
267
+ update: (id, update) => editor.update(ID12.make(id), update),
268
+ remove: (id) => editor.remove(ID12.make(id)),
269
269
  models: {
270
- set: (id, models) => editor.models.set(ID13.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
270
+ set: (id, models) => editor.models.set(ID12.make(id), models),
271
+ update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -279,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
279
279
  default: () => response(models.default()),
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
282
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
283
+ get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
292
- get: (id) => editor.provider.get(ID13.make(id))
292
+ get: (id) => editor.provider.get(ID12.make(id))
293
293
  }
294
294
  }))
295
295
  },
@@ -312,14 +312,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
312
312
  integration: {
313
313
  list: () => response(integration.list()),
314
314
  get: Effect.fn(function* (input) {
315
- const item = yield* integration.get(ID14.make(input.integrationID));
315
+ const item = yield* integration.get(ID13.make(input.integrationID));
316
316
  if (!item)
317
317
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
318
318
  return yield* response(Effect.succeed(item));
319
319
  }),
320
320
  connect: {
321
321
  key: (input) => integration.connection.key({
322
- integrationID: ID14.make(input.integrationID),
322
+ integrationID: ID13.make(input.integrationID),
323
323
  key: input.key,
324
324
  answer: input.answer,
325
325
  label: input.label
@@ -327,55 +327,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
327
327
  },
328
328
  oauth: {
329
329
  connect: (input) => response(integration.oauth.connect({
330
- integrationID: ID14.make(input.integrationID),
330
+ integrationID: ID13.make(input.integrationID),
331
331
  methodID: MethodID2.make(input.methodID),
332
332
  answer: input.answer,
333
333
  label: input.label
334
334
  })),
335
335
  status: (input) => response(integration.oauth.status({
336
- integrationID: ID14.make(input.integrationID),
336
+ integrationID: ID13.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })),
339
339
  complete: (input) => integration.oauth.complete({
340
- integrationID: ID14.make(input.integrationID),
340
+ integrationID: ID13.make(input.integrationID),
341
341
  attemptID: AttemptID2.make(input.attemptID),
342
342
  code: input.code
343
343
  }),
344
344
  cancel: (input) => integration.oauth.cancel({
345
- integrationID: ID14.make(input.integrationID),
345
+ integrationID: ID13.make(input.integrationID),
346
346
  attemptID: AttemptID2.make(input.attemptID)
347
347
  })
348
348
  },
349
349
  command: {
350
350
  connect: (input) => response(integration.command.connect({
351
- integrationID: ID14.make(input.integrationID),
351
+ integrationID: ID13.make(input.integrationID),
352
352
  methodID: MethodID2.make(input.methodID),
353
353
  label: input.label
354
354
  })),
355
355
  status: (input) => response(integration.command.status({
356
- integrationID: ID14.make(input.integrationID),
356
+ integrationID: ID13.make(input.integrationID),
357
357
  attemptID: AttemptID2.make(input.attemptID)
358
358
  })),
359
359
  cancel: (input) => integration.command.cancel({
360
- integrationID: ID14.make(input.integrationID),
360
+ integrationID: ID13.make(input.integrationID),
361
361
  attemptID: AttemptID2.make(input.attemptID)
362
362
  })
363
363
  },
364
364
  reload: integration.reload,
365
365
  connection: {
366
- active: (id) => integration.connection.active(ID14.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection)
366
+ active: (id) => integration.connection.active(ID13.make(id)),
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection)
368
368
  },
369
369
  transform: (callback) => integration.transform((editor) => {
370
370
  callback({
371
371
  list: () => mutable(editor.list()),
372
- get: (id) => mutable(editor.get(ID14.make(id))),
373
- update: (id, update) => editor.update(ID14.make(id), update),
374
- remove: (id) => editor.remove(ID14.make(id)),
372
+ get: (id) => mutable(editor.get(ID13.make(id))),
373
+ update: (id, update) => editor.update(ID13.make(id), update),
374
+ remove: (id) => editor.remove(ID13.make(id)),
375
375
  method: {
376
- list: (id) => editor.method.list(ID14.make(id)),
376
+ list: (id) => editor.method.list(ID13.make(id)),
377
377
  update: (input) => editor.method.update(methodImplementation(input)),
378
- remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
378
+ remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
379
379
  }
380
380
  });
381
381
  })
@@ -385,10 +385,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
385
385
  const ref = locationRef(input);
386
386
  if (ref && !isCurrentLocation(ref))
387
387
  return Effect.gen(function* () {
388
- const location = yield* Service80;
389
- const mcp = yield* Service33;
388
+ const location = yield* Service78;
389
+ const mcp = yield* Service34;
390
390
  return {
391
- location: new Info32({
391
+ location: new Info31({
392
392
  directory: location.directory,
393
393
  workspaceID: location.workspaceID,
394
394
  project: location.project
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
423
423
  reload: reference.reload,
424
424
  transform: (callback) => reference.transform((editor) => {
425
425
  callback({
426
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
426
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
427
427
  remove: editor.remove,
428
428
  list: editor.list,
429
429
  get: editor.get
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
437
437
  callback({
438
438
  list: () => mutable(editor.list()),
439
439
  get: editor.get,
440
- add: (value) => editor.add(Schema.decodeUnknownSync(Info18)(value)),
440
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info11)(value)),
441
441
  update: editor.update,
442
442
  remove: editor.remove
443
443
  });
@@ -468,19 +468,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
468
468
  providers: () => response(websearch.providers()),
469
469
  query: (input) => response(websearch.query({
470
470
  query: input.query,
471
- providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
471
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
472
472
  })),
473
473
  reload: websearch.reload,
474
474
  transform: (callback) => websearch.transform((editor) => {
475
475
  callback({
476
476
  add: (definition) => editor.add({
477
- id: ID6.make(definition.id),
477
+ id: ID4.make(definition.id),
478
478
  name: definition.name,
479
479
  execute: definition.execute
480
480
  }),
481
481
  default: {
482
482
  get: editor.default.get,
483
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
483
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
484
484
  }
485
485
  });
486
486
  })
@@ -534,31 +534,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
534
534
  return context;
535
535
  });
536
536
  var requirements3 = LayerNode.group([
537
- node45,
538
- node69,
537
+ node62,
539
538
  node72,
540
- node80,
539
+ node58,
540
+ node78,
541
+ node77,
542
+ node56,
543
+ node85,
541
544
  node79,
542
- node39,
543
545
  node87,
544
- node81,
545
- node64,
546
- node36,
547
- node84,
548
- node57,
549
- node56,
550
- node51,
546
+ node38,
547
+ node82,
551
548
  node53,
552
- node60,
549
+ node66,
553
550
  node63,
554
- node24,
551
+ node44,
555
552
  node25,
556
- node70,
557
- node65,
558
- node68,
559
- node26,
553
+ node20,
554
+ node21,
555
+ node22,
560
556
  node23,
561
- node50
557
+ node68,
558
+ node71,
559
+ node30,
560
+ node19,
561
+ node67
562
562
  ]);
563
563
  function storage2(kv, pluginID) {
564
564
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -585,7 +585,7 @@ function methodImplementation(input) {
585
585
  if ("authorize" in input) {
586
586
  const refresh = input.refresh;
587
587
  return {
588
- integrationID: ID14.make(input.integrationID),
588
+ integrationID: ID13.make(input.integrationID),
589
589
  method: { ...input.method, id: MethodID2.make(input.method.id) },
590
590
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
591
591
  if (authorization.mode === "auto") {
@@ -605,18 +605,18 @@ function methodImplementation(input) {
605
605
  }
606
606
  if (input.method.type === "env") {
607
607
  return {
608
- integrationID: ID14.make(input.integrationID),
608
+ integrationID: ID13.make(input.integrationID),
609
609
  method: input.method
610
610
  };
611
611
  }
612
612
  if (input.method.type === "command") {
613
613
  return {
614
- integrationID: ID14.make(input.integrationID),
614
+ integrationID: ID13.make(input.integrationID),
615
615
  method: { ...input.method, id: MethodID2.make(input.method.id) }
616
616
  };
617
617
  }
618
618
  return {
619
- integrationID: ID14.make(input.integrationID),
619
+ integrationID: ID13.make(input.integrationID),
620
620
  method: input.method
621
621
  };
622
622
  }