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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{persistent-pty-7ps108p2.js → app-00tc97x6.js} +16 -16
  8. package/dist/chunks/{persistent-pty-cyf4hc4a.js → app-018ppdfs.js} +34 -34
  9. package/dist/chunks/{persistent-pty-pz6e2333.js → app-03kct9wb.js} +46 -46
  10. package/dist/chunks/{persistent-pty-w7e5sy50.js → app-06mz46jt.js} +79 -79
  11. package/dist/chunks/{persistent-pty-452d3xjs.js → app-098fe3mk.js} +23 -23
  12. package/dist/chunks/{persistent-pty-ys4q2a0p.js → app-0fg6gx8x.js} +5 -5
  13. package/dist/chunks/{persistent-pty-q0xm7vwc.js → app-0j77ygfz.js} +6 -6
  14. package/dist/chunks/{persistent-pty-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{persistent-pty-0vbcp93d.js → app-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{persistent-pty-va0yvadb.js → app-12r3qe60.js} +20 -20
  17. package/dist/chunks/{persistent-pty-acmc0np2.js → app-17tfw75y.js} +8 -8
  18. package/dist/chunks/{persistent-pty-rhraev7y.js → app-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{persistent-pty-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{persistent-pty-r21g991y.js → app-1e9rxs9s.js} +7 -7
  21. package/dist/chunks/{persistent-pty-jx91nfq8.js → app-1hz6wq56.js} +17 -17
  22. package/dist/chunks/{persistent-pty-cfsekr6v.js → app-1p07q0wb.js} +4 -4
  23. package/dist/chunks/{persistent-pty-n91836cy.js → app-1r9ttb7t.js} +5 -5
  24. package/dist/chunks/{persistent-pty-3sj8yt8v.js → app-1rn5pcm9.js} +4 -4
  25. package/dist/chunks/{persistent-pty-33w4ejhs.js → app-1ygqh575.js} +6 -6
  26. package/dist/chunks/{persistent-pty-2zfembs1.js → app-24hm6k32.js} +3 -3
  27. package/dist/chunks/{persistent-pty-tk4fwett.js → app-2982jzzt.js} +12 -12
  28. package/dist/chunks/{persistent-pty-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{persistent-pty-tag6x3x4.js → app-2bekqz3a.js} +13 -13
  30. package/dist/chunks/{persistent-pty-4ts7tf6z.js → app-2ccvkpx1.js} +2 -2
  31. package/dist/chunks/{persistent-pty-qkpjj9ac.js → app-2h7yfs5w.js} +11 -11
  32. package/dist/chunks/{persistent-pty-bx0gyb4h.js → app-2k9fjx65.js} +5 -5
  33. package/dist/chunks/{persistent-pty-6wm4d0bn.js → app-2neqxdah.js} +15 -15
  34. package/dist/chunks/{persistent-pty-mjymc32g.js → app-2pnhn36q.js} +21 -21
  35. package/dist/chunks/{persistent-pty-t6x8032s.js → app-2rbrp7jb.js} +13 -13
  36. package/dist/chunks/{persistent-pty-f21pkny0.js → app-2rer0ne6.js} +11 -11
  37. package/dist/chunks/{persistent-pty-cwa6csj7.js → app-2sejkfem.js} +9 -9
  38. package/dist/chunks/{persistent-pty-dnjek89v.js → app-2v9fd8ey.js} +24 -24
  39. package/dist/chunks/{persistent-pty-tr0vwqfg.js → app-33q7m53w.js} +22 -22
  40. package/dist/chunks/{persistent-pty-0vyhe54f.js → app-34bkcnyz.js} +11 -11
  41. package/dist/chunks/{persistent-pty-ekgbms86.js → app-36wye889.js} +14 -14
  42. package/dist/chunks/{persistent-pty-k8hpw67k.js → app-3801kdgp.js} +5 -5
  43. package/dist/chunks/{persistent-pty-a9f75xna.js → app-3apnc6ky.js} +11 -11
  44. package/dist/chunks/{persistent-pty-dr7bzdbp.js → app-3ax0yfc7.js} +22 -22
  45. package/dist/chunks/{persistent-pty-kn76agft.js → app-3c3c7wca.js} +14 -14
  46. package/dist/chunks/{persistent-pty-h2b79v29.js → app-3cegwx68.js} +2 -2
  47. package/dist/chunks/{persistent-pty-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{persistent-pty-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{persistent-pty-f2tgbz6g.js → app-3hwbbpqt.js} +11 -11
  50. package/dist/chunks/{persistent-pty-3hepmaxp.js → app-3mwz7nfm.js} +2 -2
  51. package/dist/chunks/{persistent-pty-s478zet3.js → app-3ng7cddz.js} +8 -8
  52. package/dist/chunks/{persistent-pty-99zegn8n.js → app-3s0pfq9s.js} +13 -13
  53. package/dist/chunks/{persistent-pty-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  54. package/dist/chunks/{persistent-pty-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  55. package/dist/chunks/{persistent-pty-0t67e6aq.js → app-3vefb4re.js} +15 -15
  56. package/dist/chunks/{persistent-pty-3zsf4n22.js → app-3zsf4n22.js} +1 -1
  57. package/dist/chunks/{persistent-pty-qja65tr3.js → app-43c1yg1a.js} +3 -3
  58. package/dist/chunks/{persistent-pty-8mbscqky.js → app-43h198y8.js} +8 -8
  59. package/dist/chunks/{persistent-pty-3w9mrsnt.js → app-4az4fysj.js} +144 -144
  60. package/dist/chunks/{persistent-pty-5tw36xmv.js → app-4h8em95f.js} +26 -26
  61. package/dist/chunks/{persistent-pty-w2vs668w.js → app-4mm45p72.js} +2 -2
  62. package/dist/chunks/{persistent-pty-btbmdjwj.js → app-4v7ngy20.js} +4 -4
  63. package/dist/chunks/{persistent-pty-frs7w0sc.js → app-4zzkahvh.js} +20 -20
  64. package/dist/chunks/{persistent-pty-4rnf1fga.js → app-52m6gza4.js} +3 -3
  65. package/dist/chunks/{persistent-pty-2wv1r8xa.js → app-53vn6xbp.js} +10 -10
  66. package/dist/chunks/{persistent-pty-54ma36ye.js → app-54ma36ye.js} +1 -1
  67. package/dist/chunks/{persistent-pty-svq9n8fc.js → app-54ynfdxw.js} +24 -24
  68. package/dist/chunks/{persistent-pty-dz8kt8cs.js → app-559tgykp.js} +45 -45
  69. package/dist/chunks/{persistent-pty-h4yj3hfn.js → app-55v1gf6h.js} +9 -9
  70. package/dist/chunks/{persistent-pty-g5w8qwbj.js → app-57b9ws8p.js} +7 -7
  71. package/dist/chunks/{persistent-pty-p5ccpjke.js → app-59h7kjyf.js} +4 -4
  72. package/dist/chunks/{persistent-pty-7efngqr9.js → app-5f2vy3ed.js} +11 -11
  73. package/dist/chunks/{persistent-pty-60p1jfrx.js → app-5gapkcq6.js} +16 -16
  74. package/dist/chunks/{persistent-pty-abvg2g3b.js → app-5m5v2ph6.js} +4 -4
  75. package/dist/chunks/{persistent-pty-5m9w47nd.js → app-5m9w47nd.js} +1 -1
  76. package/dist/chunks/{persistent-pty-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  77. package/dist/chunks/{persistent-pty-w57dmcrw.js → app-5v86ktep.js} +45 -45
  78. package/dist/chunks/{persistent-pty-m57p7dy9.js → app-5w8k9h5t.js} +20 -20
  79. package/dist/chunks/{persistent-pty-tpw6cwsb.js → app-5yzzbxa7.js} +8 -8
  80. package/dist/chunks/{persistent-pty-3932bm6w.js → app-64dc8y9e.js} +28 -28
  81. package/dist/chunks/{persistent-pty-a6mcp28b.js → app-65dm53es.js} +11 -11
  82. package/dist/chunks/{persistent-pty-5w9yjztw.js → app-68wqtz75.js} +1 -1
  83. package/dist/chunks/{persistent-pty-4jyvzrab.js → app-6b2zjn2e.js} +9 -9
  84. package/dist/chunks/{persistent-pty-z8aq2wwt.js → app-6e3dg2f6.js} +25 -25
  85. package/dist/chunks/{persistent-pty-8wnx5jkb.js → app-6gxe4cq5.js} +12 -12
  86. package/dist/chunks/{persistent-pty-esvm55dh.js → app-6h1ernme.js} +11 -11
  87. package/dist/chunks/{persistent-pty-66fjaabt.js → app-6pts7s9a.js} +20 -20
  88. package/dist/chunks/{persistent-pty-h20gnzmc.js → app-6rbzf5tk.js} +18 -18
  89. package/dist/chunks/{persistent-pty-5nqjp53p.js → app-6v1br9ph.js} +15 -15
  90. package/dist/chunks/{persistent-pty-6xb47vfp.js → app-6xb47vfp.js} +1 -1
  91. package/dist/chunks/{persistent-pty-74q28yk0.js → app-6xhnd6a9.js} +14 -14
  92. package/dist/chunks/{persistent-pty-wh6zw745.js → app-6yz0wx8n.js} +5 -5
  93. package/dist/chunks/{persistent-pty-mbnxefga.js → app-6z2ym5vj.js} +2 -2
  94. package/dist/chunks/{persistent-pty-6m3pxvzn.js → app-72xj61mp.js} +1 -1
  95. package/dist/chunks/{persistent-pty-mvbwjcmq.js → app-75w6bsvg.js} +15 -15
  96. package/dist/chunks/{persistent-pty-gpe2knh0.js → app-79x46kac.js} +22 -22
  97. package/dist/chunks/{persistent-pty-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  98. package/dist/chunks/{persistent-pty-294dxt6s.js → app-7k2ey016.js} +32 -32
  99. package/dist/chunks/{persistent-pty-mkcqfmf9.js → app-80hetss1.js} +15 -15
  100. package/dist/chunks/{persistent-pty-1dvck2a7.js → app-84h8c373.js} +2 -2
  101. package/dist/chunks/{persistent-pty-84txncab.js → app-84txncab.js} +1 -1
  102. package/dist/chunks/{persistent-pty-3d9da72j.js → app-8azk9p8z.js} +9 -9
  103. package/dist/chunks/{persistent-pty-qam9v5v6.js → app-8d3qwqqg.js} +18 -18
  104. package/dist/chunks/{persistent-pty-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  105. package/dist/chunks/{persistent-pty-8m6m0r52.js → app-8m6m0r52.js} +1 -1
  106. package/dist/chunks/{persistent-pty-7j2qha59.js → app-8n69n882.js} +8 -8
  107. package/dist/chunks/{persistent-pty-y01hq6fz.js → app-8tpt8f0y.js} +16 -16
  108. package/dist/chunks/{persistent-pty-sg0z4cbk.js → app-8v17a88r.js} +51 -51
  109. package/dist/chunks/{persistent-pty-h4gx7g90.js → app-93pdqz28.js} +28 -28
  110. package/dist/chunks/{persistent-pty-krfd5zbt.js → app-9jn7j7tt.js} +25 -25
  111. package/dist/chunks/{persistent-pty-acvbq3eb.js → app-9nz6zwhg.js} +9 -9
  112. package/dist/chunks/{persistent-pty-x1aggpc5.js → app-9pgse4ra.js} +29 -29
  113. package/dist/chunks/{persistent-pty-qpnhhads.js → app-9vtyevkh.js} +42 -42
  114. package/dist/chunks/{persistent-pty-qcb4xgkg.js → app-9xrr90wg.js} +38 -38
  115. package/dist/chunks/{persistent-pty-vq7qj473.js → app-a0f6av8n.js} +11 -11
  116. package/dist/chunks/{persistent-pty-mhkvc446.js → app-a1gpj94z.js} +3 -3
  117. package/dist/chunks/{persistent-pty-t2fc4mz5.js → app-a46v4e4v.js} +4 -4
  118. package/dist/chunks/{persistent-pty-9mtr07j4.js → app-a68zm1md.js} +24 -24
  119. package/dist/chunks/{persistent-pty-p9rzmxqj.js → app-a904gsa5.js} +89 -89
  120. package/dist/chunks/{persistent-pty-aaet6srn.js → app-aaet6srn.js} +2 -2
  121. package/dist/chunks/{persistent-pty-d5end4r0.js → app-ab3d4pqa.js} +23 -23
  122. package/dist/chunks/{persistent-pty-addxnjmp.js → app-addxnjmp.js} +1 -1
  123. package/dist/chunks/{persistent-pty-bs615f2f.js → app-aeqvwfe1.js} +32 -32
  124. package/dist/chunks/{persistent-pty-m9jge9he.js → app-ag8nf72d.js} +48 -48
  125. package/dist/chunks/{persistent-pty-qabhdn7r.js → app-ajybbawx.js} +11 -11
  126. package/dist/chunks/{persistent-pty-9cva8bgq.js → app-am64aq6c.js} +6 -6
  127. package/dist/chunks/{persistent-pty-7ffm7kw8.js → app-as7nmgbh.js} +27 -27
  128. package/dist/chunks/{persistent-pty-ffs2e08n.js → app-at302bxq.js} +59 -59
  129. package/dist/chunks/{persistent-pty-1f9aggj6.js → app-awm2njxg.js} +21 -21
  130. package/dist/chunks/{persistent-pty-v2s7p60s.js → app-b0h21z71.js} +13 -13
  131. package/dist/chunks/{persistent-pty-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  132. package/dist/chunks/{persistent-pty-gae362ez.js → app-b96cn7zz.js} +11 -11
  133. package/dist/chunks/{persistent-pty-wakgm00q.js → app-bbwqkcqr.js} +32 -32
  134. package/dist/chunks/{persistent-pty-56y8pkfk.js → app-bt3m45q8.js} +7 -7
  135. package/dist/chunks/{persistent-pty-f8jd5471.js → app-c4f2sby5.js} +35 -35
  136. package/dist/chunks/{persistent-pty-vy5bmntt.js → app-c548srbv.js} +6 -6
  137. package/dist/chunks/{persistent-pty-ydfvykp3.js → app-c74z2wy8.js} +34 -34
  138. package/dist/chunks/{persistent-pty-bhr47zss.js → app-cd5z9b72.js} +49 -49
  139. package/dist/chunks/{persistent-pty-2xsz0vfe.js → app-che7g758.js} +11 -11
  140. package/dist/chunks/{persistent-pty-z3b9gz9j.js → app-cjbj8cer.js} +3 -3
  141. package/dist/chunks/{persistent-pty-k3tzam8s.js → app-cssfm7dk.js} +11 -11
  142. package/dist/chunks/{persistent-pty-a4y9yw62.js → app-cyax57bv.js} +4 -4
  143. package/dist/chunks/{persistent-pty-a98w2xn9.js → app-dg7t82en.js} +21 -21
  144. package/dist/chunks/{persistent-pty-qe9h9j2v.js → app-e2b1ys05.js} +10 -10
  145. package/dist/chunks/{persistent-pty-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
  146. package/dist/chunks/{persistent-pty-j95ptk0s.js → app-e79sw3j2.js} +27 -27
  147. package/dist/chunks/{persistent-pty-d4wtke4k.js → app-ebv0kcgn.js} +4 -4
  148. package/dist/chunks/{persistent-pty-fkxkd9y2.js → app-edvz4h1b.js} +18 -18
  149. package/dist/chunks/{persistent-pty-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  150. package/dist/chunks/{persistent-pty-qhq1qkp9.js → app-eh5brkmg.js} +16 -16
  151. package/dist/chunks/{persistent-pty-fzvyqwy2.js → app-en7remwr.js} +18 -18
  152. package/dist/chunks/{persistent-pty-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{persistent-pty-qf44y2mr.js → app-ewtj9365.js} +26 -26
  154. package/dist/chunks/{persistent-pty-brp8zeym.js → app-f3j7ywnm.js} +6 -6
  155. package/dist/chunks/{persistent-pty-frac477b.js → app-f6wc2q4n.js} +15 -15
  156. package/dist/chunks/{persistent-pty-71az546q.js → app-f75zav2x.js} +2 -2
  157. package/dist/chunks/{persistent-pty-qgn6gcr1.js → app-fcrkznn8.js} +5 -5
  158. package/dist/chunks/{persistent-pty-enbmzra5.js → app-fdvjt5wn.js} +33 -33
  159. package/dist/chunks/{persistent-pty-a68ybyfr.js → app-fp8wcdtv.js} +9 -9
  160. package/dist/chunks/{persistent-pty-g59hsv3e.js → app-fvd9f4mn.js} +32 -32
  161. package/dist/chunks/{persistent-pty-77f241gp.js → app-fy5ttvwe.js} +11 -11
  162. package/dist/chunks/{persistent-pty-59f1da7z.js → app-g4kysk4p.js} +22 -22
  163. package/dist/chunks/{persistent-pty-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{persistent-pty-9144esny.js → app-gfkzenkt.js} +3 -3
  165. package/dist/chunks/{persistent-pty-rp3v7rzg.js → app-ggttjc8j.js} +18 -18
  166. package/dist/chunks/{persistent-pty-pd8w2hzr.js → app-gpky00x2.js} +4 -4
  167. package/dist/chunks/{persistent-pty-fxzv5hcv.js → app-gvqmc7m3.js} +17 -17
  168. package/dist/chunks/app-gxnhhzv9.js +26 -0
  169. package/dist/chunks/{persistent-pty-v2dgrqw5.js → app-h4racawz.js} +5 -5
  170. package/dist/chunks/{persistent-pty-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{persistent-pty-mq2s0m0j.js → app-hdv8n0d2.js} +8 -8
  172. package/dist/chunks/{persistent-pty-g64e51y2.js → app-hhzn5z4s.js} +1 -1
  173. package/dist/chunks/{persistent-pty-4n6aeebd.js → app-hzny3y8a.js} +17 -17
  174. package/dist/chunks/{persistent-pty-8d6z1td2.js → app-j1vzxwv0.js} +35 -35
  175. package/dist/chunks/{persistent-pty-6h9jd8xm.js → app-j48mxfsb.js} +13 -13
  176. package/dist/chunks/{persistent-pty-j56e64zr.js → app-j56e64zr.js} +1 -1
  177. package/dist/chunks/{persistent-pty-0frbsszj.js → app-jdm3n6sf.js} +2 -2
  178. package/dist/chunks/{persistent-pty-0hf9g8pg.js → app-jhf3jymm.js} +6 -6
  179. package/dist/chunks/{persistent-pty-jvtb2vkm.js → app-jtx23d9m.js} +92 -92
  180. package/dist/chunks/{persistent-pty-tkjmd8ah.js → app-k376pqv5.js} +9 -9
  181. package/dist/chunks/{persistent-pty-71cxckq4.js → app-k3k5vc9k.js} +25 -25
  182. package/dist/chunks/{persistent-pty-s2tvcjnh.js → app-k8scpeqb.js} +23 -23
  183. package/dist/chunks/{persistent-pty-9e5bzkjp.js → app-kb9j3d72.js} +3 -3
  184. package/dist/chunks/{persistent-pty-3vvm55qk.js → app-ky2z2zzr.js} +22 -22
  185. package/dist/chunks/{persistent-pty-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{persistent-pty-k76fn4kw.js → app-m70sbz6t.js} +4 -4
  187. package/dist/chunks/{persistent-pty-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{persistent-pty-mqjweymz.js → app-mrpta61x.js} +7 -7
  189. package/dist/chunks/{persistent-pty-mhgx8wws.js → app-mwwxnxty.js} +4 -4
  190. package/dist/chunks/{persistent-pty-tgxmpcwb.js → app-myagxq7v.js} +23 -23
  191. package/dist/chunks/{persistent-pty-vc6ttyax.js → app-myegs7hd.js} +26 -26
  192. package/dist/chunks/{persistent-pty-5c29pvm2.js → app-n6ghhx49.js} +13 -13
  193. package/dist/chunks/{persistent-pty-07j4p7xr.js → app-n8jbzbza.js} +1 -1
  194. package/dist/chunks/{persistent-pty-64va9agc.js → app-n95gdchj.js} +1 -1
  195. package/dist/chunks/{persistent-pty-bxn9kzm3.js → app-nb8zx5az.js} +14 -14
  196. package/dist/chunks/{persistent-pty-3t58r30e.js → app-nh59bet8.js} +9 -9
  197. package/dist/chunks/{persistent-pty-rpdsffkf.js → app-nsffqzsr.js} +18 -18
  198. package/dist/chunks/{persistent-pty-nxm207yx.js → app-nxm207yx.js} +1 -1
  199. package/dist/chunks/{persistent-pty-hgbx6y65.js → app-nz1ghecr.js} +14 -14
  200. package/dist/chunks/{persistent-pty-jw3c4zpw.js → app-nzrh85jz.js} +10 -10
  201. package/dist/chunks/{persistent-pty-v6w1ycpy.js → app-pbj1haba.js} +17 -17
  202. package/dist/chunks/{persistent-pty-80scg3y3.js → app-pct1c8gm.js} +4 -4
  203. package/dist/chunks/{persistent-pty-hz8hz416.js → app-pj9pwecr.js} +13 -13
  204. package/dist/chunks/{persistent-pty-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{persistent-pty-pknna89w.js → app-pknna89w.js} +1 -1
  206. package/dist/chunks/{persistent-pty-dt81nn0a.js → app-pq6et22q.js} +13 -13
  207. package/dist/chunks/{persistent-pty-5706e983.js → app-px4qgdev.js} +23 -23
  208. package/dist/chunks/{persistent-pty-8rz84ek2.js → app-q0nn7z57.js} +18 -18
  209. package/dist/chunks/{persistent-pty-e875qc4w.js → app-q6y0etq2.js} +3 -3
  210. package/dist/chunks/{persistent-pty-4paq57hf.js → app-qab72qe3.js} +9 -9
  211. package/dist/chunks/{persistent-pty-mjc7kzsv.js → app-qepwbzdj.js} +30 -30
  212. package/dist/chunks/{persistent-pty-c9w4s4wj.js → app-qfvd55q3.js} +3 -3
  213. package/dist/chunks/{persistent-pty-qnc92qwc.js → app-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{persistent-pty-p9mp4ezq.js → app-qqmaegjt.js} +11 -11
  215. package/dist/chunks/{persistent-pty-qsdy395h.js → app-qsdy395h.js} +1 -1
  216. package/dist/chunks/{persistent-pty-90y6s5gw.js → app-qx80409e.js} +11 -11
  217. package/dist/chunks/{persistent-pty-6styks70.js → app-ra1c8wyj.js} +44 -44
  218. package/dist/chunks/{persistent-pty-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{persistent-pty-34q6evc7.js → app-rsyn2ckf.js} +4 -4
  220. package/dist/chunks/{persistent-pty-x2v10rcr.js → app-rw31z61t.js} +35 -35
  221. package/dist/chunks/{persistent-pty-mrvgqbj6.js → app-s1fs8q6r.js} +14 -14
  222. package/dist/chunks/app-s5z9kbx9.js +507 -0
  223. package/dist/chunks/{persistent-pty-b3f8fkhc.js → app-scgrse2b.js} +5 -5
  224. package/dist/chunks/{persistent-pty-10544tvr.js → app-sfy7ehd8.js} +14 -14
  225. package/dist/chunks/{persistent-pty-dcq95y2f.js → app-sjvvx1qa.js} +55 -55
  226. package/dist/chunks/{persistent-pty-tej6jj18.js → app-sk420qmf.js} +1 -1
  227. package/dist/chunks/{persistent-pty-srq8z0b0.js → app-srq8z0b0.js} +2 -2
  228. package/dist/chunks/{persistent-pty-agk8v0ng.js → app-ssrrgkwb.js} +25 -25
  229. package/dist/chunks/{persistent-pty-s8d7rejh.js → app-t550f9t1.js} +4 -4
  230. package/dist/chunks/{persistent-pty-jqmrr43j.js → app-t79e82xz.js} +32 -32
  231. package/dist/chunks/{persistent-pty-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{persistent-pty-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  233. package/dist/chunks/app-tcs06fzy.js +253 -0
  234. package/dist/chunks/{persistent-pty-rrt0a0ha.js → app-tdhfktd2.js} +3 -3
  235. package/dist/chunks/{persistent-pty-qffxxdg5.js → app-tdp0st3d.js} +13 -15
  236. package/dist/chunks/{persistent-pty-tdstcens.js → app-tdstcens.js} +1 -1
  237. package/dist/chunks/{persistent-pty-v0es1rhs.js → app-v0es1rhs.js} +2 -2
  238. package/dist/chunks/{persistent-pty-5yp2r36g.js → app-v0p45h9m.js} +23 -23
  239. package/dist/chunks/{persistent-pty-yw99rzrh.js → app-v3m01vtq.js} +21 -21
  240. package/dist/chunks/{persistent-pty-9zee5fs2.js → app-va4e1bea.js} +21 -21
  241. package/dist/chunks/{persistent-pty-veqvce7d.js → app-veqvce7d.js} +1 -1
  242. package/dist/chunks/{persistent-pty-wd489eb9.js → app-vfc7sam6.js} +4 -4
  243. package/dist/chunks/{persistent-pty-4ejbdg5p.js → app-vfwcfwze.js} +11 -11
  244. package/dist/chunks/app-vnkjks7b.js +18 -0
  245. package/dist/chunks/{persistent-pty-c2dj01cg.js → app-vq93hb7v.js} +25 -25
  246. package/dist/chunks/{persistent-pty-qanbtx8r.js → app-vq9dw0ec.js} +3 -3
  247. package/dist/chunks/{persistent-pty-zyt2xg97.js → app-vz2ddh6r.js} +10 -10
  248. package/dist/chunks/{persistent-pty-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{persistent-pty-gft05b0a.js → app-w1ad28wa.js} +8 -8
  250. package/dist/chunks/{persistent-pty-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{persistent-pty-de9gfr1m.js → app-wcb2d4kv.js} +16 -16
  252. package/dist/chunks/{persistent-pty-wd87259q.js → app-wd87259q.js} +1 -1
  253. package/dist/chunks/{persistent-pty-5ytnddsz.js → app-we7nx0d1.js} +7 -7
  254. package/dist/chunks/{persistent-pty-f6yrfa37.js → app-wecabfbf.js} +24 -24
  255. package/dist/chunks/{persistent-pty-5m1y6tht.js → app-wep0v1av.js} +5 -5
  256. package/dist/chunks/{persistent-pty-0dgnvyav.js → app-wj3p97gz.js} +11 -11
  257. package/dist/chunks/{persistent-pty-33g5rmys.js → app-wr07d2b2.js} +8 -8
  258. package/dist/chunks/{persistent-pty-zn647a2n.js → app-wrh6rkj6.js} +14 -14
  259. package/dist/chunks/{persistent-pty-1z0qe0de.js → app-wtxvq4vf.js} +11 -11
  260. package/dist/chunks/{persistent-pty-yq69kk6a.js → app-wx8zyhp6.js} +16 -16
  261. package/dist/chunks/{persistent-pty-3fm4gsbd.js → app-x11j81y8.js} +1 -1
  262. package/dist/chunks/{persistent-pty-p22s9xh3.js → app-x65vdt4q.js} +9 -9
  263. package/dist/chunks/{persistent-pty-zfs8ae4p.js → app-x674hrsd.js} +4 -4
  264. package/dist/chunks/{persistent-pty-nt5zybzt.js → app-xgxxq3zy.js} +36 -36
  265. package/dist/chunks/{persistent-pty-xkntkrq7.js → app-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{persistent-pty-nkzrceyp.js → app-xkr535z2.js} +23 -23
  267. package/dist/chunks/{persistent-pty-7f56anht.js → app-xmn1nr2d.js} +9 -9
  268. package/dist/chunks/{persistent-pty-wfh6bfqk.js → app-xmy5x03q.js} +18 -18
  269. package/dist/chunks/{persistent-pty-zab19jja.js → app-xs0sd5xy.js} +9 -9
  270. package/dist/chunks/{persistent-pty-mhmqmh3t.js → app-xsnnd65c.js} +23 -23
  271. package/dist/chunks/{persistent-pty-qxjc9qry.js → app-xyafkbt0.js} +3 -3
  272. package/dist/chunks/{persistent-pty-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{persistent-pty-fypvnyj1.js → app-y2w9x1bq.js} +4 -4
  274. package/dist/chunks/{persistent-pty-246p6v4n.js → app-ye1ez53h.js} +18 -18
  275. package/dist/chunks/{persistent-pty-2a5r5kzg.js → app-ynfrtsnr.js} +24 -24
  276. package/dist/chunks/{persistent-pty-p8xb6st8.js → app-yvjdnyb5.js} +6 -6
  277. package/dist/chunks/{persistent-pty-6mhqdab4.js → app-yzmjq8bj.js} +24 -24
  278. package/dist/chunks/{persistent-pty-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{persistent-pty-gasqarw7.js → app-z3ca2px9.js} +19 -19
  280. package/dist/chunks/{persistent-pty-zdd0mkhs.js → app-z723eh4q.js} +8 -8
  281. package/dist/chunks/{persistent-pty-79sjm6pt.js → app-zadjm48w.js} +8 -8
  282. package/dist/chunks/{persistent-pty-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{persistent-pty-gebtr55s.js → app-zw4pk1bw.js} +5 -5
  284. package/dist/chunks/{persistent-pty-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +82 -82
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +117 -117
  294. package/dist/config/plugin/command.js +206 -206
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +117 -117
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +119 -119
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +118 -118
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +117 -117
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +118 -118
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +122 -122
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +71 -71
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +80 -80
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +96 -96
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +75 -75
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +221 -221
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +94 -94
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +95 -95
  424. package/dist/form.js +81 -81
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +104 -104
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +100 -100
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +82 -82
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +82 -82
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +108 -108
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +86 -86
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +104 -104
  468. package/dist/mcp/instructions.js +130 -130
  469. package/dist/mcp/oauth.js +79 -79
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +100 -100
  473. package/dist/model-resolver.js +99 -99
  474. package/dist/model.js +95 -95
  475. package/dist/models-dev.js +100 -100
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +114 -114
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +75 -75
  486. package/dist/plugin/command.js +101 -101
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +118 -118
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/digitalocean.js +94 -94
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +96 -96
  510. package/dist/plugin/provider/gitlab.js +94 -94
  511. package/dist/plugin/provider/google-vertex.js +91 -91
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +79 -79
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/local.js +114 -114
  516. package/dist/plugin/provider/modal.js +93 -93
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai.js +94 -94
  520. package/dist/plugin/provider/opencode.js +98 -98
  521. package/dist/plugin/provider/openrouter.js +92 -92
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +80 -80
  524. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  525. package/dist/plugin/provider/sap-ai-core.js +92 -92
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  528. package/dist/plugin/provider/vercel.js +91 -91
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +92 -92
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +135 -135
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +87 -87
  541. package/dist/plugin/vcs/hg.js +87 -87
  542. package/dist/plugin/verbosity.js +94 -94
  543. package/dist/plugin/warming.js +115 -115
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +217 -217
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +94 -94
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +92 -92
  559. package/dist/reference/instructions.js +90 -90
  560. package/dist/reference.js +88 -88
  561. package/dist/repository-cache.js +82 -82
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +98 -98
  565. package/dist/rpc.js +87 -87
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +75 -75
  569. package/dist/session/compaction.js +134 -134
  570. package/dist/session/context.js +154 -154
  571. package/dist/session/diff.js +89 -89
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +218 -218
  576. package/dist/session/execution.js +126 -126
  577. package/dist/session/generate.js +155 -155
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +89 -89
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +98 -98
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +121 -121
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +130 -130
  589. package/dist/session/projector.js +87 -87
  590. package/dist/session/prompt.js +106 -106
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +91 -91
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +99 -99
  598. package/dist/session/runner/publish-llm-event.js +114 -114
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +126 -126
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +165 -165
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +104 -104
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +76 -76
  608. package/dist/session/store.js +86 -86
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +204 -204
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +158 -158
  613. package/dist/session/to-session-error.js +112 -112
  614. package/dist/session/transfer.js +217 -217
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +210 -210
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +2 -2
  623. package/dist/skill/instructions.js +108 -108
  624. package/dist/skill.js +109 -109
  625. package/dist/snapshot.js +92 -92
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +129 -129
  630. package/dist/tool/plugin/edit.js +121 -121
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +125 -125
  633. package/dist/tool/plugin/grep.js +121 -121
  634. package/dist/tool/plugin/mcp-resource.js +118 -118
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +104 -104
  638. package/dist/tool/plugin/read.js +126 -126
  639. package/dist/tool/plugin/shell.js +205 -205
  640. package/dist/tool/plugin/skill.js +114 -114
  641. package/dist/tool/plugin/subagent.js +213 -213
  642. package/dist/tool/plugin/webfetch.js +111 -111
  643. package/dist/tool/plugin/websearch.js +113 -113
  644. package/dist/tool/plugin/write.js +123 -123
  645. package/dist/tool/read-filesystem.js +97 -97
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +93 -93
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +92 -92
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +90 -90
  670. package/dist/websearch.js +81 -81
  671. package/dist/wellknown/plugin.js +77 -77
  672. package/dist/wellknown.js +82 -82
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +81 -81
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +90 -90
  680. package/dist/worktree.js +97 -97
  681. package/package.json +8 -8
  682. package/dist/chunks/persistent-pty-4hytf82j.js +0 -253
  683. package/dist/chunks/persistent-pty-em9fqdhz.js +0 -26
  684. package/dist/chunks/persistent-pty-jqh9b0xq.js +0 -18
  685. package/dist/chunks/persistent-pty-kxa68w8a.js +0 -507
  686. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{persistent-pty-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{persistent-pty-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{persistent-pty-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-24dcb14g.js → app-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-2710q6r3.js → app-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-34c7v6d4.js → app-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-359p4xyc.js → app-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-3asan66x.js → app-3asan66x.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-53557ph1.js → app-53557ph1.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-550bvhaj.js → app-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-6prwharc.js → app-6prwharc.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-7m9af43g.js → app-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-822emrt2.js → app-822emrt2.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-84wd9syh.js → app-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-8n3pysct.js → app-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-8wj87zfr.js → app-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-af5trqkr.js → app-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-afrmfg78.js → app-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-d9fn303g.js → app-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-dajrwvna.js → app-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-dap0rakb.js → app-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-df08tz66.js → app-df08tz66.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-dy18nga0.js → app-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-ec1grn59.js → app-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-faypxj3z.js → app-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-fd410y7t.js → app-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-g86h250q.js → app-g86h250q.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-gftt206x.js → app-gftt206x.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-hk9envan.js → app-hk9envan.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-mp448xyj.js → app-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-njntx4h6.js → app-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-q74kybfr.js → app-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-w803qqfp.js → app-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-wtztk69x.js → app-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-x61499pn.js → app-x61499pn.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-y44na4kk.js → app-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-y8f7s663.js → app-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ym463w8f.js → app-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node52
5
- } from "./persistent-pty-p9mp4ezq.js";
4
+ node63
5
+ } from "./app-qqmaegjt.js";
6
6
  import {
7
- Service83,
8
- node87
9
- } from "./persistent-pty-de9gfr1m.js";
7
+ Service81,
8
+ node85
9
+ } from "./app-wcb2d4kv.js";
10
10
  import {
11
11
  native2,
12
12
  ID13,
13
13
  aisdk2
14
- } from "./persistent-pty-gpe2knh0.js";
14
+ } from "./app-79x46kac.js";
15
15
  import {
16
16
  ID12,
17
17
  Family2,
18
18
  compatibility2
19
- } from "./persistent-pty-1f9aggj6.js";
19
+ } from "./app-awm2njxg.js";
20
20
  import {
21
21
  resolve2
22
- } from "./persistent-pty-4rnf1fga.js";
22
+ } from "./app-52m6gza4.js";
23
23
  import {
24
- Service69,
25
- node73
26
- } from "./persistent-pty-t6x8032s.js";
24
+ Service72,
25
+ node76
26
+ } from "./app-2rbrp7jb.js";
27
27
  import {
28
28
  __export
29
- } from "./persistent-pty-9rqn6x4v.js";
29
+ } from "./app-9rqn6x4v.js";
30
30
 
31
31
  // src/models-dev.ts
32
32
  var exports_models_dev = {};
@@ -35,11 +35,11 @@ __export(exports_models_dev, {
35
35
  Event: () => Event2,
36
36
  ModelsDev: () => exports_models_dev,
37
37
  Options: () => Options2,
38
- Service: () => Service14,
38
+ Service: () => Service13,
39
39
  bodyDigest: () => bodyDigest2,
40
40
  configured: () => configured2,
41
41
  layer: () => layer8,
42
- node: () => node16
42
+ node: () => node15
43
43
  });
44
44
  import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
45
45
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
@@ -199,7 +199,7 @@ var Options2 = Schema.Struct({
199
199
  snapshot: Schema.optional(Schema.Boolean)
200
200
  });
201
201
 
202
- class Service14 extends Context.Service()("@opencode/ModelsDev") {
202
+ class Service13 extends Context.Service()("@opencode/ModelsDev") {
203
203
  }
204
204
  var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
205
205
  var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
@@ -222,11 +222,11 @@ function cacheKey(source) {
222
222
  function bodyDigest2(text) {
223
223
  return Hash.sha256(text);
224
224
  }
225
- var layer8 = (options) => Layer.effect(Service14, Effect.gen(function* () {
225
+ var layer8 = (options) => Layer.effect(Service13, Effect.gen(function* () {
226
226
  const fs = yield* FSUtil.Service;
227
- const bus = yield* Service83;
227
+ const bus = yield* Service81;
228
228
  const app = yield* Metadata2;
229
- const kv = yield* Service69;
229
+ const kv = yield* Service72;
230
230
  const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
231
231
  retryOn: "errors-and-responses",
232
232
  times: 2,
@@ -306,15 +306,15 @@ var layer8 = (options) => Layer.effect(Service14, Effect.gen(function* () {
306
306
  if (fetch && !process.argv.includes("--get-yargs-completions")) {
307
307
  yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
308
308
  }
309
- return Service14.of({ get, refresh });
309
+ return Service13.of({ get, refresh });
310
310
  }));
311
311
  function configured2(options) {
312
312
  return makeGlobalNode({
313
- service: Service14,
313
+ service: Service13,
314
314
  layer: layer8(options),
315
- deps: [FSUtil.node, node87, node52, node73, httpClient]
315
+ deps: [FSUtil.node, node85, node63, node76, httpClient]
316
316
  });
317
317
  }
318
- var node16 = configured2();
318
+ var node15 = configured2();
319
319
 
320
- export { CatalogModelStatus2, Options2, Service14, bodyDigest2, layer8, configured2, node16, exports_models_dev, Event2 };
320
+ export { CatalogModelStatus2, Options2, Service13, bodyDigest2, layer8, configured2, node15, exports_models_dev, Event2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service80
3
- } from "./persistent-pty-bxn9kzm3.js";
2
+ Service79
3
+ } from "./app-nb8zx5az.js";
4
4
  import {
5
- Service63
6
- } from "./persistent-pty-f6yrfa37.js";
5
+ Service65
6
+ } from "./app-wecabfbf.js";
7
7
  import {
8
- Service18,
8
+ Service47,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./persistent-pty-6h9jd8xm.js";
11
+ } from "./app-j48mxfsb.js";
12
12
  import {
13
- Service13
14
- } from "./persistent-pty-6wm4d0bn.js";
13
+ Service46
14
+ } from "./app-2neqxdah.js";
15
15
  import {
16
- Service57
17
- } from "./persistent-pty-dcq95y2f.js";
16
+ Service50
17
+ } from "./app-sjvvx1qa.js";
18
18
  import {
19
- Service22,
19
+ Service49,
20
20
  resolvePath2
21
- } from "./persistent-pty-wfh6bfqk.js";
21
+ } from "./app-xmy5x03q.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./persistent-pty-6prwharc.js";
24
+ } from "./app-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./persistent-pty-9rqn6x4v.js";
27
+ } from "./app-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input7,
34
- Output: () => Output6,
35
- Plugin: () => Plugin8,
36
- name: () => name7
33
+ Input: () => Input3,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin20,
36
+ name: () => name3
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name7 = "edit";
43
- var Input7 = Schema.Struct({
42
+ var name3 = "edit";
43
+ var Input3 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input7 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin8 = {
106
+ var Plugin20 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service22;
110
- const fileMutation = yield* Service18;
111
- const environment = yield* Service63;
112
- const formatter = yield* Service13;
113
- const location = yield* Service80;
114
- const permission = yield* Service57;
109
+ const access = yield* Service49;
110
+ const fileMutation = yield* Service47;
111
+ const environment = yield* Service65;
112
+ const formatter = yield* Service46;
113
+ const location = yield* Service79;
114
+ const permission = yield* Service50;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name7,
116
+ name: name3,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input7,
120
- output: Output6,
119
+ input: Input3,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin8 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name7, Input7, Output6, Plugin8, exports_edit };
197
+ export { name3, Input3, Output3, Plugin20, exports_edit };
@@ -1,82 +1,82 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./persistent-pty-2xsz0vfe.js";
2
+ Service82,
3
+ node86
4
+ } from "./app-che7g758.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./persistent-pty-de9gfr1m.js";
6
+ Service81,
7
+ node85
8
+ } from "./app-wcb2d4kv.js";
9
9
  import {
10
10
  create3
11
- } from "./persistent-pty-rdw6cm16.js";
11
+ } from "./app-rdw6cm16.js";
12
12
  import {
13
- ID11,
14
- Service72,
15
- node76
16
- } from "./persistent-pty-j95ptk0s.js";
13
+ ID10,
14
+ Service54,
15
+ node56
16
+ } from "./app-e79sw3j2.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./persistent-pty-5t3nmthw.js";
19
+ } from "./app-5t3nmthw.js";
20
20
  import {
21
- Service75,
22
- node79
23
- } from "./persistent-pty-1f9aggj6.js";
21
+ Service73,
22
+ node77
23
+ } from "./app-awm2njxg.js";
24
24
  import {
25
25
  estimate2
26
- } from "./persistent-pty-h6vf3j39.js";
26
+ } from "./app-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./persistent-pty-ec1grn59.js";
29
+ } from "./app-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./persistent-pty-3sj8yt8v.js";
35
+ } from "./app-1rn5pcm9.js";
36
36
  import {
37
- load5
38
- } from "./persistent-pty-qabhdn7r.js";
37
+ load4
38
+ } from "./app-ajybbawx.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./persistent-pty-5w9yjztw.js";
41
+ } from "./app-68wqtz75.js";
42
42
  import {
43
43
  baseTranscript2,
44
44
  unsupportedParts2,
45
45
  boundImages2,
46
- Service37,
47
- node40
48
- } from "./persistent-pty-enbmzra5.js";
46
+ Service27,
47
+ node30
48
+ } from "./app-fdvjt5wn.js";
49
49
  import {
50
- Service54,
51
- node57
52
- } from "./persistent-pty-hz8hz416.js";
50
+ Service36,
51
+ node38
52
+ } from "./app-pj9pwecr.js";
53
53
  import {
54
54
  isRetryable2,
55
55
  policy2
56
- } from "./persistent-pty-b3f8fkhc.js";
56
+ } from "./app-scgrse2b.js";
57
57
  import {
58
58
  toSessionError2,
59
59
  contentFilterError2
60
- } from "./persistent-pty-v2dgrqw5.js";
60
+ } from "./app-h4racawz.js";
61
61
  import {
62
62
  calculateCost2,
63
63
  record2,
64
64
  add2
65
- } from "./persistent-pty-tdstcens.js";
65
+ } from "./app-tdstcens.js";
66
66
  import {
67
67
  __export
68
- } from "./persistent-pty-9rqn6x4v.js";
68
+ } from "./app-9rqn6x4v.js";
69
69
 
70
70
  // src/session/compaction.ts
71
71
  var exports_compaction2 = {};
72
72
  __export(exports_compaction2, {
73
- Service: () => Service10,
73
+ Service: () => Service12,
74
74
  SessionCompaction: () => exports_compaction2,
75
75
  buildPrompt: () => buildPrompt2,
76
76
  estimateContext: () => estimateContext2,
77
77
  estimatePrompt: () => estimatePrompt2,
78
78
  layer: () => layer7,
79
- node: () => node12,
79
+ node: () => node14,
80
80
  recentUserMessages: () => recentUserMessages2
81
81
  });
82
82
  import {
@@ -92,7 +92,7 @@ import {
92
92
  } from "@opencode/ai";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
94
  import { Context, Effect, Layer, Result, Stream } from "effect";
95
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
95
+ class Service12 extends Context.Service()("@opencode/SessionCompaction") {
96
96
  }
97
97
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
98
98
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
171
171
  };
172
172
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
173
173
  var LEGACY_HEADING = "## Additional Context";
174
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
175
- const agents = yield* Service72;
176
- const bus = yield* Service83;
174
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
175
+ const agents = yield* Service54;
176
+ const bus = yield* Service81;
177
177
  const llm = yield* LLMClient.Service;
178
- const catalog = yield* Service75;
179
- const models = yield* Service54;
180
- const db = (yield* Service84).db;
181
- const requests = yield* Service37;
178
+ const catalog = yield* Service73;
179
+ const models = yield* Service36;
180
+ const db = (yield* Service82).db;
181
+ const requests = yield* Service27;
182
182
  const state = create3({
183
183
  name: "session-compaction",
184
184
  initial: () => ({ auto: true, keep: 15000 }),
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
196
196
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
197
197
  return { status: "skipped" };
198
198
  const native = context.model.compaction?.type === "native";
199
- const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
199
+ const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
200
200
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
201
201
  return;
202
202
  })))) ?? context.model;
@@ -272,7 +272,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
272
272
  const send = (request) => {
273
273
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
274
274
  return Effect.gen(function* () {
275
- const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
275
+ const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
276
276
  const retained = recentUserMessages2(history, context.model, keep);
277
277
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
278
278
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -472,16 +472,16 @@ ${text}`;
472
472
  }, { metadata: outcome.metadata });
473
473
  return { status: "completed" };
474
474
  });
475
- return Service10.of({
475
+ return Service12.of({
476
476
  transform: state.transform,
477
477
  reload: state.reload,
478
478
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
479
479
  });
480
480
  }));
481
- var node12 = makeLocationNode({
482
- service: Service10,
481
+ var node14 = makeLocationNode({
482
+ service: Service12,
483
483
  layer: layer7,
484
- deps: [node76, node87, node88, llmClient2, node79, node40, node57]
484
+ deps: [node56, node85, node86, llmClient2, node77, node30, node38]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
686
686
  return 0;
687
687
  };
688
688
 
689
- export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
689
+ export { Service12, buildPrompt2, layer7, node14, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./app-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./persistent-pty-rrt0a0ha.js";
6
+ } from "./app-tdhfktd2.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./persistent-pty-r21g991y.js";
9
+ } from "./app-1e9rxs9s.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./persistent-pty-s8d7rejh.js";
13
+ } from "./app-t550f9t1.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./persistent-pty-9e5bzkjp.js";
16
+ } from "./app-kb9j3d72.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./persistent-pty-zfs8ae4p.js";
20
+ } from "./app-x674hrsd.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./persistent-pty-3sj8yt8v.js";
25
+ } from "./app-1rn5pcm9.js";
26
26
  import {
27
27
  __export
28
- } from "./persistent-pty-9rqn6x4v.js";
28
+ } from "./app-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load5,
38
+ load: () => load4,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error4,
9
+ Error: () => Error5,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
13
  make: () => make22,
14
- node: () => node68,
14
+ node: () => node70,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node68 = registryNode2({});
47
+ var node70 = registryNode2({});
48
48
 
49
- export { Binding2, Error4, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node68, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node70, exports_driver };
@@ -2,43 +2,43 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./persistent-pty-2a5m3afh.js";
5
+ } from "./app-2a5m3afh.js";
6
6
  import {
7
- Service80
8
- } from "./persistent-pty-bxn9kzm3.js";
7
+ Service79
8
+ } from "./app-nb8zx5az.js";
9
9
  import {
10
- Service63
11
- } from "./persistent-pty-f6yrfa37.js";
10
+ Service65
11
+ } from "./app-wecabfbf.js";
12
12
  import {
13
- Service13
14
- } from "./persistent-pty-6wm4d0bn.js";
13
+ Service46
14
+ } from "./app-2neqxdah.js";
15
15
  import {
16
- Service18,
16
+ Service47,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./persistent-pty-6h9jd8xm.js";
19
+ } from "./app-j48mxfsb.js";
20
20
  import {
21
- Service57
22
- } from "./persistent-pty-dcq95y2f.js";
21
+ Service50
22
+ } from "./app-sjvvx1qa.js";
23
23
  import {
24
- Service22,
24
+ Service49,
25
25
  resolvePath2
26
- } from "./persistent-pty-wfh6bfqk.js";
26
+ } from "./app-xmy5x03q.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./persistent-pty-6prwharc.js";
29
+ } from "./app-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./persistent-pty-9rqn6x4v.js";
32
+ } from "./app-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
38
  Input: () => Input8,
39
- Output: () => Output7,
39
+ Output: () => Output5,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin9,
41
+ Plugin: () => Plugin26,
42
42
  name: () => name8,
43
43
  toModelContent: () => toModelContent4
44
44
  });
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output7 = Schema.Struct({
99
+ var Output5 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
@@ -105,21 +105,21 @@ var toModelContent4 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin9 = {
108
+ var Plugin26 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service63;
112
- const access = yield* Service22;
113
- const fileMutation = yield* Service18;
114
- const formatter = yield* Service13;
115
- const location = yield* Service80;
116
- const permission = yield* Service57;
111
+ const environment = yield* Service65;
112
+ const access = yield* Service49;
113
+ const fileMutation = yield* Service47;
114
+ const formatter = yield* Service46;
115
+ const location = yield* Service79;
116
+ const permission = yield* Service50;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
118
  name: name8,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
121
  input: Input8,
122
- output: Output7,
122
+ output: Output5,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name8, Input8, Applied2, Output7, toModelContent4, Plugin9, exports_patch };
329
+ export { name8, Input8, Applied2, Output5, toModelContent4, Plugin26, exports_patch };