@opencode/core 0.0.0-dev-19836 → 0.0.0-dev-19837

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 +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{provider-5w7vw2xw.js → location-services-007ywmk0.js} +5 -5
  8. package/dist/chunks/{provider-rhjbct0v.js → location-services-02nrjc1r.js} +6 -6
  9. package/dist/chunks/{provider-basr843q.js → location-services-04ndwt4g.js} +5 -5
  10. package/dist/chunks/location-services-07spk5pt.js +492 -0
  11. package/dist/chunks/{provider-tcj2t8vk.js → location-services-0hcw47et.js} +2 -2
  12. package/dist/chunks/{provider-zdwe30dy.js → location-services-0jkw1j53.js} +6 -6
  13. package/dist/chunks/{provider-8mr3k4h2.js → location-services-0kyknra4.js} +11 -11
  14. package/dist/chunks/{provider-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{provider-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{provider-n865fexc.js → location-services-0svzc3ms.js} +40 -40
  17. package/dist/chunks/{provider-mzpqym4s.js → location-services-100ggytg.js} +26 -26
  18. package/dist/chunks/{provider-f8nt1psr.js → location-services-11745fj4.js} +23 -23
  19. package/dist/chunks/{provider-mvyy4qh8.js → location-services-119fgr4a.js} +87 -87
  20. package/dist/chunks/{provider-nbwvdyvz.js → location-services-1aj08kdp.js} +32 -32
  21. package/dist/chunks/{provider-1g0680n2.js → location-services-1cn11v2a.js} +44 -44
  22. package/dist/chunks/{provider-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{provider-qw8em5ng.js → location-services-1frr7fgk.js} +22 -22
  24. package/dist/chunks/{provider-06dxphr1.js → location-services-1hc11dc4.js} +4 -4
  25. package/dist/chunks/{provider-1e2dyvvx.js → location-services-1k5rw76t.js} +34 -34
  26. package/dist/chunks/{provider-9e8cqta3.js → location-services-1kqe5az9.js} +31 -31
  27. package/dist/chunks/location-services-1x11rq2a.js +18 -0
  28. package/dist/chunks/{provider-yebb45zj.js → location-services-20da25kr.js} +30 -30
  29. package/dist/chunks/{provider-h4bz714h.js → location-services-20xfcnp3.js} +6 -6
  30. package/dist/chunks/{provider-21r38tys.js → location-services-21r38tys.js} +1 -1
  31. package/dist/chunks/{provider-3ge4rz06.js → location-services-28xtht7t.js} +8 -8
  32. package/dist/chunks/{provider-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{provider-57ez7d0k.js → location-services-2fgn2we9.js} +9 -9
  34. package/dist/chunks/{provider-bz85s9hh.js → location-services-2jz473v5.js} +1 -1
  35. package/dist/chunks/{provider-qgn6gcr1.js → location-services-2k8khapm.js} +5 -5
  36. package/dist/chunks/{provider-whc354j7.js → location-services-2qqayhmv.js} +20 -20
  37. package/dist/chunks/{provider-dzkcnhdc.js → location-services-2v24grjy.js} +18 -18
  38. package/dist/chunks/{provider-c7yn6ytz.js → location-services-2yhmvnsm.js} +11 -11
  39. package/dist/chunks/{provider-cq37gk0t.js → location-services-3c4e3q8d.js} +4 -4
  40. package/dist/chunks/{provider-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{provider-ss7ks4j5.js → location-services-3g6j0hhb.js} +25 -25
  42. package/dist/chunks/{provider-nda2wghv.js → location-services-3gepfxd6.js} +19 -19
  43. package/dist/chunks/{provider-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{provider-s9rhvhkx.js → location-services-3k1nbdbw.js} +11 -11
  45. package/dist/chunks/{provider-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{provider-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{provider-ksqszy4w.js → location-services-3v834vqe.js} +11 -11
  48. package/dist/chunks/{provider-w7q1zcrw.js → location-services-478rcqqg.js} +13 -13
  49. package/dist/chunks/{provider-z159ncje.js → location-services-4mwsasfb.js} +11 -11
  50. package/dist/chunks/{provider-d06mzzet.js → location-services-4tvzb1sd.js} +29 -29
  51. package/dist/chunks/{provider-zp9qk7ne.js → location-services-4x60cftr.js} +28 -28
  52. package/dist/chunks/{provider-78bv9fnp.js → location-services-4y6xseyy.js} +15 -15
  53. package/dist/chunks/{provider-1htf6gj8.js → location-services-4z50fqkg.js} +90 -90
  54. package/dist/chunks/{provider-05bgp5qp.js → location-services-4za7tm8v.js} +33 -33
  55. package/dist/chunks/{provider-mgm5zdqv.js → location-services-55cv1jqh.js} +10 -10
  56. package/dist/chunks/{provider-1ygqh575.js → location-services-56gdpj1q.js} +9 -9
  57. package/dist/chunks/{provider-a1bz86dw.js → location-services-5c4hm403.js} +3 -3
  58. package/dist/chunks/{provider-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  59. package/dist/chunks/{provider-c0f3p06s.js → location-services-5e9qax8s.js} +23 -23
  60. package/dist/chunks/{provider-p7vtmph1.js → location-services-5mavpc6r.js} +44 -44
  61. package/dist/chunks/{provider-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{provider-669tq793.js → location-services-669tq793.js} +1 -1
  63. package/dist/chunks/{provider-v7c1j4fy.js → location-services-6cnycg91.js} +35 -35
  64. package/dist/chunks/{provider-w4arg62q.js → location-services-6ersrjne.js} +6 -6
  65. package/dist/chunks/{provider-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
  66. package/dist/chunks/{provider-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{provider-v2tzk7cv.js → location-services-6x9k2qbp.js} +16 -16
  68. package/dist/chunks/{provider-5phqnecy.js → location-services-6zz0jjar.js} +9 -9
  69. package/dist/chunks/{provider-hfczjsw8.js → location-services-71xak4j8.js} +18 -18
  70. package/dist/chunks/{provider-h489nx9j.js → location-services-734zdf7n.js} +9 -9
  71. package/dist/chunks/{provider-3b9qt4hj.js → location-services-73m34ham.js} +9 -9
  72. package/dist/chunks/{provider-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{provider-y7ysfew0.js → location-services-7jybmm05.js} +11 -11
  74. package/dist/chunks/{provider-mamd5kgb.js → location-services-7teh0s87.js} +25 -25
  75. package/dist/chunks/{provider-mhkvc446.js → location-services-7yh4e7ss.js} +3 -3
  76. package/dist/chunks/{provider-fa88dyr4.js → location-services-8462pbya.js} +24 -24
  77. package/dist/chunks/{provider-k1gkpfdk.js → location-services-8ank75fn.js} +8 -8
  78. package/dist/chunks/{provider-njm86czr.js → location-services-8bhwq06h.js} +24 -24
  79. package/dist/chunks/{provider-n8nx7cky.js → location-services-8c7atbhf.js} +32 -32
  80. package/dist/chunks/{provider-hqpd1xnh.js → location-services-8d664r2w.js} +20 -20
  81. package/dist/chunks/{provider-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{provider-h2pkw5gw.js → location-services-8jgcgwkq.js} +24 -24
  83. package/dist/chunks/{provider-vbfgae2j.js → location-services-8tsdq50x.js} +4 -4
  84. package/dist/chunks/{provider-rgk2ney7.js → location-services-8ze50vt3.js} +17 -17
  85. package/dist/chunks/{provider-69s15509.js → location-services-97vsxr6d.js} +11 -11
  86. package/dist/chunks/{provider-p59m71ee.js → location-services-9awzet7k.js} +15 -15
  87. package/dist/chunks/{provider-d31rezqm.js → location-services-9mnp22fh.js} +18 -18
  88. package/dist/chunks/{provider-5em3v9t2.js → location-services-9q3wnm91.js} +9 -9
  89. package/dist/chunks/{provider-r8gxghcv.js → location-services-9q85g4rf.js} +22 -22
  90. package/dist/chunks/{provider-6cpps8na.js → location-services-9xgkhjnq.js} +12 -12
  91. package/dist/chunks/{provider-b76baeng.js → location-services-a57b6ez4.js} +32 -32
  92. package/dist/chunks/{provider-82kndyh8.js → location-services-a6sgp6g3.js} +7 -7
  93. package/dist/chunks/{provider-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  94. package/dist/chunks/{provider-a2fd5jyn.js → location-services-arwsxrqn.js} +13 -13
  95. package/dist/chunks/{provider-86tpqd10.js → location-services-b0tpq7vq.js} +22 -22
  96. package/dist/chunks/{provider-a9bks421.js → location-services-b19zmjmv.js} +28 -28
  97. package/dist/chunks/{provider-hfn0xp6d.js → location-services-b52vbktb.js} +5 -5
  98. package/dist/chunks/{provider-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{provider-0r7yqxbf.js → location-services-bgxcxs0p.js} +5 -5
  100. package/dist/chunks/{provider-pr7veg4m.js → location-services-c21tn5sa.js} +3 -3
  101. package/dist/chunks/{provider-4drh5h3y.js → location-services-c2ekx4p4.js} +1 -1
  102. package/dist/chunks/{provider-nbaznm45.js → location-services-c2g18km0.js} +44 -44
  103. package/dist/chunks/{provider-h6qqq1aa.js → location-services-c2ty4kk7.js} +35 -35
  104. package/dist/chunks/{provider-g15pfrmb.js → location-services-c3v4h655.js} +13 -13
  105. package/dist/chunks/{provider-yvh7vk42.js → location-services-cdfy9c07.js} +9 -9
  106. package/dist/chunks/{provider-zzrdptt8.js → location-services-cmhbnssm.js} +5 -5
  107. package/dist/chunks/{provider-h6r3nrb9.js → location-services-cpj0znwe.js} +4 -4
  108. package/dist/chunks/{provider-fjafz3nd.js → location-services-cra404zb.js} +17 -17
  109. package/dist/chunks/{provider-apx0827f.js → location-services-cw0365tk.js} +5 -5
  110. package/dist/chunks/{provider-1rh720zf.js → location-services-cyjefzz2.js} +6 -6
  111. package/dist/chunks/{provider-jtm58g5z.js → location-services-d1fsd9nn.js} +32 -32
  112. package/dist/chunks/{provider-7py176jj.js → location-services-d7kmcpqg.js} +24 -24
  113. package/dist/chunks/{provider-yc4tz3dj.js → location-services-dbt573sm.js} +57 -57
  114. package/dist/chunks/{provider-b580bgdr.js → location-services-de5knrsa.js} +15 -15
  115. package/dist/chunks/{provider-czpndhbz.js → location-services-dfdf51fy.js} +26 -26
  116. package/dist/chunks/{provider-fbnf3z29.js → location-services-dg9wag4b.js} +3 -3
  117. package/dist/chunks/{provider-8p4f9s12.js → location-services-dj2t23y0.js} +2 -2
  118. package/dist/chunks/{provider-9xvq3m7s.js → location-services-dj9sq318.js} +5 -5
  119. package/dist/chunks/{provider-2sejkfem.js → location-services-djszqvmq.js} +9 -9
  120. package/dist/chunks/{provider-y71avatq.js → location-services-dpkg50ah.js} +4 -4
  121. package/dist/chunks/{provider-drwq78ky.js → location-services-drwq78ky.js} +1 -1
  122. package/dist/chunks/{provider-03wh323s.js → location-services-ds1hnb50.js} +23 -23
  123. package/dist/chunks/{provider-7arg0xwe.js → location-services-dw4dv2s2.js} +22 -22
  124. package/dist/chunks/{provider-kye37pnh.js → location-services-dxjrh372.js} +13 -13
  125. package/dist/chunks/{provider-j4dv9dx7.js → location-services-e1n7jafy.js} +16 -16
  126. package/dist/chunks/{provider-wydv7ax3.js → location-services-e6tmc4dn.js} +13 -13
  127. package/dist/chunks/{provider-arxff2r5.js → location-services-ea3ctmvw.js} +11 -11
  128. package/dist/chunks/{provider-0t9wd588.js → location-services-eeaf82dq.js} +8 -8
  129. package/dist/chunks/{provider-emkcrqbg.js → location-services-ef1pmnt8.js} +9 -9
  130. package/dist/chunks/{provider-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{provider-bdav1pff.js → location-services-ehcepgt9.js} +25 -25
  132. package/dist/chunks/{provider-1sadxdse.js → location-services-ej836de0.js} +11 -11
  133. package/dist/chunks/{provider-7zzc33zw.js → location-services-epjjka9c.js} +23 -23
  134. package/dist/chunks/{provider-erw5rpbs.js → location-services-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{provider-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{provider-gqsmyx82.js → location-services-ewmpatfj.js} +9 -9
  137. package/dist/chunks/{provider-65062tcg.js → location-services-f1f2nfdc.js} +10 -10
  138. package/dist/chunks/{provider-7jh389ga.js → location-services-f24azagy.js} +28 -28
  139. package/dist/chunks/{provider-74wf7e56.js → location-services-fdjh4knm.js} +7 -7
  140. package/dist/chunks/{provider-1682qy7f.js → location-services-fdp4he43.js} +27 -27
  141. package/dist/chunks/{provider-k8ens6qv.js → location-services-ff5b3vsa.js} +27 -27
  142. package/dist/chunks/{provider-aya99032.js → location-services-fkd4xh6h.js} +18 -18
  143. package/dist/chunks/{provider-7mwfjdjg.js → location-services-fn2a6dv9.js} +21 -21
  144. package/dist/chunks/{provider-ksawsn4b.js → location-services-fn4w1dzc.js} +41 -41
  145. package/dist/chunks/{provider-sgc0b5k4.js → location-services-fs8r9hsj.js} +9 -9
  146. package/dist/chunks/{provider-8dbgybgw.js → location-services-ftyje675.js} +3 -3
  147. package/dist/chunks/{provider-75f34rtq.js → location-services-fvx6s9yc.js} +6 -6
  148. package/dist/chunks/{provider-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{provider-hwvyndb6.js → location-services-fxmgg4aj.js} +4 -4
  150. package/dist/chunks/{provider-gztt0stp.js → location-services-g7gv2g3a.js} +176 -176
  151. package/dist/chunks/{provider-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{provider-f62qkzqr.js → location-services-gg4dpy88.js} +5 -5
  153. package/dist/chunks/{provider-ftqh13bq.js → location-services-gnvqkg1d.js} +6 -6
  154. package/dist/chunks/{provider-8atp6zqh.js → location-services-gpk7m87d.js} +5 -5
  155. package/dist/chunks/{provider-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{provider-gwcwkmv7.js → location-services-h26hwr7h.js} +24 -24
  157. package/dist/chunks/{provider-cnn77yjf.js → location-services-h2bnk7k6.js} +4 -4
  158. package/dist/chunks/{provider-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{provider-f828m53h.js → location-services-hdnk95c8.js} +2 -2
  160. package/dist/chunks/{provider-fx87g1p8.js → location-services-hedftr25.js} +15 -15
  161. package/dist/chunks/{provider-a3r4dcrj.js → location-services-hkagk5ex.js} +2 -2
  162. package/dist/chunks/{provider-ygaaqm9q.js → location-services-hph8qc38.js} +9 -9
  163. package/dist/chunks/{provider-hhm6svje.js → location-services-hsqt0cnh.js} +51 -51
  164. package/dist/chunks/{provider-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  165. package/dist/chunks/{provider-evpbcqxk.js → location-services-j5n5rv50.js} +14 -14
  166. package/dist/chunks/{provider-aredzfvk.js → location-services-je1r8zza.js} +4 -4
  167. package/dist/chunks/{provider-ybhbtxjg.js → location-services-jemfgm91.js} +3 -3
  168. package/dist/chunks/{provider-as2dbdzv.js → location-services-jg79b14v.js} +35 -35
  169. package/dist/chunks/{provider-ztvmj9vt.js → location-services-jt7ttpf2.js} +15 -15
  170. package/dist/chunks/{provider-k3c624dm.js → location-services-k3c624dm.js} +3 -3
  171. package/dist/chunks/{provider-x3hxzb6n.js → location-services-k73b7wxd.js} +8 -8
  172. package/dist/chunks/{provider-e2hjzebn.js → location-services-k76fn4kw.js} +4 -4
  173. package/dist/chunks/{provider-hgw9t808.js → location-services-kanck703.js} +18 -18
  174. package/dist/chunks/{provider-hhc94xxb.js → location-services-ke1a5261.js} +44 -44
  175. package/dist/chunks/{provider-x0zfx1ce.js → location-services-kf89s8d6.js} +11 -11
  176. package/dist/chunks/{provider-mf9fhcz6.js → location-services-kgygn7je.js} +4 -4
  177. package/dist/chunks/{provider-azz15b0c.js → location-services-khmm5t2n.js} +18 -18
  178. package/dist/chunks/{provider-fkjmw100.js → location-services-knb7evpn.js} +6 -6
  179. package/dist/chunks/{provider-s0ktpnqb.js → location-services-kpaq12ty.js} +13 -13
  180. package/dist/chunks/{provider-magykp64.js → location-services-kvvk39gs.js} +4 -4
  181. package/dist/chunks/{provider-yaze7axp.js → location-services-kwjzcy53.js} +10 -10
  182. package/dist/chunks/{provider-cfpkc3c9.js → location-services-m0jqrx5p.js} +2 -2
  183. package/dist/chunks/{provider-90adh171.js → location-services-m11kk84f.js} +32 -32
  184. package/dist/chunks/{provider-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{provider-jen70y5q.js → location-services-m4733gfk.js} +11 -11
  186. package/dist/chunks/{provider-vyqfs9aq.js → location-services-m5fyg1bs.js} +46 -46
  187. package/dist/chunks/{provider-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{provider-3znt1wpk.js → location-services-mesf747v.js} +9 -9
  189. package/dist/chunks/{provider-kdde5j3x.js → location-services-mhz5k9vh.js} +42 -42
  190. package/dist/chunks/{provider-w6d5a1tb.js → location-services-mp0xed7k.js} +27 -27
  191. package/dist/chunks/{provider-05xfxpq7.js → location-services-mw934p8z.js} +8 -8
  192. package/dist/chunks/{provider-5rk0k3gd.js → location-services-mwwetm44.js} +6 -6
  193. package/dist/chunks/{provider-4ckfh27y.js → location-services-n6e9bew6.js} +3 -3
  194. package/dist/chunks/{provider-4bnvpwd7.js → location-services-n7yhf3k5.js} +6 -6
  195. package/dist/chunks/{provider-sjdqp3nh.js → location-services-n81afcfa.js} +7 -7
  196. package/dist/chunks/{provider-jexxy024.js → location-services-ndmv45hp.js} +3 -3
  197. package/dist/chunks/{provider-yhjdj6k2.js → location-services-nf6k3q5n.js} +11 -11
  198. package/dist/chunks/{provider-4w04jcng.js → location-services-nf8bga6w.js} +16 -16
  199. package/dist/chunks/{provider-fcnhywp4.js → location-services-nh6bka7y.js} +35 -35
  200. package/dist/chunks/{provider-qg0jgkcp.js → location-services-nq7qbqzc.js} +9 -9
  201. package/dist/chunks/{provider-t4bqh1bd.js → location-services-nr34mnhb.js} +19 -19
  202. package/dist/chunks/{provider-s8zy8myc.js → location-services-nxhqveyz.js} +5 -5
  203. package/dist/chunks/{provider-15td0j1z.js → location-services-p20c12jc.js} +32 -32
  204. package/dist/chunks/{provider-p28j5sbe.js → location-services-p28j5sbe.js} +2 -2
  205. package/dist/chunks/location-services-p49m4rqh.js +26 -0
  206. package/dist/chunks/{provider-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{provider-pknna89w.js → location-services-pknna89w.js} +1 -1
  208. package/dist/chunks/{provider-mpjm327k.js → location-services-pnnhp6pm.js} +8 -8
  209. package/dist/chunks/{provider-grj8yyr4.js → location-services-ptcebqmk.js} +14 -14
  210. package/dist/chunks/{provider-q20c44bz.js → location-services-q304jdpe.js} +16 -16
  211. package/dist/chunks/{provider-2vqtjfqv.js → location-services-q6s1e2xm.js} +16 -16
  212. package/dist/chunks/{provider-hyrz6ndr.js → location-services-q857ra41.js} +12 -12
  213. package/dist/chunks/{provider-t1vbng9k.js → location-services-qjs1085f.js} +29 -29
  214. package/dist/chunks/{provider-a8psvap3.js → location-services-qp3cqwfd.js} +30 -30
  215. package/dist/chunks/{provider-5jpkytcg.js → location-services-qr10gabp.js} +46 -46
  216. package/dist/chunks/{provider-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  217. package/dist/chunks/{provider-2sd25e3x.js → location-services-qse6wh50.js} +16 -16
  218. package/dist/chunks/{provider-mda8qtvh.js → location-services-qv7snrja.js} +30 -30
  219. package/dist/chunks/{provider-v13rhakv.js → location-services-r6fwddjq.js} +29 -29
  220. package/dist/chunks/{provider-rcj95w22.js → location-services-r7rxb23g.js} +18 -18
  221. package/dist/chunks/{provider-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{provider-cjjbnact.js → location-services-rh0ks3yx.js} +18 -18
  223. package/dist/chunks/{provider-ahsc6j0w.js → location-services-rhr2287f.js} +15 -15
  224. package/dist/chunks/{provider-nazpdbhc.js → location-services-rnx96krx.js} +13 -13
  225. package/dist/chunks/{provider-r47bzvnc.js → location-services-rrcqb7mq.js} +8 -8
  226. package/dist/chunks/{provider-dknzpsbe.js → location-services-rxfm361e.js} +5 -5
  227. package/dist/chunks/{provider-gfzhf7me.js → location-services-s347dr27.js} +10 -10
  228. package/dist/chunks/{provider-r5nnd09r.js → location-services-s5j5yx42.js} +20 -20
  229. package/dist/chunks/{provider-c2ddg0d0.js → location-services-s6w733fx.js} +26 -26
  230. package/dist/chunks/{provider-czsahcf5.js → location-services-s81xp4h6.js} +14 -14
  231. package/dist/chunks/{provider-2ajc930w.js → location-services-s9gb701d.js} +13 -13
  232. package/dist/chunks/{provider-0y1q99g5.js → location-services-sdfezxs7.js} +22 -22
  233. package/dist/chunks/{provider-3k8yvm90.js → location-services-sh6h5w8s.js} +51 -51
  234. package/dist/chunks/{provider-1gncp487.js → location-services-sh89kava.js} +29 -29
  235. package/dist/chunks/{provider-671mfjqz.js → location-services-t2db0eay.js} +6 -6
  236. package/dist/chunks/{provider-7ntfaaks.js → location-services-t3aazdfk.js} +8 -8
  237. package/dist/chunks/{provider-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{provider-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{provider-vhaqwyxf.js → location-services-td4hvtjh.js} +8 -8
  240. package/dist/chunks/{provider-tdstcens.js → location-services-tdstcens.js} +1 -1
  241. package/dist/chunks/{provider-sxz6gkc3.js → location-services-tkmwgdpd.js} +4 -4
  242. package/dist/chunks/{provider-p37cw4rj.js → location-services-tpw6cwsb.js} +8 -8
  243. package/dist/chunks/{provider-chmcj56h.js → location-services-tt70z94x.js} +11 -11
  244. package/dist/chunks/{provider-tvtrv512.js → location-services-tvtrv512.js} +1 -1
  245. package/dist/chunks/{provider-855zaz61.js → location-services-twfpqh0y.js} +12 -12
  246. package/dist/chunks/{provider-yj604rek.js → location-services-twxxf4s6.js} +9 -9
  247. package/dist/chunks/{provider-nsarsp7q.js → location-services-vadan2xk.js} +12 -12
  248. package/dist/chunks/{provider-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  249. package/dist/chunks/{provider-pmyy6wgx.js → location-services-vk6xc8bn.js} +4 -4
  250. package/dist/chunks/{provider-bct739vz.js → location-services-vncycja5.js} +4 -4
  251. package/dist/chunks/{provider-q17z9dx8.js → location-services-vykevjvn.js} +5 -5
  252. package/dist/chunks/{provider-q9kwjsx6.js → location-services-vyrk0yhv.js} +17 -17
  253. package/dist/chunks/{provider-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{provider-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{provider-49efg6hh.js → location-services-w418y777.js} +9 -9
  256. package/dist/chunks/{provider-chrwx1ra.js → location-services-w4axh9wz.js} +6 -6
  257. package/dist/chunks/{provider-j7s4bfg0.js → location-services-w7mk4knt.js} +50 -50
  258. package/dist/chunks/{provider-wd87259q.js → location-services-wd87259q.js} +1 -1
  259. package/dist/chunks/{provider-h0ccxrqf.js → location-services-wdvvnqc5.js} +32 -32
  260. package/dist/chunks/{provider-v2vsy0py.js → location-services-we7ht0tm.js} +1 -1
  261. package/dist/chunks/{provider-skzznzbs.js → location-services-wefbk061.js} +15 -15
  262. package/dist/chunks/{provider-w9eedde7.js → location-services-wwq1qjv9.js} +26 -26
  263. package/dist/chunks/{provider-hzzpcvtj.js → location-services-wx3f4x5a.js} +29 -29
  264. package/dist/chunks/{provider-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{provider-e9sqvrex.js → location-services-xgrxakdc.js} +4 -4
  266. package/dist/chunks/{provider-n9q5nv43.js → location-services-xn9jxgmv.js} +8 -8
  267. package/dist/chunks/{provider-txqffk2q.js → location-services-xvh4ack0.js} +5 -5
  268. package/dist/chunks/{provider-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{provider-fbdydc3h.js → location-services-y1rt92wr.js} +28 -28
  270. package/dist/chunks/{provider-fdms3n6w.js → location-services-y56ehv6b.js} +9 -9
  271. package/dist/chunks/{provider-0rpg7gzc.js → location-services-y67gsgy6.js} +4 -4
  272. package/dist/chunks/{provider-phrvssew.js → location-services-y968z3dh.js} +5 -5
  273. package/dist/chunks/{provider-51y1rz4t.js → location-services-yn9ays14.js} +4 -4
  274. package/dist/chunks/{provider-r8xr0va3.js → location-services-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{provider-cjj42we6.js → location-services-yptpkvx0.js} +12 -12
  276. package/dist/chunks/{provider-hm5a9yba.js → location-services-yqx2aan1.js} +24 -24
  277. package/dist/chunks/{provider-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{provider-yrznvahk.js → location-services-yrznvahk.js} +2 -2
  279. package/dist/chunks/{provider-kx6q1bss.js → location-services-yyyarv90.js} +5 -5
  280. package/dist/chunks/{provider-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{provider-z63w68vq.js → location-services-z63w68vq.js} +2 -2
  282. package/dist/chunks/{provider-a200qbpt.js → location-services-zanvzfjc.js} +10 -10
  283. package/dist/chunks/{provider-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{provider-mw0p63mw.js → location-services-zh9858z0.js} +75 -75
  285. package/dist/chunks/{provider-pbb1p4ms.js → location-services-zhxmhdrs.js} +47 -47
  286. package/dist/chunks/{provider-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/location-services-zwypcbt3.js +252 -0
  288. package/dist/chunks/{provider-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +76 -76
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +224 -224
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +96 -96
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +81 -81
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +102 -102
  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 +90 -90
  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/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +86 -86
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +123 -123
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +108 -108
  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 +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +6 -6
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +89 -89
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +86 -86
  566. package/dist/reference.js +88 -88
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +3 -3
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +3 -3
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +223 -223
  581. package/dist/session/execution.js +125 -125
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +85 -85
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +222 -222
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +215 -215
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +11 -11
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +88 -88
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +122 -122
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +121 -121
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +115 -115
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +216 -216
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +113 -113
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +95 -95
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +7 -7
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +81 -81
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +8 -8
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +84 -84
  692. package/dist/worktree.js +91 -91
  693. package/package.json +8 -8
  694. package/dist/chunks/provider-52e3x94b.js +0 -492
  695. package/dist/chunks/provider-v1faaxn9.js +0 -18
  696. package/dist/chunks/provider-xsqp7mar.js +0 -252
  697. package/dist/chunks/provider-yn02nake.js +0 -26
  698. /package/dist/chunks/{provider-0mesazry.js → location-services-0mesazry.js} +0 -0
  699. /package/dist/chunks/{provider-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{provider-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{provider-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{provider-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{provider-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{provider-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{provider-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{provider-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{provider-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{provider-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{provider-3asan66x.js → location-services-3asan66x.js} +0 -0
  710. /package/dist/chunks/{provider-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{provider-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{provider-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{provider-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{provider-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{provider-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{provider-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{provider-53557ph1.js → location-services-53557ph1.js} +0 -0
  718. /package/dist/chunks/{provider-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{provider-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{provider-6prwharc.js → location-services-6prwharc.js} +0 -0
  721. /package/dist/chunks/{provider-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{provider-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{provider-822emrt2.js → location-services-822emrt2.js} +0 -0
  724. /package/dist/chunks/{provider-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{provider-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{provider-922hggd3.js → location-services-922hggd3.js} +0 -0
  727. /package/dist/chunks/{provider-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{provider-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{provider-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{provider-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{provider-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{provider-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{provider-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{provider-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{provider-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{provider-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{provider-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{provider-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{provider-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{provider-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{provider-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{provider-df08tz66.js → location-services-df08tz66.js} +0 -0
  743. /package/dist/chunks/{provider-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{provider-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{provider-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{provider-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{provider-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{provider-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{provider-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{provider-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{provider-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{provider-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{provider-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{provider-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{provider-g86h250q.js → location-services-g86h250q.js} +0 -0
  756. /package/dist/chunks/{provider-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{provider-gftt206x.js → location-services-gftt206x.js} +0 -0
  758. /package/dist/chunks/{provider-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{provider-hk9envan.js → location-services-hk9envan.js} +0 -0
  760. /package/dist/chunks/{provider-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{provider-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{provider-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{provider-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{provider-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{provider-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{provider-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{provider-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{provider-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{provider-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{provider-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{provider-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{provider-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{provider-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{provider-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{provider-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{provider-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{provider-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{provider-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{provider-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{provider-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{provider-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{provider-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{provider-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{provider-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{provider-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{provider-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{provider-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{provider-x61499pn.js → location-services-x61499pn.js} +0 -0
  789. /package/dist/chunks/{provider-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{provider-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{provider-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{provider-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{provider-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{provider-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./provider-q20c44bz.js";
2
+ Service81,
3
+ node85
4
+ } from "./location-services-q304jdpe.js";
5
5
  import {
6
6
  create3
7
- } from "./provider-rdw6cm16.js";
7
+ } from "./location-services-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./provider-9rqn6x4v.js";
10
+ } from "./location-services-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command5 = {};
14
14
  __export(exports_command5, {
15
15
  Command: () => exports_command5,
16
- Event: () => Event9,
16
+ Event: () => Event10,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info18,
18
+ Info: () => Info16,
19
19
  NotFoundError: () => NotFoundError7,
20
20
  Service: () => Service45,
21
- layer: () => layer18,
21
+ layer: () => layer20,
22
22
  node: () => node48
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event9 } from "@opencode/schema/command";
28
- var Info18 = Command.Info;
27
+ import { Event as Event10 } from "@opencode/schema/command";
28
+ var Info16 = Command.Info;
29
29
 
30
30
  class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -41,8 +41,8 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
41
41
 
42
42
  class Service45 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer18 = Layer.effect(Service45, Effect.gen(function* () {
45
- const bus = yield* Service82;
44
+ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
45
+ const bus = yield* Service81;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,7 +51,7 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info18.make({
54
+ const info = (definition) => Info16.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
@@ -73,8 +73,8 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
73
73
  }));
74
74
  var node48 = makeLocationNode({
75
75
  service: Service45,
76
- layer: layer18,
77
- deps: [node86]
76
+ layer: layer20,
77
+ deps: [node85]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info18, NotFoundError7, ExecutionError2, Service45, layer18, node48, exports_command5, Event9 };
89
+ export { Info16, NotFoundError7, ExecutionError2, Service45, layer20, node48, exports_command5, Event10 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./provider-gd4qta3r.js";
3
+ } from "./location-services-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./provider-tvtrv512.js";
6
+ } from "./location-services-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./provider-rdw6cm16.js";
9
+ } from "./location-services-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./provider-9rqn6x4v.js";
12
+ } from "./location-services-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service35,
21
+ Service: () => Service66,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node38
23
+ node: () => node69
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service35 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service66 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service35, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service35.of({
125
+ return Service66.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node38 = makeLocationNode({
143
- service: Service35,
142
+ var node69 = makeLocationNode({
143
+ service: Service66,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service35, node38, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service66, node69, exports_tool_output2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./provider-922hggd3.js";
4
+ } from "./location-services-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./provider-nsarsp7q.js";
8
+ Service83,
9
+ node87
10
+ } from "./location-services-vadan2xk.js";
11
11
  import {
12
- Service79,
13
- node83
14
- } from "./provider-v2tzk7cv.js";
12
+ Service78,
13
+ node82
14
+ } from "./location-services-6x9k2qbp.js";
15
15
  import {
16
16
  create3
17
- } from "./provider-rdw6cm16.js";
17
+ } from "./location-services-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./provider-9rqn6x4v.js";
20
+ } from "./location-services-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
25
+ Error: () => Error2,
26
26
  ID: () => ID4,
27
- Service: () => Service31,
27
+ Service: () => Service37,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node34,
29
+ node: () => node40,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service31 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service37 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service31, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service83;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node34 = makeLocationNode({
144
- service: Service31,
143
+ var node40 = makeLocationNode({
144
+ service: Service37,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node83]
146
+ deps: [FSUtil.node, node87, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service31, Service31.of({
148
+ var noopLayer2 = Layer.succeed(Service37, Service37.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error3, Service31, node34, noopLayer2, exports_snapshot2 };
166
+ export { ID4, Error2, Service37, node40, noopLayer2, exports_snapshot2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node66
5
- } from "./provider-mpjm327k.js";
4
+ node61
5
+ } from "./location-services-pnnhp6pm.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./provider-06dxphr1.js";
9
+ } from "./location-services-1hc11dc4.js";
10
10
  import {
11
- Service68,
12
- node72
13
- } from "./provider-k1gkpfdk.js";
11
+ Service74,
12
+ node77
13
+ } from "./location-services-8ank75fn.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./provider-j7s4bfg0.js";
16
+ } from "./location-services-w7mk4knt.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./provider-sjdqp3nh.js";
19
+ } from "./location-services-n81afcfa.js";
20
20
  import {
21
- Error4
22
- } from "./provider-hm5a9yba.js";
21
+ Error3
22
+ } from "./location-services-yqx2aan1.js";
23
23
  import {
24
- Service29,
25
- node32
26
- } from "./provider-arxff2r5.js";
24
+ Service30,
25
+ node33
26
+ } from "./location-services-ea3ctmvw.js";
27
27
  import {
28
28
  make14
29
- } from "./provider-drwq78ky.js";
29
+ } from "./location-services-drwq78ky.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./provider-bz85s9hh.js";
32
+ } from "./location-services-2jz473v5.js";
33
33
  import {
34
34
  __export
35
- } from "./provider-9rqn6x4v.js";
35
+ } from "./location-services-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service28,
40
+ Service: () => Service29,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer11,
45
- node: () => node31,
44
+ layer: () => layer13,
45
+ node: () => node32,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service28 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer11 = Layer.effect(Service28, Effect.gen(function* () {
156
- const hooks = yield* Service68;
157
- const transport = yield* Service29;
155
+ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
156
+ const hooks = yield* Service74;
157
+ const transport = yield* Service30;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error4({ message: "Tools are not available for this request" })
165
+ execute: () => new Error3({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -252,17 +252,17 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service28.of({
255
+ return Service29.of({
256
256
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
257
257
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
258
258
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
259
259
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
260
260
  });
261
261
  }));
262
- var node31 = makeLocationNode({
263
- service: Service28,
264
- layer: layer11,
265
- deps: [node72, node32, node66]
262
+ var node32 = makeLocationNode({
263
+ service: Service29,
264
+ layer: layer13,
265
+ deps: [node77, node33, node61]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service28, layer11, node31, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service29, layer13, node32, exports_model_request };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./provider-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service38
7
- } from "./provider-vyqfs9aq.js";
6
+ Service41
7
+ } from "./location-services-m5fyg1bs.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./provider-2a5m3afh.js";
10
+ } from "./location-services-2a5m3afh.js";
11
11
  import {
12
- Service49
13
- } from "./provider-7py176jj.js";
12
+ Service76
13
+ } from "./location-services-d7kmcpqg.js";
14
14
  import {
15
- Service70
16
- } from "./provider-fjafz3nd.js";
15
+ Service58
16
+ } from "./location-services-cra404zb.js";
17
17
  import {
18
- Service64
19
- } from "./provider-j7s4bfg0.js";
18
+ Service70
19
+ } from "./location-services-w7mk4knt.js";
20
20
  import {
21
- Service61,
21
+ Service69,
22
22
  resolvePath2
23
- } from "./provider-hgw9t808.js";
23
+ } from "./location-services-kanck703.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./provider-fxbjtjnd.js";
29
+ } from "./location-services-fxbjtjnd.js";
30
30
  import {
31
- Service44,
31
+ Service48,
32
32
  name15
33
- } from "./provider-skzznzbs.js";
33
+ } from "./location-services-wefbk061.js";
34
34
  import {
35
- NotFoundError5,
36
- Service33
37
- } from "./provider-hhm6svje.js";
35
+ NotFoundError6,
36
+ Service39
37
+ } from "./location-services-hsqt0cnh.js";
38
38
  import {
39
- Service18
40
- } from "./provider-1htf6gj8.js";
39
+ Service20
40
+ } from "./location-services-4z50fqkg.js";
41
41
  import {
42
42
  scan2
43
- } from "./provider-51y1rz4t.js";
43
+ } from "./location-services-yn9ays14.js";
44
44
  import {
45
45
  __export
46
- } from "./provider-9rqn6x4v.js";
46
+ } from "./location-services-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin21,
54
- ShellTool: () => exports_shell,
55
- name: () => name4
52
+ Input: () => Input2,
53
+ Plugin: () => Plugin20,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name2
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name2 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input4 = Schema.Struct({
73
+ var Input2 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin21 = {
118
+ var Plugin20 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service18;
122
- const jobs = yield* Service70;
121
+ const sessions = yield* Service20;
122
+ const jobs = yield* Service58;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service49;
125
- const access = yield* Service61;
126
- const shell = yield* Service33;
127
- const shellSelect = yield* Service44;
124
+ const environment = yield* Service76;
125
+ const access = yield* Service69;
126
+ const shell = yield* Service39;
127
+ const shellSelect = yield* Service48;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service64;
130
- const config = yield* Service38;
129
+ const permission = yield* Service70;
130
+ const config = yield* Service41;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin21 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name4,
149
+ action: name2,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin21 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name4,
186
+ name: name2,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input4,
189
+ input: Input2,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin21 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError5({ id: info.id });
208
+ return yield* new NotFoundError6({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name4,
222
+ type: name2,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name4];
252
+ const tool = event.tools[name2];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin21, exports_shell };
263
+ export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin20, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};