@opencode/core 0.0.0-dev-20802 → 0.0.0-dev-20803

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +76 -76
  7. package/dist/chunks/{generate-t550f9t1.js → kv-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{generate-mr30ete2.js → kv-097cmpqj.js} +10 -10
  9. package/dist/chunks/{generate-zz5gkwhc.js → kv-0f0v92e3.js} +11 -11
  10. package/dist/chunks/{generate-ddw8adtm.js → kv-0jxpf7nz.js} +18 -18
  11. package/dist/chunks/{generate-wh6pa4pr.js → kv-0krxawfx.js} +10 -10
  12. package/dist/chunks/{generate-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{generate-ygdna4kr.js → kv-0r3c1bmw.js} +5 -5
  14. package/dist/chunks/{generate-ve5n98md.js → kv-0rp0jwtv.js} +4 -4
  15. package/dist/chunks/{generate-0vbcp93d.js → kv-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{generate-d1rc2nk5.js → kv-179j5xfr.js} +32 -32
  17. package/dist/chunks/{generate-avrb5a8f.js → kv-18eahbmf.js} +29 -29
  18. package/dist/chunks/{generate-0a2k6nt6.js → kv-18na98pb.js} +11 -11
  19. package/dist/chunks/{generate-1dvck2a7.js → kv-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{generate-ywt8jp22.js → kv-1ffvrpkg.js} +6 -6
  21. package/dist/chunks/{generate-3gf64ef1.js → kv-1h7reqxf.js} +9 -9
  22. package/dist/chunks/{generate-bjys04xw.js → kv-1nhge9b3.js} +5 -5
  23. package/dist/chunks/{generate-0rhrd1mx.js → kv-1v945k49.js} +8 -8
  24. package/dist/chunks/{generate-bzbna6mv.js → kv-21m8jdjt.js} +15 -15
  25. package/dist/chunks/{generate-q4td9s0w.js → kv-29jfy9fm.js} +21 -21
  26. package/dist/chunks/{generate-10k4sbeq.js → kv-2k12d77b.js} +20 -20
  27. package/dist/chunks/{generate-2k8khapm.js → kv-2k8khapm.js} +1 -1
  28. package/dist/chunks/{generate-738x26ds.js → kv-2rvve3xk.js} +17 -17
  29. package/dist/chunks/{generate-2vvh33eb.js → kv-2vvh33eb.js} +2 -2
  30. package/dist/chunks/{generate-j0rgmbg7.js → kv-2ywftmzs.js} +13 -13
  31. package/dist/chunks/{generate-h7s7r6s9.js → kv-31xfzrxg.js} +5 -5
  32. package/dist/chunks/{generate-dddma69r.js → kv-332k48pc.js} +16 -16
  33. package/dist/chunks/{generate-zm8pnepa.js → kv-35p4wqwd.js} +20 -20
  34. package/dist/chunks/{generate-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{generate-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{generate-3hwn7j4h.js → kv-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{generate-7eta88nt.js → kv-3r5sjmkn.js} +9 -9
  38. package/dist/chunks/{generate-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{generate-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{generate-kev5c8bq.js → kv-3yxrtm4f.js} +21 -21
  41. package/dist/chunks/{generate-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{generate-q67wf555.js → kv-4cbvgt05.js} +19 -19
  43. package/dist/chunks/kv-4hj7k2fv.js +26 -0
  44. package/dist/chunks/{generate-hxewdwg8.js → kv-4k0mny89.js} +18 -18
  45. package/dist/chunks/{generate-4ts7tf6z.js → kv-4ts7tf6z.js} +2 -2
  46. package/dist/chunks/{generate-yvdzrz44.js → kv-55ecggx1.js} +36 -36
  47. package/dist/chunks/{generate-tvvfzefx.js → kv-59b1e2pm.js} +21 -21
  48. package/dist/chunks/{generate-qw22mnpd.js → kv-5cc8s6k5.js} +11 -11
  49. package/dist/chunks/{generate-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{generate-az8074cz.js → kv-5nbem83a.js} +35 -35
  51. package/dist/chunks/{generate-xx3sz52v.js → kv-5ncnyb2r.js} +45 -45
  52. package/dist/chunks/{generate-vpskenec.js → kv-5rmvgf7a.js} +11 -11
  53. package/dist/chunks/{generate-hxv1t72c.js → kv-5w6eanth.js} +9 -9
  54. package/dist/chunks/{generate-64xnz7ka.js → kv-67tnw0sj.js} +32 -32
  55. package/dist/chunks/{generate-zn71smsj.js → kv-6aq6rxq6.js} +14 -14
  56. package/dist/chunks/{generate-h71w788e.js → kv-6hjx5zpb.js} +9 -9
  57. package/dist/chunks/{generate-8sze2n9a.js → kv-6pc27hjz.js} +2 -2
  58. package/dist/chunks/{generate-y5rf7nzv.js → kv-6rm5yzkt.js} +4 -4
  59. package/dist/chunks/{generate-rm3zrwxy.js → kv-6tge909y.js} +3 -3
  60. package/dist/chunks/{generate-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{generate-zy2s649b.js → kv-70swtfkw.js} +10 -10
  62. package/dist/chunks/{generate-71az546q.js → kv-71az546q.js} +2 -2
  63. package/dist/chunks/{generate-35p1319m.js → kv-71bdkqs8.js} +24 -24
  64. package/dist/chunks/{generate-rqcbxq1a.js → kv-74z377kx.js} +4 -4
  65. package/dist/chunks/{generate-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{generate-xz8qpa4w.js → kv-7ejdeqms.js} +14 -14
  67. package/dist/chunks/{generate-ne3x5nt0.js → kv-7k9f2xm5.js} +5 -5
  68. package/dist/chunks/{generate-6k9bjkax.js → kv-7kg1cej0.js} +5 -5
  69. package/dist/chunks/{generate-dtg8b4t8.js → kv-7vabrfjp.js} +13 -13
  70. package/dist/chunks/{generate-v92qdyrs.js → kv-7zkwb82j.js} +24 -24
  71. package/dist/chunks/{generate-82v73sw7.js → kv-82v73sw7.js} +3 -3
  72. package/dist/chunks/{generate-jmy78ssg.js → kv-845yp122.js} +6 -6
  73. package/dist/chunks/{generate-040e300p.js → kv-85mkkr1j.js} +15 -15
  74. package/dist/chunks/{generate-mh7gztz7.js → kv-86kgdsfv.js} +40 -40
  75. package/dist/chunks/{generate-7f6317t0.js → kv-89pw95xg.js} +17 -17
  76. package/dist/chunks/{generate-2m8jawch.js → kv-8c7secgm.js} +4 -4
  77. package/dist/chunks/{generate-sb991zfj.js → kv-8ck4qvpq.js} +8 -8
  78. package/dist/chunks/{generate-2q5xcbmg.js → kv-8e30trb4.js} +7 -7
  79. package/dist/chunks/{generate-9y1vnk5a.js → kv-8f678fnw.js} +21 -21
  80. package/dist/chunks/{generate-8m6m0r52.js → kv-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{generate-39yv08j4.js → kv-8nty2cvy.js} +32 -32
  82. package/dist/chunks/{generate-f78h0asq.js → kv-8x2cscjj.js} +22 -22
  83. package/dist/chunks/{generate-sn7hzvv7.js → kv-8y0yg40f.js} +5 -5
  84. package/dist/chunks/{generate-693hse5b.js → kv-8yyjdjsz.js} +22 -22
  85. package/dist/chunks/{generate-77ec2k6j.js → kv-90ry6nhj.js} +47 -47
  86. package/dist/chunks/{generate-bmr56wjg.js → kv-97aeaand.js} +4 -4
  87. package/dist/chunks/{generate-y3n5sn10.js → kv-99hedzh4.js} +22 -22
  88. package/dist/chunks/{generate-9e5bzkjp.js → kv-9e5bzkjp.js} +3 -3
  89. package/dist/chunks/{generate-6yd3w0ys.js → kv-9z1r8vb3.js} +49 -49
  90. package/dist/chunks/{generate-6wahjjvf.js → kv-a2w96xvv.js} +26 -26
  91. package/dist/chunks/{generate-wj65xewz.js → kv-a3gjz6ta.js} +4 -4
  92. package/dist/chunks/{generate-zy2kf3ba.js → kv-a628wcjv.js} +11 -11
  93. package/dist/chunks/{generate-b823c9yx.js → kv-aah5wtyj.js} +10 -10
  94. package/dist/chunks/{generate-acd4vkpt.js → kv-acd4vkpt.js} +1 -1
  95. package/dist/chunks/{generate-zqva63ms.js → kv-aevqq3v7.js} +42 -42
  96. package/dist/chunks/{generate-ywyadd6g.js → kv-aewm4t7v.js} +6 -6
  97. package/dist/chunks/{generate-j9jrzkwn.js → kv-b1wktnxt.js} +9 -9
  98. package/dist/chunks/{generate-hdkng2sj.js → kv-b3f8fkhc.js} +5 -5
  99. package/dist/chunks/{generate-2mxs6sby.js → kv-b3ptrng8.js} +3 -3
  100. package/dist/chunks/{generate-cdgzgd7n.js → kv-b4qztptv.js} +16 -16
  101. package/dist/chunks/{generate-h8rj5qwg.js → kv-b4xjmrbp.js} +42 -42
  102. package/dist/chunks/{generate-4c2df9zx.js → kv-bh0zzf2s.js} +8 -8
  103. package/dist/chunks/{generate-79n8fvy3.js → kv-bm142rwp.js} +15 -15
  104. package/dist/chunks/{generate-4wyasqq7.js → kv-bn0p8pab.js} +29 -29
  105. package/dist/chunks/{generate-2bsqqbxy.js → kv-c32dxtt1.js} +2 -2
  106. package/dist/chunks/{generate-ccefhs0k.js → kv-ccthn8e8.js} +14 -14
  107. package/dist/chunks/{generate-9y0w708y.js → kv-cmmdg65p.js} +8 -8
  108. package/dist/chunks/{generate-xf6aj12n.js → kv-cyx8pe1r.js} +24 -24
  109. package/dist/chunks/{generate-p4mj4rdp.js → kv-czfptnv9.js} +8 -8
  110. package/dist/chunks/{generate-ffavjqnh.js → kv-d0xs1264.js} +38 -38
  111. package/dist/chunks/{generate-333bp4jv.js → kv-d6nt18tj.js} +317 -317
  112. package/dist/chunks/{generate-d9wzmzc3.js → kv-d9wzmzc3.js} +5 -5
  113. package/dist/chunks/{generate-x661k3y3.js → kv-db2wf4at.js} +4 -4
  114. package/dist/chunks/{generate-6n4b0dsb.js → kv-dda0p7y7.js} +9 -9
  115. package/dist/chunks/{generate-1dddtqd5.js → kv-dedjb6j5.js} +19 -19
  116. package/dist/chunks/{generate-15qqjdee.js → kv-defnq6yq.js} +4 -4
  117. package/dist/chunks/{generate-rhfcyxnv.js → kv-df8znrks.js} +52 -52
  118. package/dist/chunks/{generate-8tsdq50x.js → kv-dj68pnee.js} +4 -4
  119. package/dist/chunks/{generate-z19r9xh1.js → kv-dmj30839.js} +15 -15
  120. package/dist/chunks/{generate-xfkkasph.js → kv-drwq78ky.js} +4 -4
  121. package/dist/chunks/{generate-g0bjxtbg.js → kv-ds834g89.js} +26 -26
  122. package/dist/chunks/{generate-301myjse.js → kv-dxarthn3.js} +13 -13
  123. package/dist/chunks/{generate-ckf8nxjz.js → kv-e2hjzebn.js} +4 -4
  124. package/dist/chunks/{generate-19e0e7kb.js → kv-ec8m5png.js} +11 -11
  125. package/dist/chunks/{generate-eej6y6fw.js → kv-eej6y6fw.js} +2 -2
  126. package/dist/chunks/{generate-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{generate-ggz0m51f.js → kv-erkwq75e.js} +20 -20
  128. package/dist/chunks/{generate-1ktrwf6z.js → kv-etfe1zn9.js} +22 -22
  129. package/dist/chunks/{generate-mmfkfzad.js → kv-ev1zapjj.js} +3 -3
  130. package/dist/chunks/{generate-0vf0d06q.js → kv-ewjmr5mk.js} +16 -16
  131. package/dist/chunks/{generate-rfnwqbfv.js → kv-exz5nhcy.js} +21 -21
  132. package/dist/chunks/{generate-xmm8saee.js → kv-f03pzbe3.js} +14 -14
  133. package/dist/chunks/{generate-n1n192bv.js → kv-f29mbr7f.js} +4 -4
  134. package/dist/chunks/{generate-xp6q4xkk.js → kv-f2xfasxy.js} +10 -10
  135. package/dist/chunks/{generate-ht8444m6.js → kv-f2y0esh4.js} +30 -30
  136. package/dist/chunks/{generate-kq8dkyzh.js → kv-f3a7f95v.js} +4 -4
  137. package/dist/chunks/kv-f81tjggh.js +18 -0
  138. package/dist/chunks/{generate-4casdgny.js → kv-fbwt6v8j.js} +13 -13
  139. package/dist/chunks/{generate-b5g2j3tj.js → kv-ffjgvd35.js} +36 -36
  140. package/dist/chunks/{generate-ymhyrcjp.js → kv-fgtw61v5.js} +17 -17
  141. package/dist/chunks/{generate-kd1kqg9s.js → kv-fj958thf.js} +19 -19
  142. package/dist/chunks/{generate-bd1g5m32.js → kv-fpzt6bzc.js} +12 -12
  143. package/dist/chunks/{generate-a0ev9wka.js → kv-fr3xav96.js} +9 -9
  144. package/dist/chunks/{generate-bxr6w0mz.js → kv-fr73h8xd.js} +13 -13
  145. package/dist/chunks/{generate-pnv261zh.js → kv-fywtqf87.js} +33 -33
  146. package/dist/chunks/{generate-8hf6kcjf.js → kv-fz9v4nyy.js} +7 -7
  147. package/dist/chunks/{generate-r70na3yp.js → kv-g686f6pq.js} +9 -9
  148. package/dist/chunks/{generate-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{generate-vq6jpek4.js → kv-ggv0c9x6.js} +21 -21
  150. package/dist/chunks/{generate-fx7ts4ez.js → kv-ghw176k1.js} +20 -20
  151. package/dist/chunks/{generate-gk8qb678.js → kv-gk8qb678.js} +1 -1
  152. package/dist/chunks/{generate-5sc16h8r.js → kv-gktrhw02.js} +1 -1
  153. package/dist/chunks/{generate-k1n0z3hy.js → kv-gm31ynds.js} +5 -5
  154. package/dist/chunks/{generate-a09syp6w.js → kv-gn02s22d.js} +4 -4
  155. package/dist/chunks/{generate-pe54yqh1.js → kv-gns61vxs.js} +21 -21
  156. package/dist/chunks/{generate-s9k62k39.js → kv-gswrqrmx.js} +5 -5
  157. package/dist/chunks/{generate-8dze8v7x.js → kv-gv58btj9.js} +10 -10
  158. package/dist/chunks/{generate-x3rbkyt7.js → kv-gw5h0ejx.js} +14 -14
  159. package/dist/chunks/{generate-yn8wqzsv.js → kv-gxn7v165.js} +4 -4
  160. package/dist/chunks/{generate-zqmy6ekg.js → kv-gxwd64za.js} +21 -21
  161. package/dist/chunks/{generate-xrees0gn.js → kv-gy7jxges.js} +52 -52
  162. package/dist/chunks/{generate-dhrjbyf3.js → kv-h1a3h9fj.js} +22 -22
  163. package/dist/chunks/{generate-h2b79v29.js → kv-h2b79v29.js} +2 -2
  164. package/dist/chunks/{generate-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{generate-r6qqhb6g.js → kv-h8kakj28.js} +12 -12
  166. package/dist/chunks/{generate-hgz4x7wa.js → kv-hgz4x7wa.js} +1 -1
  167. package/dist/chunks/{generate-nedy3yz4.js → kv-hw40zd5y.js} +7 -7
  168. package/dist/chunks/{generate-bt7cwyy0.js → kv-j3wnve26.js} +30 -30
  169. package/dist/chunks/{generate-j56e64zr.js → kv-j56e64zr.js} +1 -1
  170. package/dist/chunks/{generate-j5gt8vhk.js → kv-j61gmbbd.js} +23 -23
  171. package/dist/chunks/{generate-w7sz1ggq.js → kv-j78jacrw.js} +28 -28
  172. package/dist/chunks/{generate-6mscxrv1.js → kv-jwv7ab79.js} +6 -6
  173. package/dist/chunks/{generate-vvvwe9ad.js → kv-jzbvpyra.js} +9 -9
  174. package/dist/chunks/{generate-322rzpbc.js → kv-k2gn8633.js} +43 -43
  175. package/dist/chunks/{generate-b344f494.js → kv-kdn6ag71.js} +30 -30
  176. package/dist/chunks/{generate-40948mfj.js → kv-kgvvfrqy.js} +3 -3
  177. package/dist/chunks/{generate-5mmsq6kg.js → kv-khd2efa6.js} +14 -14
  178. package/dist/chunks/{generate-vhdmqtqh.js → kv-m31y1t78.js} +3 -3
  179. package/dist/chunks/{generate-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{generate-kr4k7vnq.js → kv-m3nz4q65.js} +12 -12
  181. package/dist/chunks/{generate-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{generate-e5me55ct.js → kv-mcze36gg.js} +5 -5
  183. package/dist/chunks/{generate-qzns6vt9.js → kv-mfvcxhke.js} +23 -23
  184. package/dist/chunks/{generate-7n6g46wz.js → kv-mme951fp.js} +7 -7
  185. package/dist/chunks/{generate-nrgzng8j.js → kv-mw52v8dk.js} +32 -32
  186. package/dist/chunks/{generate-tnt8nry7.js → kv-mxcpkhvt.js} +25 -25
  187. package/dist/chunks/{generate-j9jwzdws.js → kv-n0dqmjd7.js} +11 -11
  188. package/dist/chunks/{generate-bfegkxfd.js → kv-n61013np.js} +8 -8
  189. package/dist/chunks/{generate-a6vqmxzv.js → kv-nhk4fd07.js} +16 -16
  190. package/dist/chunks/{generate-ed1g29hy.js → kv-nma959mg.js} +3 -3
  191. package/dist/chunks/{generate-k6aqg0zs.js → kv-nr1c2xed.js} +8 -8
  192. package/dist/chunks/{generate-khmqacep.js → kv-ny8edt06.js} +4 -4
  193. package/dist/chunks/{generate-4fmhce0x.js → kv-pc2pm9fb.js} +8 -8
  194. package/dist/chunks/{generate-kqwemc59.js → kv-pe0mwqpx.js} +35 -35
  195. package/dist/chunks/{generate-dktjxkrs.js → kv-pewbjeww.js} +12 -12
  196. package/dist/chunks/{generate-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{generate-pknna89w.js → kv-pknna89w.js} +1 -1
  198. package/dist/chunks/{generate-g761bshh.js → kv-pn8qj2g4.js} +14 -14
  199. package/dist/chunks/{generate-br4sv010.js → kv-pnwf0k20.js} +35 -35
  200. package/dist/chunks/{generate-8whp40kv.js → kv-pt1ss6jy.js} +3 -3
  201. package/dist/chunks/{generate-26587ab8.js → kv-pz68ah3r.js} +22 -22
  202. package/dist/chunks/{generate-q0xm7vwc.js → kv-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{generate-3g8j9he4.js → kv-q5e7cmwt.js} +1 -1
  204. package/dist/chunks/{generate-6vw57f10.js → kv-q687e1zt.js} +13 -13
  205. package/dist/chunks/{generate-2gmwdz7g.js → kv-q6jgdmce.js} +16 -16
  206. package/dist/chunks/{generate-17r4ge8p.js → kv-q8jgnm4x.js} +5 -5
  207. package/dist/chunks/{generate-wadsfb69.js → kv-qaa9qhxv.js} +22 -22
  208. package/dist/chunks/{generate-pseda3cm.js → kv-qcyg9wsp.js} +20 -20
  209. package/dist/chunks/{generate-p5p5kne1.js → kv-qmgn8zg7.js} +2 -2
  210. package/dist/chunks/{generate-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{generate-t7f2k8tj.js → kv-qpnaxz3q.js} +4 -4
  212. package/dist/chunks/{generate-ee5neqfh.js → kv-qq88yzqh.js} +42 -42
  213. package/dist/chunks/{generate-qsdy395h.js → kv-qsdy395h.js} +1 -1
  214. package/dist/chunks/{generate-4j3ft02p.js → kv-qwe2mhgr.js} +12 -12
  215. package/dist/chunks/{generate-31ps3q9w.js → kv-qwyj34g8.js} +33 -33
  216. package/dist/chunks/{generate-c765mh8b.js → kv-r2m716tb.js} +5 -5
  217. package/dist/chunks/{generate-axbdymsv.js → kv-r8eecgky.js} +5 -5
  218. package/dist/chunks/{generate-54ma36ye.js → kv-r94pvvab.js} +4 -4
  219. package/dist/chunks/{generate-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{generate-vd2f6n4d.js → kv-rhf89g7g.js} +14 -14
  221. package/dist/chunks/{generate-d2bht23z.js → kv-rj1q5wk1.js} +32 -32
  222. package/dist/chunks/{generate-9x0fhj46.js → kv-rqmj2j1g.js} +22 -22
  223. package/dist/chunks/{generate-7202g8q2.js → kv-rrcvy1kp.js} +11 -11
  224. package/dist/chunks/{generate-sxz6gkc3.js → kv-ryr25ayn.js} +7 -7
  225. package/dist/chunks/{generate-g8jhqdkc.js → kv-ryy1tv3k.js} +50 -50
  226. package/dist/chunks/{generate-6c4htm7n.js → kv-s8y61785.js} +35 -35
  227. package/dist/chunks/{generate-pb6a046z.js → kv-sc83fajd.js} +74 -74
  228. package/dist/chunks/{generate-fa8r0rz5.js → kv-sdj6ye0y.js} +4 -4
  229. package/dist/chunks/{generate-tsm7hcv0.js → kv-swr8xay4.js} +14 -14
  230. package/dist/chunks/{generate-saxf499t.js → kv-t26nt5g3.js} +3 -3
  231. package/dist/chunks/{generate-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{generate-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{generate-tdstcens.js → kv-tdstcens.js} +1 -1
  234. package/dist/chunks/{generate-jvmnqq03.js → kv-teg22ked.js} +8 -8
  235. package/dist/chunks/{generate-j9h5cm9j.js → kv-tejrpg58.js} +44 -44
  236. package/dist/chunks/{generate-jqj7zyty.js → kv-tfhpz3sz.js} +19 -19
  237. package/dist/chunks/{generate-7gwye6wj.js → kv-thkq665f.js} +81 -81
  238. package/dist/chunks/{generate-k7x7nhss.js → kv-thzwf92f.js} +15 -15
  239. package/dist/chunks/{generate-sdvaebnw.js → kv-tmm3eqes.js} +4 -4
  240. package/dist/chunks/{generate-tyytaxap.js → kv-tyytaxap.js} +1 -1
  241. package/dist/chunks/{generate-v0es1rhs.js → kv-v0es1rhs.js} +2 -2
  242. package/dist/chunks/{generate-vf4z5rkp.js → kv-v10hv8b6.js} +141 -141
  243. package/dist/chunks/{generate-v7p4zvkq.js → kv-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{generate-c9pqxe3v.js → kv-vebh4w59.js} +13 -13
  245. package/dist/chunks/{generate-veqvce7d.js → kv-veqvce7d.js} +1 -1
  246. package/dist/chunks/{generate-93487tfc.js → kv-vgn8ffrp.js} +3 -3
  247. package/dist/chunks/{generate-qrr9gjr3.js → kv-vnm975cv.js} +19 -19
  248. package/dist/chunks/{generate-gjan9s6w.js → kv-vryt29t9.js} +15 -15
  249. package/dist/chunks/{generate-g8ytx0e6.js → kv-vzbxwz1d.js} +11 -11
  250. package/dist/chunks/{generate-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{generate-84txncab.js → kv-w1eejvng.js} +5 -5
  252. package/dist/chunks/{generate-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{generate-dph8383f.js → kv-w40gtye2.js} +1 -1
  254. package/dist/chunks/{generate-wd87259q.js → kv-wd87259q.js} +1 -1
  255. package/dist/chunks/{generate-3h20cfpd.js → kv-wh45bpan.js} +15 -15
  256. package/dist/chunks/{generate-wh6zw745.js → kv-wh6zw745.js} +2 -2
  257. package/dist/chunks/{generate-acbhb36m.js → kv-wjdah6d6.js} +11 -11
  258. package/dist/chunks/{generate-qkw4ez0w.js → kv-wqv9pw60.js} +8 -8
  259. package/dist/chunks/{generate-27kcfysw.js → kv-wsh4qmqs.js} +3 -3
  260. package/dist/chunks/{generate-yjc008f4.js → kv-wyf9p2tq.js} +18 -18
  261. package/dist/chunks/{generate-b8njymce.js → kv-x67va1k1.js} +11 -11
  262. package/dist/chunks/{generate-e24bfe0t.js → kv-x7hdbwj8.js} +22 -22
  263. package/dist/chunks/{generate-eswdjwz9.js → kv-x81akh75.js} +9 -9
  264. package/dist/chunks/{generate-1wbfy9nd.js → kv-xpbjw4w5.js} +26 -26
  265. package/dist/chunks/{generate-6bxyve5m.js → kv-xtp6x8sm.js} +5 -5
  266. package/dist/chunks/{generate-48ph987b.js → kv-xwpskw4d.js} +3 -3
  267. package/dist/chunks/{generate-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{generate-hske5dj9.js → kv-y4stezpd.js} +7 -7
  269. package/dist/chunks/{generate-y71avatq.js → kv-y71avatq.js} +1 -1
  270. package/dist/chunks/{generate-exn49f6t.js → kv-y85ny7jm.js} +31 -31
  271. package/dist/chunks/{generate-eka1fpr9.js → kv-yc8hc8f5.js} +8 -8
  272. package/dist/chunks/{generate-879bespx.js → kv-yhf5ra7e.js} +48 -48
  273. package/dist/chunks/{generate-9ywfjm2b.js → kv-yk440vae.js} +11 -11
  274. package/dist/chunks/{generate-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{generate-2xmqvr3q.js → kv-yphr3tm0.js} +68 -68
  276. package/dist/chunks/{generate-xknnwx45.js → kv-yzn3yq27.js} +27 -27
  277. package/dist/chunks/{generate-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{generate-4x4w4sp7.js → kv-z0nzgh6v.js} +28 -28
  279. package/dist/chunks/{generate-f918t7qj.js → kv-z4n08jzm.js} +163 -163
  280. package/dist/chunks/{generate-15jngqt8.js → kv-z6hj8gmz.js} +15 -15
  281. package/dist/chunks/{generate-xzn4drzt.js → kv-za0530t8.js} +9 -9
  282. package/dist/chunks/{generate-53vb5svr.js → kv-zbac9cjn.js} +23 -23
  283. package/dist/chunks/{generate-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{generate-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +86 -86
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +119 -119
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +117 -117
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +126 -126
  303. package/dist/config/plugin/policy.js +118 -118
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +138 -138
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +120 -120
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +118 -118
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +118 -118
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +86 -86
  319. package/dist/database/database.js +67 -67
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +77 -77
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +361 -361
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +96 -96
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +75 -75
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +4 -4
  418. package/dist/filesystem/location-watcher.js +215 -215
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +104 -104
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +81 -81
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +102 -102
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +100 -100
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +1 -1
  451. package/dist/instance.js +354 -354
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +88 -88
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +104 -104
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +355 -355
  464. package/dist/location.js +86 -86
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +110 -110
  468. package/dist/mcp/instructions.js +128 -128
  469. package/dist/mcp/oauth.js +79 -79
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +100 -100
  473. package/dist/model-resolver.js +99 -99
  474. package/dist/model.js +103 -103
  475. package/dist/models-dev.js +108 -108
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +110 -110
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +89 -89
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +77 -77
  486. package/dist/plugin/command.js +103 -103
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +330 -330
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +118 -118
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +94 -94
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +96 -96
  511. package/dist/plugin/provider/gitlab.js +94 -94
  512. package/dist/plugin/provider/google-vertex.js +114 -114
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +79 -79
  515. package/dist/plugin/provider/lmstudio.js +126 -126
  516. package/dist/plugin/provider/local.js +123 -123
  517. package/dist/plugin/provider/modal.js +93 -93
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +126 -126
  521. package/dist/plugin/provider/openai.js +94 -94
  522. package/dist/plugin/provider/opencode.js +98 -98
  523. package/dist/plugin/provider/openrouter.js +92 -92
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +80 -80
  526. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  527. package/dist/plugin/provider/sap-ai-core.js +92 -92
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  530. package/dist/plugin/provider/vercel.js +91 -91
  531. package/dist/plugin/provider/vllm.js +126 -126
  532. package/dist/plugin/provider/xai.js +92 -92
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +168 -168
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +135 -135
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +349 -349
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +87 -87
  543. package/dist/plugin/vcs/hg.js +87 -87
  544. package/dist/plugin/verbosity.js +94 -94
  545. package/dist/plugin/warming.js +115 -115
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +219 -219
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +87 -87
  557. package/dist/provider.js +102 -102
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +86 -86
  561. package/dist/reference/instructions.js +86 -86
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +82 -82
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +96 -96
  567. package/dist/rpc.js +87 -87
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +75 -75
  571. package/dist/session/compaction.js +136 -136
  572. package/dist/session/context.js +154 -154
  573. package/dist/session/diff.js +89 -89
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +215 -215
  578. package/dist/session/execution.js +126 -126
  579. package/dist/session/generate.js +153 -153
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +94 -94
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +121 -121
  589. package/dist/session/model-transport.js +7 -7
  590. package/dist/session/move.js +130 -130
  591. package/dist/session/projector.js +87 -87
  592. package/dist/session/prompt.js +106 -106
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +91 -91
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +225 -225
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +95 -95
  600. package/dist/session/runner/publish-llm-event.js +114 -114
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +126 -126
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +165 -165
  606. package/dist/session/shell.js +131 -131
  607. package/dist/session/skill.js +106 -106
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +74 -74
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +206 -206
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +158 -158
  615. package/dist/session/to-session-error.js +112 -112
  616. package/dist/session/transfer.js +211 -211
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +204 -204
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +9 -9
  623. package/dist/shell.js +131 -131
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +108 -108
  626. package/dist/skill.js +103 -103
  627. package/dist/snapshot.js +88 -88
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +129 -129
  632. package/dist/tool/plugin/edit.js +121 -121
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +125 -125
  635. package/dist/tool/plugin/grep.js +125 -125
  636. package/dist/tool/plugin/mcp-resource.js +118 -118
  637. package/dist/tool/plugin/opencode.js +110 -110
  638. package/dist/tool/plugin/patch.js +123 -123
  639. package/dist/tool/plugin/question.js +104 -104
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +211 -211
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +213 -213
  644. package/dist/tool/plugin/webfetch.js +111 -111
  645. package/dist/tool/plugin/websearch.js +109 -109
  646. package/dist/tool/plugin/write.js +123 -123
  647. package/dist/tool/read-filesystem.js +101 -101
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +12 -12
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +2 -2
  664. package/dist/v1/config/migrate.js +93 -93
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +92 -92
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +88 -88
  672. package/dist/websearch.js +81 -81
  673. package/dist/wellknown/plugin.js +77 -77
  674. package/dist/wellknown.js +80 -80
  675. package/dist/workspace/driver.js +3 -3
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +81 -81
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +8 -8
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +90 -90
  682. package/dist/worktree.js +93 -93
  683. package/package.json +8 -8
  684. package/dist/chunks/generate-14316e4k.js +0 -26
  685. package/dist/chunks/generate-ctefx7dc.js +0 -18
  686. /package/dist/chunks/{generate-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{generate-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{generate-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{generate-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{generate-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{generate-24dcb14g.js → kv-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{generate-2710q6r3.js → kv-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{generate-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{generate-2bv980vf.js → kv-2bv980vf.js} +0 -0
  695. /package/dist/chunks/{generate-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{generate-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
  697. /package/dist/chunks/{generate-359p4xyc.js → kv-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{generate-3asan66x.js → kv-3asan66x.js} +0 -0
  699. /package/dist/chunks/{generate-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{generate-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{generate-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{generate-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{generate-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{generate-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{generate-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{generate-53557ph1.js → kv-53557ph1.js} +0 -0
  707. /package/dist/chunks/{generate-550bvhaj.js → kv-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{generate-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{generate-6prwharc.js → kv-6prwharc.js} +0 -0
  710. /package/dist/chunks/{generate-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{generate-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{generate-7m9af43g.js → kv-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{generate-822emrt2.js → kv-822emrt2.js} +0 -0
  714. /package/dist/chunks/{generate-84wd9syh.js → kv-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{generate-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{generate-8n3pysct.js → kv-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{generate-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{generate-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{generate-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{generate-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{generate-af5trqkr.js → kv-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{generate-afrmfg78.js → kv-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{generate-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{generate-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{generate-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{generate-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{generate-bw78ga2c.js → kv-bw78ga2c.js} +0 -0
  728. /package/dist/chunks/{generate-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{generate-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{generate-d9fn303g.js → kv-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{generate-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{generate-dajrwvna.js → kv-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{generate-dap0rakb.js → kv-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{generate-df08tz66.js → kv-df08tz66.js} +0 -0
  735. /package/dist/chunks/{generate-dy18nga0.js → kv-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{generate-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{generate-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{generate-ec1grn59.js → kv-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{generate-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{generate-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{generate-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{generate-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{generate-faypxj3z.js → kv-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{generate-fd410y7t.js → kv-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{generate-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{generate-g86h250q.js → kv-g86h250q.js} +0 -0
  747. /package/dist/chunks/{generate-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{generate-gftt206x.js → kv-gftt206x.js} +0 -0
  749. /package/dist/chunks/{generate-hk9envan.js → kv-hk9envan.js} +0 -0
  750. /package/dist/chunks/{generate-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{generate-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{generate-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{generate-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{generate-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{generate-jze0r7bz.js → kv-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{generate-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{generate-mp448xyj.js → kv-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{generate-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{generate-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{generate-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{generate-njntx4h6.js → kv-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{generate-pyv0edze.js → kv-pyv0edze.js} +0 -0
  763. /package/dist/chunks/{generate-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{generate-q74kybfr.js → kv-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{generate-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{generate-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{generate-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{generate-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{generate-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{generate-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{generate-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{generate-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{generate-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
  774. /package/dist/chunks/{generate-w803qqfp.js → kv-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{generate-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  776. /package/dist/chunks/{generate-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{generate-wtztk69x.js → kv-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{generate-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{generate-x61499pn.js → kv-x61499pn.js} +0 -0
  780. /package/dist/chunks/{generate-y44na4kk.js → kv-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{generate-y8f7s663.js → kv-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{generate-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{generate-ym463w8f.js → kv-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{generate-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
  785. /package/dist/chunks/{generate-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service75
3
- } from "./generate-y3n5sn10.js";
3
+ } from "./kv-99hedzh4.js";
4
4
  import {
5
- Service61
6
- } from "./generate-g8jhqdkc.js";
5
+ Service70
6
+ } from "./kv-ryy1tv3k.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name13,
20
+ name: () => name14,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name13 = "question";
26
+ var name14 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -54,9 +54,9 @@ var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
56
  const forms = yield* Service75;
57
- const permission = yield* Service61;
57
+ const permission = yield* Service70;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name13,
59
+ name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
62
  input: Input14,
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./generate-ec1grn59.js";
3
+ } from "./kv-ec1grn59.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
10
10
  __export(exports_retry, {
11
11
  SessionRunnerRetry: () => exports_retry,
12
12
  isRetryable: () => isRetryable2,
13
- make: () => make6,
13
+ make: () => make10,
14
14
  policy: () => policy2
15
15
  });
16
16
  import { isRetryable as isRetryable2 } from "@opencode/ai";
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
60
60
  return { retry: true, attempt, delay: normalized };
61
61
  });
62
62
  });
63
- var make6 = (bus, sessionID) => Effect.gen(function* () {
63
+ var make10 = (bus, sessionID) => Effect.gen(function* () {
64
64
  const decide = yield* policy2(sessionID);
65
65
  const wait = (input) => Effect.gen(function* () {
66
66
  const scheduled = yield* Clock.currentTimeMillis;
@@ -77,4 +77,4 @@ var make6 = (bus, sessionID) => Effect.gen(function* () {
77
77
  return { decide, wait };
78
78
  });
79
79
 
80
- export { isRetryable2, policy2, make6, exports_retry };
80
+ export { isRetryable2, policy2, make10, exports_retry };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./generate-ec1grn59.js";
3
+ } from "./kv-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./generate-tdstcens.js";
6
+ } from "./kv-tdstcens.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./generate-6k9bjkax.js";
9
+ } from "./kv-7kg1cej0.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./generate-b823c9yx.js";
2
+ Service83,
3
+ node87
4
+ } from "./kv-aah5wtyj.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./generate-gftt206x.js";
7
+ } from "./kv-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./generate-8whp40kv.js";
10
+ } from "./kv-pt1ss6jy.js";
11
11
  import {
12
12
  __export
13
- } from "./generate-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service77,
20
- make: () => make21,
21
- node: () => node81
19
+ Service: () => Service64,
20
+ make: () => make19,
21
+ node: () => node67
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service77 extends Context.Service()("@opencode/Job") {
51
+ class Service64 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
83
83
  next.set(sessionID, count - 1);
84
84
  return next;
85
85
  }
86
- var make21 = Effect.gen(function* () {
87
- const kv = yield* Service78;
86
+ var make19 = Effect.gen(function* () {
87
+ const kv = yield* Service83;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -342,7 +342,7 @@ var make21 = Effect.gen(function* () {
342
342
  next.delete(entry[0]);
343
343
  return next;
344
344
  })));
345
- return Service77.of({
345
+ return Service64.of({
346
346
  get,
347
347
  start,
348
348
  wait,
@@ -354,7 +354,7 @@ var make21 = Effect.gen(function* () {
354
354
  completeBackground
355
355
  });
356
356
  });
357
- var layer = Layer.effect(Service77, make21);
358
- var node81 = makeGlobalNode({ service: Service77, layer, deps: [node82] });
357
+ var layer = Layer.effect(Service64, make19);
358
+ var node67 = makeGlobalNode({ service: Service64, layer, deps: [node87] });
359
359
 
360
- export { Service77, make21, node81, exports_job };
360
+ export { Service64, make19, node67, exports_job };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./generate-g761bshh.js";
2
+ Service81,
3
+ node84
4
+ } from "./kv-pn8qj2g4.js";
5
5
  import {
6
- Event19,
7
- Service74,
8
- node78
9
- } from "./generate-31ps3q9w.js";
6
+ Event17,
7
+ Service69,
8
+ node72
9
+ } from "./kv-qwyj34g8.js";
10
10
  import {
11
- Service49,
12
- node52
13
- } from "./generate-hxewdwg8.js";
11
+ Service51,
12
+ node54
13
+ } from "./kv-4k0mny89.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./generate-z5v4ffb3.js";
16
+ } from "./kv-z5v4ffb3.js";
17
17
  import {
18
- Service81,
19
- node85
20
- } from "./generate-ccefhs0k.js";
18
+ Service77,
19
+ node80
20
+ } from "./kv-ccthn8e8.js";
21
21
  import {
22
22
  substitute2
23
- } from "./generate-4ts7tf6z.js";
23
+ } from "./kv-4ts7tf6z.js";
24
24
  import {
25
25
  normalize2
26
- } from "./generate-2gmwdz7g.js";
26
+ } from "./kv-q6jgdmce.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./generate-s9k62k39.js";
30
+ } from "./kv-gswrqrmx.js";
31
31
  import {
32
32
  plan2
33
- } from "./generate-j56e64zr.js";
33
+ } from "./kv-j56e64zr.js";
34
34
  import {
35
- Service50,
36
- Event11,
37
- node53
38
- } from "./generate-rfnwqbfv.js";
35
+ Service52,
36
+ Event12,
37
+ node55
38
+ } from "./kv-exz5nhcy.js";
39
39
  import {
40
40
  __export
41
- } from "./generate-9rqn6x4v.js";
41
+ } from "./kv-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
47
  Options: () => Options6,
48
- Service: () => Service48,
48
+ Service: () => Service50,
49
49
  Test: () => Test2,
50
50
  configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer19,
53
- node: () => node51,
52
+ layer: () => layer20,
53
+ node: () => node53,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -71,7 +71,7 @@ var Options6 = Schema.Struct({
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service48 extends Context.Service()("@opencode/Config") {
74
+ class Service50 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service48, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service50, service), Context.add(Test2, service));
93
93
  }));
94
- var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
94
+ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service81;
97
- const watcher = yield* Service49;
98
- const bus = yield* Service84;
99
- const credentials = yield* Service74;
96
+ const location = yield* Service77;
97
+ const watcher = yield* Service51;
98
+ const bus = yield* Service81;
99
+ const credentials = yield* Service69;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service50;
101
+ const wellknown = yield* Service52;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore" };
@@ -217,8 +217,8 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
217
217
  }, (effect) => reloadLock.withPermit(effect));
218
218
  const pendingReloads = yield* PubSub.subscribe(reloads);
219
219
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
220
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
221
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
220
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
221
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
222
222
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
223
223
  if (!wellknown.snapshot().length)
224
224
  return Effect.void;
@@ -246,7 +246,7 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
246
246
  `);
247
247
  yield* requestReload;
248
248
  }, (effect) => updateLock.withPermit(effect));
249
- return Service48.of({
249
+ return Service50.of({
250
250
  entries: Effect.fnUntraced(function* () {
251
251
  return configs;
252
252
  }),
@@ -260,11 +260,11 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
260
260
  }));
261
261
  function configured6(options) {
262
262
  return makeLocationNode({
263
- service: Service48,
264
- layer: layer19(options),
265
- deps: [node52, node88, FSUtil.node, Global.node, node85, node78, node53]
263
+ service: Service50,
264
+ layer: layer20(options),
265
+ deps: [node54, node84, FSUtil.node, Global.node, node80, node72, node55]
266
266
  });
267
267
  }
268
- var node51 = configured6();
268
+ var node53 = configured6();
269
269
 
270
- export { latest2, Options6, Service48, Test2, testLayer2, layer19, configured6, node51, exports_config };
270
+ export { latest2, Options6, Service50, Test2, testLayer2, layer20, configured6, node53, exports_config };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service46,
8
+ Service: () => Service49,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node49
10
+ node: () => node52
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service49 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service46, () => {
17
+ var layer = Layer.sync(Service49, () => {
18
18
  const environments = new Map;
19
- return Service46.of({
19
+ return Service49.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service46, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node49 = makeGlobalNode({ service: Service46, layer, deps: [] });
29
+ var node52 = makeGlobalNode({ service: Service49, layer, deps: [] });
30
30
 
31
- export { Service46, node49, exports_environment };
31
+ export { Service49, node52, exports_environment };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./kv-z5v4ffb3.js";
4
4
  import {
5
- Service81
6
- } from "./generate-ccefhs0k.js";
5
+ Service77
6
+ } from "./kv-ccthn8e8.js";
7
7
  import {
8
- Service48
9
- } from "./generate-h8rj5qwg.js";
8
+ Service50
9
+ } from "./kv-b4xjmrbp.js";
10
10
  import {
11
- Service26
12
- } from "./generate-kd1kqg9s.js";
11
+ Service27
12
+ } from "./kv-fj958thf.js";
13
13
  import {
14
14
  observe2
15
- } from "./generate-qsdy395h.js";
15
+ } from "./kv-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./generate-9rqn6x4v.js";
18
+ } from "./kv-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin15
24
+ Plugin: () => Plugin34
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin15 = define({
30
+ var Plugin34 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service48;
34
- const location = yield* Service81;
33
+ const config = yield* Service50;
34
+ const location = yield* Service77;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service26;
36
+ const worktrees = yield* Service27;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin15 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin15, exports_worktree };
51
+ export { Plugin34, exports_worktree };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./generate-27kcfysw.js";
4
+ } from "./kv-wsh4qmqs.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service84,
8
- node88
9
- } from "./generate-g761bshh.js";
7
+ Service81,
8
+ node84
9
+ } from "./kv-pn8qj2g4.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./generate-2vvh33eb.js";
12
+ } from "./kv-2vvh33eb.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./generate-ec1grn59.js";
15
+ } from "./kv-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./generate-0rhrd1mx.js";
18
+ } from "./kv-1v945k49.js";
19
19
  import {
20
- Service63,
21
- node66
22
- } from "./generate-4j3ft02p.js";
20
+ Service72,
21
+ node75
22
+ } from "./kv-qwe2mhgr.js";
23
23
  import {
24
- Service32,
25
- node36
26
- } from "./generate-7gwye6wj.js";
24
+ Service31,
25
+ node34
26
+ } from "./kv-thkq665f.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./generate-tdstcens.js";
30
+ } from "./kv-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./generate-9rqn6x4v.js";
33
+ } from "./kv-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service3,
38
+ Service: () => Service9,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node4
41
+ layer: () => layer7,
42
+ node: () => node11
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service3 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service9 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
- const bus = yield* Service84;
61
+ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
62
+ const bus = yield* Service81;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service32;
65
- const store = yield* Service63;
64
+ const context = yield* Service31;
65
+ const store = yield* Service72;
66
66
  const db = (yield* Service85).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service3.of({ generate });
148
+ return Service9.of({ generate });
149
149
  }));
150
- var node4 = makeLocationNode({
151
- service: Service3,
152
- layer: layer3,
153
- deps: [node88, llmClient2, node36, node66, node89]
150
+ var node11 = makeLocationNode({
151
+ service: Service9,
152
+ layer: layer7,
153
+ deps: [node84, llmClient2, node34, node75, node89]
154
154
  });
155
155
 
156
- export { Service3, isUntitled2, layer3, node4, exports_title };
156
+ export { Service9, isUntitled2, layer7, node11, exports_title };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./generate-emrn6kk6.js";
4
+ } from "./kv-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./generate-hske5dj9.js";
7
+ } from "./kv-y4stezpd.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./generate-tnt8nry7.js";
2
+ Service78,
3
+ node81
4
+ } from "./kv-mxcpkhvt.js";
5
5
  import {
6
6
  __export
7
- } from "./generate-9rqn6x4v.js";
7
+ } from "./kv-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -12,22 +12,22 @@ __export(exports_location, {
12
12
  Info: () => Info27,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service81,
15
+ Service: () => Service77,
16
16
  boundNode: () => boundNode2,
17
- node: () => node85,
17
+ node: () => node80,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service81 extends Context.Service()("@opencode/Location") {
24
+ class Service77 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node85 = LayerNode.unbound(Service81, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
28
- const project = yield* Service82;
26
+ var node80 = LayerNode.unbound(Service77, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service77, Effect.gen(function* () {
28
+ const project = yield* Service78;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service81.of({
30
+ return Service77.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service81,
38
+ service: Service77,
39
39
  layer: layer(ref),
40
- deps: [node86]
40
+ deps: [node81]
41
41
  });
42
42
 
43
- export { Info27, Ref4, response2, Service81, node85, boundNode2, exports_location };
43
+ export { Info27, Ref4, response2, Service77, node80, boundNode2, exports_location };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service65,
10
- node: () => node68
9
+ Service: () => Service73,
10
+ node: () => node76
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service65 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service65, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service65.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node68 = makeLocationNode({ service: Service65, layer, deps: [] });
59
+ var node76 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service65, node68, exports_hooks };
61
+ export { Service73, node76, exports_hooks };