@opencode/core 0.0.0-dev-19787 → 0.0.0-dev-19790

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 (502) hide show
  1. package/dist/agent.js +62 -62
  2. package/dist/aisdk-native.js +64 -64
  3. package/dist/aisdk.js +69 -69
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +53 -53
  6. package/dist/chunks/{pty-6vgkbqsf.js → pty-010xpxbn.js} +9 -9
  7. package/dist/chunks/{pty-7nrhymjj.js → pty-01m48zym.js} +18 -18
  8. package/dist/chunks/{pty-x31dz1np.js → pty-05k8gwwx.js} +42 -42
  9. package/dist/chunks/{pty-e41je68c.js → pty-09ejbmp6.js} +2 -2
  10. package/dist/chunks/{pty-4h75thkr.js → pty-0cnsmtwh.js} +28 -28
  11. package/dist/chunks/{pty-b6yzcphf.js → pty-0x0trpnf.js} +9 -9
  12. package/dist/chunks/{pty-v58jy1xd.js → pty-15wq8bnm.js} +15 -12
  13. package/dist/chunks/{pty-sbycj2hd.js → pty-1hxn8gc9.js} +14 -14
  14. package/dist/chunks/{pty-qmg269n7.js → pty-1n42sk3q.js} +10 -10
  15. package/dist/chunks/{pty-dhwr7h25.js → pty-1qg96azw.js} +9 -9
  16. package/dist/chunks/{pty-vjrtmzpa.js → pty-1t1mekng.js} +4 -4
  17. package/dist/chunks/{pty-xdw3myhw.js → pty-1v03ecv9.js} +21 -21
  18. package/dist/chunks/{pty-xkhfjrgz.js → pty-256nx13v.js} +3 -3
  19. package/dist/chunks/{pty-cq9vh2fv.js → pty-2aet7wja.js} +7 -7
  20. package/dist/chunks/{pty-h3c20vca.js → pty-2bm8nv3j.js} +4 -4
  21. package/dist/chunks/{pty-m5mra8ny.js → pty-2deyrhr8.js} +12 -12
  22. package/dist/chunks/{pty-eq9606cq.js → pty-2f0arp29.js} +46 -46
  23. package/dist/chunks/{pty-d7tjjqf6.js → pty-2gydggrp.js} +2 -2
  24. package/dist/chunks/{pty-0nw536sy.js → pty-2jm9246z.js} +1 -1
  25. package/dist/chunks/{pty-vyhtd5az.js → pty-2mvse5z6.js} +33 -33
  26. package/dist/chunks/{pty-abyxqag4.js → pty-2qtz93bp.js} +2 -2
  27. package/dist/chunks/{pty-htekf6zf.js → pty-2x2vnpz5.js} +7 -7
  28. package/dist/chunks/{pty-cy7q8w9z.js → pty-2x8n49qa.js} +10 -10
  29. package/dist/chunks/{pty-s1wc6ad4.js → pty-2xyrgdy7.js} +13 -13
  30. package/dist/chunks/{pty-p5hkqs15.js → pty-360vn7h3.js} +3 -3
  31. package/dist/chunks/{pty-p3j3z1wm.js → pty-36ndtc93.js} +23 -23
  32. package/dist/chunks/{pty-rrnpfv6a.js → pty-39mnaq4c.js} +20 -20
  33. package/dist/chunks/{pty-eaznszq2.js → pty-3z5xssby.js} +29 -29
  34. package/dist/chunks/{pty-d58ea4wx.js → pty-4641nt7s.js} +6 -6
  35. package/dist/chunks/{pty-xseb90fg.js → pty-47qt310b.js} +10 -10
  36. package/dist/chunks/{pty-bxgqktpk.js → pty-47r0kvy6.js} +19 -19
  37. package/dist/chunks/{pty-vk0pdsgf.js → pty-4dkhsnmt.js} +28 -28
  38. package/dist/chunks/{pty-j5786zrt.js → pty-4jc5c4h4.js} +1 -1
  39. package/dist/chunks/{pty-nbctyxha.js → pty-4jzbd5w2.js} +318 -314
  40. package/dist/chunks/{pty-57ez7d0k.js → pty-4sn99hha.js} +5 -5
  41. package/dist/chunks/{pty-57q53s15.js → pty-4zhk9xy1.js} +9 -9
  42. package/dist/chunks/{pty-p1nm93x7.js → pty-510m7gjw.js} +3 -3
  43. package/dist/chunks/{pty-1ygqh575.js → pty-56gdpj1q.js} +7 -7
  44. package/dist/chunks/pty-56qjdxtm.js +26 -0
  45. package/dist/chunks/{pty-tvkyymax.js → pty-57dcv54h.js} +8 -8
  46. package/dist/chunks/{pty-6wkd5avw.js → pty-5cn1q5nw.js} +30 -30
  47. package/dist/chunks/{pty-9yyvrqyy.js → pty-5j6bqzeb.js} +19 -19
  48. package/dist/chunks/{pty-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  49. package/dist/chunks/{pty-kb0jenp9.js → pty-5whcbe3x.js} +17 -17
  50. package/dist/chunks/{pty-2kv1txj9.js → pty-5xsexkhf.js} +6 -6
  51. package/dist/chunks/{pty-az62kead.js → pty-5xwkdnk6.js} +8 -8
  52. package/dist/chunks/{pty-7dqw4kz8.js → pty-607tc6va.js} +4 -4
  53. package/dist/chunks/{pty-137n2cjd.js → pty-61a7pyf7.js} +5 -5
  54. package/dist/chunks/{pty-wvh43mtc.js → pty-64amj0r1.js} +18 -18
  55. package/dist/chunks/{pty-nam2k8jt.js → pty-6a3q5akz.js} +8 -16
  56. package/dist/chunks/{pty-h8w3rnrc.js → pty-6d0hcp9d.js} +7 -7
  57. package/dist/chunks/{pty-e9wrjfx0.js → pty-6zb5jvme.js} +52 -52
  58. package/dist/chunks/{pty-1bbkgx8g.js → pty-73tb2d7t.js} +2 -2
  59. package/dist/chunks/{pty-pwyph8fp.js → pty-7cj0vwkb.js} +9 -9
  60. package/dist/chunks/{pty-1csms2ve.js → pty-7hmfndvt.js} +24 -24
  61. package/dist/chunks/{pty-8zqxjytc.js → pty-7swn79b1.js} +8 -8
  62. package/dist/chunks/{pty-4b3p33ns.js → pty-7t5qybgj.js} +46 -46
  63. package/dist/chunks/{pty-44jfm9c6.js → pty-82kxmdcf.js} +6 -6
  64. package/dist/chunks/{pty-02j327mk.js → pty-82r64hfa.js} +29 -29
  65. package/dist/chunks/{pty-0jq9fyba.js → pty-85z0khfw.js} +8 -8
  66. package/dist/chunks/{pty-tcezcvh9.js → pty-89znhe33.js} +3 -3
  67. package/dist/chunks/{pty-4kyk22vj.js → pty-8hdvkfsn.js} +39 -39
  68. package/dist/chunks/{pty-0ymsz8rv.js → pty-8kgvtemd.js} +7 -7
  69. package/dist/chunks/{pty-byqk2fv6.js → pty-8ktdpdbn.js} +29 -29
  70. package/dist/chunks/{pty-z62c9ayt.js → pty-8n2c22yw.js} +8 -8
  71. package/dist/chunks/{pty-z50h5snd.js → pty-8ndese90.js} +17 -17
  72. package/dist/chunks/{pty-brqzv7bg.js → pty-8sc656s0.js} +27 -27
  73. package/dist/chunks/{pty-7xnx6cga.js → pty-8tcq1ard.js} +37 -37
  74. package/dist/chunks/{pty-xgqsyfnn.js → pty-8x7kj7de.js} +11 -11
  75. package/dist/chunks/{pty-b785ew1k.js → pty-92hvatj2.js} +80 -80
  76. package/dist/chunks/{pty-rgt3cf1f.js → pty-94h3t13q.js} +11 -11
  77. package/dist/chunks/{pty-4jeaa92r.js → pty-95jkg4sh.js} +1 -1
  78. package/dist/chunks/{pty-waqpjwb8.js → pty-96712bz8.js} +2 -2
  79. package/dist/chunks/{pty-rccz2tys.js → pty-96k7qteq.js} +1 -1
  80. package/dist/chunks/{pty-hfs4qywr.js → pty-9wh28ea7.js} +30 -30
  81. package/dist/chunks/{pty-5c4hm403.js → pty-a1bz86dw.js} +1 -1
  82. package/dist/chunks/{pty-p91ndb2v.js → pty-a6ha29gm.js} +46 -46
  83. package/dist/chunks/{pty-ywdxak5q.js → pty-a8rvpzh6.js} +34 -34
  84. package/dist/chunks/{pty-809q4hne.js → pty-af04s6ss.js} +3 -3
  85. package/dist/chunks/{pty-pxnzv34t.js → pty-ajejy050.js} +16 -16
  86. package/dist/chunks/{pty-g9q532r4.js → pty-aqk3dj7t.js} +1 -1
  87. package/dist/chunks/{pty-sk1rxzc5.js → pty-b9w0x7cm.js} +15 -15
  88. package/dist/chunks/{pty-2evd0k84.js → pty-bag4px4n.js} +34 -34
  89. package/dist/chunks/{pty-jdbtptns.js → pty-bfygd469.js} +32 -32
  90. package/dist/chunks/{pty-2chp5681.js → pty-bh7937zs.js} +26 -24
  91. package/dist/chunks/{pty-mwfspft0.js → pty-bnv5qe0w.js} +7 -7
  92. package/dist/chunks/{pty-6zvnhsg3.js → pty-bt0s2m4s.js} +25 -25
  93. package/dist/chunks/{pty-czhz2k7d.js → pty-c3xk9fpp.js} +13 -11
  94. package/dist/chunks/{pty-p8x8xcsb.js → pty-c6d4h0jp.js} +12 -12
  95. package/dist/chunks/{pty-gjmk74th.js → pty-cdm0dq9n.js} +5 -5
  96. package/dist/chunks/{pty-ch7ar4cr.js → pty-cerhndf8.js} +16 -16
  97. package/dist/chunks/{pty-m0jqrx5p.js → pty-cfpkc3c9.js} +1 -1
  98. package/dist/chunks/{pty-c2qj7f61.js → pty-ck33vcq0.js} +17 -19
  99. package/dist/chunks/{pty-h6r3nrb9.js → pty-cpj0znwe.js} +3 -3
  100. package/dist/chunks/{pty-8kgt14gf.js → pty-cs1yg9jz.js} +25 -25
  101. package/dist/chunks/{pty-1j7jhvrm.js → pty-cywsvzz8.js} +15 -15
  102. package/dist/chunks/{pty-5yzzbxa7.js → pty-czfptnv9.js} +7 -7
  103. package/dist/chunks/{pty-r2m716tb.js → pty-d4he2qe1.js} +7 -7
  104. package/dist/chunks/{pty-8npqseq9.js → pty-d7wgan7y.js} +16 -16
  105. package/dist/chunks/{pty-6tc74vrw.js → pty-d8mfmd5t.js} +16 -16
  106. package/dist/chunks/{pty-tb60vd7q.js → pty-dkkcfdd5.js} +3 -3
  107. package/dist/chunks/{pty-e0r8ercz.js → pty-dm7z6sw8.js} +10 -10
  108. package/dist/chunks/{pty-bd89c7qa.js → pty-dqhgk4gj.js} +12 -12
  109. package/dist/chunks/{pty-mg0hvqns.js → pty-e8gs20m7.js} +22 -22
  110. package/dist/chunks/{pty-rsd57mk1.js → pty-en85tny2.js} +15 -15
  111. package/dist/chunks/{pty-tqg72d4k.js → pty-en9axxsm.js} +21 -19
  112. package/dist/chunks/{pty-a5frg3c7.js → pty-esegqz26.js} +8 -8
  113. package/dist/chunks/{pty-z3pw5915.js → pty-evbgk2k8.js} +3 -3
  114. package/dist/chunks/{pty-1acjjqhc.js → pty-f2n192rq.js} +3 -3
  115. package/dist/chunks/{pty-834a0b17.js → pty-f35htakt.js} +5 -5
  116. package/dist/chunks/{pty-hdnk95c8.js → pty-f828m53h.js} +1 -1
  117. package/dist/chunks/{pty-j2e43x50.js → pty-f9mqex9s.js} +34 -34
  118. package/dist/chunks/{pty-c9g527t4.js → pty-fd3v7rn0.js} +30 -30
  119. package/dist/chunks/{pty-2g7r5mvw.js → pty-fjeptm1j.js} +9 -9
  120. package/dist/chunks/{pty-mv5tqpbn.js → pty-fra5bndy.js} +17 -17
  121. package/dist/chunks/{pty-0en0hh3r.js → pty-fwrss4ad.js} +3 -3
  122. package/dist/chunks/{pty-be3g221r.js → pty-g02r5t1q.js} +16 -16
  123. package/dist/chunks/{pty-899tt7an.js → pty-g408yz0d.js} +28 -28
  124. package/dist/chunks/{pty-q9k3nk2m.js → pty-g6v5r3w6.js} +13 -13
  125. package/dist/chunks/{pty-s8d7rejh.js → pty-gbt6w4kb.js} +7 -7
  126. package/dist/chunks/{pty-00f2f7q8.js → pty-gbvfym51.js} +22 -22
  127. package/dist/chunks/{pty-jqe5ka82.js → pty-gf229ayp.js} +16 -16
  128. package/dist/chunks/{pty-n7b52vzq.js → pty-gqgkwrka.js} +19 -19
  129. package/dist/chunks/{pty-k1gkpfdk.js → pty-gs3s1a1g.js} +6 -6
  130. package/dist/chunks/{pty-t62nene4.js → pty-gtgjs7h2.js} +48 -48
  131. package/dist/chunks/{pty-zy742dcv.js → pty-gx88jzcs.js} +30 -30
  132. package/dist/chunks/{pty-kbmk2nk1.js → pty-gy590f6s.js} +1 -1
  133. package/dist/chunks/{pty-gydxxgyg.js → pty-gyxzt53n.js} +14 -14
  134. package/dist/chunks/{pty-jnzdfagj.js → pty-h4xx3n44.js} +4 -4
  135. package/dist/chunks/{pty-s6qp1k48.js → pty-h5amc0nw.js} +4 -4
  136. package/dist/chunks/{pty-teerv99t.js → pty-h8d3bytr.js} +55 -55
  137. package/dist/chunks/{pty-2em355j9.js → pty-hdfkv0ev.js} +55 -55
  138. package/dist/chunks/{pty-qtwarjwz.js → pty-hdns3422.js} +12 -12
  139. package/dist/chunks/{pty-pf31ssb9.js → pty-hgd4btym.js} +4 -4
  140. package/dist/chunks/{pty-wcs8mysc.js → pty-hgk31n1k.js} +26 -26
  141. package/dist/chunks/{pty-t4h1a8sm.js → pty-hjvqykt7.js} +7 -7
  142. package/dist/chunks/pty-hr9dp009.js +4 -0
  143. package/dist/chunks/{pty-bm3m92rh.js → pty-hxpy2fz9.js} +8 -8
  144. package/dist/chunks/{pty-nbqevg8t.js → pty-hzxxpgfe.js} +12 -12
  145. package/dist/chunks/{pty-9mmr4cym.js → pty-j2dty9kk.js} +19 -19
  146. package/dist/chunks/{pty-gzfs38sx.js → pty-jcvsx840.js} +17 -17
  147. package/dist/chunks/{pty-x5pjsa02.js → pty-jfq1w6xq.js} +10 -10
  148. package/dist/chunks/{pty-4bgjx4y9.js → pty-jhetzww4.js} +34 -34
  149. package/dist/chunks/{pty-1e7y3jby.js → pty-jn0rbr09.js} +2 -2
  150. package/dist/chunks/{pty-x0511brf.js → pty-jva4mgym.js} +3 -3
  151. package/dist/chunks/{pty-y71avatq.js → pty-jwcy2c2z.js} +3 -3
  152. package/dist/chunks/{pty-6ejv29z8.js → pty-jzp2kyv6.js} +23 -23
  153. package/dist/chunks/{pty-hsv1w0ka.js → pty-k388e6t1.js} +14 -14
  154. package/dist/chunks/{pty-n5zcbnsa.js → pty-kb1rdp05.js} +39 -39
  155. package/dist/chunks/{pty-8v55y81p.js → pty-kgbqw58m.js} +26 -26
  156. package/dist/chunks/{pty-4p0kgrzt.js → pty-kjq75dje.js} +1 -1
  157. package/dist/chunks/{pty-fkjmw100.js → pty-knb7evpn.js} +4 -4
  158. package/dist/chunks/{pty-sy45410j.js → pty-kns2fx3n.js} +17 -17
  159. package/dist/chunks/{pty-6avas0hs.js → pty-krbz4bty.js} +4 -4
  160. package/dist/chunks/{pty-3sqv75dt.js → pty-kxdh0s6n.js} +9 -9
  161. package/dist/chunks/{pty-zav06jzw.js → pty-m70sbz6t.js} +3 -3
  162. package/dist/chunks/{pty-bkjtrpfb.js → pty-m77h72gn.js} +14 -14
  163. package/dist/chunks/{pty-g2yz86wh.js → pty-m7va1g8x.js} +1 -1
  164. package/dist/chunks/{pty-vsp1fds9.js → pty-magykp64.js} +20 -20
  165. package/dist/chunks/{pty-bky20j8j.js → pty-mf55kzn1.js} +8 -8
  166. package/dist/chunks/{pty-yqngptm3.js → pty-mg90z6wk.js} +18 -18
  167. package/dist/chunks/{pty-ynxbryrd.js → pty-mh8602s5.js} +20 -20
  168. package/dist/chunks/{pty-8ha6ga5e.js → pty-mm5kxf07.js} +7 -7
  169. package/dist/chunks/{pty-z27wwaqb.js → pty-n0kbf44j.js} +9 -9
  170. package/dist/chunks/{pty-wzdyyep8.js → pty-n25bj5sj.js} +6 -6
  171. package/dist/chunks/{pty-rhafb4aa.js → pty-nq7qbqzc.js} +7 -7
  172. package/dist/chunks/{pty-1c5ncfj1.js → pty-nvgm9hwb.js} +27 -27
  173. package/dist/chunks/{pty-rf9y12ds.js → pty-nwb8yfca.js} +4 -4
  174. package/dist/chunks/{pty-1cr9kxrr.js → pty-p2bsys5p.js} +39 -35
  175. package/dist/chunks/{pty-qqrhpyxk.js → pty-p3w99mff.js} +21 -21
  176. package/dist/chunks/{pty-3zh6rxhw.js → pty-pfpqttcd.js} +10 -10
  177. package/dist/chunks/pty-px0fec8t.js +252 -0
  178. package/dist/chunks/{pty-sd8zp0nj.js → pty-q0sdqn78.js} +1 -1
  179. package/dist/chunks/{pty-0mwa6y39.js → pty-q24nm477.js} +16 -16
  180. package/dist/chunks/{pty-npbak50e.js → pty-q2f6gqtk.js} +8 -8
  181. package/dist/chunks/pty-q3pcyw4n.js +131 -0
  182. package/dist/chunks/{pty-kss3k1ej.js → pty-q4hrj6yz.js} +22 -22
  183. package/dist/chunks/{pty-fm2qvscf.js → pty-qa3qhgw8.js} +3 -3
  184. package/dist/chunks/{pty-mx4hjh21.js → pty-r1761eky.js} +30 -30
  185. package/dist/chunks/{pty-8ev4rrc0.js → pty-r4hn1y4t.js} +4 -4
  186. package/dist/chunks/{pty-qz49fwgp.js → pty-rhx683sy.js} +5 -5
  187. package/dist/chunks/{pty-zvkwbpx3.js → pty-rrwz5n32.js} +10 -10
  188. package/dist/chunks/{pty-vqf3rr9z.js → pty-rvf3k54n.js} +14 -14
  189. package/dist/chunks/{pty-08fd96st.js → pty-rwwvkkw9.js} +6 -6
  190. package/dist/chunks/{pty-7qq3ahcc.js → pty-rxcdjwh1.js} +3 -3
  191. package/dist/chunks/{pty-aqvz20a2.js → pty-ryb794yb.js} +7 -7
  192. package/dist/chunks/{pty-f1cvcqqp.js → pty-rz9v06kn.js} +25 -25
  193. package/dist/chunks/{pty-s1mn6qcj.js → pty-scs7maqt.js} +7 -7
  194. package/dist/chunks/{pty-gq6z7eg4.js → pty-sdrw2w9p.js} +21 -21
  195. package/dist/chunks/{pty-dcsznwm0.js → pty-src4gryn.js} +18 -18
  196. package/dist/chunks/{pty-2b210p4k.js → pty-t2gsyq25.js} +22 -22
  197. package/dist/chunks/{pty-p28j5sbe.js → pty-tbz0fdvh.js} +3 -3
  198. package/dist/chunks/{pty-qph7hyw7.js → pty-tqwr2f5g.js} +10 -10
  199. package/dist/chunks/{pty-8msxkbjy.js → pty-trt7zypv.js} +30 -30
  200. package/dist/chunks/{pty-4rr74z9v.js → pty-ty51299p.js} +9 -9
  201. package/dist/chunks/{pty-tk66bvfd.js → pty-v110mek2.js} +19 -19
  202. package/dist/chunks/{pty-vkwcxm6e.js → pty-vdnmec7y.js} +5 -5
  203. package/dist/chunks/{pty-qq11w61w.js → pty-ve4pfa0n.js} +3 -3
  204. package/dist/chunks/{pty-0s0a8jh1.js → pty-vedaqc0n.js} +178 -178
  205. package/dist/chunks/{pty-rbs0ef4y.js → pty-vf5yby4q.js} +31 -33
  206. package/dist/chunks/{pty-s4ajyzwp.js → pty-vfqq51fb.js} +15 -15
  207. package/dist/chunks/{pty-rjkasajw.js → pty-vk9pkavn.js} +14 -14
  208. package/dist/chunks/{pty-zg25sgvs.js → pty-vr12ekh8.js} +8 -8
  209. package/dist/chunks/{pty-r3grxea3.js → pty-vw2t0mtq.js} +36 -36
  210. package/dist/chunks/{pty-9sqkv26s.js → pty-vy078w6d.js} +42 -42
  211. package/dist/chunks/{pty-gzbkpp9m.js → pty-vyqn3nqs.js} +3 -3
  212. package/dist/chunks/{pty-7ac170kv.js → pty-vyy6cxw9.js} +2 -2
  213. package/dist/chunks/{pty-6p3xbzsx.js → pty-w1k39n5e.js} +3 -3
  214. package/dist/chunks/{pty-277eer69.js → pty-wj76ss2k.js} +3 -3
  215. package/dist/chunks/{pty-mxr6rdrb.js → pty-wxrzmbxm.js} +14 -14
  216. package/dist/chunks/{pty-7t8e8ps1.js → pty-wzjn1tpp.js} +9 -9
  217. package/dist/chunks/{pty-kz37x8hb.js → pty-x6j1wb2z.js} +79 -79
  218. package/dist/chunks/{pty-hn8hcjvd.js → pty-xpkrztab.js} +3 -3
  219. package/dist/chunks/{pty-kmrnkd77.js → pty-xtvm4hh6.js} +1 -1
  220. package/dist/chunks/{pty-bwbrqz0a.js → pty-xv567rvv.js} +8 -8
  221. package/dist/chunks/{pty-74e549sx.js → pty-y3ajgz1g.js} +13 -13
  222. package/dist/chunks/{pty-5xdv3y65.js → pty-ypbv3kf7.js} +24 -24
  223. package/dist/chunks/{pty-s4enseaf.js → pty-yrznvahk.js} +1 -1
  224. package/dist/chunks/{pty-kk61yved.js → pty-yvqjf3ez.js} +12 -12
  225. package/dist/chunks/{pty-9n4prt69.js → pty-yz0n98jk.js} +13 -13
  226. package/dist/chunks/{pty-29x78va6.js → pty-z63w68vq.js} +4 -4
  227. package/dist/chunks/{pty-zwp73gaw.js → pty-z9g3fnns.js} +20 -20
  228. package/dist/chunks/{pty-ze9yakes.js → pty-z9z6sd2a.js} +15 -15
  229. package/dist/chunks/{pty-5tvckp52.js → pty-zapz2rcy.js} +24 -24
  230. package/dist/chunks/{pty-q36t7h4b.js → pty-zcz1ktx8.js} +3 -3
  231. package/dist/chunks/{pty-m2taxsaw.js → pty-zfx1etke.js} +8 -8
  232. package/dist/chunks/{pty-3b9qt4hj.js → pty-zg3tcem2.js} +7 -7
  233. package/dist/chunks/{pty-t96c7fmv.js → pty-zn6sdvfn.js} +20 -20
  234. package/dist/chunks/{pty-hr990vwq.js → pty-zv6tdpnx.js} +36 -36
  235. package/dist/chunks/{pty-stdr0dsx.js → pty-zxtb73ge.js} +18 -18
  236. package/dist/chunks/{pty-hyag3rfz.js → pty-zy6cwck4.js} +9 -9
  237. package/dist/codemode/instructions.js +6 -6
  238. package/dist/command.js +58 -58
  239. package/dist/config/discovery.js +61 -61
  240. package/dist/config/normalize.js +79 -79
  241. package/dist/config/plugin/agent.js +97 -97
  242. package/dist/config/plugin/command.js +177 -177
  243. package/dist/config/plugin/compaction.js +127 -127
  244. package/dist/config/plugin/compatibility.js +113 -113
  245. package/dist/config/plugin/formatter.js +96 -96
  246. package/dist/config/plugin/image.js +95 -95
  247. package/dist/config/plugin/instruction.js +65 -65
  248. package/dist/config/plugin/location-watcher.js +97 -97
  249. package/dist/config/plugin/mcp.js +103 -103
  250. package/dist/config/plugin/policy.js +95 -95
  251. package/dist/config/plugin/provider.js +95 -95
  252. package/dist/config/plugin/reference.js +96 -96
  253. package/dist/config/plugin/shell.js +97 -97
  254. package/dist/config/plugin/skill-file.js +75 -75
  255. package/dist/config/plugin/skill.js +114 -114
  256. package/dist/config/plugin/snapshot.js +95 -95
  257. package/dist/config/plugin/source.js +98 -98
  258. package/dist/config/plugin/tool-output.js +97 -97
  259. package/dist/config/plugin/websearch.js +96 -96
  260. package/dist/config/plugin/worktree.js +96 -96
  261. package/dist/config/variable.js +2 -2
  262. package/dist/config.js +101 -101
  263. package/dist/credential.js +64 -64
  264. package/dist/database/database.js +47 -47
  265. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  266. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  267. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  268. package/dist/database/drizzle/index.js +9 -9
  269. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  270. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  271. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  272. package/dist/database/drizzle.js +9 -9
  273. package/dist/database/migration.gen.js +35 -35
  274. package/dist/database/migration.js +36 -36
  275. package/dist/database/v1-migration.bun.js +11 -11
  276. package/dist/effect/app-node-builder.js +243 -242
  277. package/dist/effect/keyed-mutex.js +3 -3
  278. package/dist/environment/environment.js +67 -67
  279. package/dist/environment/index.js +69 -69
  280. package/dist/event-logger.js +14 -14
  281. package/dist/file-access.js +78 -78
  282. package/dist/file-mutation.js +68 -68
  283. package/dist/filesystem/location-watcher-policy.js +5 -5
  284. package/dist/filesystem/location-watcher.js +192 -192
  285. package/dist/filesystem/protected.js +3 -3
  286. package/dist/filesystem/search.js +76 -76
  287. package/dist/filesystem/watcher-binding.js +3 -3
  288. package/dist/filesystem/watcher.js +14 -14
  289. package/dist/filesystem.js +79 -79
  290. package/dist/form.js +66 -66
  291. package/dist/formatter/builtins.js +3 -3
  292. package/dist/formatter.js +63 -63
  293. package/dist/generate.js +76 -76
  294. package/dist/git.js +8 -8
  295. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  296. package/dist/github-copilot/copilot-provider.js +3 -3
  297. package/dist/github-copilot/models.js +74 -74
  298. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  299. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  300. package/dist/image/photon.js +1 -1
  301. package/dist/image.js +5 -5
  302. package/dist/instance/service.js +5 -5
  303. package/dist/instance.js +315 -314
  304. package/dist/instruction-discovery.js +64 -64
  305. package/dist/instructions/builtins.js +64 -64
  306. package/dist/instructions/index.js +5 -5
  307. package/dist/integration/connection.js +3 -3
  308. package/dist/integration.js +64 -64
  309. package/dist/job.js +58 -58
  310. package/dist/kv.js +52 -52
  311. package/dist/location-activity.js +61 -61
  312. package/dist/location-lifecycle.js +80 -80
  313. package/dist/location-mutation.js +35 -35
  314. package/dist/location-service-map.js +63 -63
  315. package/dist/location-services.js +312 -311
  316. package/dist/location.js +64 -64
  317. package/dist/mcp/client.js +20 -20
  318. package/dist/mcp/index.js +80 -80
  319. package/dist/mcp/instructions.js +99 -99
  320. package/dist/mcp/oauth.js +14 -14
  321. package/dist/mcp/stdio.js +64 -64
  322. package/dist/modal/models.js +74 -74
  323. package/dist/model-resolver.js +73 -73
  324. package/dist/model.js +75 -75
  325. package/dist/models-dev.js +82 -82
  326. package/dist/permission/saved.js +59 -59
  327. package/dist/permission/sql.js +3 -3
  328. package/dist/permission.js +89 -89
  329. package/dist/persistent-pty/index.js +65 -65
  330. package/dist/persistent-pty.js +51 -51
  331. package/dist/plugin/agent.js +78 -78
  332. package/dist/plugin/command.js +75 -75
  333. package/dist/plugin/compaction.js +100 -100
  334. package/dist/plugin/hooks.js +3 -3
  335. package/dist/plugin/host.js +183 -183
  336. package/dist/plugin/identity.js +3 -3
  337. package/dist/plugin/instance.js +5 -5
  338. package/dist/plugin/internal.js +287 -286
  339. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  340. package/dist/plugin/models-dev.js +71 -71
  341. package/dist/plugin/module.js +5 -5
  342. package/dist/plugin/optimize.js +3 -3
  343. package/dist/plugin/plan.js +76 -76
  344. package/dist/plugin/provider/amazon-bedrock.js +65 -65
  345. package/dist/plugin/provider/azure.js +94 -94
  346. package/dist/plugin/provider/cloudflare-ai-gateway.js +93 -93
  347. package/dist/plugin/provider/cloudflare-workers-ai.js +93 -93
  348. package/dist/plugin/provider/configured.js +92 -92
  349. package/dist/plugin/provider/digitalocean.js +67 -67
  350. package/dist/plugin/provider/github-copilot.js +68 -68
  351. package/dist/plugin/provider/gitlab.js +66 -66
  352. package/dist/plugin/provider/google-vertex.js +65 -65
  353. package/dist/plugin/provider/llmgateway.js +55 -55
  354. package/dist/plugin/provider/lmstudio.js +95 -95
  355. package/dist/plugin/provider/modal.js +67 -67
  356. package/dist/plugin/provider/ollama.js +95 -95
  357. package/dist/plugin/provider/openai.js +68 -68
  358. package/dist/plugin/provider/opencode.js +68 -68
  359. package/dist/plugin/provider/openrouter.js +66 -66
  360. package/dist/plugin/provider/poe.js +55 -55
  361. package/dist/plugin/provider/prompt-cache-key.js +65 -65
  362. package/dist/plugin/provider/sap-ai-core.js +65 -65
  363. package/dist/plugin/provider/snowflake-cortex.js +94 -94
  364. package/dist/plugin/provider/vercel.js +65 -65
  365. package/dist/plugin/provider/vllm.js +93 -93
  366. package/dist/plugin/provider/xai.js +66 -66
  367. package/dist/plugin/provider.js +124 -124
  368. package/dist/plugin/sdk.js +52 -52
  369. package/dist/plugin/service.js +3 -3
  370. package/dist/plugin/skill.js +114 -114
  371. package/dist/plugin/supervisor.js +303 -302
  372. package/dist/plugin/tool-input-repair.js +9 -0
  373. package/dist/plugin/update.js +6 -6
  374. package/dist/plugin/vcs/git.js +62 -62
  375. package/dist/plugin/vcs/hg.js +62 -62
  376. package/dist/plugin/warming.js +94 -94
  377. package/dist/plugin/websearch/exa.js +6 -6
  378. package/dist/plugin/websearch/firecrawl.js +7 -7
  379. package/dist/plugin/websearch/index.js +8 -8
  380. package/dist/plugin/websearch/mcp.js +5 -5
  381. package/dist/plugin/websearch/parallel.js +7 -7
  382. package/dist/plugin/websearch/tavily.js +6 -6
  383. package/dist/plugin/websearch/tinyfish.js +7 -7
  384. package/dist/plugin.js +192 -192
  385. package/dist/project/schema.js +5 -5
  386. package/dist/project/sql.js +2 -2
  387. package/dist/project.js +65 -65
  388. package/dist/provider.js +80 -76
  389. package/dist/pty/schema.js +3 -3
  390. package/dist/pty.js +69 -69
  391. package/dist/reference/instructions.js +65 -65
  392. package/dist/reference.js +63 -63
  393. package/dist/repository-cache.js +59 -59
  394. package/dist/ripgrep.js +70 -70
  395. package/dist/rpc.js +63 -63
  396. package/dist/session/command.js +53 -53
  397. package/dist/session/compaction.js +95 -95
  398. package/dist/session/context.js +117 -117
  399. package/dist/session/diff.js +64 -64
  400. package/dist/session/environment.js +5 -5
  401. package/dist/session/error.js +4 -4
  402. package/dist/session/execution/restart.js +126 -126
  403. package/dist/session/execution.js +102 -102
  404. package/dist/session/generate.js +118 -118
  405. package/dist/session/history.js +12 -12
  406. package/dist/session/inbox.js +66 -66
  407. package/dist/session/info.js +2 -2
  408. package/dist/session/instruction-entry.js +56 -56
  409. package/dist/session/instruction-state.js +5 -5
  410. package/dist/session/instructions.js +73 -73
  411. package/dist/session/message-updater.js +3 -3
  412. package/dist/session/model-request.js +87 -87
  413. package/dist/session/model-transport.js +7 -7
  414. package/dist/session/move.js +103 -103
  415. package/dist/session/projector.js +63 -63
  416. package/dist/session/prompt.js +78 -78
  417. package/dist/session/provider-context.js +3 -3
  418. package/dist/session/revert.js +66 -66
  419. package/dist/session/run-coordinator.js +3 -3
  420. package/dist/session/runner/index.js +3 -3
  421. package/dist/session/runner/llm.js +193 -193
  422. package/dist/session/runner/model.js +73 -73
  423. package/dist/session/runner/retry.js +86 -86
  424. package/dist/session/runner/step.js +93 -93
  425. package/dist/session/runner/to-llm-message.js +2 -2
  426. package/dist/session/schema.js +5 -5
  427. package/dist/session/session.js +142 -142
  428. package/dist/session/shell.js +110 -110
  429. package/dist/session/skill.js +77 -77
  430. package/dist/session/sql.js +3 -3
  431. package/dist/session/stats.js +10 -10
  432. package/dist/session/store.js +63 -63
  433. package/dist/session/subagent-job.js +174 -174
  434. package/dist/session/title.js +116 -116
  435. package/dist/session/to-session-error.js +85 -85
  436. package/dist/session/transfer.js +123 -123
  437. package/dist/session.js +186 -186
  438. package/dist/shell/parse.js +3 -3
  439. package/dist/shell/select.js +11 -11
  440. package/dist/shell.js +113 -113
  441. package/dist/skill/discovery.js +5 -5
  442. package/dist/skill/instructions.js +79 -79
  443. package/dist/skill.js +80 -80
  444. package/dist/snapshot.js +69 -69
  445. package/dist/tool/mcp.js +94 -94
  446. package/dist/tool/plugin/edit.js +93 -93
  447. package/dist/tool/plugin/glob.js +97 -97
  448. package/dist/tool/plugin/grep.js +97 -97
  449. package/dist/tool/plugin/opencode.js +3 -3
  450. package/dist/tool/plugin/patch.js +95 -95
  451. package/dist/tool/plugin/question.js +77 -77
  452. package/dist/tool/plugin/read.js +97 -97
  453. package/dist/tool/plugin/shell.js +182 -182
  454. package/dist/tool/plugin/skill.js +87 -87
  455. package/dist/tool/plugin/subagent.js +183 -183
  456. package/dist/tool/plugin/webfetch.js +83 -83
  457. package/dist/tool/plugin/websearch.js +88 -88
  458. package/dist/tool/plugin/write.js +95 -95
  459. package/dist/tool/read-filesystem.js +72 -72
  460. package/dist/tool-output.js +7 -7
  461. package/dist/tool.js +11 -11
  462. package/dist/types/agent.d.ts +14 -1
  463. package/dist/types/model-resolver.d.ts +2 -2
  464. package/dist/types/model.d.ts +54 -14
  465. package/dist/types/plugin/provider/configured.d.ts +2 -6
  466. package/dist/types/plugin/tool-input-repair.d.ts +2 -0
  467. package/dist/types/provider.d.ts +63 -15
  468. package/dist/types/session/history.d.ts +8 -8
  469. package/dist/types/v1/config/migrate.d.ts +30 -20
  470. package/dist/v1/config/agent.js +6 -6
  471. package/dist/v1/config/attachment.js +3 -3
  472. package/dist/v1/config/command.js +3 -3
  473. package/dist/v1/config/config.js +13 -13
  474. package/dist/v1/config/error.js +3 -3
  475. package/dist/v1/config/formatter.js +3 -3
  476. package/dist/v1/config/lsp.js +5 -5
  477. package/dist/v1/config/mcp.js +3 -3
  478. package/dist/v1/config/migrate.js +66 -66
  479. package/dist/v1/config/permission.js +7 -7
  480. package/dist/v1/config/plugin.js +3 -3
  481. package/dist/v1/config/provider.js +3 -3
  482. package/dist/v1/config/skills.js +3 -3
  483. package/dist/variant.js +66 -66
  484. package/dist/vcs.js +65 -65
  485. package/dist/websearch.js +61 -61
  486. package/dist/wellknown/plugin.js +55 -55
  487. package/dist/wellknown.js +60 -60
  488. package/dist/workspace/driver.js +3 -3
  489. package/dist/workspace.js +60 -60
  490. package/dist/worktree/git.js +7 -7
  491. package/dist/worktree/sql.js +3 -3
  492. package/dist/worktree/strategies.js +64 -64
  493. package/dist/worktree.js +68 -68
  494. package/package.json +8 -8
  495. package/dist/chunks/pty-1qqxsas6.js +0 -252
  496. package/dist/chunks/pty-1tm0r3ht.js +0 -4
  497. package/dist/chunks/pty-5qekf1cr.js +0 -26
  498. /package/dist/chunks/{pty-ssr8tzqd.js → pty-4ekhf7tc.js} +0 -0
  499. /package/dist/chunks/{pty-wr7ps67x.js → pty-5e15319b.js} +0 -0
  500. /package/dist/chunks/{pty-dj2t23y0.js → pty-8p4f9s12.js} +0 -0
  501. /package/dist/chunks/{pty-v68hp2va.js → pty-w8hj49dq.js} +0 -0
  502. /package/dist/chunks/{pty-qf8xbt1v.js → pty-xfjax5kj.js} +0 -0
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-qph7hyw7.js";
2
+ Service80,
3
+ node84
4
+ } from "./pty-tqwr2f5g.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./pty-rsd57mk1.js";
6
+ Service77,
7
+ node81
8
+ } from "./pty-en85tny2.js";
9
9
  import {
10
- Service58,
11
- node61
12
- } from "./pty-bxgqktpk.js";
10
+ Service75,
11
+ node78
12
+ } from "./pty-47r0kvy6.js";
13
13
  import {
14
14
  cleanup3
15
15
  } from "./pty-gd4qta3r.js";
16
16
  import {
17
- Service61,
17
+ Service73,
18
18
  args2,
19
- node65
20
- } from "./pty-pxnzv34t.js";
19
+ node76
20
+ } from "./pty-ajejy050.js";
21
21
  import {
22
- Service68,
22
+ Service69,
23
23
  node72
24
- } from "./pty-k1gkpfdk.js";
24
+ } from "./pty-gs3s1a1g.js";
25
25
  import {
26
- Service44,
27
- node48
28
- } from "./pty-cq9vh2fv.js";
26
+ Service30,
27
+ node33
28
+ } from "./pty-2aet7wja.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./pty-xkhfjrgz.js";
31
+ } from "./pty-256nx13v.js";
32
32
  import {
33
33
  latest2,
34
- Service69,
35
- node73
36
- } from "./pty-p91ndb2v.js";
34
+ Service46,
35
+ node48
36
+ } from "./pty-a6ha29gm.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./pty-z62c9ayt.js";
40
+ } from "./pty-8n2c22yw.js";
41
41
  import {
42
42
  __export
43
43
  } from "./pty-9rqn6x4v.js";
@@ -46,12 +46,12 @@ import {
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError3,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service43,
51
+ Service: () => Service29,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node47
54
+ node: () => node32
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service43 extends Context.Service()("@opencode/Shell") {
73
+ class Service29 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service43, Effect.gen(function* () {
90
- const bus = yield* Service82;
91
- const location = yield* Service79;
89
+ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
90
+ const bus = yield* Service80;
91
+ const location = yield* Service77;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service61;
94
- const environment = yield* Service58;
95
- const hooks = yield* Service68;
96
- const environments = yield* Service44;
97
- const config = yield* Service69;
93
+ const shell = yield* Service73;
94
+ const environment = yield* Service75;
95
+ const hooks = yield* Service69;
96
+ const environments = yield* Service30;
97
+ const config = yield* Service46;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError5({ id });
118
+ return yield* new NotFoundError3({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError3({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service43.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service29.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node47 = makeLocationNode({
320
- service: Service43,
319
+ var node32 = makeLocationNode({
320
+ service: Service29,
321
321
  layer: layer(),
322
322
  deps: [
323
- node86,
324
- node83,
323
+ node84,
324
+ node81,
325
325
  Global.node,
326
- node65,
327
- node61,
326
+ node76,
327
+ node78,
328
328
  node72,
329
+ node33,
329
330
  node48,
330
- node73,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service43, cleanup2, node47, exports_shell4 };
335
+ export { NotFoundError3, RETENTION2, DIRECTORY2, Service29, cleanup2, node32, exports_shell4 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  latest2,
3
- Service69
4
- } from "./pty-p91ndb2v.js";
3
+ Service46
4
+ } from "./pty-a6ha29gm.js";
5
5
  import {
6
6
  __export
7
7
  } from "./pty-9rqn6x4v.js";
@@ -9,7 +9,7 @@ import {
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin11,
12
+ Plugin: () => Plugin45,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin11 = define({
22
+ var Plugin45 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service69;
25
+ const config = yield* Service46;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin11 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin11, exports_warming };
99
+ export { Plugin45, exports_warming };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-qph7hyw7.js";
2
+ Service80,
3
+ node84
4
+ } from "./pty-tqwr2f5g.js";
5
5
  import {
6
6
  environment2
7
- } from "./pty-pxnzv34t.js";
7
+ } from "./pty-ajejy050.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
10
  } from "./pty-sk3qaz4a.js";
@@ -16,14 +16,14 @@ import {
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError6,
20
- Options: () => Options6,
19
+ NotFoundError: () => NotFoundError10,
20
+ Options: () => Options9,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service54,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured7,
25
- layer: () => layer20,
26
- node: () => node57
22
+ Service: () => Service72,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured9,
25
+ layer: () => layer25,
26
+ node: () => node75
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError10 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service54 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service72 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* () {
53
- const bus = yield* Service82;
52
+ var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* () {
53
+ const bus = yield* Service80;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError6({ ptyID: id });
75
+ return yield* new NotFoundError10({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service54.of({
242
+ return Service72.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer20 = makeLayer();
259
- var configured7 = (options) => makeGlobalNode({
260
- service: Service54,
261
- layer: options === undefined ? layer20 : makeLayer(options),
262
- deps: [node86, Global.node]
258
+ var layer25 = makeLayer();
259
+ var configured9 = (options) => makeGlobalNode({
260
+ service: Service72,
261
+ layer: options === undefined ? layer25 : makeLayer(options),
262
+ deps: [node84, Global.node]
263
263
  });
264
- var node57 = configured7();
264
+ var node75 = configured9();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options6, UnavailableError2, NotFoundError6, Service54, layer20, configured7, node57, exports_persistent_pty, Handoff2 };
304
+ export { Options9, UnavailableError3, NotFoundError10, Service72, layer25, configured9, node75, exports_persistent_pty, Handoff2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./pty-y71avatq.js";
3
+ } from "./pty-jwcy2c2z.js";
4
4
  import {
5
5
  __export
6
6
  } from "./pty-9rqn6x4v.js";
@@ -9,22 +9,22 @@ import {
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service5,
13
+ node: () => node6
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node6 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service5, node6, exports_update };
@@ -7,7 +7,7 @@ var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names3,
10
+ names: () => names4,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names3() {
44
+ function names4() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names3, paths2, exports_protected };
63
+ export { isHome2, names4, paths2, exports_protected };
@@ -3,41 +3,41 @@ import {
3
3
  PositiveInt2
4
4
  } from "./pty-922hggd3.js";
5
5
  import {
6
- Info20
7
- } from "./pty-vsp1fds9.js";
6
+ Info15
7
+ } from "./pty-magykp64.js";
8
8
  import {
9
- Info19
10
- } from "./pty-dhwr7h25.js";
9
+ Info11
10
+ } from "./pty-1qg96azw.js";
11
11
  import {
12
- Info21
13
- } from "./pty-z3pw5915.js";
12
+ Info13
13
+ } from "./pty-evbgk2k8.js";
14
14
  import {
15
- Info17
16
- } from "./pty-fm2qvscf.js";
15
+ Info14
16
+ } from "./pty-qa3qhgw8.js";
17
17
  import {
18
- Info18
19
- } from "./pty-gzbkpp9m.js";
18
+ Info12
19
+ } from "./pty-vyqn3nqs.js";
20
20
  import {
21
21
  Layout2
22
22
  } from "./pty-21r38tys.js";
23
23
  import {
24
- Info23
25
- } from "./pty-qz49fwgp.js";
24
+ Info10
25
+ } from "./pty-rhx683sy.js";
26
26
  import {
27
- Info25
28
- } from "./pty-809q4hne.js";
27
+ Info16
28
+ } from "./pty-af04s6ss.js";
29
29
  import {
30
30
  Spec2
31
- } from "./pty-7dqw4kz8.js";
31
+ } from "./pty-607tc6va.js";
32
32
  import {
33
- Info22
34
- } from "./pty-p1nm93x7.js";
33
+ Info17
34
+ } from "./pty-510m7gjw.js";
35
35
  import {
36
36
  Server2
37
37
  } from "./pty-zeh9ct20.js";
38
38
  import {
39
- Info24
40
- } from "./pty-qq11w61w.js";
39
+ Info18
40
+ } from "./pty-ve4pfa0n.js";
41
41
  import {
42
42
  __export
43
43
  } from "./pty-9rqn6x4v.js";
@@ -46,7 +46,7 @@ import {
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info16,
49
+ Info: () => Info9,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info16 = Schema.Struct({
62
+ var Info9 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info16 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info24).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info18).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info16 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info19), plan: Schema.optional(Info19) }), [Schema.Record(Schema.String, Info19)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info11), plan: Schema.optional(Info11) }), [Schema.Record(Schema.String, Info11)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info19),
119
- build: Schema.optional(Info19),
120
- general: Schema.optional(Info19),
121
- explore: Schema.optional(Info19),
122
- title: Schema.optional(Info19),
123
- summary: Schema.optional(Info19),
124
- compaction: Schema.optional(Info19)
125
- }), [Schema.Record(Schema.String, Info19)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info22)).annotate({
118
+ plan: Schema.optional(Info11),
119
+ build: Schema.optional(Info11),
120
+ general: Schema.optional(Info11),
121
+ explore: Schema.optional(Info11),
122
+ title: Schema.optional(Info11),
123
+ summary: Schema.optional(Info11),
124
+ compaction: Schema.optional(Info11)
125
+ }), [Schema.Record(Schema.String, Info11)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info25, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info18).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info16, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info12).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info23).annotate({
133
+ lsp: Schema.optional(Info10).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info20),
140
+ permission: Schema.optional(Info15),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info21).annotate({
142
+ attachment: Schema.optional(Info13).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info16 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info16, exports_config2 };
194
+ export { WellKnown2, Info9, exports_config2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-3sqv75dt.js";
3
+ } from "./pty-kxdh0s6n.js";
4
4
  import {
5
5
  __export
6
6
  } from "./pty-9rqn6x4v.js";
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin7,
11
+ Plugin: () => Plugin39,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint3 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin7 = define({
32
+ var Plugin39 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin7 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin7 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin7, exports_tavily };
80
+ export { endpoint5, Plugin39, exports_tavily };