@opencode/core 0.0.0-dev-20536 → 0.0.0-dev-20537

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 +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{bus-tzjwq995.js → location-services-090sd7ra.js} +13 -13
  8. package/dist/chunks/{bus-khnjxhph.js → location-services-09jrgjtk.js} +48 -48
  9. package/dist/chunks/{bus-zfs8ae4p.js → location-services-0dygnakk.js} +4 -4
  10. package/dist/chunks/{bus-0j77ygfz.js → location-services-0j77ygfz.js} +2 -2
  11. package/dist/chunks/{bus-s41274r5.js → location-services-0k1mtnc0.js} +1 -1
  12. package/dist/chunks/{bus-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{bus-49phrcng.js → location-services-0qf096qr.js} +15 -15
  14. package/dist/chunks/{bus-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
  15. package/dist/chunks/location-services-0w8ae6hm.js +507 -0
  16. package/dist/chunks/{bus-xe51zch3.js → location-services-11b8m3jd.js} +5 -5
  17. package/dist/chunks/{bus-b4m41310.js → location-services-129m75gm.js} +11 -11
  18. package/dist/chunks/{bus-fzcec5e2.js → location-services-17ckmk6r.js} +12 -12
  19. package/dist/chunks/{bus-1acjjqhc.js → location-services-1acjjqhc.js} +1 -1
  20. package/dist/chunks/{bus-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{bus-rabnegtx.js → location-services-1mfgke8q.js} +32 -32
  22. package/dist/chunks/{bus-7yrdpv1j.js → location-services-1r6k1529.js} +7 -7
  23. package/dist/chunks/{bus-7c08hygz.js → location-services-1xzpbkn4.js} +8 -8
  24. package/dist/chunks/{bus-e940t5dn.js → location-services-20bttqta.js} +19 -19
  25. package/dist/chunks/location-services-24ett5en.js +26 -0
  26. package/dist/chunks/{bus-0qpvcajx.js → location-services-2739wcbm.js} +17 -17
  27. package/dist/chunks/{bus-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{bus-2ccvkpx1.js → location-services-2ccvkpx1.js} +2 -2
  29. package/dist/chunks/{bus-q85q7640.js → location-services-2evt5wtt.js} +3 -3
  30. package/dist/chunks/{bus-364kza10.js → location-services-2n111pse.js} +25 -25
  31. package/dist/chunks/{bus-fas7hgfq.js → location-services-2ppsxfje.js} +23 -23
  32. package/dist/chunks/{bus-n2mrbfpf.js → location-services-33qwye0g.js} +41 -41
  33. package/dist/chunks/{bus-1dq8jzyn.js → location-services-3akdnqww.js} +2 -2
  34. package/dist/chunks/{bus-h2b79v29.js → location-services-3cegwx68.js} +2 -2
  35. package/dist/chunks/{bus-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{bus-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{bus-st8gjnqv.js → location-services-3n8b61ny.js} +43 -43
  38. package/dist/chunks/{bus-8g5ayqkp.js → location-services-3ndk2zmb.js} +14 -14
  39. package/dist/chunks/{bus-gz0m67vm.js → location-services-3nxk1rwh.js} +19 -19
  40. package/dist/chunks/{bus-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{bus-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{bus-wdpd55qw.js → location-services-3wmkjx9q.js} +35 -35
  43. package/dist/chunks/{bus-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{bus-zzqp698d.js → location-services-4148mqyb.js} +16 -16
  45. package/dist/chunks/{bus-ex2jr6wp.js → location-services-42cq3m4d.js} +310 -310
  46. package/dist/chunks/{bus-ydaa82v6.js → location-services-43kqwnna.js} +13 -13
  47. package/dist/chunks/{bus-ynscm4vs.js → location-services-445k6pmr.js} +28 -28
  48. package/dist/chunks/{bus-1a0ec517.js → location-services-44evqxhd.js} +16 -16
  49. package/dist/chunks/{bus-87qgbvjc.js → location-services-4650c2qw.js} +8 -8
  50. package/dist/chunks/{bus-k5btndkz.js → location-services-470y252s.js} +8 -8
  51. package/dist/chunks/{bus-vxmk6qhg.js → location-services-4bttz9j9.js} +3 -3
  52. package/dist/chunks/{bus-v17hgkfy.js → location-services-4f5nzdp7.js} +8 -8
  53. package/dist/chunks/{bus-8qxff7bj.js → location-services-4nq7jge7.js} +30 -30
  54. package/dist/chunks/{bus-s15sqcsm.js → location-services-4qn8jffq.js} +35 -35
  55. package/dist/chunks/{bus-aqvqqrwg.js → location-services-4vpyvh6w.js} +16 -16
  56. package/dist/chunks/{bus-xbrnje9f.js → location-services-4xhhjths.js} +8 -8
  57. package/dist/chunks/{bus-ekn5q80q.js → location-services-548zk78w.js} +9 -9
  58. package/dist/chunks/{bus-54ma36ye.js → location-services-54ma36ye.js} +1 -1
  59. package/dist/chunks/{bus-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  60. package/dist/chunks/{bus-4z58m4b4.js → location-services-5dkn69vz.js} +4 -4
  61. package/dist/chunks/{bus-452wmbgb.js → location-services-5hn5gy8k.js} +14 -14
  62. package/dist/chunks/{bus-e7m0vwsw.js → location-services-5jgjtfet.js} +1 -1
  63. package/dist/chunks/{bus-gg3gj13y.js → location-services-5n5tsk4n.js} +9 -9
  64. package/dist/chunks/{bus-0jyvqp1f.js → location-services-5n9gernp.js} +10 -10
  65. package/dist/chunks/{bus-qfhc4gyc.js → location-services-5qmahpw7.js} +11 -11
  66. package/dist/chunks/{bus-fq1jpeb1.js → location-services-5rph54xz.js} +20 -20
  67. package/dist/chunks/{bus-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{bus-92hj1t1y.js → location-services-5t943gfy.js} +9 -9
  69. package/dist/chunks/{bus-c20khjev.js → location-services-5wtwrezn.js} +4 -4
  70. package/dist/chunks/{bus-qh2fjgsd.js → location-services-5xpsk6ad.js} +46 -46
  71. package/dist/chunks/{bus-a5erg0b2.js → location-services-63zahdqd.js} +11 -11
  72. package/dist/chunks/{bus-669tq793.js → location-services-669tq793.js} +1 -1
  73. package/dist/chunks/{bus-8y0y710j.js → location-services-6g5dtey9.js} +6 -6
  74. package/dist/chunks/{bus-09fznkta.js → location-services-6z87w78t.js} +26 -26
  75. package/dist/chunks/{bus-pkhnmk3t.js → location-services-73racqam.js} +10 -10
  76. package/dist/chunks/{bus-7evavyec.js → location-services-7b4rfsm8.js} +49 -49
  77. package/dist/chunks/{bus-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{bus-2ma8zt2e.js → location-services-7d4xdh6f.js} +2 -2
  79. package/dist/chunks/{bus-2k8khapm.js → location-services-7dqw4kz8.js} +5 -5
  80. package/dist/chunks/{bus-33smrnfj.js → location-services-7j0zjj68.js} +1 -1
  81. package/dist/chunks/{bus-8srq2cd9.js → location-services-7qwvpcev.js} +21 -21
  82. package/dist/chunks/{bus-8nypjabp.js → location-services-7rz9bx15.js} +6 -6
  83. package/dist/chunks/{bus-7bw64253.js → location-services-7zv2r0w0.js} +8 -8
  84. package/dist/chunks/{bus-1dvck2a7.js → location-services-84h8c373.js} +2 -2
  85. package/dist/chunks/{bus-84txncab.js → location-services-84txncab.js} +1 -1
  86. package/dist/chunks/{bus-5pyjqqve.js → location-services-85xxa1xb.js} +2 -2
  87. package/dist/chunks/{bus-17bmhmmj.js → location-services-880jzpzw.js} +11 -11
  88. package/dist/chunks/{bus-dx0ahrbs.js → location-services-8cw6acet.js} +11 -11
  89. package/dist/chunks/{bus-5ehnhnq5.js → location-services-8d37933j.js} +22 -22
  90. package/dist/chunks/{bus-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{bus-bja1kbt7.js → location-services-8rvt4ayp.js} +35 -35
  92. package/dist/chunks/{bus-8jrg06sq.js → location-services-8z3f4xzs.js} +26 -26
  93. package/dist/chunks/{bus-92q1kttp.js → location-services-91d1afre.js} +8 -8
  94. package/dist/chunks/{bus-7x3zm5sf.js → location-services-9dkveqp9.js} +17 -17
  95. package/dist/chunks/{bus-tpw6cwsb.js → location-services-9hn6k4tm.js} +8 -8
  96. package/dist/chunks/{bus-9fgy035w.js → location-services-9n3ztkcb.js} +33 -33
  97. package/dist/chunks/{bus-vrm6ygbt.js → location-services-9q6kef8x.js} +18 -18
  98. package/dist/chunks/{bus-1d1h9naf.js → location-services-a4cqkne0.js} +2 -2
  99. package/dist/chunks/{bus-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  100. package/dist/chunks/{bus-b7dd0p69.js → location-services-ajwrk4qv.js} +16 -16
  101. package/dist/chunks/{bus-qwjmgwmn.js → location-services-aq5y8b9e.js} +8 -8
  102. package/dist/chunks/{bus-kpvnmc5s.js → location-services-asxv3t3t.js} +8 -8
  103. package/dist/chunks/{bus-rgbf2t5s.js → location-services-aw6hx41n.js} +18 -18
  104. package/dist/chunks/{bus-zsc2fept.js → location-services-ax9bdc30.js} +21 -21
  105. package/dist/chunks/{bus-x96r6938.js → location-services-b0r77mt0.js} +27 -27
  106. package/dist/chunks/{bus-939wh0ff.js → location-services-b1wc7e3p.js} +23 -23
  107. package/dist/chunks/{bus-wecqtg5s.js → location-services-b3f8fkhc.js} +5 -5
  108. package/dist/chunks/{bus-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{bus-s26mq5d1.js → location-services-b8qvr9pm.js} +4 -4
  110. package/dist/chunks/{bus-8vhr417e.js → location-services-b9387nfz.js} +32 -32
  111. package/dist/chunks/{bus-vx3jgdek.js → location-services-ba07h9gm.js} +3 -3
  112. package/dist/chunks/{bus-bxgqqbgp.js → location-services-bbhhp6a2.js} +24 -24
  113. package/dist/chunks/{bus-9k8khh75.js → location-services-bf4gbvg4.js} +8 -8
  114. package/dist/chunks/{bus-9z18kp50.js → location-services-bn9kxggd.js} +29 -29
  115. package/dist/chunks/{bus-5s8ss6c7.js → location-services-bqgt6scq.js} +35 -35
  116. package/dist/chunks/{bus-9n4yth9k.js → location-services-bqx0k4e8.js} +29 -29
  117. package/dist/chunks/{bus-dpz7bvge.js → location-services-c3jx7mjx.js} +11 -11
  118. package/dist/chunks/{bus-cjxqtvwp.js → location-services-cbh3s6fy.js} +15 -15
  119. package/dist/chunks/{bus-pgp1nwjn.js → location-services-cp937pt4.js} +4 -4
  120. package/dist/chunks/{bus-f3ev921j.js → location-services-crwbn2y9.js} +22 -22
  121. package/dist/chunks/{bus-ba97abkx.js → location-services-cvcz3nzr.js} +6 -6
  122. package/dist/chunks/{bus-fbq9vw6f.js → location-services-db4c6dbt.js} +10 -10
  123. package/dist/chunks/{bus-388z4gss.js → location-services-dfdc3x9j.js} +9 -9
  124. package/dist/chunks/{bus-djqc12a6.js → location-services-djbmhmfy.js} +13 -13
  125. package/dist/chunks/{bus-trtdezz0.js → location-services-e6emc0zd.js} +11 -11
  126. package/dist/chunks/{bus-1z18ck0n.js → location-services-eaezvagx.js} +6 -6
  127. package/dist/chunks/{bus-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{bus-ke77zstc.js → location-services-ejkmb07p.js} +17 -17
  129. package/dist/chunks/{bus-2345ahvj.js → location-services-etcjgnrt.js} +83 -83
  130. package/dist/chunks/{bus-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{bus-6n4ty2ve.js → location-services-ex32rbjv.js} +12 -12
  132. package/dist/chunks/{bus-ag2zta49.js → location-services-f0y7qn63.js} +12 -12
  133. package/dist/chunks/{bus-dms2p81q.js → location-services-f1hzxyh9.js} +4 -4
  134. package/dist/chunks/{bus-71az546q.js → location-services-f75zav2x.js} +2 -2
  135. package/dist/chunks/{bus-2bmw77gy.js → location-services-fdmc68hb.js} +13 -13
  136. package/dist/chunks/{bus-5myvgw2p.js → location-services-fg9zqne9.js} +27 -27
  137. package/dist/chunks/{bus-v0es1rhs.js → location-services-fpecnkgp.js} +9 -9
  138. package/dist/chunks/{bus-p694032b.js → location-services-fwsev3sk.js} +5 -5
  139. package/dist/chunks/{bus-9fm4x5nt.js → location-services-g1hwam99.js} +32 -32
  140. package/dist/chunks/{bus-0ag38bn7.js → location-services-g2wmft89.js} +141 -141
  141. package/dist/chunks/{bus-z5m9pnwf.js → location-services-g506agmk.js} +12 -12
  142. package/dist/chunks/{bus-m2ykgtqm.js → location-services-g87wfbfj.js} +12 -12
  143. package/dist/chunks/{bus-3zcjd5ba.js → location-services-g8gngdw1.js} +35 -35
  144. package/dist/chunks/{bus-tnw5c9p9.js → location-services-gat4fymv.js} +8 -8
  145. package/dist/chunks/{bus-fzh7zfb0.js → location-services-gctmrbvy.js} +15 -15
  146. package/dist/chunks/{bus-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{bus-99gq6tqt.js → location-services-gg98c2f6.js} +8 -8
  148. package/dist/chunks/{bus-wpt7dsy0.js → location-services-gggfs0xk.js} +29 -29
  149. package/dist/chunks/{bus-83pvch2e.js → location-services-gyq2yz2w.js} +14 -14
  150. package/dist/chunks/{bus-3556dn8t.js → location-services-h5w29vws.js} +1 -1
  151. package/dist/chunks/{bus-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{bus-57myy5jh.js → location-services-h83xjv7f.js} +5 -5
  153. package/dist/chunks/{bus-d1r5081s.js → location-services-h9rm1rrn.js} +5 -5
  154. package/dist/chunks/{bus-3rexwkpe.js → location-services-hafepx0m.js} +12 -12
  155. package/dist/chunks/{bus-eb4pf1x7.js → location-services-hfg95gcz.js} +11 -11
  156. package/dist/chunks/{bus-h06bmtst.js → location-services-hk3wdbzw.js} +22 -22
  157. package/dist/chunks/{bus-q43yz18s.js → location-services-hpcc46c6.js} +23 -23
  158. package/dist/chunks/{bus-vp5rkn34.js → location-services-hqe8rd4g.js} +27 -27
  159. package/dist/chunks/{bus-h9ye38ew.js → location-services-hvwcn4a1.js} +18 -18
  160. package/dist/chunks/{bus-p2vqafnj.js → location-services-hz101gtb.js} +1 -1
  161. package/dist/chunks/{bus-e7298r3y.js → location-services-j4xy0zyz.js} +5 -5
  162. package/dist/chunks/{bus-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  163. package/dist/chunks/{bus-3g35pcv0.js → location-services-j5we9a9w.js} +4 -4
  164. package/dist/chunks/{bus-0brrs4gw.js → location-services-jb7rd38k.js} +27 -27
  165. package/dist/chunks/{bus-mx9vqzsb.js → location-services-jhf3jymm.js} +6 -6
  166. package/dist/chunks/{bus-1bef9cj1.js → location-services-jtbsf1wt.js} +14 -14
  167. package/dist/chunks/{bus-0ejaqacf.js → location-services-jwhjcbyp.js} +32 -32
  168. package/dist/chunks/{bus-6c7yw9pm.js → location-services-k1qrnqst.js} +8 -8
  169. package/dist/chunks/{bus-g31erja1.js → location-services-k70p9jzb.js} +9 -9
  170. package/dist/chunks/{bus-qxkxgbhy.js → location-services-k76ra5zq.js} +95 -95
  171. package/dist/chunks/{bus-npwy0cf6.js → location-services-k8hpw67k.js} +5 -5
  172. package/dist/chunks/{bus-d9sgy5v4.js → location-services-kb6gw2zp.js} +4 -4
  173. package/dist/chunks/{bus-9e5bzkjp.js → location-services-kb9j3d72.js} +3 -3
  174. package/dist/chunks/{bus-r257mg98.js → location-services-kdytkkzq.js} +51 -51
  175. package/dist/chunks/{bus-789gjyax.js → location-services-kfm85q5p.js} +19 -19
  176. package/dist/chunks/{bus-6800223a.js → location-services-kvy32pjh.js} +3 -3
  177. package/dist/chunks/{bus-pcz7h6qj.js → location-services-kwrp2cke.js} +33 -33
  178. package/dist/chunks/{bus-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{bus-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{bus-m79q5xaq.js → location-services-mbj50dcg.js} +44 -44
  181. package/dist/chunks/{bus-mfqp6xfm.js → location-services-mfqp6xfm.js} +2 -2
  182. package/dist/chunks/{bus-a1gpj94z.js → location-services-mhkvc446.js} +3 -3
  183. package/dist/chunks/{bus-8zhy3fv7.js → location-services-mhv2383a.js} +5 -5
  184. package/dist/chunks/{bus-qzcb8gaw.js → location-services-mkt1mhy8.js} +18 -18
  185. package/dist/chunks/{bus-zbqk2z4c.js → location-services-mn1v50y8.js} +15 -15
  186. package/dist/chunks/{bus-fzpf6kj6.js → location-services-mr715wtt.js} +3 -3
  187. package/dist/chunks/{bus-z7ryvv6k.js → location-services-n8de19aq.js} +11 -11
  188. package/dist/chunks/{bus-9eajprj6.js → location-services-na1b7yvn.js} +11 -11
  189. package/dist/chunks/{bus-y6mhz57t.js → location-services-nb9p6b26.js} +4 -4
  190. package/dist/chunks/{bus-s6355me1.js → location-services-nezfzpbw.js} +6 -6
  191. package/dist/chunks/{bus-g0cz14ke.js → location-services-nrxsaexs.js} +8 -8
  192. package/dist/chunks/{bus-dpkg50ah.js → location-services-nxm207yx.js} +4 -4
  193. package/dist/chunks/{bus-8a5mpsbk.js → location-services-nz9mxn4c.js} +11 -11
  194. package/dist/chunks/{bus-masaym1h.js → location-services-p1xe872z.js} +13 -13
  195. package/dist/chunks/{bus-4fs97eea.js → location-services-p5kwhr81.js} +22 -22
  196. package/dist/chunks/{bus-7s2tn799.js → location-services-pakcngh0.js} +8 -8
  197. package/dist/chunks/{bus-03tt90jk.js → location-services-pjcdc1eb.js} +6 -6
  198. package/dist/chunks/{bus-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{bus-p7ah34cs.js → location-services-pkavez25.js} +24 -24
  200. package/dist/chunks/{bus-pknna89w.js → location-services-pknna89w.js} +1 -1
  201. package/dist/chunks/{bus-g660qtn0.js → location-services-pkxr7bz7.js} +29 -29
  202. package/dist/chunks/{bus-0qmg5gm1.js → location-services-pn8afmet.js} +17 -17
  203. package/dist/chunks/{bus-cfsekr6v.js → location-services-py3kkmfq.js} +2 -2
  204. package/dist/chunks/{bus-31pvnh6p.js → location-services-pzzj2s60.js} +29 -29
  205. package/dist/chunks/{bus-qdr56tr0.js → location-services-q3zyttkr.js} +6 -6
  206. package/dist/chunks/{bus-gctnkx5g.js → location-services-q59j7fqk.js} +35 -35
  207. package/dist/chunks/{bus-ze3my9xb.js → location-services-q701mbem.js} +7 -7
  208. package/dist/chunks/{bus-8x5dvemw.js → location-services-qdzbr9p9.js} +13 -13
  209. package/dist/chunks/{bus-nn87vc15.js → location-services-qg1twfqe.js} +10 -10
  210. package/dist/chunks/{bus-nzny4vc0.js → location-services-qjv6c2tj.js} +26 -26
  211. package/dist/chunks/{bus-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
  212. package/dist/chunks/{bus-qvz4s47d.js → location-services-qpeq7qy2.js} +14 -14
  213. package/dist/chunks/{bus-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  214. package/dist/chunks/{bus-xe08wepw.js → location-services-qtxphjym.js} +20 -20
  215. package/dist/chunks/{bus-qxjc9qry.js → location-services-qxjc9qry.js} +3 -3
  216. package/dist/chunks/{bus-syb4ysvy.js → location-services-qzpdgcfa.js} +17 -17
  217. package/dist/chunks/{bus-ej4w77wd.js → location-services-r1es5mj9.js} +12 -12
  218. package/dist/chunks/{bus-wg9r4j5w.js → location-services-r287dkar.js} +9 -9
  219. package/dist/chunks/{bus-qmqgtz8f.js → location-services-r2m716tb.js} +9 -9
  220. package/dist/chunks/{bus-ttt7twvn.js → location-services-r3zgfvd7.js} +21 -21
  221. package/dist/chunks/{bus-fm2qvscf.js → location-services-ratrq7cm.js} +4 -4
  222. package/dist/chunks/{bus-yq0mmv71.js → location-services-raz05mm7.js} +15 -15
  223. package/dist/chunks/{bus-56yn5gwg.js → location-services-rb7qyrmw.js} +16 -16
  224. package/dist/chunks/{bus-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{bus-rbaracaf.js → location-services-ret0wthz.js} +15 -15
  226. package/dist/chunks/{bus-trq2pbyk.js → location-services-rhdj7ksw.js} +6 -6
  227. package/dist/chunks/{bus-s8d7rejh.js → location-services-rhjbct0v.js} +4 -4
  228. package/dist/chunks/{bus-xtjxve4c.js → location-services-rmw490pv.js} +18 -18
  229. package/dist/chunks/{bus-78rts9ej.js → location-services-rv8748ta.js} +25 -25
  230. package/dist/chunks/{bus-exd7ezmd.js → location-services-sn7w05hg.js} +8 -8
  231. package/dist/chunks/{bus-bydnjh3t.js → location-services-svb96c7g.js} +9 -9
  232. package/dist/chunks/{bus-hr1by741.js → location-services-sz2mf85x.js} +22 -22
  233. package/dist/chunks/{bus-27ztzm6j.js → location-services-t0xtz55a.js} +9 -9
  234. package/dist/chunks/{bus-dbvre6p0.js → location-services-t289dnjq.js} +1 -1
  235. package/dist/chunks/{bus-1s8jzfn5.js → location-services-tapqjetq.js} +3 -3
  236. package/dist/chunks/{bus-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{bus-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{bus-tdstcens.js → location-services-tdstcens.js} +1 -1
  239. package/dist/chunks/{bus-h10yp9cw.js → location-services-tx18x5rj.js} +26 -26
  240. package/dist/chunks/{bus-w5ck0rke.js → location-services-tx3wpygc.js} +23 -23
  241. package/dist/chunks/{bus-jvf3yq6v.js → location-services-tz4n1mmd.js} +4 -4
  242. package/dist/chunks/{bus-k2seq1xy.js → location-services-tzhe3ffv.js} +72 -72
  243. package/dist/chunks/location-services-v1faaxn9.js +18 -0
  244. package/dist/chunks/{bus-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  245. package/dist/chunks/{bus-z8888y9b.js → location-services-vfnbmqyf.js} +11 -11
  246. package/dist/chunks/{bus-efspjqjk.js → location-services-vvtpgvxg.js} +10 -10
  247. package/dist/chunks/{bus-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{bus-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{bus-c467z66n.js → location-services-w2570gnf.js} +13 -13
  250. package/dist/chunks/{bus-6n4b0dsb.js → location-services-w3nq1sqw.js} +9 -9
  251. package/dist/chunks/{bus-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{bus-fzp8wpts.js → location-services-w98vwcdd.js} +58 -58
  253. package/dist/chunks/{bus-p5q5j63x.js → location-services-wbe193vw.js} +29 -29
  254. package/dist/chunks/{bus-wd87259q.js → location-services-wd87259q.js} +1 -1
  255. package/dist/chunks/{bus-98zydh9f.js → location-services-wdd0crct.js} +24 -24
  256. package/dist/chunks/{bus-9wdk9qm9.js → location-services-wfk00ms1.js} +6 -6
  257. package/dist/chunks/{bus-bexr6pad.js → location-services-wfvhjczk.js} +3 -3
  258. package/dist/chunks/{bus-9mm2tben.js → location-services-wm4sn3p9.js} +52 -52
  259. package/dist/chunks/{bus-61ysx92p.js → location-services-wpamggjr.js} +9 -9
  260. package/dist/chunks/{bus-eamzqf14.js → location-services-wr993p73.js} +18 -18
  261. package/dist/chunks/{bus-ej9mn2hm.js → location-services-wxrsqkpp.js} +8 -8
  262. package/dist/chunks/location-services-wyhevdkh.js +253 -0
  263. package/dist/chunks/{bus-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{bus-0a3505t2.js → location-services-x5d957dr.js} +23 -23
  265. package/dist/chunks/{bus-addxnjmp.js → location-services-x661k3y3.js} +4 -4
  266. package/dist/chunks/{bus-21jacxa0.js → location-services-x7wv6h2t.js} +43 -43
  267. package/dist/chunks/{bus-jpj7wt0r.js → location-services-xfcdggm6.js} +16 -16
  268. package/dist/chunks/{bus-g5w8qwbj.js → location-services-xfkkasph.js} +4 -4
  269. package/dist/chunks/{bus-m9cxh46g.js → location-services-xgna4nns.js} +18 -18
  270. package/dist/chunks/{bus-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
  271. package/dist/chunks/{bus-9pzzpc4q.js → location-services-xmf0kd7c.js} +8 -8
  272. package/dist/chunks/{bus-37wq61k5.js → location-services-xrhtfqv1.js} +11 -11
  273. package/dist/chunks/{bus-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{bus-n3gpv6q4.js → location-services-yrf0wz8x.js} +26 -26
  275. package/dist/chunks/{bus-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{bus-s8awv0tb.js → location-services-yvdf1jk9.js} +4 -4
  277. package/dist/chunks/{bus-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{bus-9btznmag.js → location-services-z21wbhwx.js} +1 -1
  279. package/dist/chunks/{bus-8r2stfs9.js → location-services-z3y2mqzw.js} +24 -24
  280. package/dist/chunks/{bus-zmr78fwr.js → location-services-zmr78fwr.js} +2 -2
  281. package/dist/chunks/{bus-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{bus-bqdwdppz.js → location-services-zw2sat06.js} +6 -6
  283. package/dist/chunks/{bus-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{bus-ckgr5b8p.js → location-services-zy7rccag.js} +37 -37
  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 +83 -83
  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 +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  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 +123 -123
  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 +135 -135
  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 +81 -81
  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 +93 -93
  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 +74 -74
  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 +15 -15
  422. package/dist/filesystem.js +102 -102
  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 +101 -101
  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 +91 -91
  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 +81 -81
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +105 -105
  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 +127 -127
  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 +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +98 -98
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +109 -109
  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 +80 -80
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +98 -98
  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 +7 -7
  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 +115 -115
  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 +132 -132
  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 +84 -84
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  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 +2 -2
  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 +216 -216
  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 +97 -97
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +91 -91
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +95 -95
  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 +153 -153
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  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 +79 -79
  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 +120 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  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 +1 -1
  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 +87 -87
  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 +3 -3
  612. package/dist/session/title.js +157 -157
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +213 -213
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  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 +13 -13
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +110 -110
  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 +128 -128
  630. package/dist/tool/plugin/edit.js +118 -118
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +124 -124
  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 +116 -116
  637. package/dist/tool/plugin/question.js +105 -105
  638. package/dist/tool/plugin/read.js +125 -125
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +109 -109
  641. package/dist/tool/plugin/subagent.js +204 -204
  642. package/dist/tool/plugin/webfetch.js +108 -108
  643. package/dist/tool/plugin/websearch.js +110 -110
  644. package/dist/tool/plugin/write.js +122 -122
  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 +3 -3
  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 +2 -2
  667. package/dist/variant.js +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +87 -87
  670. package/dist/websearch.js +82 -82
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +81 -81
  673. package/dist/workspace/driver.js +7 -7
  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-4fmv3mdr.js +0 -26
  683. package/dist/chunks/bus-bkyazm6f.js +0 -253
  684. package/dist/chunks/bus-bry9ja57.js +0 -507
  685. package/dist/chunks/bus-jqh9b0xq.js +0 -18
  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,47 +1,47 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./bus-fzcec5e2.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-services-17ckmk6r.js";
5
5
  import {
6
- Service38,
7
- node41
8
- } from "./bus-7evavyec.js";
6
+ Service33,
7
+ node36
8
+ } from "./location-services-7b4rfsm8.js";
9
9
  import {
10
- Service56,
11
- node59
12
- } from "./bus-9mm2tben.js";
10
+ Service54,
11
+ node57
12
+ } from "./location-services-wm4sn3p9.js";
13
13
  import {
14
- Service52,
15
- node55
16
- } from "./bus-8r2stfs9.js";
14
+ Service49,
15
+ node51
16
+ } from "./location-services-z3y2mqzw.js";
17
17
  import {
18
18
  __export
19
- } from "./bus-9rqn6x4v.js";
19
+ } from "./location-services-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service37,
26
- layer: () => layer14,
27
- name: () => name13,
25
+ Service: () => Service32,
26
+ layer: () => layer13,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node40
29
+ node: () => node35
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service37 extends Context.Service()("@opencode/McpTool") {
38
+ class Service32 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer14 = Layer.effect(Service37, Effect.gen(function* () {
41
- const mcp = yield* Service38;
42
- const tools = yield* Service52;
43
- const bus = yield* Service82;
44
- const permission = yield* Service56;
40
+ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
41
+ const mcp = yield* Service33;
42
+ const tools = yield* Service49;
43
+ const bus = yield* Service83;
44
+ const permission = yield* Service54;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service37, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service37, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service37, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node40 = makeLocationNode({
124
- service: Service37,
125
- layer: layer14,
126
- deps: [node55, node41, node86, node59]
123
+ var node35 = makeLocationNode({
124
+ service: Service32,
125
+ layer: layer13,
126
+ deps: [node51, node36, node87, node57]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service37, layer14, node40, exports_mcp3 };
129
+ export { namespace2, name14, Service32, layer13, node35, exports_mcp3 };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID11 = Session.ID;
5
- var Info20 = Session.Info;
4
+ var ID9 = Session.ID;
5
+ var Info12 = Session.Info;
6
6
 
7
- export { ID11, Info20, SessionSchema2 };
7
+ export { ID9, Info12, SessionSchema2 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service65
3
- } from "./bus-f3ev921j.js";
2
+ Service69
3
+ } from "./location-services-crwbn2y9.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./bus-z5v4ffb3.js";
6
+ } from "./location-services-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./bus-56yn5gwg.js";
8
+ Service79
9
+ } from "./location-services-rb7qyrmw.js";
10
10
  import {
11
- Service64
12
- } from "./bus-qh2fjgsd.js";
11
+ Service68
12
+ } from "./location-services-5xpsk6ad.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./bus-h10yp9cw.js";
16
+ Source4
17
+ } from "./location-services-tx18x5rj.js";
18
18
  import {
19
- Service8
20
- } from "./bus-g31erja1.js";
19
+ Service12
20
+ } from "./location-services-k70p9jzb.js";
21
21
  import {
22
22
  parse2
23
- } from "./bus-qdr56tr0.js";
23
+ } from "./location-services-q3zyttkr.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
29
  var exports_skill = {};
30
30
  __export(exports_skill, {
31
31
  ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin3
32
+ Plugin: () => Plugin8
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 Plugin3 = define({
39
+ var Plugin8 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service64;
43
- const discovery = yield* Service8;
42
+ const config = yield* Service68;
43
+ const discovery = yield* Service12;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service80;
47
- const watcher = yield* Service65;
46
+ const location = yield* Service79;
47
+ const watcher = yield* Service69;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin3 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source3.equals(item, source)))
90
+ if (result.some((item) => Source4.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin3 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source3.key(source),
115
+ source: Source4.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin3 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source3.key(source),
144
+ source: Source4.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin3 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source3.key),
163
+ sources: current.map(Source4.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin3 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin3, exports_skill };
179
+ export { Plugin8, exports_skill };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make21,
4
+ make20,
5
5
  diffByKey2
6
- } from "./bus-s8d7rejh.js";
6
+ } from "./location-services-rhjbct0v.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./bus-3fc6dm20.js";
11
+ } from "./location-services-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./bus-9rqn6x4v.js";
14
+ } from "./location-services-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
17
  var exports_instructions3 = {};
18
18
  __export(exports_instructions3, {
19
19
  CodeModeInstructions: () => exports_instructions3,
20
- make: () => make15,
20
+ make: () => make14,
21
21
  render: () => render2,
22
22
  update: () => update3
23
23
  });
@@ -111,9 +111,9 @@ ${render2(current)}`;
111
111
  }
112
112
  var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make15 = (inventory) => {
114
+ var make14 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make21({
116
+ return make20({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
@@ -125,4 +125,4 @@ var make15 = (inventory) => {
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make15, exports_instructions3 };
128
+ export { render2, update3, make14, exports_instructions3 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./bus-fzcec5e2.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-services-17ckmk6r.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
- Service80,
11
- node84
12
- } from "./bus-56yn5gwg.js";
10
+ Service79,
11
+ node83
12
+ } from "./location-services-rb7qyrmw.js";
13
13
  import {
14
+ rewrite2,
14
15
  ID13,
15
16
  modelSettings2,
16
17
  mergeOverlay2,
17
18
  mergeHeaders2,
18
- Service76,
19
- node80,
20
- Event17,
21
- rewrite2
22
- } from "./bus-ex2jr6wp.js";
19
+ Service73,
20
+ node77,
21
+ Event16
22
+ } from "./location-services-42cq3m4d.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: () => Event16,
33
+ Event: () => Event15,
34
34
  Family: () => Family2,
35
35
  ID: () => ID12,
36
- Info: () => Info21,
36
+ Info: () => Info20,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service75,
40
+ Service: () => Service71,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node79,
44
+ node: () => node75,
45
45
  parse: () => parse5
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 Event16 } from "@opencode/schema/model";
51
+ import { Event as Event15 } from "@opencode/schema/model";
52
52
  var ID12 = 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 Info21 = Model.Info;
68
+ var Info20 = Model.Info;
69
69
 
70
- class Service75 extends Context.Service()("@opencode/Model") {
70
+ class Service71 extends Context.Service()("@opencode/Model") {
71
71
  }
72
- var layer = Layer.effect(Service75, Effect.gen(function* () {
73
- const providers = yield* Service76;
74
- const bus = yield* Service82;
75
- const location = yield* Service80;
72
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
73
+ const providers = yield* Service73;
74
+ const bus = yield* Service83;
75
+ const location = yield* Service79;
76
76
  let input;
77
77
  const state = create3({
78
78
  name: "model",
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
117
117
  const models = writable(providerID);
118
118
  if (!models)
119
119
  return;
120
- const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
120
+ const model = draft(providerID, modelID) ?? Info20.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(Service75, Effect.gen(function* () {
206
206
  location: { directory: location.directory, workspaceID: location.workspaceID }
207
207
  });
208
208
  });
209
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
- return Service75.of({
209
+ yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
+ return Service71.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(Service75, Effect.gen(function* () {
226
226
  })
227
227
  });
228
228
  }));
229
- var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node86, node84] });
229
+ var node75 = makeLocationNode({ service: Service71, layer, deps: [node77, node87, node83] });
230
230
  function compatibility2(input) {
231
231
  if (typeof input === "string")
232
232
  return { reasoningField: input };
@@ -242,4 +242,4 @@ function parse5(input) {
242
242
  };
243
243
  }
244
244
 
245
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service75, node79, compatibility2, parse5, exports_model2, Event16 };
245
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service71, node75, compatibility2, parse5, exports_model2, Event15 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./bus-2a5m3afh.js";
3
+ } from "./location-services-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./bus-z5v4ffb3.js";
6
+ } from "./location-services-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./bus-56yn5gwg.js";
8
+ Service79
9
+ } from "./location-services-rb7qyrmw.js";
10
10
  import {
11
- Service67
12
- } from "./bus-p7ah34cs.js";
11
+ Service50
12
+ } from "./location-services-pkavez25.js";
13
13
  import {
14
- Service26
15
- } from "./bus-1bef9cj1.js";
14
+ Service17
15
+ } from "./location-services-jtbsf1wt.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./bus-nzny4vc0.js";
21
+ } from "./location-services-qjv6c2tj.js";
22
22
  import {
23
- Service56
24
- } from "./bus-9mm2tben.js";
23
+ Service54
24
+ } from "./location-services-wm4sn3p9.js";
25
25
  import {
26
- Service17
27
- } from "./bus-qzcb8gaw.js";
26
+ Service14
27
+ } from "./location-services-mkt1mhy8.js";
28
28
  import {
29
29
  __export
30
- } from "./bus-9rqn6x4v.js";
30
+ } from "./location-services-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input12,
37
- Output: () => Output8,
38
- Plugin: () => Plugin48,
39
- name: () => name12,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input8,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin43,
39
+ name: () => name8,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name12 = "glob";
46
- var Input12 = Schema.Struct({
45
+ var name8 = "glob";
46
+ var Input8 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output5 = Schema.Array(Entry2);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin48 = {
66
+ var Plugin43 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service67;
70
- const ripgrep = yield* Service26;
71
- const location = yield* Service80;
72
- const access = yield* Service17;
73
- const permission = yield* Service56;
69
+ const environment = yield* Service50;
70
+ const ripgrep = yield* Service17;
71
+ const location = yield* Service79;
72
+ const access = yield* Service14;
73
+ const permission = yield* Service54;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name12,
75
+ name: name8,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input12,
79
- output: Output8,
78
+ input: Input8,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name12,
86
+ action: name8,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin48 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name12, Input12, Output8, toModelContent6, Plugin48, exports_glob };
128
+ export { name8, Input8, Output5, toModelContent4, Plugin43, exports_glob };