@opencode/core 0.0.0-dev-21741 → 0.0.0-dev-21744

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{provider-034tev2y.js → persistent-pty-034tev2y.js} +2 -2
  8. package/dist/chunks/{provider-32s59e8p.js → persistent-pty-0421tmwc.js} +9 -9
  9. package/dist/chunks/{provider-2d7s4snt.js → persistent-pty-04weq3x2.js} +1 -1
  10. package/dist/chunks/{provider-4fp36y3f.js → persistent-pty-0632eqgh.js} +3 -3
  11. package/dist/chunks/{provider-79456s4q.js → persistent-pty-0684c0fn.js} +53 -53
  12. package/dist/chunks/{provider-bzc2yew2.js → persistent-pty-06ye6eb3.js} +17 -17
  13. package/dist/chunks/{provider-zt6nk4e1.js → persistent-pty-0h92kc2j.js} +53 -53
  14. package/dist/chunks/{provider-b9ctexwj.js → persistent-pty-0napkvzb.js} +7 -7
  15. package/dist/chunks/{provider-mbrvjtz5.js → persistent-pty-0rm6s08x.js} +5 -5
  16. package/dist/chunks/{provider-1pyzd5rz.js → persistent-pty-1ec99x82.js} +4 -4
  17. package/dist/chunks/{provider-1ep2p91f.js → persistent-pty-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{provider-0rm99xvh.js → persistent-pty-1s0mnecd.js} +20 -20
  19. package/dist/chunks/{provider-19mm4jkf.js → persistent-pty-1sxr849h.js} +18 -18
  20. package/dist/chunks/{provider-293zmzk3.js → persistent-pty-1x1aw5pg.js} +25 -25
  21. package/dist/chunks/{provider-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{provider-5zrxpy3q.js → persistent-pty-1yq9hg58.js} +5 -5
  23. package/dist/chunks/{provider-4apf49bg.js → persistent-pty-217xj7j6.js} +18 -18
  24. package/dist/chunks/{provider-8fvj0qxe.js → persistent-pty-21shbp3c.js} +1 -1
  25. package/dist/chunks/{provider-9kx3zt08.js → persistent-pty-22nay2w2.js} +20 -20
  26. package/dist/chunks/{provider-cgcf1fbe.js → persistent-pty-28xx6mqq.js} +36 -36
  27. package/dist/chunks/{provider-bkrx76dd.js → persistent-pty-2gxrk7d9.js} +21 -21
  28. package/dist/chunks/{provider-xn1qvzts.js → persistent-pty-2h4s3pty.js} +13 -13
  29. package/dist/chunks/{provider-mybr8r82.js → persistent-pty-2sja5ejk.js} +24 -24
  30. package/dist/chunks/{provider-nzabrtva.js → persistent-pty-2vpteqgm.js} +30 -30
  31. package/dist/chunks/{provider-bnmdnzdy.js → persistent-pty-2w4r60qq.js} +19 -19
  32. package/dist/chunks/{provider-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
  33. package/dist/chunks/{provider-jj9caqwr.js → persistent-pty-31avdb49.js} +11 -11
  34. package/dist/chunks/{provider-k8ydtb0c.js → persistent-pty-32wt4071.js} +31 -31
  35. package/dist/chunks/{provider-pa2pq7zw.js → persistent-pty-34sg93nd.js} +14 -14
  36. package/dist/chunks/{provider-kvn4msk3.js → persistent-pty-37ebxhrk.js} +28 -28
  37. package/dist/chunks/{provider-8r9nj4s8.js → persistent-pty-3gv0spa2.js} +4 -4
  38. package/dist/chunks/{provider-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{provider-3ek9mykt.js → persistent-pty-3meb4hzg.js} +20 -20
  40. package/dist/chunks/persistent-pty-3n162ras.js +257 -0
  41. package/dist/chunks/{provider-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
  42. package/dist/chunks/{provider-40za9wsf.js → persistent-pty-40za9wsf.js} +2 -2
  43. package/dist/chunks/{provider-n0zcxq73.js → persistent-pty-41sj8m6y.js} +42 -42
  44. package/dist/chunks/{provider-ex2hmasg.js → persistent-pty-45sfs8sj.js} +90 -90
  45. package/dist/chunks/{provider-90mqr9hk.js → persistent-pty-46e84wtw.js} +19 -19
  46. package/dist/chunks/{provider-4patj9gp.js → persistent-pty-4epsaaqh.js} +43 -43
  47. package/dist/chunks/{provider-n6k44f0v.js → persistent-pty-4n958r4n.js} +12 -12
  48. package/dist/chunks/{provider-ms6z8pm2.js → persistent-pty-4r8h05df.js} +11 -11
  49. package/dist/chunks/{provider-fb40hhpr.js → persistent-pty-4ty1vvqa.js} +52 -35
  50. package/dist/chunks/{provider-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
  51. package/dist/chunks/{provider-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
  52. package/dist/chunks/{provider-fma07qn0.js → persistent-pty-55xtcbpn.js} +32 -32
  53. package/dist/chunks/{provider-kc4ez2ea.js → persistent-pty-56xpzs9c.js} +8 -8
  54. package/dist/chunks/{provider-7n1pfn98.js → persistent-pty-5859qd6n.js} +6 -6
  55. package/dist/chunks/{provider-be70t1qn.js → persistent-pty-58hfgte4.js} +17 -17
  56. package/dist/chunks/{provider-h4fm09gc.js → persistent-pty-5fmnhnpa.js} +32 -32
  57. package/dist/chunks/{provider-mfwfc967.js → persistent-pty-5gk89hyb.js} +5 -5
  58. package/dist/chunks/{provider-c8gkay0f.js → persistent-pty-5jdy5dqf.js} +11 -11
  59. package/dist/chunks/{provider-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{provider-b6vsg801.js → persistent-pty-5nnwax6m.js} +5 -5
  61. package/dist/chunks/{provider-q8tzggtk.js → persistent-pty-5pav4dzc.js} +16 -16
  62. package/dist/chunks/{provider-yd1ff7ye.js → persistent-pty-5pdz8c62.js} +12 -12
  63. package/dist/chunks/{provider-wzwsv8q3.js → persistent-pty-5r72z9dp.js} +8 -8
  64. package/dist/chunks/{provider-6q02j29c.js → persistent-pty-5t3az672.js} +9 -9
  65. package/dist/chunks/{provider-5dcgybnw.js → persistent-pty-5ynz4802.js} +14 -14
  66. package/dist/chunks/{provider-fy319ky4.js → persistent-pty-664py638.js} +22 -22
  67. package/dist/chunks/{provider-0w85m5rg.js → persistent-pty-67efwznc.js} +2 -2
  68. package/dist/chunks/{provider-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
  69. package/dist/chunks/{provider-fa1zjye2.js → persistent-pty-6fet8kw9.js} +33 -33
  70. package/dist/chunks/{provider-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
  71. package/dist/chunks/{provider-6a1y2vt9.js → persistent-pty-6swdm730.js} +11 -11
  72. package/dist/chunks/{provider-trdhprzm.js → persistent-pty-6zrn44nt.js} +25 -25
  73. package/dist/chunks/{provider-edpnj26g.js → persistent-pty-70kc41j2.js} +17 -17
  74. package/dist/chunks/{provider-w8qtt4th.js → persistent-pty-76cb1hcw.js} +4 -4
  75. package/dist/chunks/{provider-770pw0s1.js → persistent-pty-770pw0s1.js} +1 -1
  76. package/dist/chunks/{provider-z7ndhpe4.js → persistent-pty-77wcnkh0.js} +3 -3
  77. package/dist/chunks/{provider-5bther4g.js → persistent-pty-797shz3x.js} +4 -4
  78. package/dist/chunks/{provider-nbn2ey7n.js → persistent-pty-7a6h672n.js} +31 -31
  79. package/dist/chunks/{provider-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{provider-vfrgx50f.js → persistent-pty-7n4p8fby.js} +11 -10
  81. package/dist/chunks/{provider-6t7x7vt4.js → persistent-pty-7rdhxjgc.js} +17 -17
  82. package/dist/chunks/{provider-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
  83. package/dist/chunks/{provider-5at8t5d4.js → persistent-pty-7w9zqejt.js} +6 -6
  84. package/dist/chunks/{provider-xnzn40zn.js → persistent-pty-7y4z3x5j.js} +13 -13
  85. package/dist/chunks/{provider-k37f66a8.js → persistent-pty-814m6n4n.js} +5 -5
  86. package/dist/chunks/{provider-yr9cnj92.js → persistent-pty-81cr296g.js} +4 -4
  87. package/dist/chunks/{provider-70xnp472.js → persistent-pty-82jsxv0a.js} +9 -9
  88. package/dist/chunks/{provider-9fjfbv8x.js → persistent-pty-86e8kg08.js} +22 -22
  89. package/dist/chunks/{provider-c7sk7bjx.js → persistent-pty-873dcxyb.js} +14 -14
  90. package/dist/chunks/{provider-trxcyxd6.js → persistent-pty-8ccrat7s.js} +30 -30
  91. package/dist/chunks/{provider-xfdx5fe6.js → persistent-pty-8fpr5ab5.js} +18 -18
  92. package/dist/chunks/{provider-0b26th02.js → persistent-pty-8je04gjc.js} +20 -20
  93. package/dist/chunks/{provider-zavmbsdh.js → persistent-pty-8k8pzbp4.js} +8 -8
  94. package/dist/chunks/{provider-szcgc7h4.js → persistent-pty-8wc2fpae.js} +5 -5
  95. package/dist/chunks/{provider-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
  96. package/dist/chunks/{provider-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
  97. package/dist/chunks/{provider-6468grjv.js → persistent-pty-95e9m93s.js} +32 -32
  98. package/dist/chunks/{provider-998yhzzq.js → persistent-pty-998yhzzq.js} +3 -3
  99. package/dist/chunks/{provider-xrrkbgsx.js → persistent-pty-9r7t50b7.js} +25 -25
  100. package/dist/chunks/{provider-r9jfb1cd.js → persistent-pty-a2w9rrzy.js} +11 -11
  101. package/dist/chunks/{provider-b1wgcghj.js → persistent-pty-a4se2td7.js} +18 -18
  102. package/dist/chunks/{provider-saf3hjad.js → persistent-pty-aa2f750d.js} +21 -21
  103. package/dist/chunks/{provider-ayjs7tqn.js → persistent-pty-ayjs7tqn.js} +2 -2
  104. package/dist/chunks/{provider-sgn7mg05.js → persistent-pty-b07vwb4h.js} +11 -11
  105. package/dist/chunks/{provider-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
  106. package/dist/chunks/{provider-rsemmny5.js → persistent-pty-b3xh8pxk.js} +15 -15
  107. package/dist/chunks/{provider-k861cbc6.js → persistent-pty-b3yw44ee.js} +16 -16
  108. package/dist/chunks/{provider-tmnyjpnt.js → persistent-pty-b5wrmqhk.js} +47 -47
  109. package/dist/chunks/{provider-vp6aw561.js → persistent-pty-b6rq8t5k.js} +12 -12
  110. package/dist/chunks/{provider-42jd4697.js → persistent-pty-bjhzkqyk.js} +4 -4
  111. package/dist/chunks/{provider-vzmjdaw1.js → persistent-pty-bqwdyg2t.js} +9 -9
  112. package/dist/chunks/{provider-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
  113. package/dist/chunks/{provider-057k196j.js → persistent-pty-bt0t07qj.js} +6 -6
  114. package/dist/chunks/{provider-7jzx5pkr.js → persistent-pty-bxhrky7s.js} +17 -17
  115. package/dist/chunks/{provider-jxd4r8gh.js → persistent-pty-c29kbh88.js} +34 -34
  116. package/dist/chunks/{provider-c3cfh5w6.js → persistent-pty-c3cfh5w6.js} +2 -2
  117. package/dist/chunks/{provider-51d35nkj.js → persistent-pty-c4phwmq5.js} +6 -6
  118. package/dist/chunks/{provider-c8666r4c.js → persistent-pty-c8666r4c.js} +3 -3
  119. package/dist/chunks/{provider-39nsvtx9.js → persistent-pty-ce3j1brk.js} +5 -5
  120. package/dist/chunks/{provider-skambewy.js → persistent-pty-cp9n3ykm.js} +5 -5
  121. package/dist/chunks/{provider-bjr1sk69.js → persistent-pty-cpnm63yh.js} +16 -16
  122. package/dist/chunks/{provider-8417gb1w.js → persistent-pty-czrs21h8.js} +23 -23
  123. package/dist/chunks/{provider-5fm86d73.js → persistent-pty-d068nwqk.js} +51 -51
  124. package/dist/chunks/{provider-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
  125. package/dist/chunks/{provider-47te7ynq.js → persistent-pty-d5w3mt28.js} +47 -47
  126. package/dist/chunks/{provider-kqwvs3nc.js → persistent-pty-ddabbtyq.js} +9 -9
  127. package/dist/chunks/{provider-2a13tp2z.js → persistent-pty-dg56bc3d.js} +9 -9
  128. package/dist/chunks/{provider-wggbn9vm.js → persistent-pty-dm97zhd4.js} +7 -7
  129. package/dist/chunks/{provider-sgvwp5dh.js → persistent-pty-dpj9egcy.js} +45 -45
  130. package/dist/chunks/{provider-fr33pd02.js → persistent-pty-drtz06md.js} +29 -29
  131. package/dist/chunks/{provider-46ynt52a.js → persistent-pty-dx717f1h.js} +18 -18
  132. package/dist/chunks/{provider-m0emhkmq.js → persistent-pty-dzx8s7jj.js} +43 -43
  133. package/dist/chunks/{provider-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
  134. package/dist/chunks/{provider-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
  135. package/dist/chunks/{provider-258zgyd3.js → persistent-pty-eab1f0bk.js} +4 -4
  136. package/dist/chunks/{provider-q2y63fzp.js → persistent-pty-edkmkvd1.js} +30 -30
  137. package/dist/chunks/persistent-pty-eeqys4qb.js +26 -0
  138. package/dist/chunks/{provider-q49789rj.js → persistent-pty-ef2tezb6.js} +2 -2
  139. package/dist/chunks/{provider-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{provider-wcr2gwqf.js → persistent-pty-ehs73kjs.js} +15 -15
  141. package/dist/chunks/{provider-mpme1wak.js → persistent-pty-ejef0twz.js} +15 -15
  142. package/dist/chunks/{provider-mhqptywc.js → persistent-pty-f4cj6rne.js} +37 -37
  143. package/dist/chunks/{provider-pacbbjc0.js → persistent-pty-faewc6h3.js} +5 -5
  144. package/dist/chunks/{provider-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{provider-zhbremzm.js → persistent-pty-fk3tbwms.js} +20 -20
  146. package/dist/chunks/{provider-naz61gwx.js → persistent-pty-fpsgw1gs.js} +8 -8
  147. package/dist/chunks/{provider-aa4v34y7.js → persistent-pty-fszm4xf1.js} +15 -15
  148. package/dist/chunks/{provider-ny1dbsp1.js → persistent-pty-ft0wh87x.js} +13 -13
  149. package/dist/chunks/{provider-rf6dem1w.js → persistent-pty-g1448m63.js} +13 -13
  150. package/dist/chunks/{provider-b3r2jmtt.js → persistent-pty-g3z36636.js} +48 -48
  151. package/dist/chunks/{provider-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
  152. package/dist/chunks/{provider-y00x4xpa.js → persistent-pty-g9ndtp1p.js} +4 -4
  153. package/dist/chunks/{provider-9hrhwkwn.js → persistent-pty-gg4d4fs9.js} +27 -27
  154. package/dist/chunks/{provider-35ezct5e.js → persistent-pty-gshxnf6j.js} +2 -2
  155. package/dist/chunks/{provider-qkms8zfm.js → persistent-pty-gt2ebmdc.js} +6 -6
  156. package/dist/chunks/{provider-v2dw9gpr.js → persistent-pty-gt6rtydt.js} +8 -8
  157. package/dist/chunks/{provider-a25a1x4r.js → persistent-pty-h3a8j4mf.js} +11 -11
  158. package/dist/chunks/{provider-wsbmx4s9.js → persistent-pty-h65t1svj.js} +25 -25
  159. package/dist/chunks/{provider-pkhmamfe.js → persistent-pty-h6ss1yxx.js} +9 -9
  160. package/dist/chunks/{provider-c79r94da.js → persistent-pty-h8nswts1.js} +6 -6
  161. package/dist/chunks/{provider-3d68epx0.js → persistent-pty-hkex4stx.js} +12 -12
  162. package/dist/chunks/{provider-325tyq60.js → persistent-pty-hq18ybh7.js} +8 -8
  163. package/dist/chunks/{provider-0egfcpbc.js → persistent-pty-hty8fpa1.js} +10 -10
  164. package/dist/chunks/{provider-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
  165. package/dist/chunks/{provider-6f5ac1z8.js → persistent-pty-jaa51j8b.js} +35 -35
  166. package/dist/chunks/{provider-d1f6cs1b.js → persistent-pty-jn8j44c7.js} +20 -20
  167. package/dist/chunks/{provider-jz5mkmtx.js → persistent-pty-jneg3k74.js} +4 -4
  168. package/dist/chunks/{provider-1hgtrac8.js → persistent-pty-jpk6pjf6.js} +17 -17
  169. package/dist/chunks/{provider-7yfnjvkq.js → persistent-pty-jt1mpbrn.js} +26 -26
  170. package/dist/chunks/{provider-gr1qaqsf.js → persistent-pty-jvgjeprd.js} +8 -8
  171. package/dist/chunks/{provider-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
  172. package/dist/chunks/{provider-mqcadzqw.js → persistent-pty-kb4gstwj.js} +5 -5
  173. package/dist/chunks/{provider-m1714858.js → persistent-pty-m1714858.js} +1 -1
  174. package/dist/chunks/{provider-k0csj38z.js → persistent-pty-m56xcexf.js} +21 -21
  175. package/dist/chunks/{provider-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{provider-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
  177. package/dist/chunks/persistent-pty-mft421xc.js +517 -0
  178. package/dist/chunks/{provider-7nznt803.js → persistent-pty-mp8k340y.js} +4 -4
  179. package/dist/chunks/{provider-kj5kbge2.js → persistent-pty-mpsk2kx1.js} +11 -11
  180. package/dist/chunks/{provider-5w231npz.js → persistent-pty-mvb2bgyw.js} +60 -60
  181. package/dist/chunks/{provider-xcxdyyhc.js → persistent-pty-mwn61fym.js} +23 -23
  182. package/dist/chunks/{provider-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
  183. package/dist/chunks/{provider-k7f2a4x5.js → persistent-pty-n3ktk7aw.js} +23 -23
  184. package/dist/chunks/{provider-q0r62q50.js → persistent-pty-nck0by46.js} +24 -24
  185. package/dist/chunks/{provider-tc5xkez4.js → persistent-pty-nf3vvj52.js} +50 -50
  186. package/dist/chunks/{provider-pjtzsg8v.js → persistent-pty-nfx626fp.js} +35 -35
  187. package/dist/chunks/{provider-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
  188. package/dist/chunks/{provider-5j03b1nz.js → persistent-pty-p6xa5pr1.js} +5 -5
  189. package/dist/chunks/{provider-pc1v25hk.js → persistent-pty-pc1v25hk.js} +1 -1
  190. package/dist/chunks/{provider-05yr7vd1.js → persistent-pty-pcd58cha.js} +20 -20
  191. package/dist/chunks/{provider-bnt6g489.js → persistent-pty-pgvk0yt9.js} +15 -15
  192. package/dist/chunks/{provider-nm0wzb90.js → persistent-pty-phrpk49a.js} +11 -11
  193. package/dist/chunks/{provider-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  194. package/dist/chunks/{provider-79etx3tg.js → persistent-pty-q00mhad8.js} +18 -18
  195. package/dist/chunks/{provider-0q4bjshc.js → persistent-pty-q5dphz2y.js} +9 -9
  196. package/dist/chunks/{provider-mw5gnzr4.js → persistent-pty-q5fas5yh.js} +10 -10
  197. package/dist/chunks/{provider-kpt1bh4f.js → persistent-pty-q5j3x1t5.js} +4 -4
  198. package/dist/chunks/{provider-gfmp7vh0.js → persistent-pty-qcbcpq9b.js} +73 -73
  199. package/dist/chunks/{provider-jm272r5s.js → persistent-pty-qf1w2vm3.js} +24 -24
  200. package/dist/chunks/{provider-qjgzc4b4.js → persistent-pty-qjgzc4b4.js} +1 -1
  201. package/dist/chunks/{provider-an558sqv.js → persistent-pty-qqg9c0kv.js} +4 -4
  202. package/dist/chunks/{provider-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
  203. package/dist/chunks/{provider-r6wgv8c9.js → persistent-pty-r6wgv8c9.js} +2 -2
  204. package/dist/chunks/{provider-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
  205. package/dist/chunks/{provider-kcyas487.js → persistent-pty-rc1szs54.js} +6 -6
  206. package/dist/chunks/{provider-51ndbk3m.js → persistent-pty-rd6jf492.js} +17 -17
  207. package/dist/chunks/{provider-s5hk0mtv.js → persistent-pty-rdatjt93.js} +5 -5
  208. package/dist/chunks/{provider-g24xrxm1.js → persistent-pty-rhz1gb3z.js} +9 -9
  209. package/dist/chunks/{provider-9jjx417m.js → persistent-pty-rmqe3ewt.js} +33 -33
  210. package/dist/chunks/{provider-3g4a5sj5.js → persistent-pty-rp07j1kz.js} +13 -13
  211. package/dist/chunks/{provider-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
  212. package/dist/chunks/{provider-5sb34hzm.js → persistent-pty-rv6cja6k.js} +13 -13
  213. package/dist/chunks/{provider-wzkzkmw6.js → persistent-pty-rxtgqbtn.js} +4 -4
  214. package/dist/chunks/{provider-az8gwjeh.js → persistent-pty-s463agb3.js} +24 -24
  215. package/dist/chunks/{provider-9datcxrc.js → persistent-pty-s4q2zy2p.js} +186 -186
  216. package/dist/chunks/{provider-45401wj5.js → persistent-pty-s70gc4nz.js} +32 -32
  217. package/dist/chunks/{provider-fes0xpg6.js → persistent-pty-s8fhqc85.js} +25 -25
  218. package/dist/chunks/{provider-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
  219. package/dist/chunks/{provider-mtkfycnh.js → persistent-pty-ssfehs1z.js} +4 -4
  220. package/dist/chunks/{provider-msm4fd07.js → persistent-pty-st7enesy.js} +8 -8
  221. package/dist/chunks/{provider-x1cnjfky.js → persistent-pty-syp495bw.js} +11 -11
  222. package/dist/chunks/{provider-wm9hvyfa.js → persistent-pty-t98ck3nv.js} +23 -23
  223. package/dist/chunks/{provider-bd45fzh3.js → persistent-pty-t9bqp2qp.js} +11 -11
  224. package/dist/chunks/{provider-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
  225. package/dist/chunks/{provider-2y1gb7bf.js → persistent-pty-td5g3jt1.js} +34 -34
  226. package/dist/chunks/{provider-fddgahsh.js → persistent-pty-tdc7za5y.js} +6 -6
  227. package/dist/chunks/{provider-hy8c1z76.js → persistent-pty-tg1vr1qt.js} +8 -8
  228. package/dist/chunks/{provider-e8hxt5xr.js → persistent-pty-tk8b4vaq.js} +4 -4
  229. package/dist/chunks/{provider-mfpfhbf8.js → persistent-pty-tm64snjr.js} +3 -3
  230. package/dist/chunks/{provider-wawda81m.js → persistent-pty-tqam9rzv.js} +27 -27
  231. package/dist/chunks/{provider-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
  232. package/dist/chunks/{provider-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
  233. package/dist/chunks/{provider-29328zmv.js → persistent-pty-v0j7h7ag.js} +10 -10
  234. package/dist/chunks/{provider-wqscedq8.js → persistent-pty-v0t96s7a.js} +9 -9
  235. package/dist/chunks/{provider-0760z1bf.js → persistent-pty-v1t6vrbj.js} +25 -25
  236. package/dist/chunks/{provider-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
  237. package/dist/chunks/{provider-y5wnwt1s.js → persistent-pty-v355h3zv.js} +15 -15
  238. package/dist/chunks/{provider-7gpj8ndm.js → persistent-pty-v3az1vww.js} +35 -35
  239. package/dist/chunks/{provider-bc9hewbq.js → persistent-pty-v4aer5v9.js} +34 -34
  240. package/dist/chunks/{provider-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
  241. package/dist/chunks/persistent-pty-vdh3rgac.js +18 -0
  242. package/dist/chunks/{provider-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  243. package/dist/chunks/{provider-mmk2bjs0.js → persistent-pty-vkgkh0jz.js} +4 -4
  244. package/dist/chunks/{provider-vmfhgzt5.js → persistent-pty-vmfhgzt5.js} +1 -1
  245. package/dist/chunks/{provider-8yt7yt50.js → persistent-pty-vmt9aa9x.js} +24 -24
  246. package/dist/chunks/{provider-6twykydk.js → persistent-pty-vrcsa8qx.js} +9 -9
  247. package/dist/chunks/{provider-4jdak5qx.js → persistent-pty-vvh376nc.js} +33 -33
  248. package/dist/chunks/{provider-rstfs7br.js → persistent-pty-vw0t75j9.js} +25 -25
  249. package/dist/chunks/{provider-z6y74fh4.js → persistent-pty-vwdcv50m.js} +18 -18
  250. package/dist/chunks/{provider-y0e44a6d.js → persistent-pty-w1rc0f0t.js} +12 -12
  251. package/dist/chunks/{provider-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{provider-fznmdakp.js → persistent-pty-w687dnns.js} +4 -4
  253. package/dist/chunks/{provider-21paxrje.js → persistent-pty-w8k0m0ac.js} +6 -6
  254. package/dist/chunks/{provider-4tggksa0.js → persistent-pty-w9jkftfk.js} +23 -23
  255. package/dist/chunks/{provider-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{provider-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  257. package/dist/chunks/{provider-5cvy86xw.js → persistent-pty-wk5gspz5.js} +12 -12
  258. package/dist/chunks/{provider-fhtmtcx2.js → persistent-pty-wkmdz1mb.js} +11 -11
  259. package/dist/chunks/{provider-6sjjy45b.js → persistent-pty-wxpkhmem.js} +14 -14
  260. package/dist/chunks/{provider-yjvz0ccp.js → persistent-pty-xen1jppb.js} +18 -18
  261. package/dist/chunks/{provider-apgvj0s5.js → persistent-pty-xgw47nx1.js} +4 -4
  262. package/dist/chunks/{provider-btfhnvjh.js → persistent-pty-xkhfjrgz.js} +3 -3
  263. package/dist/chunks/{provider-zmq402w3.js → persistent-pty-xpsr6m59.js} +81 -81
  264. package/dist/chunks/{provider-b26jwmxb.js → persistent-pty-xtd8sqng.js} +29 -29
  265. package/dist/chunks/{provider-9pkkzrmj.js → persistent-pty-xw8eq9f1.js} +5 -5
  266. package/dist/chunks/{provider-rd00t4kt.js → persistent-pty-xxgpgb2s.js} +35 -35
  267. package/dist/chunks/{provider-2esk3rz8.js → persistent-pty-xyv3ye4h.js} +10 -10
  268. package/dist/chunks/{provider-071pdryd.js → persistent-pty-y0fkhhn3.js} +9 -9
  269. package/dist/chunks/{provider-5ckzyhpz.js → persistent-pty-y19asze6.js} +10 -10
  270. package/dist/chunks/{provider-vrmynpr8.js → persistent-pty-y1kds4da.js} +11 -11
  271. package/dist/chunks/{provider-2efbfxa2.js → persistent-pty-yagn4zf7.js} +15 -15
  272. package/dist/chunks/{provider-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
  273. package/dist/chunks/{provider-61k36nzc.js → persistent-pty-ye9estr6.js} +15 -15
  274. package/dist/chunks/{provider-bw2b3f7d.js → persistent-pty-yhtma1qk.js} +7 -7
  275. package/dist/chunks/{provider-k5cfc06a.js → persistent-pty-yncd7x1f.js} +18 -18
  276. package/dist/chunks/{provider-wzkcfv1a.js → persistent-pty-ywqrvznk.js} +35 -35
  277. package/dist/chunks/{provider-453f90m3.js → persistent-pty-ywtfgq8q.js} +11 -11
  278. package/dist/chunks/{provider-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{provider-7npwba49.js → persistent-pty-z1k5tgn5.js} +11 -11
  280. package/dist/chunks/{provider-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
  281. package/dist/chunks/{provider-gb3g7p85.js → persistent-pty-z64y35xa.js} +3 -3
  282. package/dist/chunks/{provider-b2me7aax.js → persistent-pty-z6zbh2d4.js} +28 -28
  283. package/dist/chunks/{provider-xajbcg1x.js → persistent-pty-z7nbqrf3.js} +4 -4
  284. package/dist/chunks/{provider-hdwxh6w6.js → persistent-pty-z8wtpd65.js} +11 -11
  285. package/dist/chunks/{provider-957wh7sd.js → persistent-pty-zcz73n1t.js} +6 -6
  286. package/dist/chunks/{provider-p9x59b0e.js → persistent-pty-zfyhjv3h.js} +14 -14
  287. package/dist/chunks/{provider-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{provider-1b7feyff.js → persistent-pty-zkgq49d1.js} +4 -4
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +81 -81
  294. package/dist/config/discovery.js +86 -86
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +116 -116
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +116 -116
  306. package/dist/config/plugin/mcp.js +123 -123
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +116 -116
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +1 -1
  313. package/dist/config/plugin/skill.js +136 -136
  314. package/dist/config/plugin/snapshot.js +114 -114
  315. package/dist/config/plugin/source.js +117 -117
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +115 -115
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +85 -85
  324. package/dist/database/database.js +72 -72
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +92 -92
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +76 -76
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +101 -101
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +106 -106
  430. package/dist/form.js +86 -86
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +107 -107
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +93 -93
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +361 -361
  458. package/dist/instruction-discovery.js +82 -82
  459. package/dist/instructions/builtins.js +85 -85
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +89 -89
  463. package/dist/job.js +80 -80
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +159 -159
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -358
  470. package/dist/location.js +87 -87
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +105 -105
  474. package/dist/mcp/instructions.js +140 -140
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +93 -93
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +105 -103
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +84 -84
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +115 -115
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +90 -90
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +76 -76
  494. package/dist/plugin/command.js +102 -102
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +332 -332
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +115 -115
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +104 -104
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +116 -116
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +125 -125
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +125 -125
  529. package/dist/plugin/provider/openai-context-caps.js +92 -92
  530. package/dist/plugin/provider/openai.js +116 -116
  531. package/dist/plugin/provider/opencode.js +100 -100
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +125 -125
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +168 -168
  544. package/dist/plugin/sdk.js +72 -72
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +132 -132
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +347 -347
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +88 -88
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +225 -225
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +86 -86
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +93 -93
  570. package/dist/reference/instructions.js +91 -91
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +83 -83
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +99 -99
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +136 -136
  581. package/dist/session/context.js +164 -164
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +130 -130
  588. package/dist/session/generate.js +164 -164
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +97 -97
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +77 -77
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +122 -122
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +102 -102
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +3 -3
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +163 -163
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +105 -105
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +77 -77
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +168 -168
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +223 -223
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +132 -132
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +109 -109
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +137 -137
  641. package/dist/tool/plugin/edit.js +122 -122
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +126 -126
  644. package/dist/tool/plugin/grep.js +126 -126
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +111 -111
  647. package/dist/tool/plugin/patch.js +124 -124
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +127 -127
  650. package/dist/tool/plugin/shell.js +215 -215
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/todo.js +136 -136
  654. package/dist/tool/plugin/webfetch.js +111 -111
  655. package/dist/tool/plugin/websearch.js +114 -114
  656. package/dist/tool/plugin/write.js +124 -124
  657. package/dist/tool/read-filesystem.js +102 -102
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +16 -16
  661. package/dist/types/models-dev.d.ts +4 -0
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +95 -95
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +91 -91
  680. package/dist/voice.js +90 -90
  681. package/dist/websearch.js +86 -86
  682. package/dist/wellknown/plugin.js +76 -76
  683. package/dist/wellknown.js +83 -83
  684. package/dist/workspace/driver.js +7 -7
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +84 -84
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +91 -91
  691. package/dist/worktree.js +98 -98
  692. package/package.json +8 -8
  693. package/dist/chunks/provider-4my81qaj.js +0 -18
  694. package/dist/chunks/provider-srmym4gr.js +0 -257
  695. package/dist/chunks/provider-tme52cxz.js +0 -26
  696. package/dist/chunks/provider-y3vq8k3g.js +0 -517
  697. /package/dist/chunks/{provider-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{provider-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{provider-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{provider-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{provider-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{provider-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{provider-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{provider-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{provider-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{provider-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  707. /package/dist/chunks/{provider-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{provider-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{provider-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{provider-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{provider-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{provider-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{provider-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  714. /package/dist/chunks/{provider-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{provider-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
  716. /package/dist/chunks/{provider-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  717. /package/dist/chunks/{provider-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{provider-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{provider-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{provider-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  721. /package/dist/chunks/{provider-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{provider-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{provider-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{provider-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{provider-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{provider-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{provider-a058387c.js → persistent-pty-a058387c.js} +0 -0
  728. /package/dist/chunks/{provider-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{provider-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{provider-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{provider-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{provider-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{provider-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{provider-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{provider-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{provider-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{provider-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{provider-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{provider-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{provider-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{provider-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  742. /package/dist/chunks/{provider-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{provider-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{provider-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{provider-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{provider-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{provider-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{provider-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{provider-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{provider-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{provider-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{provider-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{provider-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  754. /package/dist/chunks/{provider-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{provider-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  756. /package/dist/chunks/{provider-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{provider-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  758. /package/dist/chunks/{provider-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{provider-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{provider-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{provider-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{provider-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{provider-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{provider-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{provider-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  766. /package/dist/chunks/{provider-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{provider-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{provider-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{provider-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{provider-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{provider-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{provider-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{provider-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{provider-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{provider-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{provider-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{provider-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{provider-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{provider-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{provider-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{provider-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{provider-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{provider-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{provider-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{provider-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{provider-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{provider-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{provider-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{provider-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  790. /package/dist/chunks/{provider-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{provider-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{provider-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{provider-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{provider-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{provider-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./provider-vd3b3yk9.js";
3
+ } from "./persistent-pty-vd3b3yk9.js";
4
4
  import {
5
5
  which2
6
- } from "./provider-qaymkmh1.js";
6
+ } from "./persistent-pty-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options8,
15
- Service: () => Service55,
14
+ Options: () => Options6,
15
+ Service: () => Service56,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured8,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list4,
21
+ list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name16,
24
- node: () => node57,
24
+ node: () => node61,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options8 = Schema.Struct({
46
+ var Options6 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service55 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service56 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list4(options, bin) {
187
+ async function list3(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service55.of({
202
+ return Service56.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list4(options, global.bin))
206
+ list: () => Effect.promise(() => list3(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured8(options) {
210
- return makeLocationNode({ service: Service55, layer: layer(options), deps: [Global.node] });
209
+ function configured9(options) {
210
+ return makeLocationNode({ service: Service56, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node57 = configured8();
212
+ var node61 = configured9();
213
213
 
214
- export { Options8, Service55, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list4, configured8, node57, exports_select };
214
+ export { Options6, Service56, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list3, configured9, node61, exports_select };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./provider-a25a1x4r.js";
3
+ } from "./persistent-pty-h3a8j4mf.js";
4
4
  import {
5
5
  call2
6
- } from "./provider-40za9wsf.js";
6
+ } from "./persistent-pty-40za9wsf.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin5,
14
+ Plugin: () => Plugin4,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint4 = "https://search.parallel.ai/mcp";
21
+ var endpoint2 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin5 = define({
50
+ var Plugin4 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin5 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin5 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint4, Plugin5, exports_parallel };
96
+ export { endpoint2, Plugin4, exports_parallel };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./provider-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
- Service81
6
- } from "./provider-p9x59b0e.js";
5
+ Service82
6
+ } from "./persistent-pty-zfyhjv3h.js";
7
7
  import {
8
8
  __export
9
- } from "./provider-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3,
16
+ names: () => names4,
17
17
  preferencePaths: () => preferencePaths2,
18
18
  stripPreferenceMetadata: () => stripPreferenceMetadata2,
19
19
  systemDirectory: () => systemDirectory2
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { Effect } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Global } from "@opencode/util/global";
26
- var names3 = ["opencode.json", "opencode.jsonc"];
26
+ var names4 = ["opencode.json", "opencode.jsonc"];
27
27
  function systemDirectory2(platform = process.platform, env = process.env) {
28
28
  if (platform === "darwin")
29
29
  return AbsolutePath2.make("/Library/Application Support/opencode");
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
54
54
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
55
55
  const fs = yield* FSUtil.Service;
56
56
  const global = yield* Global.Service;
57
- const location = yield* Service81;
57
+ const location = yield* Service82;
58
58
  const system = (() => {
59
59
  if (options?.system === false)
60
60
  return;
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
71
71
  const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
72
72
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
73
73
  const parent = yield* fs.resolve(directory);
74
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
74
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
75
75
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
76
76
  const globalEnabled = options?.global !== false;
77
- const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
77
+ const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
78
78
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
79
79
  const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
80
80
  return {
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
99
99
  };
100
100
  });
101
101
 
102
- export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
102
+ export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
@@ -2,18 +2,18 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  compatibleModel2
5
- } from "./provider-j113cymg.js";
5
+ } from "./persistent-pty-j113cymg.js";
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./provider-fa1zjye2.js";
9
+ } from "./persistent-pty-6fet8kw9.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./provider-pjtzsg8v.js";
13
+ } from "./persistent-pty-nfx626fp.js";
14
14
  import {
15
15
  __export
16
- } from "./provider-9rqn6x4v.js";
16
+ } from "./persistent-pty-9rqn6x4v.js";
17
17
 
18
18
  // src/v1/config/migrate.ts
19
19
  var exports_migrate = {};
@@ -1,105 +1,105 @@
1
+ import {
2
+ Service86,
3
+ node90
4
+ } from "./persistent-pty-y1kds4da.js";
1
5
  import {
2
6
  Service85,
3
7
  node89
4
- } from "./provider-vrmynpr8.js";
5
- import {
6
- Service83,
7
- node87
8
- } from "./provider-q8tzggtk.js";
8
+ } from "./persistent-pty-5pav4dzc.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./provider-gftt206x.js";
11
+ } from "./persistent-pty-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./provider-957wh7sd.js";
14
+ } from "./persistent-pty-zcz73n1t.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./provider-ec1grn59.js";
17
+ } from "./persistent-pty-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./provider-998yhzzq.js";
20
+ } from "./persistent-pty-998yhzzq.js";
21
21
  import {
22
22
  prepare4
23
- } from "./provider-1b7feyff.js";
23
+ } from "./persistent-pty-zkgq49d1.js";
24
24
  import {
25
25
  decodeMessageRow2,
26
26
  preview2
27
- } from "./provider-0egfcpbc.js";
27
+ } from "./persistent-pty-hty8fpa1.js";
28
28
  import {
29
- Service58,
30
- node60
31
- } from "./provider-7jzx5pkr.js";
29
+ Service69,
30
+ node73
31
+ } from "./persistent-pty-bxhrky7s.js";
32
32
  import {
33
- Service14,
34
- node16
35
- } from "./provider-rd00t4kt.js";
33
+ Service19,
34
+ node21
35
+ } from "./persistent-pty-xxgpgb2s.js";
36
36
  import {
37
37
  llmClient2
38
- } from "./provider-p015t6z3.js";
38
+ } from "./persistent-pty-p015t6z3.js";
39
39
  import {
40
- Service30,
41
- node33
42
- } from "./provider-bd45fzh3.js";
40
+ Service32,
41
+ node35
42
+ } from "./persistent-pty-t9bqp2qp.js";
43
43
  import {
44
44
  baseTranscript2
45
- } from "./provider-q2y63fzp.js";
45
+ } from "./persistent-pty-edkmkvd1.js";
46
46
  import {
47
47
  make9
48
- } from "./provider-c8666r4c.js";
48
+ } from "./persistent-pty-c8666r4c.js";
49
49
  import {
50
50
  toSessionError2
51
- } from "./provider-s5hk0mtv.js";
51
+ } from "./persistent-pty-rdatjt93.js";
52
52
  import {
53
- Service9,
54
- node11,
53
+ Service8,
54
+ node10,
55
55
  estimatePrompt2
56
- } from "./provider-47te7ynq.js";
56
+ } from "./persistent-pty-d5w3mt28.js";
57
57
  import {
58
- node90
59
- } from "./provider-453f90m3.js";
58
+ node57
59
+ } from "./persistent-pty-ywtfgq8q.js";
60
60
  import {
61
- Service21,
62
- node24
63
- } from "./provider-zmq402w3.js";
61
+ Service23,
62
+ node26
63
+ } from "./persistent-pty-xpsr6m59.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./provider-nzabrtva.js";
68
+ } from "./persistent-pty-2vpteqgm.js";
69
69
  import {
70
- Service6,
70
+ Service5,
71
71
  isUntitled2,
72
- node8
73
- } from "./provider-45401wj5.js";
72
+ node7
73
+ } from "./persistent-pty-s70gc4nz.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service33
77
- } from "./provider-8r9nj4s8.js";
76
+ Service60
77
+ } from "./persistent-pty-3gv0spa2.js";
78
78
  import {
79
- node41
80
- } from "./provider-pa2pq7zw.js";
79
+ node42
80
+ } from "./persistent-pty-34sg93nd.js";
81
81
  import {
82
82
  Outcome2,
83
83
  make8
84
- } from "./provider-bzc2yew2.js";
84
+ } from "./persistent-pty-06ye6eb3.js";
85
85
  import {
86
- Service19
87
- } from "./provider-4my81qaj.js";
86
+ Service25
87
+ } from "./persistent-pty-vdh3rgac.js";
88
88
  import {
89
- node17
90
- } from "./provider-3ek9mykt.js";
89
+ node23
90
+ } from "./persistent-pty-3meb4hzg.js";
91
91
  import {
92
92
  MAX_STEPS_PROMPT2
93
- } from "./provider-y44na4kk.js";
93
+ } from "./persistent-pty-y44na4kk.js";
94
94
  import {
95
95
  __export
96
- } from "./provider-9rqn6x4v.js";
96
+ } from "./persistent-pty-9rqn6x4v.js";
97
97
 
98
98
  // src/session/runner/llm.ts
99
99
  var exports_llm = {};
100
100
  __export(exports_llm, {
101
101
  SessionRunnerLLM: () => exports_llm,
102
- node: () => node7
102
+ node: () => node6
103
103
  });
104
104
  import { Message } from "@opencode/ai";
105
105
  import { and, desc, eq, inArray, sql } from "drizzle-orm";
@@ -107,16 +107,16 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
107
107
  import { makeLocationNode } from "@opencode/util/effect/app-node";
108
108
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
109
109
  var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
110
- var layer = Layer.effect(Service33, Effect.gen(function* () {
111
- const bus = yield* Service83;
112
- const lifecycle = yield* Service14;
113
- const store = yield* Service58;
114
- const context = yield* Service21;
115
- const modelTransport = yield* Service30;
116
- const db = (yield* Service85).db;
117
- const compaction = yield* Service9;
118
- const plugins = yield* Service19;
119
- const title = yield* Service6;
110
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
111
+ const bus = yield* Service85;
112
+ const lifecycle = yield* Service19;
113
+ const store = yield* Service69;
114
+ const context = yield* Service23;
115
+ const modelTransport = yield* Service32;
116
+ const db = (yield* Service86).db;
117
+ const compaction = yield* Service8;
118
+ const plugins = yield* Service25;
119
+ const title = yield* Service5;
120
120
  const steps = yield* make8;
121
121
  const titles = yield* FiberMap.make();
122
122
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
@@ -375,25 +375,25 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
375
375
  }
376
376
  }
377
377
  });
378
- return Service33.of({ drain });
378
+ return Service60.of({ drain });
379
379
  }));
380
- var node7 = makeLocationNode({
381
- service: Service33,
380
+ var node6 = makeLocationNode({
381
+ service: Service60,
382
382
  layer,
383
383
  deps: [
384
- node87,
385
- node16,
384
+ node89,
385
+ node21,
386
386
  llmClient2,
387
- node24,
388
- node33,
389
- node60,
390
- node11,
391
- node17,
392
- node8,
393
- node41,
394
- node90,
395
- node89
387
+ node26,
388
+ node35,
389
+ node73,
390
+ node10,
391
+ node23,
392
+ node7,
393
+ node42,
394
+ node57,
395
+ node90
396
396
  ]
397
397
  });
398
398
 
399
- export { node7, exports_llm };
399
+ export { node6, exports_llm };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./provider-p015t6z3.js";
3
+ } from "./persistent-pty-p015t6z3.js";
4
4
  import {
5
- ID12,
6
- Service67,
7
- node70
8
- } from "./provider-b26jwmxb.js";
5
+ ID14,
6
+ Service78,
7
+ node82
8
+ } from "./persistent-pty-xtd8sqng.js";
9
9
  import {
10
10
  __export
11
- } from "./provider-9rqn6x4v.js";
11
+ } from "./persistent-pty-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service62,
18
- UnavailableError: () => UnavailableError4,
17
+ Service: () => Service17,
18
+ UnavailableError: () => UnavailableError2,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer24,
21
- node: () => node64
20
+ layer: () => layer10,
21
+ node: () => node19
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service62 extends Context.Service()("@opencode/Voice") {
40
+ class Service17 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer24 = Layer.effect(Service62, Effect.gen(function* () {
42
+ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service67;
45
- const findConnection = (provider) => integrations.get(ID12.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
44
+ const integrations = yield* Service78;
45
+ const findConnection = (provider) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
46
46
  const models = Effect.fn("Voice.models")(function* () {
47
47
  const list = yield* Effect.forEach(Realtime.engines, (engine) => findConnection(engine.provider).pipe(Effect.map((connection) => ({
48
48
  model: engine.model,
@@ -58,20 +58,20 @@ var layer24 = Layer.effect(Service62, Effect.gen(function* () {
58
58
  if (!engine)
59
59
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
60
60
  const connection = yield* findConnection(engine.provider);
61
- const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
61
+ const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
62
62
  if (credential?.type !== "key")
63
- return yield* new UnavailableError4({
63
+ return yield* new UnavailableError2({
64
64
  service: engine.provider,
65
65
  message: missingKeyMessage[engine.provider]
66
66
  });
67
- return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
67
+ return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
68
68
  });
69
- return Service62.of({ models, session });
69
+ return Service17.of({ models, session });
70
70
  }));
71
- var node64 = makeLocationNode({
72
- service: Service62,
73
- layer: layer24,
74
- deps: [node70, requestExecutor2]
71
+ var node19 = makeLocationNode({
72
+ service: Service17,
73
+ layer: layer10,
74
+ deps: [node82, requestExecutor2]
75
75
  });
76
76
  var missingKeyMessage = {
77
77
  openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
@@ -79,4 +79,4 @@ var missingKeyMessage = {
79
79
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
80
80
  };
81
81
 
82
- export { InvalidRequestError2, UnavailableError4, Service62, layer24, node64, exports_voice };
82
+ export { InvalidRequestError2, UnavailableError2, Service17, layer10, node19, exports_voice };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info10
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info10 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info10 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info10, exports_command5 };
21
+ export { Info16, exports_command5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./provider-vmfhgzt5.js";
3
+ } from "./persistent-pty-vmfhgzt5.js";
4
4
  import {
5
5
  __export
6
- } from "./provider-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./provider-2bv980vf.js";
3
+ } from "./persistent-pty-2bv980vf.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./provider-g4wezp1m.js";
6
+ } from "./persistent-pty-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./provider-x61499pn.js";
9
+ } from "./persistent-pty-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./provider-af5trqkr.js";
12
+ } from "./persistent-pty-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./provider-afrmfg78.js";
15
+ } from "./persistent-pty-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./provider-x0ckcb58.js";
18
+ } from "./persistent-pty-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {