@opencode-ai/core 0.0.0-dev-19099 → 0.0.0-dev-19102

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 (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{session-pgaghrd6.js → persistent-pty-010ymet8.js} +4 -4
  9. package/dist/chunks/{session-xp3tymbh.js → persistent-pty-03xjq0tm.js} +13 -13
  10. package/dist/chunks/{session-1kvgqkc1.js → persistent-pty-06b9fxmy.js} +27 -27
  11. package/dist/chunks/{session-bzgcd8ct.js → persistent-pty-0d5mggnk.js} +25 -25
  12. package/dist/chunks/{session-0e0xafbb.js → persistent-pty-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{session-qf4fh2md.js → persistent-pty-0g7k506p.js} +7 -7
  14. package/dist/chunks/{session-2k8khapm.js → persistent-pty-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{session-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{session-0s9ayhjt.js → persistent-pty-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{session-y01np14z.js → persistent-pty-0v9kxdr7.js} +9 -9
  18. package/dist/chunks/{session-0ez61b8c.js → persistent-pty-0w19ktq4.js} +2 -2
  19. package/dist/chunks/{session-egw5w7de.js → persistent-pty-10pzdvzd.js} +7 -7
  20. package/dist/chunks/{session-1ct4r87x.js → persistent-pty-1ct4r87x.js} +1 -1
  21. package/dist/chunks/{session-ej1cjmmj.js → persistent-pty-1f1wzhgc.js} +4 -4
  22. package/dist/chunks/{session-edrmdtr5.js → persistent-pty-1g7epwpd.js} +4 -4
  23. package/dist/chunks/{session-qtde2qpd.js → persistent-pty-1mdarqb0.js} +34 -34
  24. package/dist/chunks/{session-d4fyz6jk.js → persistent-pty-1nk2mnc0.js} +3 -3
  25. package/dist/chunks/{session-5zhf747r.js → persistent-pty-1nknpwm3.js} +4 -4
  26. package/dist/chunks/{session-zr7byz86.js → persistent-pty-1r9xt4cr.js} +32 -32
  27. package/dist/chunks/{session-v7p1qd80.js → persistent-pty-1s4k183h.js} +10 -10
  28. package/dist/chunks/{session-15gg0na4.js → persistent-pty-1tag838h.js} +27 -27
  29. package/dist/chunks/{session-y430n1rx.js → persistent-pty-20jvp80s.js} +8 -8
  30. package/dist/chunks/{session-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  31. package/dist/chunks/{session-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  32. package/dist/chunks/{session-mcxg6pmm.js → persistent-pty-247ymhap.js} +1 -1
  33. package/dist/chunks/{session-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
  34. package/dist/chunks/{session-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{session-0tyy99y6.js → persistent-pty-2b6y700x.js} +38 -38
  36. package/dist/chunks/{session-qxrtgzhn.js → persistent-pty-2ghkytyg.js} +36 -36
  37. package/dist/chunks/{session-2ht70gj7.js → persistent-pty-2ht70gj7.js} +1 -1
  38. package/dist/chunks/{session-2jqmte8w.js → persistent-pty-2jqmte8w.js} +2 -2
  39. package/dist/chunks/{session-362503zv.js → persistent-pty-2pr8vdab.js} +39 -39
  40. package/dist/chunks/{session-vqnm39r0.js → persistent-pty-2rjhfz2z.js} +9 -9
  41. package/dist/chunks/{session-nax573hd.js → persistent-pty-2tn9agq3.js} +26 -26
  42. package/dist/chunks/{session-m6ref827.js → persistent-pty-30janqm6.js} +19 -19
  43. package/dist/chunks/persistent-pty-35chk74t.js +4 -0
  44. package/dist/chunks/{session-wgxn7ww3.js → persistent-pty-369x3t65.js} +4 -4
  45. package/dist/chunks/{session-0rag4e4f.js → persistent-pty-36mzbjn4.js} +4 -4
  46. package/dist/chunks/{session-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{session-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{session-2s1by3x3.js → persistent-pty-3j6zyyvs.js} +28 -28
  49. package/dist/chunks/{session-3qzbfqsy.js → persistent-pty-3qzbfqsy.js} +2 -2
  50. package/dist/chunks/{session-74zgpmwc.js → persistent-pty-3rtc4tqa.js} +6 -6
  51. package/dist/chunks/{session-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{session-gacg7ezd.js → persistent-pty-3t5jsk6c.js} +10 -10
  53. package/dist/chunks/{session-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  54. package/dist/chunks/persistent-pty-40ke5ycv.js +18 -0
  55. package/dist/chunks/{session-454k5vzh.js → persistent-pty-454k5vzh.js} +1 -1
  56. package/dist/chunks/{session-bgwx2zk1.js → persistent-pty-4kav5gz3.js} +9 -9
  57. package/dist/chunks/{session-4r2nyarf.js → persistent-pty-4r2nyarf.js} +1 -1
  58. package/dist/chunks/{session-rzsjt7my.js → persistent-pty-4xjdkfjs.js} +10 -10
  59. package/dist/chunks/{session-n38rkygq.js → persistent-pty-54bnqtv9.js} +18 -18
  60. package/dist/chunks/{session-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  61. package/dist/chunks/{session-5fmxt4p5.js → persistent-pty-5fmxt4p5.js} +1 -1
  62. package/dist/chunks/{session-5jvc5tg2.js → persistent-pty-5jvc5tg2.js} +1 -1
  63. package/dist/chunks/{session-e6hd9jay.js → persistent-pty-5mdrv3hm.js} +6 -6
  64. package/dist/chunks/{session-j935v87r.js → persistent-pty-5qd3pb7m.js} +2 -2
  65. package/dist/chunks/{session-g41n1fn3.js → persistent-pty-5tfcvdvj.js} +1 -1
  66. package/dist/chunks/{session-d5nmy0ep.js → persistent-pty-628cc3h3.js} +16 -16
  67. package/dist/chunks/{session-y9j759kk.js → persistent-pty-63kze1d3.js} +4 -4
  68. package/dist/chunks/{session-cqv4qzc3.js → persistent-pty-64fqqfmx.js} +8 -8
  69. package/dist/chunks/{session-efewvhem.js → persistent-pty-66b3gex4.js} +15 -15
  70. package/dist/chunks/{session-xsvcmxep.js → persistent-pty-68qdqky7.js} +15 -15
  71. package/dist/chunks/{session-qnmg9m6w.js → persistent-pty-6d0jr2jk.js} +32 -32
  72. package/dist/chunks/{session-6h414ywr.js → persistent-pty-6h414ywr.js} +2 -2
  73. package/dist/chunks/{session-ecx8qs62.js → persistent-pty-6kgy03tf.js} +11 -11
  74. package/dist/chunks/{session-yjmhwj7v.js → persistent-pty-6svye9h2.js} +9 -9
  75. package/dist/chunks/{session-6tf8tr4v.js → persistent-pty-6tf8tr4v.js} +2 -2
  76. package/dist/chunks/{session-mjqa4ah0.js → persistent-pty-6ykkc5x7.js} +36 -36
  77. package/dist/chunks/{session-saak5ttd.js → persistent-pty-6z5bwd8g.js} +6 -6
  78. package/dist/chunks/{session-gy92dee3.js → persistent-pty-70203jtn.js} +29 -29
  79. package/dist/chunks/{session-r1x0ce7m.js → persistent-pty-70nq51cn.js} +20 -20
  80. package/dist/chunks/{session-711hfp6y.js → persistent-pty-711hfp6y.js} +2 -2
  81. package/dist/chunks/{session-5xy06vd8.js → persistent-pty-738s90ft.js} +7 -7
  82. package/dist/chunks/{session-ym5x9jxc.js → persistent-pty-73tf0mnp.js} +42 -42
  83. package/dist/chunks/{session-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{session-9pk3p303.js → persistent-pty-7dz4r7mk.js} +8 -8
  85. package/dist/chunks/{session-xvkrt86w.js → persistent-pty-7k5q7gm2.js} +20 -20
  86. package/dist/chunks/{session-7gv5bdgm.js → persistent-pty-7x0f5kvq.js} +11 -11
  87. package/dist/chunks/{session-1k5rte3c.js → persistent-pty-81xmbs00.js} +22 -22
  88. package/dist/chunks/{session-s3eqpch7.js → persistent-pty-82aytm87.js} +1 -1
  89. package/dist/chunks/{session-khg7wmvg.js → persistent-pty-88fw41mx.js} +16 -16
  90. package/dist/chunks/{session-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
  91. package/dist/chunks/{session-nx6avvy5.js → persistent-pty-8g20mv6s.js} +18 -18
  92. package/dist/chunks/{session-4tjv1w0c.js → persistent-pty-8hxn7kz0.js} +20 -20
  93. package/dist/chunks/{session-5ew1cpbm.js → persistent-pty-8jkpz5pq.js} +4 -4
  94. package/dist/chunks/{session-jbx3xvkx.js → persistent-pty-8tj73bzm.js} +3 -3
  95. package/dist/chunks/{session-spwgm08d.js → persistent-pty-97058x90.js} +3 -3
  96. package/dist/chunks/{session-6e958v7x.js → persistent-pty-97f5v037.js} +4 -4
  97. package/dist/chunks/{session-rcrz2f46.js → persistent-pty-97tyj6c6.js} +31 -31
  98. package/dist/chunks/{session-9qm9egsn.js → persistent-pty-9qm9egsn.js} +2 -2
  99. package/dist/chunks/{session-nxhj2y70.js → persistent-pty-a0q04gk3.js} +4 -4
  100. package/dist/chunks/{session-mdbg29km.js → persistent-pty-a202dayn.js} +11 -11
  101. package/dist/chunks/{session-djtdz80w.js → persistent-pty-a3x9xvd8.js} +4 -4
  102. package/dist/chunks/{session-xgfwkkrf.js → persistent-pty-a62e05n8.js} +5 -5
  103. package/dist/chunks/{session-ek8ykwvv.js → persistent-pty-a80d3v2r.js} +17 -17
  104. package/dist/chunks/{session-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  105. package/dist/chunks/{session-8n4fjbmr.js → persistent-pty-ac3j6t8f.js} +8 -8
  106. package/dist/chunks/{session-5fq3meay.js → persistent-pty-acdzekmc.js} +15 -15
  107. package/dist/chunks/{session-qbwsjg4y.js → persistent-pty-af5cxv86.js} +57 -57
  108. package/dist/chunks/{session-zt81hpm2.js → persistent-pty-aj6efch7.js} +12 -12
  109. package/dist/chunks/{session-ajtjthsy.js → persistent-pty-ajtjthsy.js} +2 -2
  110. package/dist/chunks/{session-w3jjk181.js → persistent-pty-ajyamx78.js} +9 -9
  111. package/dist/chunks/{session-mwjfjpe1.js → persistent-pty-ak38yve4.js} +9 -9
  112. package/dist/chunks/{session-86s3977f.js → persistent-pty-ameg2vx3.js} +1 -1
  113. package/dist/chunks/{session-dfe8djrf.js → persistent-pty-an7cqtb7.js} +4 -4
  114. package/dist/chunks/{session-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{session-fca9s3tf.js → persistent-pty-b6xfkz6v.js} +26 -26
  116. package/dist/chunks/{session-b9wsbatv.js → persistent-pty-b9wsbatv.js} +1 -1
  117. package/dist/chunks/{session-83at72gv.js → persistent-pty-bn8089at.js} +11 -11
  118. package/dist/chunks/{session-xk40txbb.js → persistent-pty-bpyfw359.js} +5 -5
  119. package/dist/chunks/{session-qm1p4vma.js → persistent-pty-bqgp69re.js} +15 -15
  120. package/dist/chunks/persistent-pty-by7j3p9d.js +22 -0
  121. package/dist/chunks/{session-tckp1j5y.js → persistent-pty-bzc17vb9.js} +3 -3
  122. package/dist/chunks/{session-vavk4pfm.js → persistent-pty-c2c0m65v.js} +34 -34
  123. package/dist/chunks/{session-9y4a5m7y.js → persistent-pty-c3e32yye.js} +16 -16
  124. package/dist/chunks/{session-krd0bj29.js → persistent-pty-c47xcf4v.js} +16 -16
  125. package/dist/chunks/{session-0k5h4jkn.js → persistent-pty-c4ka2x60.js} +35 -35
  126. package/dist/chunks/{session-06ztdyqf.js → persistent-pty-c5g21jc3.js} +9 -9
  127. package/dist/chunks/{session-tgbem4ss.js → persistent-pty-cf6j12q4.js} +17 -17
  128. package/dist/chunks/persistent-pty-ch0he8ej.js +450 -0
  129. package/dist/chunks/{session-14hmenm3.js → persistent-pty-ckev9kd7.js} +1 -1
  130. package/dist/chunks/{session-3b3xadwe.js → persistent-pty-cqzeme2b.js} +16 -16
  131. package/dist/chunks/{session-6nem85hv.js → persistent-pty-craj34q5.js} +10 -10
  132. package/dist/chunks/{session-14f8jh9e.js → persistent-pty-czrfnqv4.js} +17 -17
  133. package/dist/chunks/{session-s0jf0z46.js → persistent-pty-d030bd0f.js} +11 -11
  134. package/dist/chunks/{session-tr2r56k3.js → persistent-pty-d3baj57q.js} +18 -18
  135. package/dist/chunks/{session-d72308c8.js → persistent-pty-d72308c8.js} +2 -2
  136. package/dist/chunks/{session-1y50zexa.js → persistent-pty-d7zznenn.js} +9 -9
  137. package/dist/chunks/{session-pkjas4h9.js → persistent-pty-d8brfqjj.js} +9 -9
  138. package/dist/chunks/{session-hrwsywca.js → persistent-pty-dba19q6g.js} +33 -33
  139. package/dist/chunks/{session-w1w9qes5.js → persistent-pty-ddbc03cc.js} +1 -1
  140. package/dist/chunks/{session-5z37qfst.js → persistent-pty-e3vpkeje.js} +13 -13
  141. package/dist/chunks/{session-a78pknby.js → persistent-pty-edaf3eyg.js} +20 -20
  142. package/dist/chunks/{session-mh7ybtnt.js → persistent-pty-eerwjj66.js} +44 -44
  143. package/dist/chunks/{session-mhkvc446.js → persistent-pty-eq1pz5kg.js} +3 -3
  144. package/dist/chunks/{session-npp63b0x.js → persistent-pty-eyrpjw8c.js} +26 -26
  145. package/dist/chunks/{session-5sg4xzjf.js → persistent-pty-ez5b8bq3.js} +7 -7
  146. package/dist/chunks/{session-q6j65b7y.js → persistent-pty-f02rj1me.js} +86 -86
  147. package/dist/chunks/{session-z00rzy17.js → persistent-pty-f44dq202.js} +5 -5
  148. package/dist/chunks/{session-5pg6yw59.js → persistent-pty-f4ywn050.js} +17 -17
  149. package/dist/chunks/{session-92ttya6d.js → persistent-pty-fa2er9zw.js} +9 -9
  150. package/dist/chunks/{session-4tgt7804.js → persistent-pty-fgj7dkc9.js} +4 -4
  151. package/dist/chunks/{session-nn7rvrn2.js → persistent-pty-fhzfk9q0.js} +23 -23
  152. package/dist/chunks/{session-rbwftchb.js → persistent-pty-fjkyzcze.js} +11 -11
  153. package/dist/chunks/{session-3nqgc3yx.js → persistent-pty-fn2zck2h.js} +11 -11
  154. package/dist/chunks/{session-n2bs5rn6.js → persistent-pty-ftr4qpk4.js} +9 -9
  155. package/dist/chunks/{session-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  156. package/dist/chunks/{session-fxypknc8.js → persistent-pty-fxypknc8.js} +1 -1
  157. package/dist/chunks/{session-xqsy6kp0.js → persistent-pty-g1v92phv.js} +1 -1
  158. package/dist/chunks/{session-4z6b0fg6.js → persistent-pty-g2c9bhkq.js} +4 -4
  159. package/dist/chunks/{session-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{session-wm6pwq74.js → persistent-pty-gev0qjxp.js} +6 -6
  161. package/dist/chunks/{session-k4bj2yce.js → persistent-pty-gjswkc62.js} +32 -32
  162. package/dist/chunks/{session-046wb0sx.js → persistent-pty-gkdfetxb.js} +10 -10
  163. package/dist/chunks/{session-j3apsvbv.js → persistent-pty-gpkgrk3z.js} +2 -2
  164. package/dist/chunks/{session-zjqef28p.js → persistent-pty-gqdgqbeh.js} +10 -10
  165. package/dist/chunks/{session-p6pnan0z.js → persistent-pty-gynq7mwy.js} +17 -17
  166. package/dist/chunks/{session-hha4zry8.js → persistent-pty-h2st8tcp.js} +20 -20
  167. package/dist/chunks/{session-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{session-87smybrf.js → persistent-pty-h8q6a69m.js} +23 -23
  169. package/dist/chunks/{session-heyhwy2w.js → persistent-pty-heyhwy2w.js} +1 -1
  170. package/dist/chunks/{session-hrvm11jt.js → persistent-pty-hrvm11jt.js} +3 -3
  171. package/dist/chunks/{session-wjvq9b7z.js → persistent-pty-j8xe25ng.js} +25 -25
  172. package/dist/chunks/{session-00zc6prc.js → persistent-pty-j90p7j59.js} +2 -2
  173. package/dist/chunks/{session-y6sxghsa.js → persistent-pty-jn521bbx.js} +66 -66
  174. package/dist/chunks/{session-e5b0qn1c.js → persistent-pty-jnhf5mef.js} +1 -1
  175. package/dist/chunks/{session-jwcy2c2z.js → persistent-pty-jwcy2c2z.js} +1 -1
  176. package/dist/chunks/{session-k4bwy1x5.js → persistent-pty-k4bwy1x5.js} +1 -1
  177. package/dist/chunks/{session-mzwqtm94.js → persistent-pty-k50eqkg3.js} +13 -13
  178. package/dist/chunks/{session-zt4h1x9p.js → persistent-pty-kbg5ppnb.js} +13 -13
  179. package/dist/chunks/{session-m35s3e48.js → persistent-pty-kbyz2dkt.js} +9 -9
  180. package/dist/chunks/{session-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
  181. package/dist/chunks/{session-rmy3e5eg.js → persistent-pty-kpyq2w0f.js} +1 -1
  182. package/dist/chunks/{session-hw4pv20g.js → persistent-pty-kvsjn1dr.js} +2 -2
  183. package/dist/chunks/{session-ca7w653e.js → persistent-pty-m1ggyr73.js} +4 -4
  184. package/dist/chunks/{session-m3fm0fm8.js → persistent-pty-m3fm0fm8.js} +2 -2
  185. package/dist/chunks/{session-zy5e4jbn.js → persistent-pty-m79fg301.js} +15 -15
  186. package/dist/chunks/{session-9y4cjape.js → persistent-pty-m7khsb1d.js} +20 -20
  187. package/dist/chunks/{session-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{session-nqsjc2sz.js → persistent-pty-mbapk581.js} +39 -39
  189. package/dist/chunks/{session-1bbscqjq.js → persistent-pty-me6p58dn.js} +23 -23
  190. package/dist/chunks/{session-78xpxgdy.js → persistent-pty-mpzahx5f.js} +139 -139
  191. package/dist/chunks/{session-xzg7katx.js → persistent-pty-msxx7emw.js} +20 -20
  192. package/dist/chunks/{session-qygjny4b.js → persistent-pty-n50399pa.js} +10 -10
  193. package/dist/chunks/{session-em64c7fc.js → persistent-pty-n8bbtjn9.js} +11 -11
  194. package/dist/chunks/{session-4gycnsfp.js → persistent-pty-nca7p386.js} +6 -6
  195. package/dist/chunks/{session-xfrftg31.js → persistent-pty-ne5w19nk.js} +25 -25
  196. package/dist/chunks/{session-jn1w34ja.js → persistent-pty-nrse418z.js} +23 -23
  197. package/dist/chunks/{session-8j93e5xs.js → persistent-pty-nt2wbfgf.js} +23 -23
  198. package/dist/chunks/{session-3rmx93c4.js → persistent-pty-nzf6eghd.js} +10 -10
  199. package/dist/chunks/{session-1h561g3c.js → persistent-pty-pae9v2p1.js} +8 -8
  200. package/dist/chunks/{session-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{session-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  202. package/dist/chunks/{session-j3pby61b.js → persistent-pty-pzjeeacc.js} +6 -6
  203. package/dist/chunks/{session-ntdm8fkt.js → persistent-pty-qg20g60x.js} +17 -17
  204. package/dist/chunks/{session-v5m9qfmy.js → persistent-pty-qmkhq1hj.js} +10 -10
  205. package/dist/chunks/{session-ps9kfsxp.js → persistent-pty-qp6zthdp.js} +13 -13
  206. package/dist/chunks/{session-e4dgvvze.js → persistent-pty-qqbjvkxt.js} +48 -48
  207. package/dist/chunks/persistent-pty-qqytqg20.js +243 -0
  208. package/dist/chunks/{session-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  209. package/dist/chunks/{session-ppkpjgys.js → persistent-pty-r60qd0ca.js} +22 -22
  210. package/dist/chunks/{session-r8dhm0tv.js → persistent-pty-r8dhm0tv.js} +1 -1
  211. package/dist/chunks/{session-vfa7vgdt.js → persistent-pty-rb1agnwm.js} +12 -12
  212. package/dist/chunks/{session-84kxd1n4.js → persistent-pty-rmpjenwd.js} +8 -8
  213. package/dist/chunks/{session-svrpwktq.js → persistent-pty-rpksmvzr.js} +6 -6
  214. package/dist/chunks/{session-s2yfzr0x.js → persistent-pty-rs8bkfty.js} +2 -2
  215. package/dist/chunks/{session-eb5hvjq0.js → persistent-pty-rvn46zq7.js} +9 -9
  216. package/dist/chunks/{session-jy1b6ewz.js → persistent-pty-s1zas8dv.js} +11 -11
  217. package/dist/chunks/{session-kvrwf3pk.js → persistent-pty-s3kg5m6x.js} +11 -11
  218. package/dist/chunks/{session-vp0rf33z.js → persistent-pty-s6qgbjky.js} +4 -4
  219. package/dist/chunks/{session-jrpeh8d2.js → persistent-pty-s8g36k60.js} +4 -4
  220. package/dist/chunks/{session-vsr56sgz.js → persistent-pty-sagqnce1.js} +3 -3
  221. package/dist/chunks/{session-sba4qhjf.js → persistent-pty-sba4qhjf.js} +1 -1
  222. package/dist/chunks/{session-5sd665qf.js → persistent-pty-scarvxmk.js} +9 -9
  223. package/dist/chunks/{session-r4rxbb2t.js → persistent-pty-serxh5qa.js} +12 -12
  224. package/dist/chunks/{session-nth65dz9.js → persistent-pty-sgh09qtt.js} +27 -27
  225. package/dist/chunks/{session-xvcttetg.js → persistent-pty-shbsgx5h.js} +10 -10
  226. package/dist/chunks/{session-mjmwg246.js → persistent-pty-skfe9q3s.js} +46 -46
  227. package/dist/chunks/{session-vnt7ze4s.js → persistent-pty-smgpfta5.js} +12 -12
  228. package/dist/chunks/{session-mx85t2yq.js → persistent-pty-ss7602g3.js} +27 -27
  229. package/dist/chunks/{session-xky3aqr0.js → persistent-pty-stfay7w2.js} +58 -58
  230. package/dist/chunks/{session-6whzccev.js → persistent-pty-sy4zz7rh.js} +13 -13
  231. package/dist/chunks/{session-v8v7w6fv.js → persistent-pty-t7dkb9mz.js} +7 -7
  232. package/dist/chunks/{session-g963r9r4.js → persistent-pty-ta4jwntf.js} +4 -4
  233. package/dist/chunks/{session-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{session-3ap01362.js → persistent-pty-tckacx9z.js} +32 -32
  235. package/dist/chunks/{session-vaak15ye.js → persistent-pty-tgpxmjaj.js} +19 -19
  236. package/dist/chunks/{session-thfv75je.js → persistent-pty-thfv75je.js} +2 -2
  237. package/dist/chunks/{session-tjykrgmx.js → persistent-pty-tjykrgmx.js} +1 -1
  238. package/dist/chunks/{session-pt70tw8e.js → persistent-pty-ts7bph5s.js} +90 -90
  239. package/dist/chunks/{session-32fd39f2.js → persistent-pty-twtpgget.js} +10 -10
  240. package/dist/chunks/{session-tzwfg5hj.js → persistent-pty-twy2b4zd.js} +8 -8
  241. package/dist/chunks/{session-e9snx1sv.js → persistent-pty-vng46sf0.js} +4 -4
  242. package/dist/chunks/{session-wk20761v.js → persistent-pty-vqxj4jm3.js} +24 -24
  243. package/dist/chunks/{session-5dfa1j4k.js → persistent-pty-vrxbpmbb.js} +41 -41
  244. package/dist/chunks/{session-8szhmwn7.js → persistent-pty-vwnnwet6.js} +47 -47
  245. package/dist/chunks/{session-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{session-2e967tky.js → persistent-pty-w40bmgb5.js} +27 -27
  247. package/dist/chunks/{session-0scqckt0.js → persistent-pty-w5g2dnw1.js} +31 -31
  248. package/dist/chunks/{session-er9n0m1v.js → persistent-pty-w6z2g4f7.js} +26 -26
  249. package/dist/chunks/{session-q1ap3bya.js → persistent-pty-w7y9r27g.js} +32 -32
  250. package/dist/chunks/{session-41v30afh.js → persistent-pty-wctfcgtb.js} +6 -6
  251. package/dist/chunks/{session-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  252. package/dist/chunks/{session-4jzh0xe1.js → persistent-pty-we5ggtsr.js} +11 -11
  253. package/dist/chunks/{session-3wfq9j39.js → persistent-pty-wvx09938.js} +8 -8
  254. package/dist/chunks/{session-vxg864v9.js → persistent-pty-x15v48ws.js} +15 -15
  255. package/dist/chunks/{session-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{session-zn2pq4p8.js → persistent-pty-x2rt1cxd.js} +2 -2
  257. package/dist/chunks/{session-1a3my7cd.js → persistent-pty-x92yqmyb.js} +20 -20
  258. package/dist/chunks/{session-0hxewv05.js → persistent-pty-xa3k010d.js} +30 -30
  259. package/dist/chunks/{session-pw559tdx.js → persistent-pty-xmtn9a9r.js} +25 -25
  260. package/dist/chunks/{session-9q7d80ra.js → persistent-pty-xr14zjyh.js} +9 -9
  261. package/dist/chunks/{session-jvfahvjt.js → persistent-pty-xspyb9m3.js} +8 -8
  262. package/dist/chunks/{session-c7sdkgzs.js → persistent-pty-xw378f4n.js} +23 -23
  263. package/dist/chunks/{session-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{session-93a8yfjt.js → persistent-pty-y2cqme3r.js} +5 -5
  265. package/dist/chunks/{session-4qmdx6xs.js → persistent-pty-y6raa7nc.js} +32 -32
  266. package/dist/chunks/{session-033qr46r.js → persistent-pty-y89bt055.js} +11 -11
  267. package/dist/chunks/{session-fwm5qdh2.js → persistent-pty-yawraddd.js} +16 -16
  268. package/dist/chunks/{session-yfbd16n1.js → persistent-pty-yfbd16n1.js} +2 -2
  269. package/dist/chunks/{session-762r0j46.js → persistent-pty-ykczf8eq.js} +5 -5
  270. package/dist/chunks/{session-vwvvp157.js → persistent-pty-ymbwt96j.js} +7 -7
  271. package/dist/chunks/{session-fv2zgjwj.js → persistent-pty-yvyswnaa.js} +9 -9
  272. package/dist/chunks/{session-w3628pf0.js → persistent-pty-yxzxwnyx.js} +5 -5
  273. package/dist/chunks/{session-sh7bh2kf.js → persistent-pty-yzd93mfj.js} +5 -5
  274. package/dist/chunks/{session-te02k642.js → persistent-pty-yzp432d8.js} +38 -38
  275. package/dist/chunks/{session-z1k01bn4.js → persistent-pty-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{session-vftcyset.js → persistent-pty-za3gge5n.js} +26 -26
  277. package/dist/chunks/{session-70zb4fhk.js → persistent-pty-zbqrcwzf.js} +23 -23
  278. package/dist/chunks/{session-bm40x1qd.js → persistent-pty-zcc5h559.js} +24 -24
  279. package/dist/chunks/{session-98grnphf.js → persistent-pty-zhhz7vvj.js} +22 -22
  280. package/dist/chunks/{session-2skgqc7d.js → persistent-pty-zja0h37x.js} +3 -3
  281. package/dist/chunks/{session-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  282. package/dist/chunks/persistent-pty-zy35xm16.js +20 -0
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +81 -81
  287. package/dist/config/discovery.js +79 -79
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +114 -114
  291. package/dist/config/plugin/command.js +205 -205
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +114 -114
  298. package/dist/config/plugin/mcp.js +123 -123
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +115 -115
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +132 -132
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +114 -114
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +112 -112
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +116 -116
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +78 -78
  314. package/dist/database/database.js +64 -64
  315. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +13 -13
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +14 -14
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +74 -74
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +356 -356
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +1 -1
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +90 -90
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +72 -72
  402. package/dist/file-mutation.js +89 -89
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +215 -215
  412. package/dist/filesystem/protected.js +3 -3
  413. package/dist/filesystem/search.js +99 -99
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +13 -13
  416. package/dist/filesystem.js +102 -102
  417. package/dist/form.js +82 -82
  418. package/dist/formatter/builtins.js +4 -4
  419. package/dist/formatter.js +82 -82
  420. package/dist/generate.js +88 -88
  421. package/dist/git.js +7 -7
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +3 -3
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +7 -7
  445. package/dist/instance.js +347 -347
  446. package/dist/instruction-discovery.js +79 -79
  447. package/dist/instructions/builtins.js +82 -82
  448. package/dist/instructions/index.js +3 -3
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +81 -81
  451. package/dist/job.js +77 -77
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +71 -71
  454. package/dist/location-activity.js +86 -86
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +83 -83
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +82 -82
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +102 -102
  461. package/dist/mcp/instructions.js +118 -118
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +3 -3
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +6 -6
  468. package/dist/models-dev.js +82 -82
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +80 -80
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +107 -107
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +84 -84
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +96 -96
  479. package/dist/plugin/command.js +93 -93
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +210 -210
  482. package/dist/plugin/instance.js +5 -5
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +96 -96
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +4 -4
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +114 -114
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +116 -116
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +79 -79
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +116 -116
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +74 -74
  526. package/dist/plugin/service.js +5 -5
  527. package/dist/plugin/skill.js +131 -131
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +335 -335
  530. package/dist/plugin/system-prompt.js +5 -5
  531. package/dist/plugin/update.js +4 -4
  532. package/dist/plugin/variant.js +4 -4
  533. package/dist/plugin/vcs/git.js +82 -82
  534. package/dist/plugin/vcs/hg.js +82 -82
  535. package/dist/plugin/warming.js +111 -111
  536. package/dist/plugin/websearch/exa.js +7 -7
  537. package/dist/plugin/websearch/firecrawl.js +8 -8
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +4 -4
  540. package/dist/plugin/websearch/parallel.js +8 -8
  541. package/dist/plugin/websearch/tavily.js +4 -4
  542. package/dist/plugin.js +219 -219
  543. package/dist/project/schema.js +6 -6
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +83 -83
  546. package/dist/provider.js +3 -3
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +92 -92
  551. package/dist/reference/instructions.js +82 -82
  552. package/dist/reference.js +84 -84
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +93 -93
  557. package/dist/rpc.js +81 -81
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +125 -125
  561. package/dist/session/context.js +145 -145
  562. package/dist/session/environment.js +5 -5
  563. package/dist/session/error.js +7 -7
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +217 -217
  566. package/dist/session/execution.js +120 -120
  567. package/dist/session/generate.js +144 -144
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +86 -86
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +77 -77
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +87 -87
  574. package/dist/session/message-updater.js +2 -2
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +112 -112
  577. package/dist/session/model-transport.js +9 -9
  578. package/dist/session/move.js +124 -124
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +3 -3
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +85 -85
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +2 -2
  589. package/dist/session/runner/step.js +119 -119
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +5 -5
  592. package/dist/session/session.js +167 -167
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +71 -71
  597. package/dist/session/store.js +84 -84
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +203 -203
  600. package/dist/session/system-prompt.js +3 -3
  601. package/dist/session/title.js +149 -149
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +213 -213
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +211 -211
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +7 -7
  610. package/dist/shell.js +132 -132
  611. package/dist/skill/discovery.js +6 -6
  612. package/dist/skill/instructions.js +101 -101
  613. package/dist/skill.js +104 -104
  614. package/dist/snapshot.js +86 -86
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +115 -115
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +117 -117
  622. package/dist/tool/plugin/grep.js +117 -117
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +116 -116
  625. package/dist/tool/plugin/question.js +97 -97
  626. package/dist/tool/plugin/read.js +118 -118
  627. package/dist/tool/plugin/shell.js +208 -208
  628. package/dist/tool/plugin/skill.js +107 -107
  629. package/dist/tool/plugin/subagent.js +210 -210
  630. package/dist/tool/plugin/webfetch.js +106 -106
  631. package/dist/tool/plugin/websearch.js +102 -102
  632. package/dist/tool/plugin/write.js +116 -116
  633. package/dist/tool/read-filesystem.js +96 -96
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +8 -8
  636. package/dist/tool.js +15 -15
  637. package/dist/types/model-resolver.d.ts +1 -1
  638. package/dist/types/provider.d.ts +1 -1
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +7 -7
  647. package/dist/v1/config/attachment.js +2 -2
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +4 -4
  651. package/dist/v1/config/formatter.js +5 -5
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +5 -5
  654. package/dist/v1/config/mcp.js +2 -2
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +7 -7
  657. package/dist/v1/config/plugin.js +3 -3
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +82 -82
  666. package/dist/wellknown/plugin.js +74 -74
  667. package/dist/wellknown.js +77 -77
  668. package/dist/workspace/driver.js +5 -5
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +76 -76
  671. package/dist/worktree/directory.js +4 -4
  672. package/dist/worktree/git.js +7 -7
  673. package/dist/worktree/sql.js +5 -5
  674. package/dist/worktree.js +90 -90
  675. package/package.json +7 -7
  676. package/dist/chunks/session-1bnacmtz.js +0 -22
  677. package/dist/chunks/session-619r8v3y.js +0 -18
  678. package/dist/chunks/session-76h0ztym.js +0 -243
  679. package/dist/chunks/session-7zk4hah4.js +0 -4
  680. package/dist/chunks/session-bamjcx2k.js +0 -450
  681. package/dist/chunks/session-q13zt0rt.js +0 -20
  682. /package/dist/chunks/{session-0fabt78z.js → persistent-pty-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{session-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{session-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{session-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{session-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{session-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{session-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{session-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{session-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{session-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{session-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  693. /package/dist/chunks/{session-3t738kvx.js → persistent-pty-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{session-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{session-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{session-41nvscxy.js → persistent-pty-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{session-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{session-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{session-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{session-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  701. /package/dist/chunks/{session-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{session-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  703. /package/dist/chunks/{session-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{session-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{session-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  706. /package/dist/chunks/{session-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{session-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{session-982e01ww.js → persistent-pty-982e01ww.js} +0 -0
  709. /package/dist/chunks/{session-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{session-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{session-a1tpkmh4.js → persistent-pty-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{session-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{session-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{session-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{session-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{session-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{session-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{session-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{session-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{session-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{session-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{session-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{session-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{session-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  725. /package/dist/chunks/{session-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{session-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{session-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{session-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{session-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{session-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{session-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{session-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{session-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{session-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{session-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{session-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  737. /package/dist/chunks/{session-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{session-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  739. /package/dist/chunks/{session-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{session-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{session-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{session-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{session-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{session-mntxs535.js → persistent-pty-mntxs535.js} +0 -0
  745. /package/dist/chunks/{session-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{session-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{session-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{session-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{session-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{session-p8qxwesx.js → persistent-pty-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{session-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{session-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{session-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{session-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{session-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{session-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{session-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{session-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{session-se0s1eqw.js → persistent-pty-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{session-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{session-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{session-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{session-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{session-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{session-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{session-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{session-x1b8g1yb.js → persistent-pty-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{session-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  769. /package/dist/chunks/{session-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{session-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{session-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{session-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{session-zbjnn3ac.js → persistent-pty-zbjnn3ac.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./session-jwcy2c2z.js";
3
+ } from "./persistent-pty-jwcy2c2z.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./session-vnt7ze4s.js";
5
+ Service78,
6
+ node82
7
+ } from "./persistent-pty-smgpfta5.js";
8
8
  import {
9
9
  Event19,
10
- Service77,
11
- node81
12
- } from "./session-1k5rte3c.js";
10
+ Service76,
11
+ node80
12
+ } from "./persistent-pty-81xmbs00.js";
13
13
  import {
14
- Service71,
15
- node74
16
- } from "./session-krd0bj29.js";
14
+ Service67,
15
+ node70
16
+ } from "./persistent-pty-c47xcf4v.js";
17
17
  import {
18
- Service70,
19
- node73
20
- } from "./session-wk20761v.js";
18
+ Service66,
19
+ node69
20
+ } from "./persistent-pty-vqxj4jm3.js";
21
21
  import {
22
- ID16,
23
- Service78,
24
- node82
25
- } from "./session-nth65dz9.js";
22
+ ID15,
23
+ Service75,
24
+ node79
25
+ } from "./persistent-pty-sgh09qtt.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./session-kg06axw8.js";
29
+ } from "./persistent-pty-kg06axw8.js";
30
30
  import {
31
31
  ID14,
32
32
  MethodID2,
33
- Service76,
34
- node80
35
- } from "./session-xfrftg31.js";
33
+ Service74,
34
+ node78
35
+ } from "./persistent-pty-ne5w19nk.js";
36
36
  import {
37
37
  __export
38
- } from "./session-9rqn6x4v.js";
38
+ } from "./persistent-pty-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options5,
44
+ NotFoundError: () => NotFoundError2,
45
+ Options: () => Options3,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service38,
59
+ Service: () => Service31,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured5,
66
- layer: () => layer16,
67
- node: () => node40
65
+ configured: () => configured3,
66
+ layer: () => layer14,
67
+ node: () => node33
68
68
  });
69
69
  import { Mcp } from "@opencode-ai/schema/mcp";
70
70
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service38 extends Context.Service()("@opencode/MCP") {
168
+ class Service31 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options5 = Schema.Struct({
170
+ var Options3 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
177
- const location = yield* Service71;
178
- const environment = yield* Service70;
179
- const bus = yield* Service79;
180
- const forms = yield* Service78;
181
- const integration = yield* Service76;
182
- const credentials = yield* Service77;
176
+ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
177
+ const location = yield* Service67;
178
+ const environment = yield* Service66;
179
+ const bus = yield* Service78;
180
+ const forms = yield* Service75;
181
+ const integration = yield* Service74;
182
+ const credentials = yield* Service76;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -216,7 +216,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError4({ server: name });
219
+ return yield* new NotFoundError2({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -285,7 +285,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
285
285
  const elicitation = {
286
286
  create: (input) => Effect.gen(function* () {
287
287
  if (input.params.mode === "url") {
288
- const formID = ID16.create();
288
+ const formID = ID15.create();
289
289
  const key = input.server + "\x00" + input.params.elicitationId;
290
290
  urlElicitations.set(key, formID);
291
291
  return yield* forms.ask({
@@ -403,7 +403,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
403
403
  entry.scope = scope;
404
404
  const authProvider = yield* connectProvider(entry);
405
405
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
406
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service70, environment), Scope.provide(scope), Effect.exit);
406
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope), Effect.exit);
407
407
  if (Exit.isSuccess(result)) {
408
408
  entry.client = result.value.connection;
409
409
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
557
557
  concurrency: "unbounded",
558
558
  discard: true
559
559
  }));
560
- return Service38.of({
560
+ return Service31.of({
561
561
  transform: state.transform,
562
562
  reload: state.reload,
563
563
  servers: Effect.fn("MCP.servers")(function* () {
@@ -677,14 +677,14 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
677
677
  })
678
678
  });
679
679
  }));
680
- function configured5(options) {
680
+ function configured3(options) {
681
681
  return makeLocationNode({
682
- service: Service38,
683
- layer: layer16(options),
684
- deps: [node74, node73, node83, node82, node80, node81]
682
+ service: Service31,
683
+ layer: layer14(options),
684
+ deps: [node70, node69, node82, node79, node78, node80]
685
685
  });
686
686
  }
687
- var node40 = configured5();
687
+ var node33 = configured3();
688
688
  function toElicitationField(key, property, required) {
689
689
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
690
690
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
735
735
  }
736
736
  }
737
737
 
738
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options5, layer16, configured5, node40, exports_mcp4 };
738
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service31, Options3, layer14, configured3, node33, exports_mcp4 };
@@ -0,0 +1,243 @@
1
+ import {
2
+ node56
3
+ } from "./persistent-pty-ss7602g3.js";
4
+ import {
5
+ node75
6
+ } from "./persistent-pty-scarvxmk.js";
7
+ import {
8
+ node79
9
+ } from "./persistent-pty-sgh09qtt.js";
10
+ import {
11
+ node78
12
+ } from "./persistent-pty-ne5w19nk.js";
13
+ import {
14
+ node77
15
+ } from "./persistent-pty-2tn9agq3.js";
16
+ import {
17
+ node81
18
+ } from "./persistent-pty-j8xe25ng.js";
19
+ import {
20
+ node70,
21
+ boundNode2
22
+ } from "./persistent-pty-c47xcf4v.js";
23
+ import {
24
+ configured5,
25
+ node60
26
+ } from "./persistent-pty-eerwjj66.js";
27
+ import {
28
+ node69
29
+ } from "./persistent-pty-vqxj4jm3.js";
30
+ import {
31
+ node15
32
+ } from "./persistent-pty-kbg5ppnb.js";
33
+ import {
34
+ node52
35
+ } from "./persistent-pty-68qdqky7.js";
36
+ import {
37
+ node67
38
+ } from "./persistent-pty-6d0jr2jk.js";
39
+ import {
40
+ node66
41
+ } from "./persistent-pty-w40bmgb5.js";
42
+ import {
43
+ node37
44
+ } from "./persistent-pty-w5g2dnw1.js";
45
+ import {
46
+ node17
47
+ } from "./persistent-pty-qg20g60x.js";
48
+ import {
49
+ node51
50
+ } from "./persistent-pty-ajyamx78.js";
51
+ import {
52
+ node33
53
+ } from "./persistent-pty-qqbjvkxt.js";
54
+ import {
55
+ Service26,
56
+ node29
57
+ } from "./persistent-pty-zy35xm16.js";
58
+ import {
59
+ node26
60
+ } from "./persistent-pty-x15v48ws.js";
61
+ import {
62
+ node62
63
+ } from "./persistent-pty-7dz4r7mk.js";
64
+ import {
65
+ node42
66
+ } from "./persistent-pty-af5cxv86.js";
67
+ import {
68
+ node36
69
+ } from "./persistent-pty-e3vpkeje.js";
70
+ import {
71
+ configured11,
72
+ node76
73
+ } from "./persistent-pty-xw378f4n.js";
74
+ import {
75
+ node32
76
+ } from "./persistent-pty-88fw41mx.js";
77
+ import {
78
+ node50
79
+ } from "./persistent-pty-0d5mggnk.js";
80
+ import {
81
+ node31
82
+ } from "./persistent-pty-b6xfkz6v.js";
83
+ import {
84
+ node48
85
+ } from "./persistent-pty-06b9fxmy.js";
86
+ import {
87
+ node28
88
+ } from "./persistent-pty-m79fg301.js";
89
+ import {
90
+ node39
91
+ } from "./persistent-pty-w6z2g4f7.js";
92
+ import {
93
+ node27
94
+ } from "./persistent-pty-8hxn7kz0.js";
95
+ import {
96
+ node22
97
+ } from "./persistent-pty-f02rj1me.js";
98
+ import {
99
+ node49
100
+ } from "./persistent-pty-1r9xt4cr.js";
101
+ import {
102
+ node65
103
+ } from "./persistent-pty-d8brfqjj.js";
104
+ import {
105
+ node59
106
+ } from "./persistent-pty-rb1agnwm.js";
107
+ import {
108
+ node57
109
+ } from "./persistent-pty-vwnnwet6.js";
110
+ import {
111
+ node18
112
+ } from "./persistent-pty-54bnqtv9.js";
113
+ import {
114
+ node41
115
+ } from "./persistent-pty-nt2wbfgf.js";
116
+ import {
117
+ node54
118
+ } from "./persistent-pty-1tag838h.js";
119
+ import {
120
+ node16
121
+ } from "./persistent-pty-zcc5h559.js";
122
+ import {
123
+ node4
124
+ } from "./persistent-pty-dba19q6g.js";
125
+ import {
126
+ node40
127
+ } from "./persistent-pty-628cc3h3.js";
128
+ import {
129
+ node6,
130
+ bound2
131
+ } from "./persistent-pty-pae9v2p1.js";
132
+ import {
133
+ node14
134
+ } from "./persistent-pty-me6p58dn.js";
135
+ import {
136
+ node9
137
+ } from "./persistent-pty-66b3gex4.js";
138
+ import {
139
+ node10
140
+ } from "./persistent-pty-a80d3v2r.js";
141
+ import {
142
+ node5
143
+ } from "./persistent-pty-yzp432d8.js";
144
+ import {
145
+ refreshNode2
146
+ } from "./persistent-pty-73tf0mnp.js";
147
+ import {
148
+ node46
149
+ } from "./persistent-pty-y6raa7nc.js";
150
+ import {
151
+ node3
152
+ } from "./persistent-pty-70203jtn.js";
153
+ import {
154
+ node2
155
+ } from "./persistent-pty-jn521bbx.js";
156
+ import {
157
+ __export
158
+ } from "./persistent-pty-9rqn6x4v.js";
159
+
160
+ // src/instance.ts
161
+ var exports_instance = {};
162
+ __export(exports_instance, {
163
+ Instance: () => exports_instance,
164
+ Service: () => Service26,
165
+ graph: () => graph2,
166
+ layer: () => layer2,
167
+ node: () => node29
168
+ });
169
+ import { Effect, Layer } from "effect";
170
+ import { LayerNode } from "@opencode-ai/util/effect/layer-node";
171
+ import { Node } from "@opencode-ai/util/effect/app-node";
172
+ var nodes = [
173
+ node70,
174
+ node69,
175
+ node60,
176
+ node56,
177
+ node81,
178
+ node48,
179
+ node18,
180
+ node54,
181
+ node78,
182
+ node77,
183
+ node37,
184
+ node75,
185
+ node16,
186
+ node62,
187
+ node6,
188
+ node5,
189
+ refreshNode2,
190
+ node67,
191
+ node66,
192
+ node65,
193
+ node46,
194
+ node57,
195
+ node39,
196
+ node32,
197
+ node76,
198
+ node40,
199
+ node15,
200
+ node52,
201
+ node33,
202
+ node42,
203
+ node50,
204
+ node59,
205
+ node51,
206
+ node27,
207
+ node28,
208
+ node26,
209
+ node79,
210
+ node17,
211
+ node10,
212
+ node31,
213
+ node9,
214
+ node36,
215
+ node14,
216
+ node3,
217
+ node22,
218
+ node49,
219
+ node2,
220
+ node41,
221
+ node4
222
+ ];
223
+ var graph2 = LayerNode.group(nodes);
224
+ var vanillaReplacements = [
225
+ node60.replace(configured5({ project: false, global: false })),
226
+ node76.replace(configured11({ project: false, global: false }))
227
+ ];
228
+ function layer2(ref, options = {}) {
229
+ const startedAt = performance.now();
230
+ const replacements = [
231
+ ...options.discovery === false ? vanillaReplacements : [],
232
+ ...options.replacements ?? [],
233
+ node70.replace(boundNode2(ref, { discovery: options.discovery })),
234
+ node6.replace(bound2(options.plugins ?? []))
235
+ ];
236
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
237
+ directory: ref.directory,
238
+ workspaceID: ref.workspaceID,
239
+ durationMs: Math.round(performance.now() - startedAt)
240
+ })));
241
+ }
242
+
243
+ export { graph2, layer2, exports_instance };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./session-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service79
3
- } from "./session-vnt7ze4s.js";
2
+ Service78
3
+ } from "./persistent-pty-smgpfta5.js";
4
4
  import {
5
- Service53
6
- } from "./session-zr7byz86.js";
5
+ Service47
6
+ } from "./persistent-pty-1r9xt4cr.js";
7
7
  import {
8
- Error4
9
- } from "./session-bzgcd8ct.js";
8
+ Error3
9
+ } from "./persistent-pty-0d5mggnk.js";
10
10
  import {
11
- Service64
12
- } from "./session-vfa7vgdt.js";
11
+ Service56
12
+ } from "./persistent-pty-rb1agnwm.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./session-vqnm39r0.js";
15
+ } from "./persistent-pty-2rjhfz2z.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./session-mntxs535.js";
18
+ } from "./persistent-pty-mntxs535.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./session-g963r9r4.js";
21
+ } from "./persistent-pty-ta4jwntf.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./session-tjykrgmx.js";
24
+ } from "./persistent-pty-tjykrgmx.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./session-3qzbfqsy.js";
27
+ } from "./persistent-pty-3qzbfqsy.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./session-thfv75je.js";
30
+ } from "./persistent-pty-thfv75je.js";
31
31
  import {
32
32
  __export
33
- } from "./session-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: () => make6
40
+ make: () => make3
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make6 = Effect.gen(function* () {
55
- const bus = yield* Service79;
54
+ var make3 = Effect.gen(function* () {
55
+ const bus = yield* Service78;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service53;
58
- const toolOutput = yield* Service64;
57
+ const snapshots = yield* Service47;
58
+ const toolOutput = yield* Service56;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make6 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error4({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
205
205
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
206
206
  };
207
207
 
208
- export { Outcome2, make6, exports_step };
208
+ export { Outcome2, make3, exports_step };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./session-p8qxwesx.js";
3
+ } from "./persistent-pty-p8qxwesx.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./session-gd4qta3r.js";
3
+ } from "./persistent-pty-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./session-k4bwy1x5.js";
6
+ } from "./persistent-pty-k4bwy1x5.js";
7
7
  import {
8
8
  create3
9
- } from "./session-kg06axw8.js";
9
+ } from "./persistent-pty-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./session-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service64,
21
+ Service: () => Service56,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node67
23
+ node: () => node59
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service64 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service56 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service64, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service64.of({
125
+ return Service56.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node67 = makeLocationNode({
143
- service: Service64,
142
+ var node59 = makeLocationNode({
143
+ service: Service56,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service64, node67, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service56, node59, exports_tool_output2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service46
4
- } from "./session-mh7ybtnt.js";
3
+ Service57
4
+ } from "./persistent-pty-eerwjj66.js";
5
5
  import {
6
6
  observe2
7
- } from "./session-qsdy395h.js";
7
+ } from "./persistent-pty-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./session-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin37
16
+ Plugin: () => Plugin34
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin37 = define({
20
+ var Plugin34 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service46;
23
+ const config = yield* Service57;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin37 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin37, exports_websearch2 };
35
+ export { Plugin34, exports_websearch2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./session-tzwfg5hj.js";
3
+ } from "./persistent-pty-twy2b4zd.js";
4
4
  import {
5
5
  OAuth3,
6
- Service77
7
- } from "./session-1k5rte3c.js";
6
+ Service76
7
+ } from "./persistent-pty-81xmbs00.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./session-xfrftg31.js";
11
+ } from "./persistent-pty-ne5w19nk.js";
12
12
  import {
13
13
  ID18
14
- } from "./session-4z6b0fg6.js";
14
+ } from "./persistent-pty-g2c9bhkq.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -68,7 +68,7 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service77;
71
+ const credentials = yield* Service76;
72
72
  yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;