@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,35 +1,35 @@
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
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make18,
10
+ make20,
11
11
  diffByKey2
12
- } from "./pty-0gdmqesm.js";
12
+ } from "./kv-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./pty-922hggd3.js";
15
+ } from "./kv-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./pty-rdw6cm16.js";
18
+ } from "./kv-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./pty-9rqn6x4v.js";
21
+ } from "./kv-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event7,
26
+ Event: () => Event6,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options6,
30
- Service: () => Service40,
31
- configured: () => configured6,
32
- layer: () => layer17,
29
+ Options: () => Options4,
30
+ Service: () => Service39,
31
+ configured: () => configured5,
32
+ layer: () => layer16,
33
33
  node: () => node43
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event7 = {
45
+ var Event6 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options6 = Schema.Struct({
48
+ var Options4 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service39 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
56
- const bus = yield* Service82;
55
+ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
56
+ const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make18({
77
+ const source = (value) => make20({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service40.of({
93
+ return Service39.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured6(options) {
107
+ function configured5(options) {
108
108
  return makeLocationNode({
109
- service: Service40,
110
- layer: layer17(options),
111
- deps: [node86]
109
+ service: Service39,
110
+ layer: layer16(options),
111
+ deps: [node87]
112
112
  });
113
113
  }
114
- var node43 = configured6();
114
+ var node43 = configured5();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event7, Options6, Service40, layer17, configured6, node43, exports_instruction_discovery };
145
+ export { File2, Event6, Options4, Service39, layer16, configured5, node43, exports_instruction_discovery };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./pty-zr2ceqn5.js";
3
+ } from "./kv-zr2ceqn5.js";
4
4
  import {
5
- Service68
6
- } from "./pty-wjahz7sy.js";
5
+ Service54
6
+ } from "./kv-9fjq25es.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make3
16
+ make: () => make10
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make3 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service68;
25
+ var make10 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service54;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make3, LoadError2, exports_module };
105
+ export { make10, LoadError2, exports_module };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service3,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
- node: () => node4
11
+ node: () => node8
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service3 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node4 = makeLocationNode({
19
- service: Service3,
18
+ var node8 = makeLocationNode({
19
+ service: Service6,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service3, node4, bound2, exports_instance2 };
32
+ export { Service6, node8, bound2, exports_instance2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node84
7
- } from "./pty-9wn9fhxy.js";
7
+ } from "./kv-hcw36pe0.js";
8
8
  import {
9
- Service19,
10
- node21
11
- } from "./pty-mjk8ns3s.js";
9
+ Service64,
10
+ node67
11
+ } from "./kv-v9gmpqr7.js";
12
12
  import {
13
13
  isHome2,
14
- names3
15
- } from "./pty-tcezcvh9.js";
14
+ names4
15
+ } from "./kv-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./pty-9rqn6x4v.js";
18
+ } from "./kv-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options2,
25
- Service: () => Service16,
26
- configured: () => configured2,
24
+ Options: () => Options8,
25
+ Service: () => Service63,
26
+ configured: () => configured8,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer8,
29
- node: () => node18,
28
+ layer: () => layer22,
29
+ node: () => node66,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options8 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service16 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service63 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service63, Effect.gen(function* () {
62
62
  const location = yield* Service80;
63
- const ripgrep = yield* Service19;
63
+ const ripgrep = yield* Service64;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service16.of({
108
+ return Service63.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service63, Effect.gen(function* () {
116
116
  const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service16.of({
129
+ return Service63.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service16.of({
134
+ return Service63.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -182,9 +182,9 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service16, layer: layer8(options), deps: [node84, node21] });
185
+ function configured8(options) {
186
+ return makeLocationNode({ service: Service63, layer: layer22(options), deps: [node84, node67] });
187
187
  }
188
- var node18 = configured2();
188
+ var node66 = configured8();
189
189
 
190
- export { Options2, Service16, ripgrepLayer2, fffLayer2, layer8, configured2, node18, exports_search };
190
+ export { Options8, Service63, ripgrepLayer2, fffLayer2, layer22, configured8, node66, exports_search };
@@ -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/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./pty-qfa1cgps.js";
3
+ } from "./kv-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service51
3
- } from "./pty-hdab2k61.js";
2
+ Service45
3
+ } from "./kv-ff0htmxq.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./pty-jqh9b0xq.js";
6
+ } from "./kv-by5v678g.js";
7
7
  import {
8
- Service63
9
- } from "./pty-xh9bnhqc.js";
8
+ Service37
9
+ } from "./kv-n3efnppn.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./pty-vzs5sf6e.js";
12
+ } from "./kv-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./pty-9rqn6x4v.js";
15
+ } from "./kv-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service51;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service63), instances.provide(input.session));
25
+ const instances = yield* Service45;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./pty-drwq78ky.js";
3
+ } from "./kv-xfkkasph.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  Service76
4
- } from "./pty-dyhjeyw1.js";
4
+ } from "./kv-9keenhnr.js";
5
5
  import {
6
- Service67
7
- } from "./pty-d6zc0yrw.js";
6
+ Service53
7
+ } from "./kv-f3v3kjt8.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
12
  const providers = yield* Service76;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service67);
14
+ const service = yield* Effect.serviceOption(Service53);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./pty-zmzm6hpq.js";
4
+ } from "./kv-cpc3xkm6.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./pty-y71avatq.js";
7
+ } from "./kv-y71avatq.js";
8
8
  import {
9
- Service82,
10
- node86
11
- } from "./pty-8ym6e508.js";
9
+ Service83,
10
+ node87
11
+ } from "./kv-2gj8p1x9.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./pty-ec1grn59.js";
14
+ } from "./kv-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./pty-gftt206x.js";
17
+ } from "./kv-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./pty-5epte933.js";
20
+ } from "./kv-mf9m2v67.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./pty-z07pqspn.js";
24
+ } from "./kv-z07pqspn.js";
25
25
  import {
26
26
  __export
27
- } from "./pty-9rqn6x4v.js";
27
+ } from "./kv-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info8,
35
+ Info: () => Info5,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service49,
40
+ Service: () => Service43,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer20,
48
+ layer: () => layer18,
49
49
  list: () => list3,
50
- make: () => make16,
50
+ make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node51,
53
+ node: () => node46,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info8,
68
+ Info as Info5,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service49 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service43 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make16 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make17 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
158
158
  const db = database.db;
159
- const bus = yield* Service82;
159
+ const bus = yield* Service83;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info8.make({
176
+ }).pipe(Effect.map((event) => Info5.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer20 = Layer.effect(Service49, make16());
231
- var node51 = makeGlobalNode({ service: Service49, layer: layer20, deps: [node88, node86] });
230
+ var layer18 = Layer.effect(Service43, make17());
231
+ var node46 = makeGlobalNode({ service: Service43, layer: layer18, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service49, make16, layer20, node51, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service43, make17, layer18, node46, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service67
4
- } from "./pty-d6zc0yrw.js";
3
+ Service53
4
+ } from "./kv-f3v3kjt8.js";
5
5
  import {
6
- Service72
7
- } from "./pty-w9xbefsq.js";
6
+ Service69
7
+ } from "./kv-kef0s52w.js";
8
8
  import {
9
9
  observe2
10
- } from "./pty-qsdy395h.js";
10
+ } from "./kv-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./kv-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell2 = {};
17
17
  __export(exports_shell2, {
18
18
  ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin44
19
+ Plugin: () => Plugin20
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin44 = define({
23
+ var Plugin20 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service67;
27
- const shell = yield* Service72;
26
+ const config = yield* Service53;
27
+ const shell = yield* Service69;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin44 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin44, exports_shell2 };
37
+ export { Plugin20, exports_shell2 };
@@ -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/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service70
3
- } from "./pty-f05szktz.js";
2
+ Service65
3
+ } from "./kv-5s1wygw8.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service70;
22
+ const environment = yield* Service65;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;