@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,56 +1,56 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-8ym6e508.js";
2
+ Service83,
3
+ node87
4
+ } from "./kv-2gj8p1x9.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./pty-84txncab.js";
11
+ } from "./kv-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./pty-922hggd3.js";
14
+ } from "./kv-922hggd3.js";
15
15
  import {
16
- Service45,
17
- node48
18
- } from "./pty-tkg4d23p.js";
16
+ Service48,
17
+ node51
18
+ } from "./kv-90p3m6n8.js";
19
19
  import {
20
20
  create3
21
- } from "./pty-rdw6cm16.js";
21
+ } from "./kv-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./kv-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event8,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info5,
31
+ Info: () => Info6,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service41,
34
+ Service: () => Service47,
35
35
  Source: () => Source3,
36
- node: () => node44
36
+ node: () => node50
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event8 } from "@opencode/schema/reference";
42
+ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info5 = Reference.Info;
46
+ var Info6 = Reference.Info;
47
47
 
48
- class Service41 extends Context.Service()("@opencode/Reference") {
48
+ class Service47 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service41, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service82;
53
- const cache = yield* Service45;
52
+ const bus = yield* Service83;
53
+ const cache = yield* Service48;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info5.make({ ...info, path: source.path })];
63
+ return [Info6.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info5.make({
75
+ Info6.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service41.of({
107
+ return Service47.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node44 = makeLocationNode({
116
- service: Service41,
115
+ var node50 = makeLocationNode({
116
+ service: Service47,
117
117
  layer,
118
- deps: [Global.node, node86, node48]
118
+ deps: [Global.node, node87, node51]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info5, Service41, node44, exports_reference2, Event8 };
121
+ export { LocalSource2, GitSource2, Source3, Info6, Service47, node50, exports_reference2, Event7 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service67
7
- } from "./pty-d6zc0yrw.js";
6
+ Service53
7
+ } from "./kv-f3v3kjt8.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./pty-2a5m3afh.js";
10
+ } from "./kv-2a5m3afh.js";
11
11
  import {
12
- Service70
13
- } from "./pty-f05szktz.js";
12
+ Service65
13
+ } from "./kv-5s1wygw8.js";
14
14
  import {
15
- Service52
16
- } from "./pty-z236ez34.js";
15
+ Service46
16
+ } from "./kv-ezq5yqf8.js";
17
17
  import {
18
- Service53
19
- } from "./pty-q9e230a9.js";
18
+ Service56
19
+ } from "./kv-44zqv7fv.js";
20
20
  import {
21
- Service13,
21
+ Service16,
22
22
  resolvePath2
23
- } from "./pty-wet12kzw.js";
23
+ } from "./kv-brgpgtrm.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./pty-vzs5sf6e.js";
29
+ } from "./kv-vzs5sf6e.js";
30
30
  import {
31
- Service72,
31
+ Service69,
32
32
  name15
33
- } from "./pty-w9xbefsq.js";
33
+ } from "./kv-kef0s52w.js";
34
34
  import {
35
- NotFoundError9,
36
- Service63
37
- } from "./pty-xh9bnhqc.js";
35
+ NotFoundError3,
36
+ Service37
37
+ } from "./kv-n3efnppn.js";
38
38
  import {
39
- Service27
40
- } from "./pty-1r4hg1ab.js";
39
+ Service24
40
+ } from "./kv-n0ezjpg5.js";
41
41
  import {
42
42
  scan2
43
- } from "./pty-pgwpntn4.js";
43
+ } from "./kv-yb8n5v0q.js";
44
44
  import {
45
45
  __export
46
- } from "./pty-9rqn6x4v.js";
46
+ } from "./kv-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
@@ -119,16 +119,16 @@ Output is streaming to: ${file}`,
119
119
  var Plugin6 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service27;
123
- const jobs = yield* Service52;
122
+ const sessions = yield* Service24;
123
+ const jobs = yield* Service46;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service70;
126
- const access = yield* Service13;
127
- const shell = yield* Service63;
128
- const shellSelect = yield* Service72;
125
+ const environment = yield* Service65;
126
+ const access = yield* Service16;
127
+ const shell = yield* Service37;
128
+ const shellSelect = yield* Service69;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service53;
131
- const config = yield* Service67;
130
+ const permission = yield* Service56;
131
+ const config = yield* Service53;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -210,7 +210,7 @@ var Plugin6 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError9({ id: info.id });
213
+ return yield* new NotFoundError3({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -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/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -11,7 +11,7 @@ __export(exports_driver, {
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
13
  make: () => make21,
14
- node: () => node75,
14
+ node: () => node70,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node75 = registryNode2({});
47
+ var node70 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node75, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node70, exports_driver };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
- node87
6
- } from "./pty-ywv187z9.js";
5
+ node86
6
+ } from "./kv-gmjq4p6e.js";
7
7
  import {
8
8
  Service80,
9
9
  node84
10
- } from "./pty-9wn9fhxy.js";
10
+ } from "./kv-hcw36pe0.js";
11
11
  import {
12
12
  create3
13
- } from "./pty-rdw6cm16.js";
13
+ } from "./kv-rdw6cm16.js";
14
14
  import {
15
- make19
16
- } from "./pty-vz4jexq7.js";
15
+ make12
16
+ } from "./kv-768gsh1v.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./kv-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service61,
24
+ Service: () => Service20,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node63
26
+ node: () => node23
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service61 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service20 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service61, Effect.gen(function* () {
36
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
37
37
  const location = yield* Service80;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make19;
39
+ const git = yield* make12;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service61.of({ ...state, directory: location.directory });
58
+ return Service20.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node63 = makeLocationNode({
61
- service: Service61,
60
+ var node23 = makeLocationNode({
61
+ service: Service20,
62
62
  layer,
63
- deps: [node84, Global.node, node87, FSUtil.node]
63
+ deps: [node84, Global.node, node86, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service61, node63, exports_strategies };
66
+ export { Service20, node23, exports_strategies };
@@ -0,0 +1,252 @@
1
+ import {
2
+ node62
3
+ } from "./kv-b8ax9c4x.js";
4
+ import {
5
+ node83
6
+ } from "./kv-7fn8xnah.js";
7
+ import {
8
+ node81
9
+ } from "./kv-wh1jk1cy.js";
10
+ import {
11
+ node84,
12
+ boundNode2
13
+ } from "./kv-hcw36pe0.js";
14
+ import {
15
+ node80
16
+ } from "./kv-9keenhnr.js";
17
+ import {
18
+ node78
19
+ } from "./kv-vw4z4sc9.js";
20
+ import {
21
+ node79
22
+ } from "./kv-zehz82ct.js";
23
+ import {
24
+ node52
25
+ } from "./kv-84w5jdws.js";
26
+ import {
27
+ configured6,
28
+ node56
29
+ } from "./kv-f3v3kjt8.js";
30
+ import {
31
+ node68
32
+ } from "./kv-5s1wygw8.js";
33
+ import {
34
+ node17
35
+ } from "./kv-nws5ej3a.js";
36
+ import {
37
+ node19
38
+ } from "./kv-j24nbwsh.js";
39
+ import {
40
+ node66
41
+ } from "./kv-paj8w7mt.js";
42
+ import {
43
+ node65
44
+ } from "./kv-97t8ptmj.js";
45
+ import {
46
+ node77
47
+ } from "./kv-v21f9waq.js";
48
+ import {
49
+ node25
50
+ } from "./kv-ha3v7j9n.js";
51
+ import {
52
+ node53
53
+ } from "./kv-5rnnm2b5.js";
54
+ import {
55
+ node38
56
+ } from "./kv-kan8w75z.js";
57
+ import {
58
+ Service45,
59
+ node48
60
+ } from "./kv-ff0htmxq.js";
61
+ import {
62
+ node34
63
+ } from "./kv-w4z26r1d.js";
64
+ import {
65
+ node63
66
+ } from "./kv-8mbscqky.js";
67
+ import {
68
+ node59
69
+ } from "./kv-44zqv7fv.js";
70
+ import {
71
+ node47
72
+ } from "./kv-1ycydbdy.js";
73
+ import {
74
+ configured5,
75
+ node43
76
+ } from "./kv-p2a54bnb.js";
77
+ import {
78
+ node37
79
+ } from "./kv-ddrj7ffv.js";
80
+ import {
81
+ node44
82
+ } from "./kv-819acz3y.js";
83
+ import {
84
+ node32
85
+ } from "./kv-whs00jjs.js";
86
+ import {
87
+ node50
88
+ } from "./kv-atg5myyh.js";
89
+ import {
90
+ node39
91
+ } from "./kv-mr6a1zft.js";
92
+ import {
93
+ node55
94
+ } from "./kv-y78vvsaa.js";
95
+ import {
96
+ node33
97
+ } from "./kv-t9xcy66w.js";
98
+ import {
99
+ node30
100
+ } from "./kv-15qhxfad.js";
101
+ import {
102
+ node54
103
+ } from "./kv-2mqhy2bb.js";
104
+ import {
105
+ node73
106
+ } from "./kv-kef0s52w.js";
107
+ import {
108
+ node64
109
+ } from "./kv-xa69991s.js";
110
+ import {
111
+ node40
112
+ } from "./kv-n3efnppn.js";
113
+ import {
114
+ node26
115
+ } from "./kv-vcqkga2e.js";
116
+ import {
117
+ node58
118
+ } from "./kv-1se20z1h.js";
119
+ import {
120
+ node24
121
+ } from "./kv-t5x1svsd.js";
122
+ import {
123
+ node23
124
+ } from "./kv-ax1yp8tw.js";
125
+ import {
126
+ node21
127
+ } from "./kv-w73th6vr.js";
128
+ import {
129
+ node4
130
+ } from "./kv-hr01rhr5.js";
131
+ import {
132
+ Service18,
133
+ node20
134
+ } from "./kv-5xbtv0jk.js";
135
+ import {
136
+ node18
137
+ } from "./kv-brgpgtrm.js";
138
+ import {
139
+ node8,
140
+ bound2
141
+ } from "./kv-pa8pe2x7.js";
142
+ import {
143
+ node11
144
+ } from "./kv-yckxn69w.js";
145
+ import {
146
+ node10
147
+ } from "./kv-tq46j658.js";
148
+ import {
149
+ node9
150
+ } from "./kv-k66h0t0z.js";
151
+ import {
152
+ node5
153
+ } from "./kv-z5p56kqb.js";
154
+ import {
155
+ node71
156
+ } from "./kv-qwzpj14n.js";
157
+ import {
158
+ node3
159
+ } from "./kv-yq5vd6y3.js";
160
+ import {
161
+ node2
162
+ } from "./kv-tra6tf1f.js";
163
+ import {
164
+ __export
165
+ } from "./kv-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service45,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node48
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node84,
181
+ node20,
182
+ node68,
183
+ node56,
184
+ node62,
185
+ node52,
186
+ node50,
187
+ node26,
188
+ node24,
189
+ node81,
190
+ node80,
191
+ node79,
192
+ node77,
193
+ node78,
194
+ node21,
195
+ node63,
196
+ node8,
197
+ node5,
198
+ node23,
199
+ node66,
200
+ node65,
201
+ node73,
202
+ node71,
203
+ node40,
204
+ node55,
205
+ node37,
206
+ node43,
207
+ node18,
208
+ node17,
209
+ node19,
210
+ node38,
211
+ node59,
212
+ node44,
213
+ node64,
214
+ node53,
215
+ node33,
216
+ node39,
217
+ node34,
218
+ node83,
219
+ node25,
220
+ node9,
221
+ node32,
222
+ node10,
223
+ node47,
224
+ node11,
225
+ node3,
226
+ node30,
227
+ node54,
228
+ node2,
229
+ node58,
230
+ node4
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node56.replace(configured6({ project: false, global: false })),
235
+ node43.replace(configured5({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node84.replace(boundNode2(ref)),
243
+ node8.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service18).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./pty-2a5m3afh.js";
5
+ } from "./kv-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./pty-9rqn6x4v.js";
8
+ } from "./kv-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-8ym6e508.js";
2
+ Service83,
3
+ node87
4
+ } from "./kv-2gj8p1x9.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-rdw6cm16.js";
7
+ } from "./kv-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- Agent: () => exports_agent3,
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
17
  Event: () => Event12,
18
18
  ID: () => ID8,
19
- Info: () => Info11,
19
+ Info: () => Info22,
20
20
  Name: () => Name3,
21
- Service: () => Service56,
21
+ Service: () => Service59,
22
22
  defaultID: () => defaultID2,
23
- node: () => node58
23
+ node: () => node62
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,12 +34,12 @@ var ID8 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
35
  var defaultID2 = ID8.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info11 = Agent.Info;
37
+ var Info22 = Agent.Info;
38
38
 
39
- class Service56 extends Context.Service()("@opencode/Agent") {
39
+ class Service59 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service56, Effect.gen(function* () {
42
- const bus = yield* Service82;
41
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
42
+ const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info11.default(id);
60
+ const defaults = Info22.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service56.of({
91
+ return Service59.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node58 = makeLocationNode({ service: Service56, layer, deps: [node86, Global.node] });
119
+ var node62 = makeLocationNode({ service: Service59, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID8, Name3, defaultID2, Color2, Info11, Service56, node58, exports_agent3, Event12 };
121
+ export { ID8, Name3, defaultID2, Color2, Info22, Service59, node62, exports_agent4, Event12 };