@opencode/core 0.0.0-dev-19550 → 0.0.0-dev-19552

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +76 -76
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{config-teyr1f08.js → location-service-map-03t8xqg9.js} +11 -11
  9. package/dist/chunks/{config-1f8k45ek.js → location-service-map-04dw59v1.js} +11 -11
  10. package/dist/chunks/{config-5x64ew67.js → location-service-map-08fkss2z.js} +20 -20
  11. package/dist/chunks/{config-x0e6qwje.js → location-service-map-0aq61y81.js} +11 -11
  12. package/dist/chunks/{config-bbrfjnak.js → location-service-map-0bqdyxn3.js} +58 -58
  13. package/dist/chunks/{config-9n26bwhx.js → location-service-map-0ebpgxeh.js} +9 -9
  14. package/dist/chunks/{config-yf3n5xzz.js → location-service-map-0emhk73y.js} +22 -22
  15. package/dist/chunks/{config-w3x9v1nk.js → location-service-map-0h54jqbs.js} +8 -8
  16. package/dist/chunks/location-service-map-0mesazry.js +4 -0
  17. package/dist/chunks/{config-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{config-rgy4hz2s.js → location-service-map-0pbvnr44.js} +11 -11
  19. package/dist/chunks/{config-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{config-v4aepbmd.js → location-service-map-0tgsmd7v.js} +30 -30
  21. package/dist/chunks/{config-vqnb0j7t.js → location-service-map-10jrjq8g.js} +11 -11
  22. package/dist/chunks/{config-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{config-qv7g26jh.js → location-service-map-1f8bms4k.js} +10 -10
  24. package/dist/chunks/{config-zstx59h3.js → location-service-map-1g07dsdm.js} +6 -6
  25. package/dist/chunks/{config-paegk39x.js → location-service-map-1hc11dc4.js} +4 -4
  26. package/dist/chunks/{config-21r38tys.js → location-service-map-21r38tys.js} +1 -1
  27. package/dist/chunks/{config-w9z6mc3f.js → location-service-map-27p1k2h6.js} +8 -8
  28. package/dist/chunks/{config-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{config-f25f9w7r.js → location-service-map-2akkhxs7.js} +38 -38
  30. package/dist/chunks/{config-tfaj8ne6.js → location-service-map-2ht9wr58.js} +18 -18
  31. package/dist/chunks/{config-dnp868cw.js → location-service-map-2rn2h9f8.js} +11 -11
  32. package/dist/chunks/{config-fajjya06.js → location-service-map-2x3gmgzq.js} +11 -11
  33. package/dist/chunks/{config-sdtrspaj.js → location-service-map-317r0s1v.js} +18 -18
  34. package/dist/chunks/{config-04sta6yv.js → location-service-map-3198gv8b.js} +21 -21
  35. package/dist/chunks/{config-2f0bjgcj.js → location-service-map-37s12vcn.js} +5 -5
  36. package/dist/chunks/{config-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{config-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{config-pe83jqzf.js → location-service-map-3hf7z3yq.js} +11 -11
  39. package/dist/chunks/{config-x569bdqa.js → location-service-map-3q9crshv.js} +1 -1
  40. package/dist/chunks/{config-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{config-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{config-xafwvqr4.js → location-service-map-3zqjh76q.js} +49 -49
  43. package/dist/chunks/{config-58za8be0.js → location-service-map-3zz4dsv8.js} +6 -6
  44. package/dist/chunks/{config-26nxqbrn.js → location-service-map-43wywh7z.js} +28 -28
  45. package/dist/chunks/{config-3wvjcseh.js → location-service-map-4czx790g.js} +22 -22
  46. package/dist/chunks/{config-wz3x725h.js → location-service-map-4m4tze6k.js} +27 -27
  47. package/dist/chunks/{config-en10yhxf.js → location-service-map-4zer0vva.js} +24 -24
  48. package/dist/chunks/{config-1ygqh575.js → location-service-map-56gdpj1q.js} +9 -9
  49. package/dist/chunks/{config-b2dzfg51.js → location-service-map-5ay59zs2.js} +10 -10
  50. package/dist/chunks/{config-vrpz8t5t.js → location-service-map-5d17xbav.js} +5 -5
  51. package/dist/chunks/{config-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
  52. package/dist/chunks/location-service-map-5j56thpe.js +462 -0
  53. package/dist/chunks/{config-p158fnhc.js → location-service-map-5mmafj64.js} +1 -1
  54. package/dist/chunks/{config-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
  55. package/dist/chunks/location-service-map-619r8v3y.js +18 -0
  56. package/dist/chunks/{config-17hmve47.js → location-service-map-654442pr.js} +33 -33
  57. package/dist/chunks/{config-669tq793.js → location-service-map-669tq793.js} +1 -1
  58. package/dist/chunks/{config-n71vtan2.js → location-service-map-6espw6g8.js} +18 -18
  59. package/dist/chunks/{config-6h73sxmp.js → location-service-map-6h73sxmp.js} +1 -1
  60. package/dist/chunks/{config-25mg6vnq.js → location-service-map-6kjb5nmm.js} +18 -18
  61. package/dist/chunks/{config-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{config-wgdp7z4g.js → location-service-map-6prt122c.js} +11 -11
  63. package/dist/chunks/{config-p69rgjvz.js → location-service-map-6s6yzpxb.js} +6 -6
  64. package/dist/chunks/{config-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
  65. package/dist/chunks/{config-zq81vz9n.js → location-service-map-78qgck3m.js} +12 -12
  66. package/dist/chunks/{config-1en1cjsj.js → location-service-map-7add2r42.js} +28 -28
  67. package/dist/chunks/{config-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{config-14mbsfh7.js → location-service-map-7qfhcbsz.js} +19 -19
  69. package/dist/chunks/{config-k2per3w9.js → location-service-map-7vxzg2vc.js} +14 -14
  70. package/dist/chunks/{config-eq1pz5kg.js → location-service-map-7yh4e7ss.js} +3 -3
  71. package/dist/chunks/{config-81swgkk7.js → location-service-map-81swgkk7.js} +2 -2
  72. package/dist/chunks/{config-dv1qgsyq.js → location-service-map-844ef7ks.js} +8 -8
  73. package/dist/chunks/{config-dxwgt29k.js → location-service-map-86ba19xk.js} +5 -5
  74. package/dist/chunks/{config-041mb03m.js → location-service-map-86v902bt.js} +12 -12
  75. package/dist/chunks/{config-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
  76. package/dist/chunks/{config-b5k1zrww.js → location-service-map-8ga9vm0q.js} +6 -6
  77. package/dist/chunks/{config-8p4f9s12.js → location-service-map-8p4f9s12.js} +2 -2
  78. package/dist/chunks/{config-b3w4j039.js → location-service-map-8tyg6ffg.js} +15 -15
  79. package/dist/chunks/{config-t4d4mx00.js → location-service-map-8vabwf9j.js} +44 -44
  80. package/dist/chunks/{config-mw72j0a8.js → location-service-map-8x525ht7.js} +5 -5
  81. package/dist/chunks/{config-2bj24c8c.js → location-service-map-92azbete.js} +4 -4
  82. package/dist/chunks/{config-vjnb44yt.js → location-service-map-93hpb89x.js} +3 -3
  83. package/dist/chunks/{config-0fcjdm2s.js → location-service-map-9687ankn.js} +13 -13
  84. package/dist/chunks/{config-wm7nt7d4.js → location-service-map-96jnx1h8.js} +24 -24
  85. package/dist/chunks/{config-6z70kctk.js → location-service-map-987964v3.js} +89 -89
  86. package/dist/chunks/{config-dcfqbqkk.js → location-service-map-997cse46.js} +42 -42
  87. package/dist/chunks/{config-5bgpbyy9.js → location-service-map-9cgxzq7f.js} +24 -24
  88. package/dist/chunks/{config-jnn9r5kk.js → location-service-map-9dyac9w5.js} +6 -6
  89. package/dist/chunks/{config-y7wj70kq.js → location-service-map-9gp2hts1.js} +18 -18
  90. package/dist/chunks/{config-va88dqc9.js → location-service-map-9nafkwrb.js} +23 -23
  91. package/dist/chunks/{config-rs74bqqx.js → location-service-map-9pa73182.js} +9 -9
  92. package/dist/chunks/{config-xzpmzq69.js → location-service-map-9rqr5dz2.js} +5 -5
  93. package/dist/chunks/{config-7rdpnw90.js → location-service-map-9sbh5z1p.js} +13 -13
  94. package/dist/chunks/{config-qqpx5r57.js → location-service-map-9wxvjxv5.js} +27 -27
  95. package/dist/chunks/{config-wpb26k94.js → location-service-map-9yeeq8z5.js} +9 -9
  96. package/dist/chunks/{config-a1bz86dw.js → location-service-map-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{config-xwj464x0.js → location-service-map-a3j4qjep.js} +13 -13
  98. package/dist/chunks/{config-vaqqakax.js → location-service-map-a5t9jfkz.js} +20 -20
  99. package/dist/chunks/{config-jhb3cebt.js → location-service-map-a98ysnss.js} +15 -15
  100. package/dist/chunks/{config-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  101. package/dist/chunks/{config-r239f513.js → location-service-map-abxpafsh.js} +16 -16
  102. package/dist/chunks/{config-d126q4px.js → location-service-map-aec01vg2.js} +16 -16
  103. package/dist/chunks/{config-drpyq9gm.js → location-service-map-axhk3gw2.js} +4 -4
  104. package/dist/chunks/location-service-map-b1j1vcef.js +26 -0
  105. package/dist/chunks/{config-c24fcgxs.js → location-service-map-b3c2pfxq.js} +23 -23
  106. package/dist/chunks/{config-mgzb81zw.js → location-service-map-b3p2rche.js} +32 -32
  107. package/dist/chunks/{config-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{config-1wz5dzjv.js → location-service-map-bam9yq1b.js} +22 -22
  109. package/dist/chunks/{config-4ynbxhwa.js → location-service-map-bbyzhkdb.js} +2 -2
  110. package/dist/chunks/{config-tdgd79rq.js → location-service-map-be40ghdv.js} +2 -2
  111. package/dist/chunks/{config-0zwqsx91.js → location-service-map-bfzg93v9.js} +11 -11
  112. package/dist/chunks/{config-neezmqqh.js → location-service-map-bjvqytpm.js} +9 -9
  113. package/dist/chunks/{config-jxvv7ppt.js → location-service-map-bkd71825.js} +27 -27
  114. package/dist/chunks/{config-71t4wm4a.js → location-service-map-bqf5xey6.js} +13 -13
  115. package/dist/chunks/{config-jh5bdp6a.js → location-service-map-c0y6yxzg.js} +9 -9
  116. package/dist/chunks/{config-4yh8hrgk.js → location-service-map-c2wmt4cg.js} +14 -14
  117. package/dist/chunks/{config-n9jvack9.js → location-service-map-c5rbgjy2.js} +24 -24
  118. package/dist/chunks/{config-aezks1k8.js → location-service-map-c8zs60ab.js} +44 -44
  119. package/dist/chunks/{config-cfpkc3c9.js → location-service-map-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{config-nqzv378d.js → location-service-map-cj21nk0n.js} +1 -1
  121. package/dist/chunks/{config-6rjjktna.js → location-service-map-cr3108w9.js} +167 -167
  122. package/dist/chunks/{config-dsqps89d.js → location-service-map-cst0wzct.js} +5 -5
  123. package/dist/chunks/{config-nyvd8nyf.js → location-service-map-cvsewcrj.js} +5 -5
  124. package/dist/chunks/{config-ratrq7cm.js → location-service-map-d216944b.js} +7 -7
  125. package/dist/chunks/{config-8s8mxddj.js → location-service-map-d8nc1xcx.js} +4 -4
  126. package/dist/chunks/{config-7yybbj7q.js → location-service-map-d9q2j4ef.js} +13 -13
  127. package/dist/chunks/{config-eraanh1f.js → location-service-map-da6kr1wx.js} +6 -6
  128. package/dist/chunks/{config-akyqsbh0.js → location-service-map-dafzyq9v.js} +11 -11
  129. package/dist/chunks/{config-7w3s9kd0.js → location-service-map-dwvzh0g2.js} +6 -6
  130. package/dist/chunks/{config-0sd1vqbs.js → location-service-map-dz7374aj.js} +6 -6
  131. package/dist/chunks/{config-bndc73cn.js → location-service-map-e5nv3ght.js} +5 -5
  132. package/dist/chunks/{config-9w2ffxfz.js → location-service-map-e66rv14v.js} +10 -10
  133. package/dist/chunks/{config-h921jg7p.js → location-service-map-e8f63d7z.js} +35 -35
  134. package/dist/chunks/{config-4vqpbft0.js → location-service-map-e8zqc9x3.js} +30 -30
  135. package/dist/chunks/{config-bt4gjbah.js → location-service-map-e9yc490d.js} +27 -27
  136. package/dist/chunks/location-service-map-egq9dkps.js +247 -0
  137. package/dist/chunks/{config-tstmjat0.js → location-service-map-enxy5whv.js} +23 -23
  138. package/dist/chunks/{config-p8gy2scj.js → location-service-map-era4rpc7.js} +20 -20
  139. package/dist/chunks/{config-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{config-qpdvcw0k.js → location-service-map-ew77m1g6.js} +17 -17
  141. package/dist/chunks/{config-b843s508.js → location-service-map-f0ah23sg.js} +23 -23
  142. package/dist/chunks/{config-vazae2rc.js → location-service-map-f6ppewy4.js} +27 -27
  143. package/dist/chunks/{config-f828m53h.js → location-service-map-f828m53h.js} +2 -2
  144. package/dist/chunks/{config-4zja7gva.js → location-service-map-fg9ka16a.js} +14 -14
  145. package/dist/chunks/{config-1c0cpxrz.js → location-service-map-ftyndhpk.js} +27 -27
  146. package/dist/chunks/{config-t3yzn2f5.js → location-service-map-fw2c9v4r.js} +7 -7
  147. package/dist/chunks/{config-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{config-dzwmfy5m.js → location-service-map-g71e5xjd.js} +8 -8
  149. package/dist/chunks/{config-eefhzbjy.js → location-service-map-g7g2taf3.js} +3 -3
  150. package/dist/chunks/{config-254pmcny.js → location-service-map-g9anyfky.js} +18 -18
  151. package/dist/chunks/{config-eaj1djv9.js → location-service-map-gbt6w4kb.js} +4 -4
  152. package/dist/chunks/{config-7ccwepmq.js → location-service-map-gcyndpkk.js} +12 -12
  153. package/dist/chunks/{config-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{config-ghk9cxjs.js → location-service-map-gjmk74th.js} +6 -6
  155. package/dist/chunks/{config-hzeaq1fa.js → location-service-map-gsh65bkt.js} +44 -44
  156. package/dist/chunks/{config-bn5g03n7.js → location-service-map-gt91ywfc.js} +27 -27
  157. package/dist/chunks/{config-th5km1p3.js → location-service-map-gv6a8nnw.js} +5 -5
  158. package/dist/chunks/{config-a9wv187r.js → location-service-map-gz9sd8ds.js} +4 -4
  159. package/dist/chunks/{config-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
  160. package/dist/chunks/{config-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{config-h7ygw6q4.js → location-service-map-h7ygw6q4.js} +2 -2
  162. package/dist/chunks/{config-zmwjgf79.js → location-service-map-hb7jvn94.js} +26 -26
  163. package/dist/chunks/{config-4w62fhaa.js → location-service-map-hcgra2vb.js} +29 -29
  164. package/dist/chunks/{config-9h617dca.js → location-service-map-hgb4h9fq.js} +16 -16
  165. package/dist/chunks/{config-awb4aq70.js → location-service-map-hgdz7fj9.js} +42 -42
  166. package/dist/chunks/{config-nhy5jxhy.js → location-service-map-hjt4xg1x.js} +4 -4
  167. package/dist/chunks/{config-7gvwkz6m.js → location-service-map-hkfg6fzm.js} +5 -5
  168. package/dist/chunks/{config-jxxb4xmb.js → location-service-map-hsxajhbd.js} +22 -22
  169. package/dist/chunks/{config-tf0cdcd5.js → location-service-map-j10w18fe.js} +18 -18
  170. package/dist/chunks/{config-ghvnbqbv.js → location-service-map-j2ty36mn.js} +22 -22
  171. package/dist/chunks/{config-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
  172. package/dist/chunks/{config-5jhpxb8j.js → location-service-map-j64q48wm.js} +32 -32
  173. package/dist/chunks/{config-t3k96hw7.js → location-service-map-j7tjkwgq.js} +14 -14
  174. package/dist/chunks/{config-5m4y1r5y.js → location-service-map-jjjbjh7r.js} +33 -33
  175. package/dist/chunks/{config-mw00tj0y.js → location-service-map-jk6ry76n.js} +4 -4
  176. package/dist/chunks/{config-khrtsksm.js → location-service-map-jsp84pdj.js} +35 -35
  177. package/dist/chunks/{config-m27np7t3.js → location-service-map-jv4nf67n.js} +8 -8
  178. package/dist/chunks/{config-y71avatq.js → location-service-map-jwcy2c2z.js} +4 -4
  179. package/dist/chunks/{config-tspb6gwg.js → location-service-map-jzfqxv0w.js} +32 -32
  180. package/dist/chunks/{config-n9tyhvn8.js → location-service-map-ke09fp5x.js} +70 -70
  181. package/dist/chunks/{config-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
  182. package/dist/chunks/{config-1t6z3xj3.js → location-service-map-ksptet1t.js} +7 -7
  183. package/dist/chunks/{config-qf2gftrk.js → location-service-map-kxgkzzte.js} +32 -32
  184. package/dist/chunks/{config-eveyavgq.js → location-service-map-kzcdzd76.js} +9 -9
  185. package/dist/chunks/{config-jn05vxxt.js → location-service-map-m0e5qf6k.js} +10 -10
  186. package/dist/chunks/{config-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{config-8hmgw1ak.js → location-service-map-magykp64.js} +4 -4
  188. package/dist/chunks/{config-stpksnm9.js → location-service-map-mb6b436h.js} +20 -20
  189. package/dist/chunks/{config-88sbjtg5.js → location-service-map-mdh9akjb.js} +28 -28
  190. package/dist/chunks/{config-834zj1q7.js → location-service-map-mgv4r7hs.js} +15 -15
  191. package/dist/chunks/{config-ka2k270b.js → location-service-map-mm9xhac3.js} +8 -8
  192. package/dist/chunks/{config-t6w5qgqz.js → location-service-map-mq96jf65.js} +11 -11
  193. package/dist/chunks/{config-4mtmdvvs.js → location-service-map-n10h5dcc.js} +1 -1
  194. package/dist/chunks/{config-czsydm57.js → location-service-map-nzxmnaqk.js} +1 -1
  195. package/dist/chunks/{config-cswr4h4e.js → location-service-map-p007xxfp.js} +11 -11
  196. package/dist/chunks/{config-hrvd6t1f.js → location-service-map-p1wf2k30.js} +9 -9
  197. package/dist/chunks/{config-39ez6tgd.js → location-service-map-p5pv5dqm.js} +10 -10
  198. package/dist/chunks/{config-xfnvpyjq.js → location-service-map-paedcfg6.js} +6 -6
  199. package/dist/chunks/{config-a9ee0v7t.js → location-service-map-pb1eahw5.js} +8 -8
  200. package/dist/chunks/{config-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{config-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  202. package/dist/chunks/{config-bvpfq294.js → location-service-map-pmqjxjy4.js} +15 -15
  203. package/dist/chunks/{config-62b17yyg.js → location-service-map-pqjwfpfc.js} +16 -16
  204. package/dist/chunks/{config-h9g4qz6w.js → location-service-map-pz69wcke.js} +11 -11
  205. package/dist/chunks/{config-bf0ztrs3.js → location-service-map-q2b1ymqp.js} +4 -4
  206. package/dist/chunks/{config-453mx89x.js → location-service-map-q45tp9fg.js} +4 -4
  207. package/dist/chunks/{config-r33ff4dw.js → location-service-map-q5t0te5a.js} +6 -6
  208. package/dist/chunks/{config-dkp48p5n.js → location-service-map-q6b944ev.js} +43 -43
  209. package/dist/chunks/{config-vvcg53v8.js → location-service-map-q8m64rd2.js} +6 -6
  210. package/dist/chunks/{config-7dqw4kz8.js → location-service-map-qgn6gcr1.js} +5 -5
  211. package/dist/chunks/{config-mc3tw875.js → location-service-map-qhqrvy71.js} +25 -25
  212. package/dist/chunks/{config-hnr5yq9h.js → location-service-map-qjnxxf51.js} +5 -5
  213. package/dist/chunks/{config-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  214. package/dist/chunks/{config-krg3nn78.js → location-service-map-qy7pps2e.js} +4 -4
  215. package/dist/chunks/{config-6b5yt40m.js → location-service-map-qz57tn8f.js} +36 -36
  216. package/dist/chunks/{config-xeyscpm9.js → location-service-map-r47pemy4.js} +47 -47
  217. package/dist/chunks/{config-jg5pnb06.js → location-service-map-r60jfj5j.js} +9 -9
  218. package/dist/chunks/{config-r9mregkx.js → location-service-map-r9mregkx.js} +2 -2
  219. package/dist/chunks/{config-0f4qaedh.js → location-service-map-rb8vb6bw.js} +16 -16
  220. package/dist/chunks/{config-q7gnwvzw.js → location-service-map-rmx7d75k.js} +6 -6
  221. package/dist/chunks/{config-vkt5fbj2.js → location-service-map-rtathh62.js} +5 -5
  222. package/dist/chunks/{config-dfggy6a4.js → location-service-map-s2bwkcja.js} +19 -19
  223. package/dist/chunks/{config-dvjqevxn.js → location-service-map-scyxgb5t.js} +92 -92
  224. package/dist/chunks/{config-dspwd2x0.js → location-service-map-se72k407.js} +11 -11
  225. package/dist/chunks/{config-mgcx2e31.js → location-service-map-shj1d2j6.js} +22 -22
  226. package/dist/chunks/{config-3ktx1vke.js → location-service-map-snhpdyga.js} +20 -20
  227. package/dist/chunks/{config-nt7bfjdq.js → location-service-map-ssg3q9nf.js} +46 -46
  228. package/dist/chunks/{config-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{config-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{config-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  231. package/dist/chunks/{config-1qhxs0kr.js → location-service-map-tjgznnzj.js} +32 -32
  232. package/dist/chunks/{config-k9zwtbn5.js → location-service-map-tk63fv4z.js} +33 -33
  233. package/dist/chunks/{config-4zrkrsxx.js → location-service-map-tv567pe4.js} +43 -43
  234. package/dist/chunks/{config-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
  235. package/dist/chunks/{config-k7nyb6ww.js → location-service-map-tzetj9gw.js} +20 -20
  236. package/dist/chunks/{config-ghescktn.js → location-service-map-v3920tdr.js} +11 -11
  237. package/dist/chunks/{config-2a7hagjp.js → location-service-map-vdyyrf70.js} +6 -6
  238. package/dist/chunks/{config-7xr5mnyx.js → location-service-map-ve70vzjq.js} +25 -25
  239. package/dist/chunks/{config-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  240. package/dist/chunks/{config-4kx83z13.js → location-service-map-vf28y74r.js} +3 -3
  241. package/dist/chunks/{config-rffmagh4.js → location-service-map-vfm9gp6q.js} +15 -15
  242. package/dist/chunks/{config-mm2k2cqg.js → location-service-map-vgs16dzz.js} +15 -15
  243. package/dist/chunks/{config-94d3g4tf.js → location-service-map-vswh10km.js} +20 -20
  244. package/dist/chunks/{config-dj00cq6z.js → location-service-map-vvgz4s0w.js} +2 -2
  245. package/dist/chunks/{config-022zszfk.js → location-service-map-vyy6cxw9.js} +4 -4
  246. package/dist/chunks/{config-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{config-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{config-gk6dqv91.js → location-service-map-w4w5xb5g.js} +16 -16
  249. package/dist/chunks/{config-2058e169.js → location-service-map-wabr7zyh.js} +5 -5
  250. package/dist/chunks/{config-fa79drrr.js → location-service-map-wbjms32a.js} +7 -7
  251. package/dist/chunks/{config-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  252. package/dist/chunks/{config-3tpxjcg5.js → location-service-map-whdpvypb.js} +28 -28
  253. package/dist/chunks/{config-pcsvspjz.js → location-service-map-wntp8vrc.js} +46 -46
  254. package/dist/chunks/{config-8ysfvp9f.js → location-service-map-wphpgvta.js} +32 -32
  255. package/dist/chunks/{config-kw0pvf61.js → location-service-map-wzeezdkg.js} +18 -18
  256. package/dist/chunks/{config-893awk63.js → location-service-map-x0f4tm25.js} +4 -4
  257. package/dist/chunks/{config-589kjr7t.js → location-service-map-x19khr0k.js} +1 -1
  258. package/dist/chunks/{config-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{config-nn0nken7.js → location-service-map-x41as614.js} +24 -24
  260. package/dist/chunks/{config-3jhdkvje.js → location-service-map-x5xt91nb.js} +13 -13
  261. package/dist/chunks/{config-2qt7tyn2.js → location-service-map-xc92hv3t.js} +34 -34
  262. package/dist/chunks/{config-fe8jr5wt.js → location-service-map-xs5622zf.js} +15 -15
  263. package/dist/chunks/{config-6v56qcx3.js → location-service-map-xxmcww3w.js} +8 -8
  264. package/dist/chunks/{config-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{config-4029myyt.js → location-service-map-y27d2q66.js} +17 -17
  266. package/dist/chunks/{config-9sgpzjef.js → location-service-map-ya7f0mnv.js} +3 -3
  267. package/dist/chunks/{config-qy8emagx.js → location-service-map-yg5frs05.js} +8 -8
  268. package/dist/chunks/{config-txe9dcj1.js → location-service-map-ygzcvm48.js} +16 -16
  269. package/dist/chunks/{config-1sac38c5.js → location-service-map-yhqybqhb.js} +36 -36
  270. package/dist/chunks/{config-wzt5yrke.js → location-service-map-ynxdgvan.js} +26 -26
  271. package/dist/chunks/{config-f2n192rq.js → location-service-map-yp2x3t23.js} +4 -4
  272. package/dist/chunks/{config-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{config-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
  274. package/dist/chunks/{config-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{config-fqw2r1v4.js → location-service-map-z1zkz7bk.js} +24 -24
  276. package/dist/chunks/{config-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
  277. package/dist/chunks/{config-npr3zfhm.js → location-service-map-z6yn5rdq.js} +9 -9
  278. package/dist/chunks/{config-sdc78qer.js → location-service-map-z76rvear.js} +4 -4
  279. package/dist/chunks/{config-gst7axd9.js → location-service-map-zav06jzw.js} +4 -4
  280. package/dist/chunks/{config-923n2b6b.js → location-service-map-zbsbj1es.js} +32 -32
  281. package/dist/chunks/{config-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{config-r3q6pmcz.js → location-service-map-zfq801h6.js} +6 -6
  283. package/dist/chunks/{config-cwbbq2p8.js → location-service-map-zmqdb3c2.js} +5 -5
  284. package/dist/chunks/{config-0gb6kb4k.js → location-service-map-zq6pbv0a.js} +1 -1
  285. package/dist/chunks/{config-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{config-0996nyz8.js → location-service-map-zt5h3yfa.js} +9 -9
  287. package/dist/chunks/{config-v3x2jaaw.js → location-service-map-zvtyh981.js} +11 -11
  288. package/dist/chunks/{config-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +119 -119
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +157 -157
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +119 -119
  301. package/dist/config/plugin/image.js +117 -117
  302. package/dist/config/plugin/instruction.js +87 -87
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +128 -128
  305. package/dist/config/plugin/policy.js +116 -116
  306. package/dist/config/plugin/provider.js +115 -115
  307. package/dist/config/plugin/reference.js +119 -119
  308. package/dist/config/plugin/shell.js +120 -120
  309. package/dist/config/plugin/skill-file.js +99 -99
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +117 -117
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +119 -119
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +120 -120
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +82 -82
  321. package/dist/database/database.js +71 -71
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +363 -363
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +90 -90
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +92 -92
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +101 -101
  411. package/dist/file-mutation.js +91 -91
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +101 -101
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +98 -98
  426. package/dist/form.js +81 -81
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +84 -84
  429. package/dist/generate.js +94 -94
  430. package/dist/git.js +8 -8
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +354 -354
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +84 -84
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +76 -76
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +135 -135
  464. package/dist/location-mutation.js +101 -101
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +351 -351
  467. package/dist/location.js +82 -82
  468. package/dist/mcp/client.js +88 -88
  469. package/dist/mcp/index.js +101 -101
  470. package/dist/mcp/instructions.js +124 -124
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +87 -87
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +87 -87
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +87 -87
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +79 -79
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +102 -102
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +83 -83
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +101 -101
  488. package/dist/plugin/command.js +98 -98
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +215 -215
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +325 -325
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +76 -76
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +99 -99
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/azure.js +120 -120
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +116 -116
  507. package/dist/plugin/provider/digitalocean.js +80 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +81 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +77 -77
  516. package/dist/plugin/provider/lmstudio.js +119 -119
  517. package/dist/plugin/provider/modal.js +80 -80
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +119 -119
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +81 -81
  522. package/dist/plugin/provider/opencode.js +80 -80
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +119 -119
  532. package/dist/plugin/provider/xai.js +78 -78
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +135 -135
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +344 -344
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +83 -83
  543. package/dist/plugin/vcs/hg.js +83 -83
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +6 -6
  552. package/dist/plugin.js +226 -226
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +81 -81
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +96 -96
  561. package/dist/reference/instructions.js +86 -86
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +78 -78
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +83 -83
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +149 -149
  572. package/dist/session/diff.js +85 -85
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +3 -3
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +222 -222
  577. package/dist/session/execution.js +126 -126
  578. package/dist/session/generate.js +150 -150
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +87 -87
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +94 -94
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +115 -115
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +128 -128
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +102 -102
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +87 -87
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +227 -227
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +87 -87
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +112 -112
  601. package/dist/session/runner/step.js +123 -123
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +133 -133
  606. package/dist/session/skill.js +100 -100
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +84 -84
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +208 -208
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +153 -153
  614. package/dist/session/to-session-error.js +109 -109
  615. package/dist/session/transfer.js +219 -219
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +212 -212
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +2 -2
  624. package/dist/skill/instructions.js +104 -104
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +90 -90
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +123 -123
  631. package/dist/tool/plugin/edit.js +117 -117
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +122 -122
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +119 -119
  637. package/dist/tool/plugin/question.js +102 -102
  638. package/dist/tool/plugin/read.js +123 -123
  639. package/dist/tool/plugin/shell.js +215 -215
  640. package/dist/tool/plugin/skill.js +108 -108
  641. package/dist/tool/plugin/subagent.js +215 -215
  642. package/dist/tool/plugin/webfetch.js +109 -109
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +119 -119
  645. package/dist/tool/read-filesystem.js +98 -98
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +84 -84
  676. package/dist/websearch.js +83 -83
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +80 -80
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  682. package/dist/worktree/directory.js +4 -4
  683. package/dist/worktree/git.js +8 -8
  684. package/dist/worktree/refresh.js +343 -343
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +93 -93
  687. package/package.json +8 -8
  688. package/dist/chunks/config-0kwcw7fy.js +0 -4
  689. package/dist/chunks/config-2swt1sbx.js +0 -26
  690. package/dist/chunks/config-afzktpnh.js +0 -247
  691. package/dist/chunks/config-f98ge00r.js +0 -462
  692. package/dist/chunks/config-q509s3k3.js +0 -18
  693. /package/dist/chunks/{config-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{config-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{config-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{config-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{config-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{config-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{config-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{config-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{config-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{config-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  703. /package/dist/chunks/{config-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{config-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{config-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{config-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{config-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{config-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{config-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{config-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  711. /package/dist/chunks/{config-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{config-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  713. /package/dist/chunks/{config-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{config-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{config-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  716. /package/dist/chunks/{config-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{config-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{config-922hggd3.js → location-service-map-922hggd3.js} +0 -0
  719. /package/dist/chunks/{config-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{config-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{config-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{config-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{config-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{config-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{config-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{config-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{config-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{config-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{config-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{config-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{config-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{config-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{config-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{config-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  735. /package/dist/chunks/{config-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{config-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{config-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{config-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{config-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{config-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{config-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{config-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{config-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{config-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{config-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{config-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{config-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  748. /package/dist/chunks/{config-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{config-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  750. /package/dist/chunks/{config-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{config-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  752. /package/dist/chunks/{config-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{config-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{config-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{config-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{config-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{config-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{config-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{config-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{config-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{config-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{config-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{config-paphc93g.js → location-service-map-paphc93g.js} +0 -0
  764. /package/dist/chunks/{config-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{config-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{config-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{config-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{config-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{config-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{config-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{config-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{config-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{config-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{config-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{config-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{config-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{config-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{config-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{config-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  780. /package/dist/chunks/{config-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{config-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{config-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{config-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{config-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{config-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./config-922hggd3.js";
5
+ } from "./location-service-map-922hggd3.js";
6
6
  import {
7
- Service57,
8
- node60
9
- } from "./config-5bgpbyy9.js";
7
+ Service60,
8
+ node63
9
+ } from "./location-service-map-9cgxzq7f.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./config-8d7r5vzw.js";
12
+ } from "./location-service-map-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./config-9rqn6x4v.js";
15
+ } from "./location-service-map-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service17,
24
- node: () => node20
23
+ Service: () => Service18,
24
+ node: () => node21
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service17 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service18 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service17, Effect.gen(function* () {
67
- const environment = yield* Service57;
66
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
67
+ const environment = yield* Service60;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service17.of({
95
+ return Service18.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node20 = makeLocationNode({ service: Service17, layer, deps: [node60, RipgrepBinary2.node] });
178
+ var node21 = makeLocationNode({ service: Service18, layer, deps: [node63, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service17, node20, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service18, node21, exports_ripgrep };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./config-922hggd3.js";
4
+ } from "./location-service-map-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service77,
9
- node82
10
- } from "./config-0zwqsx91.js";
8
+ Service79,
9
+ node83
10
+ } from "./location-service-map-bfzg93v9.js";
11
11
  import {
12
- Service75,
13
- node80
14
- } from "./config-4yh8hrgk.js";
12
+ Service74,
13
+ node78
14
+ } from "./location-service-map-c2wmt4cg.js";
15
15
  import {
16
16
  create3
17
- } from "./config-kg06axw8.js";
17
+ } from "./location-service-map-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./config-9rqn6x4v.js";
20
+ } from "./location-service-map-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID3,
27
- Service: () => Service33,
25
+ Error: () => Error4,
26
+ ID: () => ID15,
27
+ Service: () => Service71,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node37,
30
- noopLayer: () => noopLayer2
29
+ node: () => node74,
30
+ noopLayer: () => noopLayer3
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 ID3 } from "@opencode/schema/snapshot";
37
+ import { ID as ID15 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 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 Service33 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service71 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service33, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service77;
50
+ const git = yield* Service79;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service75;
52
+ const location = yield* Service74;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service33, 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 Error4({ 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(Service33, 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 Error4({ 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(Service33, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID3.make(yield* git.tree.capture({
85
+ return ID15.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(Service33, 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 Error4({ 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 Error4({ 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 Service33.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service71.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node37 = makeLocationNode({
144
- service: Service33,
143
+ var node74 = makeLocationNode({
144
+ service: Service71,
145
145
  layer,
146
- deps: [FSUtil.node, node82, Global.node, node80]
146
+ deps: [FSUtil.node, node83, Global.node, node78]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service33, Service33.of({
148
+ var noopLayer3 = Layer.succeed(Service71, Service71.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(Service33, Service33.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 Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
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 { ID3, Error3, Service33, node37, noopLayer2, exports_snapshot2 };
166
+ export { ID15, Error4, Service71, node74, noopLayer3, exports_snapshot2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./config-0sd1vqbs.js";
4
+ } from "./location-service-map-dz7374aj.js";
5
5
  import {
6
- ID9
7
- } from "./config-jn05vxxt.js";
6
+ ID8
7
+ } from "./location-service-map-m0e5qf6k.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID9.make("gpt-5-chat-latest"), ID9.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,65 +1,65 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./config-0f4qaedh.js";
5
- import {
6
- Service75,
2
+ Service76,
7
3
  node80
8
- } from "./config-4yh8hrgk.js";
4
+ } from "./location-service-map-rb8vb6bw.js";
5
+ import {
6
+ Service74,
7
+ node78
8
+ } from "./location-service-map-c2wmt4cg.js";
9
9
  import {
10
- ID8
11
- } from "./config-0kwcw7fy.js";
10
+ ID2
11
+ } from "./location-service-map-0mesazry.js";
12
12
  import {
13
13
  Service62,
14
14
  login2,
15
- node66
16
- } from "./config-4zja7gva.js";
15
+ node65
16
+ } from "./location-service-map-fg9ka16a.js";
17
17
  import {
18
18
  lazy2
19
- } from "./config-88xbtdfr.js";
19
+ } from "./location-service-map-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./config-9rqn6x4v.js";
22
+ } from "./location-service-map-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event13,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event4,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info12,
31
- NotFoundError: () => NotFoundError8,
30
+ Info: () => Info2,
31
+ NotFoundError: () => NotFoundError3,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service61,
33
+ Service: () => Service19,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node65
35
+ node: () => node22
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event13 } from "@opencode/schema/pty";
40
+ import { Event as Event4 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info12 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info2 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID8
48
+ class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID2
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID8
54
+ ptyID: ID2
55
55
  }) {
56
56
  }
57
57
 
58
- class Service61 extends Context.Service()("@opencode/Pty") {
58
+ class Service19 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service61, Effect.gen(function* () {
61
- const bus = yield* Service78;
62
- const location = yield* Service75;
60
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
61
+ const bus = yield* Service76;
62
+ const location = yield* Service74;
63
63
  const shell = yield* Service62;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError8({ ptyID: id });
100
+ return yield* new NotFoundError3({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID8.ascending();
126
+ const id = ID2.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service61.of({ list, get, create, update, remove, write, attach });
271
+ return Service19.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node65 = makeLocationNode({
274
- service: Service61,
273
+ var node22 = makeLocationNode({
274
+ service: Service19,
275
275
  layer,
276
- deps: [node83, node80, node66]
276
+ deps: [node80, node78, node65]
277
277
  });
278
278
 
279
- export { Info12, CreateInput3, UpdateInput2, NotFoundError8, ExitedError2, Service61, node65, exports_pty, Event13 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service19, node22, exports_pty, Event4 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./config-zr2ceqn5.js";
3
+ } from "./location-service-map-zr2ceqn5.js";
4
4
  import {
5
- Service64
6
- } from "./config-1wz5dzjv.js";
5
+ Service42
6
+ } from "./location-service-map-bam9yq1b.js";
7
7
  import {
8
8
  __export
9
- } from "./config-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make3
16
+ make: () => make4
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make3 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service64;
25
+ var make4 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service42;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make3, LoadError2, exports_module };
105
+ export { make4, LoadError2, exports_module };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make22,
9
+ make: () => make21,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make22 = () => Effect.sync(makeUnsafe2);
29
+ var make21 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make22, exports_keyed_mutex };
31
+ export { makeUnsafe2, make21, exports_keyed_mutex };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
- node85
4
- } from "./config-dnp868cw.js";
3
+ node84
4
+ } from "./location-service-map-2rn2h9f8.js";
5
5
  import {
6
- Service78,
7
- node83
8
- } from "./config-0f4qaedh.js";
6
+ Service76,
7
+ node80
8
+ } from "./location-service-map-rb8vb6bw.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./config-pknna89w.js";
11
+ } from "./location-service-map-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./config-0q0f95c6.js";
14
+ } from "./location-service-map-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./config-9rqn6x4v.js";
17
+ } from "./location-service-map-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event16,
24
- ID: () => ID10,
25
- Info: () => Info24,
23
+ Event: () => Event13,
24
+ ID: () => ID6,
25
+ Info: () => Info18,
26
26
  Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service66,
28
+ Service: () => Service55,
29
29
  Value: () => Value2,
30
- node: () => node70
30
+ node: () => node58
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID10 = Credential.ID;
37
+ var ID6 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event16 = Credential.Event;
41
+ var Event13 = Credential.Event;
42
42
 
43
- class Info24 extends Schema.Class("Credential.Info")({
44
- id: ID10,
43
+ class Info18 extends Schema.Class("Credential.Info")({
44
+ id: ID6,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service66 extends Context.Service()("@opencode/Credential") {
51
+ class Service55 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service66, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
- const bus = yield* Service78;
55
+ const bus = yield* Service76;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info24({
60
+ return new Info18({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service66.of({
71
+ return Service55.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info24({
80
- id: ID10.create(),
79
+ const credential = new Info18({
80
+ id: ID6.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event16.Updated, {}, { global: true });
105
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event13.Updated, {}, { global: true });
105
+ yield* bus.publish(Event13.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event13.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event16.Updated, {}, { global: true });
157
+ yield* bus.publish(Event13.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event16.Updated, {}, { global: true });
190
+ yield* bus.publish(Event13.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event13.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node70 = makeGlobalNode({ service: Service66, layer, deps: [node85, node83] });
196
+ var node58 = makeGlobalNode({ service: Service55, layer, deps: [node84, node80] });
197
197
 
198
- export { ID10, OAuth3, Key3, Value2, Event16, Info24, Service66, node70, exports_credential };
198
+ export { ID6, OAuth3, Key3, Value2, Event13, Info18, Service55, node58, exports_credential };