@opencode/core 0.0.0-dev-20147 → 0.0.0-dev-20150

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{schema-r98e92ep.js → kv-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{schema-r1ht1y7w.js → kv-0511jhxe.js} +11 -11
  9. package/dist/chunks/{schema-anbdq9pc.js → kv-0ccn2szc.js} +18 -18
  10. package/dist/chunks/{schema-01q8mg5a.js → kv-0cw0akfc.js} +90 -90
  11. package/dist/chunks/{schema-hdwy771y.js → kv-0d5t8cba.js} +11 -11
  12. package/dist/chunks/{schema-fxpxkdge.js → kv-0h7tmae7.js} +23 -23
  13. package/dist/chunks/{schema-8kkpa49p.js → kv-0jgz5j6j.js} +5 -5
  14. package/dist/chunks/{schema-6hjx5zpb.js → kv-0jq9fyba.js} +9 -9
  15. package/dist/chunks/{schema-659sfxq9.js → kv-0mm9aq32.js} +20 -20
  16. package/dist/chunks/{schema-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{schema-02wmds2c.js → kv-0x6jpydm.js} +4 -4
  18. package/dist/chunks/{schema-zg5v86p0.js → kv-10pg2g46.js} +3 -3
  19. package/dist/chunks/{schema-1bbkgx8g.js → kv-1bbkgx8g.js} +1 -1
  20. package/dist/chunks/{schema-ce5fknq2.js → kv-1cfb3ja4.js} +5 -5
  21. package/dist/chunks/{schema-6ftnbkqh.js → kv-1d4ma8zv.js} +38 -38
  22. package/dist/chunks/{schema-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{schema-tp9yn0rb.js → kv-1jxxd7zj.js} +4 -4
  24. package/dist/chunks/{schema-3j9d4fgr.js → kv-1qpw2tv6.js} +10 -10
  25. package/dist/chunks/{schema-6en7jsbn.js → kv-1tah3m9p.js} +15 -15
  26. package/dist/chunks/{schema-1ygqh575.js → kv-1ygqh575.js} +2 -2
  27. package/dist/chunks/{schema-xmx293k5.js → kv-1ypg9fph.js} +23 -23
  28. package/dist/chunks/{schema-21r38tys.js → kv-21r38tys.js} +1 -1
  29. package/dist/chunks/{schema-6h73sxmp.js → kv-2402vzrj.js} +5 -5
  30. package/dist/chunks/{schema-svr80ky5.js → kv-2567g30s.js} +71 -71
  31. package/dist/chunks/{schema-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{schema-wrsptv21.js → kv-2cqzhaz4.js} +4 -4
  33. package/dist/chunks/{schema-s4q2v5s3.js → kv-2gt6ag0v.js} +10 -10
  34. package/dist/chunks/{schema-e04544d7.js → kv-2jmrv99g.js} +20 -20
  35. package/dist/chunks/{schema-0jwsre1p.js → kv-2k8khapm.js} +5 -5
  36. package/dist/chunks/{schema-9rmbnpj5.js → kv-2kzjx7wg.js} +2 -2
  37. package/dist/chunks/{schema-xgdsspm4.js → kv-3cfn41g4.js} +35 -35
  38. package/dist/chunks/{schema-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{schema-hf0mkt0x.js → kv-3geyhfdf.js} +1 -1
  40. package/dist/chunks/{schema-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{schema-qe26s0zb.js → kv-3rtxz4nr.js} +8 -8
  42. package/dist/chunks/{schema-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{schema-62v4907p.js → kv-3t7xaxq6.js} +22 -22
  44. package/dist/chunks/{schema-es758s33.js → kv-3td06z3c.js} +20 -20
  45. package/dist/chunks/{schema-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{schema-y0xmc8cr.js → kv-3w0ncrsd.js} +2 -2
  47. package/dist/chunks/{schema-4p8415jn.js → kv-3x1dzzzh.js} +20 -20
  48. package/dist/chunks/{schema-2vvj6rba.js → kv-3xaf2hpn.js} +1 -1
  49. package/dist/chunks/{schema-gah6wse8.js → kv-3z59g7s8.js} +7 -7
  50. package/dist/chunks/{schema-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{schema-ywmyccm2.js → kv-4cadcykb.js} +20 -20
  52. package/dist/chunks/{schema-cv6v52d9.js → kv-4e3xp5h4.js} +18 -18
  53. package/dist/chunks/{schema-r99neq4v.js → kv-4eaqzgc4.js} +3 -3
  54. package/dist/chunks/{schema-hkfg6fzm.js → kv-4phm5153.js} +5 -5
  55. package/dist/chunks/{schema-mjvn4zm4.js → kv-4pqsajg3.js} +10 -10
  56. package/dist/chunks/{schema-0attd1ej.js → kv-4yqnp489.js} +12 -12
  57. package/dist/chunks/{schema-jw80jp6b.js → kv-50mzsvk4.js} +4 -4
  58. package/dist/chunks/{schema-aezpzgnt.js → kv-52w8pz0g.js} +13 -13
  59. package/dist/chunks/{schema-54tcyq79.js → kv-54tcyq79.js} +2 -2
  60. package/dist/chunks/{schema-0kryq94n.js → kv-55gmjfj6.js} +8 -8
  61. package/dist/chunks/{schema-57ez7d0k.js → kv-57ez7d0k.js} +2 -2
  62. package/dist/chunks/{schema-q4hmxj4a.js → kv-58bm0art.js} +146 -146
  63. package/dist/chunks/{schema-5daktx2q.js → kv-5daktx2q.js} +1 -1
  64. package/dist/chunks/{schema-1hhry64t.js → kv-5epaarjt.js} +10 -10
  65. package/dist/chunks/{schema-8pgwyz8n.js → kv-5qsh0v84.js} +2 -2
  66. package/dist/chunks/{schema-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{schema-1htzjx3s.js → kv-5xk3y1mg.js} +9 -9
  68. package/dist/chunks/{schema-5yzzbxa7.js → kv-5yzzbxa7.js} +1 -1
  69. package/dist/chunks/{schema-9zbf59cj.js → kv-61a47mvy.js} +15 -15
  70. package/dist/chunks/{schema-wnavy81w.js → kv-62wqep1k.js} +32 -32
  71. package/dist/chunks/{schema-669tq793.js → kv-669tq793.js} +1 -1
  72. package/dist/chunks/{schema-r5xqv1fp.js → kv-67qa6aef.js} +5 -5
  73. package/dist/chunks/{schema-j433k3ah.js → kv-69jdjb90.js} +32 -32
  74. package/dist/chunks/{schema-sydz09wp.js → kv-6b0fgk81.js} +32 -32
  75. package/dist/chunks/{schema-z6zxveg6.js → kv-6ekhnjfk.js} +9 -9
  76. package/dist/chunks/{schema-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{schema-wc287v3v.js → kv-6w2h0fz9.js} +9 -9
  78. package/dist/chunks/{schema-eq20ba7x.js → kv-6ymymyv8.js} +6 -6
  79. package/dist/chunks/{schema-df71sjqe.js → kv-7abdfd9g.js} +22 -22
  80. package/dist/chunks/{schema-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{schema-6pc27hjz.js → kv-7fkffz83.js} +8 -8
  82. package/dist/chunks/{schema-j1zk5myr.js → kv-7jddr6gf.js} +174 -174
  83. package/dist/chunks/{schema-5cmxdwv8.js → kv-7w99qc9d.js} +3 -3
  84. package/dist/chunks/{schema-9213mvz8.js → kv-7yxa3nsp.js} +17 -17
  85. package/dist/chunks/{schema-vtp78vb3.js → kv-826khv63.js} +9 -9
  86. package/dist/chunks/{schema-jg25py4x.js → kv-85xbdk8f.js} +18 -18
  87. package/dist/chunks/{schema-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{schema-bawhc7q1.js → kv-8f4w13p0.js} +7 -7
  89. package/dist/chunks/{schema-bpratrbj.js → kv-8fe4dz4x.js} +8 -8
  90. package/dist/chunks/{schema-w1ad28wa.js → kv-8mfdap3f.js} +8 -8
  91. package/dist/chunks/{schema-jvexc5ky.js → kv-8qq09bkg.js} +5 -5
  92. package/dist/chunks/{schema-ceks70kf.js → kv-8wpsay1h.js} +12 -12
  93. package/dist/chunks/{schema-xfkq7hhm.js → kv-9393pfnj.js} +24 -24
  94. package/dist/chunks/{schema-h6ata8bv.js → kv-9gavmhjr.js} +23 -23
  95. package/dist/chunks/{schema-phwvgf2n.js → kv-9rbjm57m.js} +28 -28
  96. package/dist/chunks/{schema-xj9an458.js → kv-a4e2f35m.js} +11 -11
  97. package/dist/chunks/{schema-wbeghawe.js → kv-a8vqk219.js} +19 -19
  98. package/dist/chunks/{schema-aaet6srn.js → kv-aaet6srn.js} +2 -2
  99. package/dist/chunks/{schema-6z06gbqc.js → kv-ahw5pyz9.js} +7 -7
  100. package/dist/chunks/{schema-mssxhbmx.js → kv-akes9ecd.js} +32 -32
  101. package/dist/chunks/{schema-m1tf57me.js → kv-akzgx552.js} +11 -11
  102. package/dist/chunks/{schema-ms84bj92.js → kv-amrmn45z.js} +43 -43
  103. package/dist/chunks/{schema-9bs9pkv6.js → kv-b14nvtsk.js} +20 -20
  104. package/dist/chunks/{schema-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{schema-aqkbpc1t.js → kv-b905h8ee.js} +33 -33
  106. package/dist/chunks/{schema-6y0m36e6.js → kv-bdhvfwg8.js} +25 -25
  107. package/dist/chunks/{schema-e6hmchc5.js → kv-bgxcxs0p.js} +5 -5
  108. package/dist/chunks/{schema-bjtzbw4r.js → kv-bjtzbw4r.js} +3 -3
  109. package/dist/chunks/{schema-jvzqejyw.js → kv-br4s61vx.js} +17 -17
  110. package/dist/chunks/{schema-jdj92c4g.js → kv-bra465g3.js} +18 -18
  111. package/dist/chunks/{schema-vvvs0jwh.js → kv-btyqbk06.js} +4 -4
  112. package/dist/chunks/{schema-za5cqyrv.js → kv-c0pm8rrr.js} +19 -19
  113. package/dist/chunks/{schema-9e1jtxq5.js → kv-c1twzmh3.js} +24 -24
  114. package/dist/chunks/{schema-ggxapr4n.js → kv-cb2d4jeh.js} +17 -17
  115. package/dist/chunks/{schema-02kbzxrb.js → kv-cxn490c7.js} +11 -11
  116. package/dist/chunks/kv-d1vj0asq.js +26 -0
  117. package/dist/chunks/{schema-sp0b9gx5.js → kv-d569heh4.js} +12 -12
  118. package/dist/chunks/{schema-0mk5rbah.js → kv-d82m1p2r.js} +9 -9
  119. package/dist/chunks/{schema-1ed2t66p.js → kv-d8cw0a7r.js} +4 -4
  120. package/dist/chunks/{schema-faj2svbs.js → kv-dda0p7y7.js} +9 -9
  121. package/dist/chunks/{schema-c78bbtc9.js → kv-dj9sq318.js} +5 -5
  122. package/dist/chunks/{schema-tqk88y0w.js → kv-dn3bqgaq.js} +31 -31
  123. package/dist/chunks/{schema-9m1qw5e9.js → kv-dw9h4d1s.js} +14 -14
  124. package/dist/chunks/{schema-fn7m6sq4.js → kv-dxfvb7hs.js} +4 -4
  125. package/dist/chunks/kv-dxj72tfx.js +18 -0
  126. package/dist/chunks/{schema-m0f2xe1s.js → kv-dxqpzvvj.js} +41 -41
  127. package/dist/chunks/{schema-1qp06jtb.js → kv-e4bz7cx2.js} +13 -13
  128. package/dist/chunks/{schema-edc4vr76.js → kv-e90a3qe2.js} +314 -314
  129. package/dist/chunks/{schema-ecfe7b91.js → kv-ecfe7b91.js} +2 -2
  130. package/dist/chunks/{schema-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{schema-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{schema-k268tg8b.js → kv-f63mczk8.js} +3 -3
  133. package/dist/chunks/{schema-vevrkrar.js → kv-f6xb9bw7.js} +30 -30
  134. package/dist/chunks/{schema-44k7vfsg.js → kv-fe39wqx3.js} +32 -32
  135. package/dist/chunks/{schema-xqv87xzy.js → kv-fee0bcte.js} +25 -25
  136. package/dist/chunks/{schema-rph3zd4r.js → kv-fng9e0je.js} +4 -4
  137. package/dist/chunks/{schema-wkbehqst.js → kv-ft0vvk11.js} +48 -48
  138. package/dist/chunks/{schema-x5aajpce.js → kv-fwvq52tk.js} +8 -8
  139. package/dist/chunks/{schema-de52ckkz.js → kv-gc4fb455.js} +4 -4
  140. package/dist/chunks/{schema-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{schema-y0cr4b1c.js → kv-gfj9qsaq.js} +16 -16
  142. package/dist/chunks/{schema-gfvb90ym.js → kv-gfvb90ym.js} +2 -2
  143. package/dist/chunks/{schema-71v07zn3.js → kv-gpk5d2zr.js} +20 -20
  144. package/dist/chunks/{schema-80q6mq1f.js → kv-grd9cd6m.js} +21 -21
  145. package/dist/chunks/{schema-tx9w5tca.js → kv-gs3s1a1g.js} +8 -8
  146. package/dist/chunks/{schema-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
  147. package/dist/chunks/{schema-j34bs4nz.js → kv-h6310vsd.js} +4 -4
  148. package/dist/chunks/{schema-nzyhnfxz.js → kv-h6r3nrb9.js} +4 -4
  149. package/dist/chunks/{schema-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{schema-4knz5bpk.js → kv-hfa2dsm1.js} +29 -29
  151. package/dist/chunks/{schema-s3d1hc87.js → kv-hqjh5bwg.js} +21 -21
  152. package/dist/chunks/{schema-5e82d4zs.js → kv-hykkawe6.js} +7 -7
  153. package/dist/chunks/{schema-c131hp6h.js → kv-j3edxzqq.js} +19 -19
  154. package/dist/chunks/{schema-j56e64zr.js → kv-j56e64zr.js} +1 -1
  155. package/dist/chunks/{schema-dg5bcj4q.js → kv-j8zzr2am.js} +4 -4
  156. package/dist/chunks/{schema-2jgevnf2.js → kv-j98bxvq8.js} +26 -26
  157. package/dist/chunks/{schema-gvdvajq4.js → kv-jb05x2td.js} +26 -26
  158. package/dist/chunks/{schema-n4v0pxzg.js → kv-jf8mckk9.js} +8 -8
  159. package/dist/chunks/{schema-4rdyamb0.js → kv-jq9p4h1b.js} +11 -11
  160. package/dist/chunks/{schema-02v3faq5.js → kv-jwm5syjz.js} +8 -8
  161. package/dist/chunks/{schema-sqtna5cg.js → kv-k8d0aa5r.js} +15 -15
  162. package/dist/chunks/{schema-vmwh049b.js → kv-k9avtbwf.js} +6 -6
  163. package/dist/chunks/{schema-f9hw48zx.js → kv-k9v0rycf.js} +5 -5
  164. package/dist/chunks/{schema-9m1eaqh3.js → kv-kbe0ygze.js} +34 -34
  165. package/dist/chunks/{schema-s28xa88k.js → kv-kbj1xfy6.js} +11 -11
  166. package/dist/chunks/{schema-shhpa2wx.js → kv-kbyhapax.js} +18 -18
  167. package/dist/chunks/{schema-yctgz9ak.js → kv-kht4mc5p.js} +3 -3
  168. package/dist/chunks/{schema-s56b7sj7.js → kv-kj11q6np.js} +16 -16
  169. package/dist/chunks/{schema-sb3nhjgb.js → kv-kkd8fck1.js} +33 -33
  170. package/dist/chunks/{schema-aegspdvt.js → kv-kmka22ma.js} +28 -28
  171. package/dist/chunks/{schema-szfqz0v7.js → kv-kptebxnn.js} +7 -7
  172. package/dist/chunks/{schema-sc1s8qey.js → kv-ksbzcvfq.js} +13 -13
  173. package/dist/chunks/{schema-g3f2t215.js → kv-kvpggjmb.js} +44 -44
  174. package/dist/chunks/{schema-xrk2dg0j.js → kv-kx3xh5q2.js} +22 -22
  175. package/dist/chunks/{schema-sp3cfktr.js → kv-kxgz3y9a.js} +5 -5
  176. package/dist/chunks/{schema-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{schema-y91sxvbc.js → kv-m8f4r6n9.js} +42 -42
  178. package/dist/chunks/{schema-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{schema-899k0336.js → kv-mqbtwxg0.js} +3 -3
  180. package/dist/chunks/{schema-zffm6dk0.js → kv-ms46b7as.js} +29 -29
  181. package/dist/chunks/{schema-mwm07mde.js → kv-mt3kkmj0.js} +8 -8
  182. package/dist/chunks/{schema-hx5a9m6n.js → kv-mvxkgq5y.js} +23 -23
  183. package/dist/chunks/{schema-p2wfcwv1.js → kv-myesr8mc.js} +12 -12
  184. package/dist/chunks/{schema-ckf8nxjz.js → kv-n4r3xatb.js} +4 -4
  185. package/dist/chunks/{schema-66dga76z.js → kv-n5jgxgrs.js} +9 -9
  186. package/dist/chunks/{schema-pceeejwg.js → kv-n7kjx2f1.js} +5 -5
  187. package/dist/chunks/{schema-h2r7bbkd.js → kv-nbzsj80d.js} +8 -8
  188. package/dist/chunks/{schema-xfk06v0t.js → kv-ncjresk4.js} +8 -8
  189. package/dist/chunks/{schema-v8mjc2yy.js → kv-ne53z7qe.js} +3 -3
  190. package/dist/chunks/{schema-vmgq4x8b.js → kv-nng2ktcm.js} +2 -2
  191. package/dist/chunks/{schema-ddxb0dnv.js → kv-nq7strse.js} +56 -56
  192. package/dist/chunks/{schema-y5df08dr.js → kv-nsarsp7q.js} +5 -5
  193. package/dist/chunks/{schema-k3c624dm.js → kv-nzks3jc8.js} +3 -3
  194. package/dist/chunks/{schema-acd4vkpt.js → kv-nzq7ck9f.js} +6 -6
  195. package/dist/chunks/{schema-fm2djhtr.js → kv-p5j3t9y2.js} +11 -11
  196. package/dist/chunks/{schema-06qxp9s1.js → kv-p9vmbpee.js} +16 -16
  197. package/dist/chunks/{schema-fm32kww2.js → kv-pazfb172.js} +28 -28
  198. package/dist/chunks/{schema-2k71kv7p.js → kv-ph842b28.js} +4 -4
  199. package/dist/chunks/{schema-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{schema-pknna89w.js → kv-pknna89w.js} +1 -1
  201. package/dist/chunks/{schema-216v1y3s.js → kv-ps782kke.js} +24 -24
  202. package/dist/chunks/{schema-psazpmmj.js → kv-psazpmmj.js} +2 -2
  203. package/dist/chunks/{schema-w3ba67bf.js → kv-ptk7yd9k.js} +5 -5
  204. package/dist/chunks/{schema-b8abjh2k.js → kv-pyk6nw3v.js} +32 -32
  205. package/dist/chunks/{schema-0338tv42.js → kv-q9ejhwtc.js} +13 -13
  206. package/dist/chunks/{schema-b8f26xyk.js → kv-qab90vdt.js} +14 -14
  207. package/dist/chunks/{schema-vjjjrtg8.js → kv-qbnb7c74.js} +6 -6
  208. package/dist/chunks/{schema-x2rw7g36.js → kv-qdbakdjh.js} +5 -5
  209. package/dist/chunks/{schema-j0v6s4pa.js → kv-qdc1vz6s.js} +19 -19
  210. package/dist/chunks/{schema-drwq78ky.js → kv-qqeeq2t9.js} +7 -7
  211. package/dist/chunks/{schema-98yh1srd.js → kv-qrzvehp7.js} +22 -22
  212. package/dist/chunks/{schema-qsdy395h.js → kv-qsdy395h.js} +1 -1
  213. package/dist/chunks/{schema-cdyvr9f3.js → kv-qzyph8ek.js} +11 -11
  214. package/dist/chunks/{schema-r2m716tb.js → kv-r2m716tb.js} +2 -2
  215. package/dist/chunks/{schema-qthnzapq.js → kv-r5z7p6xw.js} +28 -28
  216. package/dist/chunks/{schema-yp2x3t23.js → kv-r8xr0va3.js} +4 -4
  217. package/dist/chunks/{schema-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{schema-eaj1djv9.js → kv-rhjbct0v.js} +8 -8
  219. package/dist/chunks/{schema-64fh688z.js → kv-rnf8vhs0.js} +21 -21
  220. package/dist/chunks/{schema-jd3ht1x4.js → kv-rqbbsdjw.js} +4 -4
  221. package/dist/chunks/{schema-76yj2t14.js → kv-rqw4z3y5.js} +38 -38
  222. package/dist/chunks/{schema-scayhw0d.js → kv-s2c14x69.js} +22 -22
  223. package/dist/chunks/{schema-cmw1rd1q.js → kv-s3e1hqdt.js} +26 -26
  224. package/dist/chunks/{schema-sgajxdys.js → kv-s80hxv6c.js} +24 -24
  225. package/dist/chunks/{schema-ha8h07mp.js → kv-smm23mye.js} +12 -12
  226. package/dist/chunks/{schema-4xqhn9wd.js → kv-smswgpd0.js} +8 -8
  227. package/dist/chunks/{schema-h7e5g0tn.js → kv-spqcpneg.js} +6 -6
  228. package/dist/chunks/{schema-53fyba40.js → kv-ssdqnhy0.js} +4 -4
  229. package/dist/chunks/{schema-9hk2fva0.js → kv-st3ef2tx.js} +11 -11
  230. package/dist/chunks/{schema-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{schema-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{schema-tdstcens.js → kv-tdstcens.js} +1 -1
  233. package/dist/chunks/{schema-kga0f6yw.js → kv-tffkxf13.js} +7 -7
  234. package/dist/chunks/{schema-ryr25ayn.js → kv-tkmwgdpd.js} +7 -7
  235. package/dist/chunks/{schema-9wqzfaac.js → kv-tmkptqtt.js} +46 -46
  236. package/dist/chunks/{schema-1kr2za8g.js → kv-tp1gp6c2.js} +8 -8
  237. package/dist/chunks/{schema-8a6crgjk.js → kv-ts6j1d2x.js} +18 -18
  238. package/dist/chunks/{schema-tvtrv512.js → kv-tvtrv512.js} +1 -1
  239. package/dist/chunks/{schema-61cd6e58.js → kv-v1qy4m3p.js} +19 -19
  240. package/dist/chunks/{schema-r3c4069c.js → kv-v3sgzvyr.js} +1 -1
  241. package/dist/chunks/{schema-m65z8mqv.js → kv-v60patpd.js} +45 -45
  242. package/dist/chunks/{schema-aa14mxtt.js → kv-v9mws2y8.js} +11 -11
  243. package/dist/chunks/{schema-w3d830pe.js → kv-vchs86sn.js} +87 -87
  244. package/dist/chunks/{schema-veqvce7d.js → kv-veqvce7d.js} +1 -1
  245. package/dist/chunks/{schema-s1tzw9nx.js → kv-vhp89w17.js} +12 -12
  246. package/dist/chunks/{schema-02jbgszr.js → kv-vhy7cj2x.js} +13 -13
  247. package/dist/chunks/{schema-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{schema-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{schema-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{schema-s2a3m5zj.js → kv-wahgg9pj.js} +6 -6
  251. package/dist/chunks/{schema-wd87259q.js → kv-wd87259q.js} +1 -1
  252. package/dist/chunks/{schema-achwqtgz.js → kv-weh2f3a0.js} +9 -9
  253. package/dist/chunks/{schema-yhbs15xx.js → kv-wmpza86g.js} +11 -11
  254. package/dist/chunks/{schema-8cznwert.js → kv-wtqdd1td.js} +13 -13
  255. package/dist/chunks/{schema-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{schema-6c158f61.js → kv-x2g1scrt.js} +22 -22
  257. package/dist/chunks/{schema-3497bcg9.js → kv-x3461c9x.js} +3 -3
  258. package/dist/chunks/{schema-e6zwr77z.js → kv-xbhcscsb.js} +20 -20
  259. package/dist/chunks/{schema-nq7qbqzc.js → kv-xk747vep.js} +9 -9
  260. package/dist/chunks/{schema-dmqcgk4z.js → kv-xkntkrq7.js} +5 -5
  261. package/dist/chunks/{schema-cetybxe3.js → kv-xmwwj3b1.js} +16 -16
  262. package/dist/chunks/{schema-12f5qzcf.js → kv-xnyn1cgh.js} +3 -3
  263. package/dist/chunks/{schema-58yj0nne.js → kv-xtkxvazr.js} +30 -30
  264. package/dist/chunks/{schema-5z7zcbfb.js → kv-xwgfrhxd.js} +16 -16
  265. package/dist/chunks/{schema-vh918eyq.js → kv-xwwy1hth.js} +55 -55
  266. package/dist/chunks/{schema-fnckqvkz.js → kv-xyazt5zc.js} +51 -51
  267. package/dist/chunks/{schema-21zbynkh.js → kv-xzfsztn4.js} +7 -7
  268. package/dist/chunks/{schema-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{schema-xhsj2xcy.js → kv-y1k6q191.js} +6 -6
  270. package/dist/chunks/{schema-9qmdww31.js → kv-y1zjbrv5.js} +9 -9
  271. package/dist/chunks/{schema-97z86zxn.js → kv-y24ys8sf.js} +14 -14
  272. package/dist/chunks/{schema-y71avatq.js → kv-y71avatq.js} +1 -1
  273. package/dist/chunks/{schema-x7x071nx.js → kv-ycaz76dz.js} +11 -11
  274. package/dist/chunks/{schema-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{schema-yrznvahk.js → kv-yrznvahk.js} +2 -2
  276. package/dist/chunks/{schema-cxd4szcz.js → kv-ys7r2z0j.js} +11 -11
  277. package/dist/chunks/{schema-q11was2t.js → kv-yvdqgwj0.js} +14 -14
  278. package/dist/chunks/{schema-mrty011c.js → kv-yzb0c9yw.js} +43 -43
  279. package/dist/chunks/{schema-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{schema-t37tr4jd.js → kv-z1h9w40p.js} +33 -33
  281. package/dist/chunks/{schema-z63w68vq.js → kv-z63w68vq.js} +2 -2
  282. package/dist/chunks/{schema-9kgeezcq.js → kv-z8k2pwn3.js} +11 -11
  283. package/dist/chunks/{schema-9td8kqq4.js → kv-zbejwb54.js} +7 -7
  284. package/dist/chunks/{schema-n965dgn2.js → kv-zecw12g0.js} +19 -19
  285. package/dist/chunks/{schema-qsxgc847.js → kv-zedk1dgy.js} +34 -34
  286. package/dist/chunks/{schema-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{schema-raajgtb1.js → kv-zercbd28.js} +12 -12
  288. package/dist/chunks/{schema-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{schema-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{schema-95st8b4j.js → kv-zzkddxa9.js} +22 -22
  291. package/dist/chunks/{schema-q8n9d2sh.js → kv-zzrdptt8.js} +3 -3
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +11 -11
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +120 -120
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +123 -123
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +372 -372
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +93 -93
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +97 -97
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +98 -98
  432. package/dist/form.js +86 -86
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +126 -126
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +1 -1
  502. package/dist/plugin/internal.js +334 -334
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +5 -5
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +100 -100
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +120 -120
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +120 -120
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +349 -349
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +223 -223
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +94 -94
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +3 -3
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +95 -95
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +132 -132
  581. package/dist/session/context.js +152 -152
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +153 -153
  589. package/dist/session/history.js +13 -13
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +77 -77
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +210 -210
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +150 -150
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +220 -220
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +216 -216
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +11 -11
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +125 -125
  641. package/dist/tool/plugin/edit.js +112 -112
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +101 -101
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +215 -215
  651. package/dist/tool/plugin/skill.js +109 -109
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/webfetch.js +102 -102
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +96 -96
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +82 -82
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/schema-p2h6zvwc.js +0 -18
  702. package/dist/chunks/schema-pvpvsgsg.js +0 -26
  703. /package/dist/chunks/{schema-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{schema-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{schema-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{schema-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{schema-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{schema-24dcb14g.js → kv-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{schema-2710q6r3.js → kv-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{schema-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{schema-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{schema-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{schema-359p4xyc.js → kv-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{schema-3asan66x.js → kv-3asan66x.js} +0 -0
  715. /package/dist/chunks/{schema-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{schema-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{schema-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{schema-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{schema-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{schema-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{schema-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{schema-53557ph1.js → kv-53557ph1.js} +0 -0
  723. /package/dist/chunks/{schema-550bvhaj.js → kv-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{schema-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{schema-6prwharc.js → kv-6prwharc.js} +0 -0
  726. /package/dist/chunks/{schema-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{schema-7m9af43g.js → kv-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{schema-822emrt2.js → kv-822emrt2.js} +0 -0
  729. /package/dist/chunks/{schema-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{schema-8n3pysct.js → kv-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{schema-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{schema-922hggd3.js → kv-922hggd3.js} +0 -0
  733. /package/dist/chunks/{schema-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{schema-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{schema-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{schema-af5trqkr.js → kv-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{schema-afrmfg78.js → kv-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{schema-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{schema-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{schema-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{schema-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{schema-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{schema-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{schema-d9fn303g.js → kv-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{schema-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{schema-dajrwvna.js → kv-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{schema-dap0rakb.js → kv-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{schema-df08tz66.js → kv-df08tz66.js} +0 -0
  749. /package/dist/chunks/{schema-dy18nga0.js → kv-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{schema-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{schema-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{schema-ec1grn59.js → kv-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{schema-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{schema-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{schema-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{schema-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{schema-faypxj3z.js → kv-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{schema-fd410y7t.js → kv-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{schema-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{schema-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{schema-g86h250q.js → kv-g86h250q.js} +0 -0
  762. /package/dist/chunks/{schema-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{schema-gftt206x.js → kv-gftt206x.js} +0 -0
  764. /package/dist/chunks/{schema-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{schema-hk9envan.js → kv-hk9envan.js} +0 -0
  766. /package/dist/chunks/{schema-hxa7m5za.js → kv-hxa7m5za.js} +0 -0
  767. /package/dist/chunks/{schema-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{schema-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{schema-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{schema-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{schema-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{schema-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{schema-mp448xyj.js → kv-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{schema-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{schema-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{schema-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{schema-njntx4h6.js → kv-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{schema-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{schema-q74kybfr.js → kv-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{schema-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{schema-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{schema-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{schema-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{schema-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{schema-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{schema-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{schema-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{schema-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{schema-w803qqfp.js → kv-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{schema-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{schema-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{schema-wtztk69x.js → kv-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{schema-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{schema-x61499pn.js → kv-x61499pn.js} +0 -0
  795. /package/dist/chunks/{schema-y44na4kk.js → kv-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{schema-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{schema-y8f7s663.js → kv-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{schema-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{schema-ym463w8f.js → kv-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{schema-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./schema-y0cr4b1c.js";
2
+ Service82,
3
+ node86
4
+ } from "./kv-gfj9qsaq.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./schema-y0xmc8cr.js";
8
+ } from "./kv-3w0ncrsd.js";
9
9
  import {
10
- ID15,
11
- Service77,
12
- node81
13
- } from "./schema-sgajxdys.js";
10
+ ID11,
11
+ Service70,
12
+ node73
13
+ } from "./kv-s80hxv6c.js";
14
14
  import {
15
- NotFoundError10
16
- } from "./schema-vmwh049b.js";
15
+ NotFoundError9
16
+ } from "./kv-k9avtbwf.js";
17
17
  import {
18
- Service76,
19
- node80
20
- } from "./schema-9zbf59cj.js";
18
+ Service68,
19
+ node71
20
+ } from "./kv-61a47mvy.js";
21
21
  import {
22
22
  match2
23
- } from "./schema-y1fvbwt7.js";
23
+ } from "./kv-y1fvbwt7.js";
24
24
  import {
25
- Service75,
26
- node79
27
- } from "./schema-jg25py4x.js";
25
+ Service67,
26
+ node70
27
+ } from "./kv-85xbdk8f.js";
28
28
  import {
29
- Service78,
30
- node82
31
- } from "./schema-tx9w5tca.js";
29
+ Service69,
30
+ node72
31
+ } from "./kv-gs3s1a1g.js";
32
32
  import {
33
33
  __export
34
- } from "./schema-9rqn6x4v.js";
34
+ } from "./kv-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event19,
46
- ID: () => ID13,
47
- NotFoundError: () => NotFoundError9,
45
+ Event: () => Event13,
46
+ ID: () => ID8,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply3,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
51
+ Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service74,
54
+ Service: () => Service66,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node78
58
+ node: () => node69
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event19 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID8 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID11.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID8,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID8,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID8
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service74 extends Context.Service()("@opencode/Permission") {
128
+ class Service66 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service74, Effect.gen(function* () {
131
- const bus = yield* Service83;
130
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
131
+ const bus = yield* Service82;
132
132
  const location = yield* Service79;
133
- const agents = yield* Service77;
134
- const sessions = yield* Service76;
135
- const saved = yield* Service75;
136
- const hooks = yield* Service78;
133
+ const agents = yield* Service70;
134
+ const sessions = yield* Service68;
135
+ const saved = yield* Service67;
136
+ const hooks = yield* Service69;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError10({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID13.create(),
189
+ id: input.id ?? ID8.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID13.create(), effect: "deny" };
214
+ return { id: input.id ?? ID8.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError9({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service74.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service66.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node78 = makeLocationNode({
303
- service: Service74,
302
+ var node69 = makeLocationNode({
303
+ service: Service66,
304
304
  layer,
305
- deps: [node87, node83, node81, node80, node79, node82]
305
+ deps: [node86, node83, node73, node71, node70, node72]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service74, node78, exports_permission2, Rule3, Ruleset2, Event19 };
308
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service66, node69, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./schema-y71avatq.js";
3
+ } from "./kv-y71avatq.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./schema-y0cr4b1c.js";
5
+ Service82,
6
+ node86
7
+ } from "./kv-gfj9qsaq.js";
8
8
  import {
9
- Event17,
10
- Service69,
11
- node72
12
- } from "./schema-xgdsspm4.js";
9
+ Event20,
10
+ Service76,
11
+ node80
12
+ } from "./kv-3cfn41g4.js";
13
13
  import {
14
14
  Service79,
15
15
  node83
16
- } from "./schema-y0xmc8cr.js";
16
+ } from "./kv-3w0ncrsd.js";
17
17
  import {
18
- Service72,
19
- node75
20
- } from "./schema-64fh688z.js";
18
+ Service52,
19
+ node55
20
+ } from "./kv-rnf8vhs0.js";
21
21
  import {
22
- ID10,
23
- Service68,
24
- node71
25
- } from "./schema-4knz5bpk.js";
22
+ ID15,
23
+ Service75,
24
+ node79
25
+ } from "./kv-hfa2dsm1.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./schema-rdw6cm16.js";
29
+ } from "./kv-rdw6cm16.js";
30
30
  import {
31
- ID9,
31
+ ID14,
32
32
  MethodID2,
33
- Service67,
34
- node70
35
- } from "./schema-j433k3ah.js";
33
+ Service74,
34
+ node78
35
+ } from "./kv-69jdjb90.js";
36
36
  import {
37
37
  __export
38
- } from "./schema-9rqn6x4v.js";
38
+ } from "./kv-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service25,
53
+ Service: () => Service26,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured3,
57
- layer: () => layer11,
58
- node: () => node27
56
+ configured: () => configured4,
57
+ layer: () => layer13,
58
+ node: () => node30
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service25 extends Context.Service()("@opencode/MCP") {
96
+ class Service26 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options3 = Schema.Struct({
98
+ var Options4 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
104
+ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
105
105
  const location = yield* Service79;
106
- const environment = yield* Service72;
107
- const bus = yield* Service83;
108
- const forms = yield* Service68;
109
- const integration = yield* Service67;
110
- const credentials = yield* Service69;
106
+ const environment = yield* Service52;
107
+ const bus = yield* Service82;
108
+ const forms = yield* Service75;
109
+ const integration = yield* Service74;
110
+ const credentials = yield* Service76;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID9.make(suffix);
122
+ const integrationID = ID14.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service69, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -144,19 +144,19 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError3({ server: name });
147
+ return yield* new NotFoundError4({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service69, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID10.create();
159
+ const formID = ID15.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -259,7 +259,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
259
259
  entry.scope = scope;
260
260
  const authProvider = yield* connectProvider(entry);
261
261
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
262
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope));
262
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service52, environment), Scope.provide(scope));
263
263
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
264
264
  if (Exit.isSuccess(result)) {
265
265
  entry.client = result.value.connection;
@@ -384,7 +384,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
384
384
  yield* startServer(name, entry);
385
385
  }).pipe(locks.withLock(name));
386
386
  });
387
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
387
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
388
388
  const state = create3({
389
389
  name: "mcp",
390
390
  initial: () => ({
@@ -410,7 +410,7 @@ var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
410
410
  }),
411
411
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
412
412
  });
413
- return Service25.of({
413
+ return Service26.of({
414
414
  transform: state.transform,
415
415
  reload: state.reload,
416
416
  servers: Effect.fn("MCP.servers")(function* () {
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
516
516
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
517
517
  });
518
518
  }
519
- function configured3(options) {
519
+ function configured4(options) {
520
520
  return makeLocationNode({
521
- service: Service25,
522
- layer: layer11(options),
523
- deps: [node83, node75, node87, node71, node70, node72]
521
+ service: Service26,
522
+ layer: layer13(options),
523
+ deps: [node83, node55, node86, node79, node78, node80]
524
524
  });
525
525
  }
526
- var node27 = configured3();
526
+ var node30 = configured4();
527
527
  function toElicitationField(key, property, required) {
528
528
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
529
529
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
574
574
  }
575
575
  }
576
576
 
577
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service25, Options3, layer11, configured3, node27, exports_mcp4 };
577
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service26, Options4, layer13, configured4, node30, exports_mcp4 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./schema-f0mxakyp.js";
3
+ } from "./kv-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./schema-w3wsvvr9.js";
6
+ } from "./kv-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./schema-7bmhse3q.js";
9
+ } from "./kv-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./schema-cf4snx6d.js";
12
+ } from "./kv-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./schema-822emrt2.js";
15
+ } from "./kv-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./schema-wd87259q.js";
18
+ } from "./kv-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./schema-m9w0rfyh.js";
21
+ } from "./kv-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service66
4
- } from "./schema-44k7vfsg.js";
3
+ Service73
4
+ } from "./kv-fe39wqx3.js";
5
5
  import {
6
- Service49
7
- } from "./schema-m0f2xe1s.js";
6
+ Service40
7
+ } from "./kv-dxqpzvvj.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service66;
12
+ const providers = yield* Service73;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service49);
14
+ const service = yield* Effect.serviceOption(Service40);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./schema-922hggd3.js";
5
+ } from "./kv-922hggd3.js";
6
6
  import {
7
- Service72,
8
- node75
9
- } from "./schema-64fh688z.js";
7
+ Service52,
8
+ node55
9
+ } from "./kv-rnf8vhs0.js";
10
10
  import {
11
11
  Content2
12
- } from "./schema-06qxp9s1.js";
12
+ } from "./kv-p9vmbpee.js";
13
13
  import {
14
14
  detect2
15
- } from "./schema-3smtnn6g.js";
15
+ } from "./kv-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./kv-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
331
331
  }
332
332
  };
333
333
  var layer = Layer.effect(Service8, Effect.gen(function* () {
334
- const environment = yield* Service72;
334
+ const environment = yield* Service52;
335
335
  return Service8.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service8, layer, deps: [node75] });
340
+ var node9 = makeLocationNode({ service: Service8, layer, deps: [node55] });
341
341
 
342
342
  export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node9, exports_read_filesystem };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-922hggd3.js";
4
- import {
5
- Service84,
6
- node88
7
- } from "./schema-cxd4szcz.js";
3
+ } from "./kv-922hggd3.js";
8
4
  import {
9
5
  Service83,
10
6
  node87
11
- } from "./schema-y0cr4b1c.js";
7
+ } from "./kv-ys7r2z0j.js";
8
+ import {
9
+ Service82,
10
+ node86
11
+ } from "./kv-gfj9qsaq.js";
12
12
  import {
13
13
  Service81,
14
14
  node85
15
- } from "./schema-y5df08dr.js";
15
+ } from "./kv-nsarsp7q.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
@@ -20,17 +20,17 @@ import {
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./schema-57ez7d0k.js";
23
+ } from "./kv-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./schema-psazpmmj.js";
27
+ } from "./kv-psazpmmj.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./schema-gfvb90ym.js";
30
+ } from "./kv-gfvb90ym.js";
31
31
  import {
32
32
  __export
33
- } from "./schema-9rqn6x4v.js";
33
+ } from "./kv-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const git = yield* Service81;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service83;
103
- const db = (yield* Service84).db;
102
+ const bus = yield* Service82;
103
+ const db = (yield* Service83).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
106
106
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -287,7 +287,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
287
287
  var node84 = makeGlobalNode({
288
288
  service: Service80,
289
289
  layer,
290
- deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
290
+ deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
291
291
  });
292
292
 
293
293
  export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service49
4
- } from "./schema-m0f2xe1s.js";
3
+ Service40
4
+ } from "./kv-dxqpzvvj.js";
5
5
  import {
6
- Service53
7
- } from "./schema-6en7jsbn.js";
6
+ Service49
7
+ } from "./kv-1tah3m9p.js";
8
8
  import {
9
9
  observe2
10
- } from "./schema-qsdy395h.js";
10
+ } from "./kv-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell = {};
17
17
  __export(exports_shell, {
18
18
  ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin37
19
+ Plugin: () => Plugin29
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin37 = define({
23
+ var Plugin29 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service49;
27
- const shell = yield* Service53;
26
+ const config = yield* Service40;
27
+ const shell = yield* Service49;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin37 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin37, exports_shell };
37
+ export { Plugin29, exports_shell };