@opencode/core 0.0.0-dev-20528 → 0.0.0-dev-20530

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{bus-t6msp11s.js → location-services-03tt90jk.js} +6 -6
  8. package/dist/chunks/{bus-n04q887z.js → location-services-05cz6jg3.js} +40 -40
  9. package/dist/chunks/{bus-wvn6r189.js → location-services-096px9f6.js} +15 -15
  10. package/dist/chunks/{bus-yh0kz87z.js → location-services-0gncymkq.js} +3 -3
  11. package/dist/chunks/{bus-0j77ygfz.js → location-services-0j77ygfz.js} +2 -2
  12. package/dist/chunks/{bus-kbj2dgab.js → location-services-0nde5ztd.js} +5 -5
  13. package/dist/chunks/{bus-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{bus-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{bus-ckjey40x.js → location-services-11ya7e37.js} +18 -18
  16. package/dist/chunks/{bus-15nepkqg.js → location-services-15nepkqg.js} +1 -1
  17. package/dist/chunks/{bus-cqk9t7df.js → location-services-17z3bbv9.js} +31 -31
  18. package/dist/chunks/{bus-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{bus-84h8c373.js → location-services-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{bus-x94qb275.js → location-services-1dxc92sj.js} +20 -20
  21. package/dist/chunks/{bus-fm2qvscf.js → location-services-1g7epwpd.js} +7 -7
  22. package/dist/chunks/{bus-9qcmtpsj.js → location-services-1gt845xh.js} +17 -17
  23. package/dist/chunks/{bus-0h47pg7m.js → location-services-1nd58swx.js} +7 -7
  24. package/dist/chunks/{bus-cfsekr6v.js → location-services-1p07q0wb.js} +4 -4
  25. package/dist/chunks/{bus-7q4asrqv.js → location-services-1wacgr71.js} +10 -10
  26. package/dist/chunks/location-services-1x11rq2a.js +18 -0
  27. package/dist/chunks/{bus-062bw71t.js → location-services-1ydczpcc.js} +8 -8
  28. package/dist/chunks/{bus-56gdpj1q.js → location-services-1ygqh575.js} +9 -9
  29. package/dist/chunks/{bus-j7a3k319.js → location-services-21nyz24p.js} +24 -24
  30. package/dist/chunks/{bus-j8m1p4p1.js → location-services-29qym6xz.js} +4 -4
  31. package/dist/chunks/{bus-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{bus-2ccvkpx1.js → location-services-2ccvkpx1.js} +2 -2
  33. package/dist/chunks/{bus-rar8z9yk.js → location-services-2cq23wdv.js} +17 -17
  34. package/dist/chunks/{bus-ky8sey70.js → location-services-2hz4g5a0.js} +15 -15
  35. package/dist/chunks/{bus-r66xghd9.js → location-services-2k71kv7p.js} +4 -4
  36. package/dist/chunks/{bus-dzyereph.js → location-services-2kkd680a.js} +26 -26
  37. package/dist/chunks/{bus-4yg5qhvj.js → location-services-306aw7pj.js} +13 -13
  38. package/dist/chunks/{bus-b7hk97w1.js → location-services-35t6ttr8.js} +6 -6
  39. package/dist/chunks/{bus-7v9pb5aa.js → location-services-3bccehnd.js} +15 -15
  40. package/dist/chunks/{bus-qdbrb2ae.js → location-services-3bcp9tcb.js} +20 -20
  41. package/dist/chunks/{bus-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{bus-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{bus-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{bus-7s3an50r.js → location-services-3t60d24d.js} +7 -7
  45. package/dist/chunks/{bus-xa8b9tvy.js → location-services-3tdjtawa.js} +19 -19
  46. package/dist/chunks/{bus-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{bus-psevvpfg.js → location-services-3zsbex97.js} +7 -7
  48. package/dist/chunks/{bus-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{bus-z6c3x22d.js → location-services-47jkzegy.js} +5 -5
  50. package/dist/chunks/{bus-evxzag28.js → location-services-4qmsae37.js} +16 -16
  51. package/dist/chunks/{bus-6mvsw307.js → location-services-4yz0w7jw.js} +6 -6
  52. package/dist/chunks/{bus-ths52tqb.js → location-services-4z6jw1ap.js} +9 -9
  53. package/dist/chunks/{bus-hq8zt1th.js → location-services-51f5btjf.js} +6 -6
  54. package/dist/chunks/{bus-hgmvgqm7.js → location-services-54a5h3cp.js} +7 -7
  55. package/dist/chunks/{bus-54ma36ye.js → location-services-54ma36ye.js} +1 -1
  56. package/dist/chunks/{bus-thagpx6h.js → location-services-56wzkp6v.js} +4 -4
  57. package/dist/chunks/{bus-rz03v147.js → location-services-576ykjfd.js} +5 -5
  58. package/dist/chunks/{bus-g5w8qwbj.js → location-services-57b9ws8p.js} +7 -7
  59. package/dist/chunks/{bus-sft7r91c.js → location-services-5d9y40bw.js} +45 -45
  60. package/dist/chunks/{bus-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  61. package/dist/chunks/{bus-8zp79j7j.js → location-services-5dkn69vz.js} +4 -4
  62. package/dist/chunks/{bus-dzmh4f25.js → location-services-5q2sn302.js} +24 -24
  63. package/dist/chunks/{bus-y0s875v8.js → location-services-5rf8vkfb.js} +2 -2
  64. package/dist/chunks/{bus-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{bus-7pb5msvq.js → location-services-63g5w6eg.js} +15 -15
  66. package/dist/chunks/{bus-98q6njb0.js → location-services-6427tn4t.js} +33 -33
  67. package/dist/chunks/{bus-669tq793.js → location-services-669tq793.js} +1 -1
  68. package/dist/chunks/{bus-vts12sgn.js → location-services-69mpjg5g.js} +12 -12
  69. package/dist/chunks/{bus-hh9zdb1h.js → location-services-6cm87je5.js} +48 -48
  70. package/dist/chunks/{bus-hafepx0m.js → location-services-6qcdg29g.js} +12 -12
  71. package/dist/chunks/{bus-1npcx4x5.js → location-services-6sns5rxp.js} +11 -11
  72. package/dist/chunks/{bus-k1qrnqst.js → location-services-6ysrkrkr.js} +8 -8
  73. package/dist/chunks/{bus-f75zav2x.js → location-services-71az546q.js} +2 -2
  74. package/dist/chunks/location-services-72y6shjk.js +253 -0
  75. package/dist/chunks/{bus-7yh4e7ss.js → location-services-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{bus-n88t58eh.js → location-services-793mfp5y.js} +11 -11
  77. package/dist/chunks/{bus-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{bus-5m8z81sk.js → location-services-7cwq0zah.js} +17 -17
  79. package/dist/chunks/{bus-3a151g65.js → location-services-7k7rxgxx.js} +5 -5
  80. package/dist/chunks/{bus-p675gkya.js → location-services-7p5aq3na.js} +5 -5
  81. package/dist/chunks/{bus-vrx5s5q9.js → location-services-80n34cd1.js} +18 -18
  82. package/dist/chunks/{bus-tcawe1f3.js → location-services-80s6dtdj.js} +20 -20
  83. package/dist/chunks/{bus-69r9gc94.js → location-services-83192k8b.js} +26 -26
  84. package/dist/chunks/{bus-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{bus-33fymb46.js → location-services-8dp59zh1.js} +16 -16
  86. package/dist/chunks/{bus-88r1cn22.js → location-services-8q3n6zce.js} +3 -3
  87. package/dist/chunks/{bus-5zymz6xz.js → location-services-8r8nd0ms.js} +8 -8
  88. package/dist/chunks/{bus-r89hfgxs.js → location-services-91gd960f.js} +40 -40
  89. package/dist/chunks/{bus-dmg6kksp.js → location-services-91ta8h24.js} +21 -21
  90. package/dist/chunks/{bus-8hpx4v08.js → location-services-96sh9736.js} +22 -22
  91. package/dist/chunks/{bus-agam93qz.js → location-services-98dvjmyd.js} +5 -5
  92. package/dist/chunks/{bus-kb9j3d72.js → location-services-9e5bzkjp.js} +3 -3
  93. package/dist/chunks/{bus-br0tr5aq.js → location-services-9hn6k4tm.js} +8 -8
  94. package/dist/chunks/{bus-32hqb9rg.js → location-services-9rdtm9z9.js} +1 -1
  95. package/dist/chunks/{bus-dg7vv6km.js → location-services-9wj6fez5.js} +26 -26
  96. package/dist/chunks/{bus-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  97. package/dist/chunks/{bus-3tcgjz9c.js → location-services-acsd8j4w.js} +7 -7
  98. package/dist/chunks/{bus-7mw37t8g.js → location-services-ae351thd.js} +19 -19
  99. package/dist/chunks/{bus-p4pkk9xt.js → location-services-amzhydp5.js} +11 -11
  100. package/dist/chunks/{bus-xmgnb5pn.js → location-services-asx81bf4.js} +74 -74
  101. package/dist/chunks/{bus-97xtdwm1.js → location-services-b4qtg5kt.js} +32 -32
  102. package/dist/chunks/{bus-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{bus-xcf5a4h9.js → location-services-bec3vmnk.js} +3 -3
  104. package/dist/chunks/{bus-2k2k1e4d.js → location-services-bejm5g3q.js} +22 -22
  105. package/dist/chunks/{bus-jaah0z8w.js → location-services-bh0j0ejr.js} +29 -29
  106. package/dist/chunks/{bus-p5m43jmh.js → location-services-bkzzkcp1.js} +27 -27
  107. package/dist/chunks/{bus-d8nj9df2.js → location-services-bnmse778.js} +38 -38
  108. package/dist/chunks/{bus-21rk0v2x.js → location-services-bw8y35yn.js} +31 -31
  109. package/dist/chunks/{bus-avrevnxw.js → location-services-bwmp558k.js} +9 -9
  110. package/dist/chunks/{bus-attbt6m1.js → location-services-c4ga7p7a.js} +13 -13
  111. package/dist/chunks/{bus-0avwb0pz.js → location-services-c719znjm.js} +5 -5
  112. package/dist/chunks/{bus-0ew4w6t8.js → location-services-c7sr67b6.js} +36 -36
  113. package/dist/chunks/{bus-14cna52h.js → location-services-cfv81dax.js} +8 -8
  114. package/dist/chunks/{bus-kyccdhtf.js → location-services-ch1bhxkj.js} +11 -11
  115. package/dist/chunks/{bus-2pnhn36q.js → location-services-ch7gp8n3.js} +4 -4
  116. package/dist/chunks/{bus-vefmky7z.js → location-services-cn8s3zh6.js} +20 -20
  117. package/dist/chunks/{bus-26ye3vwj.js → location-services-cwqv2y4s.js} +8 -8
  118. package/dist/chunks/{bus-b1t7hkt2.js → location-services-d1redp2d.js} +9 -9
  119. package/dist/chunks/{bus-mw4m8fya.js → location-services-d8nets6x.js} +22 -22
  120. package/dist/chunks/{bus-2qx1vwxr.js → location-services-dcfz9rmq.js} +27 -27
  121. package/dist/chunks/{bus-d4he2qe1.js → location-services-djszqvmq.js} +9 -9
  122. package/dist/chunks/{bus-bhb1nrwe.js → location-services-dmep75t1.js} +18 -18
  123. package/dist/chunks/{bus-b00fjsj8.js → location-services-dp97mn0x.js} +16 -16
  124. package/dist/chunks/{bus-nxm207yx.js → location-services-dpkg50ah.js} +4 -4
  125. package/dist/chunks/{bus-mp5qahyg.js → location-services-dq4mrw7y.js} +34 -34
  126. package/dist/chunks/{bus-sksw2c3r.js → location-services-dxwh6df2.js} +11 -11
  127. package/dist/chunks/{bus-prnf2p7v.js → location-services-dy5xnnh4.js} +27 -27
  128. package/dist/chunks/{bus-a2tncpxa.js → location-services-e54pghc5.js} +1 -1
  129. package/dist/chunks/{bus-jqxjpj4d.js → location-services-e5a4gg50.js} +8 -8
  130. package/dist/chunks/{bus-mx1qtak0.js → location-services-e8bvn5cj.js} +15 -15
  131. package/dist/chunks/{bus-6nv0705h.js → location-services-eaysnt5p.js} +11 -11
  132. package/dist/chunks/{bus-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{bus-v2zxy9vy.js → location-services-eg9c94rq.js} +1 -1
  134. package/dist/chunks/{bus-kn1wn28d.js → location-services-ek3ym7nd.js} +24 -24
  135. package/dist/chunks/{bus-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{bus-kxy7nzzk.js → location-services-ew26j40t.js} +23 -23
  137. package/dist/chunks/{bus-5rp0d938.js → location-services-eyq9d4vh.js} +13 -13
  138. package/dist/chunks/{bus-av1badb0.js → location-services-f0488f1h.js} +24 -24
  139. package/dist/chunks/{bus-d0xt6pb0.js → location-services-f0fmda6d.js} +44 -44
  140. package/dist/chunks/{bus-gg4dpy88.js → location-services-fhz5gfgy.js} +5 -5
  141. package/dist/chunks/{bus-z7vdbf44.js → location-services-fmg2jgk0.js} +20 -20
  142. package/dist/chunks/{bus-fz37x9gn.js → location-services-fq13x5az.js} +33 -33
  143. package/dist/chunks/{bus-vnnb4fd2.js → location-services-fqkxjj3z.js} +11 -11
  144. package/dist/chunks/{bus-68v5rke7.js → location-services-fstaqnf8.js} +22 -22
  145. package/dist/chunks/{bus-wq5ry9pe.js → location-services-fv7mhdzb.js} +32 -32
  146. package/dist/chunks/{bus-jygqzb3h.js → location-services-g2y161wv.js} +5 -5
  147. package/dist/chunks/{bus-srq8z0b0.js → location-services-g31erja1.js} +9 -9
  148. package/dist/chunks/{bus-fw7xxda2.js → location-services-g75nm6vt.js} +13 -13
  149. package/dist/chunks/{bus-9x77fmbz.js → location-services-gc4fb455.js} +4 -4
  150. package/dist/chunks/{bus-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{bus-wmk7jyr0.js → location-services-gdy5ap82.js} +13 -13
  152. package/dist/chunks/{bus-4kyzs2qw.js → location-services-gf7mpgj8.js} +13 -13
  153. package/dist/chunks/{bus-s4eg4czg.js → location-services-gt5ee8yx.js} +31 -31
  154. package/dist/chunks/{bus-3cegwx68.js → location-services-h2b79v29.js} +2 -2
  155. package/dist/chunks/{bus-8whseyrk.js → location-services-h5w29vws.js} +1 -1
  156. package/dist/chunks/{bus-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{bus-ejcp9k6a.js → location-services-h7xdbfr9.js} +11 -11
  158. package/dist/chunks/{bus-4mgcp0pb.js → location-services-h8a2ys21.js} +24 -24
  159. package/dist/chunks/{bus-59djkhay.js → location-services-hcd9xg01.js} +9 -9
  160. package/dist/chunks/{bus-bww70sgj.js → location-services-hfkd247d.js} +4 -4
  161. package/dist/chunks/{bus-gh4cdc92.js → location-services-hsmzpkd0.js} +10 -10
  162. package/dist/chunks/{bus-m4me3t1z.js → location-services-ht81kaer.js} +42 -42
  163. package/dist/chunks/{bus-cxg1v9xt.js → location-services-htepd477.js} +10 -10
  164. package/dist/chunks/{bus-4ax44qck.js → location-services-hzxpbhjb.js} +36 -36
  165. package/dist/chunks/{bus-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  166. package/dist/chunks/{bus-pc4a07xm.js → location-services-j5wv36q7.js} +8 -8
  167. package/dist/chunks/{bus-sk6yq7gh.js → location-services-j699ja9e.js} +3 -3
  168. package/dist/chunks/{bus-fpecnkgp.js → location-services-jc6a671q.js} +9 -9
  169. package/dist/chunks/{bus-dfya69s0.js → location-services-jy017j42.js} +16 -16
  170. package/dist/chunks/{bus-3q3tbh2k.js → location-services-k6fbnsbn.js} +42 -42
  171. package/dist/chunks/{bus-pw950zh1.js → location-services-kh4e2ye6.js} +5 -5
  172. package/dist/chunks/{bus-57myy5jh.js → location-services-kjdm35cs.js} +5 -5
  173. package/dist/chunks/{bus-63rqqvz6.js → location-services-kx7n1dq7.js} +8 -8
  174. package/dist/chunks/{bus-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{bus-pgdf7f6z.js → location-services-m7v6xzd4.js} +18 -18
  176. package/dist/chunks/{bus-3abbgv3w.js → location-services-m89hz4zx.js} +48 -48
  177. package/dist/chunks/{bus-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{bus-6g7tcwcb.js → location-services-mfja0wt4.js} +3 -3
  179. package/dist/chunks/{bus-rhtnc6e7.js → location-services-mhebypdn.js} +24 -24
  180. package/dist/chunks/{bus-b12m1t8w.js → location-services-mmkp1phh.js} +11 -11
  181. package/dist/chunks/{bus-tbgq5war.js → location-services-mtedkk5d.js} +4 -4
  182. package/dist/chunks/{bus-t4vhf3zd.js → location-services-mxh3m9mn.js} +37 -37
  183. package/dist/chunks/{bus-mxvxcxwy.js → location-services-mxvxcxwy.js} +1 -1
  184. package/dist/chunks/{bus-ebvq7s73.js → location-services-nan3d3dz.js} +66 -66
  185. package/dist/chunks/{bus-6508c6yq.js → location-services-nbjzwp5d.js} +15 -15
  186. package/dist/chunks/{bus-0q1hsqvw.js → location-services-nbwfnqq9.js} +4 -4
  187. package/dist/chunks/{bus-3x5m0wp2.js → location-services-ncv98mvt.js} +25 -25
  188. package/dist/chunks/{bus-d9h8yfv6.js → location-services-neszysma.js} +19 -19
  189. package/dist/chunks/{bus-gpffk3sd.js → location-services-nmtdsvx9.js} +2 -2
  190. package/dist/chunks/{bus-mpmd08n4.js → location-services-nysaz71n.js} +16 -16
  191. package/dist/chunks/{bus-2mb2wnf1.js → location-services-p88p5be6.js} +23 -23
  192. package/dist/chunks/{bus-tp2cn5ae.js → location-services-p8ezbzew.js} +10 -10
  193. package/dist/chunks/{bus-jzjcb49d.js → location-services-pa1p5yy8.js} +23 -23
  194. package/dist/chunks/{bus-qcz3a2pj.js → location-services-pctadb69.js} +3 -3
  195. package/dist/chunks/{bus-tvc1vb6k.js → location-services-pj6d0n09.js} +15 -15
  196. package/dist/chunks/{bus-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{bus-pknna89w.js → location-services-pknna89w.js} +1 -1
  198. package/dist/chunks/{bus-b9beb9jd.js → location-services-pr8xmdjh.js} +11 -11
  199. package/dist/chunks/{bus-xaehw3v9.js → location-services-prh82gjm.js} +30 -30
  200. package/dist/chunks/{bus-9h82ctm8.js → location-services-pzqxv0r1.js} +13 -13
  201. package/dist/chunks/{bus-5s4d2rwe.js → location-services-q7wrc6aj.js} +5 -5
  202. package/dist/chunks/{bus-hmhp1yt2.js → location-services-q97grcvd.js} +4 -4
  203. package/dist/chunks/{bus-s5h4p73x.js → location-services-qa96c720.js} +6 -6
  204. package/dist/chunks/{bus-1n5v9331.js → location-services-qepdgwe1.js} +11 -11
  205. package/dist/chunks/{bus-7dqw4kz8.js → location-services-qgn6gcr1.js} +5 -5
  206. package/dist/chunks/{bus-xj1ny1rv.js → location-services-qm5fm3bt.js} +14 -14
  207. package/dist/chunks/{bus-a53cn5ne.js → location-services-qmymcrm4.js} +173 -173
  208. package/dist/chunks/{bus-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{bus-kbgwbpaq.js → location-services-qp4aj71v.js} +24 -24
  210. package/dist/chunks/{bus-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  211. package/dist/chunks/{bus-qxjc9qry.js → location-services-qxjc9qry.js} +3 -3
  212. package/dist/chunks/{bus-q8xdd368.js → location-services-r2787m6t.js} +18 -18
  213. package/dist/chunks/{bus-kswjze58.js → location-services-r3t0jhn1.js} +8 -8
  214. package/dist/chunks/{bus-g97m3cx8.js → location-services-r6dbtj4q.js} +8 -8
  215. package/dist/chunks/{bus-spzjt392.js → location-services-r82zwd42.js} +68 -68
  216. package/dist/chunks/{bus-5aps1zy9.js → location-services-r9w3djhf.js} +9 -9
  217. package/dist/chunks/{bus-8btdadkw.js → location-services-raeyd1af.js} +5 -5
  218. package/dist/chunks/{bus-qqx9qqxa.js → location-services-rbz22khx.js} +23 -23
  219. package/dist/chunks/{bus-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{bus-rf7wnnvv.js → location-services-rjdtmcrf.js} +8 -8
  221. package/dist/chunks/{bus-f1k63k1a.js → location-services-rsthda1v.js} +16 -16
  222. package/dist/chunks/{bus-hcwc3h8h.js → location-services-s4mdabvn.js} +18 -18
  223. package/dist/chunks/{bus-n4d3d4w3.js → location-services-s5qxm7c2.js} +11 -11
  224. package/dist/chunks/{bus-s8d7rejh.js → location-services-s8d7rejh.js} +1 -1
  225. package/dist/chunks/{bus-wecqtg5s.js → location-services-scgrse2b.js} +5 -5
  226. package/dist/chunks/{bus-sesvvx24.js → location-services-skw0fsa5.js} +3 -3
  227. package/dist/chunks/{bus-jxbgt45t.js → location-services-smh7ywje.js} +35 -35
  228. package/dist/chunks/{bus-5cbjwyn2.js → location-services-sv1tz1j9.js} +37 -37
  229. package/dist/chunks/location-services-ta9yt1nw.js +507 -0
  230. package/dist/chunks/{bus-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{bus-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{bus-tdstcens.js → location-services-tdstcens.js} +1 -1
  233. package/dist/chunks/{bus-sw9ya77t.js → location-services-tf3pd2x6.js} +9 -9
  234. package/dist/chunks/{bus-p23dhdth.js → location-services-tfkn2j35.js} +14 -14
  235. package/dist/chunks/{bus-qsare228.js → location-services-tfwask6p.js} +5 -5
  236. package/dist/chunks/{bus-tag6x3x4.js → location-services-thtzhryg.js} +8 -8
  237. package/dist/chunks/{bus-44nxam66.js → location-services-tjrpxc7a.js} +19 -19
  238. package/dist/chunks/{bus-mbca2hxa.js → location-services-v67tzb22.js} +19 -19
  239. package/dist/chunks/{bus-ycgg54q6.js → location-services-vbspm9c9.js} +8 -8
  240. package/dist/chunks/{bus-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  241. package/dist/chunks/{bus-m1ebtf8y.js → location-services-vjg4x591.js} +28 -28
  242. package/dist/chunks/{bus-zt3khfp6.js → location-services-vjwe1yhb.js} +29 -29
  243. package/dist/chunks/{bus-rjaxefsm.js → location-services-vqkd8k7q.js} +13 -13
  244. package/dist/chunks/{bus-ff5sg8nr.js → location-services-vww3v1mh.js} +29 -29
  245. package/dist/chunks/{bus-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{bus-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{bus-84txncab.js → location-services-w1eejvng.js} +5 -5
  248. package/dist/chunks/{bus-c8sdstdm.js → location-services-w2t53qcf.js} +20 -20
  249. package/dist/chunks/{bus-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{bus-7nk92rs9.js → location-services-w9aqgmsm.js} +20 -20
  251. package/dist/chunks/{bus-wd87259q.js → location-services-wd87259q.js} +1 -1
  252. package/dist/chunks/{bus-mcqt9qjk.js → location-services-wdsqgzqf.js} +7 -7
  253. package/dist/chunks/{bus-7zavcbms.js → location-services-weadtc0s.js} +6 -6
  254. package/dist/chunks/{bus-0dp46qqw.js → location-services-wk2wkhpf.js} +10 -10
  255. package/dist/chunks/{bus-nx817z3s.js → location-services-wzn75axg.js} +8 -8
  256. package/dist/chunks/{bus-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{bus-epppjn0x.js → location-services-x3v54rjw.js} +10 -10
  258. package/dist/chunks/{bus-mqwmb34d.js → location-services-x63nnht6.js} +12 -12
  259. package/dist/chunks/{bus-7ya4bwdq.js → location-services-xdkbmmq8.js} +41 -41
  260. package/dist/chunks/{bus-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
  261. package/dist/chunks/location-services-xvpw4qdm.js +26 -0
  262. package/dist/chunks/{bus-ndkksb5f.js → location-services-xwt6md90.js} +9 -9
  263. package/dist/chunks/{bus-s0rpadc8.js → location-services-xxq7ze3r.js} +35 -35
  264. package/dist/chunks/{bus-9ftsnmnn.js → location-services-y0pv4cb8.js} +3 -3
  265. package/dist/chunks/{bus-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{bus-gwa2mc6d.js → location-services-y45q3gec.js} +19 -19
  267. package/dist/chunks/{bus-j6pqrj3v.js → location-services-y8x0erkd.js} +21 -21
  268. package/dist/chunks/{bus-a0d5603r.js → location-services-ybcc8h5s.js} +6 -6
  269. package/dist/chunks/{bus-3q8rvzgr.js → location-services-yda3nh9t.js} +5 -5
  270. package/dist/chunks/{bus-rtpbxsk2.js → location-services-yhswtzyx.js} +32 -32
  271. package/dist/chunks/{bus-2zttkrbk.js → location-services-yj068028.js} +24 -24
  272. package/dist/chunks/{bus-4mk0yh5v.js → location-services-ynezmcte.js} +17 -17
  273. package/dist/chunks/{bus-r8xr0va3.js → location-services-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{bus-cytj1s2b.js → location-services-ypkp13p0.js} +9 -9
  275. package/dist/chunks/{bus-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{bus-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{bus-m2dm6aaw.js → location-services-z3k9mdkt.js} +21 -21
  278. package/dist/chunks/{bus-xzhjfv9h.js → location-services-za2xmcvh.js} +28 -28
  279. package/dist/chunks/{bus-embw8kgh.js → location-services-zcrspsvn.js} +4 -4
  280. package/dist/chunks/{bus-rx9ava5n.js → location-services-zfs8ae4p.js} +4 -4
  281. package/dist/chunks/{bus-h575n3kc.js → location-services-zgzz49jn.js} +4 -4
  282. package/dist/chunks/{bus-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{bus-63kpjth9.js → location-services-zvwz45r0.js} +9 -9
  284. package/dist/chunks/{bus-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +100 -100
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +1 -1
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +107 -107
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +90 -90
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +115 -115
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +76 -76
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +5 -5
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +222 -222
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +90 -90
  555. package/dist/provider.js +97 -97
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +99 -99
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +89 -89
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +97 -97
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +133 -133
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +1 -1
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +211 -211
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +75 -75
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +118 -118
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +125 -125
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +125 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +164 -164
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +157 -157
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +207 -207
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +203 -203
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +7 -7
  621. package/dist/shell.js +126 -126
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +105 -105
  624. package/dist/skill.js +112 -112
  625. package/dist/snapshot.js +91 -91
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +126 -126
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +124 -124
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +122 -122
  637. package/dist/tool/plugin/question.js +101 -101
  638. package/dist/tool/plugin/read.js +119 -119
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +113 -113
  641. package/dist/tool/plugin/subagent.js +210 -210
  642. package/dist/tool/plugin/webfetch.js +112 -112
  643. package/dist/tool/plugin/websearch.js +112 -112
  644. package/dist/tool/plugin/write.js +116 -116
  645. package/dist/tool/read-filesystem.js +100 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +91 -91
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +87 -87
  670. package/dist/websearch.js +78 -78
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +77 -77
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +98 -98
  681. package/package.json +8 -8
  682. package/dist/chunks/bus-60msy0h1.js +0 -26
  683. package/dist/chunks/bus-a92xy198.js +0 -507
  684. package/dist/chunks/bus-by5v678g.js +0 -18
  685. package/dist/chunks/bus-pmem3b8z.js +0 -253
  686. /package/dist/chunks/{bus-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{bus-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{bus-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{bus-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{bus-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{bus-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{bus-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{bus-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{bus-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{bus-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{bus-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{bus-3asan66x.js → location-services-3asan66x.js} +0 -0
  698. /package/dist/chunks/{bus-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{bus-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{bus-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{bus-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{bus-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{bus-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{bus-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{bus-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{bus-53557ph1.js → location-services-53557ph1.js} +0 -0
  707. /package/dist/chunks/{bus-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{bus-6prwharc.js → location-services-6prwharc.js} +0 -0
  709. /package/dist/chunks/{bus-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{bus-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{bus-822emrt2.js → location-services-822emrt2.js} +0 -0
  712. /package/dist/chunks/{bus-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{bus-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{bus-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{bus-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{bus-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{bus-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{bus-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{bus-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{bus-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{bus-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{bus-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{bus-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{bus-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{bus-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{bus-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{bus-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{bus-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{bus-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{bus-df08tz66.js → location-services-df08tz66.js} +0 -0
  731. /package/dist/chunks/{bus-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{bus-e3qxr5gk.js → location-services-e3qxr5gk.js} +0 -0
  733. /package/dist/chunks/{bus-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{bus-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{bus-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{bus-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{bus-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{bus-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{bus-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{bus-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{bus-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{bus-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{bus-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{bus-g86h250q.js → location-services-g86h250q.js} +0 -0
  745. /package/dist/chunks/{bus-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{bus-gftt206x.js → location-services-gftt206x.js} +0 -0
  747. /package/dist/chunks/{bus-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{bus-hk9envan.js → location-services-hk9envan.js} +0 -0
  749. /package/dist/chunks/{bus-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{bus-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{bus-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{bus-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{bus-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{bus-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{bus-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{bus-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{bus-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{bus-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{bus-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{bus-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{bus-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{bus-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{bus-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{bus-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{bus-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{bus-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{bus-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{bus-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{bus-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{bus-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{bus-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{bus-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{bus-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{bus-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{bus-x61499pn.js → location-services-x61499pn.js} +0 -0
  776. /package/dist/chunks/{bus-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{bus-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{bus-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{bus-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{bus-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{bus-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{bus-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,118 +1,118 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./bus-9ftsnmnn.js";
4
+ } from "./location-services-y0pv4cb8.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./bus-f1k63k1a.js";
6
+ Service74,
7
+ node78
8
+ } from "./location-services-rsthda1v.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service71,
13
- node75
14
- } from "./bus-jaah0z8w.js";
12
+ Service65,
13
+ node69
14
+ } from "./location-services-bh0j0ejr.js";
15
15
  import {
16
- ID18,
17
- Service82,
18
- node86
19
- } from "./bus-m2dm6aaw.js";
16
+ ID11,
17
+ Service67,
18
+ node71
19
+ } from "./location-services-z3k9mdkt.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./bus-sesvvx24.js";
22
+ } from "./location-services-skw0fsa5.js";
23
23
  import {
24
24
  combine2
25
- } from "./bus-s8d7rejh.js";
25
+ } from "./location-services-s8d7rejh.js";
26
26
  import {
27
27
  provenance2
28
- } from "./bus-8zp79j7j.js";
28
+ } from "./location-services-5dkn69vz.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./bus-rf7wnnvv.js";
31
+ } from "./location-services-rjdtmcrf.js";
32
32
  import {
33
- Service54,
34
- node57
35
- } from "./bus-vts12sgn.js";
33
+ Service60,
34
+ node64
35
+ } from "./location-services-69mpjg5g.js";
36
36
  import {
37
37
  merge2
38
- } from "./bus-sft7r91c.js";
38
+ } from "./location-services-5d9y40bw.js";
39
39
  import {
40
40
  make15
41
- } from "./bus-tag6x3x4.js";
41
+ } from "./location-services-thtzhryg.js";
42
42
  import {
43
- Service64,
44
- node67
45
- } from "./bus-mw4m8fya.js";
43
+ Service52,
44
+ node54
45
+ } from "./location-services-d8nets6x.js";
46
46
  import {
47
- Service27,
48
- node31
49
- } from "./bus-9h82ctm8.js";
47
+ Service31,
48
+ node34
49
+ } from "./location-services-pzqxv0r1.js";
50
50
  import {
51
- Service44,
52
- node48
53
- } from "./bus-2zttkrbk.js";
51
+ Service37,
52
+ node40
53
+ } from "./location-services-yj068028.js";
54
54
  import {
55
- Service32,
55
+ Service35,
56
+ node38
57
+ } from "./location-services-ncv98mvt.js";
58
+ import {
59
+ Service33,
56
60
  node36
57
- } from "./bus-3x5m0wp2.js";
61
+ } from "./location-services-3tdjtawa.js";
58
62
  import {
59
- Service31,
63
+ Service32,
60
64
  node35
61
- } from "./bus-xa8b9tvy.js";
62
- import {
63
- Service36,
64
- node39
65
- } from "./bus-mpmd08n4.js";
65
+ } from "./location-services-nysaz71n.js";
66
66
  import {
67
- Service33,
67
+ Service34,
68
68
  node37
69
- } from "./bus-d9h8yfv6.js";
69
+ } from "./location-services-neszysma.js";
70
70
  import {
71
71
  Service28,
72
- node32
73
- } from "./bus-mcqt9qjk.js";
72
+ node31
73
+ } from "./location-services-wdsqgzqf.js";
74
74
  import {
75
75
  Service29,
76
- node33
77
- } from "./bus-2qx1vwxr.js";
76
+ node32
77
+ } from "./location-services-dcfz9rmq.js";
78
78
  import {
79
- Service49,
80
- node52
81
- } from "./bus-rjaxefsm.js";
79
+ Service43,
80
+ node45
81
+ } from "./location-services-vqkd8k7q.js";
82
82
  import {
83
83
  __export
84
- } from "./bus-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
89
  Service: () => Service26,
90
90
  SessionContext: () => exports_context,
91
- node: () => node30
91
+ node: () => node29
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
95
  class Service26 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
97
  var layer = Layer.effect(Service26, Effect.gen(function* () {
98
- const agents = yield* Service82;
99
- const builtins = yield* Service27;
100
- const model = yield* Service71;
98
+ const agents = yield* Service67;
99
+ const builtins = yield* Service31;
100
+ const model = yield* Service65;
101
101
  const db = (yield* Service84).db;
102
- const discovery = yield* Service64;
102
+ const discovery = yield* Service52;
103
103
  const entries = yield* Service28;
104
- const location = yield* Service79;
105
- const mcpInstructions = yield* Service31;
106
- const mcpTools = yield* Service32;
107
- const models = yield* Service49;
104
+ const location = yield* Service74;
105
+ const mcpInstructions = yield* Service33;
106
+ const mcpTools = yield* Service35;
107
+ const models = yield* Service43;
108
108
  const request = yield* Service29;
109
- const referenceInstructions = yield* Service36;
110
- const skillInstructions = yield* Service33;
111
- const store = yield* Service54;
112
- const registry = yield* Service44;
109
+ const referenceInstructions = yield* Service32;
110
+ const skillInstructions = yield* Service34;
111
+ const store = yield* Service60;
112
+ const registry = yield* Service37;
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(ID18.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(() => {
@@ -191,26 +191,26 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
191
191
  return Service26.of({ select, load, resolveModel, selectTitle, request });
192
192
  }));
193
193
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
194
- var node30 = makeLocationNode({
194
+ var node29 = makeLocationNode({
195
195
  service: Service26,
196
196
  layer,
197
197
  deps: [
198
- node86,
199
- node75,
198
+ node71,
199
+ node69,
200
200
  node88,
201
+ node34,
202
+ node54,
201
203
  node31,
202
- node67,
203
- node32,
204
- node83,
205
- node35,
204
+ node78,
206
205
  node36,
207
- node39,
208
- node52,
209
- node33,
210
- node57,
206
+ node38,
207
+ node35,
208
+ node45,
209
+ node32,
210
+ node64,
211
211
  node37,
212
- node48
212
+ node40
213
213
  ]
214
214
  });
215
215
 
216
- export { Service26, node30, exports_context };
216
+ export { Service26, node29, exports_context };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./bus-z5v4ffb3.js";
4
+ } from "./location-services-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./bus-hafepx0m.js";
8
+ Service76,
9
+ node80
10
+ } from "./location-services-6qcdg29g.js";
11
11
  import {
12
- Service79,
13
- node83
14
- } from "./bus-f1k63k1a.js";
12
+ Service74,
13
+ node78
14
+ } from "./location-services-rsthda1v.js";
15
15
  import {
16
16
  create3
17
- } from "./bus-rdw6cm16.js";
17
+ } from "./location-services-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-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: () => ID8,
27
- Service: () => Service60,
25
+ Error: () => Error4,
26
+ ID: () => ID5,
27
+ Service: () => Service55,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node63,
29
+ node: () => node57,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ 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 ID8 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } 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 Service60 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service55 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service60, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service76;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
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(Service60, 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(Service60, 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(Service60, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID8.make(yield* git.tree.capture({
85
+ return ID5.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(Service60, 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 Service60.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node63 = makeLocationNode({
144
- service: Service60,
143
+ var node57 = makeLocationNode({
144
+ service: Service55,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node83]
146
+ deps: [FSUtil.node, node80, Global.node, node78]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service60, Service60.of({
148
+ var noopLayer3 = Layer.succeed(Service55, Service55.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(Service60, Service60.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 { ID8, Error3, Service60, node63, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error4, Service55, node57, noopLayer3, exports_snapshot2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./bus-2a5m3afh.js";
5
+ } from "./location-services-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./bus-9rqn6x4v.js";
8
+ } from "./location-services-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./bus-hh9zdb1h.js";
3
+ } from "./location-services-6cm87je5.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./bus-34c7v6d4.js";
6
+ } from "./location-services-34c7v6d4.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service69
3
- } from "./bus-qdbrb2ae.js";
2
+ Service64
3
+ } from "./location-services-3bcp9tcb.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./bus-z5v4ffb3.js";
6
+ } from "./location-services-z5v4ffb3.js";
7
7
  import {
8
- Service79
9
- } from "./bus-f1k63k1a.js";
8
+ Service74
9
+ } from "./location-services-rsthda1v.js";
10
10
  import {
11
- Service68
12
- } from "./bus-7ya4bwdq.js";
11
+ Service63
12
+ } from "./location-services-xdkbmmq8.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source3
17
- } from "./bus-kn1wn28d.js";
17
+ } from "./location-services-ek3ym7nd.js";
18
18
  import {
19
- Service9
20
- } from "./bus-srq8z0b0.js";
19
+ Service8
20
+ } from "./location-services-g31erja1.js";
21
21
  import {
22
22
  parse2
23
- } from "./bus-a0d5603r.js";
23
+ } from "./location-services-ybcc8h5s.js";
24
24
  import {
25
25
  __export
26
- } from "./bus-9rqn6x4v.js";
26
+ } from "./location-services-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill = {};
30
- __export(exports_skill, {
31
- ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin2
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin32
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin2 = define({
39
+ var Plugin32 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service68;
43
- const discovery = yield* Service9;
42
+ const config = yield* Service63;
43
+ const discovery = yield* Service8;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service79;
47
- const watcher = yield* Service69;
46
+ const location = yield* Service74;
47
+ const watcher = yield* Service64;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin2 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin2, exports_skill };
179
+ export { Plugin32, exports_skill2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./bus-tbgq5war.js";
4
+ } from "./location-services-mtedkk5d.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./bus-rdw6cm16.js";
8
+ } from "./location-services-rdw6cm16.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./bus-f1k63k1a.js";
10
+ Service74,
11
+ node78
12
+ } from "./location-services-rsthda1v.js";
13
13
  import {
14
14
  rewrite2,
15
- ID11,
15
+ ID12,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service72,
20
- node76,
21
- Event15
22
- } from "./bus-prnf2p7v.js";
19
+ Service71,
20
+ node75,
21
+ Event16
22
+ } from "./location-services-dy5xnnh4.js";
23
23
  import {
24
24
  __export
25
- } from "./bus-9rqn6x4v.js";
25
+ } from "./location-services-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event14,
33
+ Event: () => Event12,
34
34
  Family: () => Family2,
35
35
  ID: () => ID10,
36
- Info: () => Info19,
36
+ Info: () => Info17,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service71,
40
+ Service: () => Service65,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node75,
45
- parse: () => parse5
44
+ node: () => node69,
45
+ parse: () => parse4
46
46
  });
47
47
  import { Model } from "@opencode/schema/model";
48
48
  import { Context, Effect, Layer, Stream } from "effect";
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import { freeze } from "immer";
51
- import { Event as Event14 } from "@opencode/schema/model";
51
+ import { Event as Event12 } from "@opencode/schema/model";
52
52
  var ID10 = Model.ID;
53
53
  var VariantID2 = Model.VariantID;
54
54
  var Family2 = Model.Family;
@@ -65,14 +65,14 @@ var mergeCapabilities2 = (config, base) => {
65
65
  };
66
66
  var Cost2 = Model.Cost;
67
67
  var Ref2 = Model.Ref;
68
- var Info19 = Model.Info;
68
+ var Info17 = Model.Info;
69
69
 
70
- class Service71 extends Context.Service()("@opencode/Model") {
70
+ class Service65 extends Context.Service()("@opencode/Model") {
71
71
  }
72
- var layer = Layer.effect(Service71, Effect.gen(function* () {
73
- const providers = yield* Service72;
72
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
73
+ const providers = yield* Service71;
74
74
  const bus = yield* Service83;
75
- const location = yield* Service79;
75
+ const location = yield* Service74;
76
76
  let input;
77
77
  const state = create3({
78
78
  name: "model",
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
117
117
  const models = writable(providerID);
118
118
  if (!models)
119
119
  return;
120
- const model = draft(providerID, modelID) ?? Info19.default(providerID, modelID);
120
+ const model = draft(providerID, modelID) ?? Info17.default(providerID, modelID);
121
121
  update(model);
122
122
  model.id = modelID;
123
123
  model.providerID = providerID;
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
206
206
  location: { directory: location.directory, workspaceID: location.workspaceID }
207
207
  });
208
208
  });
209
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
- return Service71.of({
209
+ yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
+ return Service65.of({
211
211
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
212
212
  reload,
213
213
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
226
226
  })
227
227
  });
228
228
  }));
229
- var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, node87, node83] });
229
+ var node69 = makeLocationNode({ service: Service65, layer, deps: [node75, node87, node78] });
230
230
  function compatibility2(input) {
231
231
  if (typeof input === "string")
232
232
  return { reasoningField: input };
@@ -234,12 +234,12 @@ function compatibility2(input) {
234
234
  return;
235
235
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
236
236
  }
237
- function parse5(input) {
237
+ function parse4(input) {
238
238
  const index = input.indexOf("/");
239
239
  return {
240
- providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
240
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
241
241
  modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
242
242
  };
243
243
  }
244
244
 
245
- export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service71, node75, compatibility2, parse5, exports_model2, Event14 };
245
+ export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info17, Service65, node69, compatibility2, parse4, exports_model2, Event12 };