@opencode/core 0.0.0-dev-20163 → 0.0.0-dev-20164

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 (803) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{config-dkv69pj9.js → persistent-pty-01nnymx6.js} +15 -15
  8. package/dist/chunks/{config-3nf27jkp.js → persistent-pty-08md9an2.js} +16 -16
  9. package/dist/chunks/{config-9ssc61wq.js → persistent-pty-0g4y79g0.js} +15 -15
  10. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  11. package/dist/chunks/{config-5svcdy10.js → persistent-pty-0p8q5ehv.js} +2 -2
  12. package/dist/chunks/{config-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{config-4c6p8qe3.js → persistent-pty-0t93asss.js} +10 -10
  14. package/dist/chunks/{config-4e8vs6eh.js → persistent-pty-0xezjjjn.js} +8 -8
  15. package/dist/chunks/{config-m08j2e3y.js → persistent-pty-11jghh1r.js} +14 -14
  16. package/dist/chunks/{config-jnk2jfbv.js → persistent-pty-1adxqfwa.js} +26 -26
  17. package/dist/chunks/{config-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{config-391a84vc.js → persistent-pty-1ngb9c38.js} +4 -4
  19. package/dist/chunks/{config-qhr4ys9v.js → persistent-pty-1nhss6w6.js} +16 -16
  20. package/dist/chunks/{config-rv3ers6p.js → persistent-pty-1qbqvybc.js} +7 -7
  21. package/dist/chunks/{config-ph842b28.js → persistent-pty-1y283654.js} +4 -4
  22. package/dist/chunks/{config-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  23. package/dist/chunks/{config-jj5yanh9.js → persistent-pty-227srnq3.js} +11 -11
  24. package/dist/chunks/{config-r33ff4dw.js → persistent-pty-23pqda6t.js} +6 -6
  25. package/dist/chunks/{config-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
  26. package/dist/chunks/{config-ajqzvdgx.js → persistent-pty-296b5s0h.js} +10 -10
  27. package/dist/chunks/{config-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{config-mh8443k9.js → persistent-pty-2j1qtvzq.js} +2 -2
  29. package/dist/chunks/{config-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
  30. package/dist/chunks/{config-psbhqdve.js → persistent-pty-2neap1z6.js} +17 -17
  31. package/dist/chunks/{config-6hhsdfpv.js → persistent-pty-2pgqb13s.js} +14 -14
  32. package/dist/chunks/{config-cctby3wr.js → persistent-pty-31eqtkvq.js} +13 -13
  33. package/dist/chunks/{config-snzwe59h.js → persistent-pty-335gx45g.js} +8 -8
  34. package/dist/chunks/{config-3gmyvx2t.js → persistent-pty-3f6m2wqe.js} +4 -4
  35. package/dist/chunks/{config-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{config-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{config-h5cqn5dn.js → persistent-pty-3mf0sz11.js} +8 -8
  38. package/dist/chunks/{config-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{config-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{config-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{config-vv1h20h2.js → persistent-pty-41gc5d0b.js} +8 -8
  42. package/dist/chunks/{config-akrnn5pm.js → persistent-pty-45fdndrg.js} +6 -6
  43. package/dist/chunks/{config-5143n705.js → persistent-pty-46jya41g.js} +7 -7
  44. package/dist/chunks/{config-yrnrtvb9.js → persistent-pty-47fq69fq.js} +27 -27
  45. package/dist/chunks/{config-6z52wrjc.js → persistent-pty-4cpjpwjg.js} +29 -29
  46. package/dist/chunks/{config-nfqmy5b6.js → persistent-pty-4tzgaesz.js} +13 -13
  47. package/dist/chunks/{config-rh49mrr9.js → persistent-pty-4xwyy9ad.js} +3 -3
  48. package/dist/chunks/{config-px3bsd12.js → persistent-pty-4y8gxswz.js} +8 -8
  49. package/dist/chunks/{config-27my81vf.js → persistent-pty-5230006x.js} +8 -8
  50. package/dist/chunks/{config-1ygqh575.js → persistent-pty-56gdpj1q.js} +9 -9
  51. package/dist/chunks/persistent-pty-56zeh913.js +26 -0
  52. package/dist/chunks/{config-4bw31ana.js → persistent-pty-575extxc.js} +28 -28
  53. package/dist/chunks/{config-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{config-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  55. package/dist/chunks/{config-4ca0desf.js → persistent-pty-5dfeagw9.js} +11 -11
  56. package/dist/chunks/{config-87dqewmc.js → persistent-pty-5dtfwc66.js} +12 -12
  57. package/dist/chunks/{config-3efy5fas.js → persistent-pty-5gm161de.js} +17 -17
  58. package/dist/chunks/{config-hxyrv1jb.js → persistent-pty-5pchrvbf.js} +3 -3
  59. package/dist/chunks/{config-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{config-9s8mzn52.js → persistent-pty-5xfxk5qj.js} +2 -2
  61. package/dist/chunks/{config-1pxa4nss.js → persistent-pty-5xpb6q0y.js} +8 -8
  62. package/dist/chunks/{config-5xpznt2d.js → persistent-pty-5xpznt2d.js} +4 -4
  63. package/dist/chunks/{config-eykerdw1.js → persistent-pty-62xhx457.js} +11 -11
  64. package/dist/chunks/{config-669tq793.js → persistent-pty-669tq793.js} +1 -1
  65. package/dist/chunks/{config-fnr6z4w1.js → persistent-pty-66fb0720.js} +23 -23
  66. package/dist/chunks/{config-y8hck43r.js → persistent-pty-6a50q89r.js} +11 -11
  67. package/dist/chunks/{config-yk92z034.js → persistent-pty-6b64cty4.js} +42 -42
  68. package/dist/chunks/{config-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{config-djcyjyas.js → persistent-pty-6qxa4z0k.js} +9 -9
  70. package/dist/chunks/{config-0qx3jgen.js → persistent-pty-6rectmv1.js} +5 -5
  71. package/dist/chunks/{config-9tr9p23y.js → persistent-pty-6rvajrnc.js} +1 -1
  72. package/dist/chunks/{config-2vk2a4tq.js → persistent-pty-6vna95zw.js} +14 -14
  73. package/dist/chunks/{config-76a3kx5e.js → persistent-pty-737n3dqd.js} +9 -9
  74. package/dist/chunks/{config-kgn9tatw.js → persistent-pty-741j3ryy.js} +23 -23
  75. package/dist/chunks/{config-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{config-e7tpz29y.js → persistent-pty-7k3j8est.js} +12 -12
  77. package/dist/chunks/{config-0nz73kd9.js → persistent-pty-7kqen0y3.js} +42 -42
  78. package/dist/chunks/{config-191eynk5.js → persistent-pty-7pdxtf20.js} +12 -12
  79. package/dist/chunks/{config-4jxtnjc8.js → persistent-pty-890xenda.js} +12 -12
  80. package/dist/chunks/{config-7bczgskn.js → persistent-pty-8aywcm47.js} +5 -5
  81. package/dist/chunks/{config-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{config-fgb7zg94.js → persistent-pty-8e2svszp.js} +15 -15
  83. package/dist/chunks/{config-q5asdkn4.js → persistent-pty-8gxqpgph.js} +4 -4
  84. package/dist/chunks/{config-952j3b5h.js → persistent-pty-8jh6age2.js} +8 -8
  85. package/dist/chunks/{config-n9qjhx81.js → persistent-pty-8qfz057q.js} +4 -4
  86. package/dist/chunks/{config-m241b8yp.js → persistent-pty-8s7tt1np.js} +3 -3
  87. package/dist/chunks/{config-x63hdkmq.js → persistent-pty-8yy5nj9k.js} +20 -20
  88. package/dist/chunks/{config-29pep8r5.js → persistent-pty-8zp8v96d.js} +13 -13
  89. package/dist/chunks/{config-akxghxm2.js → persistent-pty-916rzewx.js} +10 -10
  90. package/dist/chunks/{config-4tw3xr5g.js → persistent-pty-91a0d1yt.js} +12 -12
  91. package/dist/chunks/{config-94ek1h2f.js → persistent-pty-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{config-ex0pka66.js → persistent-pty-994b2pxg.js} +5 -5
  93. package/dist/chunks/{config-jnakyatf.js → persistent-pty-99dvvp6t.js} +20 -20
  94. package/dist/chunks/{config-c85bkqez.js → persistent-pty-9gh63tf7.js} +11 -11
  95. package/dist/chunks/{config-j75kj7v0.js → persistent-pty-9kn5es1x.js} +13 -13
  96. package/dist/chunks/{config-8d5190ka.js → persistent-pty-9vbqd6fz.js} +16 -16
  97. package/dist/chunks/{config-m6g7p1z9.js → persistent-pty-a37hnpwz.js} +20 -20
  98. package/dist/chunks/{config-ff0svapt.js → persistent-pty-a3r4dcrj.js} +2 -2
  99. package/dist/chunks/{config-vcrhrphe.js → persistent-pty-aaccrgx2.js} +8 -8
  100. package/dist/chunks/{config-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  101. package/dist/chunks/{config-j41whdzd.js → persistent-pty-aajqz8pf.js} +10 -10
  102. package/dist/chunks/{config-yjdhv57g.js → persistent-pty-aneetawy.js} +27 -27
  103. package/dist/chunks/{config-yq7nmdyq.js → persistent-pty-anf3dr2h.js} +11 -11
  104. package/dist/chunks/{config-ebvj30mf.js → persistent-pty-ar9dn3cv.js} +8 -8
  105. package/dist/chunks/{config-vmky7h7j.js → persistent-pty-at7effxm.js} +80 -80
  106. package/dist/chunks/{config-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{config-6y7ymps1.js → persistent-pty-b91ar3n4.js} +3 -3
  108. package/dist/chunks/{config-7zsfxkzx.js → persistent-pty-bcsjh7qn.js} +13 -13
  109. package/dist/chunks/{config-y3edmtj1.js → persistent-pty-bkxj05eb.js} +13 -13
  110. package/dist/chunks/{config-w1v3pp9p.js → persistent-pty-bmqevcy4.js} +24 -24
  111. package/dist/chunks/{config-grfrd8dm.js → persistent-pty-bxy0qmvh.js} +15 -15
  112. package/dist/chunks/{config-6hjx5zpb.js → persistent-pty-bydnjh3t.js} +9 -9
  113. package/dist/chunks/{config-d23rw8y2.js → persistent-pty-c178vpnr.js} +11 -11
  114. package/dist/chunks/{config-5pmjgeea.js → persistent-pty-c87nfaq6.js} +25 -25
  115. package/dist/chunks/{config-69yhtrb3.js → persistent-pty-c97sszdy.js} +13 -13
  116. package/dist/chunks/{config-yhqk4s98.js → persistent-pty-c98refcx.js} +29 -29
  117. package/dist/chunks/{config-w2pn7q0g.js → persistent-pty-ca1a2yzy.js} +16 -16
  118. package/dist/chunks/persistent-pty-chv7b8n2.js +511 -0
  119. package/dist/chunks/{config-ckecvw8r.js → persistent-pty-ckecvw8r.js} +2 -2
  120. package/dist/chunks/{config-9hn6k4tm.js → persistent-pty-cmwkp3r5.js} +8 -8
  121. package/dist/chunks/{config-8mfdap3f.js → persistent-pty-ctzssw83.js} +5 -5
  122. package/dist/chunks/{config-tc3ts9ah.js → persistent-pty-d3dx1kx7.js} +25 -25
  123. package/dist/chunks/{config-cpneeje0.js → persistent-pty-d4he2qe1.js} +5 -5
  124. package/dist/chunks/{config-j83byb14.js → persistent-pty-dfe8djrf.js} +4 -4
  125. package/dist/chunks/{config-2y34zzjz.js → persistent-pty-dg5bcj4q.js} +6 -6
  126. package/dist/chunks/{config-s0tjnb05.js → persistent-pty-dh5j4tq6.js} +20 -20
  127. package/dist/chunks/{config-mp4gry6m.js → persistent-pty-dm9cr3j9.js} +11 -11
  128. package/dist/chunks/{config-xkntkrq7.js → persistent-pty-dmqcgk4z.js} +5 -5
  129. package/dist/chunks/{config-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
  130. package/dist/chunks/{config-0ajjd2sc.js → persistent-pty-dq65fn51.js} +8 -8
  131. package/dist/chunks/{config-0mtfkzvk.js → persistent-pty-e1hqtx3n.js} +12 -12
  132. package/dist/chunks/{config-ecfe7b91.js → persistent-pty-ecfe7b91.js} +2 -2
  133. package/dist/chunks/{config-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{config-0srn37tb.js → persistent-pty-efvsyy3d.js} +11 -11
  135. package/dist/chunks/{config-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{config-3cfzdc8e.js → persistent-pty-evbgk2k8.js} +5 -5
  137. package/dist/chunks/{config-xcn85n4f.js → persistent-pty-fe6vq8tg.js} +1 -1
  138. package/dist/chunks/{config-wdrw2805.js → persistent-pty-ferhwsec.js} +85 -85
  139. package/dist/chunks/{config-m7844kbn.js → persistent-pty-ff10rxvd.js} +24 -24
  140. package/dist/chunks/{config-7yhjqnc9.js → persistent-pty-fk95fhgy.js} +9 -9
  141. package/dist/chunks/{config-andx0whv.js → persistent-pty-fm0mk9mt.js} +22 -22
  142. package/dist/chunks/{config-ab9rd8f1.js → persistent-pty-ftey8pzc.js} +12 -12
  143. package/dist/chunks/{config-cjme43bx.js → persistent-pty-fwh42rj0.js} +1 -1
  144. package/dist/chunks/{config-82z7scvq.js → persistent-pty-fxzsjm82.js} +9 -9
  145. package/dist/chunks/{config-yx7mb06z.js → persistent-pty-g898w310.js} +14 -14
  146. package/dist/chunks/{config-a46v4e4v.js → persistent-pty-g8d3gcyj.js} +7 -7
  147. package/dist/chunks/{config-27t4zbz5.js → persistent-pty-gaz1nxqp.js} +8 -8
  148. package/dist/chunks/{config-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{config-1j08d8wp.js → persistent-pty-gf6nqq1m.js} +4 -4
  150. package/dist/chunks/{config-zdg4hh7e.js → persistent-pty-ghx2a3j9.js} +43 -43
  151. package/dist/chunks/{config-85apd54q.js → persistent-pty-grzz702c.js} +13 -13
  152. package/dist/chunks/{config-paz8pf0s.js → persistent-pty-gszzdtem.js} +33 -33
  153. package/dist/chunks/{config-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{config-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
  155. package/dist/chunks/{config-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{config-yzyc98yn.js → persistent-pty-h83bje8e.js} +6 -6
  157. package/dist/chunks/{config-8q9myf25.js → persistent-pty-h896pcm5.js} +6 -6
  158. package/dist/chunks/{config-xcdcxew8.js → persistent-pty-h8t5dwg5.js} +3 -3
  159. package/dist/chunks/{config-nxhqveyz.js → persistent-pty-hkfg6fzm.js} +5 -5
  160. package/dist/chunks/{config-zhxfxw39.js → persistent-pty-hm6bha70.js} +31 -31
  161. package/dist/chunks/{config-0r7yqxbf.js → persistent-pty-hnr5yq9h.js} +5 -5
  162. package/dist/chunks/{config-c83556ad.js → persistent-pty-hz0regp5.js} +7 -7
  163. package/dist/chunks/{config-hs6hss1g.js → persistent-pty-hz9bs9b4.js} +40 -40
  164. package/dist/chunks/{config-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  165. package/dist/chunks/{config-e2v0tjas.js → persistent-pty-j64qgxzw.js} +22 -22
  166. package/dist/chunks/{config-t7v71wrn.js → persistent-pty-j783qryr.js} +22 -22
  167. package/dist/chunks/{config-jav3yb7b.js → persistent-pty-j8mh8b5n.js} +41 -41
  168. package/dist/chunks/{config-b90ja75w.js → persistent-pty-jass2s4f.js} +9 -9
  169. package/dist/chunks/{config-y9034cbw.js → persistent-pty-je0jfj0e.js} +4 -4
  170. package/dist/chunks/{config-6bsje7ws.js → persistent-pty-jexxy024.js} +3 -3
  171. package/dist/chunks/{config-3a4shs48.js → persistent-pty-jpbdh4v2.js} +24 -24
  172. package/dist/chunks/{config-9z9trrse.js → persistent-pty-jt30h5qe.js} +24 -24
  173. package/dist/chunks/{config-dx758kx7.js → persistent-pty-jz8rx2zy.js} +21 -21
  174. package/dist/chunks/{config-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
  175. package/dist/chunks/{config-3myvd198.js → persistent-pty-k5r54mqc.js} +47 -47
  176. package/dist/chunks/{config-kthqrwz5.js → persistent-pty-k83jpm1g.js} +9 -9
  177. package/dist/chunks/{config-qy7d9sb7.js → persistent-pty-kcpg680q.js} +25 -25
  178. package/dist/chunks/{config-r6awj1nk.js → persistent-pty-kqts2caf.js} +16 -16
  179. package/dist/chunks/{config-nkr9tsat.js → persistent-pty-kxzq1zxp.js} +1 -1
  180. package/dist/chunks/{config-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{config-p7w3hz34.js → persistent-pty-m6ycr81h.js} +10 -10
  182. package/dist/chunks/{config-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{config-6c7yw9pm.js → persistent-pty-mbd019w6.js} +8 -8
  184. package/dist/chunks/{config-kfpgr0a9.js → persistent-pty-mg504efd.js} +20 -20
  185. package/dist/chunks/{config-3pks5218.js → persistent-pty-mrs83b0h.js} +2 -2
  186. package/dist/chunks/{config-x6k34qeq.js → persistent-pty-msyw7222.js} +1 -1
  187. package/dist/chunks/{config-a1gpj94z.js → persistent-pty-mvfsc1pv.js} +3 -3
  188. package/dist/chunks/{config-2saqjfxf.js → persistent-pty-mze09n65.js} +25 -25
  189. package/dist/chunks/{config-z1n525st.js → persistent-pty-n0et9739.js} +10 -10
  190. package/dist/chunks/persistent-pty-n95b3jav.js +18 -0
  191. package/dist/chunks/{config-he3h4zb1.js → persistent-pty-nps86teb.js} +16 -16
  192. package/dist/chunks/{config-1550v4nk.js → persistent-pty-nyand8e3.js} +42 -42
  193. package/dist/chunks/{config-hbyhqfhs.js → persistent-pty-nz569jqt.js} +5 -5
  194. package/dist/chunks/{config-vy4zg7qh.js → persistent-pty-p1zpfjkz.js} +5 -5
  195. package/dist/chunks/{config-k58htxs6.js → persistent-pty-p7ms2pw6.js} +10 -10
  196. package/dist/chunks/{config-epgnpn45.js → persistent-pty-p820wzt7.js} +64 -64
  197. package/dist/chunks/{config-b6z64nx6.js → persistent-pty-pb0865gs.js} +20 -20
  198. package/dist/chunks/{config-2bgtrqpj.js → persistent-pty-pe71matz.js} +9 -9
  199. package/dist/chunks/{config-kyxhhp43.js → persistent-pty-pfs0r10v.js} +18 -18
  200. package/dist/chunks/{config-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{config-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  202. package/dist/chunks/{config-x85taj0w.js → persistent-pty-pvzwpsva.js} +130 -130
  203. package/dist/chunks/{config-jws6fkes.js → persistent-pty-py3kkmfq.js} +8 -8
  204. package/dist/chunks/{config-crj7t10d.js → persistent-pty-q39ggtte.js} +26 -26
  205. package/dist/chunks/{config-nh68k07w.js → persistent-pty-qcf4k6mm.js} +26 -26
  206. package/dist/chunks/{config-j3s2z371.js → persistent-pty-qg0jgkcp.js} +9 -9
  207. package/dist/chunks/{config-qj8eh1ht.js → persistent-pty-qj8eh1ht.js} +1 -1
  208. package/dist/chunks/{config-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  209. package/dist/chunks/{config-veevhm8d.js → persistent-pty-r8bbrrkb.js} +18 -18
  210. package/dist/chunks/{config-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{config-2cm39q5q.js → persistent-pty-rez8drcy.js} +3 -3
  212. package/dist/chunks/{config-dc90x61j.js → persistent-pty-rgj6km22.js} +6 -6
  213. package/dist/chunks/{config-rczk70st.js → persistent-pty-rkeedwdt.js} +30 -30
  214. package/dist/chunks/{config-4pkf9s6k.js → persistent-pty-rrmj4cxt.js} +8 -8
  215. package/dist/chunks/{config-bgm8582g.js → persistent-pty-rsq3dspb.js} +22 -22
  216. package/dist/chunks/{config-1rvnc3g4.js → persistent-pty-rwxdf6xm.js} +4 -4
  217. package/dist/chunks/persistent-pty-rxfkax64.js +252 -0
  218. package/dist/chunks/{config-c6x07p5x.js → persistent-pty-s61nhqp5.js} +26 -26
  219. package/dist/chunks/{config-2p8k3371.js → persistent-pty-s6dskvww.js} +3 -3
  220. package/dist/chunks/{config-s8d7rejh.js → persistent-pty-s8d7rejh.js} +1 -1
  221. package/dist/chunks/{config-whyarb4n.js → persistent-pty-sd0s3djk.js} +9 -9
  222. package/dist/chunks/{config-2jrdnx2f.js → persistent-pty-sdtemf1j.js} +21 -21
  223. package/dist/chunks/{config-5kb038m0.js → persistent-pty-sgtbqjty.js} +34 -34
  224. package/dist/chunks/{config-0a5prme8.js → persistent-pty-ss1emqjf.js} +15 -15
  225. package/dist/chunks/{config-m6nec9qq.js → persistent-pty-ssdqnhy0.js} +4 -4
  226. package/dist/chunks/{config-x370qp4h.js → persistent-pty-stpqtxx6.js} +11 -11
  227. package/dist/chunks/{config-8weywzx2.js → persistent-pty-sv0hxxy2.js} +11 -11
  228. package/dist/chunks/{config-63hq6j90.js → persistent-pty-swvazs9r.js} +3 -3
  229. package/dist/chunks/{config-gtt51geh.js → persistent-pty-sycenq6p.js} +24 -24
  230. package/dist/chunks/{config-9g00fehr.js → persistent-pty-t5eky83d.js} +12 -12
  231. package/dist/chunks/{config-ax8jf6wh.js → persistent-pty-tanr7chk.js} +6 -6
  232. package/dist/chunks/{config-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{config-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{config-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  235. package/dist/chunks/{config-5cx5mghm.js → persistent-pty-tfz634vt.js} +20 -20
  236. package/dist/chunks/{config-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  237. package/dist/chunks/{config-3xt0gpq2.js → persistent-pty-tzjpraer.js} +21 -21
  238. package/dist/chunks/{config-j9ty9cws.js → persistent-pty-v3sgzvyr.js} +1 -1
  239. package/dist/chunks/{config-gkk129yf.js → persistent-pty-v4nfzjvf.js} +8 -8
  240. package/dist/chunks/{config-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  241. package/dist/chunks/{config-hendpx1y.js → persistent-pty-vhz5xwqz.js} +20 -20
  242. package/dist/chunks/{config-te5kh89r.js → persistent-pty-vk7c57nq.js} +12 -12
  243. package/dist/chunks/{config-hvpdc0sp.js → persistent-pty-vrxb6jmc.js} +11 -11
  244. package/dist/chunks/{config-zwhemmnn.js → persistent-pty-vsy454dw.js} +22 -22
  245. package/dist/chunks/{config-areyx2cx.js → persistent-pty-vxkszqwd.js} +5 -5
  246. package/dist/chunks/{config-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{config-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{config-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{config-yvvvp4gn.js → persistent-pty-w3x9v1nk.js} +8 -8
  250. package/dist/chunks/{config-bdm4x938.js → persistent-pty-w9vf9qqj.js} +9 -9
  251. package/dist/chunks/{config-wd3x2cqz.js → persistent-pty-wd3x2cqz.js} +2 -2
  252. package/dist/chunks/{config-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  253. package/dist/chunks/{config-efmek94c.js → persistent-pty-whngsn6r.js} +5 -5
  254. package/dist/chunks/{config-0dda1jmb.js → persistent-pty-wj4g8yv4.js} +9 -9
  255. package/dist/chunks/{config-9dp61419.js → persistent-pty-wkcf81jx.js} +31 -31
  256. package/dist/chunks/{config-8f5hwpwq.js → persistent-pty-wr3tk2ww.js} +37 -37
  257. package/dist/chunks/{config-9e4j78a5.js → persistent-pty-wwx8h3qn.js} +16 -16
  258. package/dist/chunks/{config-2hed35ym.js → persistent-pty-x0631gwp.js} +3 -3
  259. package/dist/chunks/{config-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{config-0mtekjp2.js → persistent-pty-x2e89f7h.js} +4 -4
  261. package/dist/chunks/{config-v7z2bvyd.js → persistent-pty-x3gqap9d.js} +4 -4
  262. package/dist/chunks/{config-5np739fs.js → persistent-pty-x6nw1v8c.js} +3 -3
  263. package/dist/chunks/{config-xekpbczy.js → persistent-pty-xdbg7gq8.js} +9 -9
  264. package/dist/chunks/{config-pcxghkgz.js → persistent-pty-xf0nr9dv.js} +4 -4
  265. package/dist/chunks/{config-qqeeq2t9.js → persistent-pty-xfkkasph.js} +7 -7
  266. package/dist/chunks/{config-pb6j0kax.js → persistent-pty-xnv07p9r.js} +11 -11
  267. package/dist/chunks/{config-p3y8c77m.js → persistent-pty-xqa3e3de.js} +7 -7
  268. package/dist/chunks/{config-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{config-5tmjy8g0.js → persistent-pty-y1rr13hx.js} +23 -23
  270. package/dist/chunks/{config-j0p8q6br.js → persistent-pty-yavnd24h.js} +32 -32
  271. package/dist/chunks/{config-nanbsj68.js → persistent-pty-yaxb32cc.js} +31 -31
  272. package/dist/chunks/{config-09dpnta2.js → persistent-pty-yaxy18bs.js} +33 -33
  273. package/dist/chunks/{config-phc8pspp.js → persistent-pty-ybhbtxjg.js} +3 -3
  274. package/dist/chunks/{config-q3d453fr.js → persistent-pty-ymaxd8g1.js} +24 -24
  275. package/dist/chunks/{config-rhraev7y.js → persistent-pty-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{config-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{config-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  278. package/dist/chunks/{config-ja9xt0y7.js → persistent-pty-ywptq5a1.js} +4 -4
  279. package/dist/chunks/{config-z07pqspn.js → persistent-pty-z07pqspn.js} +3 -3
  280. package/dist/chunks/{config-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{config-e3n088rr.js → persistent-pty-z1kx27t1.js} +10 -10
  282. package/dist/chunks/{config-341r3sh7.js → persistent-pty-z43b1w6b.js} +4 -4
  283. package/dist/chunks/{config-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  284. package/dist/chunks/{config-ta8av7gg.js → persistent-pty-zbbjan7x.js} +21 -21
  285. package/dist/chunks/{config-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{config-97hg6zht.js → persistent-pty-zfm6w3qw.js} +48 -48
  287. package/dist/chunks/{config-pr720m8d.js → persistent-pty-zmrnz6me.js} +33 -33
  288. package/dist/chunks/{config-2bhzq30a.js → persistent-pty-zmx61mjz.js} +21 -21
  289. package/dist/chunks/{config-stxbhw19.js → persistent-pty-zpp3pb8s.js} +1 -1
  290. package/dist/chunks/{config-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{config-vd01k5jq.js → persistent-pty-zryabcgp.js} +25 -25
  292. package/dist/chunks/{config-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +11 -11
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +214 -214
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +73 -73
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +4 -4
  427. package/dist/filesystem/location-watcher.js +221 -221
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +70 -70
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +76 -76
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +81 -81
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +75 -75
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +102 -102
  486. package/dist/models-dev.js +99 -99
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +80 -80
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +107 -107
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +88 -88
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +104 -104
  497. package/dist/plugin/command.js +101 -101
  498. package/dist/plugin/compaction.js +133 -133
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +220 -220
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +94 -94
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +353 -353
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +5 -5
  557. package/dist/plugin/websearch/firecrawl.js +8 -8
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +6 -6
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +231 -231
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +80 -80
  567. package/dist/provider.js +93 -93
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +92 -92
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +89 -89
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +3 -3
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +97 -97
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +128 -128
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +3 -3
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +221 -221
  588. package/dist/session/execution.js +126 -126
  589. package/dist/session/generate.js +151 -151
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +90 -90
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +77 -77
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +4 -4
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +112 -112
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +170 -170
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +85 -85
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +5 -5
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +214 -214
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +216 -216
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +15 -15
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +106 -106
  637. package/dist/snapshot.js +89 -89
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +127 -127
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +118 -118
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +103 -103
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +215 -215
  652. package/dist/tool/plugin/skill.js +113 -113
  653. package/dist/tool/plugin/subagent.js +217 -217
  654. package/dist/tool/plugin/webfetch.js +112 -112
  655. package/dist/tool/plugin/websearch.js +112 -112
  656. package/dist/tool/plugin/write.js +120 -120
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +16 -16
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +5 -5
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +1 -1
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +91 -91
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +82 -82
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +78 -78
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +8 -8
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +94 -94
  701. package/package.json +8 -8
  702. package/dist/chunks/config-619r8v3y.js +0 -18
  703. package/dist/chunks/config-6kdq0pjd.js +0 -4
  704. package/dist/chunks/config-c2dxfrbp.js +0 -511
  705. package/dist/chunks/config-jm84vjjd.js +0 -252
  706. package/dist/chunks/config-m0gp2a18.js +0 -26
  707. /package/dist/chunks/{config-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{config-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{config-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{config-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{config-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{config-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{config-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{config-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{config-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{config-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
  717. /package/dist/chunks/{config-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{config-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  719. /package/dist/chunks/{config-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{config-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{config-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{config-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{config-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{config-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{config-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{config-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  727. /package/dist/chunks/{config-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{config-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  729. /package/dist/chunks/{config-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  730. /package/dist/chunks/{config-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  731. /package/dist/chunks/{config-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  732. /package/dist/chunks/{config-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  733. /package/dist/chunks/{config-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{config-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{config-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  736. /package/dist/chunks/{config-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  737. /package/dist/chunks/{config-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{config-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{config-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{config-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{config-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{config-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{config-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{config-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{config-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{config-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{config-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{config-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{config-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{config-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{config-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{config-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  753. /package/dist/chunks/{config-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{config-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{config-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{config-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{config-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{config-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{config-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{config-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{config-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{config-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{config-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{config-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{config-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  766. /package/dist/chunks/{config-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{config-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  768. /package/dist/chunks/{config-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{config-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  770. /package/dist/chunks/{config-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{config-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{config-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{config-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{config-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{config-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{config-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{config-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{config-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{config-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{config-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{config-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{config-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{config-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{config-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{config-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{config-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{config-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{config-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{config-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{config-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{config-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{config-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{config-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{config-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{config-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{config-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{config-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  798. /package/dist/chunks/{config-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{config-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{config-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{config-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{config-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{config-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./config-s8d7rejh.js";
8
+ } from "./persistent-pty-s8d7rejh.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./config-ec1grn59.js";
11
+ } from "./persistent-pty-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./config-z07pqspn.js";
15
+ } from "./persistent-pty-z07pqspn.js";
16
16
  import {
17
17
  __export
18
- } from "./config-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./config-2cm39q5q.js";
4
+ } from "./persistent-pty-rez8drcy.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make21,
9
9
  combine2
10
- } from "./config-s8d7rejh.js";
10
+ } from "./persistent-pty-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./config-z07pqspn.js";
13
+ } from "./persistent-pty-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./config-9rqn6x4v.js";
16
+ } from "./persistent-pty-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service32,
25
+ Service: () => Service36,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node36,
29
+ node: () => node40,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service32 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service36 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
@@ -75,7 +75,7 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service32, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service32.of({ list, put, remove, load });
111
+ return Service36.of({ list, put, remove, load });
112
112
  }));
113
- var node36 = makeLocationNode({ service: Service32, layer, deps: [node88] });
113
+ var node40 = makeLocationNode({ service: Service36, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service36, node40, exports_instruction_entry };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./config-ym463w8f.js";
3
+ } from "./persistent-pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./config-ja9xt0y7.js";
4
+ } from "./persistent-pty-ywptq5a1.js";
5
5
  import {
6
- Service68,
7
- node72
8
- } from "./config-j41whdzd.js";
6
+ Service62,
7
+ node66
8
+ } from "./persistent-pty-aajqz8pf.js";
9
9
  import {
10
10
  create3
11
- } from "./config-rdw6cm16.js";
11
+ } from "./persistent-pty-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./config-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event3,
21
- ID: () => ID3,
20
+ Event: () => Event5,
21
+ ID: () => ID4,
22
22
  Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service15,
31
+ Service: () => Service20,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node18
33
+ node: () => node23
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event3 } from "@opencode/schema/websearch";
41
- var ID3 = WebSearch.ID;
40
+ import { Event as Event5 } from "@opencode/schema/websearch";
41
+ var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID3
53
+ providerID: ID4
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID3,
61
+ providerID: ID4,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service15 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service20 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service15, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
69
69
  const bus = yield* Service83;
70
- const kv = yield* Service68;
70
+ const kv = yield* Service62;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service15.of({
127
+ return Service20.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node18 = makeLocationNode({
188
- service: Service15,
187
+ var node23 = makeLocationNode({
188
+ service: Service20,
189
189
  layer,
190
- deps: [node87, node72]
190
+ deps: [node87, node66]
191
191
  });
192
192
 
193
- export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service15, node18, exports_websearch3, Event3 };
193
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service20, node23, exports_websearch3, Event5 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service67
3
- } from "./config-dkv69pj9.js";
2
+ Service61
3
+ } from "./persistent-pty-01nnymx6.js";
4
4
  import {
5
- Service27
6
- } from "./config-vmky7h7j.js";
5
+ Service30
6
+ } from "./persistent-pty-at7effxm.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./config-x1ezjp6w.js";
10
+ } from "./persistent-pty-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make8
19
+ make: () => make5
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make8 = Effect.gen(function* () {
23
- const sessions = yield* Service27;
24
- const jobs = yield* Service67;
22
+ var make5 = Effect.gen(function* () {
23
+ const sessions = yield* Service30;
24
+ const jobs = yield* Service61;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make8 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make8, exports_subagent_job };
61
+ export { make5, exports_subagent_job };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID11,
3
- Service72
4
- } from "./config-2bhzq30a.js";
2
+ ID10,
3
+ Service68
4
+ } from "./persistent-pty-zmx61mjz.js";
5
5
  import {
6
6
  Ref2,
7
- Service63
8
- } from "./config-qy7d9sb7.js";
7
+ Service74
8
+ } from "./persistent-pty-kcpg680q.js";
9
9
  import {
10
10
  latest2,
11
- Service60
12
- } from "./config-pr720m8d.js";
11
+ Service56
12
+ } from "./persistent-pty-zmrnz6me.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./config-6bsje7ws.js";
15
+ } from "./persistent-pty-jexxy024.js";
16
16
  import {
17
- Service67
18
- } from "./config-dkv69pj9.js";
17
+ Service61
18
+ } from "./persistent-pty-01nnymx6.js";
19
19
  import {
20
20
  evaluate2,
21
- Service69
22
- } from "./config-1550v4nk.js";
21
+ Service65
22
+ } from "./persistent-pty-nyand8e3.js";
23
23
  import {
24
- Service27
25
- } from "./config-vmky7h7j.js";
24
+ Service30
25
+ } from "./persistent-pty-at7effxm.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./config-x1ezjp6w.js";
28
+ } from "./persistent-pty-x1ezjp6w.js";
29
29
  import {
30
- make8
31
- } from "./config-y8hck43r.js";
30
+ make5
31
+ } from "./persistent-pty-6a50q89r.js";
32
32
  import {
33
33
  __export
34
- } from "./config-9rqn6x4v.js";
34
+ } from "./persistent-pty-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input12,
39
+ Input: () => Input11,
40
40
  Output: () => Output8,
41
- Plugin: () => Plugin48,
41
+ Plugin: () => Plugin31,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name12
43
+ description: () => description4,
44
+ name: () => name11
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name12 = "subagent";
48
+ var name11 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input12 = Schema.Struct({
59
+ var Input11 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -77,7 +77,7 @@ var Output8 = Schema.Struct({
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin48 = {
89
+ var Plugin31 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service27;
93
- const jobs = yield* Service67;
94
- const agents = yield* Service72;
95
- const config = yield* Service60;
96
- const permission = yield* Service69;
97
- const models = yield* Service63;
98
- const subagents = yield* make8;
92
+ const sessions = yield* Service30;
93
+ const jobs = yield* Service61;
94
+ const agents = yield* Service68;
95
+ const config = yield* Service56;
96
+ const permission = yield* Service65;
97
+ const models = yield* Service74;
98
+ const subagents = yield* make5;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,10 +115,10 @@ var Plugin48 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name11,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input12,
120
+ description: description4,
121
+ input: Input11,
122
122
  output: Output8,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
@@ -139,7 +139,7 @@ var Plugin48 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name12,
142
+ action: name11,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin48 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID11.make(input.agent),
171
+ agent: ID10.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name12 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name11 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name12];
233
+ const tool = event.tools[name11];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name12, Input12, Output8, description5, Plugin48, exports_subagent };
256
+ export { name11, Input11, Output8, description4, Plugin31, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./config-3pks5218.js";
3
+ } from "./persistent-pty-mrs83b0h.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service59,
12
+ Service: () => Service71,
13
13
  canonical: () => canonical3,
14
- node: () => node63,
14
+ node: () => node75,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service59 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service71 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service59, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service71, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node63 = LayerNode.unbound(Service59, Node.tags.values.global);
27
+ var node75 = LayerNode.unbound(Service71, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service59;
29
+ const locations = yield* Service71;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service59, node63, reload2, canonical3, exports_location_service_map };
48
+ export { Service71, node75, reload2, canonical3, exports_location_service_map };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./config-2cm39q5q.js";
4
+ } from "./persistent-pty-rez8drcy.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./config-ja9xt0y7.js";
8
+ } from "./persistent-pty-ywptq5a1.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./config-pknna89w.js";
11
+ } from "./persistent-pty-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./config-3zsf4n22.js";
14
+ } from "./persistent-pty-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./config-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./config-j75kj7v0.js";
4
+ } from "./persistent-pty-9kn5es1x.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  node86
6
- } from "./config-vy4zg7qh.js";
6
+ } from "./persistent-pty-p1zpfjkz.js";
7
7
  import {
8
8
  Service80,
9
9
  node84
10
- } from "./config-3pks5218.js";
10
+ } from "./persistent-pty-mrs83b0h.js";
11
11
  import {
12
12
  create3
13
- } from "./config-rdw6cm16.js";
13
+ } from "./persistent-pty-rdw6cm16.js";
14
14
  import {
15
15
  make12
16
- } from "./config-2p8k3371.js";
16
+ } from "./persistent-pty-s6dskvww.js";
17
17
  import {
18
18
  __export
19
- } from "./config-9rqn6x4v.js";
19
+ } from "./persistent-pty-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service19,
24
+ Service: () => Service27,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node22
26
+ node: () => node30
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,9 +31,9 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service19 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service27 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service19, Effect.gen(function* () {
36
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
37
37
  const location = yield* Service80;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make12;
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service19.of({ ...state, directory: location.directory });
58
+ return Service27.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node22 = makeLocationNode({
61
- service: Service19,
60
+ var node30 = makeLocationNode({
61
+ service: Service27,
62
62
  layer,
63
63
  deps: [node84, Global.node, node86, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service19, node22, exports_strategies };
66
+ export { Service27, node30, exports_strategies };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service57
3
- } from "./config-8q9myf25.js";
2
+ Service50
3
+ } from "./persistent-pty-h896pcm5.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./config-619r8v3y.js";
6
+ } from "./persistent-pty-n95b3jav.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./config-phc8pspp.js";
9
+ } from "./persistent-pty-ybhbtxjg.js";
10
10
  import {
11
- Service40
12
- } from "./config-yx7mb06z.js";
11
+ Service46
12
+ } from "./persistent-pty-g898w310.js";
13
13
  import {
14
14
  __export
15
- } from "./config-9rqn6x4v.js";
15
+ } from "./persistent-pty-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service57;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
25
+ const instances = yield* Service50;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });