@opencode/core 0.0.0-dev-20753 → 0.0.0-dev-20757

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{app-mrpta61x.js → persistent-pty-094m2jc0.js} +7 -7
  8. package/dist/chunks/{app-72xj61mp.js → persistent-pty-0asdx158.js} +1 -1
  9. package/dist/chunks/{app-myegs7hd.js → persistent-pty-0n1wmc6t.js} +28 -28
  10. package/dist/chunks/{app-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{app-nh59bet8.js → persistent-pty-0qd1w1j5.js} +9 -9
  12. package/dist/chunks/{app-2k9fjx65.js → persistent-pty-0r3c1bmw.js} +5 -5
  13. package/dist/chunks/{app-ab3d4pqa.js → persistent-pty-0rgtz50w.js} +31 -31
  14. package/dist/chunks/{app-36wye889.js → persistent-pty-0tncg1vv.js} +14 -14
  15. package/dist/chunks/{app-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{app-wecabfbf.js → persistent-pty-1276degm.js} +24 -24
  17. package/dist/chunks/{app-34bkcnyz.js → persistent-pty-1a2vdc32.js} +11 -11
  18. package/dist/chunks/{app-8d3qwqqg.js → persistent-pty-1d4qa1yv.js} +18 -18
  19. package/dist/chunks/{app-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{app-84h8c373.js → persistent-pty-1dvck2a7.js} +2 -2
  21. package/dist/chunks/{app-17tfw75y.js → persistent-pty-1gg3s3st.js} +11 -11
  22. package/dist/chunks/{app-s1fs8q6r.js → persistent-pty-1h6cxm7v.js} +12 -12
  23. package/dist/chunks/{app-sk420qmf.js → persistent-pty-1t9yseh2.js} +1 -1
  24. package/dist/chunks/{app-a68zm1md.js → persistent-pty-1wrsvdt8.js} +24 -24
  25. package/dist/chunks/{app-5f2vy3ed.js → persistent-pty-20ykreb2.js} +11 -11
  26. package/dist/chunks/{app-qfvd55q3.js → persistent-pty-27v5mrzz.js} +3 -3
  27. package/dist/chunks/{app-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{app-0fg6gx8x.js → persistent-pty-2bz9k98p.js} +5 -5
  29. package/dist/chunks/{app-aeqvwfe1.js → persistent-pty-2des930g.js} +32 -32
  30. package/dist/chunks/{app-xkr535z2.js → persistent-pty-2fd2am7y.js} +21 -21
  31. package/dist/chunks/{app-8v17a88r.js → persistent-pty-2h6g5cw7.js} +51 -51
  32. package/dist/chunks/{app-v0p45h9m.js → persistent-pty-2vh07w6d.js} +23 -23
  33. package/dist/chunks/{app-en7remwr.js → persistent-pty-32c2s8c6.js} +18 -18
  34. package/dist/chunks/{app-2bekqz3a.js → persistent-pty-37sfe3bm.js} +15 -15
  35. package/dist/chunks/{app-ssrrgkwb.js → persistent-pty-38aq64y5.js} +25 -25
  36. package/dist/chunks/{app-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{app-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{app-e79sw3j2.js → persistent-pty-3j0nkq0d.js} +27 -27
  39. package/dist/chunks/{app-2v9fd8ey.js → persistent-pty-3md3hry7.js} +29 -29
  40. package/dist/chunks/{app-hhzn5z4s.js → persistent-pty-3q5w9v8n.js} +1 -1
  41. package/dist/chunks/{app-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{app-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{app-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{app-dg7t82en.js → persistent-pty-40mpssyg.js} +23 -23
  45. package/dist/chunks/{app-che7g758.js → persistent-pty-42sykk0b.js} +11 -11
  46. package/dist/chunks/{app-3801kdgp.js → persistent-pty-49exe669.js} +5 -5
  47. package/dist/chunks/{app-fvd9f4mn.js → persistent-pty-4f0xd74p.js} +32 -32
  48. package/dist/chunks/{app-54ynfdxw.js → persistent-pty-4hc31b97.js} +24 -24
  49. package/dist/chunks/{app-12r3qe60.js → persistent-pty-4ngp4gmj.js} +20 -20
  50. package/dist/chunks/{app-2ccvkpx1.js → persistent-pty-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{app-2rbrp7jb.js → persistent-pty-504xcjap.js} +13 -13
  52. package/dist/chunks/{app-2pnhn36q.js → persistent-pty-50mzsvk4.js} +21 -21
  53. package/dist/chunks/{app-9jn7j7tt.js → persistent-pty-52aykxm2.js} +35 -35
  54. package/dist/chunks/{app-7k2ey016.js → persistent-pty-52w7dg7x.js} +28 -28
  55. package/dist/chunks/{app-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
  56. package/dist/chunks/{app-53vn6xbp.js → persistent-pty-5kbfdsfa.js} +10 -10
  57. package/dist/chunks/{app-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{app-2982jzzt.js → persistent-pty-5ns9c0w0.js} +12 -12
  59. package/dist/chunks/{app-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{app-6v1br9ph.js → persistent-pty-5sjzzvdy.js} +11 -11
  61. package/dist/chunks/{app-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{app-srq8z0b0.js → persistent-pty-5tcm9639.js} +9 -9
  63. package/dist/chunks/{app-nsffqzsr.js → persistent-pty-5ttg62tg.js} +15 -15
  64. package/dist/chunks/{app-4zzkahvh.js → persistent-pty-61mpxj7t.js} +17 -17
  65. package/dist/chunks/persistent-pty-67c7by3v.js +26 -0
  66. package/dist/chunks/{app-ynfrtsnr.js → persistent-pty-6j10w38a.js} +24 -24
  67. package/dist/chunks/{app-h4racawz.js → persistent-pty-6kgg59pf.js} +5 -5
  68. package/dist/chunks/{app-sjvvx1qa.js → persistent-pty-6m05awva.js} +47 -47
  69. package/dist/chunks/{app-4mm45p72.js → persistent-pty-6pb6sdx8.js} +2 -2
  70. package/dist/chunks/{app-4v7ngy20.js → persistent-pty-6t4hr8r6.js} +4 -4
  71. package/dist/chunks/{app-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
  72. package/dist/chunks/{app-sfy7ehd8.js → persistent-pty-6zwqfqhk.js} +14 -14
  73. package/dist/chunks/{app-yvjdnyb5.js → persistent-pty-6zxqk44r.js} +6 -6
  74. package/dist/chunks/{app-f75zav2x.js → persistent-pty-71az546q.js} +2 -2
  75. package/dist/chunks/{app-gvqmc7m3.js → persistent-pty-77zs8g8n.js} +17 -17
  76. package/dist/chunks/{app-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{app-1e9rxs9s.js → persistent-pty-7dy85ahw.js} +7 -7
  78. package/dist/chunks/{app-f3j7ywnm.js → persistent-pty-7kyfdp6z.js} +6 -6
  79. package/dist/chunks/{app-xmy5x03q.js → persistent-pty-7n4w6ry8.js} +18 -18
  80. package/dist/chunks/{app-3mwz7nfm.js → persistent-pty-82vtwhxh.js} +2 -2
  81. package/dist/chunks/{app-84txncab.js → persistent-pty-84txncab.js} +1 -1
  82. package/dist/chunks/{app-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{app-9xrr90wg.js → persistent-pty-8ehqpd8r.js} +38 -38
  84. package/dist/chunks/{app-nb8zx5az.js → persistent-pty-8kkb60sm.js} +14 -14
  85. package/dist/chunks/{app-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{app-wrh6rkj6.js → persistent-pty-8nmyydee.js} +17 -17
  87. package/dist/chunks/{app-jhf3jymm.js → persistent-pty-8q9myf25.js} +6 -6
  88. package/dist/chunks/{app-pq6et22q.js → persistent-pty-8rdqkcsb.js} +13 -13
  89. package/dist/chunks/{app-3ng7cddz.js → persistent-pty-8tb93y3v.js} +8 -8
  90. package/dist/chunks/{app-c548srbv.js → persistent-pty-96thbmfj.js} +4 -4
  91. package/dist/chunks/{app-a904gsa5.js → persistent-pty-9dfpqakj.js} +90 -90
  92. package/dist/chunks/{app-bt3m45q8.js → persistent-pty-9dp025y5.js} +9 -9
  93. package/dist/chunks/{app-qepwbzdj.js → persistent-pty-9dvjqq84.js} +30 -30
  94. package/dist/chunks/{app-59h7kjyf.js → persistent-pty-9dztgy31.js} +4 -4
  95. package/dist/chunks/{app-kb9j3d72.js → persistent-pty-9e5bzkjp.js} +3 -3
  96. package/dist/chunks/{app-x65vdt4q.js → persistent-pty-9g5ba4sr.js} +9 -9
  97. package/dist/chunks/{app-wr07d2b2.js → persistent-pty-9jzr21ep.js} +8 -8
  98. package/dist/chunks/{app-3ax0yfc7.js → persistent-pty-9mbx3c6g.js} +20 -20
  99. package/dist/chunks/{app-zw4pk1bw.js → persistent-pty-9pkkzrmj.js} +5 -5
  100. package/dist/chunks/{app-pbj1haba.js → persistent-pty-9rghtk6e.js} +20 -20
  101. package/dist/chunks/{app-6h1ernme.js → persistent-pty-9x9fdyge.js} +11 -11
  102. package/dist/chunks/{app-xmn1nr2d.js → persistent-pty-9yj6y0aa.js} +9 -9
  103. package/dist/chunks/{app-8tpt8f0y.js → persistent-pty-a5r4xth4.js} +14 -14
  104. package/dist/chunks/{app-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  105. package/dist/chunks/{app-wx8zyhp6.js → persistent-pty-abkq1pjw.js} +16 -16
  106. package/dist/chunks/{app-x674hrsd.js → persistent-pty-as7cf5zz.js} +4 -4
  107. package/dist/chunks/{app-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{app-we7nx0d1.js → persistent-pty-b7j3e6pa.js} +7 -7
  109. package/dist/chunks/{app-z3ca2px9.js → persistent-pty-bdremd90.js} +15 -15
  110. package/dist/chunks/{app-65dm53es.js → persistent-pty-bdz6xynk.js} +11 -11
  111. package/dist/chunks/{app-am64aq6c.js → persistent-pty-bgs46qwx.js} +8 -8
  112. package/dist/chunks/{app-93pdqz28.js → persistent-pty-bkkeq90m.js} +35 -35
  113. package/dist/chunks/{app-wtxvq4vf.js → persistent-pty-bp6a26mh.js} +8 -8
  114. package/dist/chunks/{app-3hwbbpqt.js → persistent-pty-c957ak9e.js} +14 -14
  115. package/dist/chunks/{app-52m6gza4.js → persistent-pty-cbmf5txa.js} +3 -3
  116. package/dist/chunks/{app-z723eh4q.js → persistent-pty-ccdvrwrq.js} +8 -8
  117. package/dist/chunks/{app-w1ad28wa.js → persistent-pty-ch4t865s.js} +8 -8
  118. package/dist/chunks/{app-m70sbz6t.js → persistent-pty-ckf8nxjz.js} +4 -4
  119. package/dist/chunks/{app-2sejkfem.js → persistent-pty-cwa6csj7.js} +9 -9
  120. package/dist/chunks/{app-qqmaegjt.js → persistent-pty-cywnvfy5.js} +11 -11
  121. package/dist/chunks/{app-06mz46jt.js → persistent-pty-d0gvmkv5.js} +79 -79
  122. package/dist/chunks/{app-cd5z9b72.js → persistent-pty-d2gszh5q.js} +49 -49
  123. package/dist/chunks/{app-ewtj9365.js → persistent-pty-d2m6d01v.js} +26 -26
  124. package/dist/chunks/{app-v3m01vtq.js → persistent-pty-d3t94897.js} +28 -28
  125. package/dist/chunks/{app-nzrh85jz.js → persistent-pty-dddzyqpc.js} +13 -13
  126. package/dist/chunks/{app-2h7yfs5w.js → persistent-pty-dh6ejakv.js} +11 -11
  127. package/dist/chunks/{app-nxm207yx.js → persistent-pty-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{app-6z2ym5vj.js → persistent-pty-drnf6xwf.js} +2 -2
  129. package/dist/chunks/{app-79x46kac.js → persistent-pty-dysmr7k2.js} +29 -29
  130. package/dist/chunks/{app-6rbzf5tk.js → persistent-pty-e173yrwe.js} +14 -14
  131. package/dist/chunks/{app-6xhnd6a9.js → persistent-pty-e4bp7q5e.js} +17 -17
  132. package/dist/chunks/{app-9nz6zwhg.js → persistent-pty-ea8jtqgg.js} +9 -9
  133. package/dist/chunks/{app-t79e82xz.js → persistent-pty-eavrwy4k.js} +32 -32
  134. package/dist/chunks/{app-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{app-2neqxdah.js → persistent-pty-eh16wa7e.js} +15 -15
  136. package/dist/chunks/{app-gfkzenkt.js → persistent-pty-ejr9s24d.js} +3 -3
  137. package/dist/chunks/{app-1hz6wq56.js → persistent-pty-emyk28wm.js} +17 -17
  138. package/dist/chunks/{app-a1gpj94z.js → persistent-pty-eq1pz5kg.js} +3 -3
  139. package/dist/chunks/persistent-pty-er5qhcv3.js +253 -0
  140. package/dist/chunks/{app-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{app-ajybbawx.js → persistent-pty-fc43n6xf.js} +11 -11
  142. package/dist/chunks/{app-fdvjt5wn.js → persistent-pty-ff4e8v5q.js} +33 -33
  143. package/dist/chunks/{app-hzny3y8a.js → persistent-pty-fjedc0n6.js} +27 -27
  144. package/dist/chunks/{app-px4qgdev.js → persistent-pty-frm38rby.js} +29 -29
  145. package/dist/chunks/{app-n6ghhx49.js → persistent-pty-fswapqhq.js} +13 -13
  146. package/dist/chunks/{app-myagxq7v.js → persistent-pty-fw6qy902.js} +20 -20
  147. package/dist/chunks/{app-5yzzbxa7.js → persistent-pty-g0445xdp.js} +8 -8
  148. package/dist/chunks/{app-80hetss1.js → persistent-pty-g0gfcgav.js} +17 -17
  149. package/dist/chunks/{app-6yz0wx8n.js → persistent-pty-g6yfr6ja.js} +5 -5
  150. package/dist/chunks/{app-ky2z2zzr.js → persistent-pty-g7tbsqx0.js} +22 -22
  151. package/dist/chunks/{app-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{app-gpky00x2.js → persistent-pty-ge24w6v9.js} +4 -4
  153. package/dist/chunks/{app-as7nmgbh.js → persistent-pty-gep6bbz4.js} +36 -36
  154. package/dist/chunks/{app-e2b1ys05.js → persistent-pty-ghr1eecf.js} +10 -10
  155. package/dist/chunks/{app-q0nn7z57.js → persistent-pty-gye40d0j.js} +18 -18
  156. package/dist/chunks/{app-awm2njxg.js → persistent-pty-h1yqkxn4.js} +28 -28
  157. package/dist/chunks/{app-3cegwx68.js → persistent-pty-h2b79v29.js} +2 -2
  158. package/dist/chunks/{app-3vefb4re.js → persistent-pty-h2saytx3.js} +15 -15
  159. package/dist/chunks/{app-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{app-tdp0st3d.js → persistent-pty-hekf1c5w.js} +12 -12
  161. package/dist/chunks/{app-y2w9x1bq.js → persistent-pty-hqhz58vx.js} +4 -4
  162. package/dist/chunks/{app-1r9ttb7t.js → persistent-pty-hwg9mkt4.js} +5 -5
  163. package/dist/chunks/{app-wep0v1av.js → persistent-pty-j3yw4q5j.js} +5 -5
  164. package/dist/chunks/{app-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  165. package/dist/chunks/{app-vq9dw0ec.js → persistent-pty-j65xwarf.js} +3 -3
  166. package/dist/chunks/{app-a0f6av8n.js → persistent-pty-ja6fbgv5.js} +9 -9
  167. package/dist/chunks/{app-b96cn7zz.js → persistent-pty-k1dde556.js} +11 -11
  168. package/dist/chunks/{app-eh5brkmg.js → persistent-pty-ked9vqb3.js} +16 -16
  169. package/dist/chunks/{app-vfwcfwze.js → persistent-pty-ketf4sa0.js} +11 -11
  170. package/dist/chunks/{app-9pgse4ra.js → persistent-pty-kwdk7p8f.js} +29 -29
  171. package/dist/chunks/{app-03kct9wb.js → persistent-pty-kxrxvkx4.js} +41 -41
  172. package/dist/chunks/{app-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  173. package/dist/chunks/{app-b0h21z71.js → persistent-pty-m3frg8rt.js} +13 -13
  174. package/dist/chunks/{app-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{app-5v86ktep.js → persistent-pty-map7adnp.js} +33 -33
  176. package/dist/chunks/{app-1ygqh575.js → persistent-pty-mfqp6xfm.js} +6 -6
  177. package/dist/chunks/{app-fy5ttvwe.js → persistent-pty-mhnyy3p3.js} +11 -11
  178. package/dist/chunks/{app-cssfm7dk.js → persistent-pty-mjr85pze.js} +14 -14
  179. package/dist/chunks/{app-nz1ghecr.js → persistent-pty-msptq8w2.js} +23 -23
  180. package/dist/chunks/{app-4h8em95f.js → persistent-pty-mvf6nh1j.js} +26 -26
  181. package/dist/chunks/{app-5gapkcq6.js → persistent-pty-mw3kjfgh.js} +16 -16
  182. package/dist/chunks/{app-fp8wcdtv.js → persistent-pty-mx64x80q.js} +9 -9
  183. package/dist/chunks/{app-tdhfktd2.js → persistent-pty-my4zabxr.js} +3 -3
  184. package/dist/chunks/{app-hdv8n0d2.js → persistent-pty-n4wpfnv1.js} +22 -22
  185. package/dist/chunks/{app-vfc7sam6.js → persistent-pty-nam5nxhh.js} +4 -4
  186. package/dist/chunks/{app-at302bxq.js → persistent-pty-nmdtbfzh.js} +59 -59
  187. package/dist/chunks/{app-rw31z61t.js → persistent-pty-p2r9c57w.js} +35 -35
  188. package/dist/chunks/{app-6pts7s9a.js → persistent-pty-pa5kmbm8.js} +20 -20
  189. package/dist/chunks/{app-ag8nf72d.js → persistent-pty-pcdbh0j4.js} +48 -48
  190. package/dist/chunks/{app-ggttjc8j.js → persistent-pty-peecsdy0.js} +18 -18
  191. package/dist/chunks/persistent-pty-phz3h32g.js +18 -0
  192. package/dist/chunks/{app-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{app-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  194. package/dist/chunks/{app-68wqtz75.js → persistent-pty-pnzf6mjf.js} +1 -1
  195. package/dist/chunks/{app-018ppdfs.js → persistent-pty-ppjqgbs9.js} +17 -17
  196. package/dist/chunks/{app-6b2zjn2e.js → persistent-pty-prq7hedt.js} +2 -2
  197. package/dist/chunks/{app-rsyn2ckf.js → persistent-pty-ptvvbxck.js} +6 -6
  198. package/dist/chunks/{app-1p07q0wb.js → persistent-pty-py3kkmfq.js} +4 -4
  199. package/dist/chunks/{app-0j77ygfz.js → persistent-pty-q0xm7vwc.js} +6 -6
  200. package/dist/chunks/{app-xsnnd65c.js → persistent-pty-q76v78a4.js} +21 -21
  201. package/dist/chunks/{app-x11j81y8.js → persistent-pty-qfqfjc74.js} +1 -1
  202. package/dist/chunks/{app-fcrkznn8.js → persistent-pty-qgn6gcr1.js} +5 -5
  203. package/dist/chunks/{app-64dc8y9e.js → persistent-pty-qm2kbj48.js} +28 -28
  204. package/dist/chunks/{app-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
  205. package/dist/chunks/{app-6gxe4cq5.js → persistent-pty-qnn75meq.js} +9 -9
  206. package/dist/chunks/{app-va4e1bea.js → persistent-pty-qnpg3zjj.js} +21 -21
  207. package/dist/chunks/{app-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  208. package/dist/chunks/{app-8n69n882.js → persistent-pty-qvb3nf84.js} +8 -8
  209. package/dist/chunks/{app-pj9pwecr.js → persistent-pty-qwfjbs6q.js} +13 -13
  210. package/dist/chunks/{app-6e3dg2f6.js → persistent-pty-qy7fdy02.js} +26 -26
  211. package/dist/chunks/{app-scgrse2b.js → persistent-pty-qygbw77c.js} +5 -5
  212. package/dist/chunks/{app-jtx23d9m.js → persistent-pty-r21y2bjh.js} +90 -90
  213. package/dist/chunks/{app-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{app-4az4fysj.js → persistent-pty-rgpk8c3t.js} +145 -145
  215. package/dist/chunks/{app-g4kysk4p.js → persistent-pty-rh75w547.js} +22 -22
  216. package/dist/chunks/{app-t550f9t1.js → persistent-pty-rhjbct0v.js} +4 -4
  217. package/dist/chunks/{app-1acjjqhc.js → persistent-pty-rhraev7y.js} +4 -4
  218. package/dist/chunks/{app-j48mxfsb.js → persistent-pty-rn484enx.js} +13 -13
  219. package/dist/chunks/{app-vz2ddh6r.js → persistent-pty-s87ygg5r.js} +10 -10
  220. package/dist/chunks/{app-3apnc6ky.js → persistent-pty-scvmve7w.js} +11 -11
  221. package/dist/chunks/{app-cyax57bv.js → persistent-pty-sgqg2f8q.js} +4 -4
  222. package/dist/chunks/{app-vq93hb7v.js → persistent-pty-sjraay0z.js} +27 -27
  223. package/dist/chunks/{app-zadjm48w.js → persistent-pty-smespjaf.js} +5 -5
  224. package/dist/chunks/{app-c4f2sby5.js → persistent-pty-snd67510.js} +32 -32
  225. package/dist/chunks/{app-cjbj8cer.js → persistent-pty-sq20rjr1.js} +3 -3
  226. package/dist/chunks/{app-2rer0ne6.js → persistent-pty-t0cpmee7.js} +11 -11
  227. package/dist/chunks/{app-43h198y8.js → persistent-pty-t1dawjzh.js} +8 -8
  228. package/dist/chunks/{app-qab72qe3.js → persistent-pty-t845f9hx.js} +14 -14
  229. package/dist/chunks/{app-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{app-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{app-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  232. package/dist/chunks/{app-pct1c8gm.js → persistent-pty-tfzngn12.js} +4 -4
  233. package/dist/chunks/{app-jdm3n6sf.js → persistent-pty-tjwtrm03.js} +2 -2
  234. package/dist/chunks/{app-8azk9p8z.js → persistent-pty-tmrd8qpe.js} +9 -9
  235. package/dist/chunks/{app-q6y0etq2.js → persistent-pty-v06x2rvj.js} +3 -3
  236. package/dist/chunks/{app-v0es1rhs.js → persistent-pty-v0es1rhs.js} +2 -2
  237. package/dist/chunks/{app-a46v4e4v.js → persistent-pty-v5dkyp31.js} +4 -4
  238. package/dist/chunks/{app-ye1ez53h.js → persistent-pty-v6ry9q01.js} +20 -20
  239. package/dist/chunks/{app-3s0pfq9s.js → persistent-pty-vbv96av7.js} +16 -16
  240. package/dist/chunks/{app-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  241. package/dist/chunks/persistent-pty-vk7m4zfp.js +507 -0
  242. package/dist/chunks/{app-xgxxq3zy.js → persistent-pty-vws08ngw.js} +36 -36
  243. package/dist/chunks/{app-mwwxnxty.js → persistent-pty-vxzh5eqq.js} +4 -4
  244. package/dist/chunks/{app-5m5v2ph6.js → persistent-pty-vxzn4mjm.js} +4 -4
  245. package/dist/chunks/{app-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{app-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{app-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  248. package/dist/chunks/{app-098fe3mk.js → persistent-pty-wksxstam.js} +23 -23
  249. package/dist/chunks/{app-bbwqkcqr.js → persistent-pty-ws2vmpjm.js} +32 -32
  250. package/dist/chunks/{app-ra1c8wyj.js → persistent-pty-wxagtd6d.js} +38 -38
  251. package/dist/chunks/{app-addxnjmp.js → persistent-pty-x661k3y3.js} +4 -4
  252. package/dist/chunks/{app-559tgykp.js → persistent-pty-x8nragah.js} +43 -43
  253. package/dist/chunks/{app-k376pqv5.js → persistent-pty-xcwya4hk.js} +9 -9
  254. package/dist/chunks/{app-24hm6k32.js → persistent-pty-xf92ehtp.js} +5 -5
  255. package/dist/chunks/{app-57b9ws8p.js → persistent-pty-xfkkasph.js} +7 -7
  256. package/dist/chunks/{app-xkntkrq7.js → persistent-pty-xkntkrq7.js} +2 -2
  257. package/dist/chunks/{app-f6wc2q4n.js → persistent-pty-xn1vbmeg.js} +15 -15
  258. package/dist/chunks/{app-33q7m53w.js → persistent-pty-xn95c7ne.js} +22 -22
  259. package/dist/chunks/{app-qx80409e.js → persistent-pty-xv04d7wa.js} +9 -9
  260. package/dist/chunks/{app-xs0sd5xy.js → persistent-pty-xvedb59m.js} +9 -9
  261. package/dist/chunks/{app-xyafkbt0.js → persistent-pty-xyafkbt0.js} +3 -3
  262. package/dist/chunks/{app-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{app-75w6bsvg.js → persistent-pty-y54kce5q.js} +15 -15
  264. package/dist/chunks/{app-n95gdchj.js → persistent-pty-y5kja2xp.js} +1 -1
  265. package/dist/chunks/{app-c74z2wy8.js → persistent-pty-y8swg4d6.js} +46 -46
  266. package/dist/chunks/{app-wj3p97gz.js → persistent-pty-yb0yv9hj.js} +11 -11
  267. package/dist/chunks/{app-k3k5vc9k.js → persistent-pty-yb9kj8pc.js} +24 -24
  268. package/dist/chunks/{app-9vtyevkh.js → persistent-pty-ybpy5619.js} +42 -42
  269. package/dist/chunks/{app-43c1yg1a.js → persistent-pty-ygny92wv.js} +6 -6
  270. package/dist/chunks/{app-5w8k9h5t.js → persistent-pty-yhf6nfj4.js} +24 -24
  271. package/dist/chunks/{app-n8jbzbza.js → persistent-pty-ymjtnym2.js} +1 -1
  272. package/dist/chunks/{app-00tc97x6.js → persistent-pty-yp3cv92q.js} +16 -16
  273. package/dist/chunks/{app-wcb2d4kv.js → persistent-pty-yq6mmt2t.js} +16 -16
  274. package/dist/chunks/{app-yzmjq8bj.js → persistent-pty-yqntd9h0.js} +24 -24
  275. package/dist/chunks/{app-1rn5pcm9.js → persistent-pty-yrcj3v3g.js} +4 -4
  276. package/dist/chunks/{app-k8scpeqb.js → persistent-pty-ysge6ncn.js} +19 -19
  277. package/dist/chunks/{app-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{app-55v1gf6h.js → persistent-pty-z1fz22vh.js} +9 -9
  279. package/dist/chunks/{app-ebv0kcgn.js → persistent-pty-zgtbcyex.js} +4 -4
  280. package/dist/chunks/{app-edvz4h1b.js → persistent-pty-zhaqhg6g.js} +22 -22
  281. package/dist/chunks/{app-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{app-j1vzxwv0.js → persistent-pty-zsg7tck2.js} +35 -35
  283. package/dist/chunks/{app-3c3c7wca.js → persistent-pty-zx4j0b0b.js} +11 -11
  284. package/dist/chunks/{app-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +80 -80
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +119 -119
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +117 -117
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +119 -119
  302. package/dist/config/plugin/mcp.js +126 -126
  303. package/dist/config/plugin/policy.js +118 -118
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +138 -138
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +120 -120
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +118 -118
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +122 -122
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +76 -76
  319. package/dist/database/database.js +71 -71
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +80 -80
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +96 -96
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +75 -75
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +221 -221
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +102 -102
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +81 -81
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +102 -102
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +100 -100
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +82 -82
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +86 -86
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +108 -108
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +86 -86
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +104 -104
  468. package/dist/mcp/instructions.js +130 -130
  469. package/dist/mcp/oauth.js +76 -76
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +100 -100
  473. package/dist/model-resolver.js +99 -99
  474. package/dist/model.js +99 -99
  475. package/dist/models-dev.js +108 -108
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +112 -112
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +77 -77
  486. package/dist/plugin/command.js +103 -103
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +116 -116
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/digitalocean.js +94 -94
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +96 -96
  510. package/dist/plugin/provider/gitlab.js +94 -94
  511. package/dist/plugin/provider/google-vertex.js +91 -91
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +79 -79
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/local.js +114 -114
  516. package/dist/plugin/provider/modal.js +93 -93
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai.js +94 -94
  520. package/dist/plugin/provider/opencode.js +98 -98
  521. package/dist/plugin/provider/openrouter.js +92 -92
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +80 -80
  524. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  525. package/dist/plugin/provider/sap-ai-core.js +92 -92
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  528. package/dist/plugin/provider/vercel.js +91 -91
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +92 -92
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +73 -73
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +135 -135
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/vcs/git.js +87 -87
  541. package/dist/plugin/vcs/hg.js +87 -87
  542. package/dist/plugin/verbosity.js +94 -94
  543. package/dist/plugin/warming.js +115 -115
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +223 -223
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +98 -98
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +98 -98
  559. package/dist/reference/instructions.js +90 -90
  560. package/dist/reference.js +92 -92
  561. package/dist/repository-cache.js +82 -82
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +98 -98
  565. package/dist/rpc.js +87 -87
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +75 -75
  569. package/dist/session/compaction.js +134 -134
  570. package/dist/session/context.js +154 -154
  571. package/dist/session/diff.js +89 -89
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +218 -218
  576. package/dist/session/execution.js +126 -126
  577. package/dist/session/generate.js +153 -153
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +89 -89
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +98 -98
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +121 -121
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +130 -130
  589. package/dist/session/projector.js +87 -87
  590. package/dist/session/prompt.js +106 -106
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +91 -91
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +99 -99
  598. package/dist/session/runner/publish-llm-event.js +114 -114
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +126 -126
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +163 -163
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +104 -104
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +76 -76
  608. package/dist/session/store.js +86 -86
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +202 -202
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +158 -158
  613. package/dist/session/to-session-error.js +112 -112
  614. package/dist/session/transfer.js +217 -217
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +210 -210
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +11 -11
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +108 -108
  624. package/dist/skill.js +109 -109
  625. package/dist/snapshot.js +92 -92
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +127 -127
  630. package/dist/tool/plugin/edit.js +121 -121
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +125 -125
  633. package/dist/tool/plugin/grep.js +125 -125
  634. package/dist/tool/plugin/mcp-resource.js +118 -118
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +123 -123
  637. package/dist/tool/plugin/question.js +104 -104
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +211 -211
  640. package/dist/tool/plugin/skill.js +114 -114
  641. package/dist/tool/plugin/subagent.js +213 -213
  642. package/dist/tool/plugin/webfetch.js +111 -111
  643. package/dist/tool/plugin/websearch.js +115 -115
  644. package/dist/tool/plugin/write.js +123 -123
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +93 -93
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +92 -92
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +90 -90
  670. package/dist/websearch.js +85 -85
  671. package/dist/wellknown/plugin.js +77 -77
  672. package/dist/wellknown.js +80 -80
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +81 -81
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +90 -90
  680. package/dist/worktree.js +97 -97
  681. package/package.json +8 -8
  682. package/dist/chunks/app-gxnhhzv9.js +0 -26
  683. package/dist/chunks/app-s5z9kbx9.js +0 -507
  684. package/dist/chunks/app-tcs06fzy.js +0 -253
  685. package/dist/chunks/app-vnkjks7b.js +0 -18
  686. /package/dist/chunks/{app-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{app-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{app-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{app-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{app-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{app-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{app-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{app-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{app-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{app-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{app-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{app-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  698. /package/dist/chunks/{app-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{app-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{app-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{app-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{app-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{app-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{app-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{app-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{app-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  707. /package/dist/chunks/{app-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{app-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  709. /package/dist/chunks/{app-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{app-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{app-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{app-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  713. /package/dist/chunks/{app-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{app-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{app-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{app-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{app-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{app-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{app-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{app-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{app-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{app-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{app-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{app-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{app-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{app-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{app-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{app-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{app-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{app-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{app-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{app-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  733. /package/dist/chunks/{app-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{app-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{app-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{app-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{app-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{app-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{app-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{app-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{app-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{app-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{app-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{app-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{app-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  746. /package/dist/chunks/{app-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{app-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  748. /package/dist/chunks/{app-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  749. /package/dist/chunks/{app-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{app-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{app-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{app-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{app-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{app-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{app-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{app-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{app-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{app-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{app-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{app-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{app-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{app-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{app-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{app-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{app-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{app-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{app-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{app-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{app-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{app-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{app-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{app-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{app-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{app-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{app-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  776. /package/dist/chunks/{app-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{app-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{app-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{app-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{app-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{app-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{app-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID10,
3
- Service54
4
- } from "./app-e79sw3j2.js";
2
+ ID9,
3
+ Service62
4
+ } from "./persistent-pty-3j0nkq0d.js";
5
5
  import {
6
6
  Ref2,
7
- Service73
8
- } from "./app-awm2njxg.js";
7
+ Service72
8
+ } from "./persistent-pty-h1yqkxn4.js";
9
9
  import {
10
10
  latest2,
11
- Service69
12
- } from "./app-03kct9wb.js";
11
+ Service46
12
+ } from "./persistent-pty-kxrxvkx4.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./app-tdhfktd2.js";
15
+ } from "./persistent-pty-my4zabxr.js";
16
16
  import {
17
- Service41
18
- } from "./app-00tc97x6.js";
17
+ Service64
18
+ } from "./persistent-pty-yp3cv92q.js";
19
19
  import {
20
20
  evaluate2,
21
- Service50
22
- } from "./app-sjvvx1qa.js";
21
+ Service59
22
+ } from "./persistent-pty-6m05awva.js";
23
23
  import {
24
- Service20
25
- } from "./app-jtx23d9m.js";
24
+ Service22
25
+ } from "./persistent-pty-r21y2bjh.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./app-6xb47vfp.js";
28
+ } from "./persistent-pty-6xb47vfp.js";
29
29
  import {
30
30
  make10
31
- } from "./app-wtxvq4vf.js";
31
+ } from "./persistent-pty-bp6a26mh.js";
32
32
  import {
33
33
  __export
34
- } from "./app-9rqn6x4v.js";
34
+ } from "./persistent-pty-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin30,
39
+ Input: () => Input8,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin45,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name12
43
+ description: () => description4,
44
+ name: () => name8
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name12 = "subagent";
48
+ var name8 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input12 = Schema.Struct({
59
+ var Input8 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input12 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output8 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,15 +86,15 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin30 = {
89
+ var Plugin45 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service20;
93
- const jobs = yield* Service41;
94
- const agents = yield* Service54;
95
- const config = yield* Service69;
96
- const permission = yield* Service50;
97
- const models = yield* Service73;
92
+ const sessions = yield* Service22;
93
+ const jobs = yield* Service64;
94
+ const agents = yield* Service62;
95
+ const config = yield* Service46;
96
+ const permission = yield* Service59;
97
+ const models = yield* Service72;
98
98
  const subagents = yield* make10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -115,11 +115,11 @@ var Plugin30 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name8,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input12,
122
- output: Output8,
120
+ description: description4,
121
+ input: Input8,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin30 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name12,
142
+ action: name8,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin30 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID10.make(input.agent),
171
+ agent: ID9.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name12 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name8 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name12];
233
+ const tool = event.tools[name8];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name12, Input12, Output8, description5, Plugin30, exports_subagent };
256
+ export { name8, Input8, Output5, description4, Plugin45, exports_subagent };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./app-qqmaegjt.js";
3
+ } from "./persistent-pty-cywnvfy5.js";
4
4
  import {
5
5
  call2
6
- } from "./app-1ygqh575.js";
6
+ } from "./persistent-pty-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./app-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin8,
14
+ Plugin: () => Plugin24,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint5
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint5 = "https://search.parallel.ai/mcp";
21
+ var endpoint2 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin8 = define({
50
+ var Plugin24 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin8 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin8 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint5, Plugin8, exports_parallel };
96
+ export { endpoint2, Plugin24, exports_parallel };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./app-sk420qmf.js";
5
+ } from "./persistent-pty-1t9yseh2.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make24,
10
10
  makeWithDefaults2
11
- } from "./app-43c1yg1a.js";
11
+ } from "./persistent-pty-ygny92wv.js";
12
12
  import {
13
13
  __export
14
- } from "./app-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make24,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make14,
10
- render: () => render2
9
+ make: () => make15,
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make14(tools) {
33
- return render2(system_default, tools);
32
+ function make15(tools) {
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render2, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./app-gftt206x.js";
3
+ } from "./persistent-pty-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service70
3
- } from "./app-yzmjq8bj.js";
2
+ Service47
3
+ } from "./persistent-pty-yqntd9h0.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./app-t550f9t1.js";
6
+ } from "./persistent-pty-rhjbct0v.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./app-z5v4ffb3.js";
9
+ } from "./persistent-pty-z5v4ffb3.js";
10
10
  import {
11
11
  File2,
12
- Service55
13
- } from "./app-54ynfdxw.js";
12
+ Service38
13
+ } from "./persistent-pty-4hc31b97.js";
14
14
  import {
15
- Service79
16
- } from "./app-nb8zx5az.js";
15
+ Service80
16
+ } from "./persistent-pty-8kkb60sm.js";
17
17
  import {
18
18
  __export
19
- } from "./app-9rqn6x4v.js";
19
+ } from "./persistent-pty-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin40
25
+ Plugin: () => Plugin11
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
30
30
  import { sameDirectory } from "@opencode/util/path";
31
31
  import { dirname, join } from "path";
32
32
  import { Effect, PubSub, Semaphore, Stream } from "effect";
33
- var Plugin40 = define({
33
+ var Plugin11 = define({
34
34
  id: "opencode.config.instruction",
35
35
  effect: Effect.fn(function* () {
36
- const discovery = yield* Service55;
36
+ const discovery = yield* Service38;
37
37
  if (!discovery.project && !discovery.global)
38
38
  return;
39
39
  yield* Effect.gen(function* () {
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
- const location = yield* Service79;
43
- const watcher = yield* Service70;
42
+ const location = yield* Service80;
43
+ const watcher = yield* Service47;
44
44
  const changes = yield* PubSub.sliding(1);
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  const start = yield* fs.resolve(location.directory);
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
115
115
  return [start, ...ancestorDirectories(dirname(start), stop)];
116
116
  }
117
117
 
118
- export { Plugin40, exports_instruction };
118
+ export { Plugin11, exports_instruction };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service81
3
- } from "./app-wcb2d4kv.js";
2
+ Service83
3
+ } from "./persistent-pty-yq6mmt2t.js";
4
4
  import {
5
- Service44
6
- } from "./app-t79e82xz.js";
5
+ Service67
6
+ } from "./persistent-pty-eavrwy4k.js";
7
7
  import {
8
- Error2
9
- } from "./app-a68zm1md.js";
8
+ Error4
9
+ } from "./persistent-pty-1wrsvdt8.js";
10
10
  import {
11
- Service83
12
- } from "./app-fy5ttvwe.js";
11
+ Service42
12
+ } from "./persistent-pty-mhnyy3p3.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./app-1e9rxs9s.js";
15
+ } from "./persistent-pty-7dy85ahw.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./app-ec1grn59.js";
18
+ } from "./persistent-pty-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./app-h4racawz.js";
21
+ } from "./persistent-pty-6kgg59pf.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./app-tdstcens.js";
24
+ } from "./persistent-pty-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./app-q6y0etq2.js";
27
+ } from "./persistent-pty-v06x2rvj.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./app-scgrse2b.js";
30
+ } from "./persistent-pty-qygbw77c.js";
31
31
  import {
32
32
  __export
33
- } from "./app-9rqn6x4v.js";
33
+ } from "./persistent-pty-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make8
40
+ make: () => make9
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -55,11 +55,11 @@ var INPUT_INCOMPLETE = {
55
55
  type: "tool.input-incomplete",
56
56
  message: "Tool call arguments were not completed and were not executed. Re-issue the tool call with complete arguments."
57
57
  };
58
- var make8 = Effect.gen(function* () {
59
- const bus = yield* Service81;
58
+ var make9 = Effect.gen(function* () {
59
+ const bus = yield* Service83;
60
60
  const llm = yield* LLMClient.Service;
61
- const snapshots = yield* Service44;
62
- const toolOutput = yield* Service83;
61
+ const snapshots = yield* Service67;
62
+ const toolOutput = yield* Service42;
63
63
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
64
64
  const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
65
65
  const publisher = createLLMEventPublisher2(bus, {
@@ -75,7 +75,7 @@ var make8 = Effect.gen(function* () {
75
75
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
76
76
  const executeTool = (call) => {
77
77
  if (input.prepared.request.toolChoice?.type === "none")
78
- return new Error2({ message: "Tools are disabled after the maximum agent steps" });
78
+ return new Error4({ message: "Tools are disabled after the maximum agent steps" });
79
79
  return input.prepared.executeTool({
80
80
  sessionID: input.sessionID,
81
81
  agent: input.agent,
@@ -226,4 +226,4 @@ var classifyToolExits = (settled, runs) => {
226
226
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
227
227
  };
228
228
 
229
- export { Outcome2, make8, exports_step };
229
+ export { Outcome2, make9, exports_step };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./app-qqmaegjt.js";
3
+ } from "./persistent-pty-cywnvfy5.js";
4
4
  import {
5
- Service81
6
- } from "./app-wcb2d4kv.js";
5
+ Service83
6
+ } from "./persistent-pty-yq6mmt2t.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./app-018ppdfs.js";
10
+ } from "./persistent-pty-ppjqgbs9.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./app-dg7t82en.js";
14
+ } from "./persistent-pty-40mpssyg.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./app-pjvnvgmy.js";
18
+ } from "./persistent-pty-pjvnvgmy.js";
19
19
  import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./app-79x46kac.js";
23
+ } from "./persistent-pty-dysmr7k2.js";
24
24
  import {
25
25
  get5
26
- } from "./app-54ma36ye.js";
26
+ } from "./persistent-pty-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -165,7 +165,7 @@ var headless = (app) => ({
165
165
  var OpenAIPlugin2 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
- const bus = yield* Service81;
168
+ const bus = yield* Service83;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  let chatgpt;
171
171
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./app-rdw6cm16.js";
3
+ } from "./persistent-pty-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service39,
14
+ Service: () => Service50,
15
15
  SizeError: () => SizeError2,
16
- node: () => node41
16
+ node: () => node55
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service39 extends Context.Service()("@opencode/Image") {
45
+ class Service50 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service39, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service39.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service50.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node41 = makeLocationNode({ service: Service39, layer, deps: [] });
79
+ var node55 = makeLocationNode({ service: Service50, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service39, node41, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service50, node55, exports_image2 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./app-3w5fmr99.js";
4
+ } from "./persistent-pty-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./app-m3fdjcah.js";
8
+ } from "./persistent-pty-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./app-9rqn6x4v.js";
11
+ } from "./persistent-pty-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./app-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
- Service79
6
- } from "./app-nb8zx5az.js";
5
+ Service80
6
+ } from "./persistent-pty-8kkb60sm.js";
7
7
  import {
8
- Service69
9
- } from "./app-03kct9wb.js";
8
+ Service46
9
+ } from "./persistent-pty-kxrxvkx4.js";
10
10
  import {
11
- Service62
12
- } from "./app-va4e1bea.js";
11
+ Service78
12
+ } from "./persistent-pty-qnpg3zjj.js";
13
13
  import {
14
14
  observe2
15
- } from "./app-qsdy395h.js";
15
+ } from "./persistent-pty-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./app-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin45
24
+ Plugin: () => Plugin19
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin45 = define({
30
+ var Plugin19 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service69;
34
- const location = yield* Service79;
33
+ const config = yield* Service46;
34
+ const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service62;
36
+ const worktrees = yield* Service78;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin45 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin45, exports_worktree };
51
+ export { Plugin19, exports_worktree };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID12
3
- } from "./app-awm2njxg.js";
3
+ } from "./persistent-pty-h1yqkxn4.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";