@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
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./location-services-p8qxwesx.js";
4
+ } from "./kv-p8qxwesx.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./location-services-kctmjn4p.js";
6
+ Service73,
7
+ node78
8
+ } from "./kv-79wv29v2.js";
9
9
  import {
10
- Service16,
11
- node19
12
- } from "./location-services-93aea81q.js";
10
+ Service47,
11
+ node50
12
+ } from "./kv-n0yw3xsz.js";
13
13
  import {
14
14
  __export
15
- } from "./location-services-9rqn6x4v.js";
15
+ } from "./kv-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
19
19
  __export(exports_filesystem, {
20
- Content: () => Content2,
20
+ Content: () => Content3,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event4,
24
+ Event: () => Event8,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput2,
29
+ ListInput: () => ListInput3,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service15,
32
+ Service: () => Service46,
33
33
  Submatch: () => Submatch2,
34
- node: () => node18
34
+ node: () => node49
35
35
  });
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
37
37
  import path from "path";
@@ -42,14 +42,14 @@ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@openco
42
42
  var ReadInput2 = Schema.Struct({
43
43
  path: RelativePath2
44
44
  });
45
- var Content2 = Schema.Struct({
45
+ var Content3 = Schema.Struct({
46
46
  uri: Schema.String,
47
47
  name: Schema.String.pipe(Schema.optional),
48
48
  content: Schema.String,
49
49
  encoding: Schema.Literals(["utf8", "base64"]),
50
50
  mime: Schema.String
51
51
  }).annotate({ identifier: "FileSystem.Content" });
52
- var ListInput2 = Schema.Struct({
52
+ var ListInput3 = Schema.Struct({
53
53
  path: Schema.String.pipe(Schema.optional)
54
54
  });
55
55
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event4 = FileSystem.Event;
75
+ var Event8 = FileSystem.Event;
76
76
 
77
- class Service15 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service46 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service46, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service76;
82
- const search = yield* Service16;
81
+ const location = yield* Service73;
82
+ const search = yield* Service47;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service15.of({
93
+ return Service46.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node18 = makeLocationNode({
126
- service: Service15,
125
+ var node49 = makeLocationNode({
126
+ service: Service46,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node80, node19]
128
+ deps: [FSUtil.node, node78, node50]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service15, node18, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service46, node49, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -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/lmstudio.ts
13
13
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service55;
39
+ const config = yield* Service52;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  catalog.model.update(providerID, item.key, (model) => {
66
- model.modelID = ID12.make(item.key);
66
+ model.modelID = ID15.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make9();
128
+ var LMStudioPlugin2 = make6();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make9, LMStudioPlugin2 };
145
+ export { make6, LMStudioPlugin2 };
@@ -1,29 +1,29 @@
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
  environment2
7
- } from "./location-services-9mwtsm6t.js";
7
+ } from "./kv-kwxphtpr.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./location-services-sk3qaz4a.js";
10
+ } from "./kv-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError9,
20
- Options: () => Options8,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service71,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured8,
25
- layer: () => layer23,
26
- node: () => node75
22
+ Service: () => Service36,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured4,
25
+ layer: () => layer16,
26
+ node: () => node39
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode-ai/schema/pty";
35
35
  import { Global } from "@opencode-ai/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
38
- var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service71 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service36 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service36, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError9({ ptyID: id });
75
+ return yield* new NotFoundError3({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service71.of({
242
+ return Service36.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer23 = makeLayer();
259
- var configured8 = (options) => makeGlobalNode({
260
- service: Service71,
261
- layer: options === undefined ? layer23 : makeLayer(options),
262
- deps: [node83, Global.node]
258
+ var layer16 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service36,
261
+ layer: options === undefined ? layer16 : makeLayer(options),
262
+ deps: [node84, Global.node]
263
263
  });
264
- var node75 = configured8();
264
+ var node39 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options8, UnavailableError3, NotFoundError9, Service71, layer23, configured8, node75, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError2, NotFoundError3, Service36, layer16, configured4, node39, exports_persistent_pty, Handoff2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./location-services-kg06axw8.js";
3
+ } from "./kv-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service12,
13
- node: () => node15
12
+ Service: () => Service8,
13
+ node: () => node10
14
14
  });
15
15
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service12, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service12.of({
44
+ return Service8.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node15 = makeLocationNode({ service: Service12, layer, deps: [] });
51
+ var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
52
52
 
53
- export { Service12, node15, exports_location_watcher_policy };
53
+ export { Service8, node10, exports_location_watcher_policy };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured13,
11
- layer: () => layer26,
12
- make: () => make22,
13
- node: () => node85,
10
+ configured: () => configured7,
11
+ layer: () => layer19,
12
+ make: () => make18,
13
+ node: () => node52,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make22()
19
+ defaultValue: () => make18()
20
20
  });
21
- function make22(input = {}) {
21
+ function make18(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make22(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer26 = (input) => Layer.succeed(Metadata2, make22(input));
32
- var configured13 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
33
- var node85 = configured13();
31
+ var layer19 = (input) => Layer.succeed(Metadata2, make18(input));
32
+ var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
+ var node52 = configured7();
34
34
 
35
- export { Metadata2, make22, useragent2, layer26, configured13, node85, exports_app };
35
+ export { Metadata2, make18, useragent2, layer19, configured7, node52, exports_app };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-5291er17.js";
3
+ } from "./kv-v7yheh92.js";
4
4
  import {
5
5
  Service79
6
- } from "./location-services-3cwf5791.js";
6
+ } from "./kv-sjgmz1h0.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./location-services-86y9jrhy.js";
9
+ Event17
10
+ } from "./kv-8h22p1mt.js";
11
11
  import {
12
- ID11,
12
+ ID12,
13
13
  MethodID2
14
- } from "./location-services-bexxahbt.js";
14
+ } from "./kv-x43eysf2.js";
15
15
  import {
16
- ID18,
16
+ ID16,
17
17
  isAISDK2,
18
18
  packageName2,
19
19
  mergeOverlay2
20
- } from "./location-services-4z6b0fg6.js";
20
+ } from "./kv-k8j9qym8.js";
21
21
  import {
22
22
  iife2
23
- } from "./location-services-1kg9ymc8.js";
23
+ } from "./kv-1kg9ymc8.js";
24
24
  import {
25
25
  which2
26
- } from "./location-services-qaymkmh1.js";
26
+ } from "./kv-qaymkmh1.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./location-services-fecdhfha.js";
29
+ } from "./kv-vpf7w991.js";
30
30
 
31
31
  // src/plugin/provider/azure.ts
32
32
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
57
57
  var AzurePlugin2 = define({
58
58
  id: "opencode.provider.azure",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const configured = yield* configuredSettings2(ID18.azure);
60
+ const configured = yield* configuredSettings2(ID16.azure);
61
61
  const processes = yield* AppProcess.Service;
62
62
  const bus = yield* Service79;
63
63
  const tokens = new Map;
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
93
93
  });
94
94
  yield* ctx.integration.transform((editor) => {
95
95
  editor.method.update({
96
- integrationID: ID18.azure,
96
+ integrationID: ID16.azure,
97
97
  method: { type: "key", label: "API key", form: form() }
98
98
  });
99
99
  if (!available)
100
100
  return;
101
101
  editor.method.update({
102
- integrationID: ID18.azure,
102
+ integrationID: ID16.azure,
103
103
  method: {
104
104
  id: methodID,
105
105
  type: "oauth",
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  });
132
132
  });
133
133
  const load = Effect.fn("AzurePlugin.load")(function* () {
134
- const connection = yield* ctx.integration.connection.active(ID18.azure);
134
+ const connection = yield* ctx.integration.connection.active(ID16.azure);
135
135
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
136
136
  return;
137
137
  })) : undefined;
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
145
145
  yield* load();
146
146
  yield* ctx.catalog.transform((evt) => {
147
147
  for (const item of evt.provider.list()) {
148
- if (item.provider.id !== ID18.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
148
+ if (item.provider.id !== ID16.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
149
149
  continue;
150
150
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
151
151
  if (resourceName)
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
167
167
  }
168
168
  });
169
169
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
170
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
170
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
171
171
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
172
- if (evt.model.providerID !== ID18.azure)
172
+ if (evt.model.providerID !== ID16.azure)
173
173
  return;
174
- const connection = yield* ctx.integration.connection.active(ID18.azure);
174
+ const connection = yield* ctx.integration.connection.active(ID16.azure);
175
175
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
176
176
  return;
177
177
  })) : undefined;
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", `Bearer ${current.access}`);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID18.azure });
187
+ }), { providerID: ID16.azure });
188
188
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
189
189
  if (evt.package !== "@ai-sdk/azure")
190
190
  return;
191
- if (evt.model.providerID === ID18.azure) {
191
+ if (evt.model.providerID === ID16.azure) {
192
192
  if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
193
193
  throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
194
194
  }
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
197
197
  evt.sdk = mod.createAzure(evt.options);
198
198
  }));
199
199
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
200
- if (evt.model.providerID !== ID18.azure)
200
+ if (evt.model.providerID !== ID16.azure)
201
201
  return;
202
202
  evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
203
203
  }));
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./location-services-2a5m3afh.js";
6
+ } from "./kv-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./location-services-z1k01bn4.js";
9
+ } from "./kv-z1k01bn4.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./location-services-b6gygkdw.js";
12
+ } from "./kv-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./location-services-aaet6srn.js";
15
+ } from "./kv-aaet6srn.js";
16
16
  import {
17
- Service76,
18
- node80
19
- } from "./location-services-kctmjn4p.js";
17
+ Service73,
18
+ node78
19
+ } from "./kv-79wv29v2.js";
20
20
  import {
21
- Service54,
22
- node57
23
- } from "./location-services-ht2yd5p4.js";
21
+ Service58,
22
+ node62
23
+ } from "./kv-nm2jx9kc.js";
24
24
  import {
25
25
  __export
26
- } from "./location-services-9rqn6x4v.js";
26
+ } from "./kv-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: () => Service53,
33
- node: () => node56
32
+ Service: () => Service57,
33
+ node: () => node61
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service53,
46
+ Service: () => Service57,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node56,
52
+ node: () => node61,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service53 extends Context.Service()("@opencode/Environment") {
61
+ class Service57 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service53, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service76;
66
- const workspace = yield* Service54;
65
+ const location = yield* Service73;
66
+ const workspace = yield* Service58;
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 Service53.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service57.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node56 = makeLocationNode({
71
- service: Service53,
70
+ var node61 = makeLocationNode({
71
+ service: Service57,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node80, node57]
73
+ deps: [CrossSpawnSpawner.node, node78, node62]
74
74
  });
75
75
 
76
- export { Service53, node56, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service57, node61, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./location-services-4z6b0fg6.js";
3
+ } from "./kv-k8j9qym8.js";
4
4
  import {
5
- Service65
6
- } from "./location-services-b7cxq2m5.js";
5
+ Service66
6
+ } from "./kv-d3jmhtxn.js";
7
7
  import {
8
- Service55
9
- } from "./location-services-f1axbr6p.js";
8
+ Service52
9
+ } from "./kv-01vy2qf1.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service65;
14
+ const catalog = yield* Service66;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service55);
16
+ const service = yield* Effect.serviceOption(Service52);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./location-services-emrn6kk6.js";
3
+ } from "./kv-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./location-services-zj4hh745.js";
6
+ } from "./kv-wawrd6s0.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./location-services-sy92nsfc.js";
9
+ } from "./kv-4s94qtmw.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make20 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make20 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make20(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make20, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };