@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,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./pty-qaymkmh1.js";
3
+ } from "./kv-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make8(input) {
8
+ function make6(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make8 };
264
+ export { make6 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./pty-2a5m3afh.js";
3
+ } from "./kv-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./pty-922hggd3.js";
6
+ } from "./kv-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./pty-9wn9fhxy.js";
9
+ } from "./kv-hcw36pe0.js";
10
10
  import {
11
- Service70
12
- } from "./pty-f05szktz.js";
11
+ Service65
12
+ } from "./kv-5s1wygw8.js";
13
13
  import {
14
- Service19
15
- } from "./pty-mjk8ns3s.js";
14
+ Service64
15
+ } from "./kv-v9gmpqr7.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry2
21
- } from "./pty-0kptsf41.js";
20
+ Entry4
21
+ } from "./kv-97t8ptmj.js";
22
22
  import {
23
- Service53
24
- } from "./pty-q9e230a9.js";
23
+ Service56
24
+ } from "./kv-44zqv7fv.js";
25
25
  import {
26
- Service13
27
- } from "./pty-wet12kzw.js";
26
+ Service16
27
+ } from "./kv-brgpgtrm.js";
28
28
  import {
29
29
  __export
30
- } from "./pty-9rqn6x4v.js";
30
+ } from "./kv-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input10,
36
+ Input: () => Input9,
37
37
  Output: () => Output6,
38
- Plugin: () => Plugin11,
39
- name: () => name10,
40
- toModelContent: () => toModelContent5
38
+ Plugin: () => Plugin10,
39
+ name: () => name9,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name10 = "glob";
46
- var Input10 = Schema.Struct({
45
+ var name9 = "glob";
46
+ var Input9 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,27 +55,27 @@ var Input10 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output6 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
58
+ var Output6 = Schema.Array(Entry4);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin11 = {
66
+ var Plugin10 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service70;
70
- const ripgrep = yield* Service19;
69
+ const environment = yield* Service65;
70
+ const ripgrep = yield* Service64;
71
71
  const location = yield* Service80;
72
- const access = yield* Service13;
73
- const permission = yield* Service53;
72
+ const access = yield* Service16;
73
+ const permission = yield* Service56;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name10,
75
+ name: name9,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input10,
78
+ input: Input9,
79
79
  output: Output6,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
@@ -83,7 +83,7 @@ var Plugin11 = {
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name10,
86
+ action: name9,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin11 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry2.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry4.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name10, Input10, Output6, toModelContent5, Plugin11, exports_glob };
128
+ export { name9, Input9, Output6, toModelContent4, Plugin10, exports_glob };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./pty-3w5fmr99.js";
7
+ } from "./kv-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./pty-nzks3jc8.js";
11
+ } from "./kv-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./pty-rdw6cm16.js";
14
+ } from "./kv-rdw6cm16.js";
15
15
  import {
16
- Service43,
17
- node46
18
- } from "./pty-7v81x33d.js";
16
+ Service50,
17
+ node53
18
+ } from "./kv-5rnnm2b5.js";
19
19
  import {
20
- Service66,
21
- node69
22
- } from "./pty-qby9dwvd.js";
20
+ Service60,
21
+ node63
22
+ } from "./kv-8mbscqky.js";
23
23
  import {
24
24
  match2
25
- } from "./pty-y1fvbwt7.js";
25
+ } from "./kv-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./pty-9rqn6x4v.js";
28
+ } from "./kv-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content3,
35
- Error: () => Error3,
34
+ Content: () => Content2,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service42,
38
+ Service: () => Service40,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node45
41
+ node: () => node44
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service42 extends Context.Service()("@opencode/Tool") {
54
+ class Service40 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service42, Effect.gen(function* () {
57
- const hooks = yield* Service66;
58
- const image = yield* Service43;
56
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
57
+ const hooks = yield* Service60;
58
+ const image = yield* Service50;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service42.of({
187
+ return Service40.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node45 = makeLocationNode({
277
- service: Service42,
276
+ var node44 = makeLocationNode({
277
+ service: Service40,
278
278
  layer,
279
- deps: [node69, node46]
279
+ deps: [node63, node53]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service40, node44, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
@@ -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/repository.ts
6
6
  var exports_repository = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-8ym6e508.js";
2
+ Service83,
3
+ node87
4
+ } from "./kv-2gj8p1x9.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/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event10,
16
+ Event: () => Event8,
17
17
  ExecutionError: () => ExecutionError2,
18
18
  Info: () => Info7,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service46,
21
- layer: () => layer18,
22
- node: () => node49
19
+ NotFoundError: () => NotFoundError4,
20
+ Service: () => Service49,
21
+ layer: () => layer19,
22
+ node: () => node52
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event10 } from "@opencode/schema/command";
27
+ import { Event as Event8 } from "@opencode/schema/command";
28
28
  var Info7 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service46 extends Context.Service()("@opencode/Command") {
42
+ class Service49 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer18 = Layer.effect(Service46, Effect.gen(function* () {
45
- const bus = yield* Service82;
44
+ var layer19 = Layer.effect(Service49, Effect.gen(function* () {
45
+ const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -55,7 +55,7 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service46.of({
58
+ return Service49.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node49 = makeLocationNode({
75
- service: Service46,
76
- layer: layer18,
77
- deps: [node86]
74
+ var node52 = makeLocationNode({
75
+ service: Service49,
76
+ layer: layer19,
77
+ deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError6, ExecutionError2, Service46, layer18, node49, exports_command4, Event10 };
89
+ export { Info7, NotFoundError4, ExecutionError2, Service49, layer19, node52, exports_command4, Event8 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./pty-8ym6e508.js";
3
+ Service83,
4
+ node87
5
+ } from "./kv-2gj8p1x9.js";
6
6
  import {
7
- Service73,
8
- node77
9
- } from "./pty-skxtpxf8.js";
7
+ Service71,
8
+ node75
9
+ } from "./kv-8fcqv9xp.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./kv-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
19
19
  Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service69,
22
+ Service: () => Service70,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node72,
26
- resolve: () => resolve3
25
+ node: () => node74,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service69 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service70 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service69, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service73;
81
- const bus = yield* Service82;
80
+ const kv = yield* Service71;
81
+ const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
112
112
  yield* bus.publish(Event15.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service69.of({
115
+ return Service70.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node72 = makeGlobalNode({ service: Service69, layer, deps: [httpClient, node77, node86] });
146
+ var node74 = makeGlobalNode({ service: Service70, layer, deps: [httpClient, node75, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service69, Event15, inspect2, resolve3, node72, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service70, Event15, inspect2, resolve4, node74, exports_wellknown };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names3,
10
+ names: () => names4,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names3() {
44
+ function names4() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names3, paths2, exports_protected };
63
+ export { isHome2, names4, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./pty-qaymkmh1.js";
3
+ } from "./kv-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./pty-zmzm6hpq.js";
4
+ } from "./kv-cpc3xkm6.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./pty-3hepkmqq.js";
7
+ } from "./kv-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service73,
17
- node: () => node77
16
+ Service: () => Service71,
17
+ node: () => node75
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service73 extends Context.Service()("@opencode/KV") {
22
+ class Service71 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service73, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
25
25
  const db = (yield* Service84).db;
26
- return Service73.of({
26
+ return Service71.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node77 = makeGlobalNode({ service: Service73, layer, deps: [node88] });
54
+ var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
55
55
 
56
- export { Service73, node77, exports_kv };
56
+ export { Service71, node75, exports_kv };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service78
3
- } from "./pty-ymjj4a8f.js";
2
+ Service79
3
+ } from "./kv-7fn8xnah.js";
4
4
  import {
5
- Service53
6
- } from "./pty-q9e230a9.js";
5
+ Service56
6
+ } from "./kv-44zqv7fv.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service78;
57
- const permission = yield* Service53;
56
+ const forms = yield* Service79;
57
+ const permission = yield* Service56;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-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: () => Service66,
10
- node: () => node69
9
+ Service: () => Service60,
10
+ node: () => node63
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 Service66 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service60 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service66, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service60, 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(Service66, 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 Service66.of({ has, register, trigger });
57
+ return Service60.of({ has, register, trigger });
58
58
  }));
59
- var node69 = makeLocationNode({ service: Service66, layer, deps: [] });
59
+ var node63 = makeLocationNode({ service: Service60, layer, deps: [] });
60
60
 
61
- export { Service66, node69, exports_hooks };
61
+ export { Service60, node63, exports_hooks };