@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
@@ -2,8 +2,8 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./pty-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./pty-rsd57mk1.js";
5
+ Service77
6
+ } from "./pty-en85tny2.js";
7
7
  import {
8
8
  __export
9
9
  } from "./pty-9rqn6x4v.js";
@@ -13,17 +13,17 @@ var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4
16
+ names: () => names3
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names4 = ["opencode.json", "opencode.jsonc"];
22
+ var names3 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service79;
26
+ const location = yield* Service77;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names4, discover3, exports_discovery2 };
59
+ export { names3, discover3, exports_discovery2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./pty-rsd57mk1.js";
2
+ Service77,
3
+ node81
4
+ } from "./pty-en85tny2.js";
5
5
  import {
6
6
  create3
7
7
  } from "./pty-rdw6cm16.js";
@@ -13,18 +13,18 @@ import {
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service29,
17
- node: () => node32
16
+ Service: () => Service14,
17
+ node: () => node16
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service29 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service14 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service29, Effect.gen(function* () {
27
- const location = yield* Service79;
26
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
27
+ const location = yield* Service77;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service29.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service14.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node32 = makeLocationNode({
91
- service: Service29,
90
+ var node16 = makeLocationNode({
91
+ service: Service14,
92
92
  layer,
93
- deps: [node83, AppProcess.node]
93
+ deps: [node81, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service29, node32, exports_formatter2 };
96
+ export { Service14, node16, exports_formatter2 };
@@ -2,14 +2,14 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./pty-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./pty-rsd57mk1.js";
5
+ Service77
6
+ } from "./pty-en85tny2.js";
7
7
  import {
8
- Service46
9
- } from "./pty-jqe5ka82.js";
8
+ Service53
9
+ } from "./pty-gf229ayp.js";
10
10
  import {
11
- Service12
12
- } from "./pty-zwp73gaw.js";
11
+ Service9
12
+ } from "./pty-z9g3fnns.js";
13
13
  import {
14
14
  NotFound2
15
15
  } from "./pty-2a5m3afh.js";
@@ -23,8 +23,8 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service9
27
- } from "./pty-vqf3rr9z.js";
26
+ Service7
27
+ } from "./pty-rvf3k54n.js";
28
28
  import {
29
29
  __export
30
30
  } from "./pty-9rqn6x4v.js";
@@ -32,17 +32,17 @@ import {
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input5,
36
- Plugin: () => Plugin39,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin6,
37
37
  ReadTool: () => exports_read,
38
- name: () => name5,
39
- toModelContent: () => toModelContent2
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent3
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name5 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input5 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin39 = {
58
+ var Plugin6 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service9;
62
- const access = yield* Service46;
63
- const sessionInstructions = yield* Service12;
61
+ const reader = yield* Service7;
62
+ const access = yield* Service53;
63
+ const sessionInstructions = yield* Service9;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service77;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name5,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input5,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin39 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent2(result.path, input.offset, result.output),
115
+ content: toModelContent3(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent2 = (path, offset, output) => {
147
+ var toModelContent3 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name5, Input5, Plugin39, toModelContent2, exports_read };
183
+ export { name6, Input6, Plugin6, toModelContent3, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./pty-29x78va6.js";
3
+ } from "./pty-z63w68vq.js";
4
4
  import {
5
5
  __export
6
6
  } from "./pty-9rqn6x4v.js";
@@ -2,14 +2,14 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./pty-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./pty-rsd57mk1.js";
5
+ Service77
6
+ } from "./pty-en85tny2.js";
7
7
  import {
8
- Service69
9
- } from "./pty-p91ndb2v.js";
8
+ Service46
9
+ } from "./pty-a6ha29gm.js";
10
10
  import {
11
- Service34
12
- } from "./pty-wvh43mtc.js";
11
+ Service42
12
+ } from "./pty-64amj0r1.js";
13
13
  import {
14
14
  observe2
15
15
  } from "./pty-qsdy395h.js";
@@ -21,19 +21,19 @@ import {
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin30
24
+ Plugin: () => Plugin14
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin30 = define({
30
+ var Plugin14 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service69;
34
- const location = yield* Service79;
33
+ const config = yield* Service46;
34
+ const location = yield* Service77;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service34;
36
+ const worktrees = yield* Service42;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin30 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin30, exports_worktree };
51
+ export { Plugin14, exports_worktree };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service53,
3
- node56,
2
+ Service43,
3
+ node45,
4
4
  canonical3
5
- } from "./pty-az62kead.js";
5
+ } from "./pty-5xwkdnk6.js";
6
6
  import {
7
- Service51,
8
- node54
9
- } from "./pty-gjmk74th.js";
7
+ Service35,
8
+ node37
9
+ } from "./pty-cdm0dq9n.js";
10
10
  import {
11
- Service62
12
- } from "./pty-eaznszq2.js";
11
+ Service56
12
+ } from "./pty-3z5xssby.js";
13
13
  import {
14
14
  layer2
15
- } from "./pty-1qqxsas6.js";
15
+ } from "./pty-px0fec8t.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service53, Effect.gen(function* () {
20
+ return Layer.effect(Service43, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service62);
30
+ const lifecycle = Context.get(exit.value, Service56);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node54.replace(Layer.succeed(Service51, {
57
+ node37.replace(Layer.succeed(Service35, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node56.replace(Layer.succeed(Service53, map))
61
+ node45.replace(Layer.succeed(Service43, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -6,9 +6,9 @@ import {
6
6
  } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error2 = {};
10
- __export(exports_error2, {
11
- ConfigErrorV1: () => exports_error2,
9
+ var exports_error = {};
10
+ __export(exports_error, {
11
+ ConfigErrorV1: () => exports_error,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
@@ -1,18 +1,18 @@
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
10
  SessionEvent2
11
11
  } from "./pty-ec1grn59.js";
12
12
  import {
13
- Service66,
14
- node70
15
- } from "./pty-q9k3nk2m.js";
13
+ Service68,
14
+ node71
15
+ } from "./pty-g6v5r3w6.js";
16
16
  import {
17
17
  __export
18
18
  } from "./pty-9rqn6x4v.js";
@@ -20,9 +20,9 @@ import {
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service12,
23
+ Service: () => Service9,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node14
25
+ node: () => node11
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service12 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service9 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service12, Effect.gen(function* () {
38
- const bus = yield* Service82;
37
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
38
+ const bus = yield* Service80;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service66;
41
- const location = yield* Service79;
40
+ const store = yield* Service68;
41
+ const location = yield* Service77;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service12.of({ load });
87
+ return Service9.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node14 = makeLocationNode({
98
+ var node11 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node86, FSUtil.node, node83, node70]
101
+ deps: [node84, FSUtil.node, node81, node71]
102
102
  });
103
103
 
104
- export { Service12, node14, exports_instructions };
104
+ export { Service9, node11, exports_instructions };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service82
3
- } from "./pty-qph7hyw7.js";
2
+ Service80
3
+ } from "./pty-tqwr2f5g.js";
4
4
  import {
5
- Service79
6
- } from "./pty-rsd57mk1.js";
5
+ Service77
6
+ } from "./pty-en85tny2.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service22
10
- } from "./pty-t62nene4.js";
9
+ Service23
10
+ } from "./pty-gtgjs7h2.js";
11
11
  import {
12
12
  __export
13
13
  } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin16
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin46
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin16 = define({
196
+ var Plugin46 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service79;
200
- const mcp = yield* Service22;
201
- const bus = yield* Service82;
199
+ const location = yield* Service77;
200
+ const mcp = yield* Service23;
201
+ const bus = yield* Service80;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin16, exports_command };
283
+ export { Plugin46, exports_command2 };
@@ -1,15 +1,15 @@
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
9
  Binding2,
10
10
  RegistryService2,
11
- node63
12
- } from "./pty-7qq3ahcc.js";
11
+ node80
12
+ } from "./pty-rxcdjwh1.js";
13
13
  import {
14
14
  WorkspaceTable2
15
15
  } from "./pty-faypxj3z.js";
@@ -21,13 +21,13 @@ import {
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID6,
25
- Info: () => Info10,
24
+ ID: () => ID15,
25
+ Info: () => Info30,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service59,
27
+ Service: () => Service76,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured8,
30
- node: () => node62
29
+ configured: () => configured11,
30
+ node: () => node79
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID6 = Workspace.ID;
38
+ var ID15 = Workspace.ID;
39
39
 
40
- class Info10 extends Schema.Class("Workspace.Info")({
41
- id: ID6,
40
+ class Info30 extends Schema.Class("Workspace.Info")({
41
+ id: ID15,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info10 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID6,
53
+ workspaceID: ID15,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service59 extends Context.Service()("@opencode/Workspace") {
59
+ class Service76 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured8 = (options = {}) => makeGlobalNode({
62
- service: Service59,
61
+ var configured11 = (options = {}) => makeGlobalNode({
62
+ service: Service76,
63
63
  layer: layer(options),
64
- deps: [node87, node63]
64
+ deps: [node87, node80]
65
65
  });
66
- var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
67
67
  const db = (yield* Service83).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info10({
83
+ const info = (row, binding) => new Info30({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service59.of({
157
+ return Service76.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID6.create();
159
+ const workspaceID = input.id ?? ID15.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node62 = configured8();
224
+ var node79 = configured11();
225
225
 
226
- export { ID6, Info10, NotFound3, CreateConflict2, Service59, configured8, node62, exports_workspace };
226
+ export { ID15, Info30, NotFound3, CreateConflict2, Service76, configured11, node79, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./pty-rbs0ef4y.js";
2
+ ID6
3
+ } from "./pty-vf5yby4q.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID6.make("gpt-5-chat-latest"), ID6.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./pty-waqpjwb8.js";
4
+ } from "./pty-96712bz8.js";
5
5
  import {
6
6
  KVTable2
7
7
  } from "./pty-3hepkmqq.js";
@@ -13,17 +13,17 @@ import {
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service72,
17
- node: () => node76
16
+ Service: () => Service82,
17
+ node: () => node86
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service72 extends Context.Service()("@opencode/KV") {
22
+ class Service82 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service72, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
25
25
  const db = (yield* Service83).db;
26
- return Service72.of({
26
+ return Service82.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node87] });
54
+ var node86 = makeGlobalNode({ service: Service82, layer, deps: [node87] });
55
55
 
56
- export { Service72, node76, exports_kv };
56
+ export { Service82, node86, exports_kv };