@opencode-ai/core 0.0.0-dev-19123 → 0.0.0-dev-19130

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 (775) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +80 -80
  8. package/dist/chunks/{location-services-f1axbr6p.js → kv-01vy2qf1.js} +44 -44
  9. package/dist/chunks/{location-services-en3sh7px.js → kv-025ke3zd.js} +21 -21
  10. package/dist/chunks/{location-services-0e0xafbb.js → kv-0e0xafbb.js} +2 -2
  11. package/dist/chunks/{location-services-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-services-0s9ayhjt.js → kv-0s9ayhjt.js} +1 -1
  13. package/dist/chunks/{location-services-w7j7tazs.js → kv-0svj7cdm.js} +11 -11
  14. package/dist/chunks/{location-services-86dyhxqj.js → kv-14khgycb.js} +35 -35
  15. package/dist/chunks/{location-services-xbpts9sh.js → kv-19wbhakj.js} +9 -9
  16. package/dist/chunks/{location-services-j9sb8mea.js → kv-1b5vh9jk.js} +9 -9
  17. package/dist/chunks/{location-services-jd9eyjvc.js → kv-1cdzdhyq.js} +38 -38
  18. package/dist/chunks/{location-services-1ct4r87x.js → kv-1ct4r87x.js} +1 -1
  19. package/dist/chunks/{location-services-6k54eer5.js → kv-1fm2s4nd.js} +48 -48
  20. package/dist/chunks/{location-services-vsr56sgz.js → kv-1mhmc86v.js} +3 -3
  21. package/dist/chunks/{location-services-pqvede48.js → kv-1mxn2bzq.js} +6 -6
  22. package/dist/chunks/{location-services-p4671y1g.js → kv-1nynve4p.js} +22 -22
  23. package/dist/chunks/{location-services-gya8g0qk.js → kv-1wmwrxkp.js} +13 -13
  24. package/dist/chunks/{location-services-rj5w3mtz.js → kv-1zc94p5g.js} +4 -4
  25. package/dist/chunks/{location-services-21r38tys.js → kv-21r38tys.js} +1 -1
  26. package/dist/chunks/{location-services-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{location-services-k937cge0.js → kv-2bpd1fgv.js} +21 -21
  28. package/dist/chunks/{location-services-k4vvhz10.js → kv-2c7rzpng.js} +14 -14
  29. package/dist/chunks/{location-services-2ht70gj7.js → kv-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{location-services-2jqmte8w.js → kv-2jqmte8w.js} +2 -2
  31. package/dist/chunks/{location-services-hqrrhmbp.js → kv-2mpwmjx4.js} +28 -28
  32. package/dist/chunks/{location-services-zn2pq4p8.js → kv-2rvwcrz3.js} +5 -5
  33. package/dist/chunks/{location-services-y15phd97.js → kv-2ygmgh61.js} +22 -22
  34. package/dist/chunks/{location-services-rxzgqjy1.js → kv-2yjgpyrw.js} +5 -5
  35. package/dist/chunks/{location-services-86s3977f.js → kv-30asy1df.js} +1 -1
  36. package/dist/chunks/{location-services-5rw6je3s.js → kv-30b3mgv1.js} +3 -3
  37. package/dist/chunks/{location-services-db0m4wvs.js → kv-31hc9vyy.js} +15 -15
  38. package/dist/chunks/{location-services-n1xadze2.js → kv-35dhy00d.js} +11 -11
  39. package/dist/chunks/{location-services-69cg10bk.js → kv-3c8b8tm4.js} +3 -3
  40. package/dist/chunks/{location-services-e5b0qn1c.js → kv-3d2c5316.js} +1 -1
  41. package/dist/chunks/{location-services-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{location-services-5sb2nwk1.js → kv-3h9522tj.js} +20 -20
  43. package/dist/chunks/{location-services-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{location-services-3qzbfqsy.js → kv-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{location-services-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{location-services-hcd9bceq.js → kv-3th1nsm4.js} +21 -21
  47. package/dist/chunks/{location-services-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{location-services-vpjfb8q2.js → kv-3x47y2jx.js} +16 -16
  49. package/dist/chunks/{location-services-2xa4mn5x.js → kv-3yknjtq3.js} +15 -15
  50. package/dist/chunks/{location-services-nnnj2wbt.js → kv-41a35y05.js} +28 -28
  51. package/dist/chunks/{location-services-phmx9zzk.js → kv-429n0dgw.js} +43 -43
  52. package/dist/chunks/{location-services-454k5vzh.js → kv-454k5vzh.js} +1 -1
  53. package/dist/chunks/{location-services-vfrvdtz3.js → kv-483g9p24.js} +29 -29
  54. package/dist/chunks/{location-services-xre0f2nr.js → kv-4ayk50q1.js} +30 -30
  55. package/dist/chunks/{location-services-wze2vh4b.js → kv-4jaxhfp4.js} +8 -8
  56. package/dist/chunks/{location-services-y2e9289q.js → kv-4p6qzwzt.js} +23 -23
  57. package/dist/chunks/{location-services-4r2nyarf.js → kv-4r2nyarf.js} +1 -1
  58. package/dist/chunks/{location-services-sy92nsfc.js → kv-4s94qtmw.js} +1 -1
  59. package/dist/chunks/{location-services-mcxg6pmm.js → kv-4venaaq7.js} +1 -1
  60. package/dist/chunks/{location-services-8d452593.js → kv-56mpk5fj.js} +11 -11
  61. package/dist/chunks/{location-services-q9rc88k9.js → kv-5amgftwf.js} +9 -9
  62. package/dist/chunks/{location-services-820xmye9.js → kv-5br107eg.js} +32 -32
  63. package/dist/chunks/{location-services-5daktx2q.js → kv-5daktx2q.js} +1 -1
  64. package/dist/chunks/{location-services-5fmxt4p5.js → kv-5fmxt4p5.js} +1 -1
  65. package/dist/chunks/{location-services-5jvc5tg2.js → kv-5jvc5tg2.js} +1 -1
  66. package/dist/chunks/{location-services-d41v0vs9.js → kv-5wv8fjzp.js} +24 -24
  67. package/dist/chunks/{location-services-jyyqr7q3.js → kv-5x044jyt.js} +16 -16
  68. package/dist/chunks/{location-services-xazezp0p.js → kv-6911v57f.js} +11 -11
  69. package/dist/chunks/{location-services-6abnk40k.js → kv-6abnk40k.js} +2 -2
  70. package/dist/chunks/{location-services-qvwjc6yp.js → kv-6cz4jj83.js} +11 -11
  71. package/dist/chunks/{location-services-eyb1z5ae.js → kv-6fpgqq1s.js} +11 -11
  72. package/dist/chunks/{location-services-2402vzrj.js → kv-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{location-services-dc2ndnks.js → kv-6ng5d802.js} +9 -9
  74. package/dist/chunks/{location-services-6tf8tr4v.js → kv-6tf8tr4v.js} +2 -2
  75. package/dist/chunks/{location-services-x24q2dv9.js → kv-6yakk4cj.js} +162 -162
  76. package/dist/chunks/{location-services-az24jgzn.js → kv-70g0e2p2.js} +18 -18
  77. package/dist/chunks/{location-services-711hfp6y.js → kv-711hfp6y.js} +2 -2
  78. package/dist/chunks/{location-services-x66mkz1z.js → kv-74fc52v4.js} +28 -28
  79. package/dist/chunks/{location-services-x9qr1909.js → kv-76wr4mq2.js} +9 -9
  80. package/dist/chunks/{location-services-menvx3m9.js → kv-78t1e9mr.js} +19 -19
  81. package/dist/chunks/{location-services-xexqb8q9.js → kv-791z5ad3.js} +8 -8
  82. package/dist/chunks/{location-services-kctmjn4p.js → kv-79wv29v2.js} +14 -14
  83. package/dist/chunks/{location-services-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{location-services-0jwsre1p.js → kv-7dqw4kz8.js} +5 -5
  85. package/dist/chunks/{location-services-5wqhk4sp.js → kv-7f03nwjd.js} +25 -25
  86. package/dist/chunks/{location-services-4k5rvnzr.js → kv-7kkxr96g.js} +10 -10
  87. package/dist/chunks/{location-services-6rd5cydf.js → kv-7mfe7y8k.js} +36 -36
  88. package/dist/chunks/{location-services-dedcm63c.js → kv-7r6n7f4t.js} +24 -24
  89. package/dist/chunks/{location-services-e5pek5sn.js → kv-7wh82b4j.js} +8 -8
  90. package/dist/chunks/{location-services-c9sjs92y.js → kv-86sman9a.js} +10 -10
  91. package/dist/chunks/{location-services-k0ya8bme.js → kv-888k7gfv.js} +6 -6
  92. package/dist/chunks/{location-services-aa4x52zb.js → kv-89rs9bn1.js} +11 -11
  93. package/dist/chunks/{location-services-86y9jrhy.js → kv-8h22p1mt.js} +31 -31
  94. package/dist/chunks/{location-services-ce044ptp.js → kv-8hznsz6p.js} +2 -2
  95. package/dist/chunks/{location-services-8je8k5cb.js → kv-8kpe86bq.js} +4 -4
  96. package/dist/chunks/kv-8n5238z4.js +460 -0
  97. package/dist/chunks/{location-services-2ame73pb.js → kv-8q94n07n.js} +19 -19
  98. package/dist/chunks/{location-services-01w7s3hf.js → kv-93e2865f.js} +5 -5
  99. package/dist/chunks/{location-services-xhtgrbvc.js → kv-96v6enn9.js} +8 -8
  100. package/dist/chunks/{location-services-r4shs0wn.js → kv-97bakyrv.js} +13 -13
  101. package/dist/chunks/{location-services-c0faa19c.js → kv-97f5v037.js} +8 -8
  102. package/dist/chunks/{location-services-pfnbt8cc.js → kv-9d10vese.js} +16 -16
  103. package/dist/chunks/{location-services-3jj6bjb6.js → kv-9d4efts8.js} +5 -5
  104. package/dist/chunks/{location-services-994b2pxg.js → kv-9eh6sf6d.js} +5 -5
  105. package/dist/chunks/{location-services-7d826drz.js → kv-9exe85k5.js} +16 -16
  106. package/dist/chunks/{location-services-aaet6srn.js → kv-aaet6srn.js} +2 -2
  107. package/dist/chunks/{location-services-0dv7911r.js → kv-ag4rn41e.js} +4 -4
  108. package/dist/chunks/{location-services-k0ngpa4t.js → kv-aqdje4az.js} +34 -34
  109. package/dist/chunks/{location-services-wcnr6rrh.js → kv-avdj7myd.js} +9 -9
  110. package/dist/chunks/{location-services-j5208yae.js → kv-awaee7qt.js} +6 -6
  111. package/dist/chunks/{location-services-khfm06dd.js → kv-awsxa8gd.js} +12 -12
  112. package/dist/chunks/{location-services-9d3b2ydm.js → kv-b1ja8czg.js} +4 -4
  113. package/dist/chunks/{location-services-a75chk1r.js → kv-b58yw78m.js} +5 -5
  114. package/dist/chunks/{location-services-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{location-services-gs4rkss0.js → kv-b8dyjmnn.js} +10 -10
  116. package/dist/chunks/{location-services-b9wsbatv.js → kv-b9wsbatv.js} +1 -1
  117. package/dist/chunks/{location-services-g95cjzen.js → kv-ba11spzb.js} +10 -10
  118. package/dist/chunks/{location-services-jze0w19d.js → kv-bb9ne5cp.js} +16 -16
  119. package/dist/chunks/{location-services-je9hks3h.js → kv-bcezcar3.js} +5 -5
  120. package/dist/chunks/{location-services-vncycja5.js → kv-bct739vz.js} +4 -4
  121. package/dist/chunks/{location-services-ap8gxcbn.js → kv-bvn1897b.js} +6 -6
  122. package/dist/chunks/{location-services-6f0pgdt6.js → kv-c4ss8n76.js} +55 -55
  123. package/dist/chunks/{location-services-kfgvrrfp.js → kv-c7pbxa81.js} +35 -35
  124. package/dist/chunks/{location-services-rjgrhwwz.js → kv-c8jewj1g.js} +4 -4
  125. package/dist/chunks/{location-services-49qhf4cn.js → kv-cgpp0vvh.js} +10 -10
  126. package/dist/chunks/{location-services-558w0eyg.js → kv-cwr9ttf2.js} +4 -4
  127. package/dist/chunks/{location-services-0ekd4hek.js → kv-cx5csb6c.js} +31 -31
  128. package/dist/chunks/{location-services-9175d0mz.js → kv-cxcx5eqt.js} +16 -16
  129. package/dist/chunks/{location-services-b7cxq2m5.js → kv-d3jmhtxn.js} +20 -20
  130. package/dist/chunks/{location-services-pa4f1x1m.js → kv-d4x3q5xx.js} +24 -24
  131. package/dist/chunks/{location-services-qnnvnzf3.js → kv-d802p5bq.js} +33 -33
  132. package/dist/chunks/{location-services-q3s1g42q.js → kv-dcqt63ef.js} +9 -9
  133. package/dist/chunks/{location-services-knktnvd5.js → kv-deb96avd.js} +4 -4
  134. package/dist/chunks/{location-services-2ga4d33a.js → kv-dghtnwbk.js} +10 -10
  135. package/dist/chunks/{location-services-z3xgatyd.js → kv-djtdz80w.js} +4 -4
  136. package/dist/chunks/{location-services-zkzsy6tz.js → kv-e5zetm5r.js} +30 -30
  137. package/dist/chunks/{location-services-fvanntqq.js → kv-e6hd9jay.js} +6 -6
  138. package/dist/chunks/{location-services-k962g4j1.js → kv-e7wahez0.js} +16 -16
  139. package/dist/chunks/{location-services-n57ezdmm.js → kv-ec9wfmjb.js} +12 -12
  140. package/dist/chunks/{location-services-rmy3e5eg.js → kv-ec9zcby4.js} +3 -3
  141. package/dist/chunks/{location-services-g8d3gcyj.js → kv-edrmdtr5.js} +4 -4
  142. package/dist/chunks/{location-services-6hydcyp0.js → kv-ehmhr202.js} +2 -2
  143. package/dist/chunks/{location-services-d674kx35.js → kv-exzsytfe.js} +11 -11
  144. package/dist/chunks/{location-services-5sg4xzjf.js → kv-ez5b8bq3.js} +7 -7
  145. package/dist/chunks/{location-services-g41n1fn3.js → kv-fjaxw2sf.js} +5 -5
  146. package/dist/chunks/kv-fpvab1y7.js +22 -0
  147. package/dist/chunks/{location-services-v60ecprk.js → kv-fqrxtbzb.js} +7 -7
  148. package/dist/chunks/{location-services-tnjhdsge.js → kv-frr6f0x6.js} +11 -11
  149. package/dist/chunks/{location-services-7wk8hpe3.js → kv-fvgtxb6b.js} +20 -20
  150. package/dist/chunks/{location-services-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{location-services-fxypknc8.js → kv-fxypknc8.js} +1 -1
  152. package/dist/chunks/{location-services-6cpax4a9.js → kv-g0t48bj1.js} +11 -11
  153. package/dist/chunks/{location-services-m8dnhwdf.js → kv-g1mf38b7.js} +9 -9
  154. package/dist/chunks/{location-services-g2dy4bvs.js → kv-g2dy4bvs.js} +3 -3
  155. package/dist/chunks/{location-services-g2gt0w0k.js → kv-g2gt0w0k.js} +2 -2
  156. package/dist/chunks/{location-services-v594shb6.js → kv-g2xwq6bk.js} +20 -20
  157. package/dist/chunks/{location-services-g72d1q92.js → kv-ga3rkyd7.js} +11 -11
  158. package/dist/chunks/{location-services-fvt5q22p.js → kv-ga82gtse.js} +4 -4
  159. package/dist/chunks/{location-services-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{location-services-xr8qdc97.js → kv-gdq6xpxk.js} +15 -15
  161. package/dist/chunks/{location-services-gxrn9h3d.js → kv-gf5pa9zb.js} +27 -27
  162. package/dist/chunks/{location-services-1m9gek0r.js → kv-gj7m0vyt.js} +11 -11
  163. package/dist/chunks/{location-services-y0wtxgtq.js → kv-gwf7wvcd.js} +22 -22
  164. package/dist/chunks/{location-services-fs6wj8at.js → kv-gyyt7jg8.js} +21 -21
  165. package/dist/chunks/{location-services-xtxq49pg.js → kv-h1w2wy18.js} +15 -15
  166. package/dist/chunks/{location-services-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{location-services-ww8c32hp.js → kv-h722e297.js} +5 -5
  168. package/dist/chunks/{location-services-heyhwy2w.js → kv-heyhwy2w.js} +1 -1
  169. package/dist/chunks/{location-services-3ts7rm59.js → kv-hgea4q31.js} +11 -11
  170. package/dist/chunks/{location-services-hnxfn165.js → kv-hk5xz3yh.js} +18 -18
  171. package/dist/chunks/{location-services-s2vs8x71.js → kv-hre84gwr.js} +37 -37
  172. package/dist/chunks/{location-services-kvsjn1dr.js → kv-hw4pv20g.js} +2 -2
  173. package/dist/chunks/{location-services-dx0wg0tz.js → kv-hwbpdkjy.js} +84 -84
  174. package/dist/chunks/{location-services-7yh4e7ss.js → kv-j028xdjb.js} +3 -3
  175. package/dist/chunks/{location-services-5qd3pb7m.js → kv-j935v87r.js} +2 -2
  176. package/dist/chunks/{location-services-hmnf0bp1.js → kv-jegbh5ma.js} +5 -5
  177. package/dist/chunks/{location-services-tp6caa3d.js → kv-jw6brgvj.js} +8 -8
  178. package/dist/chunks/{location-services-jwcy2c2z.js → kv-jwcy2c2z.js} +1 -1
  179. package/dist/chunks/{location-services-1d6e8fp6.js → kv-jxx6rksz.js} +35 -35
  180. package/dist/chunks/{location-services-s3eqpch7.js → kv-k2x40hsx.js} +1 -1
  181. package/dist/chunks/{location-services-k4bwy1x5.js → kv-k4bwy1x5.js} +1 -1
  182. package/dist/chunks/{location-services-w4600456.js → kv-k8feg6vv.js} +4 -4
  183. package/dist/chunks/{location-services-4z6b0fg6.js → kv-k8j9qym8.js} +6 -6
  184. package/dist/chunks/{location-services-5gk8tmgr.js → kv-ka3w3q19.js} +26 -26
  185. package/dist/chunks/{location-services-kg06axw8.js → kv-kg06axw8.js} +1 -1
  186. package/dist/chunks/{location-services-kk3rr3qh.js → kv-kk3rr3qh.js} +2 -2
  187. package/dist/chunks/{location-services-tk228e24.js → kv-kmg1302y.js} +85 -85
  188. package/dist/chunks/{location-services-9mwtsm6t.js → kv-kwxphtpr.js} +15 -15
  189. package/dist/chunks/{location-services-7y22fjrf.js → kv-ky99qz99.js} +10 -10
  190. package/dist/chunks/{location-services-045f1zrn.js → kv-m5hnpaq0.js} +10 -10
  191. package/dist/chunks/{location-services-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{location-services-zmchtb2v.js → kv-mesa11ky.js} +8 -8
  193. package/dist/chunks/{location-services-t95a6mym.js → kv-mfr4kq4d.js} +4 -4
  194. package/dist/chunks/{location-services-0daqs9er.js → kv-mfrf7zbd.js} +14 -14
  195. package/dist/chunks/{location-services-ck91x8tz.js → kv-mghjqqx0.js} +36 -36
  196. package/dist/chunks/{location-services-fgmsv21m.js → kv-mv6hatw9.js} +17 -17
  197. package/dist/chunks/{location-services-93aea81q.js → kv-n0yw3xsz.js} +30 -30
  198. package/dist/chunks/{location-services-3sa4xpcp.js → kv-n70qn42e.js} +4 -4
  199. package/dist/chunks/{location-services-573b68qb.js → kv-ndw3t5b4.js} +6 -6
  200. package/dist/chunks/{location-services-gyqz79xx.js → kv-ngkr6b5f.js} +25 -25
  201. package/dist/chunks/{location-services-ht2yd5p4.js → kv-nm2jx9kc.js} +27 -27
  202. package/dist/chunks/{location-services-w2vgcc2w.js → kv-nrsgzae9.js} +35 -35
  203. package/dist/chunks/{location-services-98nks7yx.js → kv-nsmj0n09.js} +4 -4
  204. package/dist/chunks/{location-services-2fw09n55.js → kv-nw94snbt.js} +8 -8
  205. package/dist/chunks/{location-services-dc0m9nfq.js → kv-nzvd7nh3.js} +20 -20
  206. package/dist/chunks/{location-services-8xqt1c25.js → kv-p3x78jaa.js} +3 -3
  207. package/dist/chunks/{location-services-j0ezphm2.js → kv-p8cb1x9r.js} +17 -17
  208. package/dist/chunks/{location-services-v2pza5zk.js → kv-pae9v2p1.js} +8 -8
  209. package/dist/chunks/{location-services-3rtc5zee.js → kv-pccm5znj.js} +22 -22
  210. package/dist/chunks/{location-services-se8343fv.js → kv-pdjjysgq.js} +30 -30
  211. package/dist/chunks/kv-pf31ssb9.js +18 -0
  212. package/dist/chunks/{location-services-z5837jq4.js → kv-pg94fwbx.js} +18 -18
  213. package/dist/chunks/{location-services-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{location-services-9e45c1vq.js → kv-pk72n425.js} +19 -19
  215. package/dist/chunks/{location-services-pknna89w.js → kv-pknna89w.js} +1 -1
  216. package/dist/chunks/{location-services-s18jmqte.js → kv-ppt74xa8.js} +11 -11
  217. package/dist/chunks/{location-services-9p3tsgpy.js → kv-py42k196.js} +4 -4
  218. package/dist/chunks/{location-services-t7rtampj.js → kv-q1zsvncd.js} +2 -2
  219. package/dist/chunks/{location-services-z2s7y4xn.js → kv-q2cmzpgm.js} +46 -46
  220. package/dist/chunks/{location-services-q3mvmq3w.js → kv-q2q2jnwq.js} +8 -8
  221. package/dist/chunks/{location-services-tmhmjagm.js → kv-q5y82y0v.js} +11 -11
  222. package/dist/chunks/{location-services-dns6mj49.js → kv-qd1dw6kz.js} +9 -9
  223. package/dist/chunks/{location-services-qsdy395h.js → kv-qsdy395h.js} +1 -1
  224. package/dist/chunks/{location-services-qvbcabdc.js → kv-qvbcabdc.js} +2 -2
  225. package/dist/chunks/{location-services-m372t30b.js → kv-qxfc83m5.js} +47 -47
  226. package/dist/chunks/{location-services-r8dhm0tv.js → kv-r8dhm0tv.js} +1 -1
  227. package/dist/chunks/{location-services-a4vmehse.js → kv-rfjetgms.js} +25 -25
  228. package/dist/chunks/{location-services-9ze5atdz.js → kv-rqvex7fb.js} +68 -68
  229. package/dist/chunks/{location-services-rvhss2m2.js → kv-rvhss2m2.js} +1 -1
  230. package/dist/chunks/{location-services-mnqcpvp4.js → kv-rw4zj8q7.js} +28 -28
  231. package/dist/chunks/{location-services-93763nq9.js → kv-rygwcnmt.js} +17 -17
  232. package/dist/chunks/{location-services-0ez61b8c.js → kv-s6236c6g.js} +2 -2
  233. package/dist/chunks/{location-services-bxm0k6ts.js → kv-s85skzm5.js} +33 -33
  234. package/dist/chunks/{location-services-30r17csp.js → kv-sb865qzj.js} +55 -55
  235. package/dist/chunks/{location-services-sba4qhjf.js → kv-sba4qhjf.js} +1 -1
  236. package/dist/chunks/{location-services-3cwf5791.js → kv-sjgmz1h0.js} +11 -11
  237. package/dist/chunks/{location-services-xqsy6kp0.js → kv-sp7ybxtg.js} +1 -1
  238. package/dist/chunks/{location-services-3vy7bm5p.js → kv-sqv9vyke.js} +19 -19
  239. package/dist/chunks/{location-services-14hmenm3.js → kv-sr0473mb.js} +3 -3
  240. package/dist/chunks/{location-services-m2pjqhxk.js → kv-t58ywtsd.js} +20 -20
  241. package/dist/chunks/{location-services-nfs5s19p.js → kv-t9826ekr.js} +9 -9
  242. package/dist/chunks/{location-services-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{location-services-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
  244. package/dist/chunks/{location-services-tjykrgmx.js → kv-tjykrgmx.js} +1 -1
  245. package/dist/chunks/{location-services-20s6b78b.js → kv-tq59p0v4.js} +25 -25
  246. package/dist/chunks/{location-services-146cyary.js → kv-tqs8rter.js} +10 -10
  247. package/dist/chunks/{location-services-sbq66r6g.js → kv-tt502gjk.js} +29 -29
  248. package/dist/chunks/{location-services-1n116cmy.js → kv-tynz9yxk.js} +9 -9
  249. package/dist/chunks/{location-services-5291er17.js → kv-v7yheh92.js} +11 -11
  250. package/dist/chunks/{location-services-vqkewy85.js → kv-vc8b97hj.js} +22 -22
  251. package/dist/chunks/{location-services-ym8n7jpx.js → kv-vdg40kx5.js} +24 -24
  252. package/dist/chunks/{location-services-fecdhfha.js → kv-vpf7w991.js} +7 -7
  253. package/dist/chunks/{location-services-ya5ydtak.js → kv-vqgyfqes.js} +6 -6
  254. package/dist/chunks/{location-services-gvmqvecv.js → kv-vtypg5wh.js} +32 -32
  255. package/dist/chunks/kv-w33pakb1.js +247 -0
  256. package/dist/chunks/kv-w3vb4krt.js +4 -0
  257. package/dist/chunks/{location-services-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{location-services-c76926jn.js → kv-w72j207r.js} +9 -9
  259. package/dist/chunks/{location-services-p0w949fe.js → kv-w8xtsejm.js} +6 -6
  260. package/dist/chunks/{location-services-zj4hh745.js → kv-wawrd6s0.js} +7 -7
  261. package/dist/chunks/{location-services-wd87259q.js → kv-wd87259q.js} +1 -1
  262. package/dist/chunks/{location-services-0tsnwgcr.js → kv-wey2fa38.js} +26 -26
  263. package/dist/chunks/{location-services-yf5er8qd.js → kv-wxnkrcd6.js} +15 -15
  264. package/dist/chunks/{location-services-kpgzv4p9.js → kv-wz8j445z.js} +13 -13
  265. package/dist/chunks/{location-services-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{location-services-398r99hg.js → kv-x41m9xmr.js} +26 -26
  267. package/dist/chunks/{location-services-bexxahbt.js → kv-x43eysf2.js} +22 -22
  268. package/dist/chunks/{location-services-nj1fe1jb.js → kv-xhtc2kq5.js} +20 -20
  269. package/dist/chunks/{location-services-1kvt7k90.js → kv-xy3qr8h9.js} +18 -18
  270. package/dist/chunks/{location-services-c28brx2k.js → kv-xz8ktccy.js} +9 -9
  271. package/dist/chunks/{location-services-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{location-services-y2cqme3r.js → kv-y2cqme3r.js} +2 -2
  273. package/dist/chunks/{location-services-nzyds8rb.js → kv-y6j5252n.js} +9 -9
  274. package/dist/chunks/{location-services-yg7sb877.js → kv-yg7sb877.js} +2 -2
  275. package/dist/chunks/kv-yhtqjkzd.js +20 -0
  276. package/dist/chunks/{location-services-5rmhknbq.js → kv-ynedfcq9.js} +12 -12
  277. package/dist/chunks/{location-services-954vm9zf.js → kv-yvfy7c1k.js} +6 -6
  278. package/dist/chunks/{location-services-x00g5gps.js → kv-yxzxwnyx.js} +9 -9
  279. package/dist/chunks/{location-services-z1k01bn4.js → kv-z1k01bn4.js} +2 -2
  280. package/dist/chunks/{location-services-29x78va6.js → kv-z63w68vq.js} +6 -6
  281. package/dist/chunks/{location-services-czqdcwjb.js → kv-z70b7sd9.js} +17 -17
  282. package/dist/chunks/{location-services-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{location-services-7zxx2843.js → kv-zxrrywwh.js} +24 -24
  284. package/dist/chunks/{location-services-gjzxw37y.js → kv-zzsb01av.js} +39 -39
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +114 -114
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +116 -116
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +114 -114
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +114 -114
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +82 -82
  317. package/dist/database/database.js +70 -70
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +70 -70
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +220 -220
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +100 -100
  420. package/dist/form.js +78 -78
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +90 -90
  424. package/dist/git.js +5 -5
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +7 -7
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +79 -79
  454. package/dist/job.js +75 -75
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +84 -84
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +80 -80
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +102 -102
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +6 -6
  471. package/dist/models-dev.js +80 -80
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +107 -107
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +93 -93
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +2 -2
  490. package/dist/plugin/plan.js +94 -94
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +4 -4
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +79 -79
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +72 -72
  529. package/dist/plugin/service.js +5 -5
  530. package/dist/plugin/skill.js +129 -129
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +339 -339
  533. package/dist/plugin/system-prompt.js +5 -5
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +109 -109
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +2 -2
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +222 -222
  546. package/dist/project/schema.js +6 -6
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +81 -81
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +92 -92
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +84 -84
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +93 -93
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +215 -215
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +144 -144
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +82 -82
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +75 -75
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +165 -165
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +212 -212
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +211 -211
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +11 -11
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +104 -104
  617. package/dist/snapshot.js +86 -86
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +119 -119
  622. package/dist/tool/plugin/edit.js +110 -110
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +99 -99
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +206 -206
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +210 -210
  633. package/dist/tool/plugin/webfetch.js +102 -102
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +94 -94
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +5 -5
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +3 -3
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +5 -5
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +5 -5
  655. package/dist/v1/config/mcp.js +4 -4
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +7 -7
  658. package/dist/v1/config/plugin.js +3 -3
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +82 -82
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +77 -77
  669. package/dist/workspace/driver.js +7 -7
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +78 -78
  672. package/dist/worktree/directory.js +2 -2
  673. package/dist/worktree/git.js +5 -5
  674. package/dist/worktree/refresh.js +338 -338
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +87 -87
  677. package/package.json +7 -7
  678. package/dist/chunks/location-services-3evw0qr2.js +0 -18
  679. package/dist/chunks/location-services-61zbbsb0.js +0 -20
  680. package/dist/chunks/location-services-7zk4hah4.js +0 -4
  681. package/dist/chunks/location-services-ah3vh4fp.js +0 -460
  682. package/dist/chunks/location-services-gr1309v5.js +0 -22
  683. package/dist/chunks/location-services-vm9h7nn7.js +0 -247
  684. /package/dist/chunks/{location-services-0fabt78z.js → kv-0fabt78z.js} +0 -0
  685. /package/dist/chunks/{location-services-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{location-services-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{location-services-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{location-services-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{location-services-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{location-services-2710q6r3.js → kv-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{location-services-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{location-services-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{location-services-359p4xyc.js → kv-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{location-services-3asan66x.js → kv-3asan66x.js} +0 -0
  695. /package/dist/chunks/{location-services-3t738kvx.js → kv-3t738kvx.js} +0 -0
  696. /package/dist/chunks/{location-services-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{location-services-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{location-services-41nvscxy.js → kv-41nvscxy.js} +0 -0
  699. /package/dist/chunks/{location-services-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{location-services-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{location-services-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{location-services-53557ph1.js → kv-53557ph1.js} +0 -0
  703. /package/dist/chunks/{location-services-550bvhaj.js → kv-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{location-services-6prwharc.js → kv-6prwharc.js} +0 -0
  705. /package/dist/chunks/{location-services-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{location-services-7m9af43g.js → kv-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{location-services-822emrt2.js → kv-822emrt2.js} +0 -0
  708. /package/dist/chunks/{location-services-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{location-services-8n3pysct.js → kv-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{location-services-982e01ww.js → kv-982e01ww.js} +0 -0
  711. /package/dist/chunks/{location-services-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{location-services-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{location-services-a1tpkmh4.js → kv-a1tpkmh4.js} +0 -0
  714. /package/dist/chunks/{location-services-af5trqkr.js → kv-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{location-services-afrmfg78.js → kv-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{location-services-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{location-services-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{location-services-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{location-services-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{location-services-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  721. /package/dist/chunks/{location-services-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  722. /package/dist/chunks/{location-services-d9fn303g.js → kv-d9fn303g.js} +0 -0
  723. /package/dist/chunks/{location-services-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  724. /package/dist/chunks/{location-services-dajrwvna.js → kv-dajrwvna.js} +0 -0
  725. /package/dist/chunks/{location-services-dap0rakb.js → kv-dap0rakb.js} +0 -0
  726. /package/dist/chunks/{location-services-df08tz66.js → kv-df08tz66.js} +0 -0
  727. /package/dist/chunks/{location-services-dy18nga0.js → kv-dy18nga0.js} +0 -0
  728. /package/dist/chunks/{location-services-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  729. /package/dist/chunks/{location-services-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  730. /package/dist/chunks/{location-services-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  731. /package/dist/chunks/{location-services-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  732. /package/dist/chunks/{location-services-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  733. /package/dist/chunks/{location-services-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  734. /package/dist/chunks/{location-services-faypxj3z.js → kv-faypxj3z.js} +0 -0
  735. /package/dist/chunks/{location-services-fd410y7t.js → kv-fd410y7t.js} +0 -0
  736. /package/dist/chunks/{location-services-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  737. /package/dist/chunks/{location-services-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  738. /package/dist/chunks/{location-services-g86h250q.js → kv-g86h250q.js} +0 -0
  739. /package/dist/chunks/{location-services-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  740. /package/dist/chunks/{location-services-hk9envan.js → kv-hk9envan.js} +0 -0
  741. /package/dist/chunks/{location-services-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  742. /package/dist/chunks/{location-services-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  743. /package/dist/chunks/{location-services-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  744. /package/dist/chunks/{location-services-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  745. /package/dist/chunks/{location-services-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  746. /package/dist/chunks/{location-services-mntxs535.js → kv-mntxs535.js} +0 -0
  747. /package/dist/chunks/{location-services-mp448xyj.js → kv-mp448xyj.js} +0 -0
  748. /package/dist/chunks/{location-services-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  749. /package/dist/chunks/{location-services-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  750. /package/dist/chunks/{location-services-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  751. /package/dist/chunks/{location-services-njntx4h6.js → kv-njntx4h6.js} +0 -0
  752. /package/dist/chunks/{location-services-p8qxwesx.js → kv-p8qxwesx.js} +0 -0
  753. /package/dist/chunks/{location-services-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  754. /package/dist/chunks/{location-services-q74kybfr.js → kv-q74kybfr.js} +0 -0
  755. /package/dist/chunks/{location-services-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  756. /package/dist/chunks/{location-services-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  757. /package/dist/chunks/{location-services-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  758. /package/dist/chunks/{location-services-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  759. /package/dist/chunks/{location-services-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  760. /package/dist/chunks/{location-services-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  761. /package/dist/chunks/{location-services-se0s1eqw.js → kv-se0s1eqw.js} +0 -0
  762. /package/dist/chunks/{location-services-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  763. /package/dist/chunks/{location-services-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  764. /package/dist/chunks/{location-services-twg0f83k.js → kv-twg0f83k.js} +0 -0
  765. /package/dist/chunks/{location-services-w803qqfp.js → kv-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{location-services-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  767. /package/dist/chunks/{location-services-wtztk69x.js → kv-wtztk69x.js} +0 -0
  768. /package/dist/chunks/{location-services-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  769. /package/dist/chunks/{location-services-x1b8g1yb.js → kv-x1b8g1yb.js} +0 -0
  770. /package/dist/chunks/{location-services-x61499pn.js → kv-x61499pn.js} +0 -0
  771. /package/dist/chunks/{location-services-y44na4kk.js → kv-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{location-services-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{location-services-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  774. /package/dist/chunks/{location-services-z9919s4g.js → kv-z9919s4g.js} +0 -0
  775. /package/dist/chunks/{location-services-zbjnn3ac.js → kv-zbjnn3ac.js} +0 -0
@@ -2,46 +2,46 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-services-2a5m3afh.js";
5
+ } from "./kv-2a5m3afh.js";
6
6
  import {
7
- Service76
8
- } from "./location-services-kctmjn4p.js";
7
+ Service73
8
+ } from "./kv-79wv29v2.js";
9
9
  import {
10
- Service53
11
- } from "./location-services-ym8n7jpx.js";
10
+ Service57
11
+ } from "./kv-vdg40kx5.js";
12
12
  import {
13
- Service46
14
- } from "./location-services-yf5er8qd.js";
13
+ Service42
14
+ } from "./kv-wxnkrcd6.js";
15
15
  import {
16
- Service48,
16
+ Service41,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./location-services-r4shs0wn.js";
19
+ } from "./kv-97bakyrv.js";
20
20
  import {
21
21
  externalDirectoryPermission2,
22
22
  resolvePath2,
23
- Service74
24
- } from "./location-services-9175d0mz.js";
23
+ Service13
24
+ } from "./kv-cxcx5eqt.js";
25
25
  import {
26
- Service41
27
- } from "./location-services-30r17csp.js";
26
+ Service60
27
+ } from "./kv-sb865qzj.js";
28
28
  import {
29
29
  fileDiff2
30
- } from "./location-services-6prwharc.js";
30
+ } from "./kv-6prwharc.js";
31
31
  import {
32
32
  __export
33
- } from "./location-services-9rqn6x4v.js";
33
+ } from "./kv-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/patch.ts
36
36
  var exports_patch = {};
37
37
  __export(exports_patch, {
38
38
  Applied: () => Applied2,
39
- Input: () => Input8,
40
- Output: () => Output6,
39
+ Input: () => Input12,
40
+ Output: () => Output8,
41
41
  PatchTool: () => exports_patch,
42
- Plugin: () => Plugin26,
43
- name: () => name8,
44
- toModelContent: () => toModelContent4
42
+ Plugin: () => Plugin13,
43
+ name: () => name12,
44
+ toModelContent: () => toModelContent6
45
45
  });
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { FileDiff } from "@opencode-ai/schema/file-diff";
@@ -86,8 +86,8 @@ It is important to remember:
86
86
  `;
87
87
 
88
88
  // src/tool/plugin/patch.ts
89
- var name8 = "patch";
90
- var Input8 = Schema.Struct({
89
+ var name12 = "patch";
90
+ var Input12 = Schema.Struct({
91
91
  patchText: Schema.String.annotate({
92
92
  description: "The full patch text describing add, update, and delete operations"
93
93
  })
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
97
97
  resource: Schema.String,
98
98
  target: Schema.String
99
99
  });
100
- var Output6 = Schema.Struct({
100
+ var Output8 = Schema.Struct({
101
101
  applied: Schema.Array(Applied2),
102
102
  files: Schema.Array(FileDiff.Info)
103
103
  });
104
- var toModelContent4 = (output) => [
104
+ var toModelContent6 = (output) => [
105
105
  "Success. Updated the following files:",
106
106
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
107
107
  ].join(`
108
108
  `);
109
- var Plugin26 = {
109
+ var Plugin13 = {
110
110
  id: "opencode.tool.patch",
111
111
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
112
- const environment = yield* Service53;
113
- const mutation = yield* Service74;
114
- const fileMutation = yield* Service48;
115
- const formatter = yield* Service46;
116
- const location = yield* Service76;
117
- const permission = yield* Service41;
112
+ const environment = yield* Service57;
113
+ const mutation = yield* Service13;
114
+ const fileMutation = yield* Service41;
115
+ const formatter = yield* Service42;
116
+ const location = yield* Service73;
117
+ const permission = yield* Service60;
118
118
  yield* ctx.tool.transform((editor) => editor.add({
119
- name: name8,
119
+ name: name12,
120
120
  options: { codemode: false, permission: "edit" },
121
121
  description: patch_default,
122
- input: Input8,
123
- output: Output6,
122
+ input: Input12,
123
+ output: Output8,
124
124
  execute: (input, context) => {
125
125
  const applied = [];
126
126
  const parsed = Patch.parse(input.patchText);
@@ -273,7 +273,7 @@ var Plugin26 = {
273
273
  return { applied, files };
274
274
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
275
275
  output,
276
- content: toModelContent4(output),
276
+ content: toModelContent6(output),
277
277
  metadata: { files: output.files }
278
278
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
279
279
  }
@@ -330,4 +330,4 @@ function trimDiff(diff) {
330
330
  `);
331
331
  }
332
332
 
333
- export { name8, Input8, Applied2, Output6, toModelContent4, Plugin26, exports_patch };
333
+ export { name12, Input12, Applied2, Output8, toModelContent6, Plugin13, exports_patch };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service79,
3
- node83
4
- } from "./location-services-3cwf5791.js";
3
+ node84
4
+ } from "./kv-sjgmz1h0.js";
5
5
  import {
6
6
  create3
7
- } from "./location-services-kg06axw8.js";
7
+ } from "./kv-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./location-services-30r17csp.js";
10
+ } from "./kv-sb865qzj.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event7,
21
- ID: () => ID4,
22
- Info: () => Info7,
20
+ Event: () => Event11,
21
+ ID: () => ID7,
22
+ Info: () => Info18,
23
23
  Name: () => Name2,
24
- Service: () => Service40,
24
+ Service: () => Service59,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node43,
29
+ node: () => node64,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode-ai/schema/skill";
37
- import { Event as Event7 } from "@opencode-ai/schema/skill";
37
+ import { Event as Event11 } from "@opencode-ai/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source3 = Skill.Source;
42
- var Info7 = Skill.Info;
43
- var ID4 = Skill.ID;
42
+ var Info18 = Skill.Info;
43
+ var ID7 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service40 extends Context.Service()("@opencode/Skill") {
74
+ class Service59 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service40, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
77
77
  const bus = yield* Service79;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID7.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID7.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID7.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID7.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service40.of({
100
+ return Service59.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node43 = makeLocationNode({
112
- service: Service40,
111
+ var node64 = makeLocationNode({
112
+ service: Service59,
113
113
  layer,
114
- deps: [node83]
114
+ deps: [node84]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID4, Name2, available2, toModelOutput3, prepare3, Service40, node43, exports_skill5, Event7 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info18, ID7, Name2, available2, toModelOutput3, prepare3, Service59, node64, exports_skill5, Event11 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error4,
9
+ Error: () => Error5,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make18,
14
- node: () => node58,
13
+ make: () => make19,
14
+ node: () => node63,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make18 = (driver) => driver;
32
+ var make19 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node58 = registryNode2({});
47
+ var node63 = registryNode2({});
48
48
 
49
- export { Binding2, Error4, ProviderNotFound2, make18, RegistryService2, registry2, registryNode2, node58, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node63, exports_driver };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID12,
2
+ ID15,
3
3
  Family2
4
- } from "./location-services-g95cjzen.js";
4
+ } from "./kv-ba11spzb.js";
5
5
  import {
6
- Service55
7
- } from "./location-services-f1axbr6p.js";
6
+ Service52
7
+ } from "./kv-01vy2qf1.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./location-services-fecdhfha.js";
10
+ } from "./kv-vpf7w991.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service55;
53
+ const config = yield* Service52;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  catalog.model.update(providerID, item.model, (model) => {
80
- model.modelID = ID12.make(item.model);
80
+ model.modelID = ID15.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make7();
154
+ var OllamaPlugin2 = make5();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make7, OllamaPlugin2 };
173
+ export { make5, OllamaPlugin2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-services-p8qxwesx.js";
4
+ } from "./kv-p8qxwesx.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-services-jwcy2c2z.js";
7
+ } from "./kv-jwcy2c2z.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
@@ -19,7 +19,7 @@ __export(exports_git3, {
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node82
22
+ node: () => node83
23
23
  });
24
24
  import path from "path";
25
25
  import { Context, Effect, Layer, Schema } from "effect";
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node82 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node82, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-5291er17.js";
3
+ } from "./kv-v7yheh92.js";
4
4
  import {
5
5
  OAuth3,
6
- Service68
7
- } from "./location-services-86y9jrhy.js";
6
+ Service70
7
+ } from "./kv-8h22p1mt.js";
8
8
  import {
9
- ID11,
9
+ ID12,
10
10
  MethodID2
11
- } from "./location-services-bexxahbt.js";
11
+ } from "./kv-x43eysf2.js";
12
12
  import {
13
- ID18
14
- } from "./location-services-4z6b0fg6.js";
13
+ ID16
14
+ } from "./kv-k8j9qym8.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID18.make("xai");
26
+ var providerID = ID16.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID11.make("xai"),
46
+ integrationID: ID12.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service68;
72
- yield* Effect.forEach(yield* credentials.list(ID11.make("xai")), (credential) => {
71
+ const credentials = yield* Service70;
72
+ yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  Service80,
3
- node84
4
- } from "./location-services-qvwjc6yp.js";
3
+ node85
4
+ } from "./kv-6cz4jj83.js";
5
5
  import {
6
6
  Service79,
7
- node83
8
- } from "./location-services-3cwf5791.js";
7
+ node84
8
+ } from "./kv-sjgmz1h0.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-services-pknna89w.js";
11
+ } from "./kv-pknna89w.js";
12
12
  import {
13
13
  __export
14
- } from "./location-services-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/credential.ts
17
17
  var exports_credential = {};
18
18
  __export(exports_credential, {
19
19
  Credential: () => exports_credential,
20
- Event: () => Event16,
21
- ID: () => ID13,
22
- Info: () => Info26,
23
- Key: () => Key3,
20
+ Event: () => Event17,
21
+ ID: () => ID14,
22
+ Info: () => Info24,
23
+ Key: () => Key4,
24
24
  OAuth: () => OAuth3,
25
- Service: () => Service68,
25
+ Service: () => Service70,
26
26
  Value: () => Value2,
27
- node: () => node72
27
+ node: () => node75
28
28
  });
29
29
  import { asc, desc, eq } from "drizzle-orm";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
31
31
  import { Credential } from "@opencode-ai/schema/credential";
32
32
  import { Integration } from "@opencode-ai/schema/integration";
33
33
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
34
- var ID13 = Credential.ID;
34
+ var ID14 = Credential.ID;
35
35
  var OAuth3 = Credential.OAuth;
36
- var Key3 = Credential.Key;
36
+ var Key4 = Credential.Key;
37
37
  var Value2 = Credential.Value;
38
- var Event16 = Credential.Event;
38
+ var Event17 = Credential.Event;
39
39
 
40
- class Info26 extends Schema.Class("Credential.Info")({
41
- id: ID13,
40
+ class Info24 extends Schema.Class("Credential.Info")({
41
+ id: ID14,
42
42
  integrationID: Integration.ID,
43
43
  label: Schema.String,
44
44
  value: Value2
45
45
  }) {
46
46
  }
47
47
 
48
- class Service68 extends Context.Service()("@opencode/Credential") {
48
+ class Service70 extends Context.Service()("@opencode/Credential") {
49
49
  }
50
- var layer = Layer.effect(Service68, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
51
51
  const db = (yield* Service80).db;
52
52
  const bus = yield* Service79;
53
53
  const decode = Schema.decodeUnknownSync(Value2);
54
54
  const stored = (row) => {
55
55
  if (!row.integration_id)
56
56
  return;
57
- return new Info26({
57
+ return new Info24({
58
58
  id: row.id,
59
59
  integrationID: row.integration_id,
60
60
  label: row.label,
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
65
65
  const credential = stored(row);
66
66
  return credential ? [credential] : [];
67
67
  });
68
- return Service68.of({
68
+ return Service70.of({
69
69
  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))),
70
70
  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))),
71
71
  get: Effect.fn("Credential.get")(function* (id) {
@@ -73,8 +73,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
73
73
  return row ? stored(row) : undefined;
74
74
  }),
75
75
  create: Effect.fn("Credential.create")(function* (input) {
76
- const credential = new Info26({
77
- id: ID13.create(),
76
+ const credential = new Info24({
77
+ id: ID14.create(),
78
78
  integrationID: input.integrationID,
79
79
  label: input.label ?? "default",
80
80
  value: input.value
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
89
89
  active: true
90
90
  }).run();
91
91
  })).pipe(Effect.orDie);
92
- yield* bus.publish(Event16.Updated, {}, { global: true });
93
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
92
+ yield* bus.publish(Event17.Updated, {}, { global: true });
93
+ yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
94
94
  return credential;
95
95
  }),
96
96
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
106
106
  return credential.integration_id;
107
107
  })).pipe(Effect.orDie);
108
108
  if (integrationID)
109
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
109
+ yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
110
110
  }),
111
111
  update: Effect.fn("Credential.update")(function* (id, updates) {
112
112
  if (updates.label === undefined && updates.value === undefined)
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
118
118
  return;
119
119
  yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).run().pipe(Effect.orDie);
120
120
  if (updates.label !== undefined && updates.label !== credential.label)
121
- yield* bus.publish(Event16.Updated, {}, { global: true });
121
+ yield* bus.publish(Event17.Updated, {}, { global: true });
122
122
  }),
123
123
  remove: Effect.fn("Credential.remove")(function* (id) {
124
124
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -142,12 +142,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
142
142
  })).pipe(Effect.orDie);
143
143
  if (!removed)
144
144
  return;
145
- yield* bus.publish(Event16.Updated, {}, { global: true });
145
+ yield* bus.publish(Event17.Updated, {}, { global: true });
146
146
  if (removed.switched)
147
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
147
+ yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
148
148
  })
149
149
  });
150
150
  }));
151
- var node72 = makeGlobalNode({ service: Service68, layer, deps: [node84, node83] });
151
+ var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85, node84] });
152
152
 
153
- export { ID13, OAuth3, Key3, Value2, Event16, Info26, Service68, node72, exports_credential };
153
+ export { ID14, OAuth3, Key4, Value2, Event17, Info24, Service70, node75, exports_credential };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./location-services-emrn6kk6.js";
4
+ } from "./kv-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./location-services-zj4hh745.js";
7
+ } from "./kv-wawrd6s0.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./location-services-4z6b0fg6.js";
4
+ } from "./kv-k8j9qym8.js";
5
5
  import {
6
- ID12
7
- } from "./location-services-g95cjzen.js";
6
+ ID15
7
+ } from "./kv-ba11spzb.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID15.make("gpt-5-chat-latest"), ID15.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {