@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,12 +1,12 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./pty-rsd57mk1.js";
2
+ Service77,
3
+ node81
4
+ } from "./pty-en85tny2.js";
5
5
  import {
6
- Key3,
7
- make21,
6
+ Key4,
7
+ make19,
8
8
  combine2
9
- } from "./pty-s8d7rejh.js";
9
+ } from "./pty-gbt6w4kb.js";
10
10
  import {
11
11
  __export
12
12
  } from "./pty-9rqn6x4v.js";
@@ -15,21 +15,21 @@ import {
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service17,
19
- node: () => node21
18
+ Service: () => Service22,
19
+ node: () => node24
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service17 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service22 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service17, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service79;
29
- return Service17.of({
28
+ const location = yield* Service77;
29
+ return Service22.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make21({
32
- key: Key3.make("core/environment"),
31
+ make19({
32
+ key: Key4.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make21({
53
- key: Key3.make("core/date"),
52
+ make19({
53
+ key: Key4.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node21 = makeLocationNode({ service: Service17, layer, deps: [Global.node, node83] });
64
+ var node24 = makeLocationNode({ service: Service22, layer, deps: [Global.node, node81] });
65
65
 
66
- export { Service17, node21, exports_builtins };
66
+ export { Service22, node24, exports_builtins };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./pty-waqpjwb8.js";
4
+ } from "./pty-96712bz8.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./pty-y71avatq.js";
7
+ } from "./pty-jwcy2c2z.js";
8
8
  import {
9
- Service82,
10
- node86
11
- } from "./pty-qph7hyw7.js";
9
+ Service80,
10
+ node84
11
+ } from "./pty-tqwr2f5g.js";
12
12
  import {
13
13
  SessionEvent2
14
14
  } from "./pty-ec1grn59.js";
@@ -17,11 +17,11 @@ import {
17
17
  } from "./pty-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./pty-xkhfjrgz.js";
20
+ } from "./pty-256nx13v.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./pty-5c4hm403.js";
24
+ } from "./pty-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
27
  } from "./pty-9rqn6x4v.js";
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info9,
35
+ Info: () => Info5,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service49,
40
+ Service: () => Service36,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer19,
48
+ layer: () => layer16,
49
49
  list: () => list3,
50
- make: () => make18,
50
+ make: () => make16,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node52,
53
+ node: () => node38,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info9,
68
+ Info as Info5,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service49 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service36 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make18 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make16 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service83;
158
158
  const db = database.db;
159
- const bus = yield* Service82;
159
+ const bus = yield* Service80;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info9.make({
176
+ }).pipe(Effect.map((event) => Info5.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer19 = Layer.effect(Service49, make18());
231
- var node52 = makeGlobalNode({ service: Service49, layer: layer19, deps: [node87, node86] });
230
+ var layer16 = Layer.effect(Service36, make16());
231
+ var node38 = makeGlobalNode({ service: Service36, layer: layer16, deps: [node87, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service49, make18, layer19, node52, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service36, make16, layer16, node38, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  call2
3
- } from "./pty-1ygqh575.js";
3
+ } from "./pty-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
6
  } from "./pty-9rqn6x4v.js";
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin10,
11
+ Plugin: () => Plugin38,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint6 = "https://mcp.exa.ai/mcp";
18
+ var endpoint4 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin10 = define({
30
+ var Plugin38 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin10 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint6);
52
+ const url = new URL(endpoint4);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint6, Plugin10, exports_exa };
83
+ export { endpoint4, Plugin38, exports_exa };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service69
4
- } from "./pty-p91ndb2v.js";
3
+ Service46
4
+ } from "./pty-a6ha29gm.js";
5
5
  import {
6
- Service28
7
- } from "./pty-byqk2fv6.js";
6
+ Service58
7
+ } from "./pty-8ktdpdbn.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./pty-qsdy395h.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin22
19
+ Plugin: () => Plugin29
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin22 = define({
23
+ var Plugin29 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service69;
27
- const snapshot = yield* Service28;
26
+ const config = yield* Service46;
27
+ const snapshot = yield* Service58;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin22 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin22, exports_snapshot };
38
+ export { Plugin29, exports_snapshot };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service81
3
- } from "./pty-bm3m92rh.js";
2
+ Service79
3
+ } from "./pty-hxpy2fz9.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
@@ -13,14 +13,14 @@ import {
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make15
16
+ make: () => make17
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make15 = Effect.gen(function* () {
21
+ var make17 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service81;
23
+ const git = yield* Service79;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make15, exports_git2 };
49
+ export { make17, exports_git2 };
@@ -8,9 +8,9 @@ import {
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service8,
11
+ Service: () => Service12,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node9
13
+ node: () => node14
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service8, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service8.of({
66
+ return Service12.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node9 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service8, node9, exports_discovery };
155
+ export { Service12, node14, exports_discovery };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./pty-qph7hyw7.js";
3
+ Service80,
4
+ node84
5
+ } from "./pty-tqwr2f5g.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make19,
11
11
  diffByKey2
12
- } from "./pty-s8d7rejh.js";
12
+ } from "./pty-gbt6w4kb.js";
13
13
  import {
14
14
  AbsolutePath2
15
15
  } from "./pty-922hggd3.js";
@@ -23,14 +23,14 @@ import {
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event4,
26
+ Event: () => Event10,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options3,
30
- Service: () => Service30,
31
- configured: () => configured3,
32
- layer: () => layer13,
33
- node: () => node33
29
+ Options: () => Options7,
30
+ Service: () => Service50,
31
+ configured: () => configured7,
32
+ layer: () => layer22,
33
+ node: () => node53
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key3.make("core/instructions");
45
- var Event4 = {
44
+ var key = Key4.make("core/instructions");
45
+ var Event10 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options3 = Schema.Struct({
48
+ var Options7 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service30 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
56
- const bus = yield* Service82;
55
+ var layer22 = (options) => Layer.effect(Service50, Effect.gen(function* () {
56
+ const bus = yield* Service80;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event4.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make21({
77
+ const source = (value) => make19({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service30.of({
93
+ return Service50.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer13 = (options) => Layer.effect(Service30, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured3(options) {
107
+ function configured7(options) {
108
108
  return makeLocationNode({
109
- service: Service30,
110
- layer: layer13(options),
111
- deps: [node86]
109
+ service: Service50,
110
+ layer: layer22(options),
111
+ deps: [node84]
112
112
  });
113
113
  }
114
- var node33 = configured3();
114
+ var node53 = configured7();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event4, Options3, Service30, layer13, configured3, node33, exports_instruction_discovery };
145
+ export { File2, Event10, Options7, Service50, layer22, configured7, node53, exports_instruction_discovery };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID13
3
- } from "./pty-1cr9kxrr.js";
2
+ ID7
3
+ } from "./pty-p2bsys5p.js";
4
4
  import {
5
5
  iife2
6
6
  } from "./pty-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./pty-08fd96st.js";
9
+ } from "./pty-rwwvkkw9.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID13.make("cloudflare-workers-ai");
15
+ var providerID = ID7.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,24 +1,24 @@
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
  shutdown2,
7
7
  create3
8
8
  } from "./pty-rdw6cm16.js";
9
9
  import {
10
- ID14,
11
- Service76,
12
- node80,
13
- Event18
14
- } from "./pty-8msxkbjy.js";
10
+ ID8,
11
+ Service61,
12
+ node64,
13
+ Event14
14
+ } from "./pty-trt7zypv.js";
15
15
  import {
16
16
  key2
17
- } from "./pty-h6r3nrb9.js";
17
+ } from "./pty-cpj0znwe.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./pty-rsd57mk1.js";
19
+ Service77,
20
+ node81
21
+ } from "./pty-en85tny2.js";
22
22
  import {
23
23
  __export
24
24
  } from "./pty-9rqn6x4v.js";
@@ -36,21 +36,23 @@ import { Effect as Effect2, Option, Schema as Schema2, Struct as Struct2 } from
36
36
  var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
- Event: () => Event17,
40
- ID: () => ID13,
41
- Info: () => Info27,
39
+ Compaction: () => Compaction3,
40
+ Event: () => Event13,
41
+ ID: () => ID7,
42
+ Info: () => Info21,
42
43
  LoadError: () => LoadError3,
43
44
  Provider: () => exports_provider3,
44
- Request: () => Request3,
45
- Service: () => Service75,
45
+ Request: () => Request2,
46
+ Service: () => Service60,
46
47
  Settings: () => Settings2,
48
+ Transport: () => Transport2,
47
49
  aisdk: () => aisdk2,
48
50
  isAISDK: () => isAISDK2,
49
51
  loadPackage: () => loadPackage2,
50
52
  mergeHeaders: () => mergeHeaders2,
51
53
  mergeOverlay: () => mergeOverlay2,
52
54
  nativeSettings: () => nativeSettings2,
53
- node: () => node79,
55
+ node: () => node63,
54
56
  packageName: () => packageName2
55
57
  });
56
58
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -61,8 +63,8 @@ import { isRecord } from "@opencode/ai/utils/record";
61
63
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
62
64
  import { Credential } from "@opencode/schema/credential";
63
65
  import { freeze } from "immer";
64
- import { Event as Event17 } from "@opencode/schema/provider";
65
- var ID13 = Provider.ID;
66
+ import { Event as Event13 } from "@opencode/schema/provider";
67
+ var ID7 = Provider.ID;
66
68
  var AISDK_PREFIX2 = "aisdk:";
67
69
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
68
70
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -170,9 +172,9 @@ var loadPackage2 = Effect.fn("Provider.loadPackage")(function* (input, npm) {
170
172
  });
171
173
  return yield* importPackage(specifier, entrypoint);
172
174
  });
173
- var TRANSPORT_KEYS = ["chunkTimeout", "fetch", "timeout"];
175
+ var CORE_KEYS = ["chunkTimeout", "compaction", "fetch", "timeout", "transport"];
174
176
  function nativeSettings2(settings) {
175
- return Struct.omit(settings, TRANSPORT_KEYS);
177
+ return Struct.omit(settings, CORE_KEYS);
176
178
  }
177
179
  function mergeOverlay2(base, overlay) {
178
180
  if (base === undefined)
@@ -199,11 +201,13 @@ function mergeHeaders2(base, overlay) {
199
201
  return result;
200
202
  }, new Map).values());
201
203
  }
202
- var Request3 = Provider.Request;
204
+ var Request2 = Provider.Request;
205
+ var Compaction3 = Provider.Compaction;
206
+ var Transport2 = Provider.Transport;
203
207
  var Settings2 = Provider.Settings;
204
- var Info27 = Provider.Info;
208
+ var Info21 = Provider.Info;
205
209
 
206
- class Service75 extends Context.Service()("@opencode/Provider") {
210
+ class Service60 extends Context.Service()("@opencode/Provider") {
207
211
  }
208
212
  var definitions = new WeakMap;
209
213
  function index(providerID, models) {
@@ -216,10 +220,10 @@ function index(providerID, models) {
216
220
  definitions.set(models, indexes);
217
221
  return result;
218
222
  }
219
- var layer = Layer.effect(Service75, Effect.gen(function* () {
220
- const bus = yield* Service82;
221
- const integrations = yield* Service76;
222
- const location = yield* Service79;
223
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
224
+ const bus = yield* Service80;
225
+ const integrations = yield* Service61;
226
+ const location = yield* Service77;
223
227
  const state = create3({
224
228
  name: "provider",
225
229
  initial: () => new Map,
@@ -230,7 +234,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
230
234
  const current = records.get(id);
231
235
  if (current)
232
236
  return current;
233
- const added = { provider: Info27.empty(id), models: new Map };
237
+ const added = { provider: Info21.empty(id), models: new Map };
234
238
  records.set(id, added);
235
239
  maps.add(added.models);
236
240
  return added;
@@ -311,7 +315,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
311
315
  const available = Array.from(records.values()).filter((record) => {
312
316
  if (record.provider.activation === "disabled")
313
317
  return false;
314
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
318
+ const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
315
319
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
316
320
  return false;
317
321
  if (record.provider.activation === "enabled")
@@ -337,8 +341,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
337
341
  location: { directory: location.directory, workspaceID: location.workspaceID }
338
342
  });
339
343
  });
340
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
341
- return Service75.of({
344
+ yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
345
+ return Service60.of({
342
346
  transform: state.transform,
343
347
  reload: state.reload,
344
348
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -347,7 +351,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
347
351
  snapshot
348
352
  });
349
353
  }));
350
- var node79 = makeLocationNode({ service: Service75, layer, deps: [node86, node80, node83] });
354
+ var node63 = makeLocationNode({ service: Service60, layer, deps: [node84, node64, node81] });
351
355
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
352
356
  const module = yield* Effect.tryPromise({
353
357
  try: () => {
@@ -607,4 +611,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
607
611
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
608
612
  var decode = Schema2.decodeUnknownSync(Legacy);
609
613
 
610
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, Service75, node79, exports_provider3, Event17 };
614
+ export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service60, node63, exports_provider3, Event13 };