@opencode/core 0.0.0-dev-19974 → 0.0.0-dev-19975

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 (797) 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 +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{command-kkf65y6a.js → location-services-0673vfe6.js} +25 -25
  8. package/dist/chunks/{command-svt8e23h.js → location-services-089kk14c.js} +28 -28
  9. package/dist/chunks/{command-4gv05ame.js → location-services-0916jsyy.js} +11 -11
  10. package/dist/chunks/{command-sf8s250z.js → location-services-0akatdbs.js} +24 -24
  11. package/dist/chunks/{command-ca4wybjn.js → location-services-0bsrjas3.js} +12 -12
  12. package/dist/chunks/{command-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{command-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{command-97w5rk9e.js → location-services-0t9wd588.js} +8 -8
  15. package/dist/chunks/{command-g2aavtfc.js → location-services-104q0bh7.js} +3 -3
  16. package/dist/chunks/{command-5esk5nf6.js → location-services-1391s5qk.js} +18 -18
  17. package/dist/chunks/{command-b3h4hk8s.js → location-services-177v4jr3.js} +167 -167
  18. package/dist/chunks/{command-4qm7m3m6.js → location-services-19ppwr7v.js} +14 -14
  19. package/dist/chunks/{command-mt1xf8xq.js → location-services-1bdsjmsw.js} +4 -4
  20. package/dist/chunks/{command-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{command-qmawctgv.js → location-services-1qbned4j.js} +11 -11
  22. package/dist/chunks/{command-m2k7mg07.js → location-services-1t2khamf.js} +9 -9
  23. package/dist/chunks/{command-21r38tys.js → location-services-21r38tys.js} +1 -1
  24. package/dist/chunks/{command-6h73sxmp.js → location-services-2402vzrj.js} +5 -5
  25. package/dist/chunks/{command-j1h0x3qm.js → location-services-260rstwk.js} +4 -4
  26. package/dist/chunks/{command-b91y5b0n.js → location-services-2a33v3px.js} +20 -20
  27. package/dist/chunks/{command-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{command-18fjrjyv.js → location-services-2csmxjzx.js} +20 -20
  29. package/dist/chunks/{command-hqn1z470.js → location-services-2ewf845r.js} +12 -12
  30. package/dist/chunks/{command-6jt6hkba.js → location-services-2r6cz3cw.js} +24 -24
  31. package/dist/chunks/{command-eqbz22z4.js → location-services-2s3mnh9j.js} +37 -37
  32. package/dist/chunks/{command-w1kts72e.js → location-services-35gsk47f.js} +5 -5
  33. package/dist/chunks/{command-35agz59w.js → location-services-3a6re68j.js} +6 -6
  34. package/dist/chunks/{command-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{command-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{command-brmtm7cf.js → location-services-3q1d996h.js} +11 -11
  37. package/dist/chunks/{command-yx0qkvav.js → location-services-3qj11n1s.js} +52 -52
  38. package/dist/chunks/{command-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{command-fxjzx9zk.js → location-services-3tsvntwc.js} +2 -2
  40. package/dist/chunks/{command-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{command-k0gxj95r.js → location-services-3yzsbtk5.js} +33 -33
  42. package/dist/chunks/{command-0dtckawb.js → location-services-49qmw5p2.js} +13 -13
  43. package/dist/chunks/{command-gb73r5q4.js → location-services-4hcc7af7.js} +30 -30
  44. package/dist/chunks/{command-vbaxqaky.js → location-services-4kqqwhxe.js} +11 -11
  45. package/dist/chunks/{command-76vyv3fa.js → location-services-4qf6cv5v.js} +10 -10
  46. package/dist/chunks/{command-19wqcg6g.js → location-services-4qmfr7sb.js} +29 -29
  47. package/dist/chunks/{command-5fygez4p.js → location-services-4t3gmr2n.js} +5 -5
  48. package/dist/chunks/{command-d9s573fh.js → location-services-57ez7d0k.js} +2 -2
  49. package/dist/chunks/{command-8gxjxfk7.js → location-services-598rh06g.js} +32 -32
  50. package/dist/chunks/{command-szncdaef.js → location-services-5afb82kq.js} +4 -4
  51. package/dist/chunks/{command-w1k39n5e.js → location-services-5c0f1prt.js} +4 -4
  52. package/dist/chunks/{command-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  53. package/dist/chunks/{command-xydhn12a.js → location-services-5mra5t95.js} +6 -6
  54. package/dist/chunks/{command-ejhgf7w3.js → location-services-5nbw05k5.js} +11 -11
  55. package/dist/chunks/{command-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{command-y64kjv5k.js → location-services-60vjg1t9.js} +16 -16
  57. package/dist/chunks/{command-m4j94d0w.js → location-services-61twgykx.js} +17 -17
  58. package/dist/chunks/{command-e0378qy6.js → location-services-63kpjth9.js} +9 -9
  59. package/dist/chunks/{command-669tq793.js → location-services-669tq793.js} +1 -1
  60. package/dist/chunks/{command-ycrff0sc.js → location-services-67sm614f.js} +11 -11
  61. package/dist/chunks/{command-4dkr59gj.js → location-services-698t161c.js} +3 -3
  62. package/dist/chunks/{command-fdms3n6w.js → location-services-6hjx5zpb.js} +9 -9
  63. package/dist/chunks/{command-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{command-k6jsebqw.js → location-services-6mwdz5rr.js} +16 -16
  65. package/dist/chunks/{command-dj7ydz2q.js → location-services-6w1c0kqr.js} +1 -1
  66. package/dist/chunks/{command-ny7zsgxc.js → location-services-6wqjg4s1.js} +8 -8
  67. package/dist/chunks/{command-qbznwwr3.js → location-services-702grjpm.js} +3 -3
  68. package/dist/chunks/{command-8qby4p94.js → location-services-710qyn68.js} +47 -47
  69. package/dist/chunks/location-services-75xmh6z1.js +503 -0
  70. package/dist/chunks/{command-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{command-k6w958j5.js → location-services-7bx6fbd3.js} +3 -3
  72. package/dist/chunks/{command-3x4n1p4b.js → location-services-7hfd3ta9.js} +11 -11
  73. package/dist/chunks/{command-44ksrw62.js → location-services-7m0tw5w3.js} +5 -5
  74. package/dist/chunks/{command-pm3aw8jw.js → location-services-7nqrqxkr.js} +25 -25
  75. package/dist/chunks/{command-9ksxqh2k.js → location-services-7ny34fh5.js} +2 -2
  76. package/dist/chunks/{command-q5nw5m1n.js → location-services-7w3s9kd0.js} +6 -6
  77. package/dist/chunks/{command-q3t37ft6.js → location-services-7w99qc9d.js} +3 -3
  78. package/dist/chunks/{command-qvx74awb.js → location-services-7y0nnkh8.js} +8 -8
  79. package/dist/chunks/{command-rtbgd8vv.js → location-services-88y1fzsq.js} +16 -16
  80. package/dist/chunks/{command-89znhe33.js → location-services-89znhe33.js} +1 -1
  81. package/dist/chunks/{command-5v6q8ws3.js → location-services-8c5kjqks.js} +36 -36
  82. package/dist/chunks/{command-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{command-29ebz4cy.js → location-services-8hn3mr47.js} +19 -19
  84. package/dist/chunks/{command-dj2t23y0.js → location-services-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{command-xh0mn2db.js → location-services-8vfq8kmg.js} +4 -4
  86. package/dist/chunks/{command-k409y6k1.js → location-services-8xea18f0.js} +8 -8
  87. package/dist/chunks/{command-3f7xan5b.js → location-services-8yfge7sy.js} +4 -4
  88. package/dist/chunks/{command-cnkj3bkk.js → location-services-92k45pvj.js} +6 -6
  89. package/dist/chunks/{command-w0cjdr4y.js → location-services-9ez4xn4m.js} +26 -26
  90. package/dist/chunks/{command-en452bs7.js → location-services-9jgkxjne.js} +23 -23
  91. package/dist/chunks/{command-92rkebfh.js → location-services-9tadwx83.js} +13 -13
  92. package/dist/chunks/{command-77hk7r89.js → location-services-9yvjr51e.js} +9 -9
  93. package/dist/chunks/{command-r5b2g718.js → location-services-a12vw9wn.js} +33 -33
  94. package/dist/chunks/{command-5c4hm403.js → location-services-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{command-6axvzsm7.js → location-services-a2ymm1g0.js} +20 -20
  96. package/dist/chunks/{command-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  97. package/dist/chunks/{command-a16afrr2.js → location-services-ae7n2nze.js} +3 -3
  98. package/dist/chunks/{command-cb9ss0ge.js → location-services-ak1c3jvj.js} +9 -9
  99. package/dist/chunks/{command-y91g1rqk.js → location-services-aqnpacrp.js} +5 -5
  100. package/dist/chunks/{command-qsmad8q5.js → location-services-ay0drwcf.js} +26 -26
  101. package/dist/chunks/{command-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{command-12ppvwww.js → location-services-b7cs46qb.js} +9 -9
  103. package/dist/chunks/{command-vtpa8adt.js → location-services-b7fx4td0.js} +29 -29
  104. package/dist/chunks/{command-js89hyr4.js → location-services-b92k507q.js} +82 -82
  105. package/dist/chunks/{command-6dbd9kfr.js → location-services-b9dnjnx2.js} +4 -4
  106. package/dist/chunks/{command-1wnwcw7r.js → location-services-ba72fspk.js} +22 -22
  107. package/dist/chunks/{command-ceer43ev.js → location-services-bh9mdgtf.js} +3 -3
  108. package/dist/chunks/{command-15ecbz73.js → location-services-bmepjbt2.js} +17 -17
  109. package/dist/chunks/{command-gzk0z5t1.js → location-services-bt5qab31.js} +44 -44
  110. package/dist/chunks/{command-3ppptnan.js → location-services-bw9zjykr.js} +6 -6
  111. package/dist/chunks/{command-80agk8qd.js → location-services-bx73qnaz.js} +33 -33
  112. package/dist/chunks/{command-e23rwaaf.js → location-services-c1hrrqdg.js} +32 -32
  113. package/dist/chunks/{command-r60jn89m.js → location-services-c2zb4129.js} +17 -17
  114. package/dist/chunks/{command-ytjd48j9.js → location-services-c6vhszhr.js} +16 -16
  115. package/dist/chunks/{command-1fmn7nca.js → location-services-c95gceag.js} +26 -26
  116. package/dist/chunks/{command-m0jqrx5p.js → location-services-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{command-5we7r0eg.js → location-services-ch4t865s.js} +8 -8
  118. package/dist/chunks/{command-0fxyxxca.js → location-services-ckfwh0ft.js} +8 -8
  119. package/dist/chunks/{command-57aypccr.js → location-services-cq67rvxm.js} +3 -3
  120. package/dist/chunks/{command-dtyshr95.js → location-services-czy45c4v.js} +20 -20
  121. package/dist/chunks/{command-rqmc9bz6.js → location-services-d0yjwtn3.js} +4 -4
  122. package/dist/chunks/{command-rsnh7qyx.js → location-services-d1za1ksq.js} +5 -5
  123. package/dist/chunks/{command-j84y35zg.js → location-services-d3m1rxj3.js} +1 -1
  124. package/dist/chunks/{command-ngne8dfe.js → location-services-d4q3eqbp.js} +10 -10
  125. package/dist/chunks/{command-9xv0kghy.js → location-services-dcbj84cq.js} +4 -4
  126. package/dist/chunks/{command-2m0t44q9.js → location-services-dkt3kj3m.js} +14 -14
  127. package/dist/chunks/{command-xfkkasph.js → location-services-drwq78ky.js} +4 -4
  128. package/dist/chunks/{command-5cry9dbs.js → location-services-dttg7nxd.js} +42 -42
  129. package/dist/chunks/{command-e64hjbz6.js → location-services-dv2avwe4.js} +5 -5
  130. package/dist/chunks/{command-5arbc4sb.js → location-services-dvh6p90y.js} +50 -50
  131. package/dist/chunks/{command-y32hsvj3.js → location-services-e09tse5t.js} +29 -29
  132. package/dist/chunks/{command-7rx5b338.js → location-services-e0mw0c73.js} +12 -12
  133. package/dist/chunks/{command-azsbfkqj.js → location-services-e3e8kjz0.js} +14 -14
  134. package/dist/chunks/{command-3gafegkz.js → location-services-e6pjtdvq.js} +6 -6
  135. package/dist/chunks/{command-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{command-p504gj3f.js → location-services-ehbx4wzj.js} +8 -8
  137. package/dist/chunks/{command-erw5rpbs.js → location-services-erw5rpbs.js} +2 -2
  138. package/dist/chunks/{command-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{command-69zdqv0e.js → location-services-f2313ze9.js} +9 -9
  140. package/dist/chunks/{command-d8vs3fz8.js → location-services-f5qy5xjn.js} +23 -23
  141. package/dist/chunks/{command-hdnk95c8.js → location-services-f828m53h.js} +2 -2
  142. package/dist/chunks/{command-44ke2mar.js → location-services-fkjmw100.js} +6 -6
  143. package/dist/chunks/{command-6pj7x9ww.js → location-services-fpx7htvs.js} +15 -15
  144. package/dist/chunks/{command-dm0bbnwt.js → location-services-fswwm3e4.js} +8 -8
  145. package/dist/chunks/{command-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{command-p37cw4rj.js → location-services-g0445xdp.js} +8 -8
  147. package/dist/chunks/{command-jw80jp6b.js → location-services-g190xswt.js} +4 -4
  148. package/dist/chunks/{command-z7t8qwge.js → location-services-g2qbz7ad.js} +5 -5
  149. package/dist/chunks/{command-fdv30zvt.js → location-services-g8d3gcyj.js} +4 -4
  150. package/dist/chunks/location-services-gbadjzag.js +4 -0
  151. package/dist/chunks/{command-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{command-y1q6eyqb.js → location-services-ghqhrgyn.js} +16 -16
  153. package/dist/chunks/{command-sds13m34.js → location-services-gk4m79v4.js} +14 -14
  154. package/dist/chunks/{command-rahj5xg6.js → location-services-gpf1akt4.js} +8 -8
  155. package/dist/chunks/{command-yyb7tjpc.js → location-services-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{command-hng4xen5.js → location-services-h03jhrmm.js} +23 -23
  157. package/dist/chunks/{command-nzyhnfxz.js → location-services-h6r3nrb9.js} +4 -4
  158. package/dist/chunks/{command-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{command-y31b318c.js → location-services-hfdr1yjj.js} +4 -4
  160. package/dist/chunks/{command-98r14yx2.js → location-services-hfhbff15.js} +11 -11
  161. package/dist/chunks/{command-9bh1kbwm.js → location-services-hfmbhb0v.js} +35 -35
  162. package/dist/chunks/{command-d4kvcxbh.js → location-services-hj81kgmb.js} +15 -15
  163. package/dist/chunks/{command-pn2fvd3j.js → location-services-hyrz6ndr.js} +12 -12
  164. package/dist/chunks/{command-bkt6pkzv.js → location-services-j333e51k.js} +23 -23
  165. package/dist/chunks/{command-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  166. package/dist/chunks/{command-bvrm6sd3.js → location-services-j9pw51p3.js} +26 -26
  167. package/dist/chunks/{command-csmtma2g.js → location-services-jbh1cmae.js} +18 -18
  168. package/dist/chunks/{command-jshnnbm0.js → location-services-jejs7rer.js} +3 -3
  169. package/dist/chunks/{command-8a6kxmc8.js → location-services-jkdaszze.js} +33 -33
  170. package/dist/chunks/{command-bp02r99k.js → location-services-jqnpsya4.js} +4 -4
  171. package/dist/chunks/{command-zg4hrway.js → location-services-jspdrsne.js} +20 -20
  172. package/dist/chunks/{command-tg765z21.js → location-services-jtrztkj0.js} +6 -6
  173. package/dist/chunks/{command-ycytvwgt.js → location-services-jymg4yzt.js} +26 -26
  174. package/dist/chunks/{command-nzks3jc8.js → location-services-k3c624dm.js} +3 -3
  175. package/dist/chunks/{command-3ktbe3hf.js → location-services-k9avtbwf.js} +6 -6
  176. package/dist/chunks/{command-beq4zdab.js → location-services-kecwm5gn.js} +11 -11
  177. package/dist/chunks/{command-zqcfqxpy.js → location-services-kffet6q6.js} +20 -20
  178. package/dist/chunks/{command-jm23qt55.js → location-services-kfkn95kh.js} +16 -16
  179. package/dist/chunks/{command-qnv6wqrn.js → location-services-kg04d60s.js} +86 -86
  180. package/dist/chunks/{command-rkwepmqr.js → location-services-kw0g404m.js} +10 -10
  181. package/dist/chunks/{command-pdhkkygs.js → location-services-kxvn6n2f.js} +9 -9
  182. package/dist/chunks/{command-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{command-5r8re7cq.js → location-services-m5jn93st.js} +5 -5
  184. package/dist/chunks/{command-1vc7h4bf.js → location-services-m9tmsx7y.js} +20 -20
  185. package/dist/chunks/{command-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{command-n80jc431.js → location-services-maj04dgt.js} +17 -17
  187. package/dist/chunks/{command-85gr95dm.js → location-services-mckr61m4.js} +66 -66
  188. package/dist/chunks/{command-1ygqh575.js → location-services-mfqp6xfm.js} +6 -6
  189. package/dist/chunks/{command-21bs846c.js → location-services-ms4tmmwz.js} +17 -17
  190. package/dist/chunks/{command-mhkvc446.js → location-services-mvfsc1pv.js} +3 -3
  191. package/dist/chunks/location-services-mvtmfmfb.js +26 -0
  192. package/dist/chunks/{command-c27g0cwe.js → location-services-n54j8dy8.js} +14 -14
  193. package/dist/chunks/{command-gezbrf6h.js → location-services-n5a93a7r.js} +4 -4
  194. package/dist/chunks/{command-kz87xe09.js → location-services-nf9mvk43.js} +30 -30
  195. package/dist/chunks/{command-f3t28nxc.js → location-services-nkydbpf6.js} +7 -7
  196. package/dist/chunks/{command-jca4demv.js → location-services-nng2ktcm.js} +2 -2
  197. package/dist/chunks/{command-3801kdgp.js → location-services-npwy0cf6.js} +5 -5
  198. package/dist/chunks/{command-bc7r1051.js → location-services-ns2wmxy1.js} +8 -8
  199. package/dist/chunks/{command-f41ena25.js → location-services-nyhmyhfn.js} +9 -9
  200. package/dist/chunks/{command-hvf8bzx3.js → location-services-nz5501ch.js} +15 -15
  201. package/dist/chunks/{command-cd0z4qvb.js → location-services-p3rd9cb6.js} +8 -8
  202. package/dist/chunks/{command-1jqpcwdd.js → location-services-p7we1hrz.js} +13 -13
  203. package/dist/chunks/{command-5mjt82ds.js → location-services-pb3rzm1n.js} +21 -21
  204. package/dist/chunks/{command-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{command-pknna89w.js → location-services-pknna89w.js} +1 -1
  206. package/dist/chunks/{command-t9zs3egg.js → location-services-pmr4s4kc.js} +4 -4
  207. package/dist/chunks/location-services-pn6h1b1r.js +252 -0
  208. package/dist/chunks/{command-bbn46np6.js → location-services-pndcjns4.js} +38 -38
  209. package/dist/chunks/{command-6bnbyxfg.js → location-services-q853cmgp.js} +11 -11
  210. package/dist/chunks/{command-v5g5v3ws.js → location-services-qgfymp7z.js} +20 -20
  211. package/dist/chunks/{command-esafk7q3.js → location-services-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{command-st8d6rzm.js → location-services-qhebqpkw.js} +31 -31
  213. package/dist/chunks/{command-t3swkhbg.js → location-services-qjnxxf51.js} +5 -5
  214. package/dist/chunks/{command-c68rk66j.js → location-services-qjqrezts.js} +8 -8
  215. package/dist/chunks/{command-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  216. package/dist/chunks/{command-tx9w5tca.js → location-services-qwjmgwmn.js} +8 -8
  217. package/dist/chunks/{command-rc2rdsk3.js → location-services-r1e1bnxz.js} +23 -23
  218. package/dist/chunks/{command-cwa6csj7.js → location-services-r2m716tb.js} +9 -9
  219. package/dist/chunks/{command-qv6qez6w.js → location-services-r2tsv3wg.js} +7 -7
  220. package/dist/chunks/{command-yp2x3t23.js → location-services-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{command-z3qta96q.js → location-services-r9eq9xg7.js} +5 -5
  222. package/dist/chunks/{command-jndgkwdf.js → location-services-rdshk97x.js} +9 -9
  223. package/dist/chunks/{command-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{command-4drgpw32.js → location-services-rf80fxgj.js} +5 -5
  225. package/dist/chunks/{command-mvn2r3z4.js → location-services-rhafb4aa.js} +5 -5
  226. package/dist/chunks/{command-gst7axd9.js → location-services-rwm5vee1.js} +4 -4
  227. package/dist/chunks/{command-86qzxe6p.js → location-services-s26hbv8p.js} +4 -4
  228. package/dist/chunks/{command-eaj1djv9.js → location-services-s8d7rejh.js} +6 -6
  229. package/dist/chunks/{command-2evyaa68.js → location-services-sej7e0cf.js} +4 -4
  230. package/dist/chunks/{command-z0pamjge.js → location-services-shas0zdn.js} +44 -44
  231. package/dist/chunks/{command-qcqngy56.js → location-services-sq2tgyxc.js} +29 -29
  232. package/dist/chunks/{command-ypwyy9wb.js → location-services-srek7m3q.js} +13 -13
  233. package/dist/chunks/{command-ez47arx5.js → location-services-t0fxg8b9.js} +5 -5
  234. package/dist/chunks/{command-nnbzrd8n.js → location-services-t2g29g87.js} +18 -18
  235. package/dist/chunks/{command-qmk2rxp5.js → location-services-t60gdekx.js} +5 -5
  236. package/dist/chunks/{command-6yd319e0.js → location-services-t6gvky2f.js} +40 -40
  237. package/dist/chunks/{command-q29a3mzv.js → location-services-t84b0cnn.js} +15 -15
  238. package/dist/chunks/{command-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{command-p28j5sbe.js → location-services-tbz0fdvh.js} +5 -5
  240. package/dist/chunks/{command-tdstcens.js → location-services-tdstcens.js} +1 -1
  241. package/dist/chunks/{command-7s37cbtz.js → location-services-tjfve502.js} +8 -8
  242. package/dist/chunks/{command-5qmpb97a.js → location-services-tnr69bnh.js} +3 -3
  243. package/dist/chunks/{command-np4grtax.js → location-services-ttg22typ.js} +21 -21
  244. package/dist/chunks/{command-tvtrv512.js → location-services-tvtrv512.js} +1 -1
  245. package/dist/chunks/{command-ph5q8xzv.js → location-services-txem1jx5.js} +10 -10
  246. package/dist/chunks/{command-dnm7xxeh.js → location-services-tybbf50r.js} +3 -3
  247. package/dist/chunks/location-services-v1faaxn9.js +18 -0
  248. package/dist/chunks/{command-9tb5hr0v.js → location-services-v2kc4m29.js} +24 -24
  249. package/dist/chunks/{command-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  250. package/dist/chunks/{command-hm4csw6w.js → location-services-vk0b90t9.js} +15 -15
  251. package/dist/chunks/{command-mwch1h7x.js → location-services-vkwyn1a3.js} +28 -28
  252. package/dist/chunks/{command-s2ynmxvy.js → location-services-vy4zg7qh.js} +5 -5
  253. package/dist/chunks/{command-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{command-1dard8rw.js → location-services-w0rp7m49.js} +9 -9
  255. package/dist/chunks/{command-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{command-fb3kqv53.js → location-services-w3zm2e9m.js} +40 -40
  257. package/dist/chunks/{command-0601qg4c.js → location-services-w4b82h60.js} +10 -10
  258. package/dist/chunks/{command-f2wfspan.js → location-services-w6dttbvj.js} +6 -6
  259. package/dist/chunks/{command-wd87259q.js → location-services-wd87259q.js} +1 -1
  260. package/dist/chunks/{command-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{command-mqzwkyay.js → location-services-x8cycxf4.js} +4 -4
  262. package/dist/chunks/{command-m9wnxg74.js → location-services-xh40qn80.js} +14 -14
  263. package/dist/chunks/{command-tqnd21xx.js → location-services-xmfmtq35.js} +16 -16
  264. package/dist/chunks/{command-h47e2fat.js → location-services-xv5dzxpm.js} +22 -22
  265. package/dist/chunks/{command-q0r7cvmx.js → location-services-y12xfdj2.js} +11 -11
  266. package/dist/chunks/{command-7y0fda1f.js → location-services-y16x9bsh.js} +8 -8
  267. package/dist/chunks/{command-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{command-wgzvszfr.js → location-services-y3drazew.js} +24 -24
  269. package/dist/chunks/{command-y71avatq.js → location-services-y71avatq.js} +1 -1
  270. package/dist/chunks/{command-9jyavp4h.js → location-services-ybsvey3q.js} +8 -8
  271. package/dist/chunks/{command-v7bs4fwn.js → location-services-ygx0r1a5.js} +12 -12
  272. package/dist/chunks/{command-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{command-yrznvahk.js → location-services-yrznvahk.js} +2 -2
  274. package/dist/chunks/{command-jwbqhvyy.js → location-services-yt0fqk68.js} +5 -5
  275. package/dist/chunks/{command-eac26f80.js → location-services-yy7ajxpj.js} +29 -29
  276. package/dist/chunks/{command-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{command-ha7xgv60.js → location-services-z34bqxfp.js} +30 -30
  278. package/dist/chunks/{command-rgbassad.js → location-services-z568v2bz.js} +23 -23
  279. package/dist/chunks/{command-z63w68vq.js → location-services-z63w68vq.js} +2 -2
  280. package/dist/chunks/{command-kw5v92fn.js → location-services-z6489t8s.js} +19 -19
  281. package/dist/chunks/{command-fyxvyc63.js → location-services-z811gd5h.js} +16 -16
  282. package/dist/chunks/{command-aht6b1gw.js → location-services-z8t3qsap.js} +9 -9
  283. package/dist/chunks/{command-njkzccyn.js → location-services-ze3x53x4.js} +7 -7
  284. package/dist/chunks/{command-rq775frq.js → location-services-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{command-4jc5c4h4.js → location-services-zhq6vg7a.js} +1 -1
  286. package/dist/chunks/{command-x6k8vawk.js → location-services-zm85d2ry.js} +10 -10
  287. package/dist/chunks/{command-395exzp5.js → location-services-zpjh97gf.js} +27 -27
  288. package/dist/chunks/{command-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{command-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{command-7nvpgp18.js → location-services-zzxgczqy.js} +24 -24
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +125 -125
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +90 -90
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +92 -92
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +89 -89
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +226 -226
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +101 -101
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +84 -84
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +80 -80
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +105 -105
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +81 -81
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +112 -112
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +103 -103
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/compaction.js +132 -132
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +119 -119
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +75 -75
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +348 -348
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +228 -228
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +79 -79
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +86 -86
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +92 -92
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +127 -127
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +207 -207
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +215 -215
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +137 -137
  630. package/dist/skill/discovery.js +4 -4
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +107 -107
  633. package/dist/snapshot.js +92 -92
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +119 -119
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +102 -102
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +216 -216
  647. package/dist/tool/plugin/skill.js +112 -112
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +109 -109
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +90 -90
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +81 -81
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +76 -76
  688. package/dist/workspace/driver.js +3 -3
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +73 -73
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +97 -97
  696. package/package.json +8 -8
  697. package/dist/chunks/command-0mesazry.js +0 -4
  698. package/dist/chunks/command-0repjh3r.js +0 -252
  699. package/dist/chunks/command-vnkjks7b.js +0 -18
  700. package/dist/chunks/command-w0825h81.js +0 -503
  701. package/dist/chunks/command-zyyeags5.js +0 -26
  702. /package/dist/chunks/{command-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{command-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{command-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{command-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{command-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{command-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{command-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{command-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{command-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{command-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{command-3asan66x.js → location-services-3asan66x.js} +0 -0
  713. /package/dist/chunks/{command-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{command-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{command-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{command-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{command-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{command-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{command-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{command-53557ph1.js → location-services-53557ph1.js} +0 -0
  721. /package/dist/chunks/{command-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{command-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{command-6prwharc.js → location-services-6prwharc.js} +0 -0
  724. /package/dist/chunks/{command-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{command-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{command-822emrt2.js → location-services-822emrt2.js} +0 -0
  727. /package/dist/chunks/{command-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{command-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{command-922hggd3.js → location-services-922hggd3.js} +0 -0
  730. /package/dist/chunks/{command-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{command-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{command-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{command-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{command-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{command-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{command-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{command-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{command-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{command-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{command-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{command-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{command-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{command-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{command-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{command-df08tz66.js → location-services-df08tz66.js} +0 -0
  746. /package/dist/chunks/{command-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{command-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{command-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{command-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{command-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{command-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{command-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{command-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{command-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{command-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{command-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{command-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{command-g86h250q.js → location-services-g86h250q.js} +0 -0
  759. /package/dist/chunks/{command-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{command-gftt206x.js → location-services-gftt206x.js} +0 -0
  761. /package/dist/chunks/{command-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{command-hk9envan.js → location-services-hk9envan.js} +0 -0
  763. /package/dist/chunks/{command-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{command-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{command-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{command-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{command-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{command-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{command-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{command-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{command-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{command-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{command-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{command-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{command-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{command-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{command-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{command-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{command-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{command-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{command-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{command-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{command-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{command-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{command-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{command-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{command-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{command-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{command-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{command-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{command-x61499pn.js → location-services-x61499pn.js} +0 -0
  792. /package/dist/chunks/{command-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{command-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{command-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{command-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{command-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{command-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service40
3
- } from "./command-3ppptnan.js";
2
+ Service62
3
+ } from "./location-services-bw9zjykr.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./command-vnkjks7b.js";
6
+ } from "./location-services-v1faaxn9.js";
7
7
  import {
8
- Service44
9
- } from "./command-8a6kxmc8.js";
8
+ Service33
9
+ } from "./location-services-jkdaszze.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./command-fxbjtjnd.js";
12
+ } from "./location-services-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./location-services-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service40;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
25
+ const instances = yield* Service62;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service33), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID9
3
- } from "./command-vtpa8adt.js";
2
+ ID13
3
+ } from "./location-services-b7fx4td0.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID9.googleVertex)
62
+ if (evt.model.providerID !== ID13.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./command-922hggd3.js";
4
+ } from "./location-services-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./command-s2ynmxvy.js";
10
+ } from "./location-services-vy4zg7qh.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./command-fxjzx9zk.js";
14
+ } from "./location-services-3tsvntwc.js";
15
15
  import {
16
16
  create3
17
- } from "./command-rdw6cm16.js";
17
+ } from "./location-services-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./command-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,
26
- ID: () => ID6,
27
- Service: () => Service52,
25
+ Error: () => Error2,
26
+ ID: () => ID4,
27
+ Service: () => Service31,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node54,
30
- noopLayer: () => noopLayer3
29
+ node: () => node34,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
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 Service52 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service31 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service52, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, 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(Service52, 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;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service52, 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 Service52.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node54 = makeLocationNode({
144
- service: Service52,
143
+ var node34 = makeLocationNode({
144
+ service: Service31,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service52, Service52.of({
148
+ var noopLayer2 = Layer.succeed(Service31, Service31.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service52, Service52.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 { ID6, Error3, Service52, node54, noopLayer3, exports_snapshot2 };
166
+ export { ID4, Error2, Service31, node34, noopLayer2, exports_snapshot2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./command-2a5m3afh.js";
5
+ } from "./location-services-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./command-9rqn6x4v.js";
8
+ } from "./location-services-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./command-fxjzx9zk.js";
6
+ } from "./location-services-3tsvntwc.js";
7
7
  import {
8
8
  Service47
9
- } from "./command-st8d6rzm.js";
9
+ } from "./location-services-qhebqpkw.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./command-mwch1h7x.js";
13
+ } from "./location-services-vkwyn1a3.js";
14
14
  import {
15
15
  observe2
16
- } from "./command-qsdy395h.js";
16
+ } from "./location-services-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./command-9rqn6x4v.js";
19
+ } from "./location-services-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin39
25
+ Plugin: () => Plugin7
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin39 = define({
31
+ var Plugin7 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const config = yield* Service47;
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin39, exports_reference };
75
+ export { Plugin7, exports_reference };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./command-xh0mn2db.js";
4
+ } from "./location-services-8vfq8kmg.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./command-rdw6cm16.js";
8
+ } from "./location-services-rdw6cm16.js";
9
9
  import {
10
- ID10,
11
- Service68,
12
- node72,
13
- Event15
14
- } from "./command-19wqcg6g.js";
10
+ ID14,
11
+ Service77,
12
+ node81,
13
+ Event18
14
+ } from "./location-services-4qmfr7sb.js";
15
15
  import {
16
16
  key2
17
- } from "./command-nzyhnfxz.js";
17
+ } from "./location-services-h6r3nrb9.js";
18
18
  import {
19
19
  Service80,
20
20
  node84
21
- } from "./command-fxjzx9zk.js";
21
+ } from "./location-services-3tsvntwc.js";
22
22
  import {
23
23
  __export
24
- } from "./command-9rqn6x4v.js";
24
+ } from "./location-services-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event14,
41
- ID: () => ID9,
42
- Info: () => Info22,
40
+ Event: () => Event17,
41
+ ID: () => ID13,
42
+ Info: () => Info27,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
- Request: () => Request2,
46
- Service: () => Service67,
45
+ Request: () => Request3,
46
+ Service: () => Service76,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node71,
56
+ node: () => node80,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event14 } from "@opencode/schema/provider";
68
- var ID9 = Provider.ID;
67
+ import { Event as Event17 } from "@opencode/schema/provider";
68
+ var ID13 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
206
206
  return result;
207
207
  }, new Map).values());
208
208
  }
209
- var Request2 = Provider.Request;
209
+ var Request3 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info22 = Provider.Info;
213
+ var Info27 = Provider.Info;
214
214
 
215
- class Service67 extends Context.Service()("@opencode/Provider") {
215
+ class Service76 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,9 +225,9 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service67, Effect.gen(function* () {
228
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
229
229
  const bus = yield* Service83;
230
- const integrations = yield* Service68;
230
+ const integrations = yield* Service77;
231
231
  const location = yield* Service80;
232
232
  const state = create3({
233
233
  name: "provider",
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info22.empty(id), models: new Map };
242
+ const added = { provider: Info27.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service67.of({
349
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service76.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node71 = makeLocationNode({ service: Service67, layer, deps: [node87, node72, node84] });
359
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node84] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
616
616
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
617
617
  var decode = Schema2.decodeUnknownSync(Legacy);
618
618
 
619
- export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info22, Service67, node71, exports_provider3, Event14 };
619
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
@@ -1,118 +1,118 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-57aypccr.js";
4
+ } from "./location-services-cq67rvxm.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./command-fxjzx9zk.js";
8
+ } from "./location-services-3tsvntwc.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service66,
13
- node70
14
- } from "./command-y32hsvj3.js";
12
+ Service75,
13
+ node79
14
+ } from "./location-services-e09tse5t.js";
15
15
  import {
16
- ID16,
17
- Service79,
18
- node83
19
- } from "./command-5mjt82ds.js";
16
+ ID11,
17
+ Service70,
18
+ node74
19
+ } from "./location-services-pb3rzm1n.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./command-3ktbe3hf.js";
22
+ } from "./location-services-k9avtbwf.js";
23
23
  import {
24
24
  combine2
25
- } from "./command-eaj1djv9.js";
25
+ } from "./location-services-s8d7rejh.js";
26
26
  import {
27
27
  provenance2
28
- } from "./command-w1k39n5e.js";
28
+ } from "./location-services-5c0f1prt.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./command-rahj5xg6.js";
31
+ } from "./location-services-gpf1akt4.js";
32
32
  import {
33
- Service76,
34
- node80
35
- } from "./command-c27g0cwe.js";
33
+ Service69,
34
+ node73
35
+ } from "./location-services-n54j8dy8.js";
36
36
  import {
37
37
  merge2
38
- } from "./command-yx0qkvav.js";
38
+ } from "./location-services-3qj11n1s.js";
39
39
  import {
40
- make14
41
- } from "./command-sds13m34.js";
40
+ make13
41
+ } from "./location-services-gk4m79v4.js";
42
42
  import {
43
- Service63,
44
- node67
45
- } from "./command-7nvpgp18.js";
43
+ Service46,
44
+ node50
45
+ } from "./location-services-zzxgczqy.js";
46
46
  import {
47
- Service24,
47
+ Service23,
48
48
  node27
49
- } from "./command-7rx5b338.js";
49
+ } from "./location-services-e0mw0c73.js";
50
50
  import {
51
- Service32,
52
- node35
53
- } from "./command-6jt6hkba.js";
51
+ Service44,
52
+ node48
53
+ } from "./location-services-2r6cz3cw.js";
54
54
  import {
55
- Service26,
56
- node29
57
- } from "./command-eac26f80.js";
55
+ Service28,
56
+ node31
57
+ } from "./location-services-yy7ajxpj.js";
58
58
  import {
59
- Service25,
60
- node28
61
- } from "./command-bkt6pkzv.js";
59
+ Service21,
60
+ node25
61
+ } from "./location-services-j333e51k.js";
62
62
  import {
63
- Service31,
64
- node34
65
- } from "./command-d4kvcxbh.js";
63
+ Service30,
64
+ node33
65
+ } from "./location-services-hj81kgmb.js";
66
+ import {
67
+ Service22,
68
+ node26
69
+ } from "./location-services-t2g29g87.js";
66
70
  import {
67
71
  Service27,
68
72
  node30
69
- } from "./command-nnbzrd8n.js";
70
- import {
71
- Service23,
72
- node26
73
- } from "./command-q29a3mzv.js";
73
+ } from "./location-services-t84b0cnn.js";
74
74
  import {
75
- Service28,
76
- node31
77
- } from "./command-e23rwaaf.js";
75
+ Service25,
76
+ node28
77
+ } from "./location-services-c1hrrqdg.js";
78
78
  import {
79
- Service39,
80
- node41
81
- } from "./command-ypwyy9wb.js";
79
+ Service63,
80
+ node67
81
+ } from "./location-services-srek7m3q.js";
82
82
  import {
83
83
  __export
84
- } from "./command-9rqn6x4v.js";
84
+ } from "./location-services-9rqn6x4v.js";
85
85
 
86
86
  // src/session/context.ts
87
87
  var exports_context = {};
88
88
  __export(exports_context, {
89
- Service: () => Service21,
89
+ Service: () => Service20,
90
90
  SessionContext: () => exports_context,
91
- node: () => node25
91
+ node: () => node24
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
- class Service21 extends Context.Service()("@opencode/SessionContext") {
95
+ class Service20 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
- var layer = Layer.effect(Service21, Effect.gen(function* () {
98
- const agents = yield* Service79;
99
- const builtins = yield* Service24;
100
- const model = yield* Service66;
97
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
98
+ const agents = yield* Service70;
99
+ const builtins = yield* Service23;
100
+ const model = yield* Service75;
101
101
  const db = (yield* Service84).db;
102
- const discovery = yield* Service63;
103
- const entries = yield* Service23;
102
+ const discovery = yield* Service46;
103
+ const entries = yield* Service27;
104
104
  const location = yield* Service80;
105
- const mcpInstructions = yield* Service25;
106
- const mcpTools = yield* Service26;
107
- const models = yield* Service39;
108
- const request = yield* Service28;
109
- const referenceInstructions = yield* Service31;
110
- const skillInstructions = yield* Service27;
111
- const store = yield* Service76;
112
- const registry = yield* Service32;
105
+ const mcpInstructions = yield* Service21;
106
+ const mcpTools = yield* Service28;
107
+ const models = yield* Service63;
108
+ const request = yield* Service25;
109
+ const referenceInstructions = yield* Service30;
110
+ const skillInstructions = yield* Service22;
111
+ const store = yield* Service69;
112
+ const registry = yield* Service44;
113
113
  const resolveModel = (session) => models.resolve(session, model.available);
114
114
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
115
- const agent = yield* agents.get(ID16.make("title"));
115
+ const agent = yield* agents.get(ID11.make("title"));
116
116
  if (!agent)
117
117
  return;
118
118
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
166
166
  agent: { ...agent, info: agent.info },
167
167
  instructions: combine2([
168
168
  loaded.builtins,
169
- make14(loaded.tools.codeModeCatalog),
169
+ make13(loaded.tools.codeModeCatalog),
170
170
  loaded.discovery,
171
171
  loaded.skills,
172
172
  loaded.references,
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
188
188
  tools: selection.tools
189
189
  };
190
190
  });
191
- return Service21.of({ select, load, resolveModel, selectTitle, request });
191
+ return Service20.of({ select, load, resolveModel, selectTitle, request });
192
192
  }));
193
193
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
194
- var node25 = makeLocationNode({
195
- service: Service21,
194
+ var node24 = makeLocationNode({
195
+ service: Service20,
196
196
  layer,
197
197
  deps: [
198
- node83,
199
- node70,
198
+ node74,
199
+ node79,
200
200
  node88,
201
201
  node27,
202
- node67,
203
- node26,
202
+ node50,
203
+ node30,
204
204
  node84,
205
- node28,
206
- node29,
207
- node34,
208
- node41,
205
+ node25,
209
206
  node31,
210
- node80,
211
- node30,
212
- node35
207
+ node33,
208
+ node67,
209
+ node28,
210
+ node73,
211
+ node26,
212
+ node48
213
213
  ]
214
214
  });
215
215
 
216
- export { Service21, node25, exports_context };
216
+ export { Service20, node24, exports_context };