@opencode/core 0.0.0-dev-19743 → 0.0.0-dev-19744

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{aisdk-ve4pfa0n.js → pty-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{aisdk-x74gt3qg.js → pty-04h47jdz.js} +15 -15
  9. package/dist/chunks/{aisdk-06dxphr1.js → pty-06dxphr1.js} +1 -1
  10. package/dist/chunks/{aisdk-vbfentrr.js → pty-0d61r9h4.js} +12 -12
  11. package/dist/chunks/{aisdk-s8zy8myc.js → pty-0f9afca0.js} +5 -5
  12. package/dist/chunks/{aisdk-gy551h6f.js → pty-0gq5ttfh.js} +11 -11
  13. package/dist/chunks/{aisdk-2k8khapm.js → pty-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{aisdk-16xr51w1.js → pty-0kk2g04a.js} +24 -24
  15. package/dist/chunks/{aisdk-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{aisdk-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{aisdk-t9d84gp7.js → pty-0rd9v16n.js} +4 -4
  18. package/dist/chunks/{aisdk-mfasrae1.js → pty-0rgpk1ds.js} +1 -1
  19. package/dist/chunks/{aisdk-91f5q3nk.js → pty-10f3mqse.js} +19 -19
  20. package/dist/chunks/{aisdk-11dqjexa.js → pty-11dqjexa.js} +2 -2
  21. package/dist/chunks/{aisdk-rgwpr805.js → pty-12b8t429.js} +14 -14
  22. package/dist/chunks/{aisdk-kh9sx4kg.js → pty-15nepkqg.js} +8 -8
  23. package/dist/chunks/{aisdk-rhraev7y.js → pty-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{aisdk-4ag8df43.js → pty-1ajp4aa7.js} +3 -3
  25. package/dist/chunks/{aisdk-n37fzfbd.js → pty-1as7yqy8.js} +5 -5
  26. package/dist/chunks/{aisdk-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{aisdk-bchsbmg9.js → pty-1f62kj91.js} +3 -3
  28. package/dist/chunks/{aisdk-p0a6103n.js → pty-1rgevqwt.js} +24 -24
  29. package/dist/chunks/pty-1tm0r3ht.js +4 -0
  30. package/dist/chunks/{aisdk-1ygqh575.js → pty-1ygqh575.js} +2 -2
  31. package/dist/chunks/{aisdk-6vq97qmv.js → pty-207ajt2h.js} +5 -5
  32. package/dist/chunks/{aisdk-21r38tys.js → pty-21r38tys.js} +1 -1
  33. package/dist/chunks/{aisdk-2402vzrj.js → pty-2402vzrj.js} +1 -1
  34. package/dist/chunks/{aisdk-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{aisdk-1ee9xjts.js → pty-2acp3zpj.js} +24 -24
  36. package/dist/chunks/{aisdk-tjt6v5nx.js → pty-2c4g75ke.js} +16 -16
  37. package/dist/chunks/{aisdk-0he4gxhe.js → pty-2gw9te71.js} +22 -22
  38. package/dist/chunks/{aisdk-qh5jrqfz.js → pty-2k6s2zm4.js} +16 -16
  39. package/dist/chunks/{aisdk-0y50sgw1.js → pty-2kbj14yf.js} +37 -37
  40. package/dist/chunks/{aisdk-gjwgx2c5.js → pty-2sejkfem.js} +9 -9
  41. package/dist/chunks/{aisdk-tsqdc71q.js → pty-39dab3jh.js} +18 -18
  42. package/dist/chunks/{aisdk-tfxws9nx.js → pty-3ad3156b.js} +5 -5
  43. package/dist/chunks/{aisdk-ab9238g2.js → pty-3b1q5j1v.js} +5 -5
  44. package/dist/chunks/{aisdk-j92qhbm3.js → pty-3ddaden9.js} +2 -2
  45. package/dist/chunks/{aisdk-na0fnjnh.js → pty-3fax0mp7.js} +6 -6
  46. package/dist/chunks/{aisdk-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{aisdk-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{aisdk-2gs12enf.js → pty-3pszy94w.js} +11 -11
  49. package/dist/chunks/{aisdk-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{aisdk-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{aisdk-44ke2mar.js → pty-44ke2mar.js} +2 -2
  52. package/dist/chunks/{aisdk-sbnsh8k5.js → pty-4b8tw1g7.js} +8 -8
  53. package/dist/chunks/{aisdk-p1cp9498.js → pty-4kgnd0zh.js} +41 -41
  54. package/dist/chunks/{aisdk-m9nx8vh3.js → pty-4v4zcyn8.js} +11 -11
  55. package/dist/chunks/{aisdk-g1sxm558.js → pty-4w5f3qm5.js} +8 -8
  56. package/dist/chunks/{aisdk-5tpnda8e.js → pty-5019jpyd.js} +14 -14
  57. package/dist/chunks/{aisdk-epdr6g6w.js → pty-50jcqkpg.js} +18 -18
  58. package/dist/chunks/{aisdk-xgcxmpe2.js → pty-51rpk3dg.js} +47 -47
  59. package/dist/chunks/{aisdk-9vjsf365.js → pty-51sk06m6.js} +6 -6
  60. package/dist/chunks/{aisdk-j1qnbarn.js → pty-54qvpy9t.js} +8 -8
  61. package/dist/chunks/{aisdk-kaqkvdz7.js → pty-56caj4g6.js} +17 -17
  62. package/dist/chunks/{aisdk-cntxze1n.js → pty-57ez7d0k.js} +9 -9
  63. package/dist/chunks/{aisdk-a1bz86dw.js → pty-5c4hm403.js} +3 -3
  64. package/dist/chunks/{aisdk-dwnm4n7z.js → pty-5cjyhqcx.js} +88 -88
  65. package/dist/chunks/{aisdk-5daktx2q.js → pty-5daktx2q.js} +1 -1
  66. package/dist/chunks/{aisdk-ybwbcp2b.js → pty-5dkyq3w9.js} +9 -9
  67. package/dist/chunks/{aisdk-yg36tpc9.js → pty-5dkz921g.js} +21 -21
  68. package/dist/chunks/{aisdk-17h4crvz.js → pty-5ge7b1s9.js} +17 -17
  69. package/dist/chunks/{aisdk-bfw5e3j5.js → pty-5hazr681.js} +2 -2
  70. package/dist/chunks/{aisdk-x7d2t585.js → pty-5rbd4j62.js} +5 -5
  71. package/dist/chunks/{aisdk-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  72. package/dist/chunks/{aisdk-cd1v3yav.js → pty-5w8sdvf2.js} +4 -4
  73. package/dist/chunks/{aisdk-y16p1w2y.js → pty-63kpjth9.js} +5 -5
  74. package/dist/chunks/{aisdk-669tq793.js → pty-669tq793.js} +1 -1
  75. package/dist/chunks/{aisdk-569x6e4f.js → pty-6bh8btd9.js} +30 -30
  76. package/dist/chunks/{aisdk-cmv7hf2c.js → pty-6e1261xp.js} +24 -24
  77. package/dist/chunks/{aisdk-9b3szmgb.js → pty-6ep9m4sq.js} +18 -18
  78. package/dist/chunks/{aisdk-2xn2vpwj.js → pty-6j9cmr93.js} +23 -23
  79. package/dist/chunks/{aisdk-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  80. package/dist/chunks/{aisdk-hf0zbf8h.js → pty-6n9a7w7g.js} +10 -10
  81. package/dist/chunks/{aisdk-2401b0fc.js → pty-6sz4ttcn.js} +6 -6
  82. package/dist/chunks/{aisdk-fa7xg5a5.js → pty-6vw4348z.js} +13 -13
  83. package/dist/chunks/{aisdk-v1qmp7wq.js → pty-6y05ew1d.js} +20 -20
  84. package/dist/chunks/{aisdk-twghag3f.js → pty-74rrnwt7.js} +12 -12
  85. package/dist/chunks/{aisdk-z8crshbf.js → pty-75ckhbr3.js} +22 -22
  86. package/dist/chunks/{aisdk-7xe0qrds.js → pty-76mn2m8t.js} +13 -13
  87. package/dist/chunks/{aisdk-q084w11f.js → pty-77yaaytm.js} +84 -84
  88. package/dist/chunks/{aisdk-6tt5evqq.js → pty-7ac170kv.js} +4 -4
  89. package/dist/chunks/{aisdk-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{aisdk-98bqs6v1.js → pty-7t28gyx8.js} +21 -21
  91. package/dist/chunks/{aisdk-cy1rc5fj.js → pty-856c6xfq.js} +20 -20
  92. package/dist/chunks/{aisdk-6skqymyq.js → pty-861re95h.js} +27 -27
  93. package/dist/chunks/{aisdk-tcezcvh9.js → pty-89znhe33.js} +4 -4
  94. package/dist/chunks/{aisdk-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{aisdk-ac1jafr8.js → pty-8fxgy4be.js} +28 -28
  96. package/dist/chunks/{aisdk-0xz4qxxd.js → pty-8hvspytd.js} +70 -70
  97. package/dist/chunks/{aisdk-39mz3sjb.js → pty-8pmgwz46.js} +30 -30
  98. package/dist/chunks/{aisdk-gb0hjbwp.js → pty-8rt8k92t.js} +9 -9
  99. package/dist/chunks/{aisdk-ec87kc5z.js → pty-8s8mxddj.js} +4 -4
  100. package/dist/chunks/{aisdk-mbw66wwe.js → pty-92aty353.js} +6 -6
  101. package/dist/chunks/{aisdk-qdyw34ax.js → pty-935t04zr.js} +6 -6
  102. package/dist/chunks/{aisdk-9hn6k4tm.js → pty-9hn6k4tm.js} +1 -1
  103. package/dist/chunks/{aisdk-mzdc1wr1.js → pty-9mjv2j5h.js} +9 -9
  104. package/dist/chunks/{aisdk-dh3m1xt2.js → pty-9p1nr3wb.js} +10 -10
  105. package/dist/chunks/{aisdk-7qc9w1c0.js → pty-9zct7zr5.js} +34 -34
  106. package/dist/chunks/{aisdk-ky3seynh.js → pty-a3r4dcrj.js} +2 -2
  107. package/dist/chunks/{aisdk-aaet6srn.js → pty-aaet6srn.js} +2 -2
  108. package/dist/chunks/{aisdk-ym6cgwqt.js → pty-apyk6ttn.js} +1 -1
  109. package/dist/chunks/{aisdk-gp0dzfj9.js → pty-ar88qa8v.js} +7 -7
  110. package/dist/chunks/{aisdk-mft52ta0.js → pty-avh5jyvb.js} +28 -28
  111. package/dist/chunks/{aisdk-0z8h461j.js → pty-b3ns9504.js} +21 -21
  112. package/dist/chunks/{aisdk-1gk0kxhs.js → pty-b4h1fdev.js} +47 -47
  113. package/dist/chunks/{aisdk-88geax4g.js → pty-b594zzbj.js} +9 -9
  114. package/dist/chunks/{aisdk-1xwb3a65.js → pty-b5ymaj20.js} +9 -9
  115. package/dist/chunks/{aisdk-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{aisdk-1y56khtd.js → pty-b6j8bg70.js} +1 -1
  117. package/dist/chunks/{aisdk-zbg2y0tv.js → pty-beda3f75.js} +14 -14
  118. package/dist/chunks/{aisdk-ezb9z1pv.js → pty-bnepd0n1.js} +28 -28
  119. package/dist/chunks/{aisdk-bz85s9hh.js → pty-bz85s9hh.js} +1 -1
  120. package/dist/chunks/{aisdk-mdczzxs1.js → pty-c86rf6nk.js} +14 -14
  121. package/dist/chunks/{aisdk-akpx6pzc.js → pty-ctrx9nnj.js} +8 -8
  122. package/dist/chunks/{aisdk-rd3pnmmg.js → pty-dby3ea06.js} +46 -46
  123. package/dist/chunks/{aisdk-gcs9tca4.js → pty-dd95b6zp.js} +3 -3
  124. package/dist/chunks/{aisdk-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{aisdk-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
  126. package/dist/chunks/{aisdk-4jm4hxny.js → pty-dprzeqmr.js} +10 -10
  127. package/dist/chunks/{aisdk-8mj7tn8y.js → pty-dqa43dhg.js} +18 -18
  128. package/dist/chunks/{aisdk-tbjpesg0.js → pty-e5menjtj.js} +9 -9
  129. package/dist/chunks/{aisdk-bh3xzmfh.js → pty-ebxxyxge.js} +32 -32
  130. package/dist/chunks/{aisdk-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{aisdk-f73rjn58.js → pty-embw8kgh.js} +4 -4
  132. package/dist/chunks/{aisdk-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{aisdk-4wk90cvq.js → pty-exfq5gv3.js} +6 -6
  134. package/dist/chunks/{aisdk-wmxxk3sc.js → pty-f0v6spgv.js} +3 -3
  135. package/dist/chunks/{aisdk-33xsejrf.js → pty-f59eyknk.js} +4 -4
  136. package/dist/chunks/{aisdk-e6n9wc5j.js → pty-f6pbrr8w.js} +13 -13
  137. package/dist/chunks/{aisdk-q6tyma5m.js → pty-f9spf006.js} +33 -33
  138. package/dist/chunks/{aisdk-sm18gw9h.js → pty-fanw3jjr.js} +1 -1
  139. package/dist/chunks/{aisdk-90er3e6e.js → pty-ffc9mvrz.js} +28 -28
  140. package/dist/chunks/{aisdk-sdg3hsn6.js → pty-fkm9w8rt.js} +23 -23
  141. package/dist/chunks/{aisdk-y59dcsea.js → pty-fkr83qb9.js} +5 -5
  142. package/dist/chunks/{aisdk-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{aisdk-gv63wtv4.js → pty-g7td5zdy.js} +9 -9
  144. package/dist/chunks/{aisdk-htjw9qza.js → pty-g8atgw3j.js} +6 -6
  145. package/dist/chunks/{aisdk-1g7epwpd.js → pty-g8d3gcyj.js} +4 -4
  146. package/dist/chunks/{aisdk-c3ts0g06.js → pty-gaf2f4t8.js} +15 -15
  147. package/dist/chunks/{aisdk-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{aisdk-8ecsra3h.js → pty-gdfvffmy.js} +3 -3
  149. package/dist/chunks/{aisdk-m86w560s.js → pty-gfqx1e3t.js} +31 -31
  150. package/dist/chunks/{aisdk-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{aisdk-vkt5fbj2.js → pty-gwydwvmj.js} +6 -6
  152. package/dist/chunks/{aisdk-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{aisdk-pva9fj43.js → pty-h5prvwy2.js} +6 -6
  154. package/dist/chunks/{aisdk-006sasan.js → pty-h64tyvph.js} +3 -3
  155. package/dist/chunks/{aisdk-5mxfeeh1.js → pty-h66ycz74.js} +13 -13
  156. package/dist/chunks/{aisdk-4dgbcxzg.js → pty-h6r3nrb9.js} +4 -4
  157. package/dist/chunks/{aisdk-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{aisdk-f828m53h.js → pty-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{aisdk-1780my4h.js → pty-hfq267a7.js} +132 -132
  160. package/dist/chunks/{aisdk-6fey8c0p.js → pty-hht4hdr7.js} +40 -40
  161. package/dist/chunks/{aisdk-tegs1ycp.js → pty-hq8zt1th.js} +6 -6
  162. package/dist/chunks/{aisdk-np6my297.js → pty-hqwcc1t8.js} +12 -12
  163. package/dist/chunks/{aisdk-7kwn4p60.js → pty-j0d8kce8.js} +46 -46
  164. package/dist/chunks/{aisdk-j56e64zr.js → pty-j56e64zr.js} +1 -1
  165. package/dist/chunks/{aisdk-d7x3031z.js → pty-j5g2921s.js} +10 -10
  166. package/dist/chunks/{aisdk-8wb5afcq.js → pty-j7d1bz3z.js} +2 -2
  167. package/dist/chunks/{aisdk-xxynqx5z.js → pty-jexxy024.js} +2 -2
  168. package/dist/chunks/{aisdk-zm1yjvg6.js → pty-jh55ed6j.js} +10 -10
  169. package/dist/chunks/{aisdk-b4p40z3j.js → pty-jnwk8z6k.js} +26 -26
  170. package/dist/chunks/{aisdk-ft62j1mr.js → pty-jp67d8xq.js} +10 -10
  171. package/dist/chunks/{aisdk-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
  172. package/dist/chunks/{aisdk-k3tjvz7j.js → pty-jqmy57s0.js} +39 -39
  173. package/dist/chunks/{aisdk-vz88fkwm.js → pty-jtr1btwa.js} +17 -17
  174. package/dist/chunks/{aisdk-f7qdh6j2.js → pty-k09h50av.js} +37 -37
  175. package/dist/chunks/{aisdk-72p6bnp4.js → pty-k0xbpe31.js} +26 -26
  176. package/dist/chunks/{aisdk-k3c624dm.js → pty-k3c624dm.js} +3 -3
  177. package/dist/chunks/{aisdk-gxpaa7h4.js → pty-k5jz2ghv.js} +20 -20
  178. package/dist/chunks/{aisdk-4f0cc54b.js → pty-k5shenda.js} +17 -17
  179. package/dist/chunks/{aisdk-ep1wqbx0.js → pty-kbnfxfat.js} +22 -22
  180. package/dist/chunks/{aisdk-561btxre.js → pty-khny7pv9.js} +22 -22
  181. package/dist/chunks/{aisdk-0kg00bba.js → pty-km08fevc.js} +6 -6
  182. package/dist/chunks/{aisdk-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
  183. package/dist/chunks/{aisdk-3q4efp1a.js → pty-m39c7hxd.js} +14 -14
  184. package/dist/chunks/{aisdk-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{aisdk-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{aisdk-vyqn3nqs.js → pty-marnn1hp.js} +7 -7
  187. package/dist/chunks/{aisdk-fv5cfh7k.js → pty-mgpyxjx6.js} +8 -8
  188. package/dist/chunks/{aisdk-1bbkgx8g.js → pty-mhkvc446.js} +3 -3
  189. package/dist/chunks/{aisdk-p69x3qq6.js → pty-mjyryqn6.js} +9 -9
  190. package/dist/chunks/{aisdk-kgbp45q5.js → pty-mrhxfjgm.js} +9 -9
  191. package/dist/chunks/{aisdk-24dd53tp.js → pty-nq7qbqzc.js} +9 -9
  192. package/dist/chunks/{aisdk-jw80jp6b.js → pty-nrdmrqsx.js} +4 -4
  193. package/dist/chunks/{aisdk-hdtnfasj.js → pty-ntcc5ehh.js} +20 -20
  194. package/dist/chunks/{aisdk-yvk2sn0g.js → pty-nvv66n76.js} +15 -15
  195. package/dist/chunks/{aisdk-qhdc024g.js → pty-nwyqkjv9.js} +1 -1
  196. package/dist/chunks/{aisdk-nkgkam60.js → pty-p2ezm693.js} +22 -22
  197. package/dist/chunks/{aisdk-62z5zcwv.js → pty-p2vgnhh6.js} +29 -29
  198. package/dist/chunks/{aisdk-1e8n84a9.js → pty-p3sqe4zf.js} +13 -13
  199. package/dist/chunks/{aisdk-pt74dzj7.js → pty-p3wwg9fw.js} +14 -14
  200. package/dist/chunks/{aisdk-g5vndnxm.js → pty-p5m64j98.js} +3 -3
  201. package/dist/chunks/{aisdk-zz4a1676.js → pty-p9dw02ep.js} +20 -20
  202. package/dist/chunks/{aisdk-assbnj7g.js → pty-pdg35gy8.js} +6 -6
  203. package/dist/chunks/{aisdk-vbfgae2j.js → pty-ph842b28.js} +4 -4
  204. package/dist/chunks/{aisdk-stdq9vyg.js → pty-phrgc7s2.js} +4 -4
  205. package/dist/chunks/pty-phz3h32g.js +18 -0
  206. package/dist/chunks/{aisdk-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{aisdk-7fyhb82m.js → pty-pkgfky7d.js} +5 -5
  208. package/dist/chunks/{aisdk-pknna89w.js → pty-pknna89w.js} +1 -1
  209. package/dist/chunks/pty-pp2ytsmc.js +252 -0
  210. package/dist/chunks/{aisdk-mg71nkrs.js → pty-pysn9s93.js} +10 -10
  211. package/dist/chunks/{aisdk-q5rhn9x0.js → pty-q5rhn9x0.js} +3 -3
  212. package/dist/chunks/{aisdk-mw3w0x0k.js → pty-qa81wdvn.js} +303 -303
  213. package/dist/chunks/{aisdk-xawtgtg3.js → pty-qc1pk71j.js} +29 -29
  214. package/dist/chunks/{aisdk-cvr7hmec.js → pty-qg5tx4hd.js} +19 -19
  215. package/dist/chunks/{aisdk-7pt56w61.js → pty-qnk3khrz.js} +15 -15
  216. package/dist/chunks/{aisdk-qsdy395h.js → pty-qsdy395h.js} +1 -1
  217. package/dist/chunks/{aisdk-xwdm2w21.js → pty-qsr74hn5.js} +27 -27
  218. package/dist/chunks/{aisdk-8v79jha7.js → pty-qvrdgs7t.js} +22 -22
  219. package/dist/chunks/{aisdk-narpgyzg.js → pty-qyc8vy2s.js} +17 -17
  220. package/dist/chunks/{aisdk-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{aisdk-4cd5pmbq.js → pty-rh9ghw4z.js} +13 -13
  222. package/dist/chunks/{aisdk-4p8rm3hf.js → pty-rqg791dd.js} +3 -3
  223. package/dist/chunks/{aisdk-n2q4qe72.js → pty-rrkxzg4z.js} +40 -40
  224. package/dist/chunks/{aisdk-t01wyw4m.js → pty-rtvxz8am.js} +4 -4
  225. package/dist/chunks/{aisdk-s8d7rejh.js → pty-s8d7rejh.js} +1 -1
  226. package/dist/chunks/{aisdk-y702y932.js → pty-shrcc9g3.js} +17 -17
  227. package/dist/chunks/{aisdk-zhxcwtke.js → pty-svvemcs6.js} +5 -5
  228. package/dist/chunks/{aisdk-gsk1e5b7.js → pty-t031qe01.js} +25 -25
  229. package/dist/chunks/{aisdk-evbgk2k8.js → pty-t0fxg8b9.js} +5 -5
  230. package/dist/chunks/{aisdk-nvbzy6sc.js → pty-t159kbzr.js} +16 -16
  231. package/dist/chunks/{aisdk-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{aisdk-tdstcens.js → pty-tdstcens.js} +1 -1
  233. package/dist/chunks/{aisdk-appk7fzw.js → pty-th6p44mh.js} +8 -8
  234. package/dist/chunks/{aisdk-28ngf8yp.js → pty-tja9b7zx.js} +36 -36
  235. package/dist/chunks/{aisdk-0pb9s1xb.js → pty-tn5bgys5.js} +3 -3
  236. package/dist/chunks/{aisdk-tvtrv512.js → pty-tvtrv512.js} +1 -1
  237. package/dist/chunks/{aisdk-4spq00r0.js → pty-v2sqwdfa.js} +18 -18
  238. package/dist/chunks/{aisdk-fsegns3d.js → pty-v772zmrr.js} +54 -54
  239. package/dist/chunks/{aisdk-veqvce7d.js → pty-veqvce7d.js} +1 -1
  240. package/dist/chunks/{aisdk-7534kgpw.js → pty-vj5dzvyh.js} +41 -41
  241. package/dist/chunks/{aisdk-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{aisdk-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{aisdk-71fkwm4x.js → pty-wcr3727a.js} +26 -26
  244. package/dist/chunks/{aisdk-sgvrcx4h.js → pty-wcy10hea.js} +8 -8
  245. package/dist/chunks/{aisdk-wd87259q.js → pty-wd87259q.js} +1 -1
  246. package/dist/chunks/{aisdk-ywqr9nfr.js → pty-wfex9hf5.js} +6 -6
  247. package/dist/chunks/{aisdk-xwfvenya.js → pty-wndtrgrh.js} +10 -10
  248. package/dist/chunks/{aisdk-npytfamt.js → pty-wv40thab.js} +9 -9
  249. package/dist/chunks/{aisdk-wh0jc7gn.js → pty-ww94c77x.js} +13 -13
  250. package/dist/chunks/{aisdk-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  251. package/dist/chunks/{aisdk-9b2v8ddb.js → pty-x1gfpc1p.js} +24 -24
  252. package/dist/chunks/{aisdk-reqtqwwe.js → pty-x7vb65wd.js} +19 -19
  253. package/dist/chunks/{aisdk-7atgh4d8.js → pty-xbckpkdq.js} +22 -22
  254. package/dist/chunks/{aisdk-2t9fkgxh.js → pty-xe6cmgbq.js} +11 -11
  255. package/dist/chunks/{aisdk-xfkkasph.js → pty-xfkkasph.js} +1 -1
  256. package/dist/chunks/{aisdk-vqff8b3j.js → pty-xfkknnqv.js} +2 -2
  257. package/dist/chunks/{aisdk-nv2dp8ps.js → pty-xp7gxvaq.js} +4 -4
  258. package/dist/chunks/{aisdk-ay48axk9.js → pty-xp8zvqfe.js} +32 -32
  259. package/dist/chunks/{aisdk-05h6ed1q.js → pty-xxpn3ren.js} +6 -6
  260. package/dist/chunks/{aisdk-2ehxpneg.js → pty-xzzedvdq.js} +12 -12
  261. package/dist/chunks/{aisdk-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{aisdk-mwz6j41z.js → pty-ybhbtxjg.js} +6 -6
  263. package/dist/chunks/{aisdk-wbkyxrgf.js → pty-yjptyezs.js} +5 -5
  264. package/dist/chunks/{aisdk-f1mg6cbx.js → pty-yjq1h8wq.js} +8 -8
  265. package/dist/chunks/{aisdk-wv8we0v5.js → pty-ykyjdacj.js} +5 -5
  266. package/dist/chunks/{aisdk-cn4vms6y.js → pty-yn01zngv.js} +37 -37
  267. package/dist/chunks/{aisdk-1fnxvgxr.js → pty-ypnspery.js} +20 -20
  268. package/dist/chunks/{aisdk-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  269. package/dist/chunks/{aisdk-yrznvahk.js → pty-yrznvahk.js} +2 -2
  270. package/dist/chunks/{aisdk-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{aisdk-hzzkw0mw.js → pty-z336gv68.js} +8 -8
  272. package/dist/chunks/{aisdk-z63w68vq.js → pty-z63w68vq.js} +2 -2
  273. package/dist/chunks/{aisdk-j75tdgem.js → pty-z6mhr53t.js} +6 -6
  274. package/dist/chunks/{aisdk-4zznhz4t.js → pty-z8kyv3b2.js} +24 -24
  275. package/dist/chunks/{aisdk-cave902z.js → pty-za55qz67.js} +15 -15
  276. package/dist/chunks/{aisdk-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  277. package/dist/chunks/{aisdk-932pzk7w.js → pty-zerzqssk.js} +1 -1
  278. package/dist/chunks/{aisdk-qnb0rh6n.js → pty-zh0ytwzz.js} +11 -11
  279. package/dist/chunks/{aisdk-k06phyrf.js → pty-zhp5m1zz.js} +4 -4
  280. package/dist/chunks/{aisdk-yrh7p4rc.js → pty-zncxtbv1.js} +14 -14
  281. package/dist/chunks/{aisdk-mp8evstp.js → pty-zpmv2nmt.js} +9 -9
  282. package/dist/chunks/{aisdk-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{aisdk-vgspftqv.js → pty-zth7qvys.js} +8 -8
  284. package/dist/chunks/{aisdk-1jmksr7g.js → pty-zvp4p5jk.js} +32 -32
  285. package/dist/chunks/{aisdk-wxs3we96.js → pty-zwejzy2c.js} +16 -16
  286. package/dist/chunks/{aisdk-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{aisdk-6h9dznn3.js → pty-zyyjv7w6.js} +7 -7
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +83 -83
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +138 -138
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +80 -80
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +92 -92
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +107 -107
  427. package/dist/form.js +77 -77
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +100 -100
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +4 -4
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +83 -83
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +86 -86
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +103 -103
  472. package/dist/mcp/instructions.js +125 -125
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +97 -97
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +106 -106
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +1 -1
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +119 -119
  522. package/dist/plugin/provider/openai.js +91 -91
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +119 -119
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +69 -69
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +228 -228
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +89 -89
  557. package/dist/provider.js +96 -96
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +97 -97
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +88 -88
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +87 -87
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +1 -1
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +3 -3
  605. package/dist/session/session.js +169 -169
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +214 -214
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +217 -217
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +88 -88
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +124 -124
  632. package/dist/tool/plugin/edit.js +117 -117
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +100 -100
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +216 -216
  641. package/dist/tool/plugin/skill.js +112 -112
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +107 -107
  644. package/dist/tool/plugin/websearch.js +109 -109
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +90 -90
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +97 -97
  690. package/package.json +8 -8
  691. package/dist/chunks/aisdk-0mesazry.js +0 -4
  692. package/dist/chunks/aisdk-59ejvp71.js +0 -252
  693. package/dist/chunks/aisdk-n95b3jav.js +0 -18
  694. /package/dist/chunks/{aisdk-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{aisdk-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{aisdk-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{aisdk-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{aisdk-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{aisdk-24dcb14g.js → pty-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{aisdk-2710q6r3.js → pty-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{aisdk-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{aisdk-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{aisdk-359p4xyc.js → pty-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{aisdk-3asan66x.js → pty-3asan66x.js} +0 -0
  705. /package/dist/chunks/{aisdk-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{aisdk-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{aisdk-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{aisdk-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{aisdk-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{aisdk-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{aisdk-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{aisdk-53557ph1.js → pty-53557ph1.js} +0 -0
  713. /package/dist/chunks/{aisdk-550bvhaj.js → pty-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{aisdk-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{aisdk-6prwharc.js → pty-6prwharc.js} +0 -0
  716. /package/dist/chunks/{aisdk-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{aisdk-7m9af43g.js → pty-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{aisdk-822emrt2.js → pty-822emrt2.js} +0 -0
  719. /package/dist/chunks/{aisdk-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{aisdk-8n3pysct.js → pty-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{aisdk-922hggd3.js → pty-922hggd3.js} +0 -0
  722. /package/dist/chunks/{aisdk-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{aisdk-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{aisdk-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{aisdk-af5trqkr.js → pty-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{aisdk-afrmfg78.js → pty-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{aisdk-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{aisdk-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{aisdk-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{aisdk-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{aisdk-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{aisdk-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{aisdk-d9fn303g.js → pty-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{aisdk-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{aisdk-dajrwvna.js → pty-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{aisdk-dap0rakb.js → pty-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{aisdk-df08tz66.js → pty-df08tz66.js} +0 -0
  738. /package/dist/chunks/{aisdk-dy18nga0.js → pty-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{aisdk-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{aisdk-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{aisdk-ec1grn59.js → pty-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{aisdk-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{aisdk-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{aisdk-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{aisdk-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{aisdk-faypxj3z.js → pty-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{aisdk-fd410y7t.js → pty-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{aisdk-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{aisdk-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{aisdk-g86h250q.js → pty-g86h250q.js} +0 -0
  751. /package/dist/chunks/{aisdk-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{aisdk-gftt206x.js → pty-gftt206x.js} +0 -0
  753. /package/dist/chunks/{aisdk-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{aisdk-hk9envan.js → pty-hk9envan.js} +0 -0
  755. /package/dist/chunks/{aisdk-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{aisdk-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{aisdk-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{aisdk-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{aisdk-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{aisdk-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{aisdk-mp448xyj.js → pty-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{aisdk-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{aisdk-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{aisdk-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{aisdk-njntx4h6.js → pty-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{aisdk-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{aisdk-q74kybfr.js → pty-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{aisdk-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{aisdk-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{aisdk-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{aisdk-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{aisdk-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{aisdk-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{aisdk-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{aisdk-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{aisdk-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{aisdk-twg0f83k.js → pty-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{aisdk-w803qqfp.js → pty-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{aisdk-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{aisdk-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{aisdk-wtztk69x.js → pty-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{aisdk-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{aisdk-x61499pn.js → pty-x61499pn.js} +0 -0
  784. /package/dist/chunks/{aisdk-y44na4kk.js → pty-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{aisdk-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{aisdk-y8f7s663.js → pty-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{aisdk-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{aisdk-ym463w8f.js → pty-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{aisdk-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./aisdk-stdq9vyg.js";
4
+ } from "./pty-phrgc7s2.js";
5
5
  import {
6
6
  create3
7
- } from "./aisdk-rdw6cm16.js";
7
+ } from "./pty-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./aisdk-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command5 = {};
14
14
  __export(exports_command5, {
15
15
  Command: () => exports_command5,
16
- Event: () => Event21,
16
+ Event: () => Event9,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info34,
19
- NotFoundError: () => NotFoundError11,
20
- Service: () => Service81,
21
- layer: () => layer25,
22
- node: () => node85
18
+ Info: () => Info18,
19
+ NotFoundError: () => NotFoundError5,
20
+ Service: () => Service55,
21
+ layer: () => layer22,
22
+ node: () => node58
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event21 } from "@opencode/schema/command";
28
- var Info34 = Command.Info;
27
+ import { Event as Event9 } from "@opencode/schema/command";
28
+ var Info18 = Command.Info;
29
29
 
30
- class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service81 extends Context.Service()("@opencode/Command") {
42
+ class Service55 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer25 = Layer.effect(Service81, Effect.gen(function* () {
44
+ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
45
45
  const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer25 = Layer.effect(Service81, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info34.make({
54
+ const info = (definition) => Info18.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service81.of({
58
+ return Service55.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer25 = Layer.effect(Service81, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node85 = makeLocationNode({
75
- service: Service81,
76
- layer: layer25,
74
+ var node58 = makeLocationNode({
75
+ service: Service55,
76
+ layer: layer22,
77
77
  deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info34, NotFoundError11, ExecutionError2, Service81, layer25, node85, exports_command5, Event21 };
89
+ export { Info18, NotFoundError5, ExecutionError2, Service55, layer22, node58, exports_command5, Event9 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./aisdk-stdq9vyg.js";
4
+ } from "./pty-phrgc7s2.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./aisdk-tazgh4e4.js";
9
+ } from "./pty-tazgh4e4.js";
10
10
  import {
11
- Service75,
12
- node79
13
- } from "./aisdk-nvbzy6sc.js";
11
+ Service79,
12
+ node83
13
+ } from "./pty-t159kbzr.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./aisdk-rdw6cm16.js";
17
+ } from "./pty-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./aisdk-9rqn6x4v.js";
20
+ } from "./pty-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info4,
29
+ Info: () => Info19,
30
30
  Mode: () => Mode2,
31
- Service: () => Service17,
31
+ Service: () => Service58,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node20
33
+ node: () => node61
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info19, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service17 extends Context.Service()("@opencode/Vcs") {
48
+ class Service58 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service17, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service75;
52
+ const location = yield* Service79;
53
53
  const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info19));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service17.of({
121
+ return Service58.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node20 = makeLocationNode({
168
- service: Service17,
167
+ var node61 = makeLocationNode({
168
+ service: Service58,
169
169
  layer,
170
- deps: [FSUtil.node, node79, node86]
170
+ deps: [FSUtil.node, node83, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service17, node20, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info19, Mode2, DiffError2, Service58, node61, exports_vcs };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./aisdk-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
- Service75
6
- } from "./aisdk-nvbzy6sc.js";
5
+ Service79
6
+ } from "./pty-t159kbzr.js";
7
7
  import {
8
- Service26
9
- } from "./aisdk-9b3szmgb.js";
8
+ Service67
9
+ } from "./pty-6ep9m4sq.js";
10
10
  import {
11
- Service12
12
- } from "./aisdk-cvr7hmec.js";
11
+ Service7
12
+ } from "./pty-qg5tx4hd.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./aisdk-2a5m3afh.js";
15
+ } from "./pty-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service6
27
- } from "./aisdk-vz88fkwm.js";
26
+ Service8
27
+ } from "./pty-jtr1btwa.js";
28
28
  import {
29
29
  __export
30
- } from "./aisdk-9rqn6x4v.js";
30
+ } from "./pty-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input2,
36
- Plugin: () => Plugin35,
35
+ Input: () => Input9,
36
+ Plugin: () => Plugin25,
37
37
  ReadTool: () => exports_read,
38
- name: () => name2,
39
- toModelContent: () => toModelContent2
38
+ name: () => name9,
39
+ toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name2 = "read";
45
+ var name9 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input2 = LocationInput;
56
+ var Input9 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin35 = {
58
+ var Plugin25 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service6;
62
- const access = yield* Service26;
63
- const sessionInstructions = yield* Service12;
61
+ const reader = yield* Service8;
62
+ const access = yield* Service67;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service75;
65
+ const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name2,
67
+ name: name9,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input2,
70
+ input: Input9,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin35 = {
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: toModelContent5(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 toModelContent5 = (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 { name2, Input2, Plugin35, toModelContent2, exports_read };
183
+ export { name9, Input9, Plugin25, toModelContent5, exports_read };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names3,
10
+ names: () => names4,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names3() {
44
+ function names4() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names3, paths2, exports_protected };
63
+ export { isHome2, names4, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./aisdk-qaymkmh1.js";
3
+ } from "./pty-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service62
3
- } from "./aisdk-6fey8c0p.js";
2
+ Service68
3
+ } from "./pty-hht4hdr7.js";
4
4
  import {
5
- ID6,
5
+ ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service43
10
- } from "./aisdk-561btxre.js";
9
+ Service35
10
+ } from "./pty-khny7pv9.js";
11
11
  import {
12
12
  __export
13
- } from "./aisdk-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill3 = {};
17
- __export(exports_skill3, {
18
- Input: () => Input7,
19
- Output: () => Output5,
20
- Plugin: () => Plugin40,
21
- SkillTool: () => exports_skill3,
22
- description: () => description3,
23
- name: () => name7,
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
+ Input: () => Input2,
19
+ Output: () => Output2,
20
+ Plugin: () => Plugin17,
21
+ SkillTool: () => exports_skill2,
22
+ description: () => description2,
23
+ name: () => name2,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name7 = "skill";
30
- var Input7 = Schema.Struct({
31
- id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name2 = "skill";
30
+ var Input2 = Schema.Struct({
31
+ id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output5 = Schema.Struct({
33
+ var Output2 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description2 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin40 = {
46
+ var Plugin17 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service43;
51
- const permission = yield* Service62;
50
+ const skills = yield* Service35;
51
+ const permission = yield* Service68;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name7,
53
+ name: name2,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input7,
57
- output: Output5,
55
+ description: description2,
56
+ input: Input2,
57
+ output: Output2,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name7,
64
+ action: name2,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin40 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name7, Input7, Output5, description3, toModelOutput2, Plugin40, exports_skill3 };
82
+ export { name2, Input2, Output2, description2, toModelOutput2, Plugin17, exports_skill2 };