@opencode/core 0.0.0-dev-19707 → 0.0.0-dev-19708

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{config-k6hq6vs4.js → pty-00f2f7q8.js} +24 -24
  8. package/dist/chunks/{config-sfmkhhs9.js → pty-02j327mk.js} +26 -26
  9. package/dist/chunks/{config-sedjhjah.js → pty-04kxwwsn.js} +6 -6
  10. package/dist/chunks/{config-204eyync.js → pty-08fd96st.js} +6 -6
  11. package/dist/chunks/{config-d2hpfe1x.js → pty-0fdmw6y0.js} +11 -11
  12. package/dist/chunks/{config-6hjx5zpb.js → pty-0jq9fyba.js} +9 -9
  13. package/dist/chunks/{config-tef78es6.js → pty-0nw536sy.js} +4 -4
  14. package/dist/chunks/{config-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{config-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{config-5h0rvfym.js → pty-137n2cjd.js} +3 -3
  17. package/dist/chunks/{config-rhraev7y.js → pty-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{config-73tb2d7t.js → pty-1bbkgx8g.js} +3 -3
  19. package/dist/chunks/{config-m9q1w098.js → pty-1c5ncfj1.js} +26 -26
  20. package/dist/chunks/{config-phq1yf8j.js → pty-1cr9kxrr.js} +22 -22
  21. package/dist/chunks/{config-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{config-9fw4n3e1.js → pty-1e7y3jby.js} +3 -3
  23. package/dist/chunks/{config-59ecn2yy.js → pty-1g4qjxg5.js} +9 -9
  24. package/dist/chunks/{config-mkcyj20d.js → pty-1qkgdbp4.js} +18 -18
  25. package/dist/chunks/pty-1tm0r3ht.js +4 -0
  26. package/dist/chunks/{config-1ygqh575.js → pty-1ygqh575.js} +2 -2
  27. package/dist/chunks/{config-21r38tys.js → pty-21r38tys.js} +1 -1
  28. package/dist/chunks/{config-ak3g1cds.js → pty-23amh1yx.js} +3 -3
  29. package/dist/chunks/{config-6h73sxmp.js → pty-2402vzrj.js} +5 -5
  30. package/dist/chunks/{config-z63w68vq.js → pty-29x78va6.js} +6 -6
  31. package/dist/chunks/{config-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{config-ycd00xnt.js → pty-2akesbjx.js} +16 -16
  33. package/dist/chunks/{config-tzrmseea.js → pty-2chp5681.js} +10 -10
  34. package/dist/chunks/{config-1bdcdqfg.js → pty-2em355j9.js} +69 -55
  35. package/dist/chunks/{config-2q6kkxxq.js → pty-2q6kkxxq.js} +1 -1
  36. package/dist/chunks/{config-dgc1hkc1.js → pty-2rqgkrfm.js} +22 -22
  37. package/dist/chunks/{config-63kpjth9.js → pty-3b9qt4hj.js} +9 -9
  38. package/dist/chunks/{config-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{config-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{config-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{config-9jpbnf5e.js → pty-3sqv75dt.js} +4 -4
  42. package/dist/chunks/{config-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{config-mt4q9qcg.js → pty-3w8b8hp3.js} +11 -11
  44. package/dist/chunks/{config-2evyaa68.js → pty-3ythc6yv.js} +4 -4
  45. package/dist/chunks/{config-pm2jn3rv.js → pty-44jfm9c6.js} +7 -7
  46. package/dist/chunks/{config-zpc19dvt.js → pty-4a0vtr9b.js} +22 -22
  47. package/dist/chunks/{config-gyp7bq5z.js → pty-4b3p33ns.js} +47 -47
  48. package/dist/chunks/{config-ph764ah0.js → pty-4hcrsjja.js} +57 -57
  49. package/dist/chunks/{config-efqkbgv9.js → pty-4hqncmrj.js} +12 -12
  50. package/dist/chunks/{config-yg6e92wh.js → pty-4kyk22vj.js} +41 -41
  51. package/dist/chunks/{config-5jf1gs2t.js → pty-4p0kgrzt.js} +1 -1
  52. package/dist/chunks/{config-88kv1bx9.js → pty-4q5rhk67.js} +25 -22
  53. package/dist/chunks/{config-sy9x43s2.js → pty-4ztghn5t.js} +18 -18
  54. package/dist/chunks/{config-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{config-df6fn0e3.js → pty-59gkzar2.js} +11 -11
  56. package/dist/chunks/{config-a1bz86dw.js → pty-5c4hm403.js} +3 -3
  57. package/dist/chunks/{config-5daktx2q.js → pty-5daktx2q.js} +1 -1
  58. package/dist/chunks/{config-j1s9fxyc.js → pty-5fwvr3fa.js} +34 -34
  59. package/dist/chunks/{config-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{config-6h9psx55.js → pty-5tvckp52.js} +27 -27
  61. package/dist/chunks/{config-9hn6k4tm.js → pty-5yzzbxa7.js} +8 -8
  62. package/dist/chunks/{config-jx4qp3j4.js → pty-645gcfag.js} +93 -93
  63. package/dist/chunks/{config-669tq793.js → pty-669tq793.js} +1 -1
  64. package/dist/chunks/{config-kmgxwdj6.js → pty-6avas0hs.js} +3 -3
  65. package/dist/chunks/{config-x62mbabv.js → pty-6ejv29z8.js} +28 -28
  66. package/dist/chunks/{config-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{config-rsdf2nvv.js → pty-6p3xbzsx.js} +4 -4
  68. package/dist/chunks/{config-yc95vn0z.js → pty-6pmcb683.js} +15 -15
  69. package/dist/chunks/{config-g7vy7n31.js → pty-6tc74vrw.js} +18 -18
  70. package/dist/chunks/{config-avf2rqqc.js → pty-6wkd5avw.js} +17 -17
  71. package/dist/chunks/{config-yqvhe2qc.js → pty-72qck3dr.js} +80 -69
  72. package/dist/chunks/{config-m44s1k6s.js → pty-74e549sx.js} +15 -15
  73. package/dist/chunks/{config-hfdr1yjj.js → pty-7ac170kv.js} +4 -4
  74. package/dist/chunks/{config-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{config-7dqw4kz8.js → pty-7dqw4kz8.js} +1 -1
  76. package/dist/chunks/{config-1w2wvhbc.js → pty-7nrhymjj.js} +22 -22
  77. package/dist/chunks/{config-nq0dx80z.js → pty-7nzv51qx.js} +13 -13
  78. package/dist/chunks/{config-xxk5ry2v.js → pty-7qq3ahcc.js} +6 -6
  79. package/dist/chunks/{config-sgksmh4k.js → pty-7t8e8ps1.js} +9 -9
  80. package/dist/chunks/{config-qegg11qv.js → pty-7xnx6cga.js} +35 -35
  81. package/dist/chunks/{config-p44d8wdy.js → pty-809q4hne.js} +5 -5
  82. package/dist/chunks/{config-phc8pspp.js → pty-834a0b17.js} +7 -7
  83. package/dist/chunks/{config-g9qqt9p1.js → pty-899tt7an.js} +19 -13
  84. package/dist/chunks/{config-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{config-g2ycphq5.js → pty-8ev4rrc0.js} +2 -2
  86. package/dist/chunks/{config-nv8d10c1.js → pty-8kgt14gf.js} +25 -25
  87. package/dist/chunks/{config-r4v1x4rb.js → pty-8msxkbjy.js} +20 -20
  88. package/dist/chunks/{config-syh2x8jz.js → pty-8npqseq9.js} +11 -11
  89. package/dist/chunks/{config-zrcqrgvv.js → pty-8zqxjytc.js} +12 -12
  90. package/dist/chunks/{config-3wc3c6ps.js → pty-9mmr4cym.js} +14 -14
  91. package/dist/chunks/{config-2p8j6ftk.js → pty-9yyvrqyy.js} +24 -24
  92. package/dist/chunks/{config-e4fvh21c.js → pty-a7nqw1aa.js} +8 -8
  93. package/dist/chunks/{config-aaet6srn.js → pty-aaet6srn.js} +2 -2
  94. package/dist/chunks/{config-rswqs118.js → pty-abyxqag4.js} +4 -4
  95. package/dist/chunks/{config-0k74h4bc.js → pty-apzx9pwh.js} +22 -22
  96. package/dist/chunks/{config-yt7p1vcg.js → pty-aqvz20a2.js} +10 -10
  97. package/dist/chunks/pty-az62kead.js +48 -0
  98. package/dist/chunks/{config-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{config-tvp4k6xb.js → pty-b6yzcphf.js} +11 -11
  100. package/dist/chunks/{config-sw489s6r.js → pty-be3g221r.js} +18 -18
  101. package/dist/chunks/{config-6kh2d7tr.js → pty-beyt1gb5.js} +12 -12
  102. package/dist/chunks/{config-d7k0w2wb.js → pty-bky20j8j.js} +9 -9
  103. package/dist/chunks/{config-9g3kc011.js → pty-bm3m92rh.js} +12 -12
  104. package/dist/chunks/{config-mj3hz3nc.js → pty-bmsmevym.js} +10 -10
  105. package/dist/chunks/{config-kxef0pr1.js → pty-bnt6z98e.js} +30 -30
  106. package/dist/chunks/{config-d3r3a7ce.js → pty-bwbrqz0a.js} +5 -5
  107. package/dist/chunks/{config-vs61vkh4.js → pty-bxgqktpk.js} +24 -24
  108. package/dist/chunks/{config-jxttrpby.js → pty-byqk2fv6.js} +24 -24
  109. package/dist/chunks/{config-tg6qrxv2.js → pty-c9g527t4.js} +37 -37
  110. package/dist/chunks/{config-5xynhq0q.js → pty-cah9s9ss.js} +11 -11
  111. package/dist/chunks/{config-2xwk5sxy.js → pty-cbaym82d.js} +32 -32
  112. package/dist/chunks/{config-hmppx4cd.js → pty-ch7ar4cr.js} +26 -26
  113. package/dist/chunks/{config-eeaf82dq.js → pty-cq9vh2fv.js} +8 -8
  114. package/dist/chunks/{config-1tw90jxs.js → pty-cy7q8w9z.js} +10 -10
  115. package/dist/chunks/{config-rkpyf3mv.js → pty-czhz2k7d.js} +9 -9
  116. package/dist/chunks/{config-f5nr4ygr.js → pty-d58ea4wx.js} +8 -8
  117. package/dist/chunks/{config-as2srw8y.js → pty-d6mg60jz.js} +37 -37
  118. package/dist/chunks/{config-fem1qj2k.js → pty-d7tjjqf6.js} +3 -3
  119. package/dist/chunks/{config-d858xzj7.js → pty-d858xzj7.js} +1 -1
  120. package/dist/chunks/{config-3rdmwfhc.js → pty-dcsznwm0.js} +13 -13
  121. package/dist/chunks/{config-renqy12v.js → pty-dhwr7h25.js} +9 -9
  122. package/dist/chunks/{config-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
  123. package/dist/chunks/{config-57b9ws8p.js → pty-drwq78ky.js} +5 -5
  124. package/dist/chunks/{config-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
  125. package/dist/chunks/{config-pk9xhw7m.js → pty-e41je68c.js} +3 -3
  126. package/dist/chunks/pty-eaznszq2.js +65 -0
  127. package/dist/chunks/{config-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{config-pbtjh2sx.js → pty-eq9606cq.js} +30 -30
  129. package/dist/chunks/{config-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{config-vghtnfzr.js → pty-f1cvcqqp.js} +27 -27
  131. package/dist/chunks/{config-3tq5qxbk.js → pty-fkjmw100.js} +4 -4
  132. package/dist/chunks/{config-a2ew8a62.js → pty-fm2qvscf.js} +4 -4
  133. package/dist/chunks/{config-bfyfaynt.js → pty-fsmc1k8s.js} +93 -93
  134. package/dist/chunks/{config-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  135. package/dist/chunks/{config-ff0svapt.js → pty-g2yz86wh.js} +2 -2
  136. package/dist/chunks/{config-f8y35pn4.js → pty-g9q532r4.js} +1 -1
  137. package/dist/chunks/{config-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{config-edbfpfck.js → pty-gjmk74th.js} +6 -6
  139. package/dist/chunks/{config-japganv0.js → pty-gq6z7eg4.js} +29 -29
  140. package/dist/chunks/{config-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  141. package/dist/chunks/{config-h77q8ghf.js → pty-gydxxgyg.js} +18 -18
  142. package/dist/chunks/{config-vyqn3nqs.js → pty-gzbkpp9m.js} +4 -4
  143. package/dist/chunks/{config-dmc1c85t.js → pty-gzfs38sx.js} +23 -23
  144. package/dist/chunks/{config-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  145. package/dist/chunks/{config-k5s51sr2.js → pty-h3c20vca.js} +4 -4
  146. package/dist/chunks/{config-h6r3nrb9.js → pty-h6r3nrb9.js} +1 -1
  147. package/dist/chunks/{config-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{config-0kyhmgn1.js → pty-h9nzbdt3.js} +5 -5
  149. package/dist/chunks/{config-pyr0se5z.js → pty-hcs01tq7.js} +8 -8
  150. package/dist/chunks/{config-f828m53h.js → pty-hdnk95c8.js} +2 -2
  151. package/dist/chunks/{config-058z5ddf.js → pty-hkjtz3an.js} +22 -22
  152. package/dist/chunks/{config-b6pryj33.js → pty-hn8hcjvd.js} +1 -1
  153. package/dist/chunks/{config-x5aw4bvh.js → pty-htekf6zf.js} +9 -9
  154. package/dist/chunks/{config-aafc52p0.js → pty-hyag3rfz.js} +11 -11
  155. package/dist/chunks/{config-j56e64zr.js → pty-j56e64zr.js} +1 -1
  156. package/dist/chunks/{config-6rybd781.js → pty-j5786zrt.js} +1 -1
  157. package/dist/chunks/{config-sfreza73.js → pty-jdbtptns.js} +19 -19
  158. package/dist/chunks/{config-kqavaz8d.js → pty-jnzdfagj.js} +3 -3
  159. package/dist/chunks/{config-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
  160. package/dist/chunks/{config-59x6sxq9.js → pty-jqe5ka82.js} +18 -18
  161. package/dist/chunks/{config-7sje2w2w.js → pty-jvt9z3v3.js} +48 -48
  162. package/dist/chunks/{config-qwjmgwmn.js → pty-k1gkpfdk.js} +8 -8
  163. package/dist/chunks/{config-nzks3jc8.js → pty-k3c624dm.js} +3 -3
  164. package/dist/chunks/{config-v49qeg7d.js → pty-kafkdnde.js} +31 -31
  165. package/dist/chunks/{config-6vkmn2m0.js → pty-kbmk2nk1.js} +2 -2
  166. package/dist/chunks/{config-m8h91w06.js → pty-kmrnkd77.js} +3 -3
  167. package/dist/chunks/{config-s0kmmksn.js → pty-kpccdapq.js} +14 -14
  168. package/dist/chunks/{config-4gxrbk90.js → pty-kss3k1ej.js} +21 -21
  169. package/dist/chunks/{config-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
  170. package/dist/chunks/{config-1gdnfj4y.js → pty-m1brvmts.js} +9 -9
  171. package/dist/chunks/{config-f2v2ha83.js → pty-m2taxsaw.js} +13 -13
  172. package/dist/chunks/{config-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  173. package/dist/chunks/{config-0f3bkyd2.js → pty-m5mra8ny.js} +7 -7
  174. package/dist/chunks/{config-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{config-3n4pdst2.js → pty-mg0hvqns.js} +24 -24
  176. package/dist/chunks/{config-35tfzgdc.js → pty-mm717ve8.js} +32 -32
  177. package/dist/chunks/{config-34mey2b4.js → pty-mwfspft0.js} +9 -9
  178. package/dist/chunks/{config-kvpzc2r9.js → pty-mx4hjh21.js} +30 -30
  179. package/dist/chunks/{config-m4j0jsg1.js → pty-n7b52vzq.js} +25 -25
  180. package/dist/chunks/{config-d9s4kg8q.js → pty-nbqevg8t.js} +11 -11
  181. package/dist/chunks/{config-kark38pj.js → pty-nc9nj3v7.js} +17 -17
  182. package/dist/chunks/{config-bgcn45f8.js → pty-nsm4zd3z.js} +11 -11
  183. package/dist/chunks/{config-s39ybgse.js → pty-nv4k505m.js} +39 -39
  184. package/dist/chunks/{config-e6hmchc5.js → pty-p1nm93x7.js} +5 -5
  185. package/dist/chunks/{config-qttbrpyd.js → pty-p4nwj3gt.js} +17 -17
  186. package/dist/chunks/{config-7j6621r4.js → pty-p5hkqs15.js} +1 -1
  187. package/dist/chunks/{config-zy8wn4fk.js → pty-p91ndb2v.js} +44 -44
  188. package/dist/chunks/pty-pf31ssb9.js +18 -0
  189. package/dist/chunks/{config-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{config-pknna89w.js → pty-pknna89w.js} +1 -1
  191. package/dist/chunks/{config-4kj8p616.js → pty-pph8wkt5.js} +146 -146
  192. package/dist/chunks/{config-an3skc66.js → pty-pt8pcyxe.js} +35 -35
  193. package/dist/chunks/{config-rrpn4h0w.js → pty-pxnzv34t.js} +18 -18
  194. package/dist/chunks/{config-b0hfm0j8.js → pty-pyg9x9vb.js} +14 -14
  195. package/dist/chunks/{config-fx82q9ev.js → pty-q36t7h4b.js} +3 -3
  196. package/dist/chunks/{config-pvdz9xhf.js → pty-q3a5az1v.js} +10 -10
  197. package/dist/chunks/{config-0vzjr71g.js → pty-q9k3nk2m.js} +17 -17
  198. package/dist/chunks/{config-r920brwh.js → pty-qf8xbt1v.js} +6 -6
  199. package/dist/chunks/{config-ydrs0rnq.js → pty-qph7hyw7.js} +16 -16
  200. package/dist/chunks/{config-r98e92ep.js → pty-qq11w61w.js} +4 -4
  201. package/dist/chunks/{config-acwgycr8.js → pty-qqrhpyxk.js} +21 -21
  202. package/dist/chunks/{config-qsdy395h.js → pty-qsdy395h.js} +1 -1
  203. package/dist/chunks/{config-441xk2wv.js → pty-qtwarjwz.js} +13 -13
  204. package/dist/chunks/{config-m9y70xex.js → pty-qw4hy4dt.js} +22 -22
  205. package/dist/chunks/{config-cpy6gm2a.js → pty-qz49fwgp.js} +4 -4
  206. package/dist/chunks/{config-cpneeje0.js → pty-r2m716tb.js} +9 -9
  207. package/dist/chunks/{config-0ymjsp16.js → pty-r3grxea3.js} +23 -23
  208. package/dist/chunks/{config-bbvh053c.js → pty-r48hm6t1.js} +25 -25
  209. package/dist/chunks/{config-j3t9k28b.js → pty-r6zmwxjt.js} +41 -41
  210. package/dist/chunks/{config-7e12wf70.js → pty-rbs0ef4y.js} +31 -31
  211. package/dist/chunks/{config-gcytzbah.js → pty-rccz2tys.js} +6 -6
  212. package/dist/chunks/{config-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{config-0yzb217r.js → pty-rf9y12ds.js} +3 -3
  214. package/dist/chunks/{config-j3s2z371.js → pty-rhafb4aa.js} +9 -9
  215. package/dist/chunks/{config-vec00888.js → pty-rjkasajw.js} +16 -16
  216. package/dist/chunks/{config-svdmezpj.js → pty-rkb5a4nr.js} +22 -22
  217. package/dist/chunks/{config-j3xycmed.js → pty-rrnpfv6a.js} +23 -23
  218. package/dist/chunks/{config-qp9bnmn3.js → pty-rsd57mk1.js} +14 -14
  219. package/dist/chunks/{config-v9cwwd0t.js → pty-ry08j4r8.js} +11 -11
  220. package/dist/chunks/{config-zyzdbktt.js → pty-s1mn6qcj.js} +8 -8
  221. package/dist/chunks/{config-yrznvahk.js → pty-s4enseaf.js} +2 -2
  222. package/dist/chunks/{config-m34sd1dw.js → pty-s6qp1k48.js} +2 -2
  223. package/dist/chunks/{config-s8d7rejh.js → pty-s8d7rejh.js} +1 -1
  224. package/dist/chunks/{config-8efv05pa.js → pty-sasa2c77.js} +44 -43
  225. package/dist/chunks/{config-6fbkgyjx.js → pty-sbbcq4qt.js} +11 -11
  226. package/dist/chunks/{config-nzhmzh82.js → pty-sd8zp0nj.js} +4 -4
  227. package/dist/chunks/{config-3g2pabsk.js → pty-sgq4gssm.js} +28 -28
  228. package/dist/chunks/{config-6qek2td2.js → pty-sk1rxzc5.js} +14 -14
  229. package/dist/chunks/{config-e6814b7d.js → pty-ssr8tzqd.js} +7 -7
  230. package/dist/chunks/{config-mskwp103.js → pty-t327jyvg.js} +14 -14
  231. package/dist/chunks/{config-pekgqhpj.js → pty-t4gdty5t.js} +15 -15
  232. package/dist/chunks/{config-z8y94x15.js → pty-t4h1a8sm.js} +10 -10
  233. package/dist/chunks/{config-m7dvq393.js → pty-t96c7fmv.js} +18 -18
  234. package/dist/chunks/{config-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{config-52ejfwar.js → pty-tb60vd7q.js} +4 -4
  236. package/dist/chunks/{config-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{config-tdstcens.js → pty-tdstcens.js} +1 -1
  238. package/dist/chunks/{config-1vbpde1g.js → pty-tgayy43x.js} +298 -298
  239. package/dist/chunks/{config-ynrxmn94.js → pty-tk66bvfd.js} +16 -16
  240. package/dist/chunks/{config-s91c8prs.js → pty-tptwhs54.js} +9 -9
  241. package/dist/chunks/{config-y9fejqmg.js → pty-tqg72d4k.js} +8 -8
  242. package/dist/chunks/{config-v93aky9p.js → pty-tvkyymax.js} +8 -8
  243. package/dist/chunks/{config-tvtrv512.js → pty-tvtrv512.js} +1 -1
  244. package/dist/chunks/{config-88wv5h76.js → pty-v247sec1.js} +13 -13
  245. package/dist/chunks/{config-6aq7ygpy.js → pty-v58jy1xd.js} +6 -6
  246. package/dist/chunks/{config-1t25emng.js → pty-v68hp2va.js} +47 -47
  247. package/dist/chunks/{config-veqvce7d.js → pty-veqvce7d.js} +1 -1
  248. package/dist/chunks/{config-98as6sd9.js → pty-vg55cczh.js} +19 -19
  249. package/dist/chunks/{config-88w93r53.js → pty-vhwvdgna.js} +9 -9
  250. package/dist/chunks/{config-3ra8vgzt.js → pty-vk5wtspy.js} +26 -26
  251. package/dist/chunks/{config-j7cn0chj.js → pty-vkwcxm6e.js} +1 -1
  252. package/dist/chunks/{config-r71mr0ak.js → pty-vqwef2d8.js} +21 -17
  253. package/dist/chunks/pty-vs2zs2w9.js +26 -0
  254. package/dist/chunks/{config-k2h4r4s0.js → pty-vsp1fds9.js} +19 -19
  255. package/dist/chunks/{config-acbgnkgs.js → pty-vydbjx2x.js} +13 -13
  256. package/dist/chunks/{config-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{config-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{config-wne4vwha.js → pty-w7drg28q.js} +11 -11
  259. package/dist/chunks/{config-fd415zwv.js → pty-waqpjwb8.js} +11 -11
  260. package/dist/chunks/{config-wd87259q.js → pty-wd87259q.js} +1 -1
  261. package/dist/chunks/{config-sykc9y4a.js → pty-wr7ps67x.js} +5 -5
  262. package/dist/chunks/{config-6d3xa841.js → pty-wvh43mtc.js} +21 -21
  263. package/dist/chunks/{config-9eg4jjgq.js → pty-wzdyyep8.js} +8 -8
  264. package/dist/chunks/{config-8mfdap3f.js → pty-x0vzmp4x.js} +8 -8
  265. package/dist/chunks/{config-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{config-rh3qvstz.js → pty-xdw3myhw.js} +20 -20
  267. package/dist/chunks/{config-0sz7efe2.js → pty-xftagwhq.js} +30 -30
  268. package/dist/chunks/{config-6bsje7ws.js → pty-xkhfjrgz.js} +3 -3
  269. package/dist/chunks/{config-e42f66fx.js → pty-xseb90fg.js} +7 -7
  270. package/dist/chunks/{config-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{config-y71avatq.js → pty-y71avatq.js} +1 -1
  272. package/dist/chunks/{config-p8f9febr.js → pty-ykjzx05e.js} +21 -21
  273. package/dist/chunks/{config-vq3eavnk.js → pty-ynxbryrd.js} +28 -28
  274. package/dist/chunks/{config-mzhm23zb.js → pty-ypvakwm4.js} +17 -17
  275. package/dist/chunks/{config-qnv3ge8j.js → pty-yqngptm3.js} +13 -13
  276. package/dist/chunks/{config-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{config-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{config-3w0fmcng.js → pty-z3pw5915.js} +5 -5
  279. package/dist/chunks/{config-xj2v00yc.js → pty-z62c9ayt.js} +12 -12
  280. package/dist/chunks/{config-rpg9c19m.js → pty-zav06jzw.js} +4 -4
  281. package/dist/chunks/{config-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{config-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/pty-ztp3jpvp.js +252 -0
  284. package/dist/chunks/{config-jbkx7wek.js → pty-zw6ax8ke.js} +41 -41
  285. package/dist/chunks/{config-sg7w44s8.js → pty-zwp73gaw.js} +22 -22
  286. package/dist/chunks/{config-hf7g63zj.js → pty-zxacjnzd.js} +15 -15
  287. package/dist/chunks/{config-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{config-bjw1ybn1.js → pty-zz4khrmb.js} +15 -15
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +121 -121
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +141 -141
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +123 -123
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +122 -122
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +76 -76
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +366 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +89 -89
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +73 -73
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +357 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +79 -79
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +110 -0
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +87 -85
  469. package/dist/location-services.js +354 -353
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +95 -95
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +110 -110
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +99 -99
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +217 -217
  494. package/dist/plugin/identity.js +1 -1
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +328 -328
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +95 -95
  499. package/dist/plugin/module.js +7 -7
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +101 -101
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +76 -76
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +119 -119
  523. package/dist/plugin/provider/openai.js +91 -91
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +73 -73
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +138 -138
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +345 -345
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +83 -83
  558. package/dist/provider.js +92 -92
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +97 -97
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +88 -88
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +125 -125
  580. package/dist/session/generate.js +152 -152
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +87 -87
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +116 -116
  590. package/dist/session/model-transport.js +7 -7
  591. package/dist/session/move.js +129 -129
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +230 -229
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +97 -97
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +111 -111
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +171 -171
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +149 -149
  616. package/dist/session/to-session-error.js +110 -110
  617. package/dist/session/transfer.js +222 -222
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +215 -215
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +137 -137
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +88 -88
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +126 -126
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +115 -115
  636. package/dist/tool/plugin/grep.js +121 -121
  637. package/dist/tool/plugin/opencode.js +1 -1
  638. package/dist/tool/plugin/patch.js +113 -113
  639. package/dist/tool/plugin/question.js +104 -104
  640. package/dist/tool/plugin/read.js +122 -122
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +108 -108
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +107 -107
  645. package/dist/tool/plugin/websearch.js +105 -105
  646. package/dist/tool/plugin/write.js +113 -113
  647. package/dist/tool/read-filesystem.js +97 -97
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +14 -14
  651. package/dist/types/form.d.ts +1 -0
  652. package/dist/types/instance.d.ts +2 -1
  653. package/dist/types/location-lifecycle.d.ts +9 -0
  654. package/dist/types/location-service-map.d.ts +2 -1
  655. package/dist/types/permission.d.ts +1 -0
  656. package/dist/types/plugin/host.d.ts +2 -2
  657. package/dist/types/session/runner/index.d.ts +36 -3
  658. package/dist/types/session/runner/step.d.ts +1 -0
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +4 -4
  673. package/dist/v1/config/formatter.js +3 -3
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +91 -91
  678. package/dist/v1/config/permission.js +5 -5
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +90 -90
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +88 -88
  688. package/dist/websearch.js +83 -83
  689. package/dist/wellknown/plugin.js +75 -75
  690. package/dist/wellknown.js +78 -78
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +77 -77
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +88 -88
  698. package/dist/worktree.js +95 -95
  699. package/package.json +8 -8
  700. package/dist/chunks/config-1x11rq2a.js +0 -18
  701. package/dist/chunks/config-6kdq0pjd.js +0 -4
  702. package/dist/chunks/config-e73d2mtj.js +0 -247
  703. package/dist/chunks/config-jyegy52c.js +0 -26
  704. package/dist/chunks/config-yp9vzkpn.js +0 -34
  705. /package/dist/chunks/{config-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{config-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{config-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{config-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{config-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{config-24dcb14g.js → pty-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{config-2710q6r3.js → pty-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{config-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{config-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{config-359p4xyc.js → pty-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{config-3asan66x.js → pty-3asan66x.js} +0 -0
  716. /package/dist/chunks/{config-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{config-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{config-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{config-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{config-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{config-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{config-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{config-53557ph1.js → pty-53557ph1.js} +0 -0
  724. /package/dist/chunks/{config-550bvhaj.js → pty-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{config-6prwharc.js → pty-6prwharc.js} +0 -0
  726. /package/dist/chunks/{config-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{config-7m9af43g.js → pty-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{config-822emrt2.js → pty-822emrt2.js} +0 -0
  729. /package/dist/chunks/{config-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{config-8n3pysct.js → pty-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{config-922hggd3.js → pty-922hggd3.js} +0 -0
  732. /package/dist/chunks/{config-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{config-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{config-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{config-af5trqkr.js → pty-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{config-afrmfg78.js → pty-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{config-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{config-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{config-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{config-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{config-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{config-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{config-d9fn303g.js → pty-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{config-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{config-dajrwvna.js → pty-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{config-dap0rakb.js → pty-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{config-df08tz66.js → pty-df08tz66.js} +0 -0
  748. /package/dist/chunks/{config-dy18nga0.js → pty-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{config-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{config-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{config-ec1grn59.js → pty-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{config-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{config-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{config-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{config-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{config-faypxj3z.js → pty-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{config-fd410y7t.js → pty-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{config-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{config-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{config-g86h250q.js → pty-g86h250q.js} +0 -0
  761. /package/dist/chunks/{config-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{config-gftt206x.js → pty-gftt206x.js} +0 -0
  763. /package/dist/chunks/{config-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{config-hk9envan.js → pty-hk9envan.js} +0 -0
  765. /package/dist/chunks/{config-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{config-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{config-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{config-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{config-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{config-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{config-mp448xyj.js → pty-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{config-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{config-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{config-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{config-njntx4h6.js → pty-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{config-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{config-q74kybfr.js → pty-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{config-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{config-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{config-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{config-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{config-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{config-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{config-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{config-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{config-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{config-twg0f83k.js → pty-twg0f83k.js} +0 -0
  788. /package/dist/chunks/{config-w803qqfp.js → pty-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{config-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{config-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{config-wtztk69x.js → pty-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{config-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{config-x61499pn.js → pty-x61499pn.js} +0 -0
  794. /package/dist/chunks/{config-y44na4kk.js → pty-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{config-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{config-y8f7s663.js → pty-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{config-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{config-ym463w8f.js → pty-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{config-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./config-2a5m3afh.js";
5
+ } from "./pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./config-9rqn6x4v.js";
8
+ } from "./pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./config-0paq2nw3.js";
4
+ } from "./pty-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./config-phq1yf8j.js";
7
+ } from "./pty-1cr9kxrr.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./config-7e12wf70.js";
11
+ } from "./pty-rbs0ef4y.js";
12
12
  import {
13
13
  __export
14
- } from "./config-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
- Service78
6
- } from "./config-qp9bnmn3.js";
5
+ Service79
6
+ } from "./pty-rsd57mk1.js";
7
7
  import {
8
- Service24
9
- } from "./config-59x6sxq9.js";
8
+ Service46
9
+ } from "./pty-jqe5ka82.js";
10
10
  import {
11
- Service11
12
- } from "./config-sg7w44s8.js";
11
+ Service12
12
+ } from "./pty-zwp73gaw.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./config-2a5m3afh.js";
15
+ } from "./pty-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -24,25 +24,25 @@ import {
24
24
  TextPage2,
25
25
  ListPage2,
26
26
  Service9
27
- } from "./config-acbgnkgs.js";
27
+ } from "./pty-vydbjx2x.js";
28
28
  import {
29
29
  __export
30
- } from "./config-9rqn6x4v.js";
30
+ } from "./pty-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input2,
36
- Plugin: () => Plugin34,
35
+ Input: () => Input5,
36
+ Plugin: () => Plugin38,
37
37
  ReadTool: () => exports_read,
38
- name: () => name2,
38
+ name: () => name5,
39
39
  toModelContent: () => toModelContent2
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name2 = "read";
45
+ var name5 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input2 = LocationInput;
56
+ var Input5 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin34 = {
58
+ var Plugin38 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
61
  const reader = yield* Service9;
62
- const access = yield* Service24;
63
- const sessionInstructions = yield* Service11;
62
+ const access = yield* Service46;
63
+ const sessionInstructions = yield* Service12;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service78;
65
+ const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name2,
67
+ name: name5,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input2,
70
+ input: Input5,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name2, Input2, Plugin34, toModelContent2, exports_read };
183
+ export { name5, Input5, Plugin38, toModelContent2, exports_read };
@@ -4,34 +4,34 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./config-tazgh4e4.js";
7
+ } from "./pty-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./config-ef5x83kb.js";
10
+ } from "./pty-ef5x83kb.js";
11
11
  import {
12
- Service78
13
- } from "./config-qp9bnmn3.js";
12
+ Service79
13
+ } from "./pty-rsd57mk1.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./config-j3xycmed.js";
16
+ } from "./pty-rrnpfv6a.js";
17
17
  import {
18
18
  __export
19
- } from "./config-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin2,
24
+ Plugin: () => Plugin3,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin2 = define({
31
+ var Plugin3 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
- const location = yield* Service78;
34
+ const location = yield* Service79;
35
35
  if (location.vcs?.type !== "git")
36
36
  return;
37
37
  const processes = yield* AppProcess.Service;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin2, exports_git };
473
+ export { Plugin3, exports_git };
@@ -0,0 +1,48 @@
1
+ import {
2
+ Ref4
3
+ } from "./pty-rsd57mk1.js";
4
+ import {
5
+ __export
6
+ } from "./pty-9rqn6x4v.js";
7
+
8
+ // src/location-service-map.ts
9
+ var exports_location_service_map = {};
10
+ __export(exports_location_service_map, {
11
+ LocationServiceMap: () => exports_location_service_map,
12
+ Service: () => Service53,
13
+ canonical: () => canonical3,
14
+ node: () => node56,
15
+ reload: () => reload2
16
+ });
17
+ import { Context, Effect, Exit, Layer, RcMap } from "effect";
18
+ import { LayerNode } from "@opencode/util/effect/layer-node";
19
+ import { Node } from "@opencode/util/effect/app-node";
20
+ import { AbsolutePath } from "@opencode/schema/schema";
21
+ import path from "path";
22
+ class Service53 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
+ static get(ref) {
24
+ return Layer.unwrap(Effect.map(Service53, (locations) => locations.get(ref)));
25
+ }
26
+ }
27
+ var node56 = LayerNode.unbound(Service53, Node.tags.values.global);
28
+ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
+ const locations = yield* Service53;
30
+ const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
+ yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
+ discard: true,
33
+ concurrency: "unbounded"
34
+ });
35
+ const results = yield* Effect.forEach(refs, (ref) => Effect.scoped(locations.contextEffect(ref)).pipe(Effect.asVoid, Effect.exit), { concurrency: "unbounded" });
36
+ const failure = results.find(Exit.isFailure);
37
+ if (failure)
38
+ return yield* Effect.failCause(failure.cause);
39
+ yield* Effect.logInfo("location services reloaded", { count: refs.length });
40
+ });
41
+ function canonical3(ref) {
42
+ return Ref4.make({
43
+ directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
44
+ workspaceID: ref.workspaceID
45
+ });
46
+ }
47
+
48
+ export { Service53, node56, reload2, canonical3, exports_location_service_map };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./config-2a5m3afh.js";
5
+ } from "./pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./config-9rqn6x4v.js";
8
+ } from "./pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./config-gftt206x.js";
3
+ } from "./pty-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./config-6bsje7ws.js";
6
+ } from "./pty-xkhfjrgz.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./config-phc8pspp.js";
9
+ } from "./pty-834a0b17.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./config-s8d7rejh.js";
13
+ } from "./pty-s8d7rejh.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./config-a1bz86dw.js";
16
+ } from "./pty-5c4hm403.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./config-hfdr1yjj.js";
20
+ } from "./pty-7ac170kv.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./config-rsdf2nvv.js";
25
+ } from "./pty-6p3xbzsx.js";
26
26
  import {
27
27
  __export
28
- } from "./config-9rqn6x4v.js";
28
+ } from "./pty-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load5,
38
+ load: () => load4,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -4,29 +4,29 @@ import {
4
4
  empty3,
5
5
  make21,
6
6
  diffByKey2
7
- } from "./config-s8d7rejh.js";
7
+ } from "./pty-s8d7rejh.js";
8
8
  import {
9
- ID6,
9
+ ID3,
10
10
  Name2,
11
11
  available2,
12
- Service42,
13
- node45
14
- } from "./config-hmppx4cd.js";
12
+ Service27,
13
+ node30
14
+ } from "./pty-ch7ar4cr.js";
15
15
  import {
16
16
  __export
17
- } from "./config-9rqn6x4v.js";
17
+ } from "./pty-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions2 = {};
21
- __export(exports_instructions2, {
22
- Service: () => Service30,
23
- SkillInstructions: () => exports_instructions2,
24
- node: () => node33
20
+ var exports_instructions5 = {};
21
+ __export(exports_instructions5, {
22
+ Service: () => Service20,
23
+ SkillInstructions: () => exports_instructions5,
24
+ node: () => node24
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID6,
29
+ id: ID3,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,11 +60,11 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service30 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service20 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service30, Effect.gen(function* () {
66
- const skills = yield* Service42;
67
- return Service30.of({
65
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
66
+ const skills = yield* Service27;
67
+ return Service20.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node33 = makeLocationNode({ service: Service30, layer, deps: [node45] });
86
+ var node24 = makeLocationNode({ service: Service20, layer, deps: [node30] });
87
87
 
88
- export { Service30, node33, exports_instructions2 };
88
+ export { Service20, node24, exports_instructions5 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service81
3
- } from "./config-ydrs0rnq.js";
2
+ Service82
3
+ } from "./pty-qph7hyw7.js";
4
4
  import {
5
- Service60,
6
- Event11
7
- } from "./config-acwgycr8.js";
5
+ Service71,
6
+ Event15
7
+ } from "./pty-qqrhpyxk.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin46,
15
+ Plugin: () => Plugin16,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin46 = define({
20
+ var Plugin16 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service81;
24
- const wellknown = yield* Service60;
23
+ const bus = yield* Service82;
24
+ const wellknown = yield* Service71;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin46 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin46, exports_plugin };
48
+ export { Plugin16, exports_plugin };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service55
3
- } from "./config-edbfpfck.js";
2
+ Service51
3
+ } from "./pty-gjmk74th.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./config-1x11rq2a.js";
6
+ } from "./pty-pf31ssb9.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./config-phc8pspp.js";
9
+ } from "./pty-834a0b17.js";
10
10
  import {
11
- Service42
12
- } from "./config-hmppx4cd.js";
11
+ Service27
12
+ } from "./pty-ch7ar4cr.js";
13
13
  import {
14
14
  __export
15
- } from "./config-9rqn6x4v.js";
15
+ } from "./pty-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service55;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
25
+ const instances = yield* Service51;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service27), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./config-922hggd3.js";
4
+ } from "./pty-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./config-y71avatq.js";
7
+ } from "./pty-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./config-tazgh4e4.js";
12
+ } from "./pty-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./config-ef5x83kb.js";
15
+ } from "./pty-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./config-9rqn6x4v.js";
18
+ } from "./pty-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service80,
26
+ Service: () => Service81,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node84
30
+ node: () => node85
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service80 extends Context.Service()("@opencode/Git") {
96
+ class Service81 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service80, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service80.of({
422
+ return Service81.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node84 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node84, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service58
3
- } from "./config-zy8wn4fk.js";
2
+ Service69
3
+ } from "./pty-p91ndb2v.js";
4
4
  import {
5
- Service37
6
- } from "./config-7sje2w2w.js";
5
+ Service22
6
+ } from "./pty-jvt9z3v3.js";
7
7
  import {
8
8
  __export
9
- } from "./config-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin17,
15
+ Plugin: () => Plugin24,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin17 = define({
20
+ var Plugin24 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service58;
28
- const mcp = yield* Service37;
27
+ const config = yield* Service69;
28
+ const mcp = yield* Service22;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin17, register2, exports_mcp2 };
49
+ export { Plugin24, register2, exports_mcp2 };