@opencode/core 0.0.0-dev-19752 → 0.0.0-dev-19754

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 +70 -70
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{permission-jg4d40sv.js → location-05ygg3qe.js} +4 -4
  8. package/dist/chunks/{permission-k8ywm71w.js → location-08f3efvy.js} +4 -4
  9. package/dist/chunks/{permission-kg2nghf4.js → location-0dx2y7e9.js} +39 -39
  10. package/dist/chunks/{permission-23pqda6t.js → location-0ft9cg2j.js} +4 -4
  11. package/dist/chunks/{permission-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{permission-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{permission-vdqc3ek9.js → location-19hqpwt2.js} +32 -32
  14. package/dist/chunks/{permission-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{permission-ansdn0ap.js → location-1e0grdj1.js} +4 -4
  16. package/dist/chunks/{permission-chnssm7d.js → location-1k5x2qhk.js} +23 -23
  17. package/dist/chunks/{permission-8dvk0psf.js → location-1ttp1ytm.js} +7 -7
  18. package/dist/chunks/{permission-21r38tys.js → location-21r38tys.js} +1 -1
  19. package/dist/chunks/{permission-2402vzrj.js → location-2402vzrj.js} +1 -1
  20. package/dist/chunks/{permission-26k5bknw.js → location-26k5bknw.js} +1 -1
  21. package/dist/chunks/{permission-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{permission-5c3cp9w0.js → location-2a6t769v.js} +27 -27
  23. package/dist/chunks/{permission-hryqx6np.js → location-2cxfa0dv.js} +32 -32
  24. package/dist/chunks/{permission-8bs1297p.js → location-2pjqnemj.js} +17 -17
  25. package/dist/chunks/{permission-p59p7628.js → location-2qfd01hw.js} +49 -49
  26. package/dist/chunks/{permission-mfqp6xfm.js → location-33w4ejhs.js} +9 -9
  27. package/dist/chunks/{permission-sxhe0pgm.js → location-3dgv3hjd.js} +41 -41
  28. package/dist/chunks/{permission-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{permission-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{permission-3bh2hs5e.js → location-3jvz8kdw.js} +15 -15
  31. package/dist/chunks/{permission-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{permission-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  33. package/dist/chunks/{permission-tz2bjj40.js → location-3w0fmcng.js} +5 -5
  34. package/dist/chunks/{permission-xgwdmr5b.js → location-40rqm2bh.js} +4 -4
  35. package/dist/chunks/{permission-6bz791bh.js → location-42htsy3g.js} +53 -53
  36. package/dist/chunks/{permission-nzyhnfxz.js → location-44h5tttr.js} +4 -4
  37. package/dist/chunks/{permission-08nwsgbb.js → location-470p2a86.js} +11 -11
  38. package/dist/chunks/{permission-ercqhjnk.js → location-4a5qb9ne.js} +23 -23
  39. package/dist/chunks/{permission-n7embg6n.js → location-4cc1h1mq.js} +3 -3
  40. package/dist/chunks/{permission-p9b684vp.js → location-4dhnehv0.js} +28 -28
  41. package/dist/chunks/{permission-d5zc4w5k.js → location-4pegme4e.js} +44 -44
  42. package/dist/chunks/{permission-ndpqedqn.js → location-4qzjx893.js} +6 -6
  43. package/dist/chunks/{permission-4583akqq.js → location-4s40p9k7.js} +30 -30
  44. package/dist/chunks/{permission-wm68x9x4.js → location-4t1cgb8z.js} +9 -9
  45. package/dist/chunks/{permission-cyat2y1a.js → location-4ymr1qre.js} +3 -3
  46. package/dist/chunks/{permission-ws29f804.js → location-4zrmry1a.js} +11 -11
  47. package/dist/chunks/{permission-f9shwvv0.js → location-50pydq1b.js} +5 -5
  48. package/dist/chunks/{permission-v0thav0a.js → location-53we3s11.js} +19 -19
  49. package/dist/chunks/{permission-4vyg6ytn.js → location-54btsc2b.js} +20 -20
  50. package/dist/chunks/{permission-57ez7d0k.js → location-57ez7d0k.js} +2 -2
  51. package/dist/chunks/{permission-8bqq15hz.js → location-5895fefb.js} +6 -6
  52. package/dist/chunks/{permission-1h066dv5.js → location-58je2fax.js} +11 -11
  53. package/dist/chunks/{permission-4d3d5dnh.js → location-59k38er6.js} +30 -30
  54. package/dist/chunks/{permission-1xgrsnxm.js → location-59t0awad.js} +13 -13
  55. package/dist/chunks/{permission-5daktx2q.js → location-5daktx2q.js} +1 -1
  56. package/dist/chunks/{permission-qtxdprvc.js → location-5djjmt2r.js} +5 -5
  57. package/dist/chunks/{permission-knta4rdt.js → location-5ncvss9b.js} +22 -22
  58. package/dist/chunks/{permission-864agyax.js → location-5rj11cww.js} +5 -5
  59. package/dist/chunks/{permission-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{permission-p37cw4rj.js → location-5yzzbxa7.js} +8 -8
  61. package/dist/chunks/{permission-r1xk49fk.js → location-60txwd5f.js} +9 -9
  62. package/dist/chunks/location-619r8v3y.js +18 -0
  63. package/dist/chunks/{permission-669tq793.js → location-669tq793.js} +1 -1
  64. package/dist/chunks/{permission-gbrtfntv.js → location-6kqg9tnj.js} +65 -65
  65. package/dist/chunks/{permission-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{permission-jswts1sh.js → location-6qr3rp4k.js} +6 -6
  67. package/dist/chunks/{permission-06fcmjmr.js → location-6r44w5n7.js} +23 -23
  68. package/dist/chunks/{permission-88e6yazr.js → location-6r7eqvte.js} +32 -32
  69. package/dist/chunks/location-6rph4hcx.js +49 -0
  70. package/dist/chunks/{permission-edrwpyyk.js → location-6rr5h8pv.js} +45 -45
  71. package/dist/chunks/{permission-xdx01fwx.js → location-6vfz26fc.js} +5 -5
  72. package/dist/chunks/{permission-ta7nbbm7.js → location-6znat1zd.js} +9 -9
  73. package/dist/chunks/{permission-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{permission-tpxv5eqt.js → location-7d5kf786.js} +3 -3
  75. package/dist/chunks/{permission-szmwe7ed.js → location-7ehep04d.js} +10 -10
  76. package/dist/chunks/{permission-79612mke.js → location-7k4e5m1f.js} +19 -19
  77. package/dist/chunks/{permission-bgn3krwm.js → location-7kkf9gtp.js} +11 -11
  78. package/dist/chunks/{permission-q5f78nfd.js → location-7zff5f2w.js} +22 -22
  79. package/dist/chunks/{permission-1bv3n07a.js → location-8215kpvq.js} +87 -87
  80. package/dist/chunks/{permission-gcs74jzx.js → location-82h62x3b.js} +32 -32
  81. package/dist/chunks/{permission-q58mka6k.js → location-880p7epb.js} +9 -9
  82. package/dist/chunks/{permission-yenmzpw4.js → location-8b5x2rym.js} +7 -7
  83. package/dist/chunks/{permission-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{permission-8p4f9s12.js → location-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{permission-we894vxs.js → location-8yt4q9vr.js} +25 -25
  86. package/dist/chunks/{permission-kqqbj3xh.js → location-92pdxfkb.js} +15 -15
  87. package/dist/chunks/{permission-xfc78b52.js → location-98s8e1rw.js} +8 -8
  88. package/dist/chunks/{permission-0f0m4yww.js → location-9b3vnfxp.js} +11 -11
  89. package/dist/chunks/{permission-zj09a0ew.js → location-9h41vc4j.js} +4 -4
  90. package/dist/chunks/{permission-vqzqm7px.js → location-9k0trt10.js} +11 -11
  91. package/dist/chunks/{permission-gmpwfzd7.js → location-9mnrwx6c.js} +19 -19
  92. package/dist/chunks/{permission-edfdbxqm.js → location-9p3nq51p.js} +28 -28
  93. package/dist/chunks/{permission-7jd8f7y6.js → location-9x1ezptv.js} +34 -34
  94. package/dist/chunks/{permission-yyxpaty5.js → location-9yh9j0es.js} +15 -15
  95. package/dist/chunks/{permission-0m35hzsx.js → location-9zyewfa2.js} +304 -304
  96. package/dist/chunks/{permission-a1bz86dw.js → location-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{permission-qa9q1t1p.js → location-a6akvax8.js} +22 -22
  98. package/dist/chunks/location-a88bzxj7.js +252 -0
  99. package/dist/chunks/{permission-vwa7vyvt.js → location-a8daz2nm.js} +19 -19
  100. package/dist/chunks/{permission-aaet6srn.js → location-aaet6srn.js} +2 -2
  101. package/dist/chunks/{permission-30jnt07w.js → location-ae9xvxm4.js} +29 -29
  102. package/dist/chunks/{permission-7kgrp11a.js → location-aq2hhbb5.js} +10 -10
  103. package/dist/chunks/{permission-r625ap1a.js → location-azx4vnej.js} +18 -18
  104. package/dist/chunks/{permission-f2k13p5x.js → location-b1a82khe.js} +12 -12
  105. package/dist/chunks/{permission-9x1e5yw6.js → location-b54zk12g.js} +22 -22
  106. package/dist/chunks/{permission-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{permission-b97cbvw3.js → location-b97cbvw3.js} +1 -1
  108. package/dist/chunks/{permission-j34zbph1.js → location-b9y9tgv9.js} +13 -13
  109. package/dist/chunks/{permission-mty4n9q8.js → location-bdsqc29r.js} +24 -24
  110. package/dist/chunks/{permission-bha4atvq.js → location-bha4atvq.js} +4 -4
  111. package/dist/chunks/{permission-d1mtykxg.js → location-bw9zjykr.js} +6 -6
  112. package/dist/chunks/{permission-brxst1wj.js → location-bx7pdy00.js} +11 -11
  113. package/dist/chunks/{permission-2v8rms1t.js → location-c0g1hmz8.js} +16 -16
  114. package/dist/chunks/{permission-zcqjyxv6.js → location-c0g79gjn.js} +15 -15
  115. package/dist/chunks/{permission-9g3kc011.js → location-c488s98d.js} +12 -12
  116. package/dist/chunks/{permission-g190xswt.js → location-cavr175a.js} +4 -4
  117. package/dist/chunks/{permission-5b7y9z58.js → location-ccc8z42m.js} +7 -7
  118. package/dist/chunks/{permission-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{permission-mcppnc3p.js → location-cpwynne0.js} +21 -21
  120. package/dist/chunks/{permission-fqhbsnr5.js → location-cq9vh2fv.js} +8 -8
  121. package/dist/chunks/{permission-24r19mz0.js → location-cv9se371.js} +13 -13
  122. package/dist/chunks/{permission-2sejkfem.js → location-cwa6csj7.js} +9 -9
  123. package/dist/chunks/{permission-8s8nckee.js → location-cxgtjqh0.js} +4 -4
  124. package/dist/chunks/{permission-4cv5ez35.js → location-cxp0yhm4.js} +30 -30
  125. package/dist/chunks/{permission-2hwxdyne.js → location-d1x6gan2.js} +8 -8
  126. package/dist/chunks/{permission-7d4tbxj8.js → location-d7b05d6k.js} +40 -40
  127. package/dist/chunks/{permission-twbrtgyh.js → location-dcse214k.js} +6 -6
  128. package/dist/chunks/{permission-hf5dqg4e.js → location-degw2fzn.js} +14 -14
  129. package/dist/chunks/{permission-kfg3zc9e.js → location-dfw05mcb.js} +23 -23
  130. package/dist/chunks/{permission-dnkva13v.js → location-dhxed570.js} +17 -17
  131. package/dist/chunks/{permission-fq6rvpa6.js → location-dk38q76h.js} +5 -5
  132. package/dist/chunks/{permission-qqeeq2t9.js → location-drwq78ky.js} +7 -7
  133. package/dist/chunks/{permission-n13xy5gs.js → location-e2f1r03f.js} +30 -30
  134. package/dist/chunks/{permission-3q18vfkb.js → location-e4s5wsx0.js} +26 -26
  135. package/dist/chunks/{permission-eaj1djv9.js → location-eaj1djv9.js} +1 -1
  136. package/dist/chunks/{permission-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{permission-213jg20d.js → location-efbgs6vz.js} +29 -29
  138. package/dist/chunks/{permission-0jp8a8rx.js → location-eg1gpj3a.js} +13 -13
  139. package/dist/chunks/{permission-mpvkt5wd.js → location-ej65p0rp.js} +18 -18
  140. package/dist/chunks/{permission-erw5rpbs.js → location-erw5rpbs.js} +2 -2
  141. package/dist/chunks/{permission-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{permission-b606z3x6.js → location-f2dc96r8.js} +6 -6
  143. package/dist/chunks/{permission-j6qe3921.js → location-f5fjq72r.js} +27 -27
  144. package/dist/chunks/{permission-zrefyrxc.js → location-f6jdw9wk.js} +18 -18
  145. package/dist/chunks/{permission-f828m53h.js → location-f828m53h.js} +2 -2
  146. package/dist/chunks/{permission-xeb4646h.js → location-fbawcmnd.js} +8 -8
  147. package/dist/chunks/{permission-8zets213.js → location-fexw5mvn.js} +9 -9
  148. package/dist/chunks/{permission-nq7qbqzc.js → location-fhs97t90.js} +9 -9
  149. package/dist/chunks/{permission-25fxnrt3.js → location-fn5vdp5m.js} +81 -81
  150. package/dist/chunks/{permission-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{permission-7v0nq500.js → location-g17wn8cw.js} +12 -12
  152. package/dist/chunks/{permission-q8ym26hm.js → location-g4damz2s.js} +13 -13
  153. package/dist/chunks/{permission-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{permission-wbkyxrgf.js → location-gg7pg1rj.js} +5 -5
  155. package/dist/chunks/{permission-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{permission-bzmhxfjk.js → location-gwvxqpv7.js} +18 -18
  157. package/dist/chunks/{permission-mx6ms3qb.js → location-gyve3rq7.js} +5 -5
  158. package/dist/chunks/{permission-p37t57k6.js → location-h13g856r.js} +27 -27
  159. package/dist/chunks/{permission-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{permission-jm67vx9f.js → location-hbmxcjqj.js} +40 -40
  161. package/dist/chunks/{permission-h5r4kkc1.js → location-hmp1x13k.js} +2 -2
  162. package/dist/chunks/{permission-4ppk3asj.js → location-hn0f0zdj.js} +15 -15
  163. package/dist/chunks/{permission-zbh0y81c.js → location-htnsynwp.js} +11 -11
  164. package/dist/chunks/{permission-hfn2zrgx.js → location-hyrejdvv.js} +1 -1
  165. package/dist/chunks/{permission-j56e64zr.js → location-j56e64zr.js} +1 -1
  166. package/dist/chunks/{permission-80yzywcg.js → location-jdjpygpn.js} +1 -1
  167. package/dist/chunks/{permission-j8za9eer.js → location-jn3dn3tv.js} +7 -7
  168. package/dist/chunks/{permission-mz4kmcba.js → location-jp0yz35h.js} +13 -13
  169. package/dist/chunks/{permission-tevt2hwp.js → location-jv1xxs7q.js} +9 -9
  170. package/dist/chunks/{permission-6mtv4z71.js → location-jvbe9kz0.js} +33 -33
  171. package/dist/chunks/{permission-h45bvytj.js → location-jw0h1ja3.js} +26 -26
  172. package/dist/chunks/{permission-mmr7bq34.js → location-knb7evpn.js} +8 -8
  173. package/dist/chunks/{permission-hn824591.js → location-kxz8htra.js} +31 -31
  174. package/dist/chunks/{permission-a89e0tac.js → location-m0r31qfn.js} +4 -4
  175. package/dist/chunks/{permission-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{permission-azfk5se2.js → location-m479avaq.js} +5 -5
  177. package/dist/chunks/{permission-k5ts2t60.js → location-m4fv4r77.js} +18 -18
  178. package/dist/chunks/{permission-8ep974pt.js → location-m7j0w58y.js} +8 -8
  179. package/dist/chunks/{permission-zbwdxxkq.js → location-m81yw74a.js} +3 -3
  180. package/dist/chunks/{permission-mzx6x42j.js → location-m9g140gf.js} +4 -4
  181. package/dist/chunks/{permission-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{permission-91qjg98b.js → location-mamkxpqt.js} +16 -16
  183. package/dist/chunks/{permission-kbww7b3v.js → location-mfq58xys.js} +7 -7
  184. package/dist/chunks/{permission-mhkvc446.js → location-mhkvc446.js} +1 -1
  185. package/dist/chunks/{permission-v5c5r86a.js → location-my3nbca3.js} +5 -5
  186. package/dist/chunks/{permission-tar81kad.js → location-n4kesxxz.js} +14 -14
  187. package/dist/chunks/{permission-f51r30n0.js → location-n6151p29.js} +12 -12
  188. package/dist/chunks/{permission-tpdj9sck.js → location-n6v1p1rv.js} +8 -8
  189. package/dist/chunks/{permission-waa9wdep.js → location-ndqtf2h8.js} +6 -6
  190. package/dist/chunks/{permission-fgr5gamk.js → location-nfw2844t.js} +25 -25
  191. package/dist/chunks/{permission-njhqdk9p.js → location-njhqdk9p.js} +2 -2
  192. package/dist/chunks/{permission-8ykvs595.js → location-npajmshb.js} +10 -10
  193. package/dist/chunks/{permission-31gr8g3y.js → location-nqq83r9p.js} +54 -54
  194. package/dist/chunks/{permission-b3b41yj6.js → location-nw2grrtp.js} +33 -33
  195. package/dist/chunks/{permission-k3c624dm.js → location-nzks3jc8.js} +3 -3
  196. package/dist/chunks/{permission-p28j5sbe.js → location-p28j5sbe.js} +2 -2
  197. package/dist/chunks/{permission-73zhznt1.js → location-p5sk6m23.js} +32 -32
  198. package/dist/chunks/{permission-2dae59jt.js → location-p9xqg7t9.js} +9 -9
  199. package/dist/chunks/{permission-859rv9k1.js → location-pd9nn3ne.js} +17 -17
  200. package/dist/chunks/{permission-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{permission-pknna89w.js → location-pknna89w.js} +1 -1
  202. package/dist/chunks/{permission-31tr2586.js → location-praqn373.js} +9 -9
  203. package/dist/chunks/location-pzkt74ah.js +26 -0
  204. package/dist/chunks/{permission-5ywdhybg.js → location-q31adfz8.js} +13 -13
  205. package/dist/chunks/{permission-zq6stcrg.js → location-q8peyv7x.js} +8 -8
  206. package/dist/chunks/{permission-ffpbn0sw.js → location-qfx54062.js} +11 -11
  207. package/dist/chunks/{permission-qgn6gcr1.js → location-qgn6gcr1.js} +1 -1
  208. package/dist/chunks/{permission-qsdy395h.js → location-qsdy395h.js} +1 -1
  209. package/dist/chunks/{permission-59wg76sz.js → location-qx8pr09x.js} +3 -3
  210. package/dist/chunks/{permission-n46gggy7.js → location-r312qztd.js} +27 -27
  211. package/dist/chunks/{permission-5g9k75kb.js → location-r86jh9fw.js} +27 -27
  212. package/dist/chunks/{permission-f2n192rq.js → location-r8xr0va3.js} +4 -4
  213. package/dist/chunks/{permission-0n68sp88.js → location-rb3ck9sj.js} +8 -8
  214. package/dist/chunks/{permission-90wkmbmj.js → location-rcnj0rme.js} +33 -33
  215. package/dist/chunks/{permission-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{permission-3hvmy9kc.js → location-rny3dqzs.js} +11 -11
  217. package/dist/chunks/{permission-4pjf94tq.js → location-s4t99ejd.js} +11 -11
  218. package/dist/chunks/{permission-6yxz03bh.js → location-s5g2gr5j.js} +11 -11
  219. package/dist/chunks/{permission-xv2yt9n7.js → location-s7dp56a3.js} +47 -47
  220. package/dist/chunks/{permission-v2q51gh1.js → location-s7j02z9m.js} +9 -9
  221. package/dist/chunks/{permission-a1a50ys5.js → location-s8zy8myc.js} +5 -5
  222. package/dist/chunks/{permission-4ata613a.js → location-sdep53ed.js} +16 -16
  223. package/dist/chunks/{permission-3sc7hnrh.js → location-skgxmk24.js} +28 -28
  224. package/dist/chunks/{permission-ad87akya.js → location-sztr4n2w.js} +20 -20
  225. package/dist/chunks/{permission-9jdpata9.js → location-t3aez6g2.js} +19 -19
  226. package/dist/chunks/{permission-cykfqhbf.js → location-t4267b90.js} +4 -4
  227. package/dist/chunks/{permission-md2fxt01.js → location-t4qbbbps.js} +19 -19
  228. package/dist/chunks/{permission-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{permission-z0xds83t.js → location-tbc1560d.js} +33 -33
  230. package/dist/chunks/{permission-89znhe33.js → location-tcezcvh9.js} +4 -4
  231. package/dist/chunks/{permission-tdstcens.js → location-tdstcens.js} +1 -1
  232. package/dist/chunks/{permission-516er5bv.js → location-tjnkxtjb.js} +162 -162
  233. package/dist/chunks/{permission-sxz6gkc3.js → location-tkmwgdpd.js} +4 -4
  234. package/dist/chunks/{permission-0d8h0w63.js → location-tknq6q93.js} +20 -20
  235. package/dist/chunks/{permission-p0b2zqjw.js → location-tr0b1em8.js} +9 -9
  236. package/dist/chunks/{permission-wg07ty1b.js → location-tr98cyyj.js} +33 -33
  237. package/dist/chunks/{permission-tvtrv512.js → location-tvtrv512.js} +1 -1
  238. package/dist/chunks/{permission-thjxzeng.js → location-tx9w5tca.js} +8 -8
  239. package/dist/chunks/{permission-veqvce7d.js → location-veqvce7d.js} +1 -1
  240. package/dist/chunks/{permission-p142c46b.js → location-vj505gsk.js} +19 -19
  241. package/dist/chunks/{permission-vmgq4x8b.js → location-vmgq4x8b.js} +2 -2
  242. package/dist/chunks/{permission-vmwh049b.js → location-vmwh049b.js} +3 -3
  243. package/dist/chunks/{permission-gjyfhpwg.js → location-vn7akvp0.js} +18 -18
  244. package/dist/chunks/{permission-j83byb14.js → location-vncycja5.js} +4 -4
  245. package/dist/chunks/{permission-x6h4pr1d.js → location-vtqj2nn1.js} +33 -33
  246. package/dist/chunks/{permission-arv089yb.js → location-vtt21ede.js} +10 -10
  247. package/dist/chunks/{permission-vqhvjsk9.js → location-vx82sa08.js} +16 -16
  248. package/dist/chunks/{permission-75vmkchq.js → location-vyyew2bd.js} +24 -24
  249. package/dist/chunks/{permission-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{permission-t78cchjs.js → location-w1nh38jn.js} +14 -14
  251. package/dist/chunks/{permission-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{permission-wd87259q.js → location-wd87259q.js} +1 -1
  253. package/dist/chunks/{permission-wkwqyyf5.js → location-wgxkb9zp.js} +32 -32
  254. package/dist/chunks/{permission-7e7c6www.js → location-wm55hp8j.js} +18 -18
  255. package/dist/chunks/{permission-sw1r8dnw.js → location-wyx7s1ws.js} +36 -36
  256. package/dist/chunks/{permission-c65xb1pg.js → location-x0809vwh.js} +3 -3
  257. package/dist/chunks/{permission-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{permission-v285gz14.js → location-x4vmrnra.js} +9 -9
  259. package/dist/chunks/{permission-c57ss9zk.js → location-x7hqa4ja.js} +17 -17
  260. package/dist/chunks/{permission-aqnhtne5.js → location-xbra3s6q.js} +32 -32
  261. package/dist/chunks/{permission-exgc8y13.js → location-xdtsb8mr.js} +13 -13
  262. package/dist/chunks/{permission-29dqn0y6.js → location-y07gmyf9.js} +16 -16
  263. package/dist/chunks/{permission-h9rzreqp.js → location-y19agrsy.js} +25 -25
  264. package/dist/chunks/{permission-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{permission-kd159ksa.js → location-y2vx680w.js} +27 -27
  266. package/dist/chunks/{permission-vjwzxdnh.js → location-y6gnhzkc.js} +28 -28
  267. package/dist/chunks/{permission-y71avatq.js → location-y71avatq.js} +1 -1
  268. package/dist/chunks/{permission-syzxh1k3.js → location-yj1rgshd.js} +24 -24
  269. package/dist/chunks/{permission-rmk2c50f.js → location-ykczf8eq.js} +5 -5
  270. package/dist/chunks/{permission-qhdvq0hw.js → location-ykjyqz5q.js} +15 -15
  271. package/dist/chunks/{permission-kt3g5jgv.js → location-ymd8awj8.js} +3 -3
  272. package/dist/chunks/{permission-jrdmzp61.js → location-ynnt83sx.js} +16 -16
  273. package/dist/chunks/{permission-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{permission-yrznvahk.js → location-yrznvahk.js} +2 -2
  275. package/dist/chunks/{permission-wp67pyg1.js → location-yt8as05q.js} +6 -6
  276. package/dist/chunks/{permission-tb8g5xe7.js → location-z0ase6az.js} +11 -11
  277. package/dist/chunks/{permission-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{permission-knrkpzn1.js → location-z2xg158e.js} +12 -12
  279. package/dist/chunks/{permission-z63w68vq.js → location-z63w68vq.js} +2 -2
  280. package/dist/chunks/{permission-npw43t42.js → location-zatg04pf.js} +23 -23
  281. package/dist/chunks/{permission-gst7axd9.js → location-zee1rnkq.js} +4 -4
  282. package/dist/chunks/{permission-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{permission-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{permission-v3krke1w.js → location-zrvkv1b7.js} +27 -27
  285. package/dist/chunks/{permission-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +78 -78
  291. package/dist/config/discovery.js +83 -83
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +124 -124
  295. package/dist/config/plugin/command.js +213 -213
  296. package/dist/config/plugin/compaction.js +159 -159
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +122 -122
  303. package/dist/config/plugin/mcp.js +131 -131
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +124 -124
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +143 -143
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +125 -125
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +123 -123
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -82
  320. package/dist/database/database.js +69 -69
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  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 +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -366
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +90 -90
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  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 +73 -73
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +93 -93
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +224 -224
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +105 -105
  425. package/dist/form.js +79 -79
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +104 -104
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +98 -98
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +357 -357
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-lifecycle.js +105 -105
  464. package/dist/location-mutation.js +103 -103
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +354 -354
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +90 -90
  469. package/dist/mcp/index.js +107 -107
  470. package/dist/mcp/instructions.js +125 -125
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +89 -89
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +98 -98
  475. package/dist/model-resolver.js +95 -95
  476. package/dist/model.js +99 -99
  477. package/dist/models-dev.js +98 -98
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +71 -71
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +98 -98
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +81 -81
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +103 -103
  488. package/dist/plugin/command.js +100 -100
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +217 -217
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +328 -328
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +95 -95
  496. package/dist/plugin/module.js +5 -5
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +101 -101
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  501. package/dist/plugin/provider/azure.js +121 -121
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +118 -118
  507. package/dist/plugin/provider/digitalocean.js +92 -92
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +92 -92
  512. package/dist/plugin/provider/gitlab.js +90 -90
  513. package/dist/plugin/provider/google-vertex.js +89 -89
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +121 -121
  517. package/dist/plugin/provider/modal.js +91 -91
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +121 -121
  520. package/dist/plugin/provider/openai.js +93 -93
  521. package/dist/plugin/provider/opencode.js +92 -92
  522. package/dist/plugin/provider/openrouter.js +90 -90
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  526. package/dist/plugin/provider/sap-ai-core.js +90 -90
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +89 -89
  531. package/dist/plugin/provider/vllm.js +119 -119
  532. package/dist/plugin/provider/xai.js +90 -90
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +138 -138
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +343 -343
  540. package/dist/plugin/update.js +2 -2
  541. package/dist/plugin/vcs/git.js +85 -85
  542. package/dist/plugin/vcs/hg.js +85 -85
  543. package/dist/plugin/warming.js +120 -120
  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 +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +222 -222
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +83 -83
  555. package/dist/provider.js +98 -98
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +89 -89
  560. package/dist/reference/instructions.js +88 -88
  561. package/dist/reference.js +90 -90
  562. package/dist/repository-cache.js +80 -80
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +96 -96
  566. package/dist/rpc.js +85 -85
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +131 -131
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +87 -87
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +220 -220
  576. package/dist/session/execution.js +127 -127
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +89 -89
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +96 -96
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +118 -118
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +104 -104
  591. package/dist/session/provider-context.js +1 -1
  592. package/dist/session/revert.js +89 -89
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +228 -228
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +97 -97
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +111 -111
  600. package/dist/session/runner/step.js +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +1 -1
  603. package/dist/session/session.js +171 -171
  604. package/dist/session/shell.js +137 -137
  605. package/dist/session/skill.js +102 -102
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +74 -74
  608. package/dist/session/store.js +80 -80
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +207 -207
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +155 -155
  613. package/dist/session/to-session-error.js +110 -110
  614. package/dist/session/transfer.js +220 -220
  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 +11 -11
  621. package/dist/shell.js +139 -139
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +106 -106
  624. package/dist/skill.js +111 -111
  625. package/dist/snapshot.js +92 -92
  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 +124 -124
  630. package/dist/tool/plugin/edit.js +119 -119
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +121 -121
  633. package/dist/tool/plugin/grep.js +121 -121
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +121 -121
  636. package/dist/tool/plugin/question.js +104 -104
  637. package/dist/tool/plugin/read.js +124 -124
  638. package/dist/tool/plugin/shell.js +216 -216
  639. package/dist/tool/plugin/skill.js +112 -112
  640. package/dist/tool/plugin/subagent.js +218 -218
  641. package/dist/tool/plugin/webfetch.js +109 -109
  642. package/dist/tool/plugin/websearch.js +113 -113
  643. package/dist/tool/plugin/write.js +121 -121
  644. package/dist/tool/read-filesystem.js +99 -99
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +14 -14
  648. package/dist/types/v1/config/migrate.d.ts +1 -1
  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/attachment.js +4 -4
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +14 -14
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +92 -92
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +73 -73
  680. package/dist/wellknown.js +80 -80
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +77 -77
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +93 -93
  689. package/package.json +8 -8
  690. package/dist/chunks/permission-3k25d1jn.js +0 -252
  691. package/dist/chunks/permission-51f1b14e.js +0 -26
  692. package/dist/chunks/permission-phz3h32g.js +0 -18
  693. package/dist/chunks/permission-x3t5tycm.js +0 -38
  694. /package/dist/chunks/{permission-0mesazry.js → location-0mesazry.js} +0 -0
  695. /package/dist/chunks/{permission-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{permission-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{permission-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{permission-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{permission-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{permission-24dcb14g.js → location-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{permission-2710q6r3.js → location-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{permission-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{permission-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{permission-359p4xyc.js → location-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{permission-3asan66x.js → location-3asan66x.js} +0 -0
  706. /package/dist/chunks/{permission-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{permission-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{permission-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{permission-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{permission-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{permission-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{permission-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{permission-53557ph1.js → location-53557ph1.js} +0 -0
  714. /package/dist/chunks/{permission-550bvhaj.js → location-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{permission-5cmxdwv8.js → location-5cmxdwv8.js} +0 -0
  716. /package/dist/chunks/{permission-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{permission-6prwharc.js → location-6prwharc.js} +0 -0
  718. /package/dist/chunks/{permission-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{permission-7m9af43g.js → location-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{permission-822emrt2.js → location-822emrt2.js} +0 -0
  721. /package/dist/chunks/{permission-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{permission-8n3pysct.js → location-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{permission-922hggd3.js → location-922hggd3.js} +0 -0
  724. /package/dist/chunks/{permission-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{permission-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{permission-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{permission-af5trqkr.js → location-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{permission-afrmfg78.js → location-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{permission-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{permission-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{permission-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{permission-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{permission-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{permission-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{permission-d9fn303g.js → location-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{permission-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{permission-dajrwvna.js → location-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{permission-dap0rakb.js → location-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{permission-df08tz66.js → location-df08tz66.js} +0 -0
  740. /package/dist/chunks/{permission-dy18nga0.js → location-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{permission-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{permission-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{permission-ec1grn59.js → location-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{permission-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{permission-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{permission-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{permission-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{permission-faypxj3z.js → location-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{permission-fd410y7t.js → location-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{permission-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{permission-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{permission-g86h250q.js → location-g86h250q.js} +0 -0
  753. /package/dist/chunks/{permission-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{permission-gftt206x.js → location-gftt206x.js} +0 -0
  755. /package/dist/chunks/{permission-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{permission-hk9envan.js → location-hk9envan.js} +0 -0
  757. /package/dist/chunks/{permission-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{permission-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{permission-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{permission-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{permission-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{permission-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{permission-mp448xyj.js → location-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{permission-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{permission-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{permission-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{permission-njntx4h6.js → location-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{permission-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{permission-q74kybfr.js → location-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{permission-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{permission-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{permission-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{permission-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{permission-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{permission-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{permission-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{permission-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{permission-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{permission-twg0f83k.js → location-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{permission-w803qqfp.js → location-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{permission-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{permission-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{permission-wtztk69x.js → location-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{permission-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{permission-x61499pn.js → location-x61499pn.js} +0 -0
  786. /package/dist/chunks/{permission-y44na4kk.js → location-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{permission-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{permission-y8f7s663.js → location-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{permission-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{permission-ym463w8f.js → location-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{permission-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./permission-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service44
7
- } from "./permission-edrwpyyk.js";
6
+ Service46
7
+ } from "./location-6rr5h8pv.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./permission-2a5m3afh.js";
10
+ } from "./location-2a5m3afh.js";
11
11
  import {
12
- Service55
13
- } from "./permission-4vyg6ytn.js";
12
+ Service53
13
+ } from "./location-54btsc2b.js";
14
14
  import {
15
- Service48
16
- } from "./permission-dnkva13v.js";
15
+ Service68
16
+ } from "./location-dhxed570.js";
17
17
  import {
18
18
  Service74
19
- } from "./permission-md2fxt01.js";
19
+ } from "./location-t4qbbbps.js";
20
20
  import {
21
- Service15,
21
+ Service58,
22
22
  resolvePath2
23
- } from "./permission-kqqbj3xh.js";
23
+ } from "./location-92pdxfkb.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./permission-fxbjtjnd.js";
29
+ } from "./location-fxbjtjnd.js";
30
30
  import {
31
- Service51,
31
+ Service48,
32
32
  name15
33
- } from "./permission-91qjg98b.js";
33
+ } from "./location-mamkxpqt.js";
34
34
  import {
35
- NotFoundError5,
36
- Service41
37
- } from "./permission-p59p7628.js";
35
+ NotFoundError6,
36
+ Service43
37
+ } from "./location-2qfd01hw.js";
38
38
  import {
39
- Service21
40
- } from "./permission-1bv3n07a.js";
39
+ Service26
40
+ } from "./location-8215kpvq.js";
41
41
  import {
42
42
  scan2
43
- } from "./permission-xgwdmr5b.js";
43
+ } from "./location-40rqm2bh.js";
44
44
  import {
45
45
  __export
46
- } from "./permission-9rqn6x4v.js";
46
+ } from "./location-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input8,
53
- Plugin: () => Plugin41,
54
- ShellTool: () => exports_shell2,
55
- name: () => name8
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin13,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name8 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input8 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin41 = {
118
+ var Plugin13 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service21;
122
- const jobs = yield* Service48;
121
+ const sessions = yield* Service26;
122
+ const jobs = yield* Service68;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service55;
125
- const access = yield* Service15;
126
- const shell = yield* Service41;
127
- const shellSelect = yield* Service51;
124
+ const environment = yield* Service53;
125
+ const access = yield* Service58;
126
+ const shell = yield* Service43;
127
+ const shellSelect = yield* Service48;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
129
  const permission = yield* Service74;
130
- const config = yield* Service44;
130
+ const config = yield* Service46;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin41 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name8,
149
+ action: name12,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin41 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name8,
186
+ name: name12,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input8,
189
+ input: Input12,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin41 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError5({ id: info.id });
208
+ return yield* new NotFoundError6({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name8,
222
+ type: name12,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name8];
252
+ const tool = event.tools[name12];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin41, exports_shell2 };
263
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin13, exports_shell };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./permission-5daktx2q.js";
3
+ } from "./location-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./permission-922hggd3.js";
6
+ } from "./location-922hggd3.js";
7
7
  import {
8
- ID12,
8
+ ID5,
9
9
  Name2
10
- } from "./permission-vjwzxdnh.js";
10
+ } from "./location-y6gnhzkc.js";
11
11
  import {
12
12
  __export
13
- } from "./permission-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID12.make(id),
58
+ id: ID5.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./permission-922hggd3.js";
5
+ } from "./location-922hggd3.js";
6
6
  import {
7
- Service78,
8
- node82
9
- } from "./permission-hf5dqg4e.js";
7
+ Service79,
8
+ node83
9
+ } from "./location-degw2fzn.js";
10
10
  import {
11
- Service53,
12
- node55
13
- } from "./permission-73zhznt1.js";
11
+ Service24,
12
+ node27
13
+ } from "./location-p5sk6m23.js";
14
14
  import {
15
15
  __export
16
- } from "./permission-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -21,28 +21,28 @@ __export(exports_filesystem, {
21
21
  Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
- Entry: () => Entry4,
25
- Event: () => Event9,
24
+ Entry: () => Entry2,
25
+ Event: () => Event6,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput3,
30
+ ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError6,
32
+ NotFoundError: () => NotFoundError4,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service52,
34
+ Service: () => Service23,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node54
38
+ node: () => node26
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
42
42
  import { Context, Effect, Layer, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
44
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
45
- import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
+ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
46
46
  var ReadInput2 = Schema.Struct({
47
47
  path: RelativePath2
48
48
  });
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput3 = Schema.Struct({
65
+ var ListInput2 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event9 = FileSystem.Event;
88
+ var Event6 = FileSystem.Event;
89
89
 
90
- class Service52 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service23 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service78;
95
- const search = yield* Service53;
94
+ const location = yield* Service79;
95
+ const search = yield* Service24;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service52.of({
106
+ return Service23.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node54 = makeLocationNode({
144
- service: Service52,
143
+ var node26 = makeLocationNode({
144
+ service: Service23,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node82, node55]
146
+ deps: [FSUtil.node, node83, node27]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service52, node54, exports_filesystem, Entry4, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service23, node26, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service39
3
- } from "./permission-d1mtykxg.js";
2
+ Service62
3
+ } from "./location-bw9zjykr.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./permission-phz3h32g.js";
6
+ } from "./location-619r8v3y.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./permission-vmwh049b.js";
9
+ } from "./location-vmwh049b.js";
10
10
  import {
11
- Service73
12
- } from "./permission-vjwzxdnh.js";
11
+ Service39
12
+ } from "./location-y6gnhzkc.js";
13
13
  import {
14
14
  __export
15
- } from "./permission-9rqn6x4v.js";
15
+ } from "./location-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service39;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service73), instances.provide(input.session));
25
+ const instances = yield* Service62;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID7
3
- } from "./permission-z0xds83t.js";
2
+ ID9
3
+ } from "./location-tbc1560d.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.integration.transform((editor) => {
20
20
  editor.method.update({
21
- integrationID: ID7.amazonBedrock,
21
+ integrationID: ID9.amazonBedrock,
22
22
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
23
23
  });
24
24
  });
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service44
3
- } from "./permission-edrwpyyk.js";
2
+ Service46
3
+ } from "./location-6rr5h8pv.js";
4
4
  import {
5
- Service72
6
- } from "./permission-q58mka6k.js";
5
+ Service42
6
+ } from "./location-880p7epb.js";
7
7
  import {
8
8
  observe2
9
- } from "./permission-qsdy395h.js";
9
+ } from "./location-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./permission-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin13
18
+ Plugin: () => Plugin39
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin13 = define({
22
+ var Plugin39 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service44;
26
- const image = yield* Service72;
25
+ const config = yield* Service46;
26
+ const image = yield* Service42;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin13 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin13, exports_image };
46
+ export { Plugin39, exports_image };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID7
3
- } from "./permission-z0xds83t.js";
2
+ ID9
3
+ } from "./location-tbc1560d.js";
4
4
  import {
5
5
  iife2
6
- } from "./permission-1kg9ymc8.js";
6
+ } from "./location-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./permission-wp67pyg1.js";
9
+ } from "./location-yt8as05q.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID7.make("cloudflare-workers-ai");
15
+ var providerID = ID9.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service81
3
- } from "./permission-29dqn0y6.js";
2
+ Service82
3
+ } from "./location-y07gmyf9.js";
4
4
  import {
5
5
  OAuth3,
6
- Event15
7
- } from "./permission-x6h4pr1d.js";
6
+ Event17
7
+ } from "./location-vtqj2nn1.js";
8
8
  import {
9
- ID8,
9
+ ID10,
10
10
  MethodID2
11
- } from "./permission-edfdbxqm.js";
11
+ } from "./location-9p3nq51p.js";
12
12
  import {
13
- ID7,
13
+ ID9,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./permission-z0xds83t.js";
16
+ } from "./location-tbc1560d.js";
17
17
  import {
18
- ID11,
19
- Input14,
18
+ ID4,
19
+ Input13,
20
20
  Response2
21
- } from "./permission-3sc7hnrh.js";
21
+ } from "./location-skgxmk24.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID11
35
+ providerID: ID4
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID8.make("opencode"),
57
+ integrationID: ID10.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -108,7 +108,7 @@ function oauth(http) {
108
108
  var OpencodePlugin2 = define({
109
109
  id: "opencode.provider.opencode",
110
110
  effect: Effect.fn(function* (ctx) {
111
- const bus = yield* Service81;
111
+ const bus = yield* Service82;
112
112
  const http = yield* HttpClient.HttpClient;
113
113
  const loading = Semaphore.makeUnsafe(1);
114
114
  let snapshot = { config: undefined, connection: undefined };
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
134
134
  providers.update(providerID, (provider) => {
135
135
  if (source && source.provider !== provider)
136
136
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
137
- provider.integrationID = ID8.make("opencode");
137
+ provider.integrationID = ID10.make("opencode");
138
138
  if (item.canonical !== undefined)
139
139
  provider.canonical = item.canonical;
140
140
  if (item.name !== undefined)
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
204
204
  sourceConnection: snapshot.connection
205
205
  });
206
206
  }
207
- const item = providers.get(ID7.opencode);
207
+ const item = providers.get(ID9.opencode);
208
208
  if (!item)
209
209
  return;
210
210
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
216
216
  });
217
217
  });
218
218
  yield* ctx.model.transform((models) => {
219
- const item = models.provider.get(ID7.opencode);
219
+ const item = models.provider.get(ID9.opencode);
220
220
  if (!item)
221
221
  return;
222
222
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
250
250
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
251
251
  const token = credential.type === "oauth" ? credential.access : credential.key;
252
252
  const server = yield* normalizeServer(serverUrl(credential));
253
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
253
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
254
254
  query: input.query,
255
255
  providerID: descriptor.providerID
256
256
  }));
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
271
271
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
272
272
  });
273
273
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
274
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
274
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
275
275
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
276
276
  })
277
277
  });
@@ -3,33 +3,33 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./permission-2a5m3afh.js";
6
+ } from "./location-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./permission-1dazxqgg.js";
9
+ } from "./location-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./permission-b6gygkdw.js";
12
+ } from "./location-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./permission-aaet6srn.js";
15
+ } from "./location-aaet6srn.js";
16
16
  import {
17
- Service78,
18
- node82
19
- } from "./permission-hf5dqg4e.js";
17
+ Service79,
18
+ node83
19
+ } from "./location-degw2fzn.js";
20
20
  import {
21
- Service56,
21
+ Service54,
22
22
  node58
23
- } from "./permission-5c3cp9w0.js";
23
+ } from "./location-2a6t769v.js";
24
24
  import {
25
25
  __export
26
- } from "./permission-9rqn6x4v.js";
26
+ } from "./location-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service55,
32
+ Service: () => Service53,
33
33
  node: () => node57
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
@@ -43,7 +43,7 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service55,
46
+ Service: () => Service53,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service55 extends Context.Service()("@opencode/Environment") {
61
+ class Service53 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service55, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service78;
66
- const workspace = yield* Service56;
65
+ const location = yield* Service79;
66
+ const workspace = yield* Service54;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service55.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service53.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
70
  var node57 = makeLocationNode({
71
- service: Service55,
71
+ service: Service53,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node82, node58]
73
+ deps: [CrossSpawnSpawner.node, node83, node58]
74
74
  });
75
75
 
76
- export { Service55, node57, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service53, node57, exports_environment2, makeFiles2, exports_environment3 };