@opencode/core 0.0.0-dev-20735 → 0.0.0-dev-20738

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +70 -70
  7. package/dist/chunks/{location-service-map-v0xmac3n.js → kv-007agb8z.js} +2 -2
  8. package/dist/chunks/{location-service-map-1109kv5r.js → kv-05xfxpq7.js} +8 -8
  9. package/dist/chunks/{location-service-map-5s9sacvh.js → kv-0jck1kcq.js} +10 -10
  10. package/dist/chunks/{location-service-map-dewj8197.js → kv-0p15mrma.js} +39 -39
  11. package/dist/chunks/{location-service-map-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-service-map-swg79b35.js → kv-0re18gy8.js} +14 -14
  13. package/dist/chunks/{location-service-map-9kw1gp9b.js → kv-0v09vagk.js} +13 -13
  14. package/dist/chunks/{location-service-map-0emb60td.js → kv-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{location-service-map-k5n7mtkn.js → kv-10h2grd6.js} +11 -11
  16. package/dist/chunks/{location-service-map-wr9mz46y.js → kv-12a3t8vh.js} +42 -42
  17. package/dist/chunks/{location-service-map-020j3mp2.js → kv-13bwbegs.js} +6 -6
  18. package/dist/chunks/{location-service-map-cdf44jq4.js → kv-1cgd7pha.js} +11 -11
  19. package/dist/chunks/{location-service-map-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{location-service-map-84h8c373.js → kv-1dvck2a7.js} +2 -2
  21. package/dist/chunks/{location-service-map-wwwjdszg.js → kv-1vq0vbyf.js} +30 -30
  22. package/dist/chunks/{location-service-map-mfqp6xfm.js → kv-1ygqh575.js} +6 -6
  23. package/dist/chunks/{location-service-map-rb8bt062.js → kv-2579kh9d.js} +7 -7
  24. package/dist/chunks/{location-service-map-4fx98jam.js → kv-25py64se.js} +19 -19
  25. package/dist/chunks/{location-service-map-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{location-service-map-0zr63e5x.js → kv-2nyjj8hd.js} +4 -4
  27. package/dist/chunks/{location-service-map-2mq1h16s.js → kv-2sejkfem.js} +9 -9
  28. package/dist/chunks/{location-service-map-hv5wevtb.js → kv-35a7vcrd.js} +3 -3
  29. package/dist/chunks/{location-service-map-2zbf90ch.js → kv-366ph4b8.js} +11 -11
  30. package/dist/chunks/{location-service-map-2p623br6.js → kv-3801kdgp.js} +5 -5
  31. package/dist/chunks/{location-service-map-8x62bep5.js → kv-39259x0v.js} +13 -13
  32. package/dist/chunks/{location-service-map-fr637340.js → kv-39eerbas.js} +23 -23
  33. package/dist/chunks/{location-service-map-3jq3pnk6.js → kv-3bh97vej.js} +22 -22
  34. package/dist/chunks/{location-service-map-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{location-service-map-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{location-service-map-pm7gqfwt.js → kv-3hxhjqkg.js} +13 -13
  37. package/dist/chunks/{location-service-map-8r1f1zwq.js → kv-3k6tstd2.js} +34 -34
  38. package/dist/chunks/{location-service-map-xdc3sm7c.js → kv-3ptewvj2.js} +35 -35
  39. package/dist/chunks/{location-service-map-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{location-service-map-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{location-service-map-4bgzx16c.js → kv-3vxensx3.js} +13 -13
  42. package/dist/chunks/{location-service-map-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{location-service-map-v5fbhvxb.js → kv-42t96xj3.js} +7 -7
  44. package/dist/chunks/{location-service-map-ax1z2ndw.js → kv-45595hde.js} +27 -27
  45. package/dist/chunks/{location-service-map-c2wr4gbn.js → kv-47mf4edr.js} +11 -11
  46. package/dist/chunks/{location-service-map-5aw4d85b.js → kv-4ckpdmry.js} +19 -19
  47. package/dist/chunks/{location-service-map-39r23z6b.js → kv-4ddjjg0p.js} +5 -5
  48. package/dist/chunks/{location-service-map-kbj2dgab.js → kv-4drgpw32.js} +5 -5
  49. package/dist/chunks/{location-service-map-20g1jh9k.js → kv-4g1zz2v1.js} +8 -8
  50. package/dist/chunks/{location-service-map-4ts7tf6z.js → kv-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{location-service-map-p5vcwgcv.js → kv-54fe0yvq.js} +7 -7
  52. package/dist/chunks/{location-service-map-54ma36ye.js → kv-54ma36ye.js} +1 -1
  53. package/dist/chunks/{location-service-map-198ssmbw.js → kv-5epaq3n7.js} +17 -17
  54. package/dist/chunks/{location-service-map-7y8fvpvp.js → kv-5evczv99.js} +11 -11
  55. package/dist/chunks/{location-service-map-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{location-service-map-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{location-service-map-1gpjfezg.js → kv-5ymsght2.js} +10 -10
  58. package/dist/chunks/{location-service-map-jz7r8edy.js → kv-67d2xr1y.js} +19 -19
  59. package/dist/chunks/{location-service-map-8n69n882.js → kv-69apea2v.js} +8 -8
  60. package/dist/chunks/{location-service-map-g3kvhe3m.js → kv-6cdytb58.js} +14 -14
  61. package/dist/chunks/{location-service-map-jdpqn6n9.js → kv-6dtqx3zc.js} +13 -13
  62. package/dist/chunks/{location-service-map-dmsxtrss.js → kv-6evx7sdp.js} +9 -9
  63. package/dist/chunks/{location-service-map-vy7v463h.js → kv-6fddr8vc.js} +4 -4
  64. package/dist/chunks/{location-service-map-b27ghv1r.js → kv-6g5spzhr.js} +25 -25
  65. package/dist/chunks/{location-service-map-e3h34950.js → kv-6rxsm8b2.js} +17 -17
  66. package/dist/chunks/{location-service-map-vc9hav61.js → kv-6t5kp9rh.js} +11 -11
  67. package/dist/chunks/{location-service-map-kx705y8y.js → kv-6w7198b7.js} +3 -3
  68. package/dist/chunks/{location-service-map-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{location-service-map-5w9yjztw.js → kv-6xcvt31d.js} +1 -1
  70. package/dist/chunks/{location-service-map-711y4ma3.js → kv-6zz3m0fh.js} +14 -14
  71. package/dist/chunks/{location-service-map-f75zav2x.js → kv-71az546q.js} +2 -2
  72. package/dist/chunks/{location-service-map-92pnwrb8.js → kv-77pjx4k4.js} +24 -24
  73. package/dist/chunks/{location-service-map-tmm18trm.js → kv-78wqg8jh.js} +8 -8
  74. package/dist/chunks/{location-service-map-3fxhvxgd.js → kv-79r4g3vq.js} +1 -1
  75. package/dist/chunks/{location-service-map-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  76. package/dist/chunks/kv-7gbq6z1m.js +26 -0
  77. package/dist/chunks/{location-service-map-3p88kp5b.js → kv-7ghw0wmm.js} +3 -3
  78. package/dist/chunks/{location-service-map-aezf7b9z.js → kv-7k3bpw74.js} +24 -24
  79. package/dist/chunks/{location-service-map-rd3hqfd2.js → kv-7n34cqd6.js} +11 -11
  80. package/dist/chunks/{location-service-map-4esgd2h9.js → kv-7wgvetf0.js} +18 -18
  81. package/dist/chunks/{location-service-map-wm5kwffx.js → kv-808z5t55.js} +1 -1
  82. package/dist/chunks/{location-service-map-84txncab.js → kv-84txncab.js} +1 -1
  83. package/dist/chunks/{location-service-map-5wq08njd.js → kv-84wpbtae.js} +14 -14
  84. package/dist/chunks/{location-service-map-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{location-service-map-snr9kmf9.js → kv-8gqa7j8v.js} +7 -7
  86. package/dist/chunks/{location-service-map-8m6m0r52.js → kv-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{location-service-map-f59s4cc3.js → kv-8me8kj13.js} +11 -11
  88. package/dist/chunks/{location-service-map-811a529q.js → kv-8n5pds5p.js} +10 -10
  89. package/dist/chunks/{location-service-map-w319nhgc.js → kv-930gsck4.js} +16 -16
  90. package/dist/chunks/{location-service-map-dm2pdpx2.js → kv-948csc8n.js} +15 -15
  91. package/dist/chunks/{location-service-map-3h3m3rpf.js → kv-984x661q.js} +12 -12
  92. package/dist/chunks/{location-service-map-p7a39gy5.js → kv-9ae44cfy.js} +6 -6
  93. package/dist/chunks/{location-service-map-kb9j3d72.js → kv-9e5bzkjp.js} +3 -3
  94. package/dist/chunks/{location-service-map-egh0nd0j.js → kv-9jzm7v48.js} +4 -4
  95. package/dist/chunks/{location-service-map-xg9smtde.js → kv-9p5sgrfb.js} +74 -74
  96. package/dist/chunks/{location-service-map-bsqx64w4.js → kv-9x77fmbz.js} +4 -4
  97. package/dist/chunks/{location-service-map-rtb52qhq.js → kv-a4r3dq2k.js} +13 -13
  98. package/dist/chunks/{location-service-map-m4qbna0r.js → kv-a5pr435h.js} +17 -17
  99. package/dist/chunks/{location-service-map-ezhqr4dw.js → kv-a68x47kk.js} +24 -24
  100. package/dist/chunks/{location-service-map-w40abp0x.js → kv-a998vwew.js} +1 -1
  101. package/dist/chunks/{location-service-map-aaet6srn.js → kv-aaet6srn.js} +2 -2
  102. package/dist/chunks/{location-service-map-kpxkaw22.js → kv-acvt02vq.js} +8 -8
  103. package/dist/chunks/{location-service-map-e4g6rnfs.js → kv-ajzsbz6h.js} +9 -9
  104. package/dist/chunks/{location-service-map-v3axjhay.js → kv-amf37a4y.js} +8 -8
  105. package/dist/chunks/{location-service-map-jp3y83b8.js → kv-ang9sdtn.js} +8 -8
  106. package/dist/chunks/{location-service-map-kneamgfa.js → kv-at2kzgpx.js} +17 -17
  107. package/dist/chunks/{location-service-map-3baj6v9a.js → kv-azh8f6zy.js} +22 -22
  108. package/dist/chunks/{location-service-map-e0xpb80v.js → kv-b45880ax.js} +32 -32
  109. package/dist/chunks/{location-service-map-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{location-service-map-ptxaygn1.js → kv-bfkzbq3x.js} +39 -39
  111. package/dist/chunks/{location-service-map-664v0k6q.js → kv-bfvwgmyn.js} +10 -10
  112. package/dist/chunks/{location-service-map-5jswmftw.js → kv-bgj4gnp0.js} +11 -11
  113. package/dist/chunks/{location-service-map-ryb4sabt.js → kv-bj94ydjv.js} +3 -3
  114. package/dist/chunks/{location-service-map-782taykb.js → kv-brhts8he.js} +9 -9
  115. package/dist/chunks/{location-service-map-hz6nra5z.js → kv-bxkg5nem.js} +9 -9
  116. package/dist/chunks/{location-service-map-xf8yqmad.js → kv-bydnjh3t.js} +9 -9
  117. package/dist/chunks/{location-service-map-jvnghvnw.js → kv-c27esgm9.js} +8 -8
  118. package/dist/chunks/{location-service-map-8dnsnve2.js → kv-cdj8tbqs.js} +1 -1
  119. package/dist/chunks/{location-service-map-zwfhe8jc.js → kv-cekf18da.js} +26 -26
  120. package/dist/chunks/{location-service-map-sxkj110m.js → kv-ch3jzc50.js} +28 -28
  121. package/dist/chunks/{location-service-map-1ajx6rf5.js → kv-cmwkp3r5.js} +8 -8
  122. package/dist/chunks/{location-service-map-2qbvmajs.js → kv-cp7jndq9.js} +6 -6
  123. package/dist/chunks/{location-service-map-1r0m8s4k.js → kv-ctgn3mrz.js} +16 -16
  124. package/dist/chunks/{location-service-map-a8vtzv7h.js → kv-cvv2w4hc.js} +14 -14
  125. package/dist/chunks/{location-service-map-p0n75hrs.js → kv-cy4egse2.js} +7 -7
  126. package/dist/chunks/{location-service-map-k6ybn7as.js → kv-d1me7hxe.js} +13 -13
  127. package/dist/chunks/{location-service-map-qg91mhk9.js → kv-d20y7eht.js} +20 -20
  128. package/dist/chunks/{location-service-map-b70cp975.js → kv-d6mdrvww.js} +29 -29
  129. package/dist/chunks/{location-service-map-vynmvp9h.js → kv-d737nyfv.js} +9 -9
  130. package/dist/chunks/{location-service-map-faxn7cy8.js → kv-ddcxhxh9.js} +23 -23
  131. package/dist/chunks/{location-service-map-p8p13f12.js → kv-dkhgx6kw.js} +1 -1
  132. package/dist/chunks/{location-service-map-hqsbmb15.js → kv-dphc24b4.js} +14 -14
  133. package/dist/chunks/{location-service-map-dpkg50ah.js → kv-dpkg50ah.js} +1 -1
  134. package/dist/chunks/{location-service-map-ezk2k2nc.js → kv-dssbfrwz.js} +5 -5
  135. package/dist/chunks/{location-service-map-ypafjwkk.js → kv-e5tewtqz.js} +1 -1
  136. package/dist/chunks/{location-service-map-20cj7b67.js → kv-e9ra3rc2.js} +32 -32
  137. package/dist/chunks/{location-service-map-7a1hshqp.js → kv-ecfxfkv3.js} +10 -10
  138. package/dist/chunks/{location-service-map-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{location-service-map-5y8fd58d.js → kv-enf12tk9.js} +5 -5
  140. package/dist/chunks/{location-service-map-kzce54ng.js → kv-etag6te0.js} +3 -3
  141. package/dist/chunks/{location-service-map-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{location-service-map-f4cke4kj.js → kv-f3wh3a97.js} +9 -9
  143. package/dist/chunks/{location-service-map-cvx0e1bt.js → kv-f96bhag2.js} +32 -32
  144. package/dist/chunks/{location-service-map-6h9s4x6n.js → kv-fb8mpv19.js} +3 -3
  145. package/dist/chunks/{location-service-map-rqb87221.js → kv-fhpe866r.js} +6 -6
  146. package/dist/chunks/{location-service-map-xa056vn0.js → kv-fkz2j366.js} +69 -69
  147. package/dist/chunks/{location-service-map-6p6p53k2.js → kv-fmgcz1aj.js} +11 -11
  148. package/dist/chunks/{location-service-map-byjhjrmz.js → kv-ftkcznmp.js} +4 -4
  149. package/dist/chunks/{location-service-map-dvkrz2pa.js → kv-fwnbcsnm.js} +11 -11
  150. package/dist/chunks/{location-service-map-kbx8m6gb.js → kv-fx0gd3c1.js} +1 -1
  151. package/dist/chunks/{location-service-map-53vxm274.js → kv-g0yaekcy.js} +24 -24
  152. package/dist/chunks/{location-service-map-qb6b4g4m.js → kv-g3a7jf08.js} +10 -10
  153. package/dist/chunks/{location-service-map-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{location-service-map-3b1n4c0v.js → kv-gejbtgaw.js} +20 -20
  155. package/dist/chunks/{location-service-map-dch9g1ez.js → kv-gmdr493m.js} +31 -31
  156. package/dist/chunks/{location-service-map-47fh37dc.js → kv-h22y87dx.js} +25 -25
  157. package/dist/chunks/{location-service-map-3cegwx68.js → kv-h2b79v29.js} +2 -2
  158. package/dist/chunks/{location-service-map-6rm5yzkt.js → kv-h6310vsd.js} +4 -4
  159. package/dist/chunks/{location-service-map-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{location-service-map-x5qamb68.js → kv-h7696n0v.js} +15 -15
  161. package/dist/chunks/{location-service-map-vqtj5sg4.js → kv-h7bdckh5.js} +28 -28
  162. package/dist/chunks/{location-service-map-9ph3ycpc.js → kv-hndwyk0r.js} +17 -17
  163. package/dist/chunks/{location-service-map-7rq69z08.js → kv-j2h4gsx3.js} +9 -9
  164. package/dist/chunks/{location-service-map-j56e64zr.js → kv-j56e64zr.js} +1 -1
  165. package/dist/chunks/{location-service-map-cag4tck2.js → kv-ja01233w.js} +13 -13
  166. package/dist/chunks/kv-jb1p813v.js +253 -0
  167. package/dist/chunks/{location-service-map-x33nvbwv.js → kv-jgegdacd.js} +49 -49
  168. package/dist/chunks/{location-service-map-x65zb6ev.js → kv-jsqb560b.js} +24 -24
  169. package/dist/chunks/{location-service-map-xw2x94wp.js → kv-k2271zhj.js} +29 -29
  170. package/dist/chunks/{location-service-map-4y4r5z5b.js → kv-k25jt64g.js} +4 -4
  171. package/dist/chunks/{location-service-map-zmhs9j3z.js → kv-k7gjbccb.js} +24 -24
  172. package/dist/chunks/{location-service-map-8kq9p8jz.js → kv-kyeq8fzm.js} +18 -18
  173. package/dist/chunks/{location-service-map-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{location-service-map-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{location-service-map-5fde8rf2.js → kv-mae2kdyr.js} +17 -17
  176. package/dist/chunks/{location-service-map-6jps0nvq.js → kv-mb87pwt1.js} +6 -6
  177. package/dist/chunks/{location-service-map-kzn4295t.js → kv-mgt2meas.js} +1 -1
  178. package/dist/chunks/{location-service-map-mvfsc1pv.js → kv-mhkvc446.js} +3 -3
  179. package/dist/chunks/{location-service-map-zkyrpvtj.js → kv-mj4srff6.js} +10 -10
  180. package/dist/chunks/{location-service-map-2q116s0g.js → kv-mm9h18qq.js} +3 -3
  181. package/dist/chunks/{location-service-map-cpwfp1a9.js → kv-mnm8ds97.js} +31 -31
  182. package/dist/chunks/{location-service-map-3j09gcwn.js → kv-mwb2myx2.js} +8 -8
  183. package/dist/chunks/{location-service-map-gvr8ekz8.js → kv-n2kj1sg0.js} +5 -5
  184. package/dist/chunks/{location-service-map-xevjxxfx.js → kv-n3ph6zq5.js} +24 -24
  185. package/dist/chunks/{location-service-map-a55jx63h.js → kv-n4r13bs7.js} +23 -23
  186. package/dist/chunks/{location-service-map-n57qrn3a.js → kv-n57qrn3a.js} +1 -1
  187. package/dist/chunks/{location-service-map-jf28ek8f.js → kv-ncsnqhtp.js} +20 -20
  188. package/dist/chunks/{location-service-map-anwrx3vb.js → kv-nnnd3cph.js} +81 -81
  189. package/dist/chunks/{location-service-map-csmm5m4x.js → kv-npfvvr87.js} +17 -17
  190. package/dist/chunks/{location-service-map-5h9eqmsr.js → kv-nphwcreh.js} +30 -30
  191. package/dist/chunks/{location-service-map-50mzsvk4.js → kv-nrdmrqsx.js} +4 -4
  192. package/dist/chunks/{location-service-map-1ze35xh4.js → kv-nv1zm4pp.js} +8 -8
  193. package/dist/chunks/{location-service-map-3sj8yt8v.js → kv-nxe4pcap.js} +4 -4
  194. package/dist/chunks/kv-p87d201m.js +507 -0
  195. package/dist/chunks/{location-service-map-tkmwgdpd.js → kv-pbfwh0cy.js} +4 -4
  196. package/dist/chunks/kv-phz3h32g.js +18 -0
  197. package/dist/chunks/{location-service-map-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{location-service-map-pknna89w.js → kv-pknna89w.js} +1 -1
  199. package/dist/chunks/{location-service-map-dc1bnmm6.js → kv-pkq59grd.js} +30 -30
  200. package/dist/chunks/{location-service-map-8sze2n9a.js → kv-py3kkmfq.js} +6 -6
  201. package/dist/chunks/{location-service-map-q0xm7vwc.js → kv-q0xm7vwc.js} +2 -2
  202. package/dist/chunks/{location-service-map-tv9et59k.js → kv-q9pqtv1v.js} +12 -12
  203. package/dist/chunks/{location-service-map-x24mjvnp.js → kv-qcmtpxqx.js} +10 -10
  204. package/dist/chunks/{location-service-map-2k8khapm.js → kv-qgn6gcr1.js} +5 -5
  205. package/dist/chunks/{location-service-map-ppzsh8xz.js → kv-qkybe0c6.js} +27 -27
  206. package/dist/chunks/{location-service-map-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{location-service-map-f4d9c169.js → kv-qne4kd6g.js} +9 -9
  208. package/dist/chunks/{location-service-map-cqv2wkh6.js → kv-qq0p66nj.js} +9 -9
  209. package/dist/chunks/{location-service-map-janz2r1q.js → kv-qq1s2205.js} +3 -3
  210. package/dist/chunks/{location-service-map-qsdy395h.js → kv-qsdy395h.js} +1 -1
  211. package/dist/chunks/{location-service-map-qxjc9qry.js → kv-qxjc9qry.js} +3 -3
  212. package/dist/chunks/{location-service-map-zyk1yjk8.js → kv-qygbw77c.js} +5 -5
  213. package/dist/chunks/{location-service-map-sten0bqb.js → kv-r8pf2rje.js} +14 -14
  214. package/dist/chunks/{location-service-map-nw42y7ya.js → kv-rbknh4pb.js} +2 -2
  215. package/dist/chunks/{location-service-map-vedpmp6c.js → kv-rck9djz0.js} +18 -18
  216. package/dist/chunks/{location-service-map-vthg97h9.js → kv-rcmda6tc.js} +3 -3
  217. package/dist/chunks/{location-service-map-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{location-service-map-tmq2emtr.js → kv-rjgdgsdr.js} +24 -24
  219. package/dist/chunks/{location-service-map-2mb2919b.js → kv-rns5tpwh.js} +11 -11
  220. package/dist/chunks/{location-service-map-p79d271j.js → kv-rqyrrfya.js} +20 -20
  221. package/dist/chunks/{location-service-map-xaaj1tye.js → kv-rszma2xn.js} +4 -4
  222. package/dist/chunks/{location-service-map-73esx20d.js → kv-rty6w89f.js} +2 -2
  223. package/dist/chunks/{location-service-map-0jmyq18g.js → kv-rvkykd53.js} +20 -20
  224. package/dist/chunks/{location-service-map-a6v06961.js → kv-s4h2qwma.js} +6 -6
  225. package/dist/chunks/{location-service-map-t550f9t1.js → kv-s8d7rejh.js} +4 -4
  226. package/dist/chunks/{location-service-map-nbfk4spf.js → kv-s8g2njyt.js} +32 -32
  227. package/dist/chunks/{location-service-map-pwqp88nm.js → kv-sajthb1z.js} +14 -14
  228. package/dist/chunks/{location-service-map-m5jcjszt.js → kv-sjgsw2hk.js} +2 -2
  229. package/dist/chunks/{location-service-map-3knmg7hh.js → kv-snaz9310.js} +7 -7
  230. package/dist/chunks/{location-service-map-tv7q41xk.js → kv-srq8z0b0.js} +9 -9
  231. package/dist/chunks/{location-service-map-1shzte8w.js → kv-ssabpyyc.js} +11 -11
  232. package/dist/chunks/{location-service-map-w9zfbjp4.js → kv-syzt422z.js} +12 -12
  233. package/dist/chunks/{location-service-map-tz4n1mmd.js → kv-t2az9yje.js} +4 -4
  234. package/dist/chunks/{location-service-map-j6d8s83h.js → kv-t6ymfg4y.js} +18 -18
  235. package/dist/chunks/{location-service-map-b1psh6s2.js → kv-t82wkkdn.js} +9 -9
  236. package/dist/chunks/{location-service-map-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{location-service-map-89znhe33.js → kv-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{location-service-map-tdstcens.js → kv-tdstcens.js} +1 -1
  239. package/dist/chunks/{location-service-map-mg9mkpg3.js → kv-th451jzy.js} +48 -48
  240. package/dist/chunks/{location-service-map-fv6z39q6.js → kv-tpsfpmb6.js} +14 -14
  241. package/dist/chunks/{location-service-map-2y6zpsdj.js → kv-tsaxfawh.js} +4 -4
  242. package/dist/chunks/{location-service-map-xecxzrdp.js → kv-v0es1rhs.js} +2 -2
  243. package/dist/chunks/{location-service-map-veqvce7d.js → kv-veqvce7d.js} +1 -1
  244. package/dist/chunks/{location-service-map-9hp16pdx.js → kv-vg59hbfz.js} +2 -2
  245. package/dist/chunks/{location-service-map-afrtgck4.js → kv-vkfdnwpx.js} +4 -4
  246. package/dist/chunks/{location-service-map-cjk3yztn.js → kv-vqhvr9h8.js} +3 -3
  247. package/dist/chunks/{location-service-map-rf4vyrz7.js → kv-vw57tvh8.js} +40 -40
  248. package/dist/chunks/{location-service-map-1y43ym7q.js → kv-vxepadaa.js} +2 -2
  249. package/dist/chunks/{location-service-map-0jd8n8rn.js → kv-vy7h43fk.js} +16 -16
  250. package/dist/chunks/{location-service-map-gm6f8w1r.js → kv-vyrrmp6x.js} +11 -11
  251. package/dist/chunks/{location-service-map-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{location-service-map-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-service-map-9vaedqxn.js → kv-w3zwv4wx.js} +14 -14
  254. package/dist/chunks/{location-service-map-wd87259q.js → kv-wd87259q.js} +1 -1
  255. package/dist/chunks/{location-service-map-zpts693v.js → kv-wdp4gayr.js} +9 -9
  256. package/dist/chunks/{location-service-map-c3zehg50.js → kv-wehq120m.js} +11 -11
  257. package/dist/chunks/{location-service-map-tx2y3b3g.js → kv-wemkyzrv.js} +5 -5
  258. package/dist/chunks/{location-service-map-v1f6cgh9.js → kv-wjxa98ap.js} +19 -19
  259. package/dist/chunks/{location-service-map-7qtaxanh.js → kv-ws4sjaxf.js} +5 -5
  260. package/dist/chunks/{location-service-map-x661k3y3.js → kv-x661k3y3.js} +1 -1
  261. package/dist/chunks/{location-service-map-xcprcbs0.js → kv-x6byvdkw.js} +3 -3
  262. package/dist/chunks/{location-service-map-zpkmj148.js → kv-xayvb0hr.js} +6 -6
  263. package/dist/chunks/{location-service-map-3br01mcr.js → kv-xdfad79h.js} +40 -40
  264. package/dist/chunks/{location-service-map-xfkkasph.js → kv-xfkkasph.js} +1 -1
  265. package/dist/chunks/{location-service-map-xkntkrq7.js → kv-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{location-service-map-9d29k2sy.js → kv-xmd9wz50.js} +2 -2
  267. package/dist/chunks/{location-service-map-2ky06ky9.js → kv-xpcvy2br.js} +15 -15
  268. package/dist/chunks/{location-service-map-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{location-service-map-em5gwgnx.js → kv-yc7nxbe2.js} +119 -119
  270. package/dist/chunks/{location-service-map-s7nv2rwz.js → kv-ygdna4kr.js} +5 -5
  271. package/dist/chunks/{location-service-map-snyghj24.js → kv-yjkarpge.js} +15 -15
  272. package/dist/chunks/{location-service-map-vc751hta.js → kv-ykgnqdw6.js} +9 -9
  273. package/dist/chunks/{location-service-map-yp2x3t23.js → kv-yp2x3t23.js} +1 -1
  274. package/dist/chunks/{location-service-map-6req7aj4.js → kv-ys2gqn7k.js} +18 -18
  275. package/dist/chunks/{location-service-map-tbwdsz02.js → kv-ys3pca7w.js} +11 -11
  276. package/dist/chunks/{location-service-map-9vmwa021.js → kv-ytyv5eys.js} +16 -16
  277. package/dist/chunks/{location-service-map-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-service-map-dgm945yk.js → kv-z182drtd.js} +20 -20
  279. package/dist/chunks/{location-service-map-rfrf17aw.js → kv-zc5g640q.js} +5 -5
  280. package/dist/chunks/{location-service-map-aywfxs4m.js → kv-zfs8ae4p.js} +4 -4
  281. package/dist/chunks/{location-service-map-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{location-service-map-r2gzg7ce.js → kv-zszxba2s.js} +17 -17
  283. package/dist/chunks/{location-service-map-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +82 -82
  289. package/dist/config/discovery.js +85 -85
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +100 -100
  292. package/dist/config/plugin/agent.js +119 -119
  293. package/dist/config/plugin/command.js +208 -208
  294. package/dist/config/plugin/compaction.js +155 -155
  295. package/dist/config/plugin/compatibility.js +135 -135
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +117 -117
  299. package/dist/config/plugin/instruction.js +91 -91
  300. package/dist/config/plugin/location-watcher.js +117 -117
  301. package/dist/config/plugin/mcp.js +126 -126
  302. package/dist/config/plugin/policy.js +118 -118
  303. package/dist/config/plugin/provider.js +117 -117
  304. package/dist/config/plugin/reference.js +119 -119
  305. package/dist/config/plugin/shell.js +119 -119
  306. package/dist/config/plugin/skill-file.js +103 -103
  307. package/dist/config/plugin/skill.js +138 -138
  308. package/dist/config/plugin/snapshot.js +117 -117
  309. package/dist/config/plugin/source.js +120 -120
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +118 -118
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +122 -122
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +76 -76
  318. package/dist/database/database.js +67 -67
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration.gen.js +50 -50
  385. package/dist/database/migration.js +52 -52
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +90 -90
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +92 -92
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +71 -71
  409. package/dist/file-access.js +105 -105
  410. package/dist/file-mutation.js +95 -95
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +219 -219
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +104 -104
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +107 -107
  423. package/dist/form.js +73 -73
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +104 -104
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +92 -92
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +88 -88
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +80 -80
  456. package/dist/job.js +77 -77
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +74 -74
  459. package/dist/location-activity.js +132 -132
  460. package/dist/location-lifecycle.js +108 -108
  461. package/dist/location-service-map.js +87 -87
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +82 -82
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +92 -92
  466. package/dist/mcp/index.js +106 -106
  467. package/dist/mcp/instructions.js +126 -126
  468. package/dist/mcp/oauth.js +76 -76
  469. package/dist/mcp/stdio.js +91 -91
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +92 -92
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +93 -93
  474. package/dist/models-dev.js +108 -108
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +81 -81
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +91 -91
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +76 -76
  484. package/dist/plugin/agent.js +77 -77
  485. package/dist/plugin/command.js +103 -103
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +212 -212
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +97 -97
  493. package/dist/plugin/module.js +118 -118
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +103 -103
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  498. package/dist/plugin/provider/azure.js +118 -118
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +95 -95
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +113 -113
  505. package/dist/plugin/provider/digitalocean.js +94 -94
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +96 -96
  509. package/dist/plugin/provider/gitlab.js +94 -94
  510. package/dist/plugin/provider/google-vertex.js +91 -91
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +79 -79
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/local.js +114 -114
  515. package/dist/plugin/provider/modal.js +93 -93
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +117 -117
  518. package/dist/plugin/provider/openai.js +96 -96
  519. package/dist/plugin/provider/opencode.js +98 -98
  520. package/dist/plugin/provider/openrouter.js +92 -92
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +80 -80
  523. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  524. package/dist/plugin/provider/sap-ai-core.js +92 -92
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  527. package/dist/plugin/provider/vercel.js +91 -91
  528. package/dist/plugin/provider/vllm.js +117 -117
  529. package/dist/plugin/provider/xai.js +92 -92
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +77 -77
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +135 -135
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +342 -342
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +87 -87
  540. package/dist/plugin/vcs/hg.js +87 -87
  541. package/dist/plugin/verbosity.js +94 -94
  542. package/dist/plugin/warming.js +115 -115
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +223 -223
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +81 -81
  554. package/dist/provider.js +96 -96
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +96 -96
  558. package/dist/reference/instructions.js +90 -90
  559. package/dist/reference.js +90 -90
  560. package/dist/repository-cache.js +82 -82
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +96 -96
  564. package/dist/rpc.js +85 -85
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +75 -75
  568. package/dist/session/compaction.js +136 -136
  569. package/dist/session/context.js +154 -154
  570. package/dist/session/diff.js +89 -89
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +3 -3
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +215 -215
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +153 -153
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +85 -85
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +80 -80
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +98 -98
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +121 -121
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +130 -130
  588. package/dist/session/projector.js +87 -87
  589. package/dist/session/prompt.js +106 -106
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +91 -91
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +99 -99
  597. package/dist/session/runner/publish-llm-event.js +114 -114
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +124 -124
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +3 -3
  602. package/dist/session/session.js +163 -163
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +104 -104
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +74 -74
  607. package/dist/session/store.js +88 -88
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +156 -156
  612. package/dist/session/to-session-error.js +112 -112
  613. package/dist/session/transfer.js +208 -208
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +210 -210
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +131 -131
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +106 -106
  623. package/dist/skill.js +113 -113
  624. package/dist/snapshot.js +90 -90
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +125 -125
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +125 -125
  632. package/dist/tool/plugin/grep.js +125 -125
  633. package/dist/tool/plugin/mcp-resource.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +123 -123
  636. package/dist/tool/plugin/question.js +104 -104
  637. package/dist/tool/plugin/read.js +126 -126
  638. package/dist/tool/plugin/shell.js +211 -211
  639. package/dist/tool/plugin/skill.js +114 -114
  640. package/dist/tool/plugin/subagent.js +211 -211
  641. package/dist/tool/plugin/webfetch.js +111 -111
  642. package/dist/tool/plugin/websearch.js +113 -113
  643. package/dist/tool/plugin/write.js +123 -123
  644. package/dist/tool/read-filesystem.js +101 -101
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +93 -93
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +94 -94
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +90 -90
  669. package/dist/websearch.js +85 -85
  670. package/dist/wellknown/plugin.js +75 -75
  671. package/dist/wellknown.js +82 -82
  672. package/dist/workspace/driver.js +1 -1
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +71 -71
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +90 -90
  679. package/dist/worktree.js +97 -97
  680. package/package.json +8 -8
  681. package/dist/chunks/location-service-map-9zdhvgqs.js +0 -18
  682. package/dist/chunks/location-service-map-eq4v9m8y.js +0 -253
  683. package/dist/chunks/location-service-map-nyf6va6s.js +0 -507
  684. package/dist/chunks/location-service-map-tp2bs2c5.js +0 -26
  685. /package/dist/chunks/{location-service-map-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{location-service-map-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{location-service-map-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{location-service-map-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{location-service-map-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{location-service-map-24dcb14g.js → kv-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{location-service-map-2710q6r3.js → kv-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{location-service-map-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{location-service-map-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{location-service-map-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{location-service-map-359p4xyc.js → kv-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{location-service-map-3asan66x.js → kv-3asan66x.js} +0 -0
  697. /package/dist/chunks/{location-service-map-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{location-service-map-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{location-service-map-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{location-service-map-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{location-service-map-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{location-service-map-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{location-service-map-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{location-service-map-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{location-service-map-53557ph1.js → kv-53557ph1.js} +0 -0
  706. /package/dist/chunks/{location-service-map-550bvhaj.js → kv-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{location-service-map-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{location-service-map-6prwharc.js → kv-6prwharc.js} +0 -0
  709. /package/dist/chunks/{location-service-map-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{location-service-map-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{location-service-map-7m9af43g.js → kv-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{location-service-map-822emrt2.js → kv-822emrt2.js} +0 -0
  713. /package/dist/chunks/{location-service-map-84wd9syh.js → kv-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{location-service-map-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{location-service-map-8n3pysct.js → kv-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{location-service-map-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{location-service-map-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{location-service-map-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{location-service-map-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{location-service-map-af5trqkr.js → kv-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{location-service-map-afrmfg78.js → kv-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{location-service-map-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{location-service-map-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{location-service-map-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{location-service-map-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{location-service-map-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{location-service-map-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{location-service-map-d9fn303g.js → kv-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{location-service-map-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{location-service-map-dajrwvna.js → kv-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{location-service-map-dap0rakb.js → kv-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{location-service-map-df08tz66.js → kv-df08tz66.js} +0 -0
  733. /package/dist/chunks/{location-service-map-dy18nga0.js → kv-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{location-service-map-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{location-service-map-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{location-service-map-ec1grn59.js → kv-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{location-service-map-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{location-service-map-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{location-service-map-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{location-service-map-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{location-service-map-faypxj3z.js → kv-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{location-service-map-fd410y7t.js → kv-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{location-service-map-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{location-service-map-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{location-service-map-g86h250q.js → kv-g86h250q.js} +0 -0
  746. /package/dist/chunks/{location-service-map-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{location-service-map-gftt206x.js → kv-gftt206x.js} +0 -0
  748. /package/dist/chunks/{location-service-map-hk9envan.js → kv-hk9envan.js} +0 -0
  749. /package/dist/chunks/{location-service-map-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{location-service-map-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{location-service-map-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{location-service-map-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{location-service-map-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{location-service-map-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{location-service-map-mp448xyj.js → kv-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{location-service-map-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{location-service-map-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{location-service-map-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{location-service-map-njntx4h6.js → kv-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{location-service-map-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{location-service-map-q74kybfr.js → kv-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{location-service-map-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{location-service-map-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{location-service-map-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{location-service-map-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{location-service-map-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{location-service-map-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{location-service-map-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{location-service-map-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{location-service-map-w803qqfp.js → kv-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{location-service-map-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{location-service-map-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{location-service-map-wtztk69x.js → kv-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{location-service-map-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{location-service-map-x61499pn.js → kv-x61499pn.js} +0 -0
  776. /package/dist/chunks/{location-service-map-y44na4kk.js → kv-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{location-service-map-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{location-service-map-y8f7s663.js → kv-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{location-service-map-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{location-service-map-ym463w8f.js → kv-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{location-service-map-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{location-service-map-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-service-map-z5v4ffb3.js";
3
+ } from "./kv-z5v4ffb3.js";
4
4
  import {
5
5
  Service80
6
- } from "./location-service-map-9hp16pdx.js";
6
+ } from "./kv-vg59hbfz.js";
7
7
  import {
8
8
  __export
9
- } from "./location-service-map-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3
16
+ names: () => names4
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names3 = ["opencode.json", "opencode.jsonc"];
22
+ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names3, discover3, exports_discovery2 };
59
+ export { names4, discover3, exports_discovery2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-service-map-z5v4ffb3.js";
3
+ } from "./kv-z5v4ffb3.js";
4
4
  import {
5
- Info14
6
- } from "./location-service-map-50mzsvk4.js";
5
+ Info10
6
+ } from "./kv-nrdmrqsx.js";
7
7
  import {
8
8
  __export
9
- } from "./location-service-map-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info13
15
+ Info: () => Info7
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info14)
47
+ permission: Schema.optional(Info10)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info7 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info13, exports_agent3 };
74
+ export { Info7, exports_agent3 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-service-map-hv5wevtb.js";
4
+ } from "./kv-35a7vcrd.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-service-map-dpkg50ah.js";
7
+ } from "./kv-dpkg50ah.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./location-service-map-2y6zpsdj.js";
11
+ } from "./kv-tsaxfawh.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./location-service-map-ec1grn59.js";
14
+ } from "./kv-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./location-service-map-gftt206x.js";
17
+ } from "./kv-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./location-service-map-m5jcjszt.js";
20
+ } from "./kv-sjgsw2hk.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./location-service-map-kb9j3d72.js";
24
+ } from "./kv-9e5bzkjp.js";
25
25
  import {
26
26
  __export
27
- } from "./location-service-map-9rqn6x4v.js";
27
+ } from "./kv-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info6,
35
+ Info: () => Info5,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service36,
40
+ Service: () => Service33,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -50,7 +50,7 @@ __export(exports_inbox, {
50
50
  make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node38,
53
+ node: () => node35,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info6,
68
+ Info as Info5,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service36 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service33 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
156
  var make17 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info6.make({
176
+ }).pipe(Effect.map((event) => Info5.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer16 = Layer.effect(Service36, make17());
231
- var node38 = makeGlobalNode({ service: Service36, layer: layer16, deps: [node88, node87] });
230
+ var layer16 = Layer.effect(Service33, make17());
231
+ var node35 = makeGlobalNode({ service: Service33, layer: layer16, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service36, make17, layer16, node38, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service33, make17, layer16, node35, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./location-service-map-5t3nmthw.js";
3
+ } from "./kv-5t3nmthw.js";
4
4
  import {
5
- Service67,
6
- node70
7
- } from "./location-service-map-v1f6cgh9.js";
5
+ Service68,
6
+ node71
7
+ } from "./kv-wjxa98ap.js";
8
8
  import {
9
9
  __export
10
- } from "./location-service-map-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service66,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer23,
20
- node: () => node69
17
+ Service: () => Service65,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer22,
20
+ node: () => node68
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
28
28
  }) {
29
29
  }
30
30
 
31
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
32
32
  message: Schema.String,
33
33
  service: Schema.optional(Schema.String)
34
34
  }) {
35
35
  }
36
36
 
37
- class Service66 extends Context.Service()("@opencode/Generate") {
37
+ class Service65 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer23 = Layer.effect(Service66, Effect.gen(function* () {
39
+ var layer22 = Layer.effect(Service65, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service67;
41
+ const resolver = yield* Service68;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -48,7 +48,7 @@ var layer23 = Layer.effect(Service66, Effect.gen(function* () {
48
48
  "SessionRunnerModel.UnresolvedProviderVariablesError",
49
49
  "SessionRunnerModel.UnsupportedCompactionError"
50
50
  ], (error) => {
51
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer23 = Layer.effect(Service66, Effect.gen(function* () {
59
59
  model: resolved.model,
60
60
  prompt: input.prompt,
61
61
  http: { headers: { "x-opencode-session": SessionID.create() } }
62
- })).pipe(Effect.mapError((error) => new UnavailableError3({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError2({
63
63
  message: error.message,
64
64
  service: resolved.ref.providerID
65
65
  })));
66
66
  return response.text;
67
67
  });
68
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service66.of({ text });
71
+ return Service65.of({ text });
72
72
  }));
73
- var node69 = makeLocationNode({
74
- service: Service66,
75
- layer: layer23,
76
- deps: [node70, llmClient2]
73
+ var node68 = makeLocationNode({
74
+ service: Service65,
75
+ layer: layer22,
76
+ deps: [node71, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError3, Service66, layer23, node69, exports_generate2 };
79
+ export { ModelSelectionError2, UnavailableError2, Service65, layer22, node68, exports_generate2 };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-service-map-hv5wevtb.js";
4
+ } from "./kv-35a7vcrd.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./location-service-map-2y6zpsdj.js";
8
+ } from "./kv-tsaxfawh.js";
9
9
  import {
10
- Service60,
11
- node62
12
- } from "./location-service-map-pwqp88nm.js";
10
+ Service51,
11
+ node54
12
+ } from "./kv-sajthb1z.js";
13
13
  import {
14
- Service38,
15
- node40
16
- } from "./location-service-map-p7a39gy5.js";
14
+ Service34,
15
+ node36
16
+ } from "./kv-9ae44cfy.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-service-map-ec1grn59.js";
19
+ } from "./kv-ec1grn59.js";
20
20
  import {
21
21
  make16
22
- } from "./location-service-map-yp2x3t23.js";
22
+ } from "./kv-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service35
26
- } from "./location-service-map-tz4n1mmd.js";
25
+ Service32
26
+ } from "./kv-t2az9yje.js";
27
27
  import {
28
- Service57,
29
- node59
30
- } from "./location-service-map-9vaedqxn.js";
28
+ Service58,
29
+ node61
30
+ } from "./kv-w3zwv4wx.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./location-service-map-5y8fd58d.js";
33
+ } from "./kv-enf12tk9.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./location-service-map-kneamgfa.js";
36
+ } from "./kv-at2kzgpx.js";
37
37
  import {
38
38
  __export
39
- } from "./location-service-map-9rqn6x4v.js";
39
+ } from "./kv-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service34,
44
+ Service: () => Service31,
45
45
  SessionExecution: () => exports_execution,
46
46
  layer: () => layer15,
47
- node: () => node37,
47
+ node: () => node34,
48
48
  noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service34 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service31 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer15 = Layer.effect(Service34, Effect.gen(function* () {
63
- const store = yield* Service57;
64
- const instances = yield* Service38;
62
+ var layer15 = Layer.effect(Service31, Effect.gen(function* () {
63
+ const store = yield* Service58;
64
+ const instances = yield* Service34;
65
65
  const bus = yield* Service83;
66
- const jobs = yield* Service60;
66
+ const jobs = yield* Service51;
67
67
  const db = (yield* Service84).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,7 +76,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service35.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service32.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service34.of({
107
+ return Service31.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node37 = makeGlobalNode({
127
- service: Service34,
126
+ var node34 = makeGlobalNode({
127
+ service: Service31,
128
128
  layer: layer15,
129
- deps: [node59, node40, node87, node88, node62]
129
+ deps: [node61, node36, node87, node88, node54]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service34, Service34.of({
131
+ var noopLayer2 = Layer.succeed(Service31, Service31.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service34, Service34.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service34, terminal2, layer15, node37, noopLayer2, exports_execution };
140
+ export { Service31, terminal2, layer15, node34, noopLayer2, exports_execution };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-service-map-2a5m3afh.js";
5
+ } from "./kv-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./location-service-map-9rqn6x4v.js";
8
+ } from "./kv-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-service-map-2y6zpsdj.js";
4
+ } from "./kv-tsaxfawh.js";
5
5
  import {
6
- node56
7
- } from "./location-service-map-3jq3pnk6.js";
6
+ node42
7
+ } from "./kv-3bh97vej.js";
8
8
  import {
9
- Service4,
10
- node6
11
- } from "./location-service-map-92pnwrb8.js";
9
+ Service10,
10
+ node12
11
+ } from "./kv-77pjx4k4.js";
12
12
  import {
13
- Service12
14
- } from "./location-service-map-1gpjfezg.js";
13
+ Service52
14
+ } from "./kv-5ymsght2.js";
15
15
  import {
16
- Service30
17
- } from "./location-service-map-9zdhvgqs.js";
16
+ Service23
17
+ } from "./kv-phz3h32g.js";
18
18
  import {
19
- node21,
20
- ID3
21
- } from "./location-service-map-jf28ek8f.js";
19
+ node18,
20
+ ID2
21
+ } from "./kv-ncsnqhtp.js";
22
22
  import {
23
- Service8,
24
- node10
25
- } from "./location-service-map-1ajx6rf5.js";
23
+ Service5,
24
+ node7
25
+ } from "./kv-cmwkp3r5.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./location-service-map-nyf6va6s.js";
30
+ } from "./kv-p87d201m.js";
31
31
  import {
32
- make6,
32
+ make8,
33
33
  LoadError2
34
- } from "./location-service-map-711y4ma3.js";
34
+ } from "./kv-6zz3m0fh.js";
35
35
  import {
36
36
  Updated2,
37
- Service10,
38
- node12
39
- } from "./location-service-map-7a1hshqp.js";
37
+ Service4,
38
+ node6
39
+ } from "./kv-ecfxfkv3.js";
40
40
  import {
41
- Service9,
42
- node11
43
- } from "./location-service-map-xf8yqmad.js";
41
+ Service6,
42
+ node8
43
+ } from "./kv-bydnjh3t.js";
44
44
  import {
45
45
  __export
46
- } from "./location-service-map-9rqn6x4v.js";
46
+ } from "./kv-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
127
127
  failures: [
128
128
  ...failures.values(),
129
129
  ...ordered.filter(duplicate).map((plugin) => ({
130
- id: ID3.make(plugin.id),
130
+ id: ID2.make(plugin.id),
131
131
  source: plugin.source ?? { type: "builtin" },
132
132
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
133
133
  features: { server: true, ...plugin.features }
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
137
137
  };
138
138
  });
139
139
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service12;
141
- const registry = yield* Service30;
142
- const sdk = yield* Service10;
143
- const instance = yield* Service8;
144
- const sources = yield* Service4;
145
- const modules = yield* make6();
140
+ const managed = yield* Service52;
141
+ const registry = yield* Service23;
142
+ const sdk = yield* Service4;
143
+ const instance = yield* Service5;
144
+ const sources = yield* Service10;
145
+ const modules = yield* make8();
146
146
  const bus = yield* Service83;
147
- const updates = yield* Service9;
147
+ const updates = yield* Service6;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node21,
224
- node12,
225
- node10,
223
+ node18,
226
224
  node6,
227
- node11,
225
+ node7,
226
+ node12,
227
+ node8,
228
228
  node87,
229
229
  Npm.node,
230
- node56,
230
+ node42,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service33
6
- } from "./location-service-map-fr637340.js";
5
+ Service30
6
+ } from "./kv-39eerbas.js";
7
7
  import {
8
- Service56
9
- } from "./location-service-map-8r1f1zwq.js";
8
+ Service57
9
+ } from "./kv-3k6tstd2.js";
10
10
  import {
11
11
  __export
12
- } from "./location-service-map-9rqn6x4v.js";
12
+ } from "./kv-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin43
18
+ Plugin: () => Plugin28
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin43 = {
22
+ var Plugin28 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service33;
26
- const permission = yield* Service56;
25
+ const mcp = yield* Service30;
26
+ const permission = yield* Service57;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin43 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin43, exports_mcp_resource };
96
+ export { Plugin28, exports_mcp_resource };