@opencode/core 0.0.0-dev-20829 → 0.0.0-dev-20831

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 +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{pty-ks0ccrx6.js → persistent-pty-02xr1zsh.js} +8 -8
  8. package/dist/chunks/{pty-s17w1n1e.js → persistent-pty-0e0f2wa7.js} +21 -21
  9. package/dist/chunks/{pty-fd80m7p3.js → persistent-pty-0gwkcvrc.js} +36 -36
  10. package/dist/chunks/{pty-ypeaesjs.js → persistent-pty-0hvbv0av.js} +3 -3
  11. package/dist/chunks/{pty-q0xm7vwc.js → persistent-pty-0j77ygfz.js} +6 -6
  12. package/dist/chunks/{pty-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{pty-hpfvhvya.js → persistent-pty-0tzy42a9.js} +8 -8
  14. package/dist/chunks/{pty-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{pty-1gpb38yh.js → persistent-pty-0zdym56s.js} +9 -9
  16. package/dist/chunks/{pty-jtgbyr4a.js → persistent-pty-144fxwck.js} +28 -28
  17. package/dist/chunks/{pty-n8xxfej3.js → persistent-pty-14d24921.js} +32 -32
  18. package/dist/chunks/{pty-6ma4rgg5.js → persistent-pty-14gpq9b7.js} +24 -24
  19. package/dist/chunks/{pty-s80jrect.js → persistent-pty-160dstxj.js} +22 -22
  20. package/dist/chunks/{pty-3pkc36ya.js → persistent-pty-1djs0tvz.js} +7 -7
  21. package/dist/chunks/{pty-es811akx.js → persistent-pty-1j1f6xcv.js} +14 -14
  22. package/dist/chunks/{pty-pzfg0ztk.js → persistent-pty-1jb7jqa2.js} +11 -11
  23. package/dist/chunks/{pty-ma48de29.js → persistent-pty-1nwxscpy.js} +5 -5
  24. package/dist/chunks/persistent-pty-24d7twmp.js +253 -0
  25. package/dist/chunks/{pty-4ts7tf6z.js → persistent-pty-2ccvkpx1.js} +2 -2
  26. package/dist/chunks/{pty-2k8khapm.js → persistent-pty-2k8khapm.js} +1 -1
  27. package/dist/chunks/{pty-b674v2dg.js → persistent-pty-2k9fjx65.js} +5 -5
  28. package/dist/chunks/{pty-0xcfrkz9.js → persistent-pty-2m4gzwzp.js} +22 -22
  29. package/dist/chunks/{pty-xkb1khsr.js → persistent-pty-2prrfhe7.js} +23 -23
  30. package/dist/chunks/{pty-zjm5cem5.js → persistent-pty-2rx9dk58.js} +18 -18
  31. package/dist/chunks/{pty-2vvh33eb.js → persistent-pty-2vvh33eb.js} +2 -2
  32. package/dist/chunks/{pty-fqtvmpfq.js → persistent-pty-3a83a0n4.js} +8 -8
  33. package/dist/chunks/{pty-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{pty-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{pty-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{pty-djsf3ra4.js → persistent-pty-3pk3ecam.js} +14 -14
  37. package/dist/chunks/{pty-2rqksdxh.js → persistent-pty-3pxm667c.js} +28 -28
  38. package/dist/chunks/{pty-k4ek9np0.js → persistent-pty-3r587zht.js} +18 -18
  39. package/dist/chunks/{pty-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{pty-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{pty-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{pty-s0c7z8s7.js → persistent-pty-42qnv940.js} +28 -28
  43. package/dist/chunks/{pty-wze0qs61.js → persistent-pty-4gkdfnn9.js} +23 -23
  44. package/dist/chunks/{pty-w0y00tyh.js → persistent-pty-4vfrtg94.js} +17 -17
  45. package/dist/chunks/{pty-yrcj3v3g.js → persistent-pty-4z58m4b4.js} +4 -4
  46. package/dist/chunks/{pty-g7g2pdja.js → persistent-pty-52wkb7v6.js} +4 -4
  47. package/dist/chunks/{pty-r94pvvab.js → persistent-pty-54ma36ye.js} +4 -4
  48. package/dist/chunks/{pty-dxep3sqh.js → persistent-pty-569s51gv.js} +17 -17
  49. package/dist/chunks/{pty-32tw229e.js → persistent-pty-58cqhhht.js} +18 -18
  50. package/dist/chunks/{pty-pwzbey2q.js → persistent-pty-5bcesxs9.js} +50 -50
  51. package/dist/chunks/{pty-my4zabxr.js → persistent-pty-5epte933.js} +2 -2
  52. package/dist/chunks/{pty-waskdk5r.js → persistent-pty-5fec3t3w.js} +9 -9
  53. package/dist/chunks/{pty-82ayfpam.js → persistent-pty-5gz9c728.js} +18 -18
  54. package/dist/chunks/{pty-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{pty-d5h7yrcx.js → persistent-pty-5tdr691p.js} +51 -51
  56. package/dist/chunks/{pty-a053vxgn.js → persistent-pty-5vz17b4s.js} +29 -29
  57. package/dist/chunks/{pty-qz98z2ah.js → persistent-pty-61q6e95h.js} +9 -9
  58. package/dist/chunks/{pty-qcya3rg4.js → persistent-pty-634seer4.js} +46 -46
  59. package/dist/chunks/{pty-a9vjqg87.js → persistent-pty-64wq75pw.js} +4 -4
  60. package/dist/chunks/{pty-9m0tzg6a.js → persistent-pty-6894dtb6.js} +19 -19
  61. package/dist/chunks/{pty-5e3qmt7f.js → persistent-pty-68j1m62m.js} +1 -1
  62. package/dist/chunks/{pty-61r3a0pq.js → persistent-pty-6c8xqbzr.js} +3 -3
  63. package/dist/chunks/{pty-pxj76zhh.js → persistent-pty-6dnepcx2.js} +36 -36
  64. package/dist/chunks/{pty-jf6x9176.js → persistent-pty-6hf42gwj.js} +14 -14
  65. package/dist/chunks/{pty-7fkffz83.js → persistent-pty-6pc27hjz.js} +8 -8
  66. package/dist/chunks/{pty-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{pty-835y4q1g.js → persistent-pty-6z6j1hvd.js} +13 -13
  68. package/dist/chunks/{pty-k1y0s7m5.js → persistent-pty-6zz29p9f.js} +36 -36
  69. package/dist/chunks/{pty-5n9cp24j.js → persistent-pty-701ma3hz.js} +13 -13
  70. package/dist/chunks/{pty-3s8fpsh7.js → persistent-pty-738f4ns0.js} +45 -45
  71. package/dist/chunks/{pty-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{pty-7g19e4tp.js → persistent-pty-7etbtvrg.js} +88 -88
  73. package/dist/chunks/{pty-q2v8m3fk.js → persistent-pty-7nzg23qc.js} +10 -10
  74. package/dist/chunks/{pty-gncde6fa.js → persistent-pty-7rk69q0z.js} +6 -6
  75. package/dist/chunks/{pty-tsf8s7tw.js → persistent-pty-84q8ddyg.js} +37 -37
  76. package/dist/chunks/{pty-w1eejvng.js → persistent-pty-84txncab.js} +5 -5
  77. package/dist/chunks/{pty-jvcn2d3z.js → persistent-pty-8813t3ja.js} +58 -58
  78. package/dist/chunks/{pty-816wh8nz.js → persistent-pty-89eza7wr.js} +13 -13
  79. package/dist/chunks/{pty-nv00r1cz.js → persistent-pty-89xxfcnj.js} +3 -3
  80. package/dist/chunks/{pty-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
  81. package/dist/chunks/{pty-3fbg59cn.js → persistent-pty-8bve28yq.js} +16 -16
  82. package/dist/chunks/{pty-kne8f3cn.js → persistent-pty-8gxqpgph.js} +4 -4
  83. package/dist/chunks/{pty-v01rw2zy.js → persistent-pty-8hdcmxy1.js} +23 -23
  84. package/dist/chunks/{pty-kj20kd1j.js → persistent-pty-8km2h22m.js} +47 -47
  85. package/dist/chunks/{pty-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{pty-p8aeyc23.js → persistent-pty-8v692fxg.js} +20 -20
  87. package/dist/chunks/{pty-rwa6rxfx.js → persistent-pty-8vhvath1.js} +10 -10
  88. package/dist/chunks/{pty-32cjn77w.js → persistent-pty-8ztybvde.js} +12 -12
  89. package/dist/chunks/{pty-62gtt4vs.js → persistent-pty-8zz30m54.js} +29 -29
  90. package/dist/chunks/{pty-9qgy8jr1.js → persistent-pty-90shh64c.js} +9 -9
  91. package/dist/chunks/{pty-f3zadn6b.js → persistent-pty-90y2bcva.js} +15 -15
  92. package/dist/chunks/{pty-j09zfasm.js → persistent-pty-91qna3x0.js} +3 -3
  93. package/dist/chunks/{pty-6dp5gy92.js → persistent-pty-93224vja.js} +6 -6
  94. package/dist/chunks/persistent-pty-94sdztrq.js +513 -0
  95. package/dist/chunks/{pty-jzg6w2y0.js → persistent-pty-955crbjz.js} +9 -9
  96. package/dist/chunks/{pty-736mwy1a.js → persistent-pty-9cv60dsd.js} +43 -43
  97. package/dist/chunks/{pty-1ajx6rf5.js → persistent-pty-9hn6k4tm.js} +8 -8
  98. package/dist/chunks/{pty-s1sr5m6z.js → persistent-pty-9thege9a.js} +18 -18
  99. package/dist/chunks/{pty-ryr25ayn.js → persistent-pty-a2ew8a62.js} +4 -4
  100. package/dist/chunks/{pty-v68v43a8.js → persistent-pty-a2zybenq.js} +19 -19
  101. package/dist/chunks/{pty-9p8g6ccm.js → persistent-pty-a45pyh1f.js} +3 -3
  102. package/dist/chunks/{pty-dffyxrs7.js → persistent-pty-a5mn6de8.js} +20 -20
  103. package/dist/chunks/{pty-g2x3q6j9.js → persistent-pty-aat6v70y.js} +38 -38
  104. package/dist/chunks/{pty-m329mjby.js → persistent-pty-agxmfjyz.js} +12 -12
  105. package/dist/chunks/{pty-e920mvbt.js → persistent-pty-atfs7mew.js} +25 -25
  106. package/dist/chunks/{pty-803mzads.js → persistent-pty-avs8edt6.js} +11 -11
  107. package/dist/chunks/{pty-scgrse2b.js → persistent-pty-b3f8fkhc.js} +5 -5
  108. package/dist/chunks/{pty-fqq9xsk7.js → persistent-pty-b4tw85s5.js} +19 -19
  109. package/dist/chunks/{pty-gskmna2p.js → persistent-pty-bfh6ts0t.js} +23 -23
  110. package/dist/chunks/{pty-c2z82zd3.js → persistent-pty-bphmfkp7.js} +1 -1
  111. package/dist/chunks/{pty-c1fqxshp.js → persistent-pty-c1fqxshp.js} +3 -3
  112. package/dist/chunks/{pty-nyczhf3x.js → persistent-pty-cdxr622n.js} +4 -4
  113. package/dist/chunks/{pty-ev663pnx.js → persistent-pty-cexy6923.js} +3 -3
  114. package/dist/chunks/{pty-jefh3zb1.js → persistent-pty-cf44fsv6.js} +19 -19
  115. package/dist/chunks/{pty-s9435745.js → persistent-pty-cmd80gk0.js} +25 -25
  116. package/dist/chunks/{pty-razh9zgp.js → persistent-pty-cpav9ert.js} +35 -35
  117. package/dist/chunks/{pty-extdh6e7.js → persistent-pty-cphsypwy.js} +24 -24
  118. package/dist/chunks/{pty-pey5f48j.js → persistent-pty-cw4cmn70.js} +1 -1
  119. package/dist/chunks/{pty-7e6328vk.js → persistent-pty-d5xadgfy.js} +7 -7
  120. package/dist/chunks/{pty-34dz50e5.js → persistent-pty-dmfebxy7.js} +22 -22
  121. package/dist/chunks/{pty-x24b9x88.js → persistent-pty-dqtqfvp1.js} +23 -23
  122. package/dist/chunks/{pty-qqeeq2t9.js → persistent-pty-drwq78ky.js} +7 -7
  123. package/dist/chunks/{pty-gjscf0hp.js → persistent-pty-dxjhrr1d.js} +21 -21
  124. package/dist/chunks/{pty-mx9vqzsb.js → persistent-pty-dzse07y5.js} +6 -6
  125. package/dist/chunks/{pty-xbt9ga98.js → persistent-pty-e0hy65w0.js} +18 -18
  126. package/dist/chunks/{pty-m632hd4m.js → persistent-pty-e14jwtmp.js} +15 -15
  127. package/dist/chunks/{pty-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{pty-s08bddtt.js → persistent-pty-e6bj23tj.js} +17 -17
  129. package/dist/chunks/{pty-2kpekj74.js → persistent-pty-e8e8f3ja.js} +43 -43
  130. package/dist/chunks/{pty-nfs59v65.js → persistent-pty-e8kqavre.js} +35 -35
  131. package/dist/chunks/{pty-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
  132. package/dist/chunks/{pty-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{pty-zmhzecev.js → persistent-pty-eh6ej367.js} +5 -5
  134. package/dist/chunks/{pty-3qddgp4y.js → persistent-pty-ezr5zw50.js} +25 -25
  135. package/dist/chunks/{pty-508e6s6p.js → persistent-pty-f0d3kyvk.js} +6 -6
  136. package/dist/chunks/{pty-y94gemam.js → persistent-pty-f456mqff.js} +15 -15
  137. package/dist/chunks/{pty-k1zym2rk.js → persistent-pty-f4mdd15q.js} +28 -28
  138. package/dist/chunks/{pty-g8yq79xy.js → persistent-pty-faewp65y.js} +14 -14
  139. package/dist/chunks/{pty-9q77khpg.js → persistent-pty-fhs0xn1t.js} +5 -5
  140. package/dist/chunks/{pty-5xfmpj1j.js → persistent-pty-fkn54x0f.js} +11 -11
  141. package/dist/chunks/{pty-7twrzkxr.js → persistent-pty-fkpjc2rv.js} +22 -22
  142. package/dist/chunks/{pty-khmqacep.js → persistent-pty-fxaymqdw.js} +4 -4
  143. package/dist/chunks/{pty-5315f502.js → persistent-pty-fyav22tq.js} +9 -9
  144. package/dist/chunks/{pty-rwc2pc3v.js → persistent-pty-g0e7481p.js} +11 -11
  145. package/dist/chunks/{pty-sh68mvxb.js → persistent-pty-g6q22p7g.js} +35 -35
  146. package/dist/chunks/{pty-yj1m88h6.js → persistent-pty-g866pcx9.js} +11 -11
  147. package/dist/chunks/{pty-pnzf6mjf.js → persistent-pty-gd0tnyjc.js} +1 -1
  148. package/dist/chunks/{pty-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{pty-dxx87avg.js → persistent-pty-gex86280.js} +23 -23
  150. package/dist/chunks/{pty-gk8qb678.js → persistent-pty-gk8qb678.js} +1 -1
  151. package/dist/chunks/{pty-r44wx0p4.js → persistent-pty-gmtsq7zw.js} +11 -11
  152. package/dist/chunks/{pty-thtzhryg.js → persistent-pty-gpk600j1.js} +15 -15
  153. package/dist/chunks/{pty-py0hhzem.js → persistent-pty-grey5ade.js} +32 -32
  154. package/dist/chunks/{pty-1qxv4gah.js → persistent-pty-gsd95hce.js} +15 -15
  155. package/dist/chunks/{pty-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{pty-h7s7r6s9.js → persistent-pty-h7s7r6s9.js} +2 -2
  157. package/dist/chunks/{pty-sdmzpsns.js → persistent-pty-h9azkfyn.js} +37 -37
  158. package/dist/chunks/{pty-3zg7z3bw.js → persistent-pty-h9d22378.js} +15 -15
  159. package/dist/chunks/{pty-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
  160. package/dist/chunks/{pty-dcy4apwd.js → persistent-pty-hnv2pp8r.js} +14 -14
  161. package/dist/chunks/{pty-cyfy6ny6.js → persistent-pty-hp24zg0v.js} +22 -22
  162. package/dist/chunks/persistent-pty-hqrz8ks6.js +26 -0
  163. package/dist/chunks/{pty-k3m00qb7.js → persistent-pty-hv8vheb4.js} +3 -3
  164. package/dist/chunks/{pty-r6pqh68g.js → persistent-pty-hzecydg6.js} +14 -14
  165. package/dist/chunks/{pty-p0anqt4a.js → persistent-pty-j4pfkapa.js} +35 -35
  166. package/dist/chunks/{pty-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  167. package/dist/chunks/{pty-6rm5yzkt.js → persistent-pty-j8m1p4p1.js} +4 -4
  168. package/dist/chunks/{pty-vh716j4k.js → persistent-pty-ja3e6986.js} +8 -8
  169. package/dist/chunks/{pty-4rd96g3b.js → persistent-pty-jbhnyrkm.js} +16 -16
  170. package/dist/chunks/{pty-h64c4a83.js → persistent-pty-jka8wpce.js} +8 -8
  171. package/dist/chunks/{pty-hnym75r4.js → persistent-pty-jvp385my.js} +4 -4
  172. package/dist/chunks/{pty-wjtb6svr.js → persistent-pty-k1rn6435.js} +34 -34
  173. package/dist/chunks/{pty-pdz1473m.js → persistent-pty-kar50817.js} +4 -4
  174. package/dist/chunks/{pty-mzw0q7vr.js → persistent-pty-kkrhqh6v.js} +9 -9
  175. package/dist/chunks/{pty-hkffa77z.js → persistent-pty-kqx1b4hy.js} +4 -4
  176. package/dist/chunks/{pty-3h6fbjms.js → persistent-pty-m6dfkh4w.js} +10 -10
  177. package/dist/chunks/{pty-5d607bsg.js → persistent-pty-m8w6th39.js} +9 -9
  178. package/dist/chunks/{pty-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{pty-re8fv4z8.js → persistent-pty-mpye8y33.js} +11 -11
  180. package/dist/chunks/{pty-ngjdjm4k.js → persistent-pty-mx2cfqsv.js} +12 -12
  181. package/dist/chunks/{pty-0cnykqaq.js → persistent-pty-n1a1n825.js} +5 -5
  182. package/dist/chunks/{pty-4zyzs0ed.js → persistent-pty-na2yjdh0.js} +38 -38
  183. package/dist/chunks/{pty-bxqk5pf5.js → persistent-pty-nd4tfyg0.js} +9 -9
  184. package/dist/chunks/{pty-tbr92r1g.js → persistent-pty-nganhbx0.js} +10 -10
  185. package/dist/chunks/{pty-ynnr5y5c.js → persistent-pty-nk0sw8df.js} +4 -4
  186. package/dist/chunks/{pty-vqwz5fgy.js → persistent-pty-nnc7vpek.js} +25 -25
  187. package/dist/chunks/{pty-62g730j6.js → persistent-pty-nsrqd5vn.js} +4 -4
  188. package/dist/chunks/{pty-4rt7dqfm.js → persistent-pty-nx42me8w.js} +9 -9
  189. package/dist/chunks/{pty-efbe88xk.js → persistent-pty-p6r2aq8t.js} +22 -22
  190. package/dist/chunks/{pty-s8qr3ezm.js → persistent-pty-pjkmwrrf.js} +34 -34
  191. package/dist/chunks/{pty-4qb8ma89.js → persistent-pty-pjsfg289.js} +29 -29
  192. package/dist/chunks/{pty-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{pty-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  194. package/dist/chunks/{pty-az7915bh.js → persistent-pty-pp537qc4.js} +22 -22
  195. package/dist/chunks/{pty-h6ztf8yp.js → persistent-pty-ps96y3dp.js} +5 -5
  196. package/dist/chunks/{pty-mxcn0d43.js → persistent-pty-q0n7r88m.js} +74 -74
  197. package/dist/chunks/{pty-6h6xfm99.js → persistent-pty-q1rsbgjb.js} +11 -11
  198. package/dist/chunks/{pty-a89e0tac.js → persistent-pty-qbqbaz6q.js} +4 -4
  199. package/dist/chunks/{pty-5zkvyedw.js → persistent-pty-qftzrsf9.js} +32 -32
  200. package/dist/chunks/{pty-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{pty-drnf6xwf.js → persistent-pty-qp9vg2jq.js} +2 -2
  202. package/dist/chunks/{pty-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  203. package/dist/chunks/{pty-j7d1263c.js → persistent-pty-qxrb0a0w.js} +18 -18
  204. package/dist/chunks/{pty-9xf5g41x.js → persistent-pty-qxyen8t8.js} +33 -33
  205. package/dist/chunks/{pty-yp2x3t23.js → persistent-pty-r8xr0va3.js} +4 -4
  206. package/dist/chunks/{pty-vkp0w3yf.js → persistent-pty-r91gjw8r.js} +16 -16
  207. package/dist/chunks/{pty-axbkptea.js → persistent-pty-r94ff4c7.js} +2 -2
  208. package/dist/chunks/{pty-33gphc4y.js → persistent-pty-ra3p1t16.js} +5 -5
  209. package/dist/chunks/{pty-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{pty-rert0e01.js → persistent-pty-rert0e01.js} +2 -2
  211. package/dist/chunks/{pty-s8d7rejh.js → persistent-pty-rhjbct0v.js} +4 -4
  212. package/dist/chunks/{pty-rj3eygr5.js → persistent-pty-rj3eygr5.js} +2 -2
  213. package/dist/chunks/{pty-mrhpe6wz.js → persistent-pty-rm2gr2zw.js} +9 -9
  214. package/dist/chunks/{pty-ngvyj94h.js → persistent-pty-rthjw13s.js} +23 -23
  215. package/dist/chunks/{pty-rrcp1k08.js → persistent-pty-s3rjfqbz.js} +11 -11
  216. package/dist/chunks/{pty-nrekvyfh.js → persistent-pty-s538wvfd.js} +24 -24
  217. package/dist/chunks/{pty-sa8ekw3f.js → persistent-pty-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{pty-gwkq74jr.js → persistent-pty-sbd1m1b7.js} +29 -29
  219. package/dist/chunks/{pty-3pq4wa5c.js → persistent-pty-sbgx06h9.js} +11 -11
  220. package/dist/chunks/{pty-1dmh880y.js → persistent-pty-sbvtryh7.js} +12 -12
  221. package/dist/chunks/{pty-fzd7gkan.js → persistent-pty-sghgg3s0.js} +93 -93
  222. package/dist/chunks/{pty-m2ca2kay.js → persistent-pty-sjaxrz5m.js} +10 -10
  223. package/dist/chunks/{pty-7ssckh79.js → persistent-pty-sncdfffp.js} +14 -14
  224. package/dist/chunks/{pty-vynmhvtw.js → persistent-pty-stbxd7bn.js} +13 -13
  225. package/dist/chunks/{pty-ebqxd2ph.js → persistent-pty-sxbw7s6f.js} +24 -24
  226. package/dist/chunks/{pty-e80seqcp.js → persistent-pty-sxcaecc0.js} +3 -3
  227. package/dist/chunks/{pty-0vygd7f8.js → persistent-pty-syp6aatx.js} +21 -21
  228. package/dist/chunks/{pty-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
  229. package/dist/chunks/{pty-75ejmma1.js → persistent-pty-t5rwxd7y.js} +15 -15
  230. package/dist/chunks/{pty-1sheza49.js → persistent-pty-t7yfe90q.js} +46 -46
  231. package/dist/chunks/{pty-na80sj88.js → persistent-pty-tazea7qp.js} +35 -35
  232. package/dist/chunks/{pty-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{pty-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  234. package/dist/chunks/{pty-kxkrnkd5.js → persistent-pty-tgr3sw9p.js} +40 -40
  235. package/dist/chunks/{pty-yak2w91k.js → persistent-pty-ts4rn5wj.js} +5 -5
  236. package/dist/chunks/{pty-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
  237. package/dist/chunks/{pty-v0es1rhs.js → persistent-pty-v0es1rhs.js} +2 -2
  238. package/dist/chunks/persistent-pty-v1faaxn9.js +18 -0
  239. package/dist/chunks/{pty-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{pty-d57w54x3.js → persistent-pty-vcb8c7ee.js} +16 -16
  241. package/dist/chunks/{pty-g8e6zt8f.js → persistent-pty-vck5jyqy.js} +11 -11
  242. package/dist/chunks/{pty-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  243. package/dist/chunks/{pty-cnhye612.js → persistent-pty-vh135k6x.js} +14 -14
  244. package/dist/chunks/{pty-0hbbthgq.js → persistent-pty-vhyre1cv.js} +5 -5
  245. package/dist/chunks/{pty-kr6f0vqs.js → persistent-pty-vn1b2x6c.js} +27 -27
  246. package/dist/chunks/{pty-3f2jm17j.js → persistent-pty-vxywbpnc.js} +11 -11
  247. package/dist/chunks/{pty-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{pty-1pxz8ven.js → persistent-pty-w2h15q85.js} +5 -5
  249. package/dist/chunks/{pty-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{pty-gnp9y88q.js → persistent-pty-w851cde3.js} +21 -21
  251. package/dist/chunks/{pty-z2sr2ytx.js → persistent-pty-wd47s8yt.js} +17 -17
  252. package/dist/chunks/{pty-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  253. package/dist/chunks/{pty-8bzfeptx.js → persistent-pty-wdg4dznf.js} +175 -175
  254. package/dist/chunks/{pty-6q9eydss.js → persistent-pty-wrazxve0.js} +5 -5
  255. package/dist/chunks/{pty-4wp3e6bz.js → persistent-pty-wt8rq1bh.js} +8 -8
  256. package/dist/chunks/{pty-8fqzmfzp.js → persistent-pty-wv7c6n2j.js} +10 -10
  257. package/dist/chunks/{pty-281xas1t.js → persistent-pty-wvf4y7rr.js} +22 -22
  258. package/dist/chunks/{pty-xrpg47n6.js → persistent-pty-x2aynqqh.js} +9 -9
  259. package/dist/chunks/{pty-mxvxcxwy.js → persistent-pty-x661k3y3.js} +4 -4
  260. package/dist/chunks/{pty-gn2rf22p.js → persistent-pty-x7hadnwb.js} +11 -11
  261. package/dist/chunks/{pty-jbt4rr2d.js → persistent-pty-x7zkx1rm.js} +40 -40
  262. package/dist/chunks/{pty-fzep1s2p.js → persistent-pty-xa9kdnre.js} +13 -13
  263. package/dist/chunks/{pty-8ppnx5kq.js → persistent-pty-xax0y1c2.js} +6 -6
  264. package/dist/chunks/{pty-rqjzxqxs.js → persistent-pty-xd5pbsdm.js} +11 -11
  265. package/dist/chunks/{pty-1rh4yqvv.js → persistent-pty-y0mc46pw.js} +9 -9
  266. package/dist/chunks/{pty-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{pty-g3er6je0.js → persistent-pty-y5pr3jtj.js} +5 -5
  268. package/dist/chunks/{pty-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
  269. package/dist/chunks/{pty-28rwbfbs.js → persistent-pty-y73n6frr.js} +33 -33
  270. package/dist/chunks/{pty-3rqkssp8.js → persistent-pty-ydgy0jv4.js} +8 -8
  271. package/dist/chunks/{pty-0f36crf5.js → persistent-pty-yka93msf.js} +48 -48
  272. package/dist/chunks/{pty-c84f5e61.js → persistent-pty-ykj0gtdh.js} +13 -13
  273. package/dist/chunks/{pty-dys7k0s0.js → persistent-pty-ynmknp8q.js} +11 -11
  274. package/dist/chunks/{pty-wjr9rjd7.js → persistent-pty-ywt8jp22.js} +6 -6
  275. package/dist/chunks/{pty-qazrcecv.js → persistent-pty-yx87fey7.js} +19 -19
  276. package/dist/chunks/{pty-drmqggy3.js → persistent-pty-yyqwftvn.js} +8 -8
  277. package/dist/chunks/{pty-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{pty-2n79zsqk.js → persistent-pty-z1e0ewtp.js} +5 -5
  279. package/dist/chunks/{pty-kf5rw7j4.js → persistent-pty-z5j4efsn.js} +52 -52
  280. package/dist/chunks/{pty-688cz1j9.js → persistent-pty-zfth3bf2.js} +6 -6
  281. package/dist/chunks/{pty-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{pty-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{pty-f2mw6jyj.js → persistent-pty-zxxyec0p.js} +11 -11
  284. package/dist/chunks/{pty-819j0yj5.js → persistent-pty-zz23ack4.js} +23 -23
  285. package/dist/chunks/{pty-af1eyefv.js → persistent-pty-zze9cfmm.js} +32 -32
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +120 -120
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +119 -119
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +95 -95
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +76 -76
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +13 -13
  425. package/dist/filesystem.js +108 -108
  426. package/dist/form.js +80 -80
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +105 -105
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +101 -101
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +80 -80
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +136 -136
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +87 -87
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +111 -111
  470. package/dist/mcp/instructions.js +131 -131
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +101 -101
  475. package/dist/model-resolver.js +98 -98
  476. package/dist/model.js +104 -104
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +82 -82
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +113 -113
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +90 -90
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +125 -125
  523. package/dist/plugin/provider/openai.js +97 -97
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +348 -348
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +220 -220
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +86 -86
  559. package/dist/provider.js +101 -101
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +101 -101
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +91 -91
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +3 -3
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +219 -219
  580. package/dist/session/execution.js +129 -129
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +88 -88
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +3 -3
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +107 -107
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +87 -87
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +213 -213
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +211 -211
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +114 -114
  629. package/dist/snapshot.js +95 -95
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +130 -130
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +126 -126
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +105 -105
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +107 -107
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +114 -114
  647. package/dist/tool/plugin/websearch.js +116 -116
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +16 -16
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +89 -89
  674. package/dist/websearch.js +84 -84
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +100 -100
  685. package/package.json +8 -8
  686. package/dist/chunks/pty-882ve7ed.js +0 -253
  687. package/dist/chunks/pty-gb9jrr1j.js +0 -26
  688. package/dist/chunks/pty-pdc17wm4.js +0 -513
  689. package/dist/chunks/pty-qc068m1q.js +0 -18
  690. /package/dist/chunks/{pty-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{pty-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{pty-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{pty-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{pty-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{pty-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{pty-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{pty-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{pty-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{pty-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{pty-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{pty-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  702. /package/dist/chunks/{pty-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{pty-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{pty-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{pty-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{pty-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{pty-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{pty-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{pty-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  710. /package/dist/chunks/{pty-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{pty-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  712. /package/dist/chunks/{pty-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{pty-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{pty-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{pty-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  716. /package/dist/chunks/{pty-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{pty-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{pty-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{pty-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{pty-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{pty-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{pty-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{pty-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{pty-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{pty-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{pty-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{pty-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{pty-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{pty-bw78ga2c.js → persistent-pty-bw78ga2c.js} +0 -0
  730. /package/dist/chunks/{pty-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{pty-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{pty-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{pty-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{pty-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{pty-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{pty-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  737. /package/dist/chunks/{pty-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{pty-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{pty-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{pty-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{pty-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{pty-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{pty-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{pty-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{pty-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{pty-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{pty-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{pty-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  749. /package/dist/chunks/{pty-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{pty-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  751. /package/dist/chunks/{pty-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  752. /package/dist/chunks/{pty-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{pty-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{pty-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{pty-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{pty-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{pty-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{pty-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{pty-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  760. /package/dist/chunks/{pty-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{pty-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{pty-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{pty-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{pty-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{pty-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{pty-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{pty-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{pty-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{pty-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{pty-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{pty-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{pty-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{pty-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{pty-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{pty-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{pty-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{pty-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{pty-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{pty-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{pty-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{pty-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{pty-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{pty-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  784. /package/dist/chunks/{pty-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{pty-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{pty-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{pty-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{pty-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{pty-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service40
6
- } from "./pty-kf5rw7j4.js";
5
+ Service23
6
+ } from "./persistent-pty-z5j4efsn.js";
7
7
  import {
8
- Service60
9
- } from "./pty-0f36crf5.js";
8
+ Service55
9
+ } from "./persistent-pty-yka93msf.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin43
18
+ Plugin: () => Plugin14
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin43 = {
22
+ var Plugin14 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service40;
26
- const permission = yield* Service60;
25
+ const mcp = yield* Service23;
26
+ const permission = yield* Service55;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin43 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin43, exports_mcp_resource };
96
+ export { Plugin14, exports_mcp_resource };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./pty-zr2ceqn5.js";
3
+ } from "./persistent-pty-zr2ceqn5.js";
4
4
  import {
5
- Service56
6
- } from "./pty-281xas1t.js";
5
+ Service67
6
+ } from "./persistent-pty-wvf4y7rr.js";
7
7
  import {
8
- Service55
9
- } from "./pty-kj20kd1j.js";
8
+ Service66
9
+ } from "./persistent-pty-8km2h22m.js";
10
10
  import {
11
- Service28,
11
+ Service41,
12
12
  statements2,
13
13
  decision2
14
- } from "./pty-3h6fbjms.js";
14
+ } from "./persistent-pty-m6dfkh4w.js";
15
15
  import {
16
16
  __export
17
- } from "./pty-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make7
24
+ make: () => make3
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make7 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service55;
35
- const managed = yield* Service28;
36
- const watcher = yield* Service56;
33
+ var make3 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service66;
35
+ const managed = yield* Service41;
36
+ const watcher = yield* Service67;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make7, LoadError2, exports_module };
121
+ export { make3, LoadError2, exports_module };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service51,
3
- node54
4
- } from "./pty-2kpekj74.js";
2
+ Service54,
3
+ node57
4
+ } from "./persistent-pty-e8e8f3ja.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./pty-my4zabxr.js";
7
+ } from "./persistent-pty-5epte933.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/session/runner/model.ts
13
13
  var exports_model = {};
14
14
  __export(exports_model, {
15
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
16
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service44,
17
+ Service: () => Service51,
18
18
  SessionRunnerModel: () => exports_model,
19
- node: () => node46,
19
+ node: () => node54,
20
20
  resolved: () => resolved2
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
39
  }
40
40
  }
41
41
 
42
- class Service44 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service51 extends Context.Service()("@opencode/SessionRunnerModel") {
43
43
  }
44
44
  var resolved2 = (model, options) => ({
45
45
  model,
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
54
54
  compaction: options.compaction,
55
55
  transport: options.transport
56
56
  });
57
- var layer = Layer.effect(Service44, Effect.gen(function* () {
58
- const resolver = yield* Service51;
59
- return Service44.of({
57
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
58
+ const resolver = yield* Service54;
59
+ return Service51.of({
60
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
61
  if (!session.model) {
62
62
  const resolved = yield* resolver.resolve();
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
74
74
  })
75
75
  });
76
76
  }));
77
- var node46 = makeLocationNode({ service: Service44, layer, deps: [node54] });
77
+ var node54 = makeLocationNode({ service: Service51, layer, deps: [node57] });
78
78
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service44, resolved2, node46, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service51, resolved2, node54, exports_model };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./pty-hgz4x7wa.js";
6
+ } from "./persistent-pty-hgz4x7wa.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./pty-eej6y6fw.js";
9
+ } from "./persistent-pty-eej6y6fw.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./pty-3hwn7j4h.js";
12
+ } from "./persistent-pty-3hwn7j4h.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./pty-v7p4zvkq.js";
15
+ } from "./persistent-pty-v7p4zvkq.js";
16
16
  import {
17
- Service81,
18
- node85
19
- } from "./pty-cnhye612.js";
17
+ Service80,
18
+ node84
19
+ } from "./persistent-pty-vh135k6x.js";
20
20
  import {
21
- Service68,
22
- node71
23
- } from "./pty-2rqksdxh.js";
21
+ Service79,
22
+ node82
23
+ } from "./persistent-pty-3pxm667c.js";
24
24
  import {
25
25
  __export
26
- } from "./pty-9rqn6x4v.js";
26
+ } from "./persistent-pty-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service67,
33
- node: () => node70
32
+ Service: () => Service78,
33
+ node: () => node81
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound3,
46
- Service: () => Service67,
46
+ Service: () => Service78,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node70,
52
+ node: () => node81,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service67 extends Context.Service()("@opencode/Environment") {
61
+ class Service78 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service67, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service81;
66
- const workspace = yield* Service68;
65
+ const location = yield* Service80;
66
+ const workspace = yield* Service79;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service67.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service78.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node70 = makeLocationNode({
71
- service: Service67,
70
+ var node81 = makeLocationNode({
71
+ service: Service78,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node85, node71]
73
+ deps: [CrossSpawnSpawner.node, node84, node82]
74
74
  });
75
75
 
76
- export { Service67, node70, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service78, node81, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./pty-qaymkmh1.js";
3
+ } from "./persistent-pty-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/process";
8
- function make10(input) {
8
+ function make4(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make10 };
264
+ export { make4 };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./pty-1dmh880y.js";
2
+ Service83,
3
+ node87
4
+ } from "./persistent-pty-sbvtryh7.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./pty-tazgh4e4.js";
9
+ } from "./persistent-pty-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./pty-6ma4rgg5.js";
12
+ } from "./persistent-pty-14gpq9b7.js";
13
13
  import {
14
- Service81,
15
- node85
16
- } from "./pty-cnhye612.js";
14
+ Service80,
15
+ node84
16
+ } from "./persistent-pty-vh135k6x.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./pty-rdw6cm16.js";
20
+ } from "./persistent-pty-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./pty-9rqn6x4v.js";
23
+ } from "./persistent-pty-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -32,9 +32,9 @@ __export(exports_vcs, {
32
32
  Info: () => Info3,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service18,
35
+ Service: () => Service16,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node21
37
+ node: () => node19
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service18 extends Context.Service()("@opencode/Vcs") {
57
+ class Service16 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service18, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service81;
62
- const bus = yield* Service84;
61
+ const location = yield* Service80;
62
+ const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  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 }));
131
131
  }
132
- return Service18.of({
132
+ return Service16.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node21 = makeLocationNode({
191
- service: Service18,
190
+ var node19 = makeLocationNode({
191
+ service: Service16,
192
192
  layer,
193
- deps: [FSUtil.node, node85, node88]
193
+ deps: [FSUtil.node, node84, node87]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service18, node21, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service16, node19, exports_vcs };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service60
3
- } from "./pty-0f36crf5.js";
2
+ Service55
3
+ } from "./persistent-pty-yka93msf.js";
4
4
  import {
5
- ID4,
5
+ ID3,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service48
10
- } from "./pty-s0c7z8s7.js";
9
+ Service30
10
+ } from "./persistent-pty-42qnv940.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill3 = {};
17
- __export(exports_skill3, {
16
+ var exports_skill = {};
17
+ __export(exports_skill, {
18
18
  Input: () => Input3,
19
19
  Output: () => Output3,
20
- Plugin: () => Plugin37,
21
- SkillTool: () => exports_skill3,
20
+ Plugin: () => Plugin3,
21
+ SkillTool: () => exports_skill,
22
22
  description: () => description2,
23
23
  name: () => name3,
24
24
  toModelOutput: () => toModelOutput2
@@ -28,7 +28,7 @@ import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  var name3 = "skill";
30
30
  var Input3 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
31
+ id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
33
  var Output3 = Schema.Struct({
34
34
  name: Name2,
@@ -43,12 +43,12 @@ var description2 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin37 = {
46
+ var Plugin3 = {
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* Service48;
51
- const permission = yield* Service60;
50
+ const skills = yield* Service30;
51
+ const permission = yield* Service55;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
53
  name: name3,
54
54
  options: { codemode: false },
@@ -79,4 +79,4 @@ var Plugin37 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name3, Input3, Output3, description2, toModelOutput2, Plugin37, exports_skill3 };
82
+ export { name3, Input3, Output3, description2, toModelOutput2, Plugin3, exports_skill };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./pty-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service55
7
- } from "./pty-kj20kd1j.js";
6
+ Service66
7
+ } from "./persistent-pty-8km2h22m.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./pty-hgz4x7wa.js";
10
+ } from "./persistent-pty-hgz4x7wa.js";
11
11
  import {
12
- Service67
13
- } from "./pty-ebqxd2ph.js";
12
+ Service78
13
+ } from "./persistent-pty-sxbw7s6f.js";
14
14
  import {
15
- Service50
16
- } from "./pty-vkp0w3yf.js";
15
+ Service53
16
+ } from "./persistent-pty-r91gjw8r.js";
17
17
  import {
18
- Service60
19
- } from "./pty-0f36crf5.js";
18
+ Service55
19
+ } from "./persistent-pty-yka93msf.js";
20
20
  import {
21
- Service17,
21
+ Service15,
22
22
  resolvePath2
23
- } from "./pty-s1sr5m6z.js";
23
+ } from "./persistent-pty-9thege9a.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./pty-vzs5sf6e.js";
29
+ } from "./persistent-pty-vzs5sf6e.js";
30
30
  import {
31
- Service74,
31
+ Service63,
32
32
  name15
33
- } from "./pty-fqq9xsk7.js";
33
+ } from "./persistent-pty-b4tw85s5.js";
34
34
  import {
35
- NotFoundError7,
36
- Service53
37
- } from "./pty-d5h7yrcx.js";
35
+ NotFoundError3,
36
+ Service31
37
+ } from "./persistent-pty-5tdr691p.js";
38
38
  import {
39
- Service30
40
- } from "./pty-fzd7gkan.js";
39
+ Service17
40
+ } from "./persistent-pty-sghgg3s0.js";
41
41
  import {
42
42
  scan2
43
- } from "./pty-a9vjqg87.js";
43
+ } from "./persistent-pty-64wq75pw.js";
44
44
  import {
45
45
  __export
46
- } from "./pty-9rqn6x4v.js";
46
+ } from "./persistent-pty-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input10,
53
- Plugin: () => Plugin46,
54
- ShellTool: () => exports_shell2,
55
- name: () => name10
52
+ Input: () => Input5,
53
+ Plugin: () => Plugin5,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name5
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name10 = "shell";
60
+ var name5 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input10 = Schema.Struct({
74
+ var Input5 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin46 = {
120
+ var Plugin5 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service30;
124
- const jobs = yield* Service50;
123
+ const sessions = yield* Service17;
124
+ const jobs = yield* Service53;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service67;
127
- const access = yield* Service17;
128
- const shell = yield* Service53;
129
- const shellSelect = yield* Service74;
126
+ const environment = yield* Service78;
127
+ const access = yield* Service15;
128
+ const shell = yield* Service31;
129
+ const shellSelect = yield* Service63;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service60;
132
- const config = yield* Service55;
131
+ const permission = yield* Service55;
132
+ const config = yield* Service66;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin46 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name10,
151
+ action: name5,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin46 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name10,
188
+ name: name5,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input10,
191
+ input: Input5,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin46 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError7({ id: info.id });
214
+ return yield* new NotFoundError3({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name10,
228
+ type: name5,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name10];
258
+ const tool = event.tools[name5];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin46, exports_shell2 };
269
+ export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin5, exports_shell };