@opencode/core 0.0.0-dev-20290 → 0.0.0-dev-20291

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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/{pty-yt0fqk68.js → kv-0f9afca0.js} +5 -5
  8. package/dist/chunks/{pty-7dqw4kz8.js → kv-0jwsre1p.js} +5 -5
  9. package/dist/chunks/{pty-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{pty-wbkyxrgf.js → kv-0r7yqxbf.js} +5 -5
  11. package/dist/chunks/{pty-9gqjtvj6.js → kv-15qhxfad.js} +77 -77
  12. package/dist/chunks/{pty-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  13. package/dist/chunks/{pty-4zpej1ag.js → kv-1rhc35p6.js} +5 -5
  14. package/dist/chunks/{pty-n05etbth.js → kv-1se20z1h.js} +20 -20
  15. package/dist/chunks/{pty-m5gekzn4.js → kv-1ycydbdy.js} +13 -13
  16. package/dist/chunks/{pty-cyyr2ryx.js → kv-20b2s3kw.js} +14 -14
  17. package/dist/chunks/{pty-21r38tys.js → kv-21r38tys.js} +1 -1
  18. package/dist/chunks/{pty-mbeja11x.js → kv-27az1g0v.js} +13 -13
  19. package/dist/chunks/{pty-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  20. package/dist/chunks/{pty-ag9w8cw1.js → kv-2f0bjgcj.js} +5 -5
  21. package/dist/chunks/{pty-8ym6e508.js → kv-2gj8p1x9.js} +12 -12
  22. package/dist/chunks/{pty-zp56f3pw.js → kv-2mqhy2bb.js} +29 -29
  23. package/dist/chunks/{pty-qmqgtz8f.js → kv-2sejkfem.js} +9 -9
  24. package/dist/chunks/{pty-pghs74jm.js → kv-32rynewz.js} +8 -8
  25. package/dist/chunks/{pty-md3t2qq1.js → kv-3e0ngjm8.js} +23 -23
  26. package/dist/chunks/{pty-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  27. package/dist/chunks/{pty-c36kazt5.js → kv-3h5mpbf9.js} +11 -11
  28. package/dist/chunks/{pty-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{pty-gy9sb033.js → kv-3jjgv10f.js} +8 -8
  30. package/dist/chunks/{pty-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  31. package/dist/chunks/{pty-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  32. package/dist/chunks/{pty-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
  33. package/dist/chunks/{pty-h5w29vws.js → kv-427t97hr.js} +1 -1
  34. package/dist/chunks/{pty-q9e230a9.js → kv-44zqv7fv.js} +43 -43
  35. package/dist/chunks/{pty-f02r5e20.js → kv-46y19e9k.js} +11 -11
  36. package/dist/chunks/{pty-m21hmhy7.js → kv-47s7f0s9.js} +21 -21
  37. package/dist/chunks/{pty-pvh8k8j6.js → kv-51jjrgxc.js} +1 -1
  38. package/dist/chunks/{pty-54ma36ye.js → kv-54ma36ye.js} +1 -1
  39. package/dist/chunks/{pty-33w4ejhs.js → kv-56gdpj1q.js} +6 -6
  40. package/dist/chunks/{pty-57ez7d0k.js → kv-57ez7d0k.js} +2 -2
  41. package/dist/chunks/{pty-5daktx2q.js → kv-5daktx2q.js} +1 -1
  42. package/dist/chunks/{pty-5k8pr68x.js → kv-5j3xer0m.js} +4 -4
  43. package/dist/chunks/{pty-95ws1gjh.js → kv-5m6r4682.js} +1 -1
  44. package/dist/chunks/{pty-e3qxr5gk.js → kv-5qd3pb7m.js} +2 -2
  45. package/dist/chunks/{pty-7v81x33d.js → kv-5rnnm2b5.js} +9 -9
  46. package/dist/chunks/{pty-f05szktz.js → kv-5s1wygw8.js} +21 -21
  47. package/dist/chunks/{pty-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  48. package/dist/chunks/{pty-bvz46swk.js → kv-5xbtv0jk.js} +30 -30
  49. package/dist/chunks/{pty-kadk3yqy.js → kv-667b8y1w.js} +38 -38
  50. package/dist/chunks/{pty-669tq793.js → kv-669tq793.js} +1 -1
  51. package/dist/chunks/{pty-p7hfcpb1.js → kv-66cb755k.js} +14 -14
  52. package/dist/chunks/{pty-r4vqcvbj.js → kv-6h06mqyq.js} +32 -32
  53. package/dist/chunks/{pty-9gca7nqa.js → kv-6hpfnskn.js} +1 -1
  54. package/dist/chunks/{pty-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
  55. package/dist/chunks/{pty-8rz6jvcp.js → kv-6qmr4en7.js} +13 -13
  56. package/dist/chunks/{pty-vdjz1shn.js → kv-6x6hhxb0.js} +18 -18
  57. package/dist/chunks/{pty-69eq3qtv.js → kv-6yh65qsf.js} +2 -2
  58. package/dist/chunks/{pty-sxzc4anv.js → kv-73fjq2q4.js} +16 -16
  59. package/dist/chunks/{pty-47rn6gb0.js → kv-74zey65s.js} +9 -9
  60. package/dist/chunks/{pty-vz4jexq7.js → kv-768gsh1v.js} +8 -8
  61. package/dist/chunks/{pty-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  62. package/dist/chunks/{pty-cz9at8s3.js → kv-7bp89t8t.js} +12 -12
  63. package/dist/chunks/{pty-7tha5tbn.js → kv-7bpzgkas.js} +6 -6
  64. package/dist/chunks/{pty-zv15rf3h.js → kv-7ch7q35z.js} +13 -13
  65. package/dist/chunks/{pty-bskxk100.js → kv-7ewqxty1.js} +6 -6
  66. package/dist/chunks/{pty-ymjj4a8f.js → kv-7fn8xnah.js} +23 -23
  67. package/dist/chunks/{pty-g5agzp2h.js → kv-7pr2hkwv.js} +5 -5
  68. package/dist/chunks/{pty-etnqkgne.js → kv-7tcqdmgr.js} +10 -10
  69. package/dist/chunks/{pty-eq1pz5kg.js → kv-7yh4e7ss.js} +3 -3
  70. package/dist/chunks/{pty-3sm5tmhn.js → kv-7znwpdrd.js} +33 -33
  71. package/dist/chunks/{pty-tebcm7m3.js → kv-819acz3y.js} +25 -25
  72. package/dist/chunks/{pty-84txncab.js → kv-84txncab.js} +1 -1
  73. package/dist/chunks/{pty-wcdd63eg.js → kv-84w5jdws.js} +22 -22
  74. package/dist/chunks/{pty-7hs0hr17.js → kv-8525wnq7.js} +18 -18
  75. package/dist/chunks/{pty-tcezcvh9.js → kv-89znhe33.js} +4 -4
  76. package/dist/chunks/{pty-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  77. package/dist/chunks/{pty-skxtpxf8.js → kv-8fcqv9xp.js} +10 -10
  78. package/dist/chunks/{pty-p6sc6xf4.js → kv-8fwpt1dn.js} +7 -7
  79. package/dist/chunks/{pty-qby9dwvd.js → kv-8mbscqky.js} +8 -8
  80. package/dist/chunks/{pty-tkg4d23p.js → kv-90p3m6n8.js} +20 -20
  81. package/dist/chunks/{pty-94ek1h2f.js → kv-94ek1h2f.js} +2 -2
  82. package/dist/chunks/{pty-0kptsf41.js → kv-97t8ptmj.js} +29 -29
  83. package/dist/chunks/{pty-5xrxk02f.js → kv-9c9wet3j.js} +8 -8
  84. package/dist/chunks/{pty-wjahz7sy.js → kv-9fjq25es.js} +24 -24
  85. package/dist/chunks/{pty-705e2ap1.js → kv-9g7kxhdk.js} +5 -5
  86. package/dist/chunks/{pty-6faamtbd.js → kv-9jzqgwmn.js} +24 -24
  87. package/dist/chunks/{pty-dyhjeyw1.js → kv-9keenhnr.js} +10 -10
  88. package/dist/chunks/{pty-g97bb4fb.js → kv-9kmbd9mt.js} +2 -2
  89. package/dist/chunks/{pty-nw0j14yf.js → kv-9q6r8qkc.js} +15 -15
  90. package/dist/chunks/{pty-56d7j3tv.js → kv-9wac42x8.js} +30 -30
  91. package/dist/chunks/{pty-aaet6srn.js → kv-aaet6srn.js} +2 -2
  92. package/dist/chunks/{pty-v6pj48ph.js → kv-adxd5rm3.js} +8 -8
  93. package/dist/chunks/{pty-ash4hwch.js → kv-aka7gdyy.js} +9 -9
  94. package/dist/chunks/{pty-ebqraxde.js → kv-amfe68bf.js} +12 -12
  95. package/dist/chunks/{pty-qn8304n9.js → kv-an2nx9pr.js} +308 -308
  96. package/dist/chunks/{pty-nwmgq5md.js → kv-atg5myyh.js} +27 -27
  97. package/dist/chunks/{pty-z8njfdrm.js → kv-avm7cb3c.js} +31 -31
  98. package/dist/chunks/{pty-mvfdckk2.js → kv-awbtvej0.js} +4 -4
  99. package/dist/chunks/{pty-ppxj9f8n.js → kv-ax1yp8tw.js} +18 -18
  100. package/dist/chunks/kv-ax4jcnm2.js +252 -0
  101. package/dist/chunks/{pty-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{pty-9mwkpmby.js → kv-b8ax9c4x.js} +19 -19
  103. package/dist/chunks/{pty-kefs7twp.js → kv-b95fw7pb.js} +17 -17
  104. package/dist/chunks/{pty-903617vw.js → kv-bas5f7ct.js} +12 -12
  105. package/dist/chunks/{pty-an7cqtb7.js → kv-bct739vz.js} +4 -4
  106. package/dist/chunks/{pty-gee5yzwp.js → kv-bezsd2p4.js} +2 -2
  107. package/dist/chunks/{pty-vfjhn2wd.js → kv-bgc5ggmx.js} +4 -4
  108. package/dist/chunks/{pty-wet12kzw.js → kv-brgpgtrm.js} +15 -15
  109. package/dist/chunks/kv-by5v678g.js +18 -0
  110. package/dist/chunks/{pty-va5acnyd.js → kv-c1kgd9ht.js} +6 -6
  111. package/dist/chunks/{pty-t94cx5vh.js → kv-c4nf75an.js} +8 -8
  112. package/dist/chunks/{pty-hehaxqkv.js → kv-c651xxjb.js} +4 -4
  113. package/dist/chunks/{pty-2qp1m1e2.js → kv-c7mt6tt7.js} +14 -14
  114. package/dist/chunks/{pty-xdbc7yds.js → kv-ck1y1mrw.js} +11 -11
  115. package/dist/chunks/{pty-ckecvw8r.js → kv-ckecvw8r.js} +2 -2
  116. package/dist/chunks/{pty-547v9var.js → kv-cm066f29.js} +11 -11
  117. package/dist/chunks/{pty-zmzm6hpq.js → kv-cpc3xkm6.js} +3 -3
  118. package/dist/chunks/{pty-w1rhgxjx.js → kv-cwrzxbzk.js} +22 -22
  119. package/dist/chunks/{pty-wh872f6y.js → kv-cx1q331g.js} +8 -8
  120. package/dist/chunks/{pty-nsd6ttt2.js → kv-d0ct7zk6.js} +39 -39
  121. package/dist/chunks/{pty-vzxynfrx.js → kv-ddrj7ffv.js} +13 -13
  122. package/dist/chunks/{pty-xkntkrq7.js → kv-dmqcgk4z.js} +5 -5
  123. package/dist/chunks/{pty-dnxkq42g.js → kv-dnxkq42g.js} +1 -1
  124. package/dist/chunks/{pty-9aja3qk6.js → kv-dp28bv0d.js} +14 -14
  125. package/dist/chunks/{pty-mh6b7rh2.js → kv-e1y3ehrf.js} +31 -31
  126. package/dist/chunks/{pty-fvanntqq.js → kv-e6hd9jay.js} +6 -6
  127. package/dist/chunks/{pty-nna5ba44.js → kv-eapdm18n.js} +9 -9
  128. package/dist/chunks/{pty-ecfe7b91.js → kv-ecfe7b91.js} +2 -2
  129. package/dist/chunks/{pty-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{pty-fq6n6ras.js → kv-ejwk4ccc.js} +11 -11
  131. package/dist/chunks/{pty-g2eq9m13.js → kv-erb0t64m.js} +43 -43
  132. package/dist/chunks/{pty-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{pty-q3dqc3h2.js → kv-exec2md4.js} +33 -33
  134. package/dist/chunks/{pty-z236ez34.js → kv-ezq5yqf8.js} +17 -17
  135. package/dist/chunks/{pty-d6zc0yrw.js → kv-f3v3kjt8.js} +44 -44
  136. package/dist/chunks/{pty-yf10kn3d.js → kv-f5gy8qwh.js} +8 -8
  137. package/dist/chunks/{pty-4t6c091a.js → kv-f7j5nqer.js} +9 -9
  138. package/dist/chunks/{pty-t713ny8j.js → kv-fddwrfxn.js} +11 -11
  139. package/dist/chunks/{pty-hdab2k61.js → kv-ff0htmxq.js} +6 -6
  140. package/dist/chunks/{pty-f6gb79hb.js → kv-g7swxvb3.js} +11 -11
  141. package/dist/chunks/{pty-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{pty-1sspf4zp.js → kv-ggsnnm16.js} +11 -11
  143. package/dist/chunks/{pty-r5e5zwbb.js → kv-gktk48s3.js} +34 -34
  144. package/dist/chunks/{pty-ywv187z9.js → kv-gmjq4p6e.js} +12 -12
  145. package/dist/chunks/{pty-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
  146. package/dist/chunks/{pty-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{pty-g1ja7mqv.js → kv-ha3v7j9n.js} +22 -22
  148. package/dist/chunks/{pty-9wn9fhxy.js → kv-hcw36pe0.js} +2 -2
  149. package/dist/chunks/{pty-pqnsbq8t.js → kv-hp4n7r8y.js} +11 -11
  150. package/dist/chunks/{pty-77p2n3ka.js → kv-hr01rhr5.js} +29 -29
  151. package/dist/chunks/{pty-wkj69y2r.js → kv-hrscc878.js} +4 -4
  152. package/dist/chunks/{pty-pj681x6p.js → kv-hyrm0rmn.js} +17 -17
  153. package/dist/chunks/{pty-t9teg1yf.js → kv-j24nbwsh.js} +11 -11
  154. package/dist/chunks/{pty-4fj5vy9w.js → kv-j3k3m7ve.js} +31 -31
  155. package/dist/chunks/{pty-j56e64zr.js → kv-j56e64zr.js} +1 -1
  156. package/dist/chunks/{pty-5v9sj2jh.js → kv-j72w05ga.js} +7 -7
  157. package/dist/chunks/{pty-gghfkarr.js → kv-jtgs360h.js} +4 -4
  158. package/dist/chunks/{pty-zav06jzw.js → kv-jvf3yq6v.js} +4 -4
  159. package/dist/chunks/{pty-vsp1fds9.js → kv-jw80jp6b.js} +21 -21
  160. package/dist/chunks/{pty-nzks3jc8.js → kv-k3c624dm.js} +3 -3
  161. package/dist/chunks/{pty-31j2dbav.js → kv-k4cyhbf6.js} +3 -3
  162. package/dist/chunks/{pty-2xv95c3w.js → kv-k66h0t0z.js} +17 -17
  163. package/dist/chunks/kv-k76dc58r.js +26 -0
  164. package/dist/chunks/{pty-93xvzgtc.js → kv-k8z1j8bc.js} +41 -41
  165. package/dist/chunks/{pty-n7j8ea7m.js → kv-k9htr8gw.js} +23 -23
  166. package/dist/chunks/{pty-mxe8gkry.js → kv-kan8w75z.js} +44 -44
  167. package/dist/chunks/{pty-w9xbefsq.js → kv-kef0s52w.js} +15 -15
  168. package/dist/chunks/{pty-x9d5zs2r.js → kv-kv59heee.js} +7 -7
  169. package/dist/chunks/{pty-v9efh8jq.js → kv-m2s1daxd.js} +11 -11
  170. package/dist/chunks/{pty-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
  171. package/dist/chunks/{pty-rr0hpwez.js → kv-m4a35hkc.js} +10 -10
  172. package/dist/chunks/{pty-v6dqrb48.js → kv-m7hjtbwd.js} +8 -8
  173. package/dist/chunks/{pty-dhwr7h25.js → kv-m9d03vsf.js} +11 -11
  174. package/dist/chunks/{pty-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{pty-5epte933.js → kv-mf9m2v67.js} +3 -3
  176. package/dist/chunks/{pty-6bncvy53.js → kv-mr6a1zft.js} +18 -18
  177. package/dist/chunks/{pty-tazp3vs0.js → kv-mvksx64m.js} +4 -4
  178. package/dist/chunks/{pty-eracma60.js → kv-my01dwmv.js} +54 -54
  179. package/dist/chunks/{pty-emvsgpqw.js → kv-mycyv5bt.js} +13 -13
  180. package/dist/chunks/{pty-1r4hg1ab.js → kv-n0ezjpg5.js} +90 -90
  181. package/dist/chunks/{pty-xh9bnhqc.js → kv-n3efnppn.js} +46 -46
  182. package/dist/chunks/{pty-8qkhqjvg.js → kv-n4k2ksae.js} +10 -10
  183. package/dist/chunks/{pty-gkjzek3h.js → kv-n90bgf63.js} +16 -16
  184. package/dist/chunks/{pty-hzgv6j90.js → kv-n9svnw10.js} +11 -11
  185. package/dist/chunks/{pty-00pys7g3.js → kv-nr2895gc.js} +32 -32
  186. package/dist/chunks/{pty-b8pxkphb.js → kv-nrqx4r7t.js} +13 -13
  187. package/dist/chunks/{pty-25wmepd2.js → kv-nws5ej3a.js} +13 -13
  188. package/dist/chunks/{pty-7tnxghr4.js → kv-p22sctqx.js} +18 -18
  189. package/dist/chunks/{pty-f7csm4ve.js → kv-p2a54bnb.js} +27 -27
  190. package/dist/chunks/{pty-7101ktrf.js → kv-p5010f6a.js} +8 -8
  191. package/dist/chunks/{pty-9hn6k4tm.js → kv-pa8pe2x7.js} +8 -8
  192. package/dist/chunks/{pty-298khz9n.js → kv-paj8w7mt.js} +27 -27
  193. package/dist/chunks/{pty-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{pty-pknna89w.js → kv-pknna89w.js} +1 -1
  195. package/dist/chunks/{pty-3gxahddg.js → kv-pv2mm3wb.js} +9 -9
  196. package/dist/chunks/{pty-6pc27hjz.js → kv-py3kkmfq.js} +6 -6
  197. package/dist/chunks/{pty-a3ymefbh.js → kv-pz1g91fe.js} +4 -4
  198. package/dist/chunks/{pty-b1xes142.js → kv-q2b1qbpc.js} +23 -23
  199. package/dist/chunks/{pty-qg0jgkcp.js → kv-qg0jgkcp.js} +2 -2
  200. package/dist/chunks/{pty-6gp8watj.js → kv-qjbjw52h.js} +11 -11
  201. package/dist/chunks/{pty-f4c1ttaq.js → kv-qjzz4gcc.js} +1 -1
  202. package/dist/chunks/{pty-22pf21tc.js → kv-qp96avfw.js} +4 -4
  203. package/dist/chunks/{pty-qsdy395h.js → kv-qsdy395h.js} +1 -1
  204. package/dist/chunks/{pty-8p7750b3.js → kv-qwzpj14n.js} +34 -34
  205. package/dist/chunks/{pty-f2n192rq.js → kv-r8xr0va3.js} +4 -4
  206. package/dist/chunks/{pty-dh4n3axn.js → kv-rcxra8rk.js} +33 -33
  207. package/dist/chunks/{pty-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{pty-5r8pgr53.js → kv-rgxeprjc.js} +5 -5
  209. package/dist/chunks/{pty-0gdmqesm.js → kv-rhjbct0v.js} +4 -4
  210. package/dist/chunks/{pty-6hcnmam1.js → kv-rtathh62.js} +8 -8
  211. package/dist/chunks/{pty-nwcqeccj.js → kv-rtyt3vxy.js} +3 -3
  212. package/dist/chunks/{pty-kcjjyj53.js → kv-rvfpvrjw.js} +21 -21
  213. package/dist/chunks/{pty-gx3m57p0.js → kv-s0mc9769.js} +31 -31
  214. package/dist/chunks/{pty-6hjx5zpb.js → kv-s1kvmffy.js} +9 -9
  215. package/dist/chunks/{pty-zmqnc1z2.js → kv-s506am1b.js} +23 -23
  216. package/dist/chunks/{pty-91p1v22t.js → kv-sm965ndy.js} +8 -8
  217. package/dist/chunks/{pty-wfr11ckr.js → kv-sw58q4t9.js} +11 -11
  218. package/dist/chunks/{pty-5dkn69vz.js → kv-syf57q56.js} +4 -4
  219. package/dist/chunks/{pty-6rqaarfj.js → kv-t174n7tr.js} +14 -14
  220. package/dist/chunks/{pty-db9gxvpc.js → kv-t4w84n8b.js} +35 -35
  221. package/dist/chunks/{pty-sgc66tsc.js → kv-t5x1svsd.js} +26 -26
  222. package/dist/chunks/{pty-q3dzamve.js → kv-t7rncwqp.js} +15 -15
  223. package/dist/chunks/{pty-gb7cfa7m.js → kv-t96tb74j.js} +6 -6
  224. package/dist/chunks/{pty-a14qddyf.js → kv-t9xcy66w.js} +15 -15
  225. package/dist/chunks/{pty-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{pty-m0r31qfn.js → kv-tbmac1c7.js} +4 -4
  227. package/dist/chunks/{pty-mxmb5cw3.js → kv-tbx15xaw.js} +9 -9
  228. package/dist/chunks/{pty-tdstcens.js → kv-tdstcens.js} +1 -1
  229. package/dist/chunks/{pty-xtcsdhc6.js → kv-thhwr6t4.js} +3 -3
  230. package/dist/chunks/{pty-9r73yh2k.js → kv-tq46j658.js} +12 -12
  231. package/dist/chunks/{pty-166nas2n.js → kv-tra6tf1f.js} +75 -75
  232. package/dist/chunks/{pty-tvtrv512.js → kv-tvtrv512.js} +1 -1
  233. package/dist/chunks/{pty-fw473rf4.js → kv-v21f9waq.js} +19 -19
  234. package/dist/chunks/{pty-xb02k0wq.js → kv-v5dkyp31.js} +4 -4
  235. package/dist/chunks/{pty-gy1zn137.js → kv-v76ha64y.js} +24 -24
  236. package/dist/chunks/{pty-mjk8ns3s.js → kv-v9gmpqr7.js} +18 -18
  237. package/dist/chunks/{pty-gm6y06j9.js → kv-vcqkga2e.js} +14 -14
  238. package/dist/chunks/{pty-a51vj2sy.js → kv-ve7kbmta.js} +24 -24
  239. package/dist/chunks/{pty-veqvce7d.js → kv-veqvce7d.js} +1 -1
  240. package/dist/chunks/{pty-bwv6jga4.js → kv-vhvgsany.js} +123 -123
  241. package/dist/chunks/{pty-nh7v3r81.js → kv-vmfpnctd.js} +2 -2
  242. package/dist/chunks/{pty-4m37mf4n.js → kv-vmtaatps.js} +1 -1
  243. package/dist/chunks/{pty-6n7pjf9k.js → kv-vw4z4sc9.js} +9 -9
  244. package/dist/chunks/{pty-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{pty-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{pty-sp625ab5.js → kv-w137fpva.js} +8 -8
  247. package/dist/chunks/{pty-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{pty-js3ryzpr.js → kv-w4z26r1d.js} +13 -13
  249. package/dist/chunks/{pty-dtpcx3sj.js → kv-w73th6vr.js} +22 -22
  250. package/dist/chunks/{pty-qjzxgxpv.js → kv-w7fkdfn4.js} +1 -1
  251. package/dist/chunks/{pty-j5208yae.js → kv-waa9wdep.js} +6 -6
  252. package/dist/chunks/{pty-4j5pe0vj.js → kv-wbx93pnf.js} +23 -23
  253. package/dist/chunks/{pty-wd3x2cqz.js → kv-wd3x2cqz.js} +2 -2
  254. package/dist/chunks/{pty-wd87259q.js → kv-wd87259q.js} +1 -1
  255. package/dist/chunks/{pty-5ynr4ewv.js → kv-wh1jk1cy.js} +13 -13
  256. package/dist/chunks/{pty-qr5c3gzw.js → kv-whs00jjs.js} +28 -28
  257. package/dist/chunks/{pty-q82q9exb.js → kv-wqdtphwj.js} +3 -3
  258. package/dist/chunks/{pty-63xt2gg6.js → kv-wxddrk0a.js} +16 -16
  259. package/dist/chunks/{pty-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{pty-5rqh976q.js → kv-x5y6s6jw.js} +3 -3
  261. package/dist/chunks/{pty-tffeed3q.js → kv-xa69991s.js} +12 -12
  262. package/dist/chunks/{pty-6zycmakc.js → kv-xbp71ze3.js} +11 -11
  263. package/dist/chunks/{pty-drwq78ky.js → kv-xfkkasph.js} +4 -4
  264. package/dist/chunks/{pty-k3zkbgx7.js → kv-xn3zr9d1.js} +12 -12
  265. package/dist/chunks/{pty-k94pa5tz.js → kv-xqmw2bb2.js} +7 -7
  266. package/dist/chunks/{pty-vb9k7s1g.js → kv-xqn789rv.js} +8 -8
  267. package/dist/chunks/{pty-k06rjv8x.js → kv-xr0mnman.js} +10 -10
  268. package/dist/chunks/{pty-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{pty-q607fvbk.js → kv-y1pttp5r.js} +23 -23
  270. package/dist/chunks/{pty-y71avatq.js → kv-y71avatq.js} +1 -1
  271. package/dist/chunks/{pty-spg8qqh0.js → kv-y78vvsaa.js} +18 -18
  272. package/dist/chunks/{pty-k4wv29t5.js → kv-yaah2hay.js} +48 -48
  273. package/dist/chunks/{pty-pgwpntn4.js → kv-yb8n5v0q.js} +4 -4
  274. package/dist/chunks/{pty-rac3vem9.js → kv-yckxn69w.js} +33 -33
  275. package/dist/chunks/{pty-4yn5zrg4.js → kv-yemge86g.js} +14 -14
  276. package/dist/chunks/{pty-krfrp5kz.js → kv-yg0bv6zp.js} +11 -11
  277. package/dist/chunks/{pty-engkm2d6.js → kv-ykczf8eq.js} +5 -5
  278. package/dist/chunks/{pty-5ggvksrg.js → kv-yq5vd6y3.js} +29 -29
  279. package/dist/chunks/{pty-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{pty-k2q1nrn1.js → kv-yrkyn6fx.js} +1 -1
  281. package/dist/chunks/{pty-s4enseaf.js → kv-yrznvahk.js} +2 -2
  282. package/dist/chunks/{pty-6z415m3h.js → kv-yyg0qxr9.js} +3 -3
  283. package/dist/chunks/{pty-z07pqspn.js → kv-z07pqspn.js} +3 -3
  284. package/dist/chunks/{pty-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{pty-12m9tcs5.js → kv-z50nkf99.js} +13 -13
  286. package/dist/chunks/{pty-839b17zc.js → kv-z5p56kqb.js} +42 -42
  287. package/dist/chunks/{pty-29x78va6.js → kv-z63w68vq.js} +6 -6
  288. package/dist/chunks/{pty-f9g9yax9.js → kv-z8vras6m.js} +9 -9
  289. package/dist/chunks/{pty-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{pty-4seh7fh4.js → kv-zehz82ct.js} +9 -9
  291. package/dist/chunks/{pty-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{pty-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +77 -77
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +90 -90
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +109 -109
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +334 -334
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -78
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +95 -95
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -79
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -162
  542. package/dist/plugin/sdk.js +74 -74
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +353 -353
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +230 -230
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +89 -89
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +135 -135
  579. package/dist/session/context.js +153 -153
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +225 -225
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +93 -93
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +170 -170
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +218 -218
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +219 -219
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +9 -9
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +2 -2
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +106 -106
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +126 -126
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +122 -122
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +117 -117
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +101 -101
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +210 -210
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +218 -218
  651. package/dist/tool/plugin/webfetch.js +108 -108
  652. package/dist/tool/plugin/websearch.js +110 -110
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +82 -82
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +3 -3
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +78 -78
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +98 -98
  698. package/package.json +8 -8
  699. package/dist/chunks/pty-erp3bzqc.js +0 -252
  700. package/dist/chunks/pty-jqh9b0xq.js +0 -18
  701. package/dist/chunks/pty-pm9ypstk.js +0 -26
  702. /package/dist/chunks/{pty-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{pty-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{pty-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{pty-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{pty-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{pty-24dcb14g.js → kv-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{pty-2710q6r3.js → kv-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{pty-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{pty-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{pty-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{pty-359p4xyc.js → kv-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{pty-3asan66x.js → kv-3asan66x.js} +0 -0
  714. /package/dist/chunks/{pty-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{pty-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{pty-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{pty-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{pty-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{pty-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{pty-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{pty-53557ph1.js → kv-53557ph1.js} +0 -0
  722. /package/dist/chunks/{pty-550bvhaj.js → kv-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{pty-6prwharc.js → kv-6prwharc.js} +0 -0
  724. /package/dist/chunks/{pty-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{pty-7m9af43g.js → kv-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{pty-822emrt2.js → kv-822emrt2.js} +0 -0
  727. /package/dist/chunks/{pty-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{pty-8n3pysct.js → kv-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{pty-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{pty-922hggd3.js → kv-922hggd3.js} +0 -0
  731. /package/dist/chunks/{pty-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{pty-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{pty-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{pty-af5trqkr.js → kv-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{pty-afrmfg78.js → kv-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{pty-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{pty-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{pty-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{pty-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{pty-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{pty-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{pty-d9fn303g.js → kv-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{pty-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{pty-dajrwvna.js → kv-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{pty-dap0rakb.js → kv-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{pty-df08tz66.js → kv-df08tz66.js} +0 -0
  747. /package/dist/chunks/{pty-dy18nga0.js → kv-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{pty-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{pty-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{pty-ec1grn59.js → kv-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{pty-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{pty-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{pty-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{pty-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{pty-faypxj3z.js → kv-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{pty-fd410y7t.js → kv-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{pty-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{pty-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{pty-g86h250q.js → kv-g86h250q.js} +0 -0
  760. /package/dist/chunks/{pty-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{pty-gftt206x.js → kv-gftt206x.js} +0 -0
  762. /package/dist/chunks/{pty-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{pty-hk9envan.js → kv-hk9envan.js} +0 -0
  764. /package/dist/chunks/{pty-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{pty-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{pty-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{pty-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{pty-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{pty-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{pty-mp448xyj.js → kv-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{pty-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{pty-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{pty-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{pty-njntx4h6.js → kv-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{pty-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{pty-q74kybfr.js → kv-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{pty-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{pty-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{pty-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{pty-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{pty-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{pty-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{pty-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{pty-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{pty-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{pty-w803qqfp.js → kv-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{pty-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{pty-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{pty-wtztk69x.js → kv-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{pty-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{pty-x61499pn.js → kv-x61499pn.js} +0 -0
  792. /package/dist/chunks/{pty-y44na4kk.js → kv-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{pty-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{pty-y8f7s663.js → kv-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{pty-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{pty-ym463w8f.js → kv-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{pty-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./pty-5t3nmthw.js";
3
+ } from "./kv-5t3nmthw.js";
4
4
  import {
5
- Service58,
6
- node60
7
- } from "./pty-fw473rf4.js";
5
+ Service73,
6
+ node77
7
+ } from "./kv-v21f9waq.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service26,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer11,
20
- node: () => node29
17
+ Service: () => Service22,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer9,
20
+ node: () => node25
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
28
28
  }) {
29
29
  }
30
30
 
31
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
32
32
  message: Schema.String,
33
33
  service: Schema.optional(Schema.String)
34
34
  }) {
35
35
  }
36
36
 
37
- class Service26 extends Context.Service()("@opencode/Generate") {
37
+ class Service22 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer11 = Layer.effect(Service26, Effect.gen(function* () {
39
+ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service58;
41
+ const resolver = yield* Service73;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -48,7 +48,7 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
48
48
  "SessionRunnerModel.UnresolvedProviderVariablesError",
49
49
  "SessionRunnerModel.UnsupportedCompactionError"
50
50
  ], (error) => {
51
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
59
59
  model: resolved.model,
60
60
  prompt: input.prompt,
61
61
  http: { headers: { "x-opencode-session": SessionID.create() } }
62
- })).pipe(Effect.mapError((error) => new UnavailableError3({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError2({
63
63
  message: error.message,
64
64
  service: resolved.ref.providerID
65
65
  })));
66
66
  return response.text;
67
67
  });
68
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service26.of({ text });
71
+ return Service22.of({ text });
72
72
  }));
73
- var node29 = makeLocationNode({
74
- service: Service26,
75
- layer: layer11,
76
- deps: [node60, llmClient2]
73
+ var node25 = makeLocationNode({
74
+ service: Service22,
75
+ layer: layer9,
76
+ deps: [node77, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError3, Service26, layer11, node29, exports_generate };
79
+ export { ModelSelectionError2, UnavailableError2, Service22, layer9, node25, exports_generate };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./pty-6rqaarfj.js";
4
+ } from "./kv-t174n7tr.js";
5
5
  import {
6
6
  __export
7
- } from "./pty-9rqn6x4v.js";
7
+ } from "./kv-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service67
4
- } from "./pty-d6zc0yrw.js";
3
+ Service53
4
+ } from "./kv-f3v3kjt8.js";
5
5
  import {
6
- Service57
7
- } from "./pty-zp56f3pw.js";
6
+ Service51
7
+ } from "./kv-2mqhy2bb.js";
8
8
  import {
9
9
  observe2
10
- } from "./pty-qsdy395h.js";
10
+ } from "./kv-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin46
19
+ Plugin: () => Plugin31
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin46 = define({
23
+ var Plugin31 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service67;
27
- const snapshot = yield* Service57;
26
+ const config = yield* Service53;
27
+ const snapshot = yield* Service51;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin46 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin46, exports_snapshot };
38
+ export { Plugin31, exports_snapshot };
@@ -1,54 +1,54 @@
1
- import {
2
- Service82,
3
- node86
4
- } from "./pty-8ym6e508.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./pty-ywv187z9.js";
4
+ } from "./kv-2gj8p1x9.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./kv-gmjq4p6e.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./pty-9wn9fhxy.js";
12
+ } from "./kv-hcw36pe0.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./pty-jqh9b0xq.js";
15
+ } from "./kv-by5v678g.js";
16
16
  import {
17
- Service68,
18
- node71
19
- } from "./pty-wjahz7sy.js";
17
+ Service54,
18
+ node57
19
+ } from "./kv-9fjq25es.js";
20
20
  import {
21
- node25
22
- } from "./pty-dtpcx3sj.js";
21
+ node21
22
+ } from "./kv-w73th6vr.js";
23
23
  import {
24
- Service9,
25
- node11
26
- } from "./pty-qmqgtz8f.js";
24
+ Service11,
25
+ node13
26
+ } from "./kv-2sejkfem.js";
27
27
  import {
28
28
  __export
29
- } from "./pty-9rqn6x4v.js";
29
+ } from "./kv-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service6,
36
- node: () => node7
35
+ Service: () => Service3,
36
+ node: () => node4
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service6 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service3 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service6, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service68;
48
- const bus = yield* Service82;
47
+ const watcher = yield* Service54;
48
+ const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service83;
51
- const policy = yield* Service9;
50
+ const git = yield* Service82;
51
+ const policy = yield* Service11;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service6.of({});
103
+ return Service3.of({});
104
104
  }));
105
- var node7 = makeLocationNode({
106
- service: Service6,
105
+ var node4 = makeLocationNode({
106
+ service: Service3,
107
107
  layer,
108
- deps: [node71, FSUtil.node, node84, node87, node86, node25, node11]
108
+ deps: [node57, FSUtil.node, node84, node86, node87, node21, node13]
109
109
  });
110
110
 
111
- export { Service6, node7, exports_location_watcher };
111
+ export { Service3, node4, exports_location_watcher };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./pty-5daktx2q.js";
3
+ } from "./kv-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./pty-922hggd3.js";
6
+ } from "./kv-922hggd3.js";
7
7
  import {
8
8
  ID5,
9
9
  Name2
10
- } from "./pty-spg8qqh0.js";
10
+ } from "./kv-y78vvsaa.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service53
3
- } from "./pty-q9e230a9.js";
2
+ Service56
3
+ } from "./kv-44zqv7fv.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./pty-4vcrnpx2.js";
7
+ } from "./kv-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./pty-3v8g72cx.js";
10
+ } from "./kv-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input8,
19
+ Input: () => Input11,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin8,
22
+ Plugin: () => Plugin12,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name8
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name8 = "webfetch";
33
+ var name11 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
@@ -38,7 +38,7 @@ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as tex
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input8 = Schema.Struct({
41
+ var Input11 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input8.fields.format,
51
+ format: Input11.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin8 = {
95
+ var Plugin12 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service53;
99
+ const permission = yield* Service56;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name8,
101
+ name: name11,
102
102
  options: { codemode: false },
103
103
  description: description5,
104
- input: Input8,
104
+ input: Input11,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin8 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name8,
112
+ action: name11,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input8, Plugin8, extractTextFromHTML2, exports_webfetch };
170
+ export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin12, extractTextFromHTML2, exports_webfetch };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./pty-9wn9fhxy.js";
4
+ } from "./kv-hcw36pe0.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-rdw6cm16.js";
7
+ } from "./kv-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service18,
17
- node: () => node20
16
+ Service: () => Service17,
17
+ node: () => node19
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service18 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service17 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service18, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
27
27
  const location = yield* Service80;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service18.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service17.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node20 = makeLocationNode({
91
- service: Service18,
90
+ var node19 = makeLocationNode({
91
+ service: Service17,
92
92
  layer,
93
93
  deps: [node84, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service18, node20, exports_formatter2 };
96
+ export { Service17, node19, exports_formatter2 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./pty-zmzm6hpq.js";
4
+ } from "./kv-cpc3xkm6.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./pty-8ym6e508.js";
6
+ Service83,
7
+ node87
8
+ } from "./kv-2gj8p1x9.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./pty-pknna89w.js";
11
+ } from "./kv-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./pty-3zsf4n22.js";
14
+ } from "./kv-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./pty-9rqn6x4v.js";
17
+ } from "./kv-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID16,
25
- Info: () => Info31,
23
+ Event: () => Event19,
24
+ ID: () => ID15,
25
+ Info: () => Info30,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service79,
28
+ Service: () => Service78,
29
29
  Value: () => Value2,
30
- node: () => node83
30
+ node: () => node82
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID16 = Credential.ID;
37
+ var ID15 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event19 = Credential.Event;
42
42
 
43
- class Info31 extends Schema.Class("Credential.Info")({
44
- id: ID16,
43
+ class Info30 extends Schema.Class("Credential.Info")({
44
+ id: ID15,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service79 extends Context.Service()("@opencode/Credential") {
51
+ class Service78 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service79, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service82;
55
+ const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info31({
60
+ return new Info30({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service79.of({
71
+ return Service78.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info31({
80
- id: ID16.create(),
79
+ const credential = new Info30({
80
+ id: ID15.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event20.Updated, {}, { global: true });
105
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event19.Updated, {}, { global: true });
105
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event20.Updated, {}, { global: true });
157
+ yield* bus.publish(Event19.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event20.Updated, {}, { global: true });
190
+ yield* bus.publish(Event19.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node83 = makeGlobalNode({ service: Service79, layer, deps: [node88, node86] });
196
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
197
197
 
198
- export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service79, node83, exports_credential };
198
+ export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service78, node82, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./pty-tazgh4e4.js";
10
+ } from "./kv-tazgh4e4.js";
11
11
  import {
12
12
  Service80
13
- } from "./pty-9wn9fhxy.js";
13
+ } from "./kv-hcw36pe0.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./pty-n05etbth.js";
16
+ } from "./kv-1se20z1h.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./kv-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin16,
24
+ Plugin: () => Plugin39,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin16 = define({
33
+ var Plugin39 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service80;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin16, exports_hg };
191
+ export { Plugin39, exports_hg };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./pty-550bvhaj.js";
3
+ } from "./kv-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./pty-j5zkgpj8.js";
6
+ } from "./kv-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./pty-3asan66x.js";
9
+ } from "./kv-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./pty-engkm2d6.js";
12
+ } from "./kv-ykczf8eq.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {