@opencode/core 0.0.0-dev-21479 → 0.0.0-dev-21483

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{git-ffjr7bk7.js → location-services-0088hgpq.js} +3 -3
  8. package/dist/chunks/{git-0javqkgf.js → location-services-00bmw6dv.js} +7 -7
  9. package/dist/chunks/{git-a3bkarxs.js → location-services-017jfkex.js} +20 -20
  10. package/dist/chunks/{git-02mvvr71.js → location-services-02mvvr71.js} +3 -3
  11. package/dist/chunks/{git-dh62xe4r.js → location-services-033a0jkt.js} +3 -3
  12. package/dist/chunks/{git-6ar8hrwm.js → location-services-0b92t0px.js} +26 -26
  13. package/dist/chunks/{git-9r8etyzv.js → location-services-0dr834kb.js} +76 -76
  14. package/dist/chunks/{git-0r3c1bmw.js → location-services-0r3c1bmw.js} +2 -2
  15. package/dist/chunks/{git-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{git-0vzwrjx3.js → location-services-0vzwrjx3.js} +3 -3
  17. package/dist/chunks/{git-v36djqsc.js → location-services-145f4ta5.js} +5 -5
  18. package/dist/chunks/{git-qzf8qtbx.js → location-services-16zhtxdn.js} +83 -83
  19. package/dist/chunks/{git-zjzgbraa.js → location-services-1bmjpwsq.js} +31 -31
  20. package/dist/chunks/{git-qr731nbc.js → location-services-1dx73nbb.js} +16 -16
  21. package/dist/chunks/{git-1ep4rre3.js → location-services-1ep4rre3.js} +1 -1
  22. package/dist/chunks/{git-9hxgbxmm.js → location-services-1n9zhxgv.js} +4 -4
  23. package/dist/chunks/{git-pjvyabz4.js → location-services-1wmbrwvp.js} +23 -23
  24. package/dist/chunks/{git-c8zwaxmp.js → location-services-1xb40zjp.js} +3 -3
  25. package/dist/chunks/{git-1qw4ts2x.js → location-services-21c3awqt.js} +1 -1
  26. package/dist/chunks/{git-az32jagd.js → location-services-22y59cnz.js} +32 -32
  27. package/dist/chunks/{git-xe5c1mcr.js → location-services-24a9h220.js} +36 -36
  28. package/dist/chunks/{git-p7ev6qnr.js → location-services-2652ep8t.js} +11 -11
  29. package/dist/chunks/{git-1ep2p91f.js → location-services-27w5k9zf.js} +2 -2
  30. package/dist/chunks/{git-m9c621cz.js → location-services-2db5x9db.js} +15 -15
  31. package/dist/chunks/{git-q464k4a6.js → location-services-2kasjqny.js} +13 -13
  32. package/dist/chunks/{git-bhbvgsmn.js → location-services-2vvfsge7.js} +17 -17
  33. package/dist/chunks/{git-7mb88a95.js → location-services-31b85b7b.js} +16 -16
  34. package/dist/chunks/{git-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{git-3hwn7j4h.js → location-services-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{git-n2se56j1.js → location-services-3n1nrack.js} +11 -11
  37. package/dist/chunks/{git-fzmgk69d.js → location-services-3q51vhk7.js} +5 -5
  38. package/dist/chunks/{git-dr294h6q.js → location-services-3rmyxsge.js} +28 -28
  39. package/dist/chunks/{git-nx9zwmb9.js → location-services-3s6k3ere.js} +14 -14
  40. package/dist/chunks/{git-y0p0xn3x.js → location-services-3t5zcd75.js} +42 -42
  41. package/dist/chunks/{git-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{git-cvza8xe0.js → location-services-3wcva4g9.js} +59 -59
  43. package/dist/chunks/{git-pq5a4ran.js → location-services-3x8nx958.js} +8 -8
  44. package/dist/chunks/{git-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{git-etr37avf.js → location-services-425ccttq.js} +4 -4
  46. package/dist/chunks/{git-w11ge2qy.js → location-services-49rmqp7p.js} +4 -4
  47. package/dist/chunks/{git-pqyspz9z.js → location-services-4ab19y44.js} +13 -13
  48. package/dist/chunks/{git-x5gg2x23.js → location-services-4bvsww0h.js} +9 -9
  49. package/dist/chunks/{git-k3f29ntv.js → location-services-4pxk97hc.js} +11 -11
  50. package/dist/chunks/{git-q045kj7b.js → location-services-4rd1fz1t.js} +8 -8
  51. package/dist/chunks/{git-tpfmwr0g.js → location-services-4y208h2p.js} +3 -3
  52. package/dist/chunks/{git-54ma36ye.js → location-services-54ma36ye.js} +1 -1
  53. package/dist/chunks/{git-5g57z1ma.js → location-services-5g57z1ma.js} +1 -1
  54. package/dist/chunks/location-services-5gd35bn7.js +523 -0
  55. package/dist/chunks/{git-w89a0he1.js → location-services-5gxs4yf4.js} +28 -28
  56. package/dist/chunks/{git-a9mdymkz.js → location-services-5j3v16nb.js} +17 -17
  57. package/dist/chunks/{git-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{git-csntcvgq.js → location-services-5myc75wy.js} +13 -13
  59. package/dist/chunks/{git-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{git-sgrqfx2c.js → location-services-60n7k9cf.js} +18 -18
  61. package/dist/chunks/{git-em208xvc.js → location-services-61kmmxt8.js} +14 -14
  62. package/dist/chunks/{git-6827pfxn.js → location-services-6827pfxn.js} +1 -1
  63. package/dist/chunks/{git-xngs254n.js → location-services-6d1cp1rv.js} +33 -33
  64. package/dist/chunks/{git-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{git-3a83a0n4.js → location-services-73kdj4zj.js} +8 -8
  66. package/dist/chunks/{git-775gj3j1.js → location-services-775gj3j1.js} +2 -2
  67. package/dist/chunks/{git-m6ebyez9.js → location-services-79zb9bhs.js} +4 -4
  68. package/dist/chunks/{git-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{git-stacx7tb.js → location-services-7ypp4rnv.js} +25 -25
  70. package/dist/chunks/{git-m4c0swtf.js → location-services-843de3yw.js} +7 -7
  71. package/dist/chunks/{git-89znhe33.js → location-services-89znhe33.js} +1 -1
  72. package/dist/chunks/{git-cv4k33jc.js → location-services-8c0f7nfv.js} +6 -6
  73. package/dist/chunks/{git-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
  74. package/dist/chunks/{git-8mywswrd.js → location-services-8mywswrd.js} +1 -1
  75. package/dist/chunks/{git-v0fadmm9.js → location-services-8tv5z6ak.js} +20 -20
  76. package/dist/chunks/{git-xw9fg8fb.js → location-services-8vcf4cwr.js} +2 -2
  77. package/dist/chunks/{git-6tqbt9db.js → location-services-8w495gk2.js} +30 -30
  78. package/dist/chunks/{git-ejb6r5n5.js → location-services-8x6et5k2.js} +18 -18
  79. package/dist/chunks/{git-32dg1e2h.js → location-services-901kmk8q.js} +5 -5
  80. package/dist/chunks/{git-0m03zc7j.js → location-services-93fm3gbt.js} +10 -10
  81. package/dist/chunks/{git-wqep6wv0.js → location-services-94kkzxgx.js} +16 -16
  82. package/dist/chunks/{git-fvtbw1ps.js → location-services-9fp16pdy.js} +29 -29
  83. package/dist/chunks/{git-vep09gcq.js → location-services-9tacn0cp.js} +2 -2
  84. package/dist/chunks/{git-9wev2pgg.js → location-services-9wev2pgg.js} +1 -1
  85. package/dist/chunks/{git-85qr6vt3.js → location-services-a005vqpx.js} +15 -15
  86. package/dist/chunks/{git-maywb9z2.js → location-services-a3q3y9rt.js} +66 -66
  87. package/dist/chunks/{git-eh0dtbcs.js → location-services-a8tjnvj7.js} +13 -13
  88. package/dist/chunks/{git-f1860mdz.js → location-services-ab2kwcfn.js} +26 -26
  89. package/dist/chunks/{git-x2xnwx9t.js → location-services-ab6c50h3.js} +8 -8
  90. package/dist/chunks/{git-k8n34jy8.js → location-services-ab9e2s4x.js} +4 -4
  91. package/dist/chunks/{git-pgt61v87.js → location-services-abrvfx35.js} +2 -2
  92. package/dist/chunks/{git-qdvvjbfp.js → location-services-aephkn6k.js} +15 -15
  93. package/dist/chunks/{git-034tev2y.js → location-services-aj7mw0zk.js} +2 -2
  94. package/dist/chunks/{git-ce72n6fj.js → location-services-att5kks1.js} +8 -8
  95. package/dist/chunks/{git-b11a7tx7.js → location-services-b11a7tx7.js} +1 -1
  96. package/dist/chunks/{git-0cah4r3x.js → location-services-b3tnvnaz.js} +35 -35
  97. package/dist/chunks/{git-hdhpzd46.js → location-services-b7nc7hzq.js} +28 -28
  98. package/dist/chunks/{git-ya38tq17.js → location-services-b80bbmhh.js} +3 -3
  99. package/dist/chunks/{git-ze22k4ya.js → location-services-b9aa7zc1.js} +25 -25
  100. package/dist/chunks/{git-7thw3n08.js → location-services-bd7fs2fx.js} +25 -25
  101. package/dist/chunks/{git-3tbr4qg5.js → location-services-bfb1bppm.js} +13 -13
  102. package/dist/chunks/{git-a8t88929.js → location-services-bfegkxfd.js} +8 -8
  103. package/dist/chunks/{git-bjx1sjef.js → location-services-bjx1sjef.js} +2 -2
  104. package/dist/chunks/{git-045nn9pc.js → location-services-bmr56wjg.js} +9 -9
  105. package/dist/chunks/{git-200cc897.js → location-services-bnq5h5jy.js} +11 -11
  106. package/dist/chunks/location-services-by5v678g.js +18 -0
  107. package/dist/chunks/{git-3zzpf6s7.js → location-services-c7hxxxyp.js} +2 -2
  108. package/dist/chunks/{git-3bshcq1y.js → location-services-c872py71.js} +4 -4
  109. package/dist/chunks/{git-x5h1z4jc.js → location-services-cdejsw9h.js} +15 -15
  110. package/dist/chunks/{git-tdspb0v5.js → location-services-ceazrv0b.js} +6 -6
  111. package/dist/chunks/{git-fdj2wyrs.js → location-services-cefvmvdc.js} +10 -10
  112. package/dist/chunks/{git-ngzhnc9a.js → location-services-ckrhfdrz.js} +21 -21
  113. package/dist/chunks/{git-cpneeje0.js → location-services-cwa6csj7.js} +9 -9
  114. package/dist/chunks/{git-fnkqbbf8.js → location-services-d84w7xe3.js} +12 -12
  115. package/dist/chunks/{git-7ww6rt9p.js → location-services-d8jvv0ec.js} +5 -5
  116. package/dist/chunks/{git-fvae25xa.js → location-services-dbr0n2s9.js} +4 -4
  117. package/dist/chunks/{git-dpkg50ah.js → location-services-dpkg50ah.js} +1 -1
  118. package/dist/chunks/{git-gj1rejx4.js → location-services-dsf21q6n.js} +9 -9
  119. package/dist/chunks/{git-z3qbvfgt.js → location-services-dwh1ha31.js} +16 -16
  120. package/dist/chunks/{git-3p22f2sh.js → location-services-e6pgmvxb.js} +12 -12
  121. package/dist/chunks/{git-eaj1djv9.js → location-services-eaj1djv9.js} +1 -1
  122. package/dist/chunks/{git-eej6y6fw.js → location-services-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{git-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{git-zgt9y5t0.js → location-services-ev77mj5m.js} +27 -27
  125. package/dist/chunks/{git-yh6fzqae.js → location-services-fbf8g5kf.js} +3 -3
  126. package/dist/chunks/{git-fcy631f0.js → location-services-fcy631f0.js} +1 -1
  127. package/dist/chunks/{git-gk2m5qpw.js → location-services-fj4gxrw2.js} +16 -16
  128. package/dist/chunks/{git-t7gdp873.js → location-services-fp3f2f8t.js} +9 -9
  129. package/dist/chunks/{git-p27t94xr.js → location-services-fq2jkmme.js} +19 -19
  130. package/dist/chunks/{git-n9g83tx9.js → location-services-fy4epkp0.js} +41 -41
  131. package/dist/chunks/{git-3bs3s307.js → location-services-g4ee7aey.js} +25 -25
  132. package/dist/chunks/{git-g6zeyhbf.js → location-services-g615vq9v.js} +30 -30
  133. package/dist/chunks/{git-x4a11yf2.js → location-services-g6c0b4zb.js} +8 -8
  134. package/dist/chunks/{git-mmkn5258.js → location-services-g7nb53qq.js} +26 -26
  135. package/dist/chunks/{git-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{git-azwe5p1w.js → location-services-gqtdsdt7.js} +4 -4
  137. package/dist/chunks/{git-zn7y4wfm.js → location-services-gsp86dr9.js} +11 -11
  138. package/dist/chunks/{git-c82keb0s.js → location-services-gwhf5a6z.js} +8 -8
  139. package/dist/chunks/{git-85p8adcg.js → location-services-gz8gzsy9.js} +9 -9
  140. package/dist/chunks/{git-brg3ghwg.js → location-services-h1nf48rm.js} +5 -5
  141. package/dist/chunks/{git-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{git-4v7ngy20.js → location-services-h9pnpq88.js} +4 -4
  143. package/dist/chunks/location-services-heve72wd.js +26 -0
  144. package/dist/chunks/{git-hgz4x7wa.js → location-services-hgz4x7wa.js} +1 -1
  145. package/dist/chunks/{git-as0rc94k.js → location-services-hjywnw43.js} +7 -7
  146. package/dist/chunks/{git-72c6mf2q.js → location-services-j08fv27e.js} +23 -23
  147. package/dist/chunks/{git-hdkgpk5r.js → location-services-jbkred46.js} +4 -4
  148. package/dist/chunks/{git-rm9a2m7z.js → location-services-je0gfh2d.js} +31 -31
  149. package/dist/chunks/{git-prxss26z.js → location-services-jgmw79v4.js} +14 -14
  150. package/dist/chunks/{git-sb84grnh.js → location-services-js8rgvhq.js} +15 -15
  151. package/dist/chunks/{git-qpa60a4m.js → location-services-jv4hjxw8.js} +24 -24
  152. package/dist/chunks/{git-8jktj0qw.js → location-services-jzq192br.js} +24 -24
  153. package/dist/chunks/{git-x19mcxm9.js → location-services-k8h17q08.js} +5 -5
  154. package/dist/chunks/{git-hkv9jwhg.js → location-services-kbmz40dk.js} +49 -49
  155. package/dist/chunks/{git-dhmh7aw6.js → location-services-kne8f3cn.js} +4 -4
  156. package/dist/chunks/{git-h63qpt9b.js → location-services-ktdjqnd1.js} +25 -25
  157. package/dist/chunks/{git-kwb1v3vj.js → location-services-kwb1v3vj.js} +1 -1
  158. package/dist/chunks/{git-vr1hykcj.js → location-services-m6kmrfrw.js} +11 -11
  159. package/dist/chunks/{git-0seqkkzs.js → location-services-m8kd83bm.js} +24 -24
  160. package/dist/chunks/{git-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  161. package/dist/chunks/{git-maspj1v3.js → location-services-maspj1v3.js} +1 -1
  162. package/dist/chunks/{git-h9hy2g73.js → location-services-mb8vr9cj.js} +26 -26
  163. package/dist/chunks/{git-59q5jpsh.js → location-services-mbpy8gz2.js} +11 -11
  164. package/dist/chunks/{git-nvcb2me1.js → location-services-mk935gd8.js} +9 -9
  165. package/dist/chunks/{git-1558q6r0.js → location-services-mps831tc.js} +23 -23
  166. package/dist/chunks/{git-wc27sy1k.js → location-services-mpswt61j.js} +1 -1
  167. package/dist/chunks/{git-q5hqqeac.js → location-services-msp5r5sf.js} +4 -4
  168. package/dist/chunks/{git-gk7yd4ff.js → location-services-mtq2s70z.js} +21 -21
  169. package/dist/chunks/{git-1nwxscpy.js → location-services-mtrbqqrq.js} +5 -5
  170. package/dist/chunks/{git-rkgn1fma.js → location-services-mwp52by7.js} +9 -9
  171. package/dist/chunks/{git-c8bydgjz.js → location-services-mx9vqzsb.js} +6 -6
  172. package/dist/chunks/{git-pjcyby8a.js → location-services-n5cj7qt8.js} +178 -178
  173. package/dist/chunks/{git-es2mt76j.js → location-services-nb7z5s00.js} +11 -11
  174. package/dist/chunks/{git-2m1b2gxc.js → location-services-ncdcg8ym.js} +10 -10
  175. package/dist/chunks/{git-dhjfm1wm.js → location-services-ns04qfja.js} +20 -20
  176. package/dist/chunks/{git-4w5b9j1r.js → location-services-nttmvpn0.js} +5 -5
  177. package/dist/chunks/{git-khmqacep.js → location-services-ny8edt06.js} +4 -4
  178. package/dist/chunks/{git-nccy3da8.js → location-services-p1f7nvnb.js} +14 -14
  179. package/dist/chunks/{git-5yzzbxa7.js → location-services-p37cw4rj.js} +8 -8
  180. package/dist/chunks/{git-dgzq35zb.js → location-services-p50c7myx.js} +3 -3
  181. package/dist/chunks/{git-w4ca3e8f.js → location-services-pbgy3jeb.js} +6 -6
  182. package/dist/chunks/{git-k0qjhrm4.js → location-services-pfnbvfbp.js} +11 -11
  183. package/dist/chunks/{git-2k71kv7p.js → location-services-ph842b28.js} +4 -4
  184. package/dist/chunks/{git-h45f43kn.js → location-services-phhza2ec.js} +45 -45
  185. package/dist/chunks/{git-v1vh7s4p.js → location-services-phz50fbd.js} +9 -9
  186. package/dist/chunks/{git-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  187. package/dist/chunks/{git-pknna89w.js → location-services-pknna89w.js} +1 -1
  188. package/dist/chunks/{git-cdsx0e8y.js → location-services-pnkecnsq.js} +11 -11
  189. package/dist/chunks/{git-prq7hedt.js → location-services-prq7hedt.js} +2 -2
  190. package/dist/chunks/{git-91m580gt.js → location-services-prtqdj8e.js} +26 -26
  191. package/dist/chunks/{git-pm2y453h.js → location-services-pvc4tenq.js} +27 -27
  192. package/dist/chunks/{git-w92k2e0p.js → location-services-py3kkmfq.js} +8 -8
  193. package/dist/chunks/{git-z935fmwk.js → location-services-pyf1mk06.js} +11 -11
  194. package/dist/chunks/{git-z0d2xsg0.js → location-services-q7ay129d.js} +21 -21
  195. package/dist/chunks/{git-ryr25ayn.js → location-services-qa3qhgw8.js} +4 -4
  196. package/dist/chunks/{git-9j60mqkr.js → location-services-qb6g4byk.js} +11 -11
  197. package/dist/chunks/{git-qgn6gcr1.js → location-services-qgn6gcr1.js} +1 -1
  198. package/dist/chunks/{git-r3wyhjqy.js → location-services-qnwy5h2c.js} +31 -31
  199. package/dist/chunks/{git-agncyf5y.js → location-services-qr2devjb.js} +10 -10
  200. package/dist/chunks/{git-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  201. package/dist/chunks/{git-sm06pc4g.js → location-services-qsq85gt0.js} +24 -24
  202. package/dist/chunks/{git-djkp474z.js → location-services-qtgdn27a.js} +45 -45
  203. package/dist/chunks/{git-5gygys90.js → location-services-qweynq2f.js} +10 -10
  204. package/dist/chunks/{git-bvq8t8gc.js → location-services-qzsbwb6r.js} +3 -3
  205. package/dist/chunks/{git-j6rfa7dw.js → location-services-r76apvw8.js} +5 -5
  206. package/dist/chunks/{git-9df7hht8.js → location-services-r7ph2g43.js} +19 -19
  207. package/dist/chunks/{git-jqrqgbm9.js → location-services-r83an1a4.js} +11 -11
  208. package/dist/chunks/{git-7e2qk7cj.js → location-services-rdjxbmw8.js} +8 -8
  209. package/dist/chunks/{git-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{git-605sfam9.js → location-services-refmyc5s.js} +13 -13
  211. package/dist/chunks/{git-3zpf0rnh.js → location-services-rgy2jfd3.js} +21 -21
  212. package/dist/chunks/{git-g814k5hs.js → location-services-rmn4ymwv.js} +43 -43
  213. package/dist/chunks/{git-d8pehzym.js → location-services-rp00hmj1.js} +28 -28
  214. package/dist/chunks/{git-078079dq.js → location-services-rqswvrbx.js} +13 -13
  215. package/dist/chunks/{git-f3rqa553.js → location-services-rsnz4mce.js} +4 -4
  216. package/dist/chunks/{git-6nrms7n5.js → location-services-s3bn8pnb.js} +12 -12
  217. package/dist/chunks/{git-k7myrtme.js → location-services-s93dsjvp.js} +9 -9
  218. package/dist/chunks/{git-4k7c3fdp.js → location-services-s9mj308b.js} +44 -44
  219. package/dist/chunks/{git-38g0rc9e.js → location-services-sce0r76x.js} +10 -10
  220. package/dist/chunks/{git-rtjqkxxy.js → location-services-sn7ae4fx.js} +50 -50
  221. package/dist/chunks/{git-xqk5648a.js → location-services-sqfcdnp8.js} +4 -4
  222. package/dist/chunks/{git-ekg02csz.js → location-services-sr2cw6sr.js} +23 -23
  223. package/dist/chunks/{git-syv4x271.js → location-services-syv4x271.js} +1 -1
  224. package/dist/chunks/{git-gngf0wfh.js → location-services-t0ypvbj9.js} +45 -45
  225. package/dist/chunks/{git-jn0tk1mz.js → location-services-t89fqycx.js} +8 -8
  226. package/dist/chunks/{git-ctkkzvg7.js → location-services-t90bkrms.js} +16 -16
  227. package/dist/chunks/{git-t95zrypp.js → location-services-t95zrypp.js} +5 -5
  228. package/dist/chunks/{git-7yap2ahf.js → location-services-ta5vcwm7.js} +6 -6
  229. package/dist/chunks/{git-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{git-r1rse4mj.js → location-services-tdmtwjby.js} +21 -21
  231. package/dist/chunks/{git-tdstcens.js → location-services-tdstcens.js} +1 -1
  232. package/dist/chunks/{git-svw6f5x1.js → location-services-tgzxd3nz.js} +4 -4
  233. package/dist/chunks/{git-mtj52ym5.js → location-services-thvf23q9.js} +7 -7
  234. package/dist/chunks/{git-rgzdvt91.js → location-services-tpz5m17e.js} +9 -9
  235. package/dist/chunks/{git-qyh37hhk.js → location-services-tqn5f9r5.js} +18 -18
  236. package/dist/chunks/{git-25yddszk.js → location-services-tt8gc4fv.js} +3 -3
  237. package/dist/chunks/{git-tyytaxap.js → location-services-tyytaxap.js} +1 -1
  238. package/dist/chunks/{git-nz56sr1f.js → location-services-v13b12ef.js} +5 -5
  239. package/dist/chunks/{git-cktnysrk.js → location-services-v59mmnsw.js} +19 -19
  240. package/dist/chunks/{git-k3bbdj91.js → location-services-v7m0eegx.js} +19 -19
  241. package/dist/chunks/{git-v7p4zvkq.js → location-services-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{git-ahfrvp8e.js → location-services-ve0qvqq2.js} +3 -3
  243. package/dist/chunks/{git-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  244. package/dist/chunks/{git-88gnhbh7.js → location-services-vmvqed80.js} +32 -32
  245. package/dist/chunks/{git-b45fb4vj.js → location-services-vq21qbas.js} +11 -11
  246. package/dist/chunks/{git-wgqskqg5.js → location-services-vq38cv8b.js} +24 -24
  247. package/dist/chunks/{git-mn5t5fa7.js → location-services-vq4bjjja.js} +20 -20
  248. package/dist/chunks/{git-7n6txb6t.js → location-services-vxdvegpm.js} +19 -19
  249. package/dist/chunks/{git-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{git-84txncab.js → location-services-w1eejvng.js} +5 -5
  251. package/dist/chunks/{git-tfzdz0jf.js → location-services-w3vmx8a3.js} +22 -22
  252. package/dist/chunks/{git-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{git-zn9kb932.js → location-services-w5gk0b9x.js} +12 -12
  254. package/dist/chunks/{git-jasvhrrp.js → location-services-w6gsjqg1.js} +12 -12
  255. package/dist/chunks/{git-dsx6a57s.js → location-services-w781e9nb.js} +16 -16
  256. package/dist/chunks/{git-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
  257. package/dist/chunks/{git-wd87259q.js → location-services-wd87259q.js} +1 -1
  258. package/dist/chunks/{git-m1ppqtea.js → location-services-wekbhf7m.js} +7 -7
  259. package/dist/chunks/{git-kjdm35cs.js → location-services-wh6zw745.js} +5 -5
  260. package/dist/chunks/{git-8d1x81hy.js → location-services-wmvrrzdb.js} +11 -11
  261. package/dist/chunks/location-services-wr4r473q.js +257 -0
  262. package/dist/chunks/{git-wdagq6eq.js → location-services-wrexxs0w.js} +32 -32
  263. package/dist/chunks/{git-eg99zdc0.js → location-services-wrw23k1g.js} +11 -11
  264. package/dist/chunks/{git-76e6tftv.js → location-services-ws2axpv0.js} +11 -11
  265. package/dist/chunks/{git-g7semt5k.js → location-services-wt4pa7qy.js} +12 -12
  266. package/dist/chunks/{git-pqjcpngk.js → location-services-wvn7t5zc.js} +17 -17
  267. package/dist/chunks/{git-kmt4h04r.js → location-services-xca0wffm.js} +17 -17
  268. package/dist/chunks/{git-j1v11s00.js → location-services-xdcgw6qa.js} +18 -18
  269. package/dist/chunks/{git-57b9ws8p.js → location-services-xfkkasph.js} +7 -7
  270. package/dist/chunks/{git-k4pq24kd.js → location-services-xqbe0668.js} +7 -7
  271. package/dist/chunks/{git-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{git-w6zk8pbt.js → location-services-y3wpwyaa.js} +6 -6
  273. package/dist/chunks/{git-hsms78xt.js → location-services-y5csa3j3.js} +13 -13
  274. package/dist/chunks/{git-gafq12ew.js → location-services-y8cf1a6a.js} +20 -20
  275. package/dist/chunks/{git-rnynx9aw.js → location-services-yczaeqpc.js} +22 -22
  276. package/dist/chunks/{git-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{git-z18fegx4.js → location-services-z18fegx4.js} +1 -1
  278. package/dist/chunks/{git-s7wzxfez.js → location-services-z8j40j6f.js} +27 -27
  279. package/dist/chunks/{git-kcve38p7.js → location-services-zaeg64zk.js} +27 -27
  280. package/dist/chunks/{git-1n6d85fv.js → location-services-zc84ckd0.js} +39 -39
  281. package/dist/chunks/{git-jfeqebap.js → location-services-zf38y6ad.js} +34 -34
  282. package/dist/chunks/{git-78gtrtbe.js → location-services-zj37rf1y.js} +3 -3
  283. package/dist/chunks/{git-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{git-8txfkpqn.js → location-services-zrrxdtn5.js} +38 -38
  285. package/dist/chunks/{git-dwfwpy83.js → location-services-zstyzkxy.js} +21 -21
  286. package/dist/chunks/{git-srmfrpqt.js → location-services-zvgnpb6z.js} +11 -11
  287. package/dist/chunks/{git-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +88 -88
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +85 -85
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +136 -136
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +104 -104
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +88 -88
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +121 -121
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +86 -86
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +103 -103
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +162 -162
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +126 -126
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +3 -3
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +163 -163
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +214 -214
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +218 -218
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +133 -133
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +120 -120
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +111 -111
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +12 -12
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +2 -2
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +90 -90
  677. package/dist/websearch.js +84 -84
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +8 -8
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +100 -100
  688. package/package.json +8 -8
  689. package/dist/chunks/git-4q29416s.js +0 -523
  690. package/dist/chunks/git-619r8v3y.js +0 -18
  691. package/dist/chunks/git-ay4dh4hp.js +0 -257
  692. package/dist/chunks/git-wb8h950a.js +0 -26
  693. /package/dist/chunks/{git-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{git-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{git-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{git-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{git-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{git-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{git-2bv980vf.js → location-services-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{git-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{git-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{git-3asan66x.js → location-services-3asan66x.js} +0 -0
  703. /package/dist/chunks/{git-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
  704. /package/dist/chunks/{git-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{git-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{git-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{git-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{git-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{git-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{git-53557ph1.js → location-services-53557ph1.js} +0 -0
  711. /package/dist/chunks/{git-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{git-5fjb7ams.js → location-services-5fjb7ams.js} +0 -0
  713. /package/dist/chunks/{git-6prwharc.js → location-services-6prwharc.js} +0 -0
  714. /package/dist/chunks/{git-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{git-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{git-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{git-822emrt2.js → location-services-822emrt2.js} +0 -0
  718. /package/dist/chunks/{git-84wd9syh.js → location-services-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{git-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{git-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{git-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{git-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{git-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{git-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{git-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{git-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{git-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{git-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{git-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{git-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{git-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{git-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{git-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{git-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{git-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{git-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{git-df08tz66.js → location-services-df08tz66.js} +0 -0
  738. /package/dist/chunks/{git-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{git-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{git-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{git-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{git-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{git-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{git-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{git-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{git-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{git-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{git-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{git-g86h250q.js → location-services-g86h250q.js} +0 -0
  750. /package/dist/chunks/{git-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{git-gftt206x.js → location-services-gftt206x.js} +0 -0
  752. /package/dist/chunks/{git-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{git-hk9envan.js → location-services-hk9envan.js} +0 -0
  754. /package/dist/chunks/{git-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{git-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{git-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{git-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{git-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{git-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{git-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{git-m18g726c.js → location-services-m18g726c.js} +0 -0
  762. /package/dist/chunks/{git-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{git-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{git-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{git-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{git-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{git-pkyv6v7h.js → location-services-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{git-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{git-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{git-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{git-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{git-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{git-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{git-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{git-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{git-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{git-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{git-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{git-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{git-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{git-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{git-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{git-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{git-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{git-x61499pn.js → location-services-x61499pn.js} +0 -0
  786. /package/dist/chunks/{git-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{git-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{git-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{git-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{git-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{git-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./git-ya38tq17.js";
4
+ } from "./location-services-b80bbmhh.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./git-hdkgpk5r.js";
8
+ } from "./location-services-jbkred46.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./git-pknna89w.js";
11
+ } from "./location-services-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./git-3zsf4n22.js";
14
+ } from "./location-services-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./git-9rqn6x4v.js";
17
+ } from "./location-services-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event16,
23
+ Event: () => Event13,
24
24
  External: () => External2,
25
- ID: () => ID14,
26
- Info: () => Info23,
25
+ ID: () => ID10,
26
+ Info: () => Info20,
27
27
  Key: () => Key3,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service73,
29
+ Service: () => Service63,
30
30
  Value: () => Value2,
31
- node: () => node77
31
+ node: () => node65
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
36
36
  import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
- var ID14 = Credential.ID;
39
+ var ID10 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
41
  var Key3 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
- var Event16 = Credential.Event;
44
+ var Event13 = Credential.Event;
45
45
 
46
- class Info23 extends Schema.Class("Credential.Info")({
47
- id: ID14,
46
+ class Info20 extends Schema.Class("Credential.Info")({
47
+ id: ID10,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service73 extends Context.Service()("@opencode/Credential") {
54
+ class Service63 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service73, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
57
57
  const db = (yield* Service86).db;
58
58
  const bus = yield* Service85;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info23({
63
+ return new Info20({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service73.of({
74
+ return Service63.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info23({
83
- id: input.id ?? ID14.create(),
82
+ const credential = new Info20({
83
+ id: input.id ?? ID10.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
111
111
  type: credential.value.type,
112
112
  active: activated
113
113
  });
114
- yield* bus.publish(Event16.Updated, {}, { global: true });
114
+ yield* bus.publish(Event13.Updated, {}, { global: true });
115
115
  if (activated)
116
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
+ yield* bus.publish(Event13.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
117
117
  return credential;
118
118
  }),
119
119
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
133
133
  })), Effect.orDie);
134
134
  if (integrationID) {
135
135
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
136
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
136
+ yield* bus.publish(Event13.Switched, { integrationID, credentialID: id }, { global: true });
137
137
  }
138
138
  }),
139
139
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
165
165
  labelChanged: updates.label !== undefined && updates.label !== credential.label
166
166
  });
167
167
  if (updates.label !== undefined && updates.label !== credential.label)
168
- yield* bus.publish(Event16.Updated, {}, { global: true });
168
+ yield* bus.publish(Event13.Updated, {}, { global: true });
169
169
  }),
170
170
  remove: Effect.fn("Credential.remove")(function* (id) {
171
171
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
198
198
  active: removed.switched,
199
199
  ...removed.switched ? { replacementID: removed.credentialID } : {}
200
200
  });
201
- yield* bus.publish(Event16.Updated, {}, { global: true });
201
+ yield* bus.publish(Event13.Updated, {}, { global: true });
202
202
  if (removed.switched)
203
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
+ yield* bus.publish(Event13.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
204
204
  })
205
205
  });
206
206
  }));
207
- var node77 = makeGlobalNode({ service: Service73, layer, deps: [node90, node89] });
207
+ var node65 = makeGlobalNode({ service: Service63, layer, deps: [node90, node89] });
208
208
 
209
- export { ID14, OAuth3, Key3, External2, Value2, Event16, Info23, Service73, node77, exports_credential };
209
+ export { ID10, OAuth3, Key3, External2, Value2, Event13, Info20, Service63, node65, exports_credential };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-z5v4ffb3.js";
3
+ } from "./location-services-z5v4ffb3.js";
4
4
  import {
5
5
  node87
6
- } from "./git-t95zrypp.js";
6
+ } from "./location-services-t95zrypp.js";
7
7
  import {
8
8
  Service81,
9
9
  node85
10
- } from "./git-7ww6rt9p.js";
10
+ } from "./location-services-d8jvv0ec.js";
11
11
  import {
12
12
  create3
13
- } from "./git-rdw6cm16.js";
13
+ } from "./location-services-rdw6cm16.js";
14
14
  import {
15
15
  make12
16
- } from "./git-0vzwrjx3.js";
16
+ } from "./location-services-0vzwrjx3.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./location-services-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service15,
24
+ Service: () => Service23,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node18
26
+ node: () => node26
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,9 +31,9 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service15 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service23 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service15, Effect.gen(function* () {
36
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
37
37
  const location = yield* Service81;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make12;
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service15.of({ ...state, directory: location.directory });
58
+ return Service23.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node18 = makeLocationNode({
61
- service: Service15,
60
+ var node26 = makeLocationNode({
61
+ service: Service23,
62
62
  layer,
63
63
  deps: [node85, Global.node, node87, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service15, node18, exports_strategies };
66
+ export { Service23, node26, exports_strategies };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./git-dpkg50ah.js";
3
+ } from "./location-services-dpkg50ah.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./git-hdkgpk5r.js";
7
+ } from "./location-services-jbkred46.js";
8
8
  import {
9
- Event16,
10
- Service73,
11
- node77
12
- } from "./git-dr294h6q.js";
9
+ Event13,
10
+ Service63,
11
+ node65
12
+ } from "./location-services-3rmyxsge.js";
13
13
  import {
14
14
  Service81,
15
15
  node85
16
- } from "./git-7ww6rt9p.js";
16
+ } from "./location-services-d8jvv0ec.js";
17
17
  import {
18
- Service63,
19
- node66
20
- } from "./git-r1rse4mj.js";
18
+ Service79,
19
+ node82
20
+ } from "./location-services-tdmtwjby.js";
21
21
  import {
22
- ID13,
23
- Service72,
24
- node76
25
- } from "./git-f1860mdz.js";
22
+ ID11,
23
+ Service64,
24
+ node66
25
+ } from "./location-services-ab2kwcfn.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./git-rdw6cm16.js";
29
+ } from "./location-services-rdw6cm16.js";
30
30
  import {
31
- ID12,
31
+ ID9,
32
32
  MethodID2,
33
- Service71,
34
- node75
35
- } from "./git-h9hy2g73.js";
33
+ Service62,
34
+ node64
35
+ } from "./location-services-mb8vr9cj.js";
36
36
  import {
37
37
  __export
38
- } from "./git-9rqn6x4v.js";
38
+ } from "./location-services-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
44
+ NotFoundError: () => NotFoundError4,
45
45
  Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service33,
52
+ Service: () => Service38,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured4,
56
56
  layer: () => layer15,
57
- node: () => node37
57
+ node: () => node41
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service33 extends Context.Service()("@opencode/MCP") {
106
+ class Service38 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
108
  var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
114
+ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
115
115
  const location = yield* Service81;
116
- const environment = yield* Service63;
116
+ const environment = yield* Service79;
117
117
  const bus = yield* Service85;
118
- const forms = yield* Service72;
119
- const integration = yield* Service71;
120
- const credentials = yield* Service73;
118
+ const forms = yield* Service64;
119
+ const integration = yield* Service62;
120
+ const credentials = yield* Service63;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID12.make(suffix);
132
+ const integrationID = ID9.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service63, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError3({ server: name });
157
+ return yield* new NotFoundError4({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service63, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID13.create();
169
+ const formID = ID11.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service79, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service33.of({
423
+ return Service38.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
532
532
  }
533
533
  function configured4(options) {
534
534
  return makeLocationNode({
535
- service: Service33,
535
+ service: Service38,
536
536
  layer: layer15(options),
537
- deps: [node85, node66, node89, node76, node75, node77]
537
+ deps: [node85, node82, node89, node66, node64, node65]
538
538
  });
539
539
  }
540
- var node37 = configured4();
540
+ var node41 = configured4();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service33, Options4, layer15, configured4, node37, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options4, layer15, configured4, node41, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./git-hdkgpk5r.js";
4
+ } from "./location-services-jbkred46.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./git-7ww6rt9p.js";
8
+ } from "./location-services-d8jvv0ec.js";
9
9
  import {
10
- ID18,
11
- Service84,
12
- node88
13
- } from "./git-ngzhnc9a.js";
10
+ ID15,
11
+ Service71,
12
+ node74
13
+ } from "./location-services-ckrhfdrz.js";
14
14
  import {
15
- NotFoundError6
16
- } from "./git-cv4k33jc.js";
15
+ NotFoundError10
16
+ } from "./location-services-8c0f7nfv.js";
17
17
  import {
18
- Service53,
19
- node55
20
- } from "./git-dsx6a57s.js";
18
+ Service69,
19
+ node72
20
+ } from "./location-services-w781e9nb.js";
21
21
  import {
22
22
  match2
23
- } from "./git-y1fvbwt7.js";
23
+ } from "./location-services-y1fvbwt7.js";
24
24
  import {
25
- Service54,
26
- node56
27
- } from "./git-6ar8hrwm.js";
25
+ Service68,
26
+ node71
27
+ } from "./location-services-0b92t0px.js";
28
28
  import {
29
- Service59,
30
- node62
31
- } from "./git-3a83a0n4.js";
29
+ Service70,
30
+ node73
31
+ } from "./location-services-73kdj4zj.js";
32
32
  import {
33
33
  __export
34
- } from "./git-9rqn6x4v.js";
34
+ } from "./location-services-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event9,
46
- ID: () => ID5,
47
- NotFoundError: () => NotFoundError5,
48
- Permission: () => exports_permission,
49
- Reply: () => Reply2,
45
+ Event: () => Event15,
46
+ ID: () => ID12,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
52
- Rule: () => Rule2,
51
+ Request: () => Request3,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service52,
55
- Source: () => Source5,
54
+ Service: () => Service67,
55
+ Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node54
58
+ node: () => node70
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event9 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event15 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID5 = Permission.ID;
68
- var Source5 = Permission.Source;
67
+ var ID12 = Permission.ID;
68
+ var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID5.pipe(Schema.optional),
80
+ id: ID12.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID18.pipe(Schema.optional)
82
+ agent: ID15.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID5,
86
- reply: Reply2,
85
+ requestID: ID12,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID5,
90
+ id: ID12,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID5
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID12
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service52 extends Context.Service()("@opencode/Permission") {
128
+ class Service67 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service52, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
131
131
  const bus = yield* Service85;
132
132
  const location = yield* Service81;
133
- const agents = yield* Service84;
134
- const sessions = yield* Service53;
135
- const saved = yield* Service54;
136
- const hooks = yield* Service59;
133
+ const agents = yield* Service71;
134
+ const sessions = yield* Service69;
135
+ const saved = yield* Service68;
136
+ const hooks = yield* Service70;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError6({ sessionID });
159
+ return yield* new NotFoundError10({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID5.create(),
189
+ id: input.id ?? ID12.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID5.create(), effect: "deny" };
214
+ return { id: input.id ?? ID12.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError5({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service52.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service67.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node54 = makeLocationNode({
303
- service: Service52,
302
+ var node70 = makeLocationNode({
303
+ service: Service67,
304
304
  layer,
305
- deps: [node89, node85, node88, node55, node56, node62]
305
+ deps: [node89, node85, node74, node72, node71, node73]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID5, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service52, node54, exports_permission, Rule2, Ruleset2, Event9 };
308
+ export { PermissionEffect, ID12, Source4, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service67, node70, exports_permission2, Rule3, Ruleset2, Event15 };