@opencode/core 0.0.0-dev-19707 → 0.0.0-dev-19709

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{config-r98e92ep.js → pty-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{config-rsdf2nvv.js → pty-06dxphr1.js} +4 -4
  9. package/dist/chunks/{config-sfreza73.js → pty-0d61r9h4.js} +15 -15
  10. package/dist/chunks/{config-p44d8wdy.js → pty-0f9afca0.js} +5 -5
  11. package/dist/chunks/{config-mt4q9qcg.js → pty-0gq5ttfh.js} +11 -11
  12. package/dist/chunks/{config-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{config-japganv0.js → pty-0kk2g04a.js} +31 -31
  14. package/dist/chunks/{config-j1s9fxyc.js → pty-0kv2ctep.js} +32 -32
  15. package/dist/chunks/{config-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{config-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  17. package/dist/chunks/pty-0qs04gjp.js +252 -0
  18. package/dist/chunks/{config-2q6kkxxq.js → pty-0rd9v16n.js} +4 -4
  19. package/dist/chunks/{config-j7cn0chj.js → pty-0rgpk1ds.js} +1 -1
  20. package/dist/chunks/{config-bjw1ybn1.js → pty-10f3mqse.js} +27 -27
  21. package/dist/chunks/{config-6hjx5zpb.js → pty-11dqjexa.js} +9 -9
  22. package/dist/chunks/{config-0vzjr71g.js → pty-12b8t429.js} +12 -12
  23. package/dist/chunks/{config-eeaf82dq.js → pty-15nepkqg.js} +8 -8
  24. package/dist/chunks/{config-rhraev7y.js → pty-1acjjqhc.js} +4 -4
  25. package/dist/chunks/{config-fem1qj2k.js → pty-1ajp4aa7.js} +6 -6
  26. package/dist/chunks/{config-z8y94x15.js → pty-1as7yqy8.js} +10 -10
  27. package/dist/chunks/{config-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  28. package/dist/chunks/{config-pk9xhw7m.js → pty-1f62kj91.js} +3 -3
  29. package/dist/chunks/{config-k6hq6vs4.js → pty-1rgevqwt.js} +24 -24
  30. package/dist/chunks/pty-1tm0r3ht.js +4 -0
  31. package/dist/chunks/{config-058z5ddf.js → pty-1vjy2hpw.js} +37 -37
  32. package/dist/chunks/{config-1ygqh575.js → pty-1ygqh575.js} +2 -2
  33. package/dist/chunks/{config-sykc9y4a.js → pty-207ajt2h.js} +5 -5
  34. package/dist/chunks/{config-21r38tys.js → pty-21r38tys.js} +1 -1
  35. package/dist/chunks/{config-6h73sxmp.js → pty-2402vzrj.js} +5 -5
  36. package/dist/chunks/{config-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{config-vs61vkh4.js → pty-2acp3zpj.js} +24 -24
  38. package/dist/chunks/{config-m4j0jsg1.js → pty-2c4g75ke.js} +21 -21
  39. package/dist/chunks/{config-r4v1x4rb.js → pty-2gw9te71.js} +20 -20
  40. package/dist/chunks/{config-ynrxmn94.js → pty-2k6s2zm4.js} +16 -16
  41. package/dist/chunks/{config-8efv05pa.js → pty-2kbj14yf.js} +39 -38
  42. package/dist/chunks/{config-cpneeje0.js → pty-2sejkfem.js} +9 -9
  43. package/dist/chunks/{config-6qek2td2.js → pty-39dab3jh.js} +14 -14
  44. package/dist/chunks/{config-1tw90jxs.js → pty-3ad3156b.js} +10 -10
  45. package/dist/chunks/{config-cpy6gm2a.js → pty-3b1q5j1v.js} +6 -6
  46. package/dist/chunks/{config-g2ycphq5.js → pty-3ddaden9.js} +2 -2
  47. package/dist/chunks/{config-v93aky9p.js → pty-3fax0mp7.js} +8 -8
  48. package/dist/chunks/{config-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{config-7sje2w2w.js → pty-3g5zqvsj.js} +48 -48
  50. package/dist/chunks/{config-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{config-p8f9febr.js → pty-3j6kc4fe.js} +21 -21
  52. package/dist/chunks/{config-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  53. package/dist/chunks/{config-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{config-sy9x43s2.js → pty-3z40mttx.js} +14 -14
  55. package/dist/chunks/{config-3tq5qxbk.js → pty-44ke2mar.js} +8 -8
  56. package/dist/chunks/{config-renqy12v.js → pty-4b8tw1g7.js} +8 -8
  57. package/dist/chunks/{config-0ymjsp16.js → pty-4kgnd0zh.js} +23 -23
  58. package/dist/chunks/{config-wne4vwha.js → pty-4v4zcyn8.js} +11 -11
  59. package/dist/chunks/{config-qwjmgwmn.js → pty-4w5f3qm5.js} +8 -8
  60. package/dist/chunks/{config-ycd00xnt.js → pty-5019jpyd.js} +14 -14
  61. package/dist/chunks/{config-sw489s6r.js → pty-50jcqkpg.js} +18 -18
  62. package/dist/chunks/{config-gyp7bq5z.js → pty-51rpk3dg.js} +50 -50
  63. package/dist/chunks/{config-6aq7ygpy.js → pty-51sk06m6.js} +6 -6
  64. package/dist/chunks/{config-aafc52p0.js → pty-54qvpy9t.js} +8 -8
  65. package/dist/chunks/{config-kark38pj.js → pty-56caj4g6.js} +20 -20
  66. package/dist/chunks/{config-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
  67. package/dist/chunks/{config-bfyfaynt.js → pty-5ac4s34f.js} +89 -89
  68. package/dist/chunks/{config-a1bz86dw.js → pty-5c4hm403.js} +3 -3
  69. package/dist/chunks/{config-5daktx2q.js → pty-5daktx2q.js} +1 -1
  70. package/dist/chunks/{config-rkpyf3mv.js → pty-5dkyq3w9.js} +9 -9
  71. package/dist/chunks/{config-mzhm23zb.js → pty-5ge7b1s9.js} +17 -17
  72. package/dist/chunks/{config-6vkmn2m0.js → pty-5hazr681.js} +2 -2
  73. package/dist/chunks/{config-s0kmmksn.js → pty-5rbd4j62.js} +11 -11
  74. package/dist/chunks/{config-pekgqhpj.js → pty-5sevqzg5.js} +18 -18
  75. package/dist/chunks/{config-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  76. package/dist/chunks/{config-rswqs118.js → pty-5w8sdvf2.js} +4 -4
  77. package/dist/chunks/{config-63kpjth9.js → pty-63kpjth9.js} +2 -2
  78. package/dist/chunks/{config-669tq793.js → pty-669tq793.js} +1 -1
  79. package/dist/chunks/{config-ak3g1cds.js → pty-66rzgmh2.js} +6 -6
  80. package/dist/chunks/{config-an3skc66.js → pty-6bh8btd9.js} +30 -30
  81. package/dist/chunks/pty-6e1261xp.js +65 -0
  82. package/dist/chunks/{config-59x6sxq9.js → pty-6ep9m4sq.js} +18 -18
  83. package/dist/chunks/{config-x62mbabv.js → pty-6j9cmr93.js} +19 -19
  84. package/dist/chunks/{config-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  85. package/dist/chunks/{config-f2v2ha83.js → pty-6n9a7w7g.js} +13 -13
  86. package/dist/chunks/{config-4gxrbk90.js → pty-6sz4ttcn.js} +10 -10
  87. package/dist/chunks/{config-acwgycr8.js → pty-6y05ew1d.js} +23 -23
  88. package/dist/chunks/{config-9g3kc011.js → pty-74rrnwt7.js} +12 -12
  89. package/dist/chunks/{config-98as6sd9.js → pty-75ckhbr3.js} +27 -27
  90. package/dist/chunks/{config-3rdmwfhc.js → pty-76mn2m8t.js} +13 -13
  91. package/dist/chunks/{config-hfdr1yjj.js → pty-7ac170kv.js} +4 -4
  92. package/dist/chunks/{config-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{config-mj3hz3nc.js → pty-7ha090w8.js} +10 -10
  94. package/dist/chunks/{config-1w2wvhbc.js → pty-7t28gyx8.js} +28 -28
  95. package/dist/chunks/{config-88kv1bx9.js → pty-7ywv553p.js} +22 -19
  96. package/dist/chunks/{config-m9y70xex.js → pty-84s7s0kh.js} +29 -29
  97. package/dist/chunks/{config-j3xycmed.js → pty-856c6xfq.js} +23 -23
  98. package/dist/chunks/{config-tcezcvh9.js → pty-89znhe33.js} +4 -4
  99. package/dist/chunks/{config-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  100. package/dist/chunks/{config-dgc1hkc1.js → pty-8fxgy4be.js} +25 -25
  101. package/dist/chunks/{config-3ra8vgzt.js → pty-8pmgwz46.js} +30 -30
  102. package/dist/chunks/{config-bgcn45f8.js → pty-8rt8k92t.js} +9 -9
  103. package/dist/chunks/{config-2evyaa68.js → pty-8s8mxddj.js} +4 -4
  104. package/dist/chunks/{config-204eyync.js → pty-92aty353.js} +6 -6
  105. package/dist/chunks/{config-r920brwh.js → pty-935t04zr.js} +6 -6
  106. package/dist/chunks/{config-9hn6k4tm.js → pty-9hn6k4tm.js} +1 -1
  107. package/dist/chunks/{config-34mey2b4.js → pty-9mjv2j5h.js} +9 -9
  108. package/dist/chunks/{config-6kh2d7tr.js → pty-9p1nr3wb.js} +12 -12
  109. package/dist/chunks/{config-tg6qrxv2.js → pty-9zct7zr5.js} +37 -37
  110. package/dist/chunks/{config-ff0svapt.js → pty-a3r4dcrj.js} +2 -2
  111. package/dist/chunks/{config-aaet6srn.js → pty-aaet6srn.js} +2 -2
  112. package/dist/chunks/{config-3g2pabsk.js → pty-abpc31sx.js} +28 -28
  113. package/dist/chunks/{config-0k74h4bc.js → pty-afve55vv.js} +27 -27
  114. package/dist/chunks/{config-b6pryj33.js → pty-apyk6ttn.js} +1 -1
  115. package/dist/chunks/{config-e6814b7d.js → pty-ar88qa8v.js} +7 -7
  116. package/dist/chunks/{config-qegg11qv.js → pty-avh5jyvb.js} +35 -35
  117. package/dist/chunks/{config-1t25emng.js → pty-b4h1fdev.js} +47 -47
  118. package/dist/chunks/{config-x5aw4bvh.js → pty-b594zzbj.js} +9 -9
  119. package/dist/chunks/{config-s91c8prs.js → pty-b5ymaj20.js} +9 -9
  120. package/dist/chunks/{config-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{config-f8y35pn4.js → pty-b6j8bg70.js} +1 -1
  122. package/dist/chunks/{config-35tfzgdc.js → pty-bczxr085.js} +34 -34
  123. package/dist/chunks/{config-h77q8ghf.js → pty-beda3f75.js} +18 -18
  124. package/dist/chunks/{config-pbtjh2sx.js → pty-bnepd0n1.js} +33 -33
  125. package/dist/chunks/{config-yc95vn0z.js → pty-bxfxz0qc.js} +15 -15
  126. package/dist/chunks/{config-6rybd781.js → pty-bz85s9hh.js} +1 -1
  127. package/dist/chunks/{config-88wv5h76.js → pty-cmh35hj2.js} +10 -10
  128. package/dist/chunks/{config-zyzdbktt.js → pty-ctrx9nnj.js} +8 -8
  129. package/dist/chunks/{config-5h0rvfym.js → pty-dd95b6zp.js} +3 -3
  130. package/dist/chunks/{config-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{config-y71avatq.js → pty-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{config-pvdz9xhf.js → pty-dprzeqmr.js} +10 -10
  133. package/dist/chunks/{config-m44s1k6s.js → pty-dqa43dhg.js} +18 -18
  134. package/dist/chunks/{config-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{config-rpg9c19m.js → pty-embw8kgh.js} +4 -4
  136. package/dist/chunks/{config-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{config-df6fn0e3.js → pty-etr222cf.js} +11 -11
  138. package/dist/chunks/{config-pyr0se5z.js → pty-exfq5gv3.js} +8 -8
  139. package/dist/chunks/{config-0yzb217r.js → pty-f0v6spgv.js} +3 -3
  140. package/dist/chunks/{config-5xynhq0q.js → pty-f1nmtkf4.js} +11 -11
  141. package/dist/chunks/{config-nzhmzh82.js → pty-f59eyknk.js} +4 -4
  142. package/dist/chunks/{config-vec00888.js → pty-f6pbrr8w.js} +16 -16
  143. package/dist/chunks/{config-fx82q9ev.js → pty-fanw3jjr.js} +3 -3
  144. package/dist/chunks/{config-v9cwwd0t.js → pty-fe1vvtkz.js} +7 -7
  145. package/dist/chunks/{config-e42f66fx.js → pty-fkr83qb9.js} +10 -10
  146. package/dist/chunks/{config-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{config-syh2x8jz.js → pty-g7td5zdy.js} +11 -11
  148. package/dist/chunks/{config-xxk5ry2v.js → pty-g8atgw3j.js} +6 -6
  149. package/dist/chunks/{config-a2ew8a62.js → pty-g8d3gcyj.js} +7 -7
  150. package/dist/chunks/{config-g7vy7n31.js → pty-gaf2f4t8.js} +18 -18
  151. package/dist/chunks/{config-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{config-9fw4n3e1.js → pty-gdfvffmy.js} +5 -5
  153. package/dist/chunks/{config-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{config-8mfdap3f.js → pty-gwydwvmj.js} +8 -8
  155. package/dist/chunks/{config-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{config-1gdnfj4y.js → pty-h5prvwy2.js} +12 -12
  157. package/dist/chunks/{config-m8h91w06.js → pty-h64tyvph.js} +3 -3
  158. package/dist/chunks/{config-0f3bkyd2.js → pty-h66ycz74.js} +13 -13
  159. package/dist/chunks/{config-h6r3nrb9.js → pty-h6r3nrb9.js} +1 -1
  160. package/dist/chunks/{config-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{config-f828m53h.js → pty-hdnk95c8.js} +2 -2
  162. package/dist/chunks/{config-1bdcdqfg.js → pty-hht4hdr7.js} +62 -48
  163. package/dist/chunks/{config-edbfpfck.js → pty-hq8zt1th.js} +6 -6
  164. package/dist/chunks/{config-zy8wn4fk.js → pty-j0d8kce8.js} +47 -47
  165. package/dist/chunks/{config-j56e64zr.js → pty-j56e64zr.js} +1 -1
  166. package/dist/chunks/{config-tzrmseea.js → pty-j5g2921s.js} +10 -10
  167. package/dist/chunks/{config-zrcqrgvv.js → pty-j7d1bz3z.js} +12 -12
  168. package/dist/chunks/{config-6bsje7ws.js → pty-jexxy024.js} +3 -3
  169. package/dist/chunks/{config-d3r3a7ce.js → pty-jh55ed6j.js} +10 -10
  170. package/dist/chunks/{config-phq1yf8j.js → pty-jnwk8z6k.js} +22 -22
  171. package/dist/chunks/{config-3wc3c6ps.js → pty-jp67d8xq.js} +10 -10
  172. package/dist/chunks/{config-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
  173. package/dist/chunks/{config-bbvh053c.js → pty-jpsrdk1d.js} +25 -25
  174. package/dist/chunks/{config-nzks3jc8.js → pty-k3c624dm.js} +3 -3
  175. package/dist/chunks/{config-m7dvq393.js → pty-k5shenda.js} +15 -15
  176. package/dist/chunks/{config-m9q1w098.js → pty-kbnfxfat.js} +20 -20
  177. package/dist/chunks/{config-hmppx4cd.js → pty-khny7pv9.js} +28 -28
  178. package/dist/chunks/{config-sedjhjah.js → pty-km08fevc.js} +9 -9
  179. package/dist/chunks/{config-1vbpde1g.js → pty-kmac05v5.js} +305 -305
  180. package/dist/chunks/{config-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
  181. package/dist/chunks/{config-mskwp103.js → pty-m39c7hxd.js} +11 -11
  182. package/dist/chunks/{config-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{config-r71mr0ak.js → pty-m5j3w5gw.js} +21 -17
  184. package/dist/chunks/{config-kxef0pr1.js → pty-m77m9jq1.js} +30 -30
  185. package/dist/chunks/{config-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{config-vyqn3nqs.js → pty-marnn1hp.js} +7 -7
  187. package/dist/chunks/{config-9jpbnf5e.js → pty-mgpyxjx6.js} +8 -8
  188. package/dist/chunks/{config-73tb2d7t.js → pty-mhkvc446.js} +3 -3
  189. package/dist/chunks/{config-d7k0w2wb.js → pty-mjyryqn6.js} +9 -9
  190. package/dist/chunks/{config-59ecn2yy.js → pty-mrhxfjgm.js} +6 -6
  191. package/dist/chunks/{config-j3s2z371.js → pty-nq7qbqzc.js} +9 -9
  192. package/dist/chunks/{config-k2h4r4s0.js → pty-nrdmrqsx.js} +4 -4
  193. package/dist/chunks/{config-dmc1c85t.js → pty-ntcc5ehh.js} +23 -23
  194. package/dist/chunks/{config-hf7g63zj.js → pty-nvv66n76.js} +15 -15
  195. package/dist/chunks/{config-7j6621r4.js → pty-nwyqkjv9.js} +1 -1
  196. package/dist/chunks/{config-sfmkhhs9.js → pty-p2ezm693.js} +16 -16
  197. package/dist/chunks/{config-jxttrpby.js → pty-p2vgnhh6.js} +21 -21
  198. package/dist/chunks/{config-d9s4kg8q.js → pty-p3sqe4zf.js} +13 -13
  199. package/dist/chunks/{config-qttbrpyd.js → pty-p3wwg9fw.js} +17 -17
  200. package/dist/chunks/{config-kmgxwdj6.js → pty-p5m64j98.js} +3 -3
  201. package/dist/chunks/{config-gcytzbah.js → pty-pdg35gy8.js} +6 -6
  202. package/dist/chunks/{config-d858xzj7.js → pty-ph842b28.js} +4 -4
  203. package/dist/chunks/{config-ydrs0rnq.js → pty-phrgc7s2.js} +16 -16
  204. package/dist/chunks/pty-phz3h32g.js +18 -0
  205. package/dist/chunks/{config-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{config-f5nr4ygr.js → pty-pkgfky7d.js} +5 -5
  207. package/dist/chunks/{config-pknna89w.js → pty-pknna89w.js} +1 -1
  208. package/dist/chunks/pty-pysn9s93.js +26 -0
  209. package/dist/chunks/{config-441xk2wv.js → pty-q5rhn9x0.js} +13 -13
  210. package/dist/chunks/{config-0sz7efe2.js → pty-qc1pk71j.js} +32 -32
  211. package/dist/chunks/{config-sg7w44s8.js → pty-qg5tx4hd.js} +19 -19
  212. package/dist/chunks/{config-efqkbgv9.js → pty-qnk3khrz.js} +15 -15
  213. package/dist/chunks/{config-qsdy395h.js → pty-qsdy395h.js} +1 -1
  214. package/dist/chunks/{config-nv8d10c1.js → pty-qsr74hn5.js} +27 -27
  215. package/dist/chunks/{config-vq3eavnk.js → pty-qvrdgs7t.js} +27 -27
  216. package/dist/chunks/{config-b0hfm0j8.js → pty-qyc8vy2s.js} +17 -17
  217. package/dist/chunks/{config-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{config-nq0dx80z.js → pty-rh9ghw4z.js} +13 -13
  219. package/dist/chunks/{config-fd415zwv.js → pty-rqg791dd.js} +11 -11
  220. package/dist/chunks/{config-tef78es6.js → pty-rtvxz8am.js} +4 -4
  221. package/dist/chunks/{config-2xwk5sxy.js → pty-s6n8ez8a.js} +30 -30
  222. package/dist/chunks/{config-s8d7rejh.js → pty-s8d7rejh.js} +1 -1
  223. package/dist/chunks/{config-g9qqt9p1.js → pty-shrcc9g3.js} +19 -13
  224. package/dist/chunks/{config-9eg4jjgq.js → pty-svvemcs6.js} +5 -5
  225. package/dist/chunks/{config-7e12wf70.js → pty-t031qe01.js} +31 -31
  226. package/dist/chunks/{config-3w0fmcng.js → pty-t0fxg8b9.js} +5 -5
  227. package/dist/chunks/{config-qp9bnmn3.js → pty-t159kbzr.js} +14 -14
  228. package/dist/chunks/{config-jbkx7wek.js → pty-t8c9cnyg.js} +41 -41
  229. package/dist/chunks/{config-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{config-tdstcens.js → pty-tdstcens.js} +1 -1
  231. package/dist/chunks/{config-6fbkgyjx.js → pty-th6p44mh.js} +11 -11
  232. package/dist/chunks/{config-svdmezpj.js → pty-tja9b7zx.js} +36 -36
  233. package/dist/chunks/{config-kqavaz8d.js → pty-tn5bgys5.js} +3 -3
  234. package/dist/chunks/{config-tvtrv512.js → pty-tvtrv512.js} +1 -1
  235. package/dist/chunks/{config-2p8j6ftk.js → pty-v2sqwdfa.js} +14 -14
  236. package/dist/chunks/{config-ph764ah0.js → pty-v772zmrr.js} +54 -54
  237. package/dist/chunks/{config-as2srw8y.js → pty-vaa1zs5p.js} +35 -35
  238. package/dist/chunks/{config-veqvce7d.js → pty-veqvce7d.js} +1 -1
  239. package/dist/chunks/{config-yg6e92wh.js → pty-vj5dzvyh.js} +43 -43
  240. package/dist/chunks/{config-acbgnkgs.js → pty-vnrb3chg.js} +15 -15
  241. package/dist/chunks/{config-4kj8p616.js → pty-vx7vnxew.js} +144 -144
  242. package/dist/chunks/{config-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{config-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{config-jx4qp3j4.js → pty-w981yqz9.js} +86 -86
  245. package/dist/chunks/{config-6h9psx55.js → pty-wcr3727a.js} +29 -29
  246. package/dist/chunks/{config-wd87259q.js → pty-wd87259q.js} +1 -1
  247. package/dist/chunks/{config-rh3qvstz.js → pty-wfex9hf5.js} +9 -9
  248. package/dist/chunks/{config-yt7p1vcg.js → pty-wndtrgrh.js} +10 -10
  249. package/dist/chunks/{config-s39ybgse.js → pty-wph04nnx.js} +44 -44
  250. package/dist/chunks/pty-wv40thab.js +48 -0
  251. package/dist/chunks/{config-qnv3ge8j.js → pty-ww94c77x.js} +13 -13
  252. package/dist/chunks/{config-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{config-avf2rqqc.js → pty-x1gfpc1p.js} +17 -17
  254. package/dist/chunks/{config-6d3xa841.js → pty-x7vb65wd.js} +19 -19
  255. package/dist/chunks/{config-3n4pdst2.js → pty-xbckpkdq.js} +22 -22
  256. package/dist/chunks/{config-sgksmh4k.js → pty-xe6cmgbq.js} +11 -11
  257. package/dist/chunks/{config-57b9ws8p.js → pty-xfkkasph.js} +7 -7
  258. package/dist/chunks/{config-m34sd1dw.js → pty-xfkknnqv.js} +2 -2
  259. package/dist/chunks/{config-k5s51sr2.js → pty-xp7gxvaq.js} +4 -4
  260. package/dist/chunks/{config-mkcyj20d.js → pty-xp8zvqfe.js} +32 -32
  261. package/dist/chunks/{config-88w93r53.js → pty-xxpn3ren.js} +7 -7
  262. package/dist/chunks/{config-xj2v00yc.js → pty-xzzedvdq.js} +12 -12
  263. package/dist/chunks/{config-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{config-phc8pspp.js → pty-ybhbtxjg.js} +3 -3
  265. package/dist/chunks/{config-e6hmchc5.js → pty-yjptyezs.js} +5 -5
  266. package/dist/chunks/{config-tvp4k6xb.js → pty-yjq1h8wq.js} +8 -8
  267. package/dist/chunks/{config-0kyhmgn1.js → pty-ykyjdacj.js} +5 -5
  268. package/dist/chunks/{config-rrpn4h0w.js → pty-ypnspery.js} +22 -22
  269. package/dist/chunks/{config-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{config-yrznvahk.js → pty-yrznvahk.js} +2 -2
  271. package/dist/chunks/{config-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  272. package/dist/chunks/{config-yqvhe2qc.js → pty-z440px53.js} +82 -71
  273. package/dist/chunks/{config-z63w68vq.js → pty-z63w68vq.js} +2 -2
  274. package/dist/chunks/{config-vghtnfzr.js → pty-za55qz67.js} +24 -24
  275. package/dist/chunks/{config-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  276. package/dist/chunks/{config-5jf1gs2t.js → pty-zerzqssk.js} +1 -1
  277. package/dist/chunks/{config-e4fvh21c.js → pty-zh0ytwzz.js} +11 -11
  278. package/dist/chunks/{config-52ejfwar.js → pty-zhp5m1zz.js} +4 -4
  279. package/dist/chunks/{config-d2hpfe1x.js → pty-zncxtbv1.js} +14 -14
  280. package/dist/chunks/{config-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{config-y9fejqmg.js → pty-zth7qvys.js} +10 -10
  282. package/dist/chunks/{config-v49qeg7d.js → pty-zvcgv5cx.js} +33 -33
  283. package/dist/chunks/{config-kvpzc2r9.js → pty-zvp4p5jk.js} +32 -32
  284. package/dist/chunks/{config-zpc19dvt.js → pty-zwejzy2c.js} +22 -22
  285. package/dist/chunks/{config-j3t9k28b.js → pty-zwks5p0r.js} +46 -46
  286. package/dist/chunks/{config-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{config-pm2jn3rv.js → pty-zyyjv7w6.js} +7 -7
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +83 -83
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +76 -76
  322. package/dist/database/database.js +69 -69
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -365
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +73 -73
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +224 -224
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +103 -103
  427. package/dist/form.js +73 -73
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +98 -98
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +2 -2
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -356
  456. package/dist/instruction-discovery.js +78 -78
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +79 -79
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +110 -0
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +87 -85
  468. package/dist/location-services.js +354 -353
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +95 -95
  478. package/dist/model.js +101 -101
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +106 -106
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +77 -77
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +96 -96
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +1 -1
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +73 -73
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +345 -345
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +92 -92
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +97 -97
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +90 -90
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +94 -94
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +123 -123
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +85 -85
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -229
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +123 -123
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +169 -169
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +74 -74
  610. package/dist/session/store.js +82 -82
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +222 -222
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +111 -111
  627. package/dist/snapshot.js +86 -86
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +126 -126
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +121 -121
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +216 -216
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +113 -113
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +10 -10
  650. package/dist/types/form.d.ts +1 -0
  651. package/dist/types/instance.d.ts +2 -1
  652. package/dist/types/location-lifecycle.d.ts +9 -0
  653. package/dist/types/location-service-map.d.ts +2 -1
  654. package/dist/types/permission.d.ts +1 -0
  655. package/dist/types/plugin/host.d.ts +2 -2
  656. package/dist/types/session/runner/index.d.ts +36 -3
  657. package/dist/types/session/runner/step.d.ts +1 -0
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +91 -91
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +90 -90
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +88 -88
  687. package/dist/websearch.js +77 -77
  688. package/dist/wellknown/plugin.js +75 -75
  689. package/dist/wellknown.js +80 -80
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +79 -79
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +8 -8
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +88 -88
  697. package/dist/worktree.js +97 -97
  698. package/package.json +8 -8
  699. package/dist/chunks/config-1x11rq2a.js +0 -18
  700. package/dist/chunks/config-6kdq0pjd.js +0 -4
  701. package/dist/chunks/config-e73d2mtj.js +0 -247
  702. package/dist/chunks/config-jyegy52c.js +0 -26
  703. package/dist/chunks/config-yp9vzkpn.js +0 -34
  704. /package/dist/chunks/{config-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{config-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{config-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{config-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{config-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{config-24dcb14g.js → pty-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{config-2710q6r3.js → pty-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{config-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{config-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{config-359p4xyc.js → pty-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{config-3asan66x.js → pty-3asan66x.js} +0 -0
  715. /package/dist/chunks/{config-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{config-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{config-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{config-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{config-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{config-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{config-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{config-53557ph1.js → pty-53557ph1.js} +0 -0
  723. /package/dist/chunks/{config-550bvhaj.js → pty-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{config-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{config-6prwharc.js → pty-6prwharc.js} +0 -0
  726. /package/dist/chunks/{config-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{config-7m9af43g.js → pty-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{config-822emrt2.js → pty-822emrt2.js} +0 -0
  729. /package/dist/chunks/{config-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{config-8n3pysct.js → pty-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{config-922hggd3.js → pty-922hggd3.js} +0 -0
  732. /package/dist/chunks/{config-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{config-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{config-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{config-af5trqkr.js → pty-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{config-afrmfg78.js → pty-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{config-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{config-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{config-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{config-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{config-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{config-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{config-d9fn303g.js → pty-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{config-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{config-dajrwvna.js → pty-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{config-dap0rakb.js → pty-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{config-df08tz66.js → pty-df08tz66.js} +0 -0
  748. /package/dist/chunks/{config-dy18nga0.js → pty-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{config-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{config-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{config-ec1grn59.js → pty-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{config-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{config-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{config-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{config-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{config-faypxj3z.js → pty-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{config-fd410y7t.js → pty-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{config-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{config-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{config-g86h250q.js → pty-g86h250q.js} +0 -0
  761. /package/dist/chunks/{config-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{config-gftt206x.js → pty-gftt206x.js} +0 -0
  763. /package/dist/chunks/{config-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{config-hk9envan.js → pty-hk9envan.js} +0 -0
  765. /package/dist/chunks/{config-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{config-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{config-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{config-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{config-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{config-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{config-mp448xyj.js → pty-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{config-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{config-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{config-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{config-njntx4h6.js → pty-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{config-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{config-q74kybfr.js → pty-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{config-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{config-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{config-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{config-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{config-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{config-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{config-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{config-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{config-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{config-twg0f83k.js → pty-twg0f83k.js} +0 -0
  788. /package/dist/chunks/{config-w803qqfp.js → pty-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{config-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{config-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{config-wtztk69x.js → pty-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{config-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{config-x61499pn.js → pty-x61499pn.js} +0 -0
  794. /package/dist/chunks/{config-y44na4kk.js → pty-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{config-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{config-y8f7s663.js → pty-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{config-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{config-ym463w8f.js → pty-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{config-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./config-rdw6cm16.js";
3
+ } from "./pty-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./config-qaymkmh1.js";
6
+ } from "./pty-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./config-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options5,
15
- Service: () => Service41,
14
+ Options: () => Options9,
15
+ Service: () => Service66,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured5,
18
+ configured: () => configured10,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node44,
24
+ node: () => node70,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options5 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service41 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service66 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service41.of({
202
+ return Service66.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured5(options) {
210
- return makeLocationNode({ service: Service41, layer: layer(options), deps: [Global.node] });
209
+ function configured10(options) {
210
+ return makeLocationNode({ service: Service66, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node44 = configured5();
212
+ var node70 = configured10();
213
213
 
214
- export { Options5, Service41, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured5, node44, exports_select };
214
+ export { Options9, Service66, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node70, exports_select };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./config-ym463w8f.js";
3
+ } from "./pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./config-z63w68vq.js";
3
+ } from "./pty-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./config-ym463w8f.js";
3
+ } from "./pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,115 +1,120 @@
1
+ import {
2
+ Service83,
3
+ node87
4
+ } from "./pty-rqg791dd.js";
1
5
  import {
2
6
  Service82,
3
7
  node86
4
- } from "./config-fd415zwv.js";
8
+ } from "./pty-phrgc7s2.js";
9
+ import {
10
+ SessionMessage2
11
+ } from "./pty-gftt206x.js";
5
12
  import {
6
- Service81,
7
- node85
8
- } from "./config-ydrs0rnq.js";
13
+ StepFailedError2
14
+ } from "./pty-ybhbtxjg.js";
9
15
  import {
10
16
  SessionEvent2
11
- } from "./config-ec1grn59.js";
17
+ } from "./pty-ec1grn59.js";
12
18
  import {
13
19
  SessionMessageTable2
14
- } from "./config-a1bz86dw.js";
20
+ } from "./pty-5c4hm403.js";
15
21
  import {
16
22
  prepare4
17
- } from "./config-hfdr1yjj.js";
18
- import {
19
- llmClient2
20
- } from "./config-5t3nmthw.js";
21
- import {
22
- SessionMessage2
23
- } from "./config-gftt206x.js";
24
- import {
25
- StepFailedError2
26
- } from "./config-phc8pspp.js";
23
+ } from "./pty-7ac170kv.js";
27
24
  import {
28
25
  provenance2
29
- } from "./config-rsdf2nvv.js";
26
+ } from "./pty-06dxphr1.js";
30
27
  import {
31
28
  decodeMessageRow2,
32
29
  preview2
33
- } from "./config-tvp4k6xb.js";
30
+ } from "./pty-yjq1h8wq.js";
34
31
  import {
35
32
  Service69,
36
33
  node73
37
- } from "./config-0vzjr71g.js";
34
+ } from "./pty-12b8t429.js";
38
35
  import {
39
- Service33,
40
- node36
41
- } from "./config-sgksmh4k.js";
36
+ Service15,
37
+ node18
38
+ } from "./pty-6e1261xp.js";
39
+ import {
40
+ llmClient2
41
+ } from "./pty-5t3nmthw.js";
42
+ import {
43
+ Service32,
44
+ node35
45
+ } from "./pty-xe6cmgbq.js";
42
46
  import {
43
47
  baseTranscript2
44
- } from "./config-3ra8vgzt.js";
48
+ } from "./pty-8pmgwz46.js";
45
49
  import {
46
- make9
47
- } from "./config-ak3g1cds.js";
50
+ make8
51
+ } from "./pty-66rzgmh2.js";
48
52
  import {
49
- Service12,
50
- node14
51
- } from "./config-kxef0pr1.js";
53
+ Service9,
54
+ node11
55
+ } from "./pty-m77m9jq1.js";
52
56
  import {
53
- Service28,
54
- node31
55
- } from "./config-jx4qp3j4.js";
57
+ Service24,
58
+ node27
59
+ } from "./pty-w981yqz9.js";
56
60
  import {
57
61
  serialized2,
58
62
  nextPromotable2,
59
63
  promote2
60
- } from "./config-vq3eavnk.js";
64
+ } from "./pty-qvrdgs7t.js";
61
65
  import {
62
- Service10,
66
+ Service6,
63
67
  isUntitled2,
64
- node12
65
- } from "./config-m9y70xex.js";
68
+ node8
69
+ } from "./pty-84s7s0kh.js";
66
70
  import {
67
71
  DrainResult2,
68
- Service52
69
- } from "./config-rpg9c19m.js";
72
+ Service47
73
+ } from "./pty-embw8kgh.js";
70
74
  import {
71
- node41
72
- } from "./config-jxttrpby.js";
75
+ node39
76
+ } from "./pty-p2vgnhh6.js";
73
77
  import {
74
- node76
75
- } from "./config-xj2v00yc.js";
78
+ node43
79
+ } from "./pty-xzzedvdq.js";
76
80
  import {
77
81
  Outcome2,
78
82
  make7
79
- } from "./config-88kv1bx9.js";
83
+ } from "./pty-7ywv553p.js";
80
84
  import {
81
- Service27
82
- } from "./config-1x11rq2a.js";
85
+ Service23
86
+ } from "./pty-phz3h32g.js";
83
87
  import {
84
- node16
85
- } from "./config-pekgqhpj.js";
88
+ node15
89
+ } from "./pty-5sevqzg5.js";
86
90
  import {
87
91
  MAX_STEPS_PROMPT2
88
- } from "./config-y44na4kk.js";
92
+ } from "./pty-y44na4kk.js";
89
93
  import {
90
94
  __export
91
- } from "./config-9rqn6x4v.js";
95
+ } from "./pty-9rqn6x4v.js";
92
96
 
93
97
  // src/session/runner/llm.ts
94
98
  var exports_llm = {};
95
99
  __export(exports_llm, {
96
100
  SessionRunnerLLM: () => exports_llm,
97
- node: () => node10
101
+ node: () => node7
98
102
  });
99
103
  import { Message } from "@opencode/ai";
100
104
  import { and, desc, eq, sql } from "drizzle-orm";
101
105
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
102
106
  import { makeLocationNode } from "@opencode/util/effect/app-node";
103
107
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
104
- var layer = Layer.effect(Service52, Effect.gen(function* () {
105
- const bus = yield* Service81;
108
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
109
+ const bus = yield* Service82;
110
+ const lifecycle = yield* Service15;
106
111
  const store = yield* Service69;
107
- const context = yield* Service28;
108
- const modelTransport = yield* Service33;
109
- const db = (yield* Service82).db;
110
- const compaction = yield* Service12;
111
- const plugins = yield* Service27;
112
- const title = yield* Service10;
112
+ const context = yield* Service24;
113
+ const modelTransport = yield* Service32;
114
+ const db = (yield* Service83).db;
115
+ const compaction = yield* Service9;
116
+ const plugins = yield* Service23;
117
+ const title = yield* Service6;
113
118
  const steps = yield* make7;
114
119
  const titles = yield* FiberMap.make();
115
120
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
@@ -132,6 +137,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
132
137
  yield* settleStaleToolCalls(sessionID);
133
138
  const advanceToStep = Effect.fn("SessionRunner.advanceToStep")(() => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
134
139
  while (true) {
140
+ if (lifecycle.isClosed()) {
141
+ yield* restore(modelTransport.close(sessionID));
142
+ return DrainResult2.Reloaded({ force, continuation: continuing ? { step } : undefined });
143
+ }
135
144
  const pending = yield* serialized2(sessionID, Effect.gen(function* () {
136
145
  const next = yield* nextPromotable2(db, sessionID, entering || !continuing ? "input" : "steer");
137
146
  if (next?.type === "compaction")
@@ -231,7 +240,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
231
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
232
241
  const sessionID = first.session.id;
233
242
  let assistantMessageID = SessionMessage2.ID.create();
234
- const retry = yield* make9(bus, sessionID);
243
+ const retry = yield* make8(bus, sessionID);
235
244
  let initial = first;
236
245
  let recoverOverflow = true;
237
246
  let recoverContinuation = true;
@@ -270,6 +279,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
270
279
  webSocket: "session"
271
280
  });
272
281
  const outcome = yield* steps.attempt({
282
+ isLocationClosed: lifecycle.isClosed,
273
283
  sessionID,
274
284
  assistantMessageID,
275
285
  agent: loaded.agent.id,
@@ -351,24 +361,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
351
361
  }
352
362
  }
353
363
  });
354
- return Service52.of({ drain });
364
+ return Service47.of({ drain });
355
365
  }));
356
- var node10 = makeLocationNode({
357
- service: Service52,
366
+ var node7 = makeLocationNode({
367
+ service: Service47,
358
368
  layer,
359
369
  deps: [
360
- node85,
370
+ node86,
371
+ node18,
361
372
  llmClient2,
362
- node31,
363
- node36,
373
+ node27,
374
+ node35,
364
375
  node73,
365
- node14,
366
- node16,
367
- node12,
368
- node41,
369
- node76,
370
- node86
376
+ node11,
377
+ node15,
378
+ node8,
379
+ node39,
380
+ node43,
381
+ node87
371
382
  ]
372
383
  });
373
384
 
374
- export { node10, exports_llm };
385
+ export { node7, exports_llm };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./config-2axfhc9x.js";
3
+ } from "./pty-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./config-ydrs0rnq.js";
2
+ Service82,
3
+ node86
4
+ } from "./pty-phrgc7s2.js";
5
5
  import {
6
6
  create3
7
- } from "./config-rdw6cm16.js";
7
+ } from "./pty-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event16,
18
- ID: () => ID11,
19
- Info: () => Info25,
17
+ Event: () => Event14,
18
+ ID: () => ID10,
19
+ Info: () => Info24,
20
20
  Name: () => Name3,
21
- Service: () => Service70,
21
+ Service: () => Service71,
22
22
  defaultID: () => defaultID2,
23
- node: () => node74
23
+ node: () => node75
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event16 } from "@opencode/schema/agent";
30
+ import { Event as Event14 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID11 = Agent.ID;
33
+ var ID10 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID11.make("build");
35
+ var defaultID2 = ID10.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info25 = Agent.Info;
37
+ var Info24 = Agent.Info;
38
38
 
39
- class Service70 extends Context.Service()("@opencode/Agent") {
39
+ class Service71 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service70, Effect.gen(function* () {
42
- const bus = yield* Service81;
41
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
42
+ const bus = yield* Service82;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info25.default(id);
60
+ const defaults = Info24.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID11.make("build")));
82
+ const build = selectable(data.agents.get(ID10.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service70.of({
91
+ return Service71.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID11.make(id));
99
+ return state.get().agents.get(ID10.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID11.make(id);
104
+ const selected = ID10.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node74 = makeLocationNode({ service: Service70, layer, deps: [node85, Global.node] });
119
+ var node75 = makeLocationNode({ service: Service71, layer, deps: [node86, Global.node] });
120
120
 
121
- export { ID11, Name3, defaultID2, Color2, Info25, Service70, node74, exports_agent4, Event16 };
121
+ export { ID10, Name3, defaultID2, Color2, Info24, Service71, node75, exports_agent4, Event14 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./config-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./config-6vkmn2m0.js";
5
+ } from "./pty-5hazr681.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./config-zy8wn4fk.js";
3
+ Service41
4
+ } from "./pty-j0d8kce8.js";
5
5
  import {
6
6
  observe2
7
- } from "./config-qsdy395h.js";
7
+ } from "./pty-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch = {};
14
- __export(exports_websearch, {
15
- ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin20
13
+ var exports_websearch2 = {};
14
+ __export(exports_websearch2, {
15
+ ConfigWebSearchPlugin: () => exports_websearch2,
16
+ Plugin: () => Plugin29
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin20 = define({
20
+ var Plugin29 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service58;
23
+ const config = yield* Service41;
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 Plugin20 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin20, exports_websearch };
35
+ export { Plugin29, exports_websearch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service49
3
- } from "./config-vs61vkh4.js";
2
+ Service63
3
+ } from "./pty-2acp3zpj.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service49;
22
+ const environment = yield* Service63;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./config-zy8wn4fk.js";
5
- import {
6
3
  Service41
7
- } from "./config-rrpn4h0w.js";
4
+ } from "./pty-j0d8kce8.js";
5
+ import {
6
+ Service66
7
+ } from "./pty-ypnspery.js";
8
8
  import {
9
9
  observe2
10
- } from "./config-qsdy395h.js";
10
+ } from "./pty-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
- var exports_shell = {};
17
- __export(exports_shell, {
18
- ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin21
16
+ var exports_shell2 = {};
17
+ __export(exports_shell2, {
18
+ ConfigShellPlugin: () => exports_shell2,
19
+ Plugin: () => Plugin38
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin21 = define({
23
+ var Plugin38 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service58;
27
- const shell = yield* Service41;
26
+ const config = yield* Service41;
27
+ const shell = yield* Service66;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin21 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin21, exports_shell };
37
+ export { Plugin38, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};