@opencode/core 0.0.0-dev-20240 → 0.0.0-dev-20241

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{filesystem-s3srg93r.js → pty-01vst05w.js} +39 -39
  8. package/dist/chunks/{filesystem-fp2xarvc.js → pty-0bfcnrg1.js} +1 -1
  9. package/dist/chunks/{filesystem-t9636gx1.js → pty-0c3h0e6z.js} +16 -16
  10. package/dist/chunks/{filesystem-hn8wsm4z.js → pty-0gefkeg7.js} +11 -11
  11. package/dist/chunks/{filesystem-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{filesystem-w2qmsxre.js → pty-0zfem7mk.js} +17 -17
  13. package/dist/chunks/{filesystem-13n5q7dt.js → pty-140xbb54.js} +44 -44
  14. package/dist/chunks/{filesystem-p3192dp6.js → pty-15y67vk6.js} +2 -2
  15. package/dist/chunks/{filesystem-cd22b0cq.js → pty-16hsz39w.js} +18 -18
  16. package/dist/chunks/{filesystem-73tb2d7t.js → pty-1bbkgx8g.js} +3 -3
  17. package/dist/chunks/{filesystem-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{filesystem-cbwhh3ee.js → pty-1n9x896q.js} +9 -9
  19. package/dist/chunks/{filesystem-fzts1kpm.js → pty-1q4zsn8w.js} +6 -6
  20. package/dist/chunks/{filesystem-ypx73geg.js → pty-1rh4yqvv.js} +9 -9
  21. package/dist/chunks/{filesystem-0yevmncv.js → pty-1t09j7vg.js} +10 -10
  22. package/dist/chunks/{filesystem-n8gssbbw.js → pty-1wpnfrkj.js} +4 -4
  23. package/dist/chunks/{filesystem-4hdsm0pm.js → pty-1xjcf8r7.js} +17 -17
  24. package/dist/chunks/{filesystem-21r38tys.js → pty-21r38tys.js} +1 -1
  25. package/dist/chunks/{filesystem-k1mgmdq6.js → pty-24171fwy.js} +32 -32
  26. package/dist/chunks/{filesystem-mxn40ybh.js → pty-24wggvhe.js} +14 -14
  27. package/dist/chunks/{filesystem-6shp5cvc.js → pty-29j3yxrv.js} +29 -29
  28. package/dist/chunks/{filesystem-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{filesystem-sh2daxqk.js → pty-2k2q6fw8.js} +9 -9
  30. package/dist/chunks/{filesystem-esafk7q3.js → pty-2k8khapm.js} +5 -5
  31. package/dist/chunks/{filesystem-m7fy2dv4.js → pty-2x3f6yxr.js} +12 -12
  32. package/dist/chunks/{filesystem-7zpeh0yx.js → pty-30krspkn.js} +4 -4
  33. package/dist/chunks/{filesystem-1y3mx57g.js → pty-31bxas0a.js} +25 -25
  34. package/dist/chunks/{filesystem-7bgd9sa5.js → pty-32zdxkvs.js} +35 -35
  35. package/dist/chunks/{filesystem-d4a7av5z.js → pty-399vjpvh.js} +6 -6
  36. package/dist/chunks/{filesystem-akdn9jnb.js → pty-3dek0r7g.js} +16 -16
  37. package/dist/chunks/{filesystem-6ma10yar.js → pty-3dqaahn9.js} +7 -7
  38. package/dist/chunks/{filesystem-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{filesystem-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{filesystem-7b1f8sqc.js → pty-3jhgxqxx.js} +25 -25
  41. package/dist/chunks/{filesystem-hedm60x3.js → pty-3meec69r.js} +13 -13
  42. package/dist/chunks/{filesystem-vzawmjdf.js → pty-3nqrbqk0.js} +35 -35
  43. package/dist/chunks/{filesystem-mkdy6qkj.js → pty-3p17msm4.js} +9 -9
  44. package/dist/chunks/{filesystem-f2sgpmsp.js → pty-3r1sf261.js} +13 -13
  45. package/dist/chunks/{filesystem-cf01cagz.js → pty-3s3yvxep.js} +6 -6
  46. package/dist/chunks/{filesystem-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{filesystem-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{filesystem-6nczgvap.js → pty-3wa2an9q.js} +19 -19
  49. package/dist/chunks/{filesystem-8e5zyrwm.js → pty-3zar4bb6.js} +29 -29
  50. package/dist/chunks/{filesystem-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{filesystem-4dgbcxzg.js → pty-44h5tttr.js} +4 -4
  52. package/dist/chunks/{filesystem-hjj02mgg.js → pty-45wxwjsv.js} +42 -42
  53. package/dist/chunks/{filesystem-wfz5d65w.js → pty-464e7j92.js} +33 -33
  54. package/dist/chunks/{filesystem-3cjwh6g5.js → pty-48vtn20n.js} +10 -10
  55. package/dist/chunks/{filesystem-fhz5gfgy.js → pty-49exe669.js} +5 -5
  56. package/dist/chunks/{filesystem-n1mk886p.js → pty-4jg0yvch.js} +20 -20
  57. package/dist/chunks/{filesystem-2np3k2bf.js → pty-4k009h74.js} +25 -25
  58. package/dist/chunks/{filesystem-1cn5a5mh.js → pty-4pkc64bv.js} +12 -12
  59. package/dist/chunks/{filesystem-2at83sxs.js → pty-4s7et4sz.js} +69 -69
  60. package/dist/chunks/{filesystem-0qx4m1me.js → pty-50a34wry.js} +11 -11
  61. package/dist/chunks/{filesystem-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
  62. package/dist/chunks/{filesystem-5daktx2q.js → pty-5daktx2q.js} +1 -1
  63. package/dist/chunks/{filesystem-j5208yae.js → pty-5qkxfyep.js} +4 -4
  64. package/dist/chunks/{filesystem-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{filesystem-09fmdqc3.js → pty-5zzhnchw.js} +10 -10
  66. package/dist/chunks/{filesystem-m8xa9e63.js → pty-61n243wx.js} +1 -1
  67. package/dist/chunks/{filesystem-669tq793.js → pty-669tq793.js} +1 -1
  68. package/dist/chunks/{filesystem-d43zz4nj.js → pty-6b6tf05m.js} +14 -14
  69. package/dist/chunks/{filesystem-n33rgabk.js → pty-6f3gsd2m.js} +52 -52
  70. package/dist/chunks/{filesystem-qzz1k0t8.js → pty-6fjgv3tx.js} +7 -7
  71. package/dist/chunks/{filesystem-gfhtznv3.js → pty-6h8axav6.js} +9 -9
  72. package/dist/chunks/{filesystem-0jq9fyba.js → pty-6hjx5zpb.js} +9 -9
  73. package/dist/chunks/{filesystem-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{filesystem-9jgr38p9.js → pty-6n4wvebq.js} +24 -24
  75. package/dist/chunks/{filesystem-7fkffz83.js → pty-6pc27hjz.js} +8 -8
  76. package/dist/chunks/{filesystem-8hh75t8h.js → pty-6pd7t5p9.js} +11 -11
  77. package/dist/chunks/{filesystem-cwy3e0f0.js → pty-6r5c1vje.js} +20 -20
  78. package/dist/chunks/{filesystem-0br3sbwn.js → pty-6rm5yzkt.js} +4 -4
  79. package/dist/chunks/{filesystem-2arffnsn.js → pty-73hkkxz0.js} +4 -4
  80. package/dist/chunks/{filesystem-24yp57y1.js → pty-77qrrhbk.js} +7 -7
  81. package/dist/chunks/{filesystem-9sdebhyw.js → pty-78jvmpng.js} +30 -30
  82. package/dist/chunks/{filesystem-wjeg1wsf.js → pty-78kppgjr.js} +8 -8
  83. package/dist/chunks/{filesystem-2sejkfem.js → pty-79qaa2kf.js} +9 -9
  84. package/dist/chunks/{filesystem-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{filesystem-5c120nwe.js → pty-7fp69wc6.js} +5 -5
  86. package/dist/chunks/{filesystem-rd8q201w.js → pty-7k5pzz91.js} +12 -12
  87. package/dist/chunks/{filesystem-w3bkza1g.js → pty-7qcv56qz.js} +3 -3
  88. package/dist/chunks/{filesystem-47syppsm.js → pty-7r0mserh.js} +27 -27
  89. package/dist/chunks/{filesystem-t918d8cq.js → pty-7y5p1sr1.js} +8 -8
  90. package/dist/chunks/{filesystem-f0368xkp.js → pty-807f613b.js} +35 -35
  91. package/dist/chunks/{filesystem-9p42wv5p.js → pty-81y2sag2.js} +25 -25
  92. package/dist/chunks/{filesystem-84txncab.js → pty-84txncab.js} +1 -1
  93. package/dist/chunks/{filesystem-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{filesystem-n8zx0qm6.js → pty-8g2qdxs9.js} +33 -33
  95. package/dist/chunks/{filesystem-ff7x310r.js → pty-92873q6k.js} +27 -27
  96. package/dist/chunks/{filesystem-94ek1h2f.js → pty-94ek1h2f.js} +2 -2
  97. package/dist/chunks/{filesystem-bg71ph9x.js → pty-990hcqnx.js} +24 -24
  98. package/dist/chunks/{filesystem-nta5r5g3.js → pty-9hqygntd.js} +22 -22
  99. package/dist/chunks/{filesystem-xjaef4xf.js → pty-9j0dwt0n.js} +5 -5
  100. package/dist/chunks/{filesystem-cj5wqxwp.js → pty-9jdec6an.js} +21 -21
  101. package/dist/chunks/{filesystem-3f9dn8j5.js → pty-9r13wbwg.js} +3 -3
  102. package/dist/chunks/{filesystem-7btysaay.js → pty-9sayw2ch.js} +5 -5
  103. package/dist/chunks/{filesystem-2x1f9zwj.js → pty-9sbw2ymd.js} +29 -29
  104. package/dist/chunks/pty-9zdhvgqs.js +18 -0
  105. package/dist/chunks/{filesystem-f2fkfqad.js → pty-a0vpxxed.js} +5 -5
  106. package/dist/chunks/{filesystem-5e7rf9zs.js → pty-a1rbvmj7.js} +35 -35
  107. package/dist/chunks/{filesystem-6j06p5mc.js → pty-a3he3nyv.js} +27 -27
  108. package/dist/chunks/{filesystem-f9231ptw.js → pty-a3zfxb3h.js} +28 -28
  109. package/dist/chunks/{filesystem-aaet6srn.js → pty-aaet6srn.js} +2 -2
  110. package/dist/chunks/{filesystem-3a6re68j.js → pty-ab9238g2.js} +6 -6
  111. package/dist/chunks/{filesystem-pecb0brz.js → pty-af04s6ss.js} +5 -5
  112. package/dist/chunks/{filesystem-zcsbmsrf.js → pty-afh0ypz9.js} +29 -29
  113. package/dist/chunks/{filesystem-n83saq1s.js → pty-agwtjn7h.js} +10 -10
  114. package/dist/chunks/{filesystem-72b58gz1.js → pty-arey8x0d.js} +10 -10
  115. package/dist/chunks/{filesystem-vmepscws.js → pty-b10jyf86.js} +13 -13
  116. package/dist/chunks/{filesystem-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{filesystem-1gfephy1.js → pty-b7qnbf45.js} +4 -4
  118. package/dist/chunks/{filesystem-95svx96e.js → pty-b81v50pn.js} +5 -5
  119. package/dist/chunks/{filesystem-6b713qfj.js → pty-bf10k29y.js} +3 -3
  120. package/dist/chunks/{filesystem-61126d0d.js → pty-bfh6ya47.js} +20 -20
  121. package/dist/chunks/{filesystem-cht1zc30.js → pty-bmwcq5x5.js} +21 -21
  122. package/dist/chunks/{filesystem-drvrjmpp.js → pty-bnpy9ev6.js} +17 -17
  123. package/dist/chunks/{filesystem-tks0bnq5.js → pty-btx594cc.js} +3 -3
  124. package/dist/chunks/{filesystem-mwj78qbb.js → pty-bvam09wt.js} +20 -20
  125. package/dist/chunks/{filesystem-0mh2q183.js → pty-c2egcwd5.js} +17 -17
  126. package/dist/chunks/{filesystem-4dfa1csd.js → pty-c7f1t297.js} +25 -25
  127. package/dist/chunks/{filesystem-9y094rtb.js → pty-c86zcgcw.js} +14 -14
  128. package/dist/chunks/{filesystem-vgm83cgp.js → pty-ch9ek5wv.js} +18 -18
  129. package/dist/chunks/{filesystem-ckecvw8r.js → pty-ckecvw8r.js} +2 -2
  130. package/dist/chunks/{filesystem-c2zxq3ay.js → pty-cp4trhpy.js} +13 -13
  131. package/dist/chunks/{filesystem-hy0qjepx.js → pty-d99kb9jw.js} +15 -15
  132. package/dist/chunks/{filesystem-dfe8djrf.js → pty-dfe8djrf.js} +1 -1
  133. package/dist/chunks/{filesystem-tz2bjj40.js → pty-dj9sq318.js} +5 -5
  134. package/dist/chunks/{filesystem-m7kdp6gf.js → pty-dke02a2q.js} +22 -22
  135. package/dist/chunks/{filesystem-xkntkrq7.js → pty-dmqcgk4z.js} +5 -5
  136. package/dist/chunks/{filesystem-yvr0je1c.js → pty-dnmtb8jk.js} +31 -31
  137. package/dist/chunks/{filesystem-bnkgx7re.js → pty-dqczjf24.js} +3 -3
  138. package/dist/chunks/{filesystem-qqeeq2t9.js → pty-drwq78ky.js} +7 -7
  139. package/dist/chunks/{filesystem-1p1fqfpr.js → pty-dy3v49r2.js} +11 -11
  140. package/dist/chunks/{filesystem-vn0yq8gz.js → pty-e6btmr3s.js} +164 -164
  141. package/dist/chunks/{filesystem-e6hmchc5.js → pty-e6hmchc5.js} +2 -2
  142. package/dist/chunks/{filesystem-p751nfh9.js → pty-e7bpba2x.js} +15 -15
  143. package/dist/chunks/{filesystem-t550f9t1.js → pty-eaj1djv9.js} +8 -8
  144. package/dist/chunks/{filesystem-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
  145. package/dist/chunks/{filesystem-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{filesystem-0pcvbqvq.js → pty-ef8z397z.js} +18 -18
  147. package/dist/chunks/{filesystem-8zqs9j7p.js → pty-em4dwj0d.js} +11 -11
  148. package/dist/chunks/{filesystem-wy048fd6.js → pty-es2axc3h.js} +25 -25
  149. package/dist/chunks/{filesystem-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{filesystem-32jxf96r.js → pty-eveqn7cq.js} +17 -17
  151. package/dist/chunks/{filesystem-dh864dnf.js → pty-evxzpz7n.js} +11 -11
  152. package/dist/chunks/{filesystem-f2n192rq.js → pty-f2n192rq.js} +1 -1
  153. package/dist/chunks/pty-f3b7p96q.js +252 -0
  154. package/dist/chunks/{filesystem-magykp64.js → pty-f3ngv102.js} +4 -4
  155. package/dist/chunks/{filesystem-dqhaz4gz.js → pty-fbk8frwm.js} +3 -3
  156. package/dist/chunks/{filesystem-7601emta.js → pty-fm4n3eyq.js} +14 -14
  157. package/dist/chunks/{filesystem-p37cw4rj.js → pty-g0445xdp.js} +8 -8
  158. package/dist/chunks/{filesystem-xvp1j2dc.js → pty-g5agzp2h.js} +5 -5
  159. package/dist/chunks/{filesystem-hrpet7xn.js → pty-g7ev7cxw.js} +14 -14
  160. package/dist/chunks/{filesystem-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{filesystem-0w7xa6ee.js → pty-gk5v5xhs.js} +18 -18
  162. package/dist/chunks/{filesystem-85j366jc.js → pty-gqpj6er6.js} +27 -27
  163. package/dist/chunks/{filesystem-x2qdxhwm.js → pty-gs4tkc79.js} +8 -8
  164. package/dist/chunks/{filesystem-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{filesystem-6vvbwd4g.js → pty-h00myp85.js} +48 -48
  166. package/dist/chunks/{filesystem-svp7d0fp.js → pty-h24wanpd.js} +18 -18
  167. package/dist/chunks/{filesystem-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{filesystem-m5q6th7b.js → pty-h958fs6f.js} +12 -12
  169. package/dist/chunks/{filesystem-y34854y5.js → pty-h98gf4gh.js} +33 -33
  170. package/dist/chunks/{filesystem-qh690qjv.js → pty-haszz9qj.js} +87 -87
  171. package/dist/chunks/{filesystem-8q7cq0y1.js → pty-hbznj76v.js} +3 -3
  172. package/dist/chunks/{filesystem-pb1eahw5.js → pty-hdthj1pw.js} +8 -8
  173. package/dist/chunks/{filesystem-z29005y7.js → pty-hqwm4sk8.js} +18 -18
  174. package/dist/chunks/{filesystem-h7y0hqxr.js → pty-htjsxrd7.js} +13 -13
  175. package/dist/chunks/{filesystem-qkfs2zns.js → pty-hybxtsjq.js} +9 -9
  176. package/dist/chunks/{filesystem-r45jhqb9.js → pty-j0ct8xdg.js} +5 -5
  177. package/dist/chunks/{filesystem-j56e64zr.js → pty-j56e64zr.js} +1 -1
  178. package/dist/chunks/{filesystem-jtxbrew9.js → pty-j62n369y.js} +5 -5
  179. package/dist/chunks/pty-j9x84jzd.js +26 -0
  180. package/dist/chunks/{filesystem-dqfphc03.js → pty-jam4tn4y.js} +9 -9
  181. package/dist/chunks/{filesystem-bk2qgnaw.js → pty-jc00fynt.js} +11 -11
  182. package/dist/chunks/{filesystem-228pzppe.js → pty-jfkvjta7.js} +27 -27
  183. package/dist/chunks/{filesystem-0qhtvwpj.js → pty-jk65v3xz.js} +3 -3
  184. package/dist/chunks/{filesystem-76eeqvp0.js → pty-k2s68ryd.js} +6 -6
  185. package/dist/chunks/{filesystem-h32wa76p.js → pty-k31j77h5.js} +320 -320
  186. package/dist/chunks/{filesystem-nzks3jc8.js → pty-k3c624dm.js} +3 -3
  187. package/dist/chunks/{filesystem-wav3c6xe.js → pty-ka2whr6h.js} +43 -43
  188. package/dist/chunks/{filesystem-2qdytgm4.js → pty-kpgsxh3c.js} +13 -13
  189. package/dist/chunks/{filesystem-k030p904.js → pty-kvj59xr5.js} +1 -1
  190. package/dist/chunks/{filesystem-xdh9m6e8.js → pty-m2fxrq1x.js} +15 -15
  191. package/dist/chunks/{filesystem-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{filesystem-2w4eq4pf.js → pty-m563m38r.js} +11 -11
  193. package/dist/chunks/{filesystem-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{filesystem-3dgq6m1n.js → pty-mfjdmrp8.js} +45 -45
  195. package/dist/chunks/{filesystem-1ygqh575.js → pty-mfqp6xfm.js} +6 -6
  196. package/dist/chunks/{filesystem-2jnrxcaz.js → pty-mmd2gt62.js} +22 -22
  197. package/dist/chunks/{filesystem-7h5ye0bq.js → pty-mvz1jaak.js} +22 -22
  198. package/dist/chunks/{filesystem-awczx5q5.js → pty-mxbk4svv.js} +78 -78
  199. package/dist/chunks/{filesystem-xm3bqwwb.js → pty-natfc3ay.js} +4 -4
  200. package/dist/chunks/{filesystem-hd23g7nz.js → pty-nc3tx9jz.js} +8 -8
  201. package/dist/chunks/{filesystem-44mxtx8s.js → pty-nf1sbg18.js} +5 -5
  202. package/dist/chunks/{filesystem-fhd6f79b.js → pty-ngad3z0g.js} +15 -15
  203. package/dist/chunks/{filesystem-r56fmryn.js → pty-nvsf456q.js} +23 -23
  204. package/dist/chunks/{filesystem-g344s1sv.js → pty-nw2v4mce.js} +7 -7
  205. package/dist/chunks/{filesystem-jdc9aac8.js → pty-nyw6c0bv.js} +26 -26
  206. package/dist/chunks/{filesystem-j5w2yx54.js → pty-p7a39gy5.js} +6 -6
  207. package/dist/chunks/{filesystem-kkkrdp4w.js → pty-p87y7hpb.js} +2 -2
  208. package/dist/chunks/{filesystem-9zrft0gr.js → pty-p8y8cyr8.js} +14 -14
  209. package/dist/chunks/{filesystem-8n69n882.js → pty-pakcngh0.js} +8 -8
  210. package/dist/chunks/{filesystem-bw0ym531.js → pty-petzbryk.js} +6 -6
  211. package/dist/chunks/{filesystem-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{filesystem-m15jmbbr.js → pty-pkfctg7d.js} +48 -48
  213. package/dist/chunks/{filesystem-pknna89w.js → pty-pknna89w.js} +1 -1
  214. package/dist/chunks/{filesystem-fbzhwgzx.js → pty-pqcp81t9.js} +15 -15
  215. package/dist/chunks/{filesystem-ydgy0jv4.js → pty-pt3xaqgj.js} +8 -8
  216. package/dist/chunks/{filesystem-qcg4vfgs.js → pty-q752a5kc.js} +6 -6
  217. package/dist/chunks/{filesystem-zeytjcpa.js → pty-qpaq7ft3.js} +16 -16
  218. package/dist/chunks/{filesystem-qsdy395h.js → pty-qsdy395h.js} +1 -1
  219. package/dist/chunks/{filesystem-jt1vb5pc.js → pty-qwmtame2.js} +11 -11
  220. package/dist/chunks/{filesystem-av5s1sdw.js → pty-r4ezxwjb.js} +10 -10
  221. package/dist/chunks/{filesystem-tkmwgdpd.js → pty-ratrq7cm.js} +7 -7
  222. package/dist/chunks/{filesystem-hbmgyr7d.js → pty-rceabfjb.js} +4 -4
  223. package/dist/chunks/{filesystem-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{filesystem-nq7qbqzc.js → pty-rhafb4aa.js} +9 -9
  225. package/dist/chunks/{filesystem-5frpvc34.js → pty-rp4sv622.js} +2 -2
  226. package/dist/chunks/{filesystem-mh9gscew.js → pty-rq80fhnt.js} +11 -11
  227. package/dist/chunks/{filesystem-rw86hr2t.js → pty-rqdx9gb6.js} +24 -24
  228. package/dist/chunks/{filesystem-mv22x3wf.js → pty-rqzzs8tq.js} +7 -7
  229. package/dist/chunks/{filesystem-erxx58th.js → pty-rr5w79wt.js} +11 -11
  230. package/dist/chunks/{filesystem-n09t85ck.js → pty-rsr04b2n.js} +10 -10
  231. package/dist/chunks/{filesystem-c35597j6.js → pty-s30fyz93.js} +4 -4
  232. package/dist/chunks/{filesystem-j2w0gmpe.js → pty-s7c8pqjf.js} +8 -8
  233. package/dist/chunks/{filesystem-pq2pd6hh.js → pty-sd182w7n.js} +25 -25
  234. package/dist/chunks/{filesystem-z4gv22m1.js → pty-sf6t82jx.js} +26 -26
  235. package/dist/chunks/{filesystem-grdteyps.js → pty-sqa4x5n4.js} +8 -8
  236. package/dist/chunks/{filesystem-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{filesystem-89znhe33.js → pty-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{filesystem-tdstcens.js → pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{filesystem-zy8e99jb.js → pty-te1pvy5w.js} +35 -35
  240. package/dist/chunks/{filesystem-fp8ek5zt.js → pty-tjznwxx0.js} +37 -37
  241. package/dist/chunks/{filesystem-39z47dss.js → pty-ts860kc8.js} +20 -20
  242. package/dist/chunks/{filesystem-tvtrv512.js → pty-tvtrv512.js} +1 -1
  243. package/dist/chunks/{filesystem-5y480sgp.js → pty-tx9w5tca.js} +8 -8
  244. package/dist/chunks/{filesystem-m70sbz6t.js → pty-tz4n1mmd.js} +4 -4
  245. package/dist/chunks/{filesystem-n1rz67ba.js → pty-v4yy06kz.js} +48 -48
  246. package/dist/chunks/{filesystem-9g8aqzdg.js → pty-v7h219eh.js} +18 -18
  247. package/dist/chunks/{filesystem-cm0vdedy.js → pty-vb7xznyv.js} +28 -28
  248. package/dist/chunks/{filesystem-veqvce7d.js → pty-veqvce7d.js} +1 -1
  249. package/dist/chunks/{filesystem-08mcr500.js → pty-vmyhsb96.js} +20 -20
  250. package/dist/chunks/{filesystem-pjw9389s.js → pty-vt27zn5n.js} +11 -11
  251. package/dist/chunks/{filesystem-f2515zf3.js → pty-vx1akz9y.js} +17 -17
  252. package/dist/chunks/{filesystem-afed7ext.js → pty-vy4zg7qh.js} +5 -5
  253. package/dist/chunks/{filesystem-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{filesystem-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{filesystem-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{filesystem-wd3x2cqz.js → pty-wd3x2cqz.js} +2 -2
  257. package/dist/chunks/{filesystem-wd87259q.js → pty-wd87259q.js} +1 -1
  258. package/dist/chunks/{filesystem-smp49fay.js → pty-wkcsbyg1.js} +23 -23
  259. package/dist/chunks/{filesystem-fqftz3yh.js → pty-wkmn09sz.js} +32 -32
  260. package/dist/chunks/{filesystem-6pmqbm9x.js → pty-wkq7w2hk.js} +22 -22
  261. package/dist/chunks/{filesystem-n1ka8r9d.js → pty-wq4mmp7m.js} +4 -4
  262. package/dist/chunks/{filesystem-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{filesystem-a4ym3kq6.js → pty-xa84kt07.js} +28 -28
  264. package/dist/chunks/{filesystem-dah9s5zy.js → pty-xpdm92c9.js} +11 -11
  265. package/dist/chunks/{filesystem-p5hnzy35.js → pty-xpzjeq3a.js} +20 -20
  266. package/dist/chunks/{filesystem-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{filesystem-nd0783xw.js → pty-y2yz6ws7.js} +11 -11
  268. package/dist/chunks/{filesystem-xxxym934.js → pty-y6mhz57t.js} +4 -4
  269. package/dist/chunks/{filesystem-y71avatq.js → pty-y71avatq.js} +1 -1
  270. package/dist/chunks/{filesystem-4ev5vm6j.js → pty-y84esdn3.js} +3 -3
  271. package/dist/chunks/pty-yckhfgep.js +326 -0
  272. package/dist/chunks/{filesystem-jkcp7byf.js → pty-yfj51pwm.js} +15 -15
  273. package/dist/chunks/{filesystem-a48f9ws0.js → pty-ykp63ekt.js} +6 -6
  274. package/dist/chunks/{filesystem-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{filesystem-0hhvd48t.js → pty-yrq2792c.js} +8 -8
  276. package/dist/chunks/{filesystem-yrznvahk.js → pty-yrznvahk.js} +2 -2
  277. package/dist/chunks/{filesystem-z07pqspn.js → pty-z07pqspn.js} +3 -3
  278. package/dist/chunks/{filesystem-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{filesystem-h46f4tx0.js → pty-z4x8vcyx.js} +18 -18
  280. package/dist/chunks/{filesystem-z63w68vq.js → pty-z63w68vq.js} +2 -2
  281. package/dist/chunks/{filesystem-80023xb3.js → pty-zd8qt3bk.js} +24 -24
  282. package/dist/chunks/{filesystem-kwbyxxx0.js → pty-zdcx8jr2.js} +8 -8
  283. package/dist/chunks/{filesystem-enhz8yge.js → pty-zdewfq3n.js} +5 -5
  284. package/dist/chunks/{filesystem-1zh729eh.js → pty-zdq65h6r.js} +3 -3
  285. package/dist/chunks/{filesystem-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{filesystem-2cmv458r.js → pty-zk8c4w5t.js} +5 -5
  287. package/dist/chunks/{filesystem-2336b01z.js → pty-zq6stcrg.js} +8 -8
  288. package/dist/chunks/{filesystem-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{filesystem-8r56x03s.js → pty-zrb5rc4f.js} +27 -27
  290. package/dist/chunks/{filesystem-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +11 -11
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +85 -85
  296. package/dist/config/discovery.js +84 -84
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +66 -66
  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/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +90 -90
  417. package/dist/file-retention.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 +227 -227
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +108 -108
  430. package/dist/form.js +84 -84
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +103 -103
  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 +99 -99
  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 +361 -361
  459. package/dist/instruction-discovery.js +83 -83
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +86 -86
  464. package/dist/job.js +77 -77
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +71 -71
  467. package/dist/location-activity.js +132 -132
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +81 -81
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +108 -108
  475. package/dist/mcp/instructions.js +128 -128
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +99 -99
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +100 -100
  482. package/dist/models-dev.js +103 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +80 -80
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +113 -113
  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 +88 -88
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +104 -104
  493. package/dist/plugin/command.js +101 -101
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +5 -5
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +94 -94
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +141 -141
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +350 -350
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  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 +223 -223
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +80 -80
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +87 -87
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +134 -134
  576. package/dist/session/context.js +150 -150
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +221 -221
  582. package/dist/session/execution.js +126 -126
  583. package/dist/session/generate.js +151 -151
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +86 -86
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +79 -79
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +97 -97
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +119 -119
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +1 -1
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +94 -94
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +4 -4
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +172 -172
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +73 -73
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +210 -210
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +156 -156
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +214 -214
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +220 -220
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +140 -140
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +112 -112
  631. package/dist/snapshot.js +91 -91
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +127 -127
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +116 -116
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +122 -122
  643. package/dist/tool/plugin/question.js +105 -105
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +213 -213
  646. package/dist/tool/plugin/skill.js +113 -113
  647. package/dist/tool/plugin/subagent.js +219 -219
  648. package/dist/tool/plugin/webfetch.js +110 -110
  649. package/dist/tool/plugin/websearch.js +114 -114
  650. package/dist/tool/plugin/write.js +114 -114
  651. package/dist/tool/read-filesystem.js +100 -100
  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/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +2 -2
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +1 -1
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +91 -91
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +87 -87
  684. package/dist/websearch.js +82 -82
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +8 -8
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +98 -98
  695. package/package.json +8 -8
  696. package/dist/chunks/filesystem-phz3h32g.js +0 -18
  697. package/dist/chunks/filesystem-scfp8aft.js +0 -252
  698. package/dist/chunks/filesystem-wmqnggde.js +0 -26
  699. package/dist/chunks/filesystem-y1vpz5e6.js +0 -326
  700. /package/dist/chunks/{filesystem-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{filesystem-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{filesystem-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{filesystem-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{filesystem-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{filesystem-24dcb14g.js → pty-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{filesystem-2710q6r3.js → pty-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{filesystem-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{filesystem-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{filesystem-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{filesystem-359p4xyc.js → pty-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{filesystem-3asan66x.js → pty-3asan66x.js} +0 -0
  712. /package/dist/chunks/{filesystem-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{filesystem-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{filesystem-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{filesystem-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{filesystem-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{filesystem-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{filesystem-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{filesystem-53557ph1.js → pty-53557ph1.js} +0 -0
  720. /package/dist/chunks/{filesystem-550bvhaj.js → pty-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{filesystem-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{filesystem-6prwharc.js → pty-6prwharc.js} +0 -0
  723. /package/dist/chunks/{filesystem-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{filesystem-7m9af43g.js → pty-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{filesystem-822emrt2.js → pty-822emrt2.js} +0 -0
  726. /package/dist/chunks/{filesystem-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{filesystem-8n3pysct.js → pty-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{filesystem-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{filesystem-922hggd3.js → pty-922hggd3.js} +0 -0
  730. /package/dist/chunks/{filesystem-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{filesystem-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{filesystem-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{filesystem-af5trqkr.js → pty-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{filesystem-afrmfg78.js → pty-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{filesystem-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{filesystem-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{filesystem-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{filesystem-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{filesystem-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{filesystem-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{filesystem-d9fn303g.js → pty-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{filesystem-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{filesystem-dajrwvna.js → pty-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{filesystem-dap0rakb.js → pty-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{filesystem-df08tz66.js → pty-df08tz66.js} +0 -0
  746. /package/dist/chunks/{filesystem-dy18nga0.js → pty-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{filesystem-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{filesystem-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{filesystem-ec1grn59.js → pty-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{filesystem-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{filesystem-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{filesystem-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{filesystem-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{filesystem-faypxj3z.js → pty-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{filesystem-fd410y7t.js → pty-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{filesystem-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{filesystem-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{filesystem-g86h250q.js → pty-g86h250q.js} +0 -0
  759. /package/dist/chunks/{filesystem-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{filesystem-gftt206x.js → pty-gftt206x.js} +0 -0
  761. /package/dist/chunks/{filesystem-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{filesystem-hk9envan.js → pty-hk9envan.js} +0 -0
  763. /package/dist/chunks/{filesystem-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{filesystem-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{filesystem-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{filesystem-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{filesystem-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{filesystem-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{filesystem-mp448xyj.js → pty-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{filesystem-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{filesystem-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{filesystem-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{filesystem-njntx4h6.js → pty-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{filesystem-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{filesystem-q74kybfr.js → pty-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{filesystem-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{filesystem-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{filesystem-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{filesystem-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{filesystem-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{filesystem-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{filesystem-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{filesystem-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{filesystem-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{filesystem-w803qqfp.js → pty-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{filesystem-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{filesystem-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{filesystem-wtztk69x.js → pty-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{filesystem-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{filesystem-x61499pn.js → pty-x61499pn.js} +0 -0
  791. /package/dist/chunks/{filesystem-y44na4kk.js → pty-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{filesystem-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{filesystem-y8f7s663.js → pty-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{filesystem-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{filesystem-ym463w8f.js → pty-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{filesystem-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service74,
4
- node77
5
- } from "./filesystem-zcsbmsrf.js";
2
+ ID9,
3
+ Service68,
4
+ node72
5
+ } from "./pty-afh0ypz9.js";
6
6
  import {
7
- ID12,
7
+ ID8,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service73,
16
- node76
17
- } from "./filesystem-8e5zyrwm.js";
15
+ Service67,
16
+ node71
17
+ } from "./pty-3zar4bb6.js";
18
18
  import {
19
- Service65,
20
- node67
21
- } from "./filesystem-bk2qgnaw.js";
19
+ Service62,
20
+ node65
21
+ } from "./pty-jc00fynt.js";
22
22
  import {
23
- ID11,
23
+ ID7,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service72,
27
- node75
28
- } from "./filesystem-6j06p5mc.js";
26
+ Service66,
27
+ node70
28
+ } from "./pty-a3he3nyv.js";
29
29
  import {
30
30
  __export
31
- } from "./filesystem-9rqn6x4v.js";
31
+ } from "./pty-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError2,
38
38
  ModelInitializationError: () => ModelInitializationError2,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service64,
40
+ Service: () => Service61,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError2,
44
44
  VariantUnavailableError: () => VariantUnavailableError2,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer20,
48
- node: () => node66,
47
+ layer: () => layer22,
48
+ node: () => node64,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID12,
59
- modelID: ID11,
58
+ providerID: ID8,
59
+ modelID: ID7,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID12,
69
- modelID: ID11,
68
+ providerID: ID8,
69
+ modelID: ID7,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID12,
80
- modelID: ID11,
79
+ providerID: ID8,
80
+ modelID: ID7,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID12,
91
- modelID: ID11,
90
+ providerID: ID8,
91
+ modelID: ID7,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID12,
103
- modelID: ID11,
102
+ providerID: ID8,
103
+ modelID: ID7,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID12,
113
- modelID: ID11,
112
+ providerID: ID8,
113
+ modelID: ID7,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service64 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service61 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer20 = Layer.effect(Service64, Effect.gen(function* () {
262
- const providers = yield* Service73;
263
- const models = yield* Service72;
264
- const integrations = yield* Service74;
261
+ var layer22 = Layer.effect(Service61, Effect.gen(function* () {
262
+ const providers = yield* Service67;
263
+ const models = yield* Service66;
264
+ const integrations = yield* Service68;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service65;
266
+ const aisdk = yield* Service62;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer20 = Layer.effect(Service64, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service64.of({
296
+ return Service61.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node66 = makeLocationNode({
314
- service: Service64,
315
- layer: layer20,
316
- deps: [node76, node75, node77, Npm.node, node67]
313
+ var node64 = makeLocationNode({
314
+ service: Service61,
315
+ layer: layer22,
316
+ deps: [node71, node70, node72, Npm.node, node65]
317
317
  });
318
318
 
319
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node66, exports_model_resolver };
319
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service61, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node64, exports_model_resolver };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./filesystem-emrn6kk6.js";
4
+ } from "./pty-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./filesystem-qzz1k0t8.js";
7
+ } from "./pty-6fjgv3tx.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service78
3
- } from "./filesystem-cht1zc30.js";
2
+ Service54
3
+ } from "./pty-bmwcq5x5.js";
4
4
  import {
5
5
  Service53,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./filesystem-mv22x3wf.js";
8
+ } from "./pty-rqzzs8tq.js";
9
9
  import {
10
- Service16
11
- } from "./filesystem-nd0783xw.js";
10
+ Service14
11
+ } from "./pty-y2yz6ws7.js";
12
12
  import {
13
- Service58
14
- } from "./filesystem-n33rgabk.js";
13
+ Service72
14
+ } from "./pty-6f3gsd2m.js";
15
15
  import {
16
- Service54
17
- } from "./filesystem-fhd6f79b.js";
16
+ Service13
17
+ } from "./pty-ngad3z0g.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./filesystem-6prwharc.js";
20
+ } from "./pty-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./filesystem-9rqn6x4v.js";
23
+ } from "./pty-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
28
  Input: () => Input7,
29
29
  Output: () => Output5,
30
- Plugin: () => Plugin23,
30
+ Plugin: () => Plugin44,
31
31
  WriteTool: () => exports_write,
32
32
  name: () => name7,
33
33
  toModelContent: () => toModelContent4
@@ -49,14 +49,14 @@ var Output5 = Schema.Struct({
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin23 = {
52
+ var Plugin44 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service54;
55
+ const access = yield* Service13;
56
56
  const fileMutation = yield* Service53;
57
- const environment = yield* Service78;
58
- const formatter = yield* Service16;
59
- const permission = yield* Service58;
57
+ const environment = yield* Service54;
58
+ const formatter = yield* Service14;
59
+ const permission = yield* Service72;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
61
  name: name7,
62
62
  options: { codemode: false, permission: "edit" },
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name7, Input7, Output5, toModelContent4, Plugin23, exports_write };
101
+ export { name7, Input7, Output5, toModelContent4, Plugin44, exports_write };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./filesystem-qaymkmh1.js";
3
+ } from "./pty-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make10(input) {
8
+ function make7(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make10 };
264
+ export { make7 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./filesystem-2a5m3afh.js";
5
+ } from "./pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./filesystem-9rqn6x4v.js";
8
+ } from "./pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-fzts1kpm.js";
3
+ } from "./pty-1q4zsn8w.js";
4
4
  import {
5
5
  call2
6
- } from "./filesystem-1ygqh575.js";
6
+ } from "./pty-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin6,
14
+ Plugin: () => Plugin27,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint6
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin6 = define({
40
+ var Plugin27 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin6 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin6 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin6, exports_firecrawl };
80
+ export { endpoint6, Plugin27, exports_firecrawl };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured10,
10
+ configured: () => configured11,
11
11
  layer: () => layer24,
12
12
  make: () => make20,
13
- node: () => node74,
13
+ node: () => node69,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
@@ -29,7 +29,7 @@ function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
31
  var layer24 = (input) => Layer.succeed(Metadata2, make20(input));
32
- var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
- var node74 = configured10();
32
+ var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node69 = configured11();
34
34
 
35
- export { Metadata2, make20, useragent2, layer24, configured10, node74, exports_app };
35
+ export { Metadata2, make20, useragent2, layer24, configured11, node69, exports_app };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./filesystem-rdw6cm16.js";
3
+ } from "./pty-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service41,
14
+ Service: () => Service77,
15
15
  SizeError: () => SizeError2,
16
- node: () => node43
16
+ node: () => node81
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service41 extends Context.Service()("@opencode/Image") {
45
+ class Service77 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service41, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service41.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service77.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node43 = makeLocationNode({ service: Service41, layer, deps: [] });
79
+ var node81 = makeLocationNode({ service: Service77, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service41, node43, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service77, node81, exports_image2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./filesystem-8e5zyrwm.js";
4
+ } from "./pty-3zar4bb6.js";
5
5
  import {
6
6
  latest2,
7
- Service44
8
- } from "./filesystem-wav3c6xe.js";
7
+ Service50
8
+ } from "./pty-ka2whr6h.js";
9
9
  import {
10
10
  resolve4
11
- } from "./filesystem-bnkgx7re.js";
11
+ } from "./pty-dqczjf24.js";
12
12
  import {
13
13
  observe2
14
- } from "./filesystem-qsdy395h.js";
14
+ } from "./pty-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./pty-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin47
23
+ Plugin: () => Plugin13
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin47 = define({
28
+ var Plugin13 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service44;
31
+ const config = yield* Service50;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
192
192
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
193
193
  }
194
194
 
195
- export { Plugin47, exports_provider };
195
+ export { Plugin13, exports_provider };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./filesystem-w2qmsxre.js";
3
+ } from "./pty-0zfem7mk.js";
4
4
  import {
5
5
  lazy2
6
- } from "./filesystem-88xbtdfr.js";
6
+ } from "./pty-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./filesystem-y1fvbwt7.js";
9
+ } from "./pty-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-922hggd3.js";
5
+ } from "./pty-922hggd3.js";
6
6
  import {
7
- Service78,
8
- node81
9
- } from "./filesystem-cht1zc30.js";
7
+ Service54,
8
+ node56
9
+ } from "./pty-bmwcq5x5.js";
10
10
  import {
11
- Content3
12
- } from "./filesystem-2x1f9zwj.js";
11
+ Content2
12
+ } from "./pty-9sbw2ymd.js";
13
13
  import {
14
14
  detect2
15
- } from "./filesystem-3smtnn6g.js";
15
+ } from "./pty-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./pty-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service7,
36
+ Service: () => Service12,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node14,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service7, Effect.gen(function* () {
334
- const environment = yield* Service78;
335
- return Service7.of({
333
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
334
+ const environment = yield* Service54;
335
+ return Service12.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node81] });
340
+ var node14 = makeLocationNode({ service: Service12, layer, deps: [node56] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};