@opencode/core 0.0.0-dev-19788 → 0.0.0-dev-19790

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{variant-ryeeha7r.js → pty-010xpxbn.js} +11 -11
  8. package/dist/chunks/{variant-7p20jsne.js → pty-01m48zym.js} +25 -25
  9. package/dist/chunks/{variant-nvpyq15w.js → pty-05k8gwwx.js} +37 -37
  10. package/dist/chunks/{variant-95jpk3t3.js → pty-09ejbmp6.js} +3 -3
  11. package/dist/chunks/{variant-9zsprffg.js → pty-0cnsmtwh.js} +24 -24
  12. package/dist/chunks/{variant-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{variant-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{variant-4qc459h3.js → pty-0x0trpnf.js} +11 -11
  15. package/dist/chunks/{variant-gj1hd0v4.js → pty-15wq8bnm.js} +15 -12
  16. package/dist/chunks/{variant-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{variant-kwzwcjdj.js → pty-1hxn8gc9.js} +12 -12
  18. package/dist/chunks/{variant-v47z8hsk.js → pty-1n42sk3q.js} +10 -10
  19. package/dist/chunks/{variant-g1zq6c5t.js → pty-1qg96azw.js} +11 -11
  20. package/dist/chunks/{variant-yxjfm1ef.js → pty-1t1mekng.js} +5 -5
  21. package/dist/chunks/{variant-cf3500x7.js → pty-1v03ecv9.js} +11 -11
  22. package/dist/chunks/{variant-21r38tys.js → pty-21r38tys.js} +1 -1
  23. package/dist/chunks/{variant-2402vzrj.js → pty-2402vzrj.js} +1 -1
  24. package/dist/chunks/{variant-7jdsj2a9.js → pty-256nx13v.js} +3 -3
  25. package/dist/chunks/{variant-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{variant-yvvvp4gn.js → pty-2aet7wja.js} +8 -8
  27. package/dist/chunks/{variant-0rv2ccgj.js → pty-2bm8nv3j.js} +4 -4
  28. package/dist/chunks/{variant-km0erg4h.js → pty-2deyrhr8.js} +13 -13
  29. package/dist/chunks/{variant-wtphcwzm.js → pty-2f0arp29.js} +47 -47
  30. package/dist/chunks/{variant-hrkge0dr.js → pty-2gydggrp.js} +3 -3
  31. package/dist/chunks/{variant-82rgwbpg.js → pty-2jm9246z.js} +4 -4
  32. package/dist/chunks/{variant-krnt6yfv.js → pty-2mvse5z6.js} +36 -36
  33. package/dist/chunks/{variant-ty0554db.js → pty-2qtz93bp.js} +4 -4
  34. package/dist/chunks/{variant-nn2fzds8.js → pty-2x2vnpz5.js} +9 -9
  35. package/dist/chunks/{variant-r6vq26jz.js → pty-2x8n49qa.js} +10 -10
  36. package/dist/chunks/{variant-m3csf4ap.js → pty-2xyrgdy7.js} +15 -15
  37. package/dist/chunks/{variant-et0dwx51.js → pty-360vn7h3.js} +3 -3
  38. package/dist/chunks/{variant-q5a1e36b.js → pty-36ndtc93.js} +28 -28
  39. package/dist/chunks/{variant-g5fe2pst.js → pty-39mnaq4c.js} +23 -23
  40. package/dist/chunks/{variant-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{variant-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{variant-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{variant-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  44. package/dist/chunks/pty-3z5xssby.js +65 -0
  45. package/dist/chunks/{variant-g9hjynqd.js → pty-4641nt7s.js} +5 -5
  46. package/dist/chunks/{variant-dtheb6mc.js → pty-47qt310b.js} +10 -10
  47. package/dist/chunks/{variant-yj76swvz.js → pty-47r0kvy6.js} +24 -24
  48. package/dist/chunks/{variant-mrqnf78j.js → pty-4dkhsnmt.js} +32 -32
  49. package/dist/chunks/{variant-m0sej1qn.js → pty-4ekhf7tc.js} +7 -7
  50. package/dist/chunks/{variant-ts2x07a1.js → pty-4jc5c4h4.js} +1 -1
  51. package/dist/chunks/{variant-hpjs4p32.js → pty-4jzbd5w2.js} +312 -308
  52. package/dist/chunks/{variant-pef6k0gg.js → pty-4sn99hha.js} +9 -9
  53. package/dist/chunks/{variant-p11h9hwq.js → pty-4zhk9xy1.js} +11 -11
  54. package/dist/chunks/{variant-fvsyg6qk.js → pty-510m7gjw.js} +5 -5
  55. package/dist/chunks/{variant-56gdpj1q.js → pty-56gdpj1q.js} +2 -2
  56. package/dist/chunks/{variant-cd6cwsk9.js → pty-56qjdxtm.js} +12 -12
  57. package/dist/chunks/{variant-ebcvbnkn.js → pty-57dcv54h.js} +8 -8
  58. package/dist/chunks/{variant-59gj78ga.js → pty-5cn1q5nw.js} +31 -31
  59. package/dist/chunks/{variant-5daktx2q.js → pty-5daktx2q.js} +1 -1
  60. package/dist/chunks/{variant-engkm2d6.js → pty-5e15319b.js} +5 -5
  61. package/dist/chunks/{variant-bb31b7br.js → pty-5j6bqzeb.js} +25 -25
  62. package/dist/chunks/{variant-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  63. package/dist/chunks/{variant-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{variant-wfrt7f8k.js → pty-5whcbe3x.js} +17 -17
  65. package/dist/chunks/{variant-k41ybe0m.js → pty-5xsexkhf.js} +9 -9
  66. package/dist/chunks/{variant-qxs0gjsw.js → pty-5xwkdnk6.js} +11 -11
  67. package/dist/chunks/{variant-7dqw4kz8.js → pty-607tc6va.js} +5 -5
  68. package/dist/chunks/{variant-nkg4sc71.js → pty-61a7pyf7.js} +5 -5
  69. package/dist/chunks/{variant-z73z9mq7.js → pty-64amj0r1.js} +21 -21
  70. package/dist/chunks/{variant-669tq793.js → pty-669tq793.js} +1 -1
  71. package/dist/chunks/{variant-pcva14f7.js → pty-6a3q5akz.js} +10 -18
  72. package/dist/chunks/{variant-9jtv0k0v.js → pty-6d0hcp9d.js} +7 -7
  73. package/dist/chunks/{variant-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{variant-h196ywmy.js → pty-6zb5jvme.js} +60 -60
  75. package/dist/chunks/{variant-1bbkgx8g.js → pty-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{variant-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{variant-q68k07bj.js → pty-7cj0vwkb.js} +13 -13
  78. package/dist/chunks/{variant-6n2ypsgr.js → pty-7hmfndvt.js} +31 -31
  79. package/dist/chunks/{variant-1zqx6507.js → pty-7swn79b1.js} +12 -12
  80. package/dist/chunks/{variant-v29fjn9e.js → pty-7t5qybgj.js} +51 -51
  81. package/dist/chunks/{variant-rxmq8rgz.js → pty-82kxmdcf.js} +4 -4
  82. package/dist/chunks/{variant-s0f29662.js → pty-82r64hfa.js} +26 -26
  83. package/dist/chunks/{variant-s5d9hk7s.js → pty-85z0khfw.js} +9 -9
  84. package/dist/chunks/{variant-tcezcvh9.js → pty-89znhe33.js} +4 -4
  85. package/dist/chunks/{variant-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{variant-x8a6wpb1.js → pty-8hdvkfsn.js} +43 -43
  87. package/dist/chunks/{variant-dgr6519x.js → pty-8kgvtemd.js} +8 -8
  88. package/dist/chunks/{variant-8dk804ze.js → pty-8ktdpdbn.js} +30 -30
  89. package/dist/chunks/{variant-cdhfde9j.js → pty-8n2c22yw.js} +12 -12
  90. package/dist/chunks/{variant-bpfnneg5.js → pty-8ndese90.js} +20 -20
  91. package/dist/chunks/{variant-dj2t23y0.js → pty-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{variant-nxhxdrrf.js → pty-8sc656s0.js} +30 -30
  93. package/dist/chunks/{variant-cb5th899.js → pty-8tcq1ard.js} +38 -38
  94. package/dist/chunks/{variant-m8deaeh7.js → pty-8x7kj7de.js} +16 -16
  95. package/dist/chunks/{variant-8ty0ryk7.js → pty-92hvatj2.js} +96 -96
  96. package/dist/chunks/{variant-2qtg0jfn.js → pty-94h3t13q.js} +12 -12
  97. package/dist/chunks/{variant-18p3d61n.js → pty-95jkg4sh.js} +3 -3
  98. package/dist/chunks/{variant-jd8ez2rx.js → pty-96712bz8.js} +3 -3
  99. package/dist/chunks/{variant-n4fbvqmd.js → pty-96k7qteq.js} +6 -6
  100. package/dist/chunks/{variant-74evebey.js → pty-9wh28ea7.js} +32 -32
  101. package/dist/chunks/{variant-5c4hm403.js → pty-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{variant-gt3cwgnf.js → pty-a6ha29gm.js} +48 -48
  103. package/dist/chunks/{variant-6qc0assy.js → pty-a8rvpzh6.js} +37 -37
  104. package/dist/chunks/{variant-aaet6srn.js → pty-aaet6srn.js} +2 -2
  105. package/dist/chunks/{variant-mtft99cd.js → pty-af04s6ss.js} +5 -5
  106. package/dist/chunks/{variant-z0xass54.js → pty-ajejy050.js} +19 -19
  107. package/dist/chunks/{variant-srhbgzsh.js → pty-aqk3dj7t.js} +1 -1
  108. package/dist/chunks/{variant-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{variant-sqdmb1qc.js → pty-b9w0x7cm.js} +18 -18
  110. package/dist/chunks/{variant-3h9fe1cb.js → pty-bag4px4n.js} +24 -24
  111. package/dist/chunks/{variant-axx87c8z.js → pty-bfygd469.js} +28 -28
  112. package/dist/chunks/{variant-wsp13tn1.js → pty-bh7937zs.js} +28 -26
  113. package/dist/chunks/{variant-5wqj2ap4.js → pty-bnv5qe0w.js} +6 -6
  114. package/dist/chunks/{variant-yjf31fha.js → pty-bt0s2m4s.js} +28 -28
  115. package/dist/chunks/{variant-6dh9c3ss.js → pty-c3xk9fpp.js} +14 -12
  116. package/dist/chunks/{variant-hgz2sqdv.js → pty-c6d4h0jp.js} +11 -11
  117. package/dist/chunks/{variant-c8bydgjz.js → pty-cdm0dq9n.js} +6 -6
  118. package/dist/chunks/{variant-9t1yzjs7.js → pty-cerhndf8.js} +28 -28
  119. package/dist/chunks/{variant-m0jqrx5p.js → pty-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{variant-571cwvkm.js → pty-ck33vcq0.js} +31 -33
  121. package/dist/chunks/{variant-h6r3nrb9.js → pty-cpj0znwe.js} +4 -4
  122. package/dist/chunks/{variant-xh03bpf0.js → pty-cs1yg9jz.js} +15 -15
  123. package/dist/chunks/{variant-qhayk2b7.js → pty-cywsvzz8.js} +19 -19
  124. package/dist/chunks/{variant-p37cw4rj.js → pty-czfptnv9.js} +8 -8
  125. package/dist/chunks/{variant-r2m716tb.js → pty-d4he2qe1.js} +9 -9
  126. package/dist/chunks/{variant-7ms2r6fn.js → pty-d7wgan7y.js} +17 -17
  127. package/dist/chunks/{variant-036xttfm.js → pty-d8mfmd5t.js} +23 -23
  128. package/dist/chunks/{variant-wbrxfa2a.js → pty-dkkcfdd5.js} +4 -4
  129. package/dist/chunks/{variant-d6g5yyx2.js → pty-dm7z6sw8.js} +11 -11
  130. package/dist/chunks/{variant-qacyc7aa.js → pty-dqhgk4gj.js} +14 -14
  131. package/dist/chunks/{variant-drwq78ky.js → pty-drwq78ky.js} +1 -1
  132. package/dist/chunks/{variant-6zd4z6kv.js → pty-e8gs20m7.js} +24 -24
  133. package/dist/chunks/{variant-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{variant-ka9h1195.js → pty-en85tny2.js} +17 -17
  135. package/dist/chunks/{variant-z9v75n1r.js → pty-en9axxsm.js} +20 -18
  136. package/dist/chunks/{variant-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
  137. package/dist/chunks/{variant-9avbkjx3.js → pty-esegqz26.js} +9 -9
  138. package/dist/chunks/{variant-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{variant-3w2b2yj4.js → pty-evbgk2k8.js} +5 -5
  140. package/dist/chunks/{variant-yp2x3t23.js → pty-f2n192rq.js} +4 -4
  141. package/dist/chunks/{variant-53g2xa05.js → pty-f35htakt.js} +9 -9
  142. package/dist/chunks/{variant-hdnk95c8.js → pty-f828m53h.js} +2 -2
  143. package/dist/chunks/{variant-bm2g2e4c.js → pty-f9mqex9s.js} +37 -37
  144. package/dist/chunks/{variant-qpkc6dca.js → pty-fd3v7rn0.js} +35 -35
  145. package/dist/chunks/{variant-4febdg58.js → pty-fjeptm1j.js} +11 -11
  146. package/dist/chunks/{variant-mmb8fzkf.js → pty-fra5bndy.js} +17 -17
  147. package/dist/chunks/{variant-fxmgg4aj.js → pty-fwrss4ad.js} +4 -4
  148. package/dist/chunks/{variant-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{variant-td7mnp8z.js → pty-g02r5t1q.js} +20 -20
  150. package/dist/chunks/{variant-0aq7t7jz.js → pty-g408yz0d.js} +28 -28
  151. package/dist/chunks/{variant-83r8e852.js → pty-g6v5r3w6.js} +16 -16
  152. package/dist/chunks/{variant-eaj1djv9.js → pty-gbt6w4kb.js} +4 -4
  153. package/dist/chunks/{variant-2pk3hmqv.js → pty-gbvfym51.js} +24 -24
  154. package/dist/chunks/{variant-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{variant-v1407nsh.js → pty-gf229ayp.js} +18 -18
  156. package/dist/chunks/{variant-1ht4yrx5.js → pty-gqgkwrka.js} +19 -19
  157. package/dist/chunks/{variant-g1sxm558.js → pty-gs3s1a1g.js} +8 -8
  158. package/dist/chunks/{variant-ncbj3p6k.js → pty-gtgjs7h2.js} +53 -53
  159. package/dist/chunks/{variant-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{variant-4449w6ph.js → pty-gx88jzcs.js} +32 -32
  161. package/dist/chunks/{variant-7j7wzv8x.js → pty-gy590f6s.js} +2 -2
  162. package/dist/chunks/{variant-1pw8ktv6.js → pty-gyxzt53n.js} +16 -16
  163. package/dist/chunks/{variant-81ke0znj.js → pty-h4xx3n44.js} +5 -5
  164. package/dist/chunks/{variant-1qdn5mg4.js → pty-h5amc0nw.js} +5 -5
  165. package/dist/chunks/{variant-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{variant-gby5wcn0.js → pty-h8d3bytr.js} +64 -64
  167. package/dist/chunks/{variant-k6vef6f0.js → pty-hdfkv0ev.js} +62 -62
  168. package/dist/chunks/{variant-7z9tkqw1.js → pty-hdns3422.js} +9 -9
  169. package/dist/chunks/pty-hgd4btym.js +18 -0
  170. package/dist/chunks/{variant-7kewf0cc.js → pty-hgk31n1k.js} +25 -25
  171. package/dist/chunks/{variant-fkmvdsrs.js → pty-hjvqykt7.js} +10 -10
  172. package/dist/chunks/pty-hr9dp009.js +4 -0
  173. package/dist/chunks/{variant-faxz800z.js → pty-hxpy2fz9.js} +12 -12
  174. package/dist/chunks/{variant-eevzksqv.js → pty-hzxxpgfe.js} +13 -13
  175. package/dist/chunks/{variant-4q678n20.js → pty-j2dty9kk.js} +15 -15
  176. package/dist/chunks/{variant-j56e64zr.js → pty-j56e64zr.js} +1 -1
  177. package/dist/chunks/{variant-3p19car9.js → pty-jcvsx840.js} +20 -20
  178. package/dist/chunks/{variant-g9wnjee6.js → pty-jfq1w6xq.js} +11 -11
  179. package/dist/chunks/{variant-s9e8sf64.js → pty-jhetzww4.js} +45 -45
  180. package/dist/chunks/{variant-rbeyeh8v.js → pty-jn0rbr09.js} +3 -3
  181. package/dist/chunks/{variant-nw2nz702.js → pty-jva4mgym.js} +4 -4
  182. package/dist/chunks/{variant-y71avatq.js → pty-jwcy2c2z.js} +4 -4
  183. package/dist/chunks/{variant-6cq4w4ej.js → pty-jzp2kyv6.js} +22 -22
  184. package/dist/chunks/{variant-e0cjyxzq.js → pty-k388e6t1.js} +17 -17
  185. package/dist/chunks/{variant-nzks3jc8.js → pty-k3c624dm.js} +3 -3
  186. package/dist/chunks/{variant-cfqcr5nn.js → pty-kb1rdp05.js} +41 -41
  187. package/dist/chunks/{variant-95pfmgyz.js → pty-kgbqw58m.js} +35 -35
  188. package/dist/chunks/{variant-3mypx32h.js → pty-kjq75dje.js} +1 -1
  189. package/dist/chunks/{variant-knb7evpn.js → pty-knb7evpn.js} +2 -2
  190. package/dist/chunks/{variant-sz3gsrbf.js → pty-kns2fx3n.js} +27 -27
  191. package/dist/chunks/{variant-fbqt5tv2.js → pty-krbz4bty.js} +5 -5
  192. package/dist/chunks/{variant-zh2phv9k.js → pty-kxdh0s6n.js} +7 -7
  193. package/dist/chunks/{variant-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  194. package/dist/chunks/{variant-dhmh7aw6.js → pty-m70sbz6t.js} +4 -4
  195. package/dist/chunks/{variant-hqqbf430.js → pty-m77h72gn.js} +19 -19
  196. package/dist/chunks/{variant-51jra4mh.js → pty-m7va1g8x.js} +2 -2
  197. package/dist/chunks/{variant-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{variant-kk00bynn.js → pty-magykp64.js} +21 -21
  199. package/dist/chunks/{variant-byy6e5ra.js → pty-mf55kzn1.js} +9 -9
  200. package/dist/chunks/{variant-91w7abj7.js → pty-mg90z6wk.js} +16 -16
  201. package/dist/chunks/{variant-ag0ge9vb.js → pty-mh8602s5.js} +23 -23
  202. package/dist/chunks/{variant-p84dsdfh.js → pty-mm5kxf07.js} +5 -5
  203. package/dist/chunks/{variant-9rz2j36k.js → pty-n0kbf44j.js} +11 -11
  204. package/dist/chunks/{variant-5qb1g724.js → pty-n25bj5sj.js} +8 -8
  205. package/dist/chunks/{variant-rhafb4aa.js → pty-nq7qbqzc.js} +9 -9
  206. package/dist/chunks/{variant-aydaz3rw.js → pty-nvgm9hwb.js} +28 -28
  207. package/dist/chunks/{variant-va6pcbts.js → pty-nwb8yfca.js} +5 -5
  208. package/dist/chunks/{variant-9588vfer.js → pty-p2bsys5p.js} +41 -37
  209. package/dist/chunks/{variant-hcvxky9s.js → pty-p3w99mff.js} +22 -22
  210. package/dist/chunks/{variant-4hptpj1d.js → pty-pfpqttcd.js} +15 -15
  211. package/dist/chunks/{variant-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{variant-pknna89w.js → pty-pknna89w.js} +1 -1
  213. package/dist/chunks/pty-px0fec8t.js +252 -0
  214. package/dist/chunks/{variant-bhmd7z0s.js → pty-q0sdqn78.js} +4 -4
  215. package/dist/chunks/{variant-z8smh9c8.js → pty-q24nm477.js} +19 -19
  216. package/dist/chunks/{variant-hjmm9f8v.js → pty-q2f6gqtk.js} +6 -6
  217. package/dist/chunks/pty-q3pcyw4n.js +131 -0
  218. package/dist/chunks/{variant-k48z0nfs.js → pty-q4hrj6yz.js} +12 -12
  219. package/dist/chunks/{variant-806j49yq.js → pty-qa3qhgw8.js} +4 -4
  220. package/dist/chunks/{variant-qsdy395h.js → pty-qsdy395h.js} +1 -1
  221. package/dist/chunks/{variant-rm1vz964.js → pty-r1761eky.js} +32 -32
  222. package/dist/chunks/{variant-arn0a1z7.js → pty-r4hn1y4t.js} +4 -4
  223. package/dist/chunks/{variant-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{variant-2d57kztd.js → pty-rhx683sy.js} +6 -6
  225. package/dist/chunks/{variant-39cj4q9q.js → pty-rrwz5n32.js} +13 -13
  226. package/dist/chunks/{variant-7max8g9c.js → pty-rvf3k54n.js} +17 -17
  227. package/dist/chunks/{variant-aw2ne7rk.js → pty-rwwvkkw9.js} +6 -6
  228. package/dist/chunks/{variant-k0nnq3t9.js → pty-rxcdjwh1.js} +4 -4
  229. package/dist/chunks/{variant-c966ad08.js → pty-ryb794yb.js} +7 -7
  230. package/dist/chunks/{variant-wj3yfrmp.js → pty-rz9v06kn.js} +27 -27
  231. package/dist/chunks/{variant-4y2cq0f0.js → pty-scs7maqt.js} +8 -8
  232. package/dist/chunks/{variant-dq8te7y3.js → pty-sdrw2w9p.js} +25 -25
  233. package/dist/chunks/{variant-starn555.js → pty-src4gryn.js} +19 -19
  234. package/dist/chunks/{variant-r32sn7ke.js → pty-t2gsyq25.js} +21 -21
  235. package/dist/chunks/{variant-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{variant-tbz0fdvh.js → pty-tbz0fdvh.js} +2 -2
  237. package/dist/chunks/{variant-tdstcens.js → pty-tdstcens.js} +1 -1
  238. package/dist/chunks/{variant-fz75205d.js → pty-tqwr2f5g.js} +12 -12
  239. package/dist/chunks/{variant-brp4bzxj.js → pty-trt7zypv.js} +30 -30
  240. package/dist/chunks/{variant-tvtrv512.js → pty-tvtrv512.js} +1 -1
  241. package/dist/chunks/{variant-2543yr9f.js → pty-ty51299p.js} +11 -11
  242. package/dist/chunks/{variant-4gswqhed.js → pty-v110mek2.js} +18 -18
  243. package/dist/chunks/{variant-wmdqddds.js → pty-vdnmec7y.js} +5 -5
  244. package/dist/chunks/{variant-bf0ztrs3.js → pty-ve4pfa0n.js} +4 -4
  245. package/dist/chunks/{variant-tae944ma.js → pty-vedaqc0n.js} +184 -184
  246. package/dist/chunks/{variant-veqvce7d.js → pty-veqvce7d.js} +1 -1
  247. package/dist/chunks/{variant-tbq2h17c.js → pty-vf5yby4q.js} +33 -35
  248. package/dist/chunks/{variant-m733p5th.js → pty-vfqq51fb.js} +17 -17
  249. package/dist/chunks/{variant-kvsvqh13.js → pty-vk9pkavn.js} +15 -15
  250. package/dist/chunks/{variant-qk0e3gk9.js → pty-vr12ekh8.js} +9 -9
  251. package/dist/chunks/{variant-nxamx01y.js → pty-vw2t0mtq.js} +44 -44
  252. package/dist/chunks/{variant-m7pj8f36.js → pty-vy078w6d.js} +44 -44
  253. package/dist/chunks/{variant-jbjr1a4g.js → pty-vyqn3nqs.js} +6 -6
  254. package/dist/chunks/{variant-gnx4ytbv.js → pty-vyy6cxw9.js} +4 -4
  255. package/dist/chunks/{variant-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{variant-csf2jhsg.js → pty-w1k39n5e.js} +4 -4
  257. package/dist/chunks/{variant-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{variant-0jt58gq5.js → pty-w8hj49dq.js} +47 -47
  259. package/dist/chunks/{variant-wd87259q.js → pty-wd87259q.js} +1 -1
  260. package/dist/chunks/{variant-bacyadyn.js → pty-wj76ss2k.js} +4 -4
  261. package/dist/chunks/{variant-7awa95k0.js → pty-wxrzmbxm.js} +16 -16
  262. package/dist/chunks/{variant-nwtcycp4.js → pty-wzjn1tpp.js} +11 -11
  263. package/dist/chunks/{variant-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{variant-qyabr2c4.js → pty-x6j1wb2z.js} +88 -88
  265. package/dist/chunks/{variant-kyktj0vd.js → pty-xfjax5kj.js} +6 -6
  266. package/dist/chunks/{variant-ygshqydb.js → pty-xpkrztab.js} +3 -3
  267. package/dist/chunks/{variant-6cyxy0gy.js → pty-xtvm4hh6.js} +3 -3
  268. package/dist/chunks/{variant-8v0w7kj2.js → pty-xv567rvv.js} +10 -10
  269. package/dist/chunks/{variant-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{variant-h7sr0csd.js → pty-y3ajgz1g.js} +15 -15
  271. package/dist/chunks/{variant-z8tc00nf.js → pty-ypbv3kf7.js} +21 -21
  272. package/dist/chunks/{variant-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{variant-s4enseaf.js → pty-yrznvahk.js} +2 -2
  274. package/dist/chunks/{variant-c4cxbw3g.js → pty-yvqjf3ez.js} +15 -15
  275. package/dist/chunks/{variant-1q8ta1a7.js → pty-yz0n98jk.js} +13 -13
  276. package/dist/chunks/{variant-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{variant-29x78va6.js → pty-z63w68vq.js} +6 -6
  278. package/dist/chunks/{variant-09j7xzbf.js → pty-z9g3fnns.js} +22 -22
  279. package/dist/chunks/{variant-ab7aqfjn.js → pty-z9z6sd2a.js} +13 -13
  280. package/dist/chunks/{variant-1sadmq9v.js → pty-zapz2rcy.js} +26 -26
  281. package/dist/chunks/{variant-2s1nhtmv.js → pty-zcz1ktx8.js} +3 -3
  282. package/dist/chunks/{variant-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{variant-v4dhgaj7.js → pty-zfx1etke.js} +10 -10
  284. package/dist/chunks/{variant-e0r7vjdq.js → pty-zg3tcem2.js} +9 -9
  285. package/dist/chunks/{variant-bst6223z.js → pty-zn6sdvfn.js} +20 -20
  286. package/dist/chunks/{variant-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{variant-ds3dp4hd.js → pty-zv6tdpnx.js} +29 -29
  288. package/dist/chunks/{variant-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{variant-dmtmpte2.js → pty-zxtb73ge.js} +15 -15
  290. package/dist/chunks/{variant-gszg7n4f.js → pty-zy6cwck4.js} +8 -8
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +119 -119
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -367
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  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 +90 -90
  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/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -358
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +87 -87
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -355
  472. package/dist/location.js +88 -88
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +79 -79
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +116 -116
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -329
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +5 -5
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +91 -91
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +73 -73
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +345 -344
  546. package/dist/plugin/tool-input-repair.js +9 -0
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +83 -83
  549. package/dist/plugin/vcs/hg.js +83 -83
  550. package/dist/plugin/warming.js +118 -118
  551. package/dist/plugin/websearch/exa.js +5 -5
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +220 -220
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +89 -89
  562. package/dist/provider.js +104 -100
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +95 -95
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +88 -88
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +223 -223
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +111 -111
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +149 -149
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +219 -219
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +217 -217
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +90 -90
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +104 -104
  644. package/dist/tool/plugin/read.js +120 -120
  645. package/dist/tool/plugin/shell.js +212 -212
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +109 -109
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +16 -16
  655. package/dist/types/agent.d.ts +14 -1
  656. package/dist/types/model-resolver.d.ts +2 -2
  657. package/dist/types/model.d.ts +54 -14
  658. package/dist/types/plugin/provider/configured.d.ts +2 -6
  659. package/dist/types/plugin/tool-input-repair.d.ts +2 -0
  660. package/dist/types/provider.d.ts +63 -15
  661. package/dist/types/session/history.d.ts +8 -8
  662. package/dist/types/v1/config/migrate.d.ts +30 -20
  663. package/dist/util/error-summary.js +1 -1
  664. package/dist/util/error.js +1 -1
  665. package/dist/util/git-executable.js +2 -2
  666. package/dist/util/iife.js +1 -1
  667. package/dist/util/lazy.js +1 -1
  668. package/dist/util/slug.js +1 -1
  669. package/dist/util/token.js +1 -1
  670. package/dist/util/which.js +1 -1
  671. package/dist/util/wildcard.js +1 -1
  672. package/dist/v1/config/agent.js +7 -7
  673. package/dist/v1/config/attachment.js +4 -4
  674. package/dist/v1/config/command.js +3 -3
  675. package/dist/v1/config/config.js +16 -16
  676. package/dist/v1/config/error.js +4 -4
  677. package/dist/v1/config/formatter.js +5 -5
  678. package/dist/v1/config/layout.js +1 -1
  679. package/dist/v1/config/lsp.js +5 -5
  680. package/dist/v1/config/mcp.js +4 -4
  681. package/dist/v1/config/migrate.js +91 -91
  682. package/dist/v1/config/permission.js +7 -7
  683. package/dist/v1/config/plugin.js +3 -3
  684. package/dist/v1/config/provider-options.js +1 -1
  685. package/dist/v1/config/provider.js +4 -4
  686. package/dist/v1/config/server.js +2 -2
  687. package/dist/v1/config/skills.js +3 -3
  688. package/dist/v1/permission.js +1 -1
  689. package/dist/variant.js +90 -90
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +88 -88
  692. package/dist/websearch.js +81 -81
  693. package/dist/wellknown/plugin.js +75 -75
  694. package/dist/wellknown.js +80 -80
  695. package/dist/workspace/driver.js +3 -3
  696. package/dist/workspace/sql.js +1 -1
  697. package/dist/workspace.js +79 -79
  698. package/dist/worktree/directory.js +2 -2
  699. package/dist/worktree/git.js +10 -10
  700. package/dist/worktree/sql.js +5 -5
  701. package/dist/worktree/strategies.js +88 -88
  702. package/dist/worktree.js +95 -95
  703. package/package.json +8 -8
  704. package/dist/chunks/variant-3m2gyyj8.js +0 -65
  705. package/dist/chunks/variant-cehqskmp.js +0 -252
  706. package/dist/chunks/variant-n95b3jav.js +0 -18
  707. package/dist/chunks/variant-qapv375x.js +0 -4
  708. /package/dist/chunks/{variant-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  709. /package/dist/chunks/{variant-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  710. /package/dist/chunks/{variant-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  711. /package/dist/chunks/{variant-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  712. /package/dist/chunks/{variant-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  713. /package/dist/chunks/{variant-24dcb14g.js → pty-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{variant-2710q6r3.js → pty-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{variant-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  716. /package/dist/chunks/{variant-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{variant-359p4xyc.js → pty-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{variant-3asan66x.js → pty-3asan66x.js} +0 -0
  719. /package/dist/chunks/{variant-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{variant-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{variant-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{variant-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{variant-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{variant-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{variant-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{variant-53557ph1.js → pty-53557ph1.js} +0 -0
  727. /package/dist/chunks/{variant-550bvhaj.js → pty-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{variant-6prwharc.js → pty-6prwharc.js} +0 -0
  729. /package/dist/chunks/{variant-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{variant-7m9af43g.js → pty-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{variant-822emrt2.js → pty-822emrt2.js} +0 -0
  732. /package/dist/chunks/{variant-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{variant-8n3pysct.js → pty-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{variant-922hggd3.js → pty-922hggd3.js} +0 -0
  735. /package/dist/chunks/{variant-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{variant-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{variant-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{variant-af5trqkr.js → pty-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{variant-afrmfg78.js → pty-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{variant-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{variant-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{variant-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{variant-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{variant-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{variant-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{variant-d9fn303g.js → pty-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{variant-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{variant-dajrwvna.js → pty-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{variant-dap0rakb.js → pty-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{variant-df08tz66.js → pty-df08tz66.js} +0 -0
  751. /package/dist/chunks/{variant-dy18nga0.js → pty-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{variant-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{variant-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{variant-ec1grn59.js → pty-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{variant-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{variant-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{variant-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{variant-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{variant-faypxj3z.js → pty-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{variant-fd410y7t.js → pty-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{variant-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{variant-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{variant-g86h250q.js → pty-g86h250q.js} +0 -0
  764. /package/dist/chunks/{variant-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{variant-gftt206x.js → pty-gftt206x.js} +0 -0
  766. /package/dist/chunks/{variant-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{variant-hk9envan.js → pty-hk9envan.js} +0 -0
  768. /package/dist/chunks/{variant-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{variant-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{variant-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{variant-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{variant-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{variant-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{variant-mp448xyj.js → pty-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{variant-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{variant-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{variant-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{variant-njntx4h6.js → pty-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{variant-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{variant-q74kybfr.js → pty-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{variant-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{variant-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{variant-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{variant-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{variant-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{variant-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{variant-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{variant-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{variant-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{variant-twg0f83k.js → pty-twg0f83k.js} +0 -0
  791. /package/dist/chunks/{variant-w803qqfp.js → pty-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{variant-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{variant-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{variant-wtztk69x.js → pty-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{variant-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{variant-x61499pn.js → pty-x61499pn.js} +0 -0
  797. /package/dist/chunks/{variant-y44na4kk.js → pty-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{variant-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{variant-y8f7s663.js → pty-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{variant-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{variant-ym463w8f.js → pty-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{variant-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
+ import {
2
+ Service80,
3
+ node84
4
+ } from "./pty-tqwr2f5g.js";
1
5
  import {
2
6
  Service82,
3
7
  node86
4
- } from "./variant-fz75205d.js";
5
- import {
6
- Service77,
7
- node81
8
- } from "./variant-v4dhgaj7.js";
8
+ } from "./pty-zfx1etke.js";
9
9
  import {
10
10
  create3
11
- } from "./variant-rdw6cm16.js";
11
+ } from "./pty-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./variant-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event7,
20
+ Event: () => Event9,
21
21
  ID: () => ID4,
22
- Input: () => Input13,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,19 +28,19 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service28,
31
+ Service: () => Service48,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node31
33
+ node: () => node51
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event7 } from "@opencode/schema/websearch";
40
+ import { Event as Event9 } from "@opencode/schema/websearch";
41
41
  var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input13 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
63
63
  }) {
64
64
  }
65
65
 
66
- class Service28 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service48 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service28, Effect.gen(function* () {
69
- const bus = yield* Service82;
70
- const kv = yield* Service77;
68
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
69
+ const bus = yield* Service80;
70
+ const kv = yield* Service82;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service28.of({
127
+ return Service48.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node31 = makeLocationNode({
188
- service: Service28,
187
+ var node51 = makeLocationNode({
188
+ service: Service48,
189
189
  layer,
190
- deps: [node86, node81]
190
+ deps: [node84, node86]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service28, node31, exports_websearch3, Event7 };
193
+ export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service48, node51, exports_websearch3, Event9 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./variant-tvtrv512.js";
3
+ } from "./pty-tvtrv512.js";
4
4
  import {
5
- Service77,
6
- node81
7
- } from "./variant-v4dhgaj7.js";
5
+ Service82,
6
+ node86
7
+ } from "./pty-zfx1etke.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./variant-gftt206x.js";
10
+ } from "./pty-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./variant-7jdsj2a9.js";
13
+ } from "./pty-256nx13v.js";
14
14
  import {
15
15
  __export
16
- } from "./variant-9rqn6x4v.js";
16
+ } from "./pty-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service53,
23
- make: () => make19,
24
- node: () => node56
22
+ Service: () => Service81,
23
+ make: () => make22,
24
+ node: () => node85
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
  var COMPLETED_LIMIT = 25;
53
53
 
54
- class Service53 extends Context.Service()("@opencode/Job") {
54
+ class Service81 extends Context.Service()("@opencode/Job") {
55
55
  }
56
56
  function snapshot(job) {
57
57
  return {
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
86
86
  next.set(sessionID, count - 1);
87
87
  return next;
88
88
  }
89
- var make19 = Effect.gen(function* () {
90
- const kv = yield* Service77;
89
+ var make22 = Effect.gen(function* () {
90
+ const kv = yield* Service82;
91
91
  const state = {
92
92
  jobs: yield* SynchronizedRef.make(new Map),
93
93
  scope: yield* Scope.Scope
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
346
346
  next.delete(entry[0]);
347
347
  return next;
348
348
  })));
349
- return Service53.of({
349
+ return Service81.of({
350
350
  get,
351
351
  start,
352
352
  wait,
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
358
358
  completeBackground
359
359
  });
360
360
  });
361
- var layer = Layer.effect(Service53, make19);
362
- var node56 = makeGlobalNode({ service: Service53, layer, deps: [node81] });
361
+ var layer = Layer.effect(Service81, make22);
362
+ var node85 = makeGlobalNode({ service: Service81, layer, deps: [node86] });
363
363
 
364
- export { Service53, make19, node56, exports_job };
364
+ export { Service81, make22, node85, exports_job };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./variant-3w5fmr99.js";
4
+ } from "./pty-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./variant-m3fdjcah.js";
8
+ } from "./pty-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./variant-9rqn6x4v.js";
11
+ } from "./pty-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./variant-jd8ez2rx.js";
4
+ } from "./pty-96712bz8.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./variant-fz75205d.js";
6
+ Service80,
7
+ node84
8
+ } from "./pty-tqwr2f5g.js";
9
9
  import {
10
- Service53,
11
- node56
12
- } from "./variant-e0cjyxzq.js";
10
+ Service81,
11
+ node85
12
+ } from "./pty-k388e6t1.js";
13
13
  import {
14
- Service49,
15
- node51
16
- } from "./variant-c8bydgjz.js";
14
+ Service35,
15
+ node37
16
+ } from "./pty-cdm0dq9n.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./variant-ec1grn59.js";
19
+ } from "./pty-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./variant-yp2x3t23.js";
21
+ make15
22
+ } from "./pty-f2n192rq.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service46
26
- } from "./variant-dhmh7aw6.js";
25
+ Service34
26
+ } from "./pty-m70sbz6t.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./variant-53g2xa05.js";
29
+ } from "./pty-f35htakt.js";
30
30
  import {
31
- Service64,
32
- node68
33
- } from "./variant-83r8e852.js";
31
+ Service68,
32
+ node71
33
+ } from "./pty-g6v5r3w6.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./variant-0rv2ccgj.js";
36
+ } from "./pty-2bm8nv3j.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./variant-ag0ge9vb.js";
39
+ } from "./pty-mh8602s5.js";
40
40
  import {
41
41
  __export
42
- } from "./variant-9rqn6x4v.js";
42
+ } from "./pty-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service45,
47
+ Service: () => Service33,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer17,
50
- node: () => node48,
51
- noopLayer: () => noopLayer3,
49
+ layer: () => layer15,
50
+ node: () => node36,
51
+ noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service45 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service33 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer17 = Layer.effect(Service45, Effect.gen(function* () {
69
- const store = yield* Service64;
70
- const instances = yield* Service49;
71
- const bus = yield* Service82;
72
- const jobs = yield* Service53;
68
+ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
69
+ const store = yield* Service68;
70
+ const instances = yield* Service35;
71
+ const bus = yield* Service80;
72
+ const jobs = yield* Service81;
73
73
  const db = (yield* Service83).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer17 = Layer.effect(Service45, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service34.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make16({
92
+ const coordinator = yield* make15({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer17 = Layer.effect(Service45, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service45.of({
113
+ return Service33.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer17 = Layer.effect(Service45, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node48 = makeGlobalNode({
133
- service: Service45,
134
- layer: layer17,
135
- deps: [node68, node51, node86, node87, node56]
132
+ var node36 = makeGlobalNode({
133
+ service: Service33,
134
+ layer: layer15,
135
+ deps: [node71, node37, node84, node87, node85]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service45, Service45.of({
137
+ var noopLayer2 = Layer.succeed(Service33, Service33.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service45, Service45.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service45, terminal2, layer17, node48, noopLayer3, exports_execution };
146
+ export { Service33, terminal2, layer15, node36, noopLayer2, exports_execution };
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service83
3
- } from "./variant-jd8ez2rx.js";
3
+ } from "./pty-96712bz8.js";
4
4
  import {
5
- Service82
6
- } from "./variant-fz75205d.js";
5
+ Service80
6
+ } from "./pty-tqwr2f5g.js";
7
7
  import {
8
- Service49
9
- } from "./variant-c8bydgjz.js";
8
+ Service35
9
+ } from "./pty-cdm0dq9n.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./variant-fxbjtjnd.js";
12
+ } from "./pty-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./variant-gftt206x.js";
15
+ } from "./pty-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./variant-53g2xa05.js";
23
+ } from "./pty-f35htakt.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./variant-ec1grn59.js";
26
+ } from "./pty-ec1grn59.js";
27
27
  import {
28
- Service64
29
- } from "./variant-83r8e852.js";
28
+ Service68
29
+ } from "./pty-g6v5r3w6.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service47
34
- } from "./variant-ag0ge9vb.js";
33
+ Service36
34
+ } from "./pty-mh8602s5.js";
35
35
  import {
36
- Service45
37
- } from "./variant-cfqcr5nn.js";
36
+ Service33
37
+ } from "./pty-kb1rdp05.js";
38
38
  import {
39
39
  prepare2
40
- } from "./variant-7awa95k0.js";
40
+ } from "./pty-wxrzmbxm.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./variant-1ht4yrx5.js";
45
+ } from "./pty-gqgkwrka.js";
46
46
  import {
47
47
  start2
48
- } from "./variant-nn2fzds8.js";
48
+ } from "./pty-2x2vnpz5.js";
49
49
  import {
50
50
  get4
51
- } from "./variant-byy6e5ra.js";
51
+ } from "./pty-mf55kzn1.js";
52
52
  import {
53
53
  __export
54
- } from "./variant-9rqn6x4v.js";
54
+ } from "./pty-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make15
60
+ make: () => make12
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make15 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service82;
65
+ var make12 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service80;
67
67
  const database = yield* Service83;
68
- const store = yield* Service64;
69
- const instances = yield* Service49;
70
- const execution = yield* Service45;
71
- const admission = yield* Service47;
68
+ const store = yield* Service68;
69
+ const instances = yield* Service35;
70
+ const execution = yield* Service33;
71
+ const admission = yield* Service36;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError8({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make15 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service35, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make15 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service35, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service35, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service35, instances), Effect.provideService(Service83, database), Effect.provideService(Service80, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service82, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service35, instances), Effect.provideService(Service80, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make15, exports_session2 };
325
+ export { make12, exports_session2 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./variant-7j7wzv8x.js";
5
+ } from "./pty-gy590f6s.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./variant-drwq78ky.js";
3
+ } from "./pty-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service70
3
- } from "./variant-6zd4z6kv.js";
2
+ Service47
3
+ } from "./pty-e8gs20m7.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./variant-922hggd3.js";
6
+ } from "./pty-922hggd3.js";
7
7
  import {
8
- Service74
9
- } from "./variant-ka9h1195.js";
8
+ Service77
9
+ } from "./pty-en85tny2.js";
10
10
  import {
11
- Service69
12
- } from "./variant-gt3cwgnf.js";
11
+ Service46
12
+ } from "./pty-a6ha29gm.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./variant-9t1yzjs7.js";
16
+ Source3
17
+ } from "./pty-cerhndf8.js";
18
18
  import {
19
- Service8
20
- } from "./variant-rhafb4aa.js";
19
+ Service12
20
+ } from "./pty-nq7qbqzc.js";
21
21
  import {
22
22
  parse2
23
- } from "./variant-n4fbvqmd.js";
23
+ } from "./pty-96k7qteq.js";
24
24
  import {
25
25
  __export
26
- } from "./variant-9rqn6x4v.js";
26
+ } from "./pty-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill = {};
30
- __export(exports_skill, {
31
- ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin13
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin16
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin13 = define({
39
+ var Plugin16 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service69;
43
- const discovery = yield* Service8;
42
+ const config = yield* Service46;
43
+ const discovery = yield* Service12;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service74;
47
- const watcher = yield* Service70;
46
+ const location = yield* Service77;
47
+ const watcher = yield* Service47;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin13 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source4.equals(item, source)))
90
+ if (result.some((item) => Source3.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin13 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source4.key(source),
115
+ source: Source3.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin13 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source4.key(source),
144
+ source: Source3.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin13 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source4.key),
163
+ sources: current.map(Source3.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin13 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin13, exports_skill };
179
+ export { Plugin16, exports_skill2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID13
3
- } from "./variant-9588vfer.js";
2
+ ID7
3
+ } from "./pty-p2bsys5p.js";
4
4
  import {
5
5
  iife2
6
- } from "./variant-1kg9ymc8.js";
6
+ } from "./pty-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./variant-aw2ne7rk.js";
9
+ } from "./pty-rwwvkkw9.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID13.make("cloudflare-ai-gateway");
15
+ var providerID = ID7.make("cloudflare-ai-gateway");
16
16
  var CloudflareAIGatewayPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.ai.gateway",
18
18
  effect: Effect.fn(function* (ctx) {