@opencode/core 0.0.0-dev-20704 → 0.0.0-dev-20706

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 (779) 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/{git-wf3cm873.js → kv-00w27fcx.js} +16 -16
  8. package/dist/chunks/{git-dyymvp0r.js → kv-08bcstag.js} +10 -10
  9. package/dist/chunks/{git-ew029xcz.js → kv-08fvh0y0.js} +19 -19
  10. package/dist/chunks/{git-6qa8gc7n.js → kv-08rpdwx4.js} +10 -10
  11. package/dist/chunks/{git-24mvnw1a.js → kv-0ckgj15w.js} +9 -9
  12. package/dist/chunks/{git-rs59bnnz.js → kv-0f20k6pp.js} +30 -30
  13. package/dist/chunks/{git-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{git-0vbcp93d.js → kv-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{git-f454xj3h.js → kv-0veeapjn.js} +33 -33
  16. package/dist/chunks/{git-6fay8h1c.js → kv-1a80t7w5.js} +11 -11
  17. package/dist/chunks/{git-1acjjqhc.js → kv-1acjjqhc.js} +1 -1
  18. package/dist/chunks/{git-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{git-1dvck2a7.js → kv-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{git-sjesw609.js → kv-1kyt7r1x.js} +1 -1
  21. package/dist/chunks/{git-q6yya7b3.js → kv-1nwxscpy.js} +5 -5
  22. package/dist/chunks/{git-52rdeedc.js → kv-1rs5fgfe.js} +21 -21
  23. package/dist/chunks/{git-m5jcjszt.js → kv-1xb40zjp.js} +3 -3
  24. package/dist/chunks/{git-8k05bbzn.js → kv-1z3cmke4.js} +4 -4
  25. package/dist/chunks/{git-f1vyh6xp.js → kv-234nbg4f.js} +11 -11
  26. package/dist/chunks/{git-2yc0zydp.js → kv-288p0v1r.js} +12 -12
  27. package/dist/chunks/{git-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{git-57tfmtnt.js → kv-2b8t21r7.js} +9 -9
  29. package/dist/chunks/{git-g1wj236p.js → kv-2e0v8dqt.js} +11 -11
  30. package/dist/chunks/{git-8kys6q5k.js → kv-2gsjgsvq.js} +9 -9
  31. package/dist/chunks/{git-0jwsre1p.js → kv-2k8khapm.js} +5 -5
  32. package/dist/chunks/{git-qmqgtz8f.js → kv-2sejkfem.js} +9 -9
  33. package/dist/chunks/{git-28y8jcrp.js → kv-2xht268b.js} +13 -13
  34. package/dist/chunks/{git-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{git-0d38zc5x.js → kv-3gn1dknw.js} +27 -27
  36. package/dist/chunks/{git-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{git-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{git-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{git-4mqfmj50.js → kv-3v8c1w4b.js} +47 -47
  40. package/dist/chunks/{git-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{git-x25mmpq9.js → kv-457yfqc6.js} +32 -32
  42. package/dist/chunks/{git-mgtegeff.js → kv-48gkkds6.js} +30 -30
  43. package/dist/chunks/{git-6fmx122w.js → kv-4bj8jcy7.js} +45 -45
  44. package/dist/chunks/{git-8wbfwab3.js → kv-4hz677r7.js} +5 -5
  45. package/dist/chunks/{git-3sj8yt8v.js → kv-4j4tgtq5.js} +4 -4
  46. package/dist/chunks/{git-f95575pt.js → kv-4m324s0n.js} +21 -21
  47. package/dist/chunks/{git-th9ajxgn.js → kv-4qwntyt1.js} +17 -17
  48. package/dist/chunks/{git-4ts7tf6z.js → kv-4ts7tf6z.js} +2 -2
  49. package/dist/chunks/{git-rxa84y3y.js → kv-4xx8kwb6.js} +5 -5
  50. package/dist/chunks/{git-f92ay7ys.js → kv-53m8p96n.js} +2 -2
  51. package/dist/chunks/{git-54ma36ye.js → kv-54ma36ye.js} +1 -1
  52. package/dist/chunks/{git-56gdpj1q.js → kv-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{git-rtywqqeh.js → kv-574ntss7.js} +48 -48
  54. package/dist/chunks/{git-q8n1maba.js → kv-5ecqt7pj.js} +7 -7
  55. package/dist/chunks/{git-pasgpr7w.js → kv-5fg2c6dr.js} +28 -28
  56. package/dist/chunks/{git-ccqm7fdh.js → kv-5h9wxczm.js} +11 -11
  57. package/dist/chunks/{git-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{git-0h7w1762.js → kv-5p38meqn.js} +11 -11
  59. package/dist/chunks/{git-2n0tmftt.js → kv-5q2fn97h.js} +24 -24
  60. package/dist/chunks/{git-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{git-t6t5zza9.js → kv-6ka0h752.js} +5 -5
  62. package/dist/chunks/{git-9881wf2t.js → kv-6p005ac1.js} +47 -47
  63. package/dist/chunks/{git-veqfhemw.js → kv-6pjkfqz1.js} +6 -6
  64. package/dist/chunks/{git-bfm9jnc4.js → kv-6s020tfb.js} +19 -19
  65. package/dist/chunks/{git-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{git-71az546q.js → kv-71az546q.js} +2 -2
  67. package/dist/chunks/{git-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{git-a6jsgks7.js → kv-7hnzakx1.js} +35 -35
  69. package/dist/chunks/{git-jztmdpvv.js → kv-7sd1dgnk.js} +32 -32
  70. package/dist/chunks/{git-84txncab.js → kv-84txncab.js} +1 -1
  71. package/dist/chunks/{git-5dwry08k.js → kv-88hxfsjr.js} +23 -23
  72. package/dist/chunks/{git-rn9fzfgr.js → kv-88q2ebn1.js} +27 -27
  73. package/dist/chunks/{git-4rmr8y37.js → kv-8bzaj4y6.js} +19 -19
  74. package/dist/chunks/{git-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{git-8m6m0r52.js → kv-8m6m0r52.js} +1 -1
  76. package/dist/chunks/{git-pz27sgs1.js → kv-8p4e1768.js} +57 -57
  77. package/dist/chunks/{git-472np96h.js → kv-8x61za70.js} +4 -4
  78. package/dist/chunks/{git-ejaazq2g.js → kv-93jjy7g6.js} +11 -11
  79. package/dist/chunks/{git-tn5xx32x.js → kv-94y1ce4f.js} +18 -18
  80. package/dist/chunks/{git-n31r56j8.js → kv-97e5dsxn.js} +7 -7
  81. package/dist/chunks/{git-2r3cr5cb.js → kv-9810vrw4.js} +11 -11
  82. package/dist/chunks/{git-n3y58kt3.js → kv-98sjfq8w.js} +20 -20
  83. package/dist/chunks/{git-9e5bzkjp.js → kv-9e5bzkjp.js} +3 -3
  84. package/dist/chunks/{git-dz1d0362.js → kv-9s4w6678.js} +22 -22
  85. package/dist/chunks/{git-n45dgdc0.js → kv-a4ej30zk.js} +49 -49
  86. package/dist/chunks/{git-5p7bz5xh.js → kv-a5b72kjc.js} +33 -33
  87. package/dist/chunks/{git-aaet6srn.js → kv-aaet6srn.js} +2 -2
  88. package/dist/chunks/{git-wxrj95wz.js → kv-actz9mky.js} +17 -17
  89. package/dist/chunks/{git-82pkvj7n.js → kv-afsbbk9j.js} +40 -40
  90. package/dist/chunks/{git-ecrxx57p.js → kv-ahjsc8b3.js} +22 -22
  91. package/dist/chunks/{git-8h1kyr3w.js → kv-anjf4pq9.js} +321 -321
  92. package/dist/chunks/{git-s53tfnwn.js → kv-anqyrr7e.js} +48 -48
  93. package/dist/chunks/{git-xeafnbe6.js → kv-ar3b8wje.js} +9 -9
  94. package/dist/chunks/{git-ed2ev5p7.js → kv-as4zy6vm.js} +6 -6
  95. package/dist/chunks/{git-vqje4rkm.js → kv-ayyfe2vv.js} +32 -32
  96. package/dist/chunks/{git-f4qzsran.js → kv-b50f2kde.js} +18 -18
  97. package/dist/chunks/{git-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{git-pzpx8774.js → kv-b867g38b.js} +36 -36
  99. package/dist/chunks/{git-d1gs5a5j.js → kv-bk14xq48.js} +6 -6
  100. package/dist/chunks/{git-1gfgk62c.js → kv-bnmr3cva.js} +8 -8
  101. package/dist/chunks/{git-brmpb9yt.js → kv-bsxr6xw6.js} +27 -27
  102. package/dist/chunks/{git-kaeshj5g.js → kv-bv6dpjj9.js} +25 -25
  103. package/dist/chunks/{git-xntdcqfp.js → kv-bw4hp2nt.js} +16 -16
  104. package/dist/chunks/{git-90yarghs.js → kv-bydbe1tb.js} +25 -25
  105. package/dist/chunks/{git-5aps1zy9.js → kv-bydnjh3t.js} +9 -9
  106. package/dist/chunks/{git-bkpe843v.js → kv-c80dvqx3.js} +3 -3
  107. package/dist/chunks/{git-kcwew1je.js → kv-c9qdm93h.js} +3 -3
  108. package/dist/chunks/{git-6jmsbqrr.js → kv-cc1s16n5.js} +21 -21
  109. package/dist/chunks/{git-et51fp32.js → kv-cc33m1te.js} +16 -16
  110. package/dist/chunks/{git-3p01mmvj.js → kv-cfcvtgjj.js} +24 -24
  111. package/dist/chunks/{git-b4twkq7r.js → kv-cfsekr6v.js} +6 -6
  112. package/dist/chunks/{git-br0tr5aq.js → kv-cmwkp3r5.js} +8 -8
  113. package/dist/chunks/{git-kmtwqyfg.js → kv-czmgsrjp.js} +25 -25
  114. package/dist/chunks/{git-fqb2p7cx.js → kv-d216944b.js} +7 -7
  115. package/dist/chunks/{git-dwq6ryhm.js → kv-d383cjmk.js} +5 -5
  116. package/dist/chunks/{git-ddbjfjsc.js → kv-d9fchvd7.js} +19 -19
  117. package/dist/chunks/{git-z9tda7av.js → kv-dak8nfej.js} +15 -15
  118. package/dist/chunks/{git-gyw7sedy.js → kv-db892a83.js} +18 -18
  119. package/dist/chunks/{git-e9dvv37v.js → kv-df2b2txv.js} +11 -11
  120. package/dist/chunks/{git-t3xq634j.js → kv-dfnf4hnh.js} +16 -16
  121. package/dist/chunks/{git-xkntkrq7.js → kv-dmqcgk4z.js} +5 -5
  122. package/dist/chunks/{git-nxm207yx.js → kv-dpkg50ah.js} +4 -4
  123. package/dist/chunks/{git-g8p0vbj8.js → kv-dq7cta1c.js} +6 -6
  124. package/dist/chunks/{git-rcqna60j.js → kv-dty6m16y.js} +31 -31
  125. package/dist/chunks/{git-v2zvec27.js → kv-dvqt6t9r.js} +8 -8
  126. package/dist/chunks/kv-dxj72tfx.js +18 -0
  127. package/dist/chunks/{git-atacd640.js → kv-dz6tmfs3.js} +55 -55
  128. package/dist/chunks/{git-5w6ne2rj.js → kv-e90xp1j4.js} +11 -11
  129. package/dist/chunks/{git-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{git-6xaf5kjd.js → kv-eh582pmn.js} +5 -5
  131. package/dist/chunks/{git-watzg3w7.js → kv-ep2gjrq7.js} +20 -20
  132. package/dist/chunks/{git-kvy3eq26.js → kv-eqccndzz.js} +32 -32
  133. package/dist/chunks/{git-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{git-kq4vwj2t.js → kv-evn9fjyr.js} +15 -15
  135. package/dist/chunks/{git-zxs6a24a.js → kv-f5gy8qwh.js} +8 -8
  136. package/dist/chunks/{git-6yfhzeyn.js → kv-f6k3fjvq.js} +15 -15
  137. package/dist/chunks/{git-a1c3m0fn.js → kv-f82zxh5r.js} +11 -11
  138. package/dist/chunks/{git-tj6x4h0k.js → kv-fcrnmcwp.js} +4 -4
  139. package/dist/chunks/{git-wbh0epq5.js → kv-ffhfmgbk.js} +24 -24
  140. package/dist/chunks/{git-r8z5hn3t.js → kv-fhga94j3.js} +4 -4
  141. package/dist/chunks/{git-5e1pzs32.js → kv-fmcqyzhx.js} +9 -9
  142. package/dist/chunks/{git-2wrq52sr.js → kv-fvng9505.js} +32 -32
  143. package/dist/chunks/{git-gh5z95q3.js → kv-g31erja1.js} +9 -9
  144. package/dist/chunks/{git-g5w8qwbj.js → kv-g5w8qwbj.js} +1 -1
  145. package/dist/chunks/{git-pc80jw58.js → kv-g7cbhhhp.js} +4 -4
  146. package/dist/chunks/{git-4e6k6dfb.js → kv-gb8qjzsb.js} +15 -15
  147. package/dist/chunks/{git-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  148. package/dist/chunks/kv-geww8j0h.js +26 -0
  149. package/dist/chunks/{git-kb3dycrr.js → kv-gq4499pe.js} +36 -36
  150. package/dist/chunks/{git-m09mwcgx.js → kv-gs8hzdmj.js} +13 -13
  151. package/dist/chunks/{git-34cxmcg0.js → kv-gzgmd4g2.js} +13 -13
  152. package/dist/chunks/{git-h2b79v29.js → kv-h2b79v29.js} +2 -2
  153. package/dist/chunks/{git-b7b4ctej.js → kv-h4z1mxff.js} +5 -5
  154. package/dist/chunks/{git-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{git-tqzf399c.js → kv-hdx2fg5a.js} +15 -15
  156. package/dist/chunks/{git-sh3a6ya8.js → kv-hmdjj37r.js} +25 -25
  157. package/dist/chunks/{git-wax0z6gf.js → kv-hqewxzsv.js} +13 -13
  158. package/dist/chunks/{git-vtsdwepb.js → kv-hwb2cd6d.js} +8 -8
  159. package/dist/chunks/{git-r10ym7h9.js → kv-hxx7h192.js} +45 -45
  160. package/dist/chunks/{git-ktv3m1r0.js → kv-j0kr7ve5.js} +36 -36
  161. package/dist/chunks/{git-dm3wfn5k.js → kv-j0s3asbe.js} +5 -5
  162. package/dist/chunks/{git-h2my2rg3.js → kv-j1kvtq4g.js} +1 -1
  163. package/dist/chunks/{git-j56e64zr.js → kv-j56e64zr.js} +1 -1
  164. package/dist/chunks/{git-p7a39gy5.js → kv-j5w2yx54.js} +6 -6
  165. package/dist/chunks/{git-drfybefv.js → kv-j61dcfxa.js} +5 -5
  166. package/dist/chunks/{git-mq67z803.js → kv-jf6fwzw7.js} +9 -9
  167. package/dist/chunks/{git-hkc5vpms.js → kv-jkn1artj.js} +18 -18
  168. package/dist/chunks/{git-ncvrjp5d.js → kv-jrakssr7.js} +15 -15
  169. package/dist/chunks/{git-jecez823.js → kv-jwe4n390.js} +22 -22
  170. package/dist/chunks/{git-5qwkxp89.js → kv-k3sn4jay.js} +4 -4
  171. package/dist/chunks/{git-0nvn360z.js → kv-k5n7mtkn.js} +11 -11
  172. package/dist/chunks/{git-xs2jnxkj.js → kv-ka6d0enw.js} +8 -8
  173. package/dist/chunks/{git-x4c7a9hn.js → kv-kc60t1h7.js} +35 -35
  174. package/dist/chunks/{git-vrrxywxv.js → kv-kd6snqvx.js} +32 -32
  175. package/dist/chunks/{git-4cnb2xys.js → kv-kerva2hh.js} +17 -17
  176. package/dist/chunks/{git-10623zx4.js → kv-kg6zc3nd.js} +21 -21
  177. package/dist/chunks/{git-f892jb6s.js → kv-kgxbbynp.js} +10 -10
  178. package/dist/chunks/{git-8awjb79p.js → kv-kpmrtfr0.js} +3 -3
  179. package/dist/chunks/{git-vysh9dgc.js → kv-kstagjq1.js} +13 -13
  180. package/dist/chunks/{git-ppvk6b39.js → kv-m0q3pq57.js} +4 -4
  181. package/dist/chunks/{git-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{git-e34n4qn9.js → kv-m49v3nds.js} +5 -5
  183. package/dist/chunks/{git-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{git-4cg8anvm.js → kv-mb113xka.js} +24 -24
  185. package/dist/chunks/{git-wecqtg5s.js → kv-mha52fg8.js} +5 -5
  186. package/dist/chunks/{git-x8bpv305.js → kv-mhszn66f.js} +11 -11
  187. package/dist/chunks/{git-xdcanj78.js → kv-mj5m566m.js} +21 -21
  188. package/dist/chunks/kv-mvx1ynq4.js +253 -0
  189. package/dist/chunks/{git-148p72g5.js → kv-n5bdarja.js} +24 -24
  190. package/dist/chunks/{git-gqx2rq7f.js → kv-neb52m9y.js} +9 -9
  191. package/dist/chunks/{git-t3e4w3tq.js → kv-nmvft4bx.js} +10 -10
  192. package/dist/chunks/{git-mjymc32g.js → kv-nrdmrqsx.js} +4 -4
  193. package/dist/chunks/{git-r18vxgt1.js → kv-ntg0w9y6.js} +8 -8
  194. package/dist/chunks/{git-ex4azxym.js → kv-p1cpmwyf.js} +19 -19
  195. package/dist/chunks/{git-3txpt5y2.js → kv-pc5y6z3k.js} +47 -47
  196. package/dist/chunks/{git-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{git-pknna89w.js → kv-pknna89w.js} +1 -1
  198. package/dist/chunks/{git-as7cf5zz.js → kv-pkqb68ka.js} +4 -4
  199. package/dist/chunks/{git-d038dv6g.js → kv-pqh8twss.js} +28 -28
  200. package/dist/chunks/{git-3bn7dahb.js → kv-pt3ymptt.js} +3 -3
  201. package/dist/chunks/{git-s4gp803s.js → kv-pw763beg.js} +7 -7
  202. package/dist/chunks/{git-q0xm7vwc.js → kv-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{git-jyc5rva5.js → kv-q92qsvh7.js} +20 -20
  204. package/dist/chunks/{git-wj76ss2k.js → kv-qbqbaz6q.js} +4 -4
  205. package/dist/chunks/{git-69j91c1q.js → kv-qe26s0zb.js} +8 -8
  206. package/dist/chunks/{git-vmxqwdc7.js → kv-qm5w4ck1.js} +31 -31
  207. package/dist/chunks/{git-fkw9s7y9.js → kv-qn0888tw.js} +12 -12
  208. package/dist/chunks/{git-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{git-qsdy395h.js → kv-qsdy395h.js} +1 -1
  210. package/dist/chunks/{git-v0xmac3n.js → kv-qv2kdkkf.js} +2 -2
  211. package/dist/chunks/{git-emr6ve0k.js → kv-qvvzy23e.js} +20 -20
  212. package/dist/chunks/{git-1fr8qzyd.js → kv-qvx95482.js} +13 -13
  213. package/dist/chunks/{git-qxjc9qry.js → kv-qxjc9qry.js} +3 -3
  214. package/dist/chunks/{git-vajzw01v.js → kv-r3d2gp7w.js} +17 -17
  215. package/dist/chunks/{git-7yh4e7ss.js → kv-r5x6zcsm.js} +3 -3
  216. package/dist/chunks/{git-p0wnex98.js → kv-r7r6evz9.js} +9 -9
  217. package/dist/chunks/{git-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{git-7pvn9ar0.js → kv-rh7085wj.js} +16 -16
  219. package/dist/chunks/{git-2shrwg0p.js → kv-rprdxe1w.js} +44 -44
  220. package/dist/chunks/{git-k7rgc2fp.js → kv-rqg7ey2p.js} +77 -77
  221. package/dist/chunks/{git-db5vm63h.js → kv-rs3p2sy1.js} +4 -4
  222. package/dist/chunks/{git-bv3r9y5q.js → kv-rskfjht6.js} +92 -92
  223. package/dist/chunks/{git-830fnc2g.js → kv-rv19fb0y.js} +11 -11
  224. package/dist/chunks/{git-03xyy9gs.js → kv-ryd2rdzb.js} +8 -8
  225. package/dist/chunks/{git-sq5fjz5k.js → kv-s7w531zz.js} +5 -5
  226. package/dist/chunks/{git-8x3sg3yv.js → kv-sa36s7k8.js} +41 -41
  227. package/dist/chunks/{git-6ak8scqv.js → kv-sbn6y6e4.js} +34 -34
  228. package/dist/chunks/{git-p5hf1vyv.js → kv-sddrg0qg.js} +38 -38
  229. package/dist/chunks/{git-kvbgpx4j.js → kv-sv62tj1p.js} +24 -24
  230. package/dist/chunks/{git-55pe6j01.js → kv-sv8d62mz.js} +4 -4
  231. package/dist/chunks/{git-kta98k5n.js → kv-t7vhwsk3.js} +32 -32
  232. package/dist/chunks/{git-yqnpmjq6.js → kv-t9vfzymz.js} +38 -38
  233. package/dist/chunks/{git-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{git-jzfaq73r.js → kv-tbdhs184.js} +8 -8
  235. package/dist/chunks/{git-89znhe33.js → kv-tcezcvh9.js} +4 -4
  236. package/dist/chunks/{git-2dx3b0tq.js → kv-tdm3x0qj.js} +23 -23
  237. package/dist/chunks/{git-tdstcens.js → kv-tdstcens.js} +1 -1
  238. package/dist/chunks/{git-r01t9b5y.js → kv-tjkqs24a.js} +6 -6
  239. package/dist/chunks/{git-ddt2bs9e.js → kv-tz4n1mmd.js} +4 -4
  240. package/dist/chunks/{git-fpecnkgp.js → kv-v0es1rhs.js} +9 -9
  241. package/dist/chunks/{git-dwh2kmq1.js → kv-v65kh6x6.js} +13 -13
  242. package/dist/chunks/{git-veqvce7d.js → kv-veqvce7d.js} +1 -1
  243. package/dist/chunks/{git-g5jg60e9.js → kv-vqgwv8rr.js} +11 -11
  244. package/dist/chunks/{git-9kpsa33c.js → kv-vrqmtr6g.js} +29 -29
  245. package/dist/chunks/{git-amkm9g4e.js → kv-vvh4e611.js} +8 -8
  246. package/dist/chunks/{git-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{git-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{git-9p810e6v.js → kv-w852j5tj.js} +40 -40
  249. package/dist/chunks/{git-mnhrm2h8.js → kv-wa7c4epq.js} +6 -6
  250. package/dist/chunks/{git-pqnznyp6.js → kv-wby8cgaa.js} +20 -20
  251. package/dist/chunks/{git-mfpttc98.js → kv-wd2863v9.js} +20 -20
  252. package/dist/chunks/{git-5v8s61nm.js → kv-wd3pvakk.js} +22 -22
  253. package/dist/chunks/{git-wd87259q.js → kv-wd87259q.js} +1 -1
  254. package/dist/chunks/{git-wh6zw745.js → kv-wh6zw745.js} +2 -2
  255. package/dist/chunks/{git-nrjza425.js → kv-wjntykwn.js} +22 -22
  256. package/dist/chunks/{git-3gs028xv.js → kv-wjvvj26y.js} +8 -8
  257. package/dist/chunks/{git-hp4h0j0h.js → kv-wsv0jzdv.js} +5 -5
  258. package/dist/chunks/{git-pqyr69kh.js → kv-wt701nev.js} +185 -185
  259. package/dist/chunks/{git-rhjbct0v.js → kv-wv396vej.js} +8 -8
  260. package/dist/chunks/{git-667z5wzd.js → kv-wxneth2m.js} +6 -6
  261. package/dist/chunks/{git-2c4qqt40.js → kv-x9a2mm45.js} +19 -19
  262. package/dist/chunks/{git-7gnynpnq.js → kv-xaprkrff.js} +12 -12
  263. package/dist/chunks/{git-vxz3rty8.js → kv-xjrjv723.js} +7 -7
  264. package/dist/chunks/{git-a2dq8wfv.js → kv-xrp3va4r.js} +88 -88
  265. package/dist/chunks/{git-5w9yjztw.js → kv-xt4njr3s.js} +1 -1
  266. package/dist/chunks/{git-2em0gr1z.js → kv-xy6g9gcn.js} +9 -9
  267. package/dist/chunks/{git-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{git-qnxqf0m0.js → kv-y26tmspt.js} +2 -2
  269. package/dist/chunks/{git-zd543wtv.js → kv-y4pmanjw.js} +18 -18
  270. package/dist/chunks/{git-knevfgda.js → kv-y5rf7nzv.js} +4 -4
  271. package/dist/chunks/{git-q8ejgrh7.js → kv-ycw2k4m5.js} +11 -11
  272. package/dist/chunks/{git-p8jt97qf.js → kv-yczy7d20.js} +24 -24
  273. package/dist/chunks/{git-bx0gyb4h.js → kv-ygdna4kr.js} +5 -5
  274. package/dist/chunks/{git-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{git-p5zfrphm.js → kv-z0mc20ww.js} +24 -24
  276. package/dist/chunks/{git-9tp863pf.js → kv-z0x0rghn.js} +8 -8
  277. package/dist/chunks/{git-jyns8p4a.js → kv-z5ekhhn6.js} +30 -30
  278. package/dist/chunks/{git-74b6gs10.js → kv-z9bdxcxd.js} +11 -11
  279. package/dist/chunks/{git-enz4yr2b.js → kv-zaegb42g.js} +22 -22
  280. package/dist/chunks/{git-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{git-x661k3y3.js → kv-zw2hpfmh.js} +4 -4
  282. package/dist/chunks/{git-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{git-b1hvjmy2.js → kv-zxz1qwjg.js} +13 -13
  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 +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +114 -114
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +115 -115
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +70 -70
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +111 -111
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +100 -100
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +94 -94
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +6 -6
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +82 -82
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +114 -114
  623. package/dist/snapshot.js +91 -91
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +116 -116
  631. package/dist/tool/plugin/grep.js +122 -122
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +104 -104
  641. package/dist/tool/plugin/websearch.js +110 -110
  642. package/dist/tool/plugin/write.js +114 -114
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +2 -2
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +94 -94
  679. package/package.json +8 -8
  680. package/dist/chunks/git-5gzkp3ws.js +0 -26
  681. package/dist/chunks/git-pf31ssb9.js +0 -18
  682. package/dist/chunks/git-vvedr2c9.js +0 -253
  683. /package/dist/chunks/{git-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{git-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{git-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{git-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{git-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{git-24dcb14g.js → kv-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{git-2710q6r3.js → kv-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{git-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{git-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{git-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{git-359p4xyc.js → kv-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{git-3asan66x.js → kv-3asan66x.js} +0 -0
  695. /package/dist/chunks/{git-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{git-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{git-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{git-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{git-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{git-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{git-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{git-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{git-53557ph1.js → kv-53557ph1.js} +0 -0
  704. /package/dist/chunks/{git-550bvhaj.js → kv-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{git-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{git-6prwharc.js → kv-6prwharc.js} +0 -0
  707. /package/dist/chunks/{git-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{git-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{git-7m9af43g.js → kv-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{git-822emrt2.js → kv-822emrt2.js} +0 -0
  711. /package/dist/chunks/{git-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{git-8n3pysct.js → kv-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{git-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{git-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{git-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{git-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{git-af5trqkr.js → kv-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{git-afrmfg78.js → kv-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{git-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{git-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{git-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{git-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{git-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{git-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{git-d9fn303g.js → kv-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{git-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{git-dajrwvna.js → kv-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{git-dap0rakb.js → kv-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{git-df08tz66.js → kv-df08tz66.js} +0 -0
  730. /package/dist/chunks/{git-dy18nga0.js → kv-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{git-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{git-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{git-ec1grn59.js → kv-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{git-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{git-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{git-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{git-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{git-faypxj3z.js → kv-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{git-fd410y7t.js → kv-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{git-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{git-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{git-g86h250q.js → kv-g86h250q.js} +0 -0
  743. /package/dist/chunks/{git-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{git-gftt206x.js → kv-gftt206x.js} +0 -0
  745. /package/dist/chunks/{git-hk9envan.js → kv-hk9envan.js} +0 -0
  746. /package/dist/chunks/{git-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{git-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{git-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{git-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{git-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{git-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{git-mp448xyj.js → kv-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{git-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{git-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{git-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{git-njntx4h6.js → kv-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{git-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{git-q74kybfr.js → kv-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{git-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{git-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{git-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{git-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{git-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{git-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{git-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{git-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{git-w803qqfp.js → kv-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{git-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{git-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{git-wtztk69x.js → kv-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{git-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{git-x61499pn.js → kv-x61499pn.js} +0 -0
  773. /package/dist/chunks/{git-y44na4kk.js → kv-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{git-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{git-y8f7s663.js → kv-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{git-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{git-ym463w8f.js → kv-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{git-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{git-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-5w6ne2rj.js";
3
+ } from "./kv-e90xp1j4.js";
4
4
  import {
5
5
  call2
6
- } from "./git-56gdpj1q.js";
6
+ } from "./kv-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin36,
14
+ Plugin: () => Plugin40,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint3
16
+ endpoint: () => endpoint6
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin36 = define({
40
+ var Plugin40 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin36 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin36 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin36, exports_firecrawl };
80
+ export { endpoint6, Plugin40, exports_firecrawl };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options6,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options6 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options6, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./git-rdw6cm16.js";
3
+ } from "./kv-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service9,
13
- node: () => node11
12
+ Service: () => Service11,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service9, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service9.of({
44
+ return Service11.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
52
52
 
53
- export { Service9, node11, exports_location_watcher_policy };
53
+ export { Service11, node13, exports_location_watcher_policy };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service40,
3
- node42
4
- } from "./git-2shrwg0p.js";
2
+ Service57,
3
+ node61
4
+ } from "./kv-rprdxe1w.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./git-m5jcjszt.js";
7
+ } from "./kv-1xb40zjp.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service39,
17
+ Service: () => Service38,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node41,
19
+ node: () => node40,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service39 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service38 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service39, Effect.gen(function* () {
58
- const resolver = yield* Service40;
59
- return Service39.of({
57
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
58
+ const resolver = yield* Service57;
59
+ return Service38.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node41 = makeLocationNode({ service: Service39, layer, deps: [node42] });
77
+ var node40 = makeLocationNode({ service: Service38, layer, deps: [node61] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service39, resolved2, node41, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service38, resolved2, node40, exports_model };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./git-g5jg60e9.js";
2
+ Service81,
3
+ node85
4
+ } from "./kv-vqgwv8rr.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./git-nxm207yx.js";
7
+ } from "./kv-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node73
12
- } from "./git-r01t9b5y.js";
11
+ node57
12
+ } from "./kv-tjkqs24a.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./git-faypxj3z.js";
15
+ } from "./kv-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./git-9rqn6x4v.js";
18
+ } from "./kv-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID10,
25
- Info: () => Info18,
24
+ ID: () => ID5,
25
+ Info: () => Info13,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service70,
27
+ Service: () => Service53,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured9,
30
- node: () => node72
30
+ node: () => node56
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID10 = Workspace.ID;
38
+ var ID5 = Workspace.ID;
39
39
 
40
- class Info18 extends Schema.Class("Workspace.Info")({
41
- id: ID10,
40
+ class Info13 extends Schema.Class("Workspace.Info")({
41
+ id: ID5,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,25 +46,25 @@ class Info18 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID10,
53
+ workspaceID: ID5,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service70 extends Context.Service()("@opencode/Workspace") {
59
+ class Service53 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service70,
62
+ service: Service53,
63
63
  layer: layer(options),
64
- deps: [node88, node73]
64
+ deps: [node85, node57]
65
65
  });
66
- var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
67
- const db = (yield* Service84).db;
66
+ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
67
+ const db = (yield* Service81).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
70
70
  const connections = new Map;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info18({
83
+ const info = (row, binding) => new Info13({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service70.of({
157
+ return Service53.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID10.create();
159
+ const workspaceID = input.id ?? ID5.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node72 = configured9();
224
+ var node56 = configured9();
225
225
 
226
- export { ID10, Info18, NotFound3, CreateConflict2, Service70, configured9, node72, exports_workspace };
226
+ export { ID5, Info13, NotFound3, CreateConflict2, Service53, configured9, node56, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./git-qfa1cgps.js";
3
+ } from "./kv-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./git-nxm207yx.js";
3
+ } from "./kv-dpkg50ah.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./git-xntdcqfp.js";
5
+ Service80,
6
+ node84
7
+ } from "./kv-bw4hp2nt.js";
8
8
  import {
9
- Event19,
10
- Service78,
11
- node82
12
- } from "./git-pzpx8774.js";
9
+ Event16,
10
+ Service68,
11
+ node72
12
+ } from "./kv-b867g38b.js";
13
13
  import {
14
- Service79,
15
- node83
16
- } from "./git-wf3cm873.js";
14
+ Service74,
15
+ node78
16
+ } from "./kv-00w27fcx.js";
17
17
  import {
18
- Service69,
19
- node71
20
- } from "./git-p5zfrphm.js";
18
+ Service52,
19
+ node55
20
+ } from "./kv-z0mc20ww.js";
21
21
  import {
22
- ID14,
23
- Service77,
24
- node81
25
- } from "./git-rn9fzfgr.js";
22
+ ID16,
23
+ Service76,
24
+ node80
25
+ } from "./kv-88q2ebn1.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./git-rdw6cm16.js";
29
+ } from "./kv-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID8,
32
32
  MethodID2,
33
- Service76,
34
- node80
35
- } from "./git-f454xj3h.js";
33
+ Service62,
34
+ node66
35
+ } from "./kv-0veeapjn.js";
36
36
  import {
37
37
  __export
38
- } from "./git-9rqn6x4v.js";
38
+ } from "./kv-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service30,
52
+ Service: () => Service32,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured3,
56
- layer: () => layer14,
57
- node: () => node33
56
+ layer: () => layer13,
57
+ node: () => node35
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service30 extends Context.Service()("@opencode/MCP") {
106
+ class Service32 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
108
  var Options3 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
@@ -111,13 +111,13 @@ var Options3 = Schema.Struct({
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
115
- const location = yield* Service79;
116
- const environment = yield* Service69;
117
- const bus = yield* Service83;
118
- const forms = yield* Service77;
119
- const integration = yield* Service76;
120
- const credentials = yield* Service78;
114
+ var layer13 = (options) => Layer.effect(Service32, Effect.gen(function* () {
115
+ const location = yield* Service74;
116
+ const environment = yield* Service52;
117
+ const bus = yield* Service80;
118
+ const forms = yield* Service76;
119
+ const integration = yield* Service62;
120
+ const credentials = yield* Service68;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID13.make(suffix);
132
+ const integrationID = ID8.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service68, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -161,12 +161,12 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service68, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID14.create();
169
+ const formID = ID16.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- 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(Service69, environment), Scope.provide(scope));
272
+ 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));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service30.of({
423
+ return Service32.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
532
532
  }
533
533
  function configured3(options) {
534
534
  return makeLocationNode({
535
- service: Service30,
536
- layer: layer14(options),
537
- deps: [node83, node71, node87, node81, node80, node82]
535
+ service: Service32,
536
+ layer: layer13(options),
537
+ deps: [node78, node55, node84, node80, node66, node72]
538
538
  });
539
539
  }
540
- var node33 = configured3();
540
+ var node35 = configured3();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service30, Options3, layer14, configured3, node33, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service32, Options3, layer13, configured3, node35, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./git-xntdcqfp.js";
2
+ Service80,
3
+ node84
4
+ } from "./kv-bw4hp2nt.js";
5
5
  import {
6
- Service30,
7
- node33
8
- } from "./git-4mqfmj50.js";
6
+ Service32,
7
+ node35
8
+ } from "./kv-3v8c1w4b.js";
9
9
  import {
10
- Service64,
11
- node66
12
- } from "./git-atacd640.js";
10
+ Service71,
11
+ node75
12
+ } from "./kv-dz6tmfs3.js";
13
13
  import {
14
- Service54,
15
- node56
16
- } from "./git-3p01mmvj.js";
14
+ Service82,
15
+ node86
16
+ } from "./kv-cfcvtgjj.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./kv-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service29,
26
- layer: () => layer13,
27
- name: () => name14,
25
+ Service: () => Service27,
26
+ layer: () => layer10,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node32
29
+ node: () => node31
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service29 extends Context.Service()("@opencode/McpTool") {
38
+ class Service27 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service29, Effect.gen(function* () {
41
- const mcp = yield* Service30;
42
- const tools = yield* Service54;
43
- const bus = yield* Service83;
44
- const permission = yield* Service64;
40
+ var layer10 = Layer.effect(Service27, Effect.gen(function* () {
41
+ const mcp = yield* Service32;
42
+ const tools = yield* Service82;
43
+ const bus = yield* Service80;
44
+ const permission = yield* Service71;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name14(tool.server, tool.name),
59
+ action: name13(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node32 = makeLocationNode({
124
- service: Service29,
125
- layer: layer13,
126
- deps: [node56, node33, node87, node66]
123
+ var node31 = makeLocationNode({
124
+ service: Service27,
125
+ layer: layer10,
126
+ deps: [node86, node35, node84, node75]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service29, layer13, node32, exports_mcp3 };
129
+ export { namespace2, name13, Service27, layer10, node31, exports_mcp3 };