@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,20 +1,20 @@
1
1
  import {
2
2
  Metadata2,
3
- node65
4
- } from "./pty-fq6n6ras.js";
3
+ node42
4
+ } from "./kv-ejwk4ccc.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
  ID8,
11
- Service56,
12
- node58
13
- } from "./pty-9mwkpmby.js";
11
+ Service59,
12
+ node62
13
+ } from "./kv-b8ax9c4x.js";
14
14
  import {
15
- ID16,
15
+ ID15,
16
16
  OAuth3
17
- } from "./pty-4fj5vy9w.js";
17
+ } from "./kv-j3k3m7ve.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
@@ -22,110 +22,110 @@ import {
22
22
  Method2,
23
23
  Service77,
24
24
  node81
25
- } from "./pty-5ynr4ewv.js";
25
+ } from "./kv-wh1jk1cy.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./pty-922hggd3.js";
28
+ } from "./kv-922hggd3.js";
29
29
  import {
30
30
  Info32,
31
31
  Ref4,
32
32
  Service80,
33
33
  node84
34
- } from "./pty-9wn9fhxy.js";
34
+ } from "./kv-hcw36pe0.js";
35
35
  import {
36
36
  ID13,
37
37
  Service76,
38
38
  node80
39
- } from "./pty-dyhjeyw1.js";
39
+ } from "./kv-9keenhnr.js";
40
40
  import {
41
- Service59,
42
- node61
43
- } from "./pty-6n7pjf9k.js";
41
+ Service74,
42
+ node78
43
+ } from "./kv-vw4z4sc9.js";
44
44
  import {
45
- Service46,
46
- node49
47
- } from "./pty-wcdd63eg.js";
45
+ Service49,
46
+ node52
47
+ } from "./kv-84w5jdws.js";
48
48
  import {
49
- Service73,
50
- node77
51
- } from "./pty-skxtpxf8.js";
49
+ Service71,
50
+ node75
51
+ } from "./kv-8fcqv9xp.js";
52
52
  import {
53
- Service62,
54
- node64
55
- } from "./pty-ash4hwch.js";
53
+ Service72,
54
+ node76
55
+ } from "./kv-aka7gdyy.js";
56
56
  import {
57
57
  ID12,
58
58
  Service75,
59
59
  node79
60
- } from "./pty-4seh7fh4.js";
60
+ } from "./kv-zehz82ct.js";
61
61
  import {
62
- ID11
63
- } from "./pty-4j5pe0vj.js";
62
+ ID10
63
+ } from "./kv-wbx93pnf.js";
64
64
  import {
65
- Service37,
66
- node40
67
- } from "./pty-mxe8gkry.js";
65
+ Service35,
66
+ node38
67
+ } from "./kv-kan8w75z.js";
68
68
  import {
69
- Service66,
70
- node69
71
- } from "./pty-qby9dwvd.js";
72
- import {
73
- Service53,
74
- node55
75
- } from "./pty-q9e230a9.js";
69
+ Service60,
70
+ node63
71
+ } from "./kv-8mbscqky.js";
76
72
  import {
77
- Service42,
78
- node45
79
- } from "./pty-tebcm7m3.js";
73
+ Service56,
74
+ node59
75
+ } from "./kv-44zqv7fv.js";
80
76
  import {
81
- Source3,
82
- Service41,
77
+ Service40,
83
78
  node44
84
- } from "./pty-nwmgq5md.js";
85
- import {
86
- Info6,
87
- Service44,
88
- node47
89
- } from "./pty-spg8qqh0.js";
79
+ } from "./kv-819acz3y.js";
90
80
  import {
91
- Service27,
92
- node30
93
- } from "./pty-1r4hg1ab.js";
81
+ Source3,
82
+ Service47,
83
+ node50
84
+ } from "./kv-atg5myyh.js";
94
85
  import {
95
- Service25,
96
- node28
97
- } from "./pty-gx3m57p0.js";
86
+ Info8,
87
+ Service52,
88
+ node55
89
+ } from "./kv-y78vvsaa.js";
98
90
  import {
99
91
  Service24,
100
92
  node27
101
- } from "./pty-gm6y06j9.js";
93
+ } from "./kv-n0ezjpg5.js";
102
94
  import {
103
- Service74,
104
- node78
105
- } from "./pty-n05etbth.js";
95
+ Service68,
96
+ node72
97
+ } from "./kv-s0mc9769.js";
106
98
  import {
107
- ID4,
108
99
  Service23,
109
100
  node26
110
- } from "./pty-sgc66tsc.js";
101
+ } from "./kv-vcqkga2e.js";
111
102
  import {
112
- Service61,
113
- node63
114
- } from "./pty-ppxj9f8n.js";
103
+ Service55,
104
+ node58
105
+ } from "./kv-1se20z1h.js";
106
+ import {
107
+ ID3,
108
+ Service21,
109
+ node24
110
+ } from "./kv-t5x1svsd.js";
111
+ import {
112
+ Service20,
113
+ node23
114
+ } from "./kv-ax1yp8tw.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info12,
117
+ Info3,
118
118
  ListEntry3,
119
- Service60,
120
- node62
121
- } from "./pty-93xvzgtc.js";
119
+ Service19,
120
+ node22
121
+ } from "./kv-k8z1j8bc.js";
122
122
  import {
123
- Service26,
124
- node29
125
- } from "./pty-g1ja7mqv.js";
123
+ Service22,
124
+ node25
125
+ } from "./kv-ha3v7j9n.js";
126
126
  import {
127
127
  __export
128
- } from "./pty-9rqn6x4v.js";
128
+ } from "./kv-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service56;
147
- const aisdk = yield* Service59;
146
+ const agents = yield* Service59;
147
+ const aisdk = yield* Service74;
148
148
  const providers = yield* Service76;
149
149
  const models = yield* Service75;
150
- const commands = yield* Service46;
151
- const bus = yield* Service82;
150
+ const commands = yield* Service49;
151
+ const bus = yield* Service83;
152
152
  const integration = yield* Service77;
153
- const kv = yield* Service73;
154
- const mcp = yield* Service37;
153
+ const kv = yield* Service71;
154
+ const mcp = yield* Service35;
155
155
  const location = yield* Service80;
156
- const reference = yield* Service41;
157
- const rpc = yield* Service24;
158
- const skill = yield* Service44;
159
- const tools = yield* Service42;
160
- const vcs = yield* Service74;
161
- const websearch = yield* Service23;
162
- const generate = yield* Service26;
163
- const permission = yield* Service53;
164
- const hooks = yield* Service66;
165
- const sessions = yield* Service27;
166
- const persistentPty = yield* Service25;
167
- const locations = yield* Service62;
168
- const worktrees = yield* Service60;
169
- const worktreeStrategies = yield* Service61;
156
+ const reference = yield* Service47;
157
+ const rpc = yield* Service23;
158
+ const skill = yield* Service52;
159
+ const tools = yield* Service40;
160
+ const vcs = yield* Service55;
161
+ const websearch = yield* Service21;
162
+ const generate = yield* Service22;
163
+ const permission = yield* Service56;
164
+ const hooks = yield* Service60;
165
+ const sessions = yield* Service24;
166
+ const persistentPty = yield* Service68;
167
+ const locations = yield* Service72;
168
+ const worktrees = yield* Service19;
169
+ const worktreeStrategies = yield* Service20;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info32({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info12);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info3);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
185
  const location = yield* Service80;
186
- const agents = yield* Service56;
186
+ const agents = yield* Service59;
187
187
  return {
188
188
  location: new Info32({
189
189
  directory: location.directory,
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  get: (id) => editor.get(ID13.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
267
  update: (id, update) => editor.update(ID13.make(id), update),
268
268
  remove: (id) => editor.remove(ID13.make(id)),
@@ -364,10 +364,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
364
364
  reload: integration.reload,
365
365
  connection: {
366
366
  active: (id) => integration.connection.active(ID14.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection),
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
368
368
  status: (input) => integration.connection.status({
369
369
  integrationID: ID14.make(input.integrationID),
370
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID16.make(input.connection.id) } : input.connection,
370
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.make(input.connection.id) } : input.connection,
371
371
  status: input.status
372
372
  })
373
373
  },
@@ -391,7 +391,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
391
391
  if (ref && !isCurrentLocation(ref))
392
392
  return Effect.gen(function* () {
393
393
  const location = yield* Service80;
394
- const mcp = yield* Service37;
394
+ const mcp = yield* Service35;
395
395
  return {
396
396
  location: new Info32({
397
397
  directory: location.directory,
@@ -442,7 +442,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
442
442
  callback({
443
443
  list: () => mutable(editor.list()),
444
444
  get: editor.get,
445
- add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
445
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
446
446
  update: editor.update,
447
447
  remove: editor.remove
448
448
  });
@@ -473,19 +473,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
473
473
  providers: () => response(websearch.providers()),
474
474
  query: (input) => response(websearch.query({
475
475
  query: input.query,
476
- providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
476
+ providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
477
477
  })),
478
478
  reload: websearch.reload,
479
479
  transform: (callback) => websearch.transform((editor) => {
480
480
  callback({
481
481
  add: (definition) => editor.add({
482
- id: ID4.make(definition.id),
482
+ id: ID3.make(definition.id),
483
483
  name: definition.name,
484
484
  execute: definition.execute
485
485
  }),
486
486
  default: {
487
487
  get: editor.default.get,
488
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
488
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
489
489
  }
490
490
  });
491
491
  })
@@ -539,31 +539,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
539
539
  return context;
540
540
  });
541
541
  var requirements3 = LayerNode.group([
542
- node65,
543
- node58,
544
- node61,
542
+ node42,
543
+ node62,
544
+ node78,
545
545
  node80,
546
546
  node79,
547
- node49,
548
- node86,
547
+ node52,
548
+ node87,
549
549
  node81,
550
- node77,
551
- node40,
550
+ node75,
551
+ node38,
552
552
  node84,
553
- node44,
554
- node27,
555
- node47,
556
- node45,
557
- node78,
553
+ node50,
558
554
  node26,
559
- node62,
560
- node63,
561
- node29,
562
555
  node55,
563
- node69,
564
- node30,
565
- node28,
566
- node64
556
+ node44,
557
+ node58,
558
+ node24,
559
+ node22,
560
+ node23,
561
+ node25,
562
+ node59,
563
+ node63,
564
+ node27,
565
+ node72,
566
+ node76
567
567
  ]);
568
568
  function storage2(kv, pluginID) {
569
569
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID13
3
- } from "./pty-dyhjeyw1.js";
3
+ } from "./kv-9keenhnr.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./pty-hjbc5kem.js";
6
+ } from "./kv-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID13
3
- } from "./pty-dyhjeyw1.js";
3
+ } from "./kv-9keenhnr.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -3,19 +3,19 @@ import {
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./pty-dyhjeyw1.js";
6
+ } from "./kv-9keenhnr.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service59,
16
+ Service: () => Service74,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node61
18
+ node: () => node78
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -158,9 +158,9 @@ function initError(providerID) {
158
158
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
159
159
  }
160
160
 
161
- class Service59 extends Context.Service()("@opencode/AISDK") {
161
+ class Service74 extends Context.Service()("@opencode/AISDK") {
162
162
  }
163
- var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
163
+ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
164
164
  let sdkHooks = [];
165
165
  let languageHooks = [];
166
166
  const languages = new Map;
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
198
198
  }
199
199
  return event;
200
200
  });
201
- const service = Service59.of({
201
+ const service = Service74.of({
202
202
  hook: {
203
203
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
204
204
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
862
862
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
863
863
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
864
864
  }
865
- var node61 = makeLocationNode({ service: Service59, layer: locationLayer2, deps: [] });
865
+ var node78 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
866
866
 
867
- export { InitError2, Service59, locationLayer2, node61, exports_aisdk };
867
+ export { InitError2, Service74, locationLayer2, node78, exports_aisdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./pty-hjbc5kem.js";
3
+ } from "./kv-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -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/shell/result.ts
6
6
  var exports_result = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./pty-9wn9fhxy.js";
6
+ } from "./kv-hcw36pe0.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4
16
+ names: () => names3
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names4 = ["opencode.json", "opencode.jsonc"];
22
+ var names3 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names4, discover3, exports_discovery2 };
59
+ export { names3, discover3, exports_discovery2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./pty-emrn6kk6.js";
4
+ } from "./kv-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./pty-zmzm6hpq.js";
4
+ } from "./kv-cpc3xkm6.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make18,
8
+ make20,
9
9
  combine2
10
- } from "./pty-0gdmqesm.js";
10
+ } from "./kv-rhjbct0v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./pty-z07pqspn.js";
13
+ } from "./kv-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./pty-9rqn6x4v.js";
16
+ } from "./kv-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service35,
25
+ Service: () => Service30,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node39,
29
+ node: () => node34,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service35 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service30 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make18({
64
+ var source = (entry) => make20({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make18({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service35, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service35.of({ list, put, remove, load });
111
+ return Service30.of({ list, put, remove, load });
112
112
  }));
113
- var node39 = makeLocationNode({ service: Service35, layer, deps: [node88] });
113
+ var node34 = makeLocationNode({ service: Service30, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service35, node39, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node34, exports_instruction_entry };