@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,72 +1,72 @@
1
1
  import {
2
- Service67
3
- } from "./bus-p7ah34cs.js";
2
+ Service50
3
+ } from "./location-services-pkavez25.js";
4
4
  import {
5
- Service14,
5
+ Service18,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./bus-2bmw77gy.js";
8
+ } from "./location-services-fdmc68hb.js";
9
9
  import {
10
- Service60
11
- } from "./bus-49phrcng.js";
10
+ Service67
11
+ } from "./location-services-0qf096qr.js";
12
12
  import {
13
- Service56
14
- } from "./bus-9mm2tben.js";
13
+ Service54
14
+ } from "./location-services-wm4sn3p9.js";
15
15
  import {
16
- Service17
17
- } from "./bus-qzcb8gaw.js";
16
+ Service14
17
+ } from "./location-services-mkt1mhy8.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./bus-6prwharc.js";
20
+ } from "./location-services-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./bus-9rqn6x4v.js";
23
+ } from "./location-services-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input6,
29
- Output: () => Output4,
30
- Plugin: () => Plugin41,
28
+ Input: () => Input11,
29
+ Output: () => Output7,
30
+ Plugin: () => Plugin46,
31
31
  WriteTool: () => exports_write,
32
- name: () => name6,
33
- toModelContent: () => toModelContent2
32
+ name: () => name11,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name6 = "write";
39
- var Input6 = Schema.Struct({
38
+ var name11 = "write";
39
+ var Input11 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output4 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin41 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin46 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service17;
56
- const fileMutation = yield* Service14;
57
- const environment = yield* Service67;
58
- const formatter = yield* Service60;
59
- const permission = yield* Service56;
55
+ const access = yield* Service14;
56
+ const fileMutation = yield* Service18;
57
+ const environment = yield* Service50;
58
+ const formatter = yield* Service67;
59
+ const permission = yield* Service54;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name6,
61
+ name: name11,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input6,
69
- output: Output4,
68
+ input: Input11,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name6, Input6, Output4, toModelContent2, Plugin41, exports_write };
101
+ export { name11, Input11, Output7, toModelContent5, Plugin46, exports_write };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service23,
10
- node: () => node26
9
+ Service: () => Service13,
10
+ node: () => node15
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service23 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service13 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service23, () => {
17
+ var layer = Layer.sync(Service13, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service23.of({
19
+ return Service13.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node26 = makeGlobalNode({ service: Service23, layer, deps: [] });
26
+ var node15 = makeGlobalNode({ service: Service13, layer, deps: [] });
27
27
 
28
- export { Service23, node26, exports_managed_policy };
28
+ export { Service13, node15, exports_managed_policy };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./location-services-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service8,
11
+ Service: () => Service12,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node10
13
+ node: () => node14
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service8, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service8.of({
66
+ return Service12.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service8, node10, exports_discovery };
155
+ export { Service12, node14, exports_discovery };
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID11,
3
- Info20,
2
+ ID9,
3
+ Info12,
4
4
  SessionSchema2
5
- } from "./bus-vx3jgdek.js";
5
+ } from "./location-services-ba07h9gm.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./bus-z5v4ffb3.js";
8
+ } from "./location-services-z5v4ffb3.js";
9
9
  import {
10
10
  Service84,
11
11
  node88
12
- } from "./bus-vxmk6qhg.js";
12
+ } from "./location-services-4bttz9j9.js";
13
13
  import {
14
14
  isSynced2,
15
- Service82,
16
- node86
17
- } from "./bus-fzcec5e2.js";
15
+ Service83,
16
+ node87
17
+ } from "./location-services-17ckmk6r.js";
18
18
  import {
19
- Service81,
20
- node85
21
- } from "./bus-m79q5xaq.js";
19
+ Service80,
20
+ node84
21
+ } from "./location-services-mbj50dcg.js";
22
22
  import {
23
- Service45,
24
- node47
25
- } from "./bus-mx9vqzsb.js";
23
+ Service37,
24
+ node39
25
+ } from "./location-services-jhf3jymm.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./bus-ec1grn59.js";
28
+ } from "./location-services-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./bus-9e5bzkjp.js";
31
+ } from "./location-services-kb9j3d72.js";
32
32
  import {
33
- node45
34
- } from "./bus-w5ck0rke.js";
33
+ node38
34
+ } from "./location-services-tx3wpygc.js";
35
35
  import {
36
36
  current2
37
- } from "./bus-zfs8ae4p.js";
37
+ } from "./location-services-0dygnakk.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./bus-cjxqtvwp.js";
40
+ } from "./location-services-cbh3s6fy.js";
41
41
  import {
42
42
  Slug2
43
- } from "./bus-gebd4c9n.js";
43
+ } from "./location-services-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node32
47
- } from "./bus-789gjyax.js";
46
+ node27
47
+ } from "./location-services-kfm85q5p.js";
48
48
  import {
49
49
  Metadata2,
50
- node52
51
- } from "./bus-qfhc4gyc.js";
50
+ node68
51
+ } from "./location-services-5qmahpw7.js";
52
52
  import {
53
- NotFoundError8,
53
+ NotFoundError7,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./bus-1z18ck0n.js";
64
+ } from "./location-services-eaezvagx.js";
65
65
  import {
66
- ListInput4,
67
- Service57,
68
- node60
69
- } from "./bus-83pvch2e.js";
66
+ ListInput5,
67
+ Service56,
68
+ node59
69
+ } from "./location-services-gyq2yz2w.js";
70
70
  import {
71
- Service46,
72
- node48
73
- } from "./bus-qvz4s47d.js";
71
+ Service52,
72
+ node55
73
+ } from "./location-services-qpeq7qy2.js";
74
74
  import {
75
- Service41,
76
- node44
77
- } from "./bus-ckgr5b8p.js";
75
+ Service34,
76
+ node37
77
+ } from "./location-services-zy7rccag.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./bus-5t3nmthw.js";
80
+ } from "./location-services-5t3nmthw.js";
81
81
  import {
82
- Service35,
83
- node39
84
- } from "./bus-37wq61k5.js";
82
+ Service29,
83
+ node32
84
+ } from "./location-services-xrhtfqv1.js";
85
85
  import {
86
86
  generate2
87
- } from "./bus-m2ykgtqm.js";
87
+ } from "./location-services-g87wfbfj.js";
88
88
  import {
89
89
  execute2
90
- } from "./bus-92q1kttp.js";
90
+ } from "./location-services-91d1afre.js";
91
91
  import {
92
- Service50,
93
- node53
94
- } from "./bus-388z4gss.js";
92
+ Service78,
93
+ node82
94
+ } from "./location-services-dfdc3x9j.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service28,
100
- node31
101
- } from "./bus-fzp8wpts.js";
99
+ Service23,
100
+ node26
101
+ } from "./location-services-w98vwcdd.js";
102
102
  import {
103
- Service62,
104
- node65
105
- } from "./bus-7s2tn799.js";
103
+ Service41,
104
+ node43
105
+ } from "./location-services-pakcngh0.js";
106
106
  import {
107
- make14
108
- } from "./bus-s15sqcsm.js";
107
+ make13
108
+ } from "./location-services-4qn8jffq.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./bus-z8888y9b.js";
112
+ } from "./location-services-vfnbmqyf.js";
113
113
  import {
114
114
  __export
115
- } from "./bus-9rqn6x4v.js";
115
+ } from "./location-services-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID11,
126
+ ID: () => ID9,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info20,
128
+ Info: () => Info12,
129
129
  ListAnchor: () => ListAnchor2,
130
130
  ListInput: () => ListInput3,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError8,
133
+ NotFoundError: () => NotFoundError7,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service27,
135
+ Service: () => Service22,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node30
141
+ node: () => node25
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput3 = ListInput4;
152
- class Service27 extends Context.Service()("@opencode/Session") {
151
+ var ListInput3 = ListInput5;
152
+ class Service22 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service27, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service84;
157
157
  const db = database.db;
158
- const bus = yield* Service82;
159
- const projects = yield* Service81;
160
- const execution = yield* Service41;
158
+ const bus = yield* Service83;
159
+ const projects = yield* Service80;
160
+ const execution = yield* Service34;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service35;
163
- const store = yield* Service57;
164
- const instances = yield* Service45;
165
- const moves = yield* Service28;
166
- const jobs = yield* Service46;
167
- const environments = yield* Service62;
168
- const locations = yield* Service50;
169
- const sessions = yield* make14();
162
+ const transport = yield* Service29;
163
+ const store = yield* Service56;
164
+ const instances = yield* Service37;
165
+ const moves = yield* Service23;
166
+ const jobs = yield* Service52;
167
+ const environments = yield* Service41;
168
+ const locations = yield* Service78;
169
+ const sessions = yield* make13();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service27.of({
171
+ const result = Service22.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError8({ sessionID: input.parentID });
179
+ return yield* new NotFoundError7({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service45, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service37, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
327
327
  });
328
328
  return result;
329
329
  }));
330
- var node30 = Node.makeGlobalNode({
331
- service: Service27,
330
+ var node25 = Node.makeGlobalNode({
331
+ service: Service22,
332
332
  layer,
333
333
  deps: [
334
- node48,
335
- node65,
334
+ node55,
335
+ node43,
336
336
  node88,
337
- node86,
338
- node85,
339
- node44,
340
- node39,
341
- llmClient2,
342
- node60,
343
- node47,
344
- node45,
345
- node31,
337
+ node87,
338
+ node84,
339
+ node37,
346
340
  node32,
347
- node53,
341
+ llmClient2,
342
+ node59,
343
+ node39,
344
+ node38,
345
+ node26,
346
+ node27,
347
+ node82,
348
348
  FSUtil.node,
349
- node52
349
+ node68
350
350
  ]
351
351
  });
352
352
 
353
- export { ListAnchor2, ListInput3, Service27, node30, exports_session };
353
+ export { ListAnchor2, ListInput3, Service22, node25, exports_session };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./bus-3w5fmr99.js";
3
+ } from "./location-services-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin34,
11
+ Plugin: () => Plugin27,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin34 = define({
18
+ var Plugin27 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin34, exports_tool_input_repair };
123
+ export { Plugin27, exports_tool_input_repair };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin42,
11
+ Plugin: () => Plugin47,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin42 = {
67
+ var Plugin47 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin42 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin42, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin47, exports_opencode };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./bus-qnc92qwc.js";
4
+ } from "./location-services-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./bus-qfa1cgps.js";
7
+ } from "./location-services-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./bus-h2b79v29.js";
10
+ } from "./location-services-3cegwx68.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";