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

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 (467) hide show
  1. package/dist/agent.js +66 -66
  2. package/dist/aisdk-native.js +65 -65
  3. package/dist/aisdk.js +70 -70
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +54 -54
  6. package/dist/chunks/{pty-qq11w61w.js → pty-00z3vp5f.js} +3 -3
  7. package/dist/chunks/{pty-6p3xbzsx.js → pty-06dxphr1.js} +3 -3
  8. package/dist/chunks/{pty-jdbtptns.js → pty-0d61r9h4.js} +11 -11
  9. package/dist/chunks/{pty-809q4hne.js → pty-0f9afca0.js} +3 -3
  10. package/dist/chunks/{pty-3w8b8hp3.js → pty-0gq5ttfh.js} +9 -9
  11. package/dist/chunks/{pty-7dqw4kz8.js → pty-0jwsre1p.js} +4 -4
  12. package/dist/chunks/{pty-gq6z7eg4.js → pty-0kk2g04a.js} +18 -18
  13. package/dist/chunks/{pty-5fwvr3fa.js → pty-0kv2ctep.js} +26 -26
  14. package/dist/chunks/pty-0qs04gjp.js +252 -0
  15. package/dist/chunks/{pty-2q6kkxxq.js → pty-0rd9v16n.js} +3 -3
  16. package/dist/chunks/{pty-vkwcxm6e.js → pty-0rgpk1ds.js} +1 -1
  17. package/dist/chunks/{pty-zz4khrmb.js → pty-10f3mqse.js} +26 -26
  18. package/dist/chunks/{pty-0jq9fyba.js → pty-11dqjexa.js} +8 -8
  19. package/dist/chunks/{pty-q9k3nk2m.js → pty-12b8t429.js} +14 -14
  20. package/dist/chunks/{pty-cq9vh2fv.js → pty-15nepkqg.js} +7 -7
  21. package/dist/chunks/{pty-d7tjjqf6.js → pty-1ajp4aa7.js} +5 -5
  22. package/dist/chunks/{pty-t4h1a8sm.js → pty-1as7yqy8.js} +8 -8
  23. package/dist/chunks/{pty-e41je68c.js → pty-1f62kj91.js} +2 -2
  24. package/dist/chunks/{pty-00f2f7q8.js → pty-1rgevqwt.js} +22 -22
  25. package/dist/chunks/{pty-hkjtz3an.js → pty-1vjy2hpw.js} +32 -32
  26. package/dist/chunks/{pty-bxgqktpk.js → pty-2acp3zpj.js} +16 -16
  27. package/dist/chunks/{pty-n7b52vzq.js → pty-2c4g75ke.js} +15 -15
  28. package/dist/chunks/{pty-8msxkbjy.js → pty-2gw9te71.js} +3 -3
  29. package/dist/chunks/{pty-tk66bvfd.js → pty-2k6s2zm4.js} +14 -14
  30. package/dist/chunks/{pty-sasa2c77.js → pty-2kbj14yf.js} +31 -31
  31. package/dist/chunks/{pty-r2m716tb.js → pty-2sejkfem.js} +7 -7
  32. package/dist/chunks/{pty-sk1rxzc5.js → pty-39dab3jh.js} +11 -11
  33. package/dist/chunks/{pty-cy7q8w9z.js → pty-3ad3156b.js} +8 -8
  34. package/dist/chunks/{pty-qz49fwgp.js → pty-3b1q5j1v.js} +5 -5
  35. package/dist/chunks/{pty-8ev4rrc0.js → pty-3ddaden9.js} +2 -2
  36. package/dist/chunks/{pty-tvkyymax.js → pty-3fax0mp7.js} +6 -6
  37. package/dist/chunks/{pty-jvt9z3v3.js → pty-3g5zqvsj.js} +29 -29
  38. package/dist/chunks/{pty-ykjzx05e.js → pty-3j6kc4fe.js} +17 -17
  39. package/dist/chunks/{pty-4ztghn5t.js → pty-3z40mttx.js} +15 -15
  40. package/dist/chunks/{pty-fkjmw100.js → pty-44ke2mar.js} +5 -5
  41. package/dist/chunks/{pty-dhwr7h25.js → pty-4b8tw1g7.js} +9 -9
  42. package/dist/chunks/{pty-r3grxea3.js → pty-4kgnd0zh.js} +3 -3
  43. package/dist/chunks/{pty-w7drg28q.js → pty-4v4zcyn8.js} +9 -9
  44. package/dist/chunks/{pty-k1gkpfdk.js → pty-4w5f3qm5.js} +7 -7
  45. package/dist/chunks/{pty-2akesbjx.js → pty-5019jpyd.js} +14 -14
  46. package/dist/chunks/{pty-be3g221r.js → pty-50jcqkpg.js} +13 -13
  47. package/dist/chunks/{pty-4b3p33ns.js → pty-51rpk3dg.js} +41 -41
  48. package/dist/chunks/{pty-v58jy1xd.js → pty-51sk06m6.js} +4 -4
  49. package/dist/chunks/{pty-hyag3rfz.js → pty-54qvpy9t.js} +8 -8
  50. package/dist/chunks/{pty-nc9nj3v7.js → pty-56caj4g6.js} +17 -17
  51. package/dist/chunks/{pty-fsmc1k8s.js → pty-5ac4s34f.js} +75 -75
  52. package/dist/chunks/{pty-czhz2k7d.js → pty-5dkyq3w9.js} +8 -8
  53. package/dist/chunks/{pty-ypvakwm4.js → pty-5ge7b1s9.js} +12 -12
  54. package/dist/chunks/{pty-kbmk2nk1.js → pty-5hazr681.js} +1 -1
  55. package/dist/chunks/{pty-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  56. package/dist/chunks/{pty-kpccdapq.js → pty-5rbd4j62.js} +8 -8
  57. package/dist/chunks/{pty-t4gdty5t.js → pty-5sevqzg5.js} +14 -14
  58. package/dist/chunks/{pty-abyxqag4.js → pty-5w8sdvf2.js} +2 -2
  59. package/dist/chunks/{pty-3b9qt4hj.js → pty-63kpjth9.js} +7 -7
  60. package/dist/chunks/{pty-23amh1yx.js → pty-66rzgmh2.js} +4 -4
  61. package/dist/chunks/{pty-pt8pcyxe.js → pty-6bh8btd9.js} +27 -27
  62. package/dist/chunks/{pty-eaznszq2.js → pty-6e1261xp.js} +20 -20
  63. package/dist/chunks/{pty-jqe5ka82.js → pty-6ep9m4sq.js} +13 -13
  64. package/dist/chunks/{pty-6ejv29z8.js → pty-6j9cmr93.js} +23 -23
  65. package/dist/chunks/{pty-m2taxsaw.js → pty-6n9a7w7g.js} +8 -8
  66. package/dist/chunks/{pty-kss3k1ej.js → pty-6sz4ttcn.js} +13 -13
  67. package/dist/chunks/{pty-qqrhpyxk.js → pty-6y05ew1d.js} +19 -19
  68. package/dist/chunks/{pty-bm3m92rh.js → pty-74rrnwt7.js} +1 -1
  69. package/dist/chunks/{pty-vg55cczh.js → pty-75ckhbr3.js} +23 -23
  70. package/dist/chunks/{pty-dcsznwm0.js → pty-76mn2m8t.js} +6 -6
  71. package/dist/chunks/{pty-bmsmevym.js → pty-7ha090w8.js} +9 -9
  72. package/dist/chunks/{pty-7nrhymjj.js → pty-7t28gyx8.js} +20 -20
  73. package/dist/chunks/{pty-4q5rhk67.js → pty-7ywv553p.js} +14 -14
  74. package/dist/chunks/{pty-qw4hy4dt.js → pty-84s7s0kh.js} +22 -22
  75. package/dist/chunks/{pty-rrnpfv6a.js → pty-856c6xfq.js} +13 -13
  76. package/dist/chunks/{pty-tcezcvh9.js → pty-89znhe33.js} +3 -3
  77. package/dist/chunks/{pty-2rqgkrfm.js → pty-8fxgy4be.js} +27 -27
  78. package/dist/chunks/{pty-vk5wtspy.js → pty-8pmgwz46.js} +29 -29
  79. package/dist/chunks/{pty-nsm4zd3z.js → pty-8rt8k92t.js} +9 -9
  80. package/dist/chunks/{pty-3ythc6yv.js → pty-8s8mxddj.js} +3 -3
  81. package/dist/chunks/{pty-08fd96st.js → pty-92aty353.js} +4 -4
  82. package/dist/chunks/{pty-5yzzbxa7.js → pty-9hn6k4tm.js} +7 -7
  83. package/dist/chunks/{pty-mwfspft0.js → pty-9mjv2j5h.js} +5 -5
  84. package/dist/chunks/{pty-beyt1gb5.js → pty-9p1nr3wb.js} +6 -6
  85. package/dist/chunks/{pty-c9g527t4.js → pty-9zct7zr5.js} +19 -19
  86. package/dist/chunks/{pty-g2yz86wh.js → pty-a3r4dcrj.js} +1 -1
  87. package/dist/chunks/{pty-sgq4gssm.js → pty-abpc31sx.js} +25 -25
  88. package/dist/chunks/{pty-apzx9pwh.js → pty-afve55vv.js} +22 -22
  89. package/dist/chunks/{pty-hn8hcjvd.js → pty-apyk6ttn.js} +1 -1
  90. package/dist/chunks/{pty-7xnx6cga.js → pty-avh5jyvb.js} +27 -27
  91. package/dist/chunks/{pty-htekf6zf.js → pty-b594zzbj.js} +7 -7
  92. package/dist/chunks/{pty-tptwhs54.js → pty-b5ymaj20.js} +6 -6
  93. package/dist/chunks/{pty-g9q532r4.js → pty-b6j8bg70.js} +1 -1
  94. package/dist/chunks/{pty-mm717ve8.js → pty-bczxr085.js} +26 -26
  95. package/dist/chunks/{pty-gydxxgyg.js → pty-beda3f75.js} +12 -12
  96. package/dist/chunks/{pty-eq9606cq.js → pty-bnepd0n1.js} +21 -21
  97. package/dist/chunks/{pty-6pmcb683.js → pty-bxfxz0qc.js} +13 -13
  98. package/dist/chunks/{pty-j5786zrt.js → pty-bz85s9hh.js} +1 -1
  99. package/dist/chunks/{pty-v247sec1.js → pty-cmh35hj2.js} +8 -8
  100. package/dist/chunks/{pty-s1mn6qcj.js → pty-ctrx9nnj.js} +7 -7
  101. package/dist/chunks/{pty-137n2cjd.js → pty-dd95b6zp.js} +1 -1
  102. package/dist/chunks/{pty-y71avatq.js → pty-dpkg50ah.js} +3 -3
  103. package/dist/chunks/{pty-q3a5az1v.js → pty-dprzeqmr.js} +5 -5
  104. package/dist/chunks/{pty-74e549sx.js → pty-dqa43dhg.js} +12 -12
  105. package/dist/chunks/{pty-zav06jzw.js → pty-embw8kgh.js} +3 -3
  106. package/dist/chunks/{pty-59gkzar2.js → pty-etr222cf.js} +9 -9
  107. package/dist/chunks/{pty-hcs01tq7.js → pty-exfq5gv3.js} +5 -5
  108. package/dist/chunks/{pty-rf9y12ds.js → pty-f0v6spgv.js} +2 -2
  109. package/dist/chunks/{pty-cah9s9ss.js → pty-f1nmtkf4.js} +6 -6
  110. package/dist/chunks/{pty-sd8zp0nj.js → pty-f59eyknk.js} +1 -1
  111. package/dist/chunks/{pty-rjkasajw.js → pty-f6pbrr8w.js} +10 -10
  112. package/dist/chunks/{pty-q36t7h4b.js → pty-fanw3jjr.js} +1 -1
  113. package/dist/chunks/{pty-ry08j4r8.js → pty-fe1vvtkz.js} +9 -9
  114. package/dist/chunks/{pty-xseb90fg.js → pty-fkr83qb9.js} +8 -8
  115. package/dist/chunks/{pty-8npqseq9.js → pty-g7td5zdy.js} +6 -6
  116. package/dist/chunks/{pty-7qq3ahcc.js → pty-g8atgw3j.js} +3 -3
  117. package/dist/chunks/{pty-fm2qvscf.js → pty-g8d3gcyj.js} +6 -6
  118. package/dist/chunks/{pty-6tc74vrw.js → pty-gaf2f4t8.js} +9 -9
  119. package/dist/chunks/{pty-1e7y3jby.js → pty-gdfvffmy.js} +4 -4
  120. package/dist/chunks/{pty-x0vzmp4x.js → pty-gwydwvmj.js} +6 -6
  121. package/dist/chunks/{pty-m1brvmts.js → pty-h5prvwy2.js} +5 -5
  122. package/dist/chunks/{pty-kmrnkd77.js → pty-h64tyvph.js} +1 -1
  123. package/dist/chunks/{pty-m5mra8ny.js → pty-h66ycz74.js} +12 -12
  124. package/dist/chunks/{pty-2em355j9.js → pty-hht4hdr7.js} +35 -35
  125. package/dist/chunks/{pty-gjmk74th.js → pty-hq8zt1th.js} +5 -5
  126. package/dist/chunks/{pty-p91ndb2v.js → pty-j0d8kce8.js} +35 -35
  127. package/dist/chunks/{pty-2chp5681.js → pty-j5g2921s.js} +6 -6
  128. package/dist/chunks/{pty-8zqxjytc.js → pty-j7d1bz3z.js} +1 -1
  129. package/dist/chunks/{pty-xkhfjrgz.js → pty-jexxy024.js} +2 -2
  130. package/dist/chunks/{pty-bwbrqz0a.js → pty-jh55ed6j.js} +6 -6
  131. package/dist/chunks/{pty-1cr9kxrr.js → pty-jnwk8z6k.js} +3 -3
  132. package/dist/chunks/{pty-9mmr4cym.js → pty-jp67d8xq.js} +9 -9
  133. package/dist/chunks/{pty-r48hm6t1.js → pty-jpsrdk1d.js} +17 -17
  134. package/dist/chunks/{pty-t96c7fmv.js → pty-k5shenda.js} +18 -18
  135. package/dist/chunks/{pty-1c5ncfj1.js → pty-kbnfxfat.js} +18 -18
  136. package/dist/chunks/{pty-ch7ar4cr.js → pty-khny7pv9.js} +22 -22
  137. package/dist/chunks/{pty-04kxwwsn.js → pty-km08fevc.js} +7 -7
  138. package/dist/chunks/{pty-tgayy43x.js → pty-kmac05v5.js} +293 -293
  139. package/dist/chunks/{pty-t327jyvg.js → pty-m39c7hxd.js} +12 -12
  140. package/dist/chunks/{pty-vqwef2d8.js → pty-m5j3w5gw.js} +13 -13
  141. package/dist/chunks/{pty-bnt6z98e.js → pty-m77m9jq1.js} +20 -20
  142. package/dist/chunks/{pty-gzbkpp9m.js → pty-marnn1hp.js} +6 -6
  143. package/dist/chunks/{pty-3sqv75dt.js → pty-mgpyxjx6.js} +7 -7
  144. package/dist/chunks/{pty-1bbkgx8g.js → pty-mhkvc446.js} +2 -2
  145. package/dist/chunks/{pty-bky20j8j.js → pty-mjyryqn6.js} +8 -8
  146. package/dist/chunks/{pty-1g4qjxg5.js → pty-mrhxfjgm.js} +7 -7
  147. package/dist/chunks/{pty-rhafb4aa.js → pty-nq7qbqzc.js} +7 -7
  148. package/dist/chunks/{pty-vsp1fds9.js → pty-nrdmrqsx.js} +20 -20
  149. package/dist/chunks/{pty-gzfs38sx.js → pty-ntcc5ehh.js} +6 -6
  150. package/dist/chunks/{pty-zxacjnzd.js → pty-nvv66n76.js} +10 -10
  151. package/dist/chunks/{pty-p5hkqs15.js → pty-nwyqkjv9.js} +1 -1
  152. package/dist/chunks/{pty-02j327mk.js → pty-p2ezm693.js} +20 -20
  153. package/dist/chunks/{pty-byqk2fv6.js → pty-p2vgnhh6.js} +14 -14
  154. package/dist/chunks/{pty-nbqevg8t.js → pty-p3sqe4zf.js} +12 -12
  155. package/dist/chunks/{pty-p4nwj3gt.js → pty-p3wwg9fw.js} +11 -11
  156. package/dist/chunks/{pty-6avas0hs.js → pty-p5m64j98.js} +2 -2
  157. package/dist/chunks/{pty-rccz2tys.js → pty-pdg35gy8.js} +3 -3
  158. package/dist/chunks/{pty-d858xzj7.js → pty-ph842b28.js} +3 -3
  159. package/dist/chunks/{pty-qph7hyw7.js → pty-phrgc7s2.js} +2 -2
  160. package/dist/chunks/{pty-pf31ssb9.js → pty-phz3h32g.js} +4 -4
  161. package/dist/chunks/{pty-d58ea4wx.js → pty-pkgfky7d.js} +6 -6
  162. package/dist/chunks/pty-pysn9s93.js +26 -0
  163. package/dist/chunks/{pty-qtwarjwz.js → pty-q5rhn9x0.js} +6 -6
  164. package/dist/chunks/{pty-xftagwhq.js → pty-qc1pk71j.js} +22 -22
  165. package/dist/chunks/{pty-zwp73gaw.js → pty-qg5tx4hd.js} +14 -14
  166. package/dist/chunks/{pty-4hqncmrj.js → pty-qnk3khrz.js} +10 -10
  167. package/dist/chunks/{pty-8kgt14gf.js → pty-qsr74hn5.js} +22 -22
  168. package/dist/chunks/{pty-ynxbryrd.js → pty-qvrdgs7t.js} +14 -14
  169. package/dist/chunks/{pty-pyg9x9vb.js → pty-qyc8vy2s.js} +13 -13
  170. package/dist/chunks/{pty-7nzv51qx.js → pty-rh9ghw4z.js} +8 -8
  171. package/dist/chunks/{pty-waqpjwb8.js → pty-rqg791dd.js} +2 -2
  172. package/dist/chunks/{pty-0nw536sy.js → pty-rtvxz8am.js} +1 -1
  173. package/dist/chunks/{pty-cbaym82d.js → pty-s6n8ez8a.js} +24 -24
  174. package/dist/chunks/{pty-899tt7an.js → pty-shrcc9g3.js} +1 -1
  175. package/dist/chunks/{pty-wzdyyep8.js → pty-svvemcs6.js} +4 -4
  176. package/dist/chunks/{pty-rbs0ef4y.js → pty-t031qe01.js} +10 -10
  177. package/dist/chunks/{pty-z3pw5915.js → pty-t0fxg8b9.js} +3 -3
  178. package/dist/chunks/{pty-rsd57mk1.js → pty-t159kbzr.js} +1 -1
  179. package/dist/chunks/{pty-zw6ax8ke.js → pty-t8c9cnyg.js} +29 -29
  180. package/dist/chunks/{pty-sbbcq4qt.js → pty-th6p44mh.js} +10 -10
  181. package/dist/chunks/{pty-rkb5a4nr.js → pty-tja9b7zx.js} +31 -31
  182. package/dist/chunks/{pty-jnzdfagj.js → pty-tn5bgys5.js} +2 -2
  183. package/dist/chunks/{pty-9yyvrqyy.js → pty-v2sqwdfa.js} +19 -19
  184. package/dist/chunks/{pty-4hcrsjja.js → pty-v772zmrr.js} +43 -43
  185. package/dist/chunks/{pty-d6mg60jz.js → pty-vaa1zs5p.js} +29 -29
  186. package/dist/chunks/{pty-4kyk22vj.js → pty-vj5dzvyh.js} +39 -39
  187. package/dist/chunks/{pty-vydbjx2x.js → pty-vnrb3chg.js} +13 -13
  188. package/dist/chunks/{pty-pph8wkt5.js → pty-vx7vnxew.js} +115 -115
  189. package/dist/chunks/{pty-645gcfag.js → pty-w981yqz9.js} +81 -81
  190. package/dist/chunks/{pty-5tvckp52.js → pty-wcr3727a.js} +18 -18
  191. package/dist/chunks/{pty-xdw3myhw.js → pty-wfex9hf5.js} +13 -13
  192. package/dist/chunks/{pty-aqvz20a2.js → pty-wndtrgrh.js} +5 -5
  193. package/dist/chunks/{pty-nv4k505m.js → pty-wph04nnx.js} +38 -38
  194. package/dist/chunks/{pty-az62kead.js → pty-wv40thab.js} +8 -8
  195. package/dist/chunks/{pty-yqngptm3.js → pty-ww94c77x.js} +8 -8
  196. package/dist/chunks/{pty-6wkd5avw.js → pty-x1gfpc1p.js} +2 -2
  197. package/dist/chunks/{pty-wvh43mtc.js → pty-x7vb65wd.js} +13 -13
  198. package/dist/chunks/{pty-mg0hvqns.js → pty-xbckpkdq.js} +22 -22
  199. package/dist/chunks/{pty-7t8e8ps1.js → pty-xe6cmgbq.js} +9 -9
  200. package/dist/chunks/{pty-drwq78ky.js → pty-xfkkasph.js} +3 -3
  201. package/dist/chunks/{pty-s6qp1k48.js → pty-xfkknnqv.js} +1 -1
  202. package/dist/chunks/{pty-h3c20vca.js → pty-xp7gxvaq.js} +4 -4
  203. package/dist/chunks/{pty-1qkgdbp4.js → pty-xp8zvqfe.js} +30 -30
  204. package/dist/chunks/{pty-vhwvdgna.js → pty-xxpn3ren.js} +7 -7
  205. package/dist/chunks/{pty-z62c9ayt.js → pty-xzzedvdq.js} +8 -8
  206. package/dist/chunks/{pty-834a0b17.js → pty-ybhbtxjg.js} +5 -5
  207. package/dist/chunks/{pty-p1nm93x7.js → pty-yjptyezs.js} +3 -3
  208. package/dist/chunks/{pty-b6yzcphf.js → pty-yjq1h8wq.js} +6 -6
  209. package/dist/chunks/{pty-h9nzbdt3.js → pty-ykyjdacj.js} +4 -4
  210. package/dist/chunks/{pty-pxnzv34t.js → pty-ypnspery.js} +16 -16
  211. package/dist/chunks/{pty-s4enseaf.js → pty-yrznvahk.js} +1 -1
  212. package/dist/chunks/{pty-72qck3dr.js → pty-z440px53.js} +63 -63
  213. package/dist/chunks/{pty-29x78va6.js → pty-z63w68vq.js} +4 -4
  214. package/dist/chunks/{pty-f1cvcqqp.js → pty-za55qz67.js} +16 -16
  215. package/dist/chunks/{pty-4p0kgrzt.js → pty-zerzqssk.js} +1 -1
  216. package/dist/chunks/{pty-a7nqw1aa.js → pty-zh0ytwzz.js} +9 -9
  217. package/dist/chunks/{pty-tb60vd7q.js → pty-zhp5m1zz.js} +3 -3
  218. package/dist/chunks/{pty-0fdmw6y0.js → pty-zncxtbv1.js} +12 -12
  219. package/dist/chunks/{pty-tqg72d4k.js → pty-zth7qvys.js} +7 -7
  220. package/dist/chunks/{pty-kafkdnde.js → pty-zvcgv5cx.js} +24 -24
  221. package/dist/chunks/{pty-mx4hjh21.js → pty-zvp4p5jk.js} +25 -25
  222. package/dist/chunks/{pty-4a0vtr9b.js → pty-zwejzy2c.js} +7 -7
  223. package/dist/chunks/{pty-r6zmwxjt.js → pty-zwks5p0r.js} +42 -42
  224. package/dist/chunks/{pty-44jfm9c6.js → pty-zyyjv7w6.js} +6 -6
  225. package/dist/codemode/instructions.js +5 -5
  226. package/dist/command.js +68 -68
  227. package/dist/config/discovery.js +63 -63
  228. package/dist/config/normalize.js +80 -80
  229. package/dist/config/plugin/agent.js +94 -94
  230. package/dist/config/plugin/command.js +170 -170
  231. package/dist/config/plugin/compaction.js +126 -126
  232. package/dist/config/plugin/compatibility.js +111 -111
  233. package/dist/config/plugin/formatter.js +95 -95
  234. package/dist/config/plugin/image.js +94 -94
  235. package/dist/config/plugin/instruction.js +68 -68
  236. package/dist/config/plugin/location-watcher.js +96 -96
  237. package/dist/config/plugin/mcp.js +101 -101
  238. package/dist/config/plugin/policy.js +94 -94
  239. package/dist/config/plugin/provider.js +92 -92
  240. package/dist/config/plugin/reference.js +95 -95
  241. package/dist/config/plugin/shell.js +96 -96
  242. package/dist/config/plugin/skill-file.js +75 -75
  243. package/dist/config/plugin/skill.js +114 -114
  244. package/dist/config/plugin/snapshot.js +94 -94
  245. package/dist/config/plugin/source.js +97 -97
  246. package/dist/config/plugin/tool-output.js +96 -96
  247. package/dist/config/plugin/websearch.js +95 -95
  248. package/dist/config/plugin/worktree.js +95 -95
  249. package/dist/config/variable.js +2 -2
  250. package/dist/config.js +100 -100
  251. package/dist/credential.js +55 -55
  252. package/dist/database/database.js +52 -52
  253. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  254. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  255. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  256. package/dist/database/drizzle/index.js +11 -11
  257. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  258. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  259. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  260. package/dist/database/drizzle.js +11 -11
  261. package/dist/database/migration.gen.js +35 -35
  262. package/dist/database/migration.js +37 -37
  263. package/dist/database/v1-migration.bun.js +9 -9
  264. package/dist/effect/app-node-builder.js +230 -230
  265. package/dist/effect/keyed-mutex.js +3 -3
  266. package/dist/environment/environment.js +68 -68
  267. package/dist/environment/index.js +70 -70
  268. package/dist/event-logger.js +10 -10
  269. package/dist/file-access.js +78 -78
  270. package/dist/file-mutation.js +69 -69
  271. package/dist/filesystem/location-watcher-policy.js +5 -5
  272. package/dist/filesystem/location-watcher.js +186 -186
  273. package/dist/filesystem/protected.js +3 -3
  274. package/dist/filesystem/search.js +77 -77
  275. package/dist/filesystem/watcher-binding.js +3 -3
  276. package/dist/filesystem/watcher.js +14 -14
  277. package/dist/filesystem.js +80 -80
  278. package/dist/form.js +55 -55
  279. package/dist/formatter/builtins.js +3 -3
  280. package/dist/formatter.js +68 -68
  281. package/dist/generate.js +77 -77
  282. package/dist/git.js +2 -2
  283. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  284. package/dist/github-copilot/copilot-provider.js +3 -3
  285. package/dist/github-copilot/models.js +75 -75
  286. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  287. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  288. package/dist/image/photon.js +1 -1
  289. package/dist/image.js +5 -5
  290. package/dist/instance/service.js +5 -5
  291. package/dist/instance.js +302 -302
  292. package/dist/instruction-discovery.js +69 -69
  293. package/dist/instructions/builtins.js +65 -65
  294. package/dist/integration.js +58 -58
  295. package/dist/job.js +60 -60
  296. package/dist/kv.js +57 -57
  297. package/dist/location-activity.js +49 -49
  298. package/dist/location-lifecycle.js +80 -80
  299. package/dist/location-mutation.js +28 -28
  300. package/dist/location-service-map.js +65 -65
  301. package/dist/location-services.js +299 -299
  302. package/dist/location.js +60 -60
  303. package/dist/mcp/client.js +17 -17
  304. package/dist/mcp/index.js +81 -81
  305. package/dist/mcp/instructions.js +93 -93
  306. package/dist/mcp/oauth.js +11 -11
  307. package/dist/mcp/stdio.js +65 -65
  308. package/dist/modal/models.js +75 -75
  309. package/dist/model-resolver.js +74 -74
  310. package/dist/model.js +70 -70
  311. package/dist/models-dev.js +82 -82
  312. package/dist/permission/saved.js +62 -62
  313. package/dist/permission.js +83 -83
  314. package/dist/persistent-pty/index.js +69 -69
  315. package/dist/persistent-pty.js +57 -57
  316. package/dist/plugin/agent.js +76 -76
  317. package/dist/plugin/command.js +72 -72
  318. package/dist/plugin/hooks.js +5 -5
  319. package/dist/plugin/host.js +177 -177
  320. package/dist/plugin/identity.js +3 -3
  321. package/dist/plugin/instance.js +5 -5
  322. package/dist/plugin/internal.js +275 -275
  323. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  324. package/dist/plugin/models-dev.js +71 -71
  325. package/dist/plugin/module.js +5 -5
  326. package/dist/plugin/optimize.js +4 -4
  327. package/dist/plugin/plan.js +76 -76
  328. package/dist/plugin/provider/amazon-bedrock.js +66 -66
  329. package/dist/plugin/provider/azure.js +93 -93
  330. package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
  331. package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
  332. package/dist/plugin/provider/configured.js +91 -91
  333. package/dist/plugin/provider/digitalocean.js +68 -68
  334. package/dist/plugin/provider/github-copilot.js +69 -69
  335. package/dist/plugin/provider/gitlab.js +67 -67
  336. package/dist/plugin/provider/google-vertex.js +66 -66
  337. package/dist/plugin/provider/llmgateway.js +59 -59
  338. package/dist/plugin/provider/lmstudio.js +94 -94
  339. package/dist/plugin/provider/modal.js +68 -68
  340. package/dist/plugin/provider/ollama.js +94 -94
  341. package/dist/plugin/provider/openai.js +69 -69
  342. package/dist/plugin/provider/opencode.js +68 -68
  343. package/dist/plugin/provider/openrouter.js +67 -67
  344. package/dist/plugin/provider/poe.js +59 -59
  345. package/dist/plugin/provider/prompt-cache-key.js +66 -66
  346. package/dist/plugin/provider/sap-ai-core.js +66 -66
  347. package/dist/plugin/provider/snowflake-cortex.js +93 -93
  348. package/dist/plugin/provider/vercel.js +66 -66
  349. package/dist/plugin/provider/vllm.js +94 -94
  350. package/dist/plugin/provider/xai.js +67 -67
  351. package/dist/plugin/provider.js +125 -125
  352. package/dist/plugin/sdk.js +55 -55
  353. package/dist/plugin/service.js +3 -3
  354. package/dist/plugin/skill.js +110 -110
  355. package/dist/plugin/supervisor.js +289 -289
  356. package/dist/plugin/update.js +6 -6
  357. package/dist/plugin/vcs/git.js +65 -65
  358. package/dist/plugin/vcs/hg.js +65 -65
  359. package/dist/plugin/warming.js +93 -93
  360. package/dist/plugin/websearch/exa.js +5 -5
  361. package/dist/plugin/websearch/firecrawl.js +6 -6
  362. package/dist/plugin/websearch/index.js +7 -7
  363. package/dist/plugin/websearch/parallel.js +6 -6
  364. package/dist/plugin/websearch/tavily.js +4 -4
  365. package/dist/plugin/websearch/tinyfish.js +6 -6
  366. package/dist/plugin.js +184 -184
  367. package/dist/project.js +59 -59
  368. package/dist/provider.js +65 -65
  369. package/dist/pty.js +71 -71
  370. package/dist/reference/instructions.js +69 -69
  371. package/dist/reference.js +71 -71
  372. package/dist/repository-cache.js +58 -58
  373. package/dist/ripgrep.js +69 -69
  374. package/dist/rpc.js +65 -65
  375. package/dist/session/command.js +59 -59
  376. package/dist/session/compaction.js +100 -100
  377. package/dist/session/context.js +115 -115
  378. package/dist/session/diff.js +65 -65
  379. package/dist/session/environment.js +5 -5
  380. package/dist/session/error.js +4 -4
  381. package/dist/session/execution/restart.js +114 -114
  382. package/dist/session/execution.js +95 -95
  383. package/dist/session/generate.js +116 -116
  384. package/dist/session/history.js +6 -6
  385. package/dist/session/inbox.js +65 -65
  386. package/dist/session/info.js +2 -2
  387. package/dist/session/instruction-entry.js +60 -60
  388. package/dist/session/instructions.js +71 -71
  389. package/dist/session/model-request.js +90 -90
  390. package/dist/session/model-transport.js +7 -7
  391. package/dist/session/move.js +97 -97
  392. package/dist/session/projector.js +61 -61
  393. package/dist/session/prompt.js +78 -78
  394. package/dist/session/provider-context.js +3 -3
  395. package/dist/session/revert.js +66 -66
  396. package/dist/session/runner/index.js +3 -3
  397. package/dist/session/runner/llm.js +186 -186
  398. package/dist/session/runner/model.js +74 -74
  399. package/dist/session/runner/retry.js +85 -85
  400. package/dist/session/runner/step.js +91 -91
  401. package/dist/session/runner/to-llm-message.js +2 -2
  402. package/dist/session/schema.js +3 -3
  403. package/dist/session/session.js +135 -135
  404. package/dist/session/shell.js +107 -107
  405. package/dist/session/skill.js +77 -77
  406. package/dist/session/stats.js +8 -8
  407. package/dist/session/store.js +65 -65
  408. package/dist/session/subagent-job.js +166 -166
  409. package/dist/session/system-prompt.js +3 -3
  410. package/dist/session/title.js +118 -118
  411. package/dist/session/to-session-error.js +82 -82
  412. package/dist/session/transfer.js +106 -106
  413. package/dist/session.js +174 -174
  414. package/dist/shell/parse.js +4 -4
  415. package/dist/shell/select.js +12 -12
  416. package/dist/shell.js +110 -110
  417. package/dist/skill/discovery.js +5 -5
  418. package/dist/skill/instructions.js +79 -79
  419. package/dist/skill.js +86 -86
  420. package/dist/snapshot.js +68 -68
  421. package/dist/tool/mcp.js +90 -90
  422. package/dist/tool/plugin/edit.js +85 -85
  423. package/dist/tool/plugin/glob.js +93 -93
  424. package/dist/tool/plugin/grep.js +89 -89
  425. package/dist/tool/plugin/opencode.js +3 -3
  426. package/dist/tool/plugin/patch.js +91 -91
  427. package/dist/tool/plugin/question.js +77 -77
  428. package/dist/tool/plugin/read.js +93 -93
  429. package/dist/tool/plugin/shell.js +176 -176
  430. package/dist/tool/plugin/skill.js +87 -87
  431. package/dist/tool/plugin/subagent.js +177 -177
  432. package/dist/tool/plugin/webfetch.js +83 -83
  433. package/dist/tool/plugin/websearch.js +88 -88
  434. package/dist/tool/plugin/write.js +91 -91
  435. package/dist/tool/read-filesystem.js +71 -71
  436. package/dist/tool-output.js +6 -6
  437. package/dist/tool.js +9 -9
  438. package/dist/v1/config/agent.js +6 -6
  439. package/dist/v1/config/attachment.js +3 -3
  440. package/dist/v1/config/command.js +5 -5
  441. package/dist/v1/config/config.js +14 -14
  442. package/dist/v1/config/error.js +3 -3
  443. package/dist/v1/config/formatter.js +5 -5
  444. package/dist/v1/config/lsp.js +5 -5
  445. package/dist/v1/config/mcp.js +3 -3
  446. package/dist/v1/config/migrate.js +67 -67
  447. package/dist/v1/config/permission.js +7 -7
  448. package/dist/v1/config/plugin.js +3 -3
  449. package/dist/v1/config/provider.js +3 -3
  450. package/dist/v1/config/skills.js +3 -3
  451. package/dist/variant.js +67 -67
  452. package/dist/vcs.js +68 -68
  453. package/dist/websearch.js +67 -67
  454. package/dist/wellknown/plugin.js +57 -57
  455. package/dist/wellknown.js +64 -64
  456. package/dist/workspace/driver.js +3 -3
  457. package/dist/workspace.js +63 -63
  458. package/dist/worktree/git.js +5 -5
  459. package/dist/worktree/strategies.js +67 -67
  460. package/dist/worktree.js +73 -73
  461. package/package.json +8 -8
  462. package/dist/chunks/pty-vs2zs2w9.js +0 -26
  463. package/dist/chunks/pty-ztp3jpvp.js +0 -252
  464. /package/dist/chunks/{pty-wr7ps67x.js → pty-207ajt2h.js} +0 -0
  465. /package/dist/chunks/{pty-qf8xbt1v.js → pty-935t04zr.js} +0 -0
  466. /package/dist/chunks/{pty-ssr8tzqd.js → pty-ar88qa8v.js} +0 -0
  467. /package/dist/chunks/{pty-v68hp2va.js → pty-b4h1fdev.js} +0 -0
@@ -1,67 +1,67 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-qph7hyw7.js";
4
+ } from "./pty-phrgc7s2.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./pty-rsd57mk1.js";
8
+ } from "./pty-t159kbzr.js";
9
9
  import {
10
10
  ID10,
11
- Service67,
12
- node71
13
- } from "./pty-f1cvcqqp.js";
11
+ Service71,
12
+ node75
13
+ } from "./pty-za55qz67.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./pty-834a0b17.js";
16
+ } from "./pty-ybhbtxjg.js";
17
17
  import {
18
- Service66,
19
- node70
20
- } from "./pty-q9k3nk2m.js";
18
+ Service69,
19
+ node73
20
+ } from "./pty-12b8t429.js";
21
21
  import {
22
22
  match2
23
23
  } from "./pty-y1fvbwt7.js";
24
24
  import {
25
- Service65,
26
- node69
27
- } from "./pty-gydxxgyg.js";
25
+ Service70,
26
+ node74
27
+ } from "./pty-beda3f75.js";
28
28
  import {
29
- Service68,
30
- node72
31
- } from "./pty-k1gkpfdk.js";
29
+ Service72,
30
+ node76
31
+ } from "./pty-4w5f3qm5.js";
32
32
  import {
33
33
  __export
34
34
  } from "./pty-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event12,
45
+ Event: () => Event13,
46
46
  ID: () => ID8,
47
47
  NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule2,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service64,
54
+ Service: () => Service68,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node68
58
+ node: () => node72
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event12 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID8 = Permission.ID;
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service64 extends Context.Service()("@opencode/Permission") {
128
+ class Service68 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service64, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
131
131
  const bus = yield* Service82;
132
132
  const location = yield* Service79;
133
- const agents = yield* Service67;
134
- const sessions = yield* Service66;
135
- const saved = yield* Service65;
136
- const hooks = yield* Service68;
133
+ const agents = yield* Service71;
134
+ const sessions = yield* Service69;
135
+ const saved = yield* Service70;
136
+ const hooks = yield* Service72;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service64.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service68.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node68 = makeLocationNode({
303
- service: Service64,
302
+ var node72 = makeLocationNode({
303
+ service: Service68,
304
304
  layer,
305
- deps: [node86, node83, node71, node70, node69, node72]
305
+ deps: [node86, node83, node75, node73, node74, node76]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node68, exports_permission, Rule2, Ruleset2, Event12 };
308
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service68, node72, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -6,15 +6,15 @@ import {
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service51,
10
- node: () => node54
9
+ Service: () => Service50,
10
+ node: () => node53
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service51 extends Context.Service()("@opencode/Instance") {
16
+ class Service50 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node54 = LayerNode.unbound(Service51, Node.tags.values.global);
18
+ var node53 = LayerNode.unbound(Service50, Node.tags.values.global);
19
19
 
20
- export { Service51, node54, exports_service2 };
20
+ export { Service50, node53, exports_service2 };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-qph7hyw7.js";
4
+ } from "./pty-phrgc7s2.js";
5
5
  import {
6
6
  Event19,
7
7
  Service77,
8
8
  node81
9
- } from "./pty-6wkd5avw.js";
9
+ } from "./pty-x1gfpc1p.js";
10
10
  import {
11
- Service70,
12
- node74
13
- } from "./pty-mg0hvqns.js";
11
+ Service42,
12
+ node45
13
+ } from "./pty-xbckpkdq.js";
14
14
  import {
15
15
  AbsolutePath2
16
16
  } from "./pty-922hggd3.js";
17
17
  import {
18
18
  Service79,
19
19
  node83
20
- } from "./pty-rsd57mk1.js";
20
+ } from "./pty-t159kbzr.js";
21
21
  import {
22
22
  substitute2
23
- } from "./pty-s4enseaf.js";
23
+ } from "./pty-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./pty-00f2f7q8.js";
26
+ } from "./pty-1rgevqwt.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  discover3
30
- } from "./pty-bwbrqz0a.js";
30
+ } from "./pty-jh55ed6j.js";
31
31
  import {
32
32
  plan2
33
33
  } from "./pty-j56e64zr.js";
34
34
  import {
35
- Service71,
36
- Event15,
37
- node75
38
- } from "./pty-qqrhpyxk.js";
35
+ Service56,
36
+ Event10,
37
+ node59
38
+ } from "./pty-6y05ew1d.js";
39
39
  import {
40
40
  __export
41
41
  } from "./pty-9rqn6x4v.js";
@@ -44,13 +44,13 @@ import {
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options8,
48
- Service: () => Service69,
47
+ Options: () => Options4,
48
+ Service: () => Service41,
49
49
  Test: () => Test2,
50
- configured: () => configured10,
50
+ configured: () => configured4,
51
51
  latest: () => latest2,
52
- layer: () => layer23,
53
- node: () => node73,
52
+ layer: () => layer15,
53
+ node: () => node44,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options8 = Schema.Struct({
67
+ var Options4 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service69 extends Context.Service()("@opencode/Config") {
74
+ class Service41 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service69, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service41, service), Context.add(Test2, service));
93
93
  }));
94
- var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
94
+ var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
96
  const location = yield* Service79;
97
- const watcher = yield* Service70;
97
+ const watcher = yield* Service42;
98
98
  const bus = yield* Service82;
99
99
  const credentials = yield* Service77;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service71;
101
+ const wellknown = yield* Service56;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -222,7 +222,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
224
  yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -235,7 +235,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names4.map((name) => path.join(directory, name));
238
+ const candidates = names3.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service69.of({
253
+ return Service41.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured10(options) {
265
+ function configured4(options) {
266
266
  return makeLocationNode({
267
- service: Service69,
268
- layer: layer23(options),
269
- deps: [node74, node86, FSUtil.node, Global.node, node83, node81, node75]
267
+ service: Service41,
268
+ layer: layer15(options),
269
+ deps: [node45, node86, FSUtil.node, Global.node, node83, node81, node59]
270
270
  });
271
271
  }
272
- var node73 = configured10();
272
+ var node44 = configured4();
273
273
 
274
- export { latest2, Options8, Service69, Test2, testLayer2, layer23, configured10, node73, exports_config };
274
+ export { latest2, Options4, Service41, Test2, testLayer2, layer15, configured4, node44, exports_config };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-3sqv75dt.js";
3
+ } from "./pty-mgpyxjx6.js";
4
4
  import {
5
5
  Service82
6
- } from "./pty-qph7hyw7.js";
6
+ } from "./pty-phrgc7s2.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./pty-6wkd5avw.js";
10
+ } from "./pty-x1gfpc1p.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./pty-8msxkbjy.js";
14
+ } from "./pty-2gw9te71.js";
15
15
  import {
16
16
  which2
17
17
  } from "./pty-qaymkmh1.js";
18
18
  import {
19
19
  ID13,
20
20
  mergeOverlay2
21
- } from "./pty-1cr9kxrr.js";
21
+ } from "./pty-jnwk8z6k.js";
22
22
  import {
23
23
  iife2
24
24
  } from "./pty-1kg9ymc8.js";
25
25
  import {
26
26
  configuredSettings2
27
- } from "./pty-08fd96st.js";
27
+ } from "./pty-92aty353.js";
28
28
 
29
29
  // src/plugin/provider/azure.ts
30
30
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -2,7 +2,7 @@ import {
2
2
  ephemeral2,
3
3
  Service82,
4
4
  node86
5
- } from "./pty-qph7hyw7.js";
5
+ } from "./pty-phrgc7s2.js";
6
6
  import {
7
7
  __export
8
8
  } from "./pty-9rqn6x4v.js";
@@ -2,6 +2,6 @@
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
4
  var ID11 = Session.ID;
5
- var Info15 = Session.Info;
5
+ var Info25 = Session.Info;
6
6
 
7
- export { ID11, Info15, SessionSchema2 };
7
+ export { ID11, Info25, SessionSchema2 };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./pty-922hggd3.js";
4
4
  import {
5
5
  Service79
6
- } from "./pty-rsd57mk1.js";
6
+ } from "./pty-t159kbzr.js";
7
7
  import {
8
8
  __export
9
9
  } from "./pty-9rqn6x4v.js";
@@ -13,13 +13,13 @@ var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4
16
+ names: () => names3
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names4 = ["opencode.json", "opencode.jsonc"];
22
+ var names3 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names4, discover3, exports_discovery2 };
59
+ export { names3, discover3, exports_discovery2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-qph7hyw7.js";
4
+ } from "./pty-phrgc7s2.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
@@ -11,14 +11,14 @@ import {
11
11
  Service76,
12
12
  node80,
13
13
  Event18
14
- } from "./pty-8msxkbjy.js";
14
+ } from "./pty-2gw9te71.js";
15
15
  import {
16
16
  key2
17
17
  } from "./pty-h6r3nrb9.js";
18
18
  import {
19
19
  Service79,
20
20
  node83
21
- } from "./pty-rsd57mk1.js";
21
+ } from "./pty-t159kbzr.js";
22
22
  import {
23
23
  __export
24
24
  } from "./pty-9rqn6x4v.js";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service82
3
- } from "./pty-qph7hyw7.js";
3
+ } from "./pty-phrgc7s2.js";
4
4
  import {
5
5
  key2
6
6
  } from "./pty-h6r3nrb9.js";
7
7
  import {
8
8
  Event19
9
- } from "./pty-6wkd5avw.js";
9
+ } from "./pty-x1gfpc1p.js";
10
10
  import {
11
11
  ID14
12
- } from "./pty-8msxkbjy.js";
12
+ } from "./pty-2gw9te71.js";
13
13
  import {
14
14
  ID13,
15
15
  Service75
16
- } from "./pty-1cr9kxrr.js";
16
+ } from "./pty-jnwk8z6k.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./pty-kss3k1ej.js";
18
+ load2,
19
+ derive2
20
+ } from "./pty-6sz4ttcn.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,7 +62,7 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  ID10,
3
- Service67
4
- } from "./pty-f1cvcqqp.js";
3
+ Service71
4
+ } from "./pty-za55qz67.js";
5
5
  import {
6
6
  Service79
7
- } from "./pty-rsd57mk1.js";
7
+ } from "./pty-t159kbzr.js";
8
8
  import {
9
- Service69
10
- } from "./pty-p91ndb2v.js";
9
+ Service41
10
+ } from "./pty-j0d8kce8.js";
11
11
  import {
12
- Service61,
12
+ Service66,
13
13
  args2
14
- } from "./pty-pxnzv34t.js";
14
+ } from "./pty-ypnspery.js";
15
15
  import {
16
- Service14
17
- } from "./pty-fsmc1k8s.js";
16
+ Service21
17
+ } from "./pty-5ac4s34f.js";
18
18
  import {
19
19
  make10
20
- } from "./pty-cah9s9ss.js";
20
+ } from "./pty-f1nmtkf4.js";
21
21
  import {
22
22
  parseOption2
23
23
  } from "./pty-5daktx2q.js";
@@ -29,7 +29,7 @@ import {
29
29
  var exports_command2 = {};
30
30
  __export(exports_command2, {
31
31
  ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin26
32
+ Plugin: () => Plugin46
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin26 = define({
44
+ var Plugin46 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service69;
47
+ const config = yield* Service41;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,9 +56,9 @@ var Plugin26 = define({
56
56
  });
57
57
  const location = yield* Service79;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service61;
60
- const sessions = yield* Service14;
61
- const agents = yield* Service67;
59
+ const shell = yield* Service66;
60
+ const sessions = yield* Service21;
61
+ const agents = yield* Service71;
62
62
  const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin26, exports_command2 };
207
+ export { Plugin46, exports_command2 };
@@ -2,22 +2,22 @@ import {
2
2
  llmClient2
3
3
  } from "./pty-5t3nmthw.js";
4
4
  import {
5
- Service56,
6
- node59
7
- } from "./pty-eq9606cq.js";
5
+ Service53,
6
+ node56
7
+ } from "./pty-bnepd0n1.js";
8
8
  import {
9
9
  __export
10
10
  } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service55,
17
+ Service: () => Service20,
18
18
  UnavailableError: () => UnavailableError3,
19
- layer: () => layer21,
20
- node: () => node58
19
+ layer: () => layer9,
20
+ node: () => node23
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service55 extends Context.Service()("@opencode/Generate") {
36
+ class Service20 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer21 = Layer.effect(Service55, Effect.gen(function* () {
38
+ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service56;
40
+ const resolver = yield* Service53;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -63,12 +63,12 @@ var layer21 = Layer.effect(Service55, Effect.gen(function* () {
63
63
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service55.of({ text });
66
+ return Service20.of({ text });
67
67
  }));
68
- var node58 = makeLocationNode({
69
- service: Service55,
70
- layer: layer21,
71
- deps: [node59, llmClient2]
68
+ var node23 = makeLocationNode({
69
+ service: Service20,
70
+ layer: layer9,
71
+ deps: [node56, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service55, layer21, node58, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError3, Service20, layer9, node23, exports_generate };