@opencode/core 0.0.0-dev-20288 → 0.0.0-dev-20290

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 +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{schema-g7zmhxpe.js → pty-00pys7g3.js} +32 -32
  8. package/dist/chunks/{schema-rhjbct0v.js → pty-0gdmqesm.js} +4 -4
  9. package/dist/chunks/{schema-nrqyh1vy.js → pty-0kptsf41.js} +23 -23
  10. package/dist/chunks/{schema-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{schema-3qc7rb3n.js → pty-12m9tcs5.js} +13 -13
  12. package/dist/chunks/{schema-rxe9kw1p.js → pty-166nas2n.js} +75 -75
  13. package/dist/chunks/{schema-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{schema-rayvshcv.js → pty-1r4hg1ab.js} +78 -78
  15. package/dist/chunks/{schema-k1hbv25z.js → pty-1sspf4zp.js} +11 -11
  16. package/dist/chunks/{schema-21r38tys.js → pty-21r38tys.js} +1 -1
  17. package/dist/chunks/{schema-p9zde1ds.js → pty-22pf21tc.js} +4 -4
  18. package/dist/chunks/{schema-6e4wfwfn.js → pty-25wmepd2.js} +13 -13
  19. package/dist/chunks/{schema-ar5g7bvd.js → pty-298khz9n.js} +25 -25
  20. package/dist/chunks/{schema-z63w68vq.js → pty-29x78va6.js} +6 -6
  21. package/dist/chunks/{schema-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{schema-asn7e76h.js → pty-2qp1m1e2.js} +12 -12
  23. package/dist/chunks/{schema-8add9gat.js → pty-2xv95c3w.js} +15 -15
  24. package/dist/chunks/{schema-tqae5094.js → pty-31j2dbav.js} +5 -5
  25. package/dist/chunks/{schema-mfqp6xfm.js → pty-33w4ejhs.js} +9 -9
  26. package/dist/chunks/{schema-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  27. package/dist/chunks/{schema-c4cjbe88.js → pty-3gxahddg.js} +7 -7
  28. package/dist/chunks/{schema-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{schema-y66yym3e.js → pty-3sm5tmhn.js} +33 -33
  30. package/dist/chunks/{schema-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  31. package/dist/chunks/{schema-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  32. package/dist/chunks/{schema-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  33. package/dist/chunks/{schema-jbvsa6eq.js → pty-47rn6gb0.js} +7 -7
  34. package/dist/chunks/{schema-1dngr6ye.js → pty-4fj5vy9w.js} +31 -31
  35. package/dist/chunks/{schema-zm01gqxz.js → pty-4j5pe0vj.js} +21 -21
  36. package/dist/chunks/{schema-trbrt766.js → pty-4m37mf4n.js} +1 -1
  37. package/dist/chunks/{schema-6tnpemwz.js → pty-4seh7fh4.js} +9 -9
  38. package/dist/chunks/{schema-2pkp6zs4.js → pty-4t6c091a.js} +15 -15
  39. package/dist/chunks/{schema-1k7rwa7s.js → pty-4yn5zrg4.js} +10 -10
  40. package/dist/chunks/{schema-w4d3zdxr.js → pty-4zpej1ag.js} +5 -5
  41. package/dist/chunks/{schema-5g297g80.js → pty-547v9var.js} +11 -11
  42. package/dist/chunks/{schema-54ma36ye.js → pty-54ma36ye.js} +1 -1
  43. package/dist/chunks/{schema-rd34n9kj.js → pty-56d7j3tv.js} +27 -27
  44. package/dist/chunks/{schema-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
  45. package/dist/chunks/{schema-5daktx2q.js → pty-5daktx2q.js} +1 -1
  46. package/dist/chunks/{schema-syf57q56.js → pty-5dkn69vz.js} +4 -4
  47. package/dist/chunks/{schema-pk2244jm.js → pty-5epte933.js} +3 -3
  48. package/dist/chunks/{schema-rkw03b1m.js → pty-5ggvksrg.js} +29 -29
  49. package/dist/chunks/{schema-0dqxrc4m.js → pty-5k8pr68x.js} +4 -4
  50. package/dist/chunks/{schema-t86dzknw.js → pty-5r8pgr53.js} +5 -5
  51. package/dist/chunks/{schema-8nq6hfsb.js → pty-5rqh976q.js} +6 -6
  52. package/dist/chunks/{schema-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{schema-jkvmawpd.js → pty-5v9sj2jh.js} +7 -7
  54. package/dist/chunks/{schema-62bk2p8n.js → pty-5xrxk02f.js} +8 -8
  55. package/dist/chunks/{schema-d2krc34p.js → pty-5ynr4ewv.js} +13 -13
  56. package/dist/chunks/{schema-mtmx6r04.js → pty-63xt2gg6.js} +16 -16
  57. package/dist/chunks/{schema-669tq793.js → pty-669tq793.js} +1 -1
  58. package/dist/chunks/{schema-5yspremq.js → pty-69eq3qtv.js} +2 -2
  59. package/dist/chunks/{schema-3erybzfn.js → pty-6bncvy53.js} +15 -15
  60. package/dist/chunks/{schema-k42ydg5t.js → pty-6faamtbd.js} +24 -24
  61. package/dist/chunks/{schema-710btjv2.js → pty-6gp8watj.js} +14 -14
  62. package/dist/chunks/{schema-n2kah95r.js → pty-6hcnmam1.js} +6 -6
  63. package/dist/chunks/{schema-fwwk8vbp.js → pty-6hjx5zpb.js} +9 -9
  64. package/dist/chunks/{schema-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{schema-1rdgat8x.js → pty-6n7pjf9k.js} +9 -9
  66. package/dist/chunks/{schema-1p07q0wb.js → pty-6pc27hjz.js} +8 -8
  67. package/dist/chunks/{schema-2dx4sdv9.js → pty-6rqaarfj.js} +14 -14
  68. package/dist/chunks/{schema-fwmc3p2a.js → pty-6z415m3h.js} +3 -3
  69. package/dist/chunks/{schema-154cngd0.js → pty-6zycmakc.js} +11 -11
  70. package/dist/chunks/{schema-49exe669.js → pty-705e2ap1.js} +5 -5
  71. package/dist/chunks/{schema-1c7fnsvx.js → pty-7101ktrf.js} +8 -8
  72. package/dist/chunks/{schema-mqvqsp83.js → pty-77p2n3ka.js} +32 -32
  73. package/dist/chunks/{schema-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{schema-qgn6gcr1.js → pty-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{schema-153eqg7a.js → pty-7hs0hr17.js} +21 -21
  76. package/dist/chunks/{schema-n0pywpq4.js → pty-7tha5tbn.js} +6 -6
  77. package/dist/chunks/{schema-p0vqbhj1.js → pty-7tnxghr4.js} +25 -25
  78. package/dist/chunks/{schema-d737nyfv.js → pty-7v81x33d.js} +9 -9
  79. package/dist/chunks/{schema-57cn2fac.js → pty-839b17zc.js} +43 -43
  80. package/dist/chunks/{schema-84txncab.js → pty-84txncab.js} +1 -1
  81. package/dist/chunks/{schema-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{schema-agpybfmq.js → pty-8p7750b3.js} +34 -34
  83. package/dist/chunks/{schema-bavh6hmm.js → pty-8qkhqjvg.js} +12 -12
  84. package/dist/chunks/{schema-31ajhxg6.js → pty-8rz6jvcp.js} +13 -13
  85. package/dist/chunks/{schema-3hyet2nj.js → pty-8ym6e508.js} +12 -12
  86. package/dist/chunks/{schema-dks45fbe.js → pty-903617vw.js} +12 -12
  87. package/dist/chunks/{schema-7j2qha59.js → pty-91p1v22t.js} +8 -8
  88. package/dist/chunks/{schema-8magacmx.js → pty-93xvzgtc.js} +41 -41
  89. package/dist/chunks/{schema-gfvb90ym.js → pty-94ek1h2f.js} +2 -2
  90. package/dist/chunks/{schema-72bnveqp.js → pty-95ws1gjh.js} +1 -1
  91. package/dist/chunks/{schema-rd5nw8th.js → pty-9aja3qk6.js} +3 -3
  92. package/dist/chunks/{schema-2q85j725.js → pty-9gca7nqa.js} +1 -1
  93. package/dist/chunks/{schema-ryxzba5a.js → pty-9gqjtvj6.js} +76 -76
  94. package/dist/chunks/{schema-cmwkp3r5.js → pty-9hn6k4tm.js} +8 -8
  95. package/dist/chunks/{schema-p642a9hn.js → pty-9mwkpmby.js} +27 -27
  96. package/dist/chunks/{schema-tpw8qqng.js → pty-9r73yh2k.js} +19 -19
  97. package/dist/chunks/{schema-r628jyme.js → pty-9wn9fhxy.js} +2 -2
  98. package/dist/chunks/{schema-f2py9ab6.js → pty-a14qddyf.js} +18 -18
  99. package/dist/chunks/{schema-he3390vg.js → pty-a3ymefbh.js} +4 -4
  100. package/dist/chunks/{schema-vqfr7fmp.js → pty-a51vj2sy.js} +24 -24
  101. package/dist/chunks/{schema-aaet6srn.js → pty-aaet6srn.js} +2 -2
  102. package/dist/chunks/{schema-evbgk2k8.js → pty-ag9w8cw1.js} +5 -5
  103. package/dist/chunks/{schema-0v53mg2y.js → pty-an7cqtb7.js} +4 -4
  104. package/dist/chunks/{schema-jc4vhaqb.js → pty-ash4hwch.js} +9 -9
  105. package/dist/chunks/{schema-m6frs5w8.js → pty-b1xes142.js} +22 -22
  106. package/dist/chunks/{schema-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{schema-v7pzj4a7.js → pty-b8pxkphb.js} +13 -13
  108. package/dist/chunks/{schema-r8pz5scw.js → pty-bskxk100.js} +6 -6
  109. package/dist/chunks/{schema-0ssx9rk5.js → pty-bvz46swk.js} +30 -30
  110. package/dist/chunks/{schema-3nttf8hh.js → pty-bwv6jga4.js} +132 -132
  111. package/dist/chunks/{schema-6va2t7at.js → pty-c36kazt5.js} +11 -11
  112. package/dist/chunks/{schema-54tcyq79.js → pty-ckecvw8r.js} +2 -2
  113. package/dist/chunks/{schema-jwygws3r.js → pty-cyyr2ryx.js} +14 -14
  114. package/dist/chunks/{schema-20y62ag7.js → pty-cz9at8s3.js} +10 -10
  115. package/dist/chunks/{schema-gfa817nt.js → pty-d6zc0yrw.js} +43 -43
  116. package/dist/chunks/{schema-nzpgeyy9.js → pty-db9gxvpc.js} +27 -27
  117. package/dist/chunks/{schema-f6bw9b7d.js → pty-dh4n3axn.js} +29 -29
  118. package/dist/chunks/{schema-y3q03scc.js → pty-dhwr7h25.js} +11 -11
  119. package/dist/chunks/{schema-dnxkq42g.js → pty-dnxkq42g.js} +1 -1
  120. package/dist/chunks/{schema-57b9ws8p.js → pty-drwq78ky.js} +5 -5
  121. package/dist/chunks/{schema-2dwzncdn.js → pty-dtpcx3sj.js} +22 -22
  122. package/dist/chunks/{schema-8a6ajmms.js → pty-dyhjeyw1.js} +10 -10
  123. package/dist/chunks/{schema-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{schema-vdt39ctd.js → pty-ebqraxde.js} +12 -12
  125. package/dist/chunks/{schema-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
  126. package/dist/chunks/{schema-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{schema-njpngphx.js → pty-emvsgpqw.js} +13 -13
  128. package/dist/chunks/{schema-kzdcqyn1.js → pty-engkm2d6.js} +5 -5
  129. package/dist/chunks/{schema-mhkvc446.js → pty-eq1pz5kg.js} +3 -3
  130. package/dist/chunks/{schema-dy4czjxa.js → pty-eracma60.js} +48 -48
  131. package/dist/chunks/{schema-ghvt0j6w.js → pty-erp3bzqc.js} +142 -142
  132. package/dist/chunks/{schema-pqce1zvc.js → pty-etnqkgne.js} +10 -10
  133. package/dist/chunks/{schema-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{schema-dj0njyye.js → pty-f02r5e20.js} +11 -11
  135. package/dist/chunks/{schema-8waq4e86.js → pty-f05szktz.js} +21 -21
  136. package/dist/chunks/{schema-yp2x3t23.js → pty-f2n192rq.js} +4 -4
  137. package/dist/chunks/{schema-y1dkk1pz.js → pty-f4c1ttaq.js} +1 -1
  138. package/dist/chunks/{schema-2c7hjkzv.js → pty-f6gb79hb.js} +15 -15
  139. package/dist/chunks/{schema-reyfe09k.js → pty-f7csm4ve.js} +28 -28
  140. package/dist/chunks/{schema-x1443ggv.js → pty-f9g9yax9.js} +9 -9
  141. package/dist/chunks/{schema-pf3z77yb.js → pty-fq6n6ras.js} +11 -11
  142. package/dist/chunks/{schema-r33ff4dw.js → pty-fvanntqq.js} +4 -4
  143. package/dist/chunks/{schema-m1nj95vb.js → pty-fw473rf4.js} +19 -19
  144. package/dist/chunks/{schema-hetb5xxa.js → pty-g1ja7mqv.js} +15 -15
  145. package/dist/chunks/{schema-vqhejtjq.js → pty-g2eq9m13.js} +43 -43
  146. package/dist/chunks/{schema-7pr2hkwv.js → pty-g5agzp2h.js} +5 -5
  147. package/dist/chunks/{schema-j699j8bt.js → pty-g97bb4fb.js} +2 -2
  148. package/dist/chunks/{schema-13019pck.js → pty-gb7cfa7m.js} +6 -6
  149. package/dist/chunks/{schema-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{schema-n72fdvhp.js → pty-gee5yzwp.js} +2 -2
  151. package/dist/chunks/{schema-yzyvjjcs.js → pty-gghfkarr.js} +4 -4
  152. package/dist/chunks/{schema-xk4x4c8s.js → pty-gkjzek3h.js} +14 -14
  153. package/dist/chunks/{schema-1jhyh66k.js → pty-gm6y06j9.js} +14 -14
  154. package/dist/chunks/{schema-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{schema-8rbmd5w8.js → pty-gx3m57p0.js} +16 -16
  156. package/dist/chunks/{schema-6k275t53.js → pty-gy1zn137.js} +24 -24
  157. package/dist/chunks/{schema-ghd8rszk.js → pty-gy9sb033.js} +8 -8
  158. package/dist/chunks/{schema-427t97hr.js → pty-h5w29vws.js} +1 -1
  159. package/dist/chunks/{schema-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{schema-hdab2k61.js → pty-hdab2k61.js} +1 -1
  161. package/dist/chunks/{schema-kb6gw2zp.js → pty-hehaxqkv.js} +4 -4
  162. package/dist/chunks/{schema-rqm599xb.js → pty-hzgv6j90.js} +11 -11
  163. package/dist/chunks/{schema-5qkxfyep.js → pty-j5208yae.js} +4 -4
  164. package/dist/chunks/{schema-j56e64zr.js → pty-j56e64zr.js} +1 -1
  165. package/dist/chunks/pty-jqh9b0xq.js +18 -0
  166. package/dist/chunks/{schema-rh3808zc.js → pty-js3ryzpr.js} +9 -9
  167. package/dist/chunks/{schema-yrna4ww2.js → pty-k06rjv8x.js} +12 -12
  168. package/dist/chunks/{schema-c4xegnd6.js → pty-k2q1nrn1.js} +1 -1
  169. package/dist/chunks/{schema-2sdfkd6k.js → pty-k3zkbgx7.js} +12 -12
  170. package/dist/chunks/{schema-8te0ay4y.js → pty-k4wv29t5.js} +48 -48
  171. package/dist/chunks/{schema-cavxacsx.js → pty-k94pa5tz.js} +7 -7
  172. package/dist/chunks/{schema-6am4naay.js → pty-kadk3yqy.js} +41 -41
  173. package/dist/chunks/{schema-184xzt1m.js → pty-kcjjyj53.js} +18 -18
  174. package/dist/chunks/{schema-ap14k8bx.js → pty-kefs7twp.js} +20 -20
  175. package/dist/chunks/{schema-wv04wdpg.js → pty-krfrp5kz.js} +11 -11
  176. package/dist/chunks/{schema-ermxvwhp.js → pty-m0r31qfn.js} +4 -4
  177. package/dist/chunks/{schema-p5kx0wbj.js → pty-m21hmhy7.js} +19 -19
  178. package/dist/chunks/{schema-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{schema-71pa356p.js → pty-m5gekzn4.js} +13 -13
  180. package/dist/chunks/{schema-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{schema-kbev84wv.js → pty-mbeja11x.js} +13 -13
  182. package/dist/chunks/{schema-pzhynvvn.js → pty-md3t2qq1.js} +29 -29
  183. package/dist/chunks/{schema-4v2n3s64.js → pty-mh6b7rh2.js} +29 -29
  184. package/dist/chunks/{schema-v7m34wzh.js → pty-mjk8ns3s.js} +14 -14
  185. package/dist/chunks/{schema-ceetf7sw.js → pty-mvfdckk2.js} +6 -6
  186. package/dist/chunks/{schema-satgepa2.js → pty-mxe8gkry.js} +39 -39
  187. package/dist/chunks/{schema-n1hg9gss.js → pty-mxmb5cw3.js} +9 -9
  188. package/dist/chunks/{schema-5h8bm6z8.js → pty-n05etbth.js} +20 -20
  189. package/dist/chunks/{schema-1dc4swx6.js → pty-n7j8ea7m.js} +25 -25
  190. package/dist/chunks/{schema-5et802t6.js → pty-nh7v3r81.js} +2 -2
  191. package/dist/chunks/{schema-tt5x9kn1.js → pty-nna5ba44.js} +7 -7
  192. package/dist/chunks/{schema-scthj3mq.js → pty-nsd6ttt2.js} +34 -34
  193. package/dist/chunks/{schema-jjywpw55.js → pty-nw0j14yf.js} +15 -15
  194. package/dist/chunks/{schema-529ckhyj.js → pty-nwcqeccj.js} +3 -3
  195. package/dist/chunks/{schema-39akfy7j.js → pty-nwmgq5md.js} +29 -29
  196. package/dist/chunks/{schema-k3c624dm.js → pty-nzks3jc8.js} +3 -3
  197. package/dist/chunks/{schema-hjcva307.js → pty-p6sc6xf4.js} +7 -7
  198. package/dist/chunks/{schema-pat95rpb.js → pty-p7hfcpb1.js} +3 -3
  199. package/dist/chunks/{schema-6rf66fs8.js → pty-pghs74jm.js} +8 -8
  200. package/dist/chunks/{schema-jzdd0kff.js → pty-pgwpntn4.js} +4 -4
  201. package/dist/chunks/{schema-8s4a65d9.js → pty-pj681x6p.js} +23 -23
  202. package/dist/chunks/{schema-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{schema-pknna89w.js → pty-pknna89w.js} +1 -1
  204. package/dist/chunks/pty-pm9ypstk.js +26 -0
  205. package/dist/chunks/{schema-ct7vea8c.js → pty-ppxj9f8n.js} +18 -18
  206. package/dist/chunks/{schema-axd5pf8v.js → pty-pqnsbq8t.js} +11 -11
  207. package/dist/chunks/{schema-25ejj73a.js → pty-pvh8k8j6.js} +1 -1
  208. package/dist/chunks/{schema-45m6e98y.js → pty-q3dqc3h2.js} +33 -33
  209. package/dist/chunks/{schema-m4f215s9.js → pty-q3dzamve.js} +12 -12
  210. package/dist/chunks/{schema-2z03pgs9.js → pty-q607fvbk.js} +20 -20
  211. package/dist/chunks/{schema-6cbrenz4.js → pty-q82q9exb.js} +3 -3
  212. package/dist/chunks/{schema-830gdwbz.js → pty-q9e230a9.js} +42 -42
  213. package/dist/chunks/{schema-9jbvj98d.js → pty-qby9dwvd.js} +8 -8
  214. package/dist/chunks/{schema-fhs97t90.js → pty-qg0jgkcp.js} +9 -9
  215. package/dist/chunks/{schema-1ddwhj9c.js → pty-qjzxgxpv.js} +1 -1
  216. package/dist/chunks/{schema-djszqvmq.js → pty-qmqgtz8f.js} +9 -9
  217. package/dist/chunks/{schema-9ms5jdqj.js → pty-qn8304n9.js} +319 -319
  218. package/dist/chunks/{schema-26f6mtej.js → pty-qr5c3gzw.js} +27 -27
  219. package/dist/chunks/{schema-qsdy395h.js → pty-qsdy395h.js} +1 -1
  220. package/dist/chunks/{schema-v1661eqb.js → pty-r4vqcvbj.js} +25 -25
  221. package/dist/chunks/{schema-v26931bg.js → pty-r5e5zwbb.js} +34 -34
  222. package/dist/chunks/{schema-myez78q6.js → pty-rac3vem9.js} +33 -33
  223. package/dist/chunks/{schema-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{schema-c0f37q3v.js → pty-rr0hpwez.js} +10 -10
  225. package/dist/chunks/{schema-yrznvahk.js → pty-s4enseaf.js} +2 -2
  226. package/dist/chunks/{schema-j89jbpxd.js → pty-sgc66tsc.js} +26 -26
  227. package/dist/chunks/{schema-fmeq518m.js → pty-skxtpxf8.js} +10 -10
  228. package/dist/chunks/{schema-z4vpgnje.js → pty-sp625ab5.js} +3 -3
  229. package/dist/chunks/{schema-6e5qcf77.js → pty-spg8qqh0.js} +22 -22
  230. package/dist/chunks/{schema-ef206a6w.js → pty-sxzc4anv.js} +14 -14
  231. package/dist/chunks/{schema-xm7brr7w.js → pty-t713ny8j.js} +8 -8
  232. package/dist/chunks/{schema-2fh33aa7.js → pty-t94cx5vh.js} +6 -6
  233. package/dist/chunks/{schema-1krwkbj6.js → pty-t9teg1yf.js} +11 -11
  234. package/dist/chunks/{schema-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{schema-bk7jaeqh.js → pty-tazp3vs0.js} +4 -4
  236. package/dist/chunks/{schema-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{schema-tdstcens.js → pty-tdstcens.js} +1 -1
  238. package/dist/chunks/{schema-138ez4pn.js → pty-tebcm7m3.js} +21 -21
  239. package/dist/chunks/{schema-rz37p9h3.js → pty-tffeed3q.js} +12 -12
  240. package/dist/chunks/{schema-m8t9ns79.js → pty-tkg4d23p.js} +20 -20
  241. package/dist/chunks/{schema-tvtrv512.js → pty-tvtrv512.js} +1 -1
  242. package/dist/chunks/{schema-fc6re8k6.js → pty-v6dqrb48.js} +11 -11
  243. package/dist/chunks/{schema-1dfj24yg.js → pty-v6pj48ph.js} +8 -8
  244. package/dist/chunks/{schema-fz4jx657.js → pty-v9efh8jq.js} +11 -11
  245. package/dist/chunks/{schema-2a1fkd0m.js → pty-va5acnyd.js} +9 -9
  246. package/dist/chunks/{schema-0v1f7a68.js → pty-vb9k7s1g.js} +6 -6
  247. package/dist/chunks/{schema-3e14t8xn.js → pty-vdjz1shn.js} +16 -16
  248. package/dist/chunks/{schema-veqvce7d.js → pty-veqvce7d.js} +1 -1
  249. package/dist/chunks/{schema-btbmdjwj.js → pty-vfjhn2wd.js} +4 -4
  250. package/dist/chunks/{schema-50mzsvk4.js → pty-vsp1fds9.js} +21 -21
  251. package/dist/chunks/{schema-j7ym9e45.js → pty-vz4jexq7.js} +8 -8
  252. package/dist/chunks/{schema-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{schema-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{schema-j9vwtd15.js → pty-vzxynfrx.js} +13 -13
  255. package/dist/chunks/{schema-b5q3f6sv.js → pty-w1rhgxjx.js} +20 -20
  256. package/dist/chunks/{schema-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{schema-p1cpmwyf.js → pty-w9xbefsq.js} +11 -11
  258. package/dist/chunks/{schema-qjnxxf51.js → pty-wbkyxrgf.js} +5 -5
  259. package/dist/chunks/{schema-n0aj83jp.js → pty-wcdd63eg.js} +28 -28
  260. package/dist/chunks/{schema-psazpmmj.js → pty-wd3x2cqz.js} +2 -2
  261. package/dist/chunks/{schema-wd87259q.js → pty-wd87259q.js} +1 -1
  262. package/dist/chunks/{schema-7q99yrtt.js → pty-wet12kzw.js} +15 -15
  263. package/dist/chunks/{schema-tk3wk1e5.js → pty-wfr11ckr.js} +11 -11
  264. package/dist/chunks/{schema-mbsv9vj9.js → pty-wh872f6y.js} +8 -8
  265. package/dist/chunks/{schema-pjt7axjg.js → pty-wjahz7sy.js} +22 -22
  266. package/dist/chunks/{schema-cxfg4d91.js → pty-wkj69y2r.js} +4 -4
  267. package/dist/chunks/{schema-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{schema-9f3e1ggy.js → pty-x9d5zs2r.js} +7 -7
  269. package/dist/chunks/{schema-1g7epwpd.js → pty-xb02k0wq.js} +7 -7
  270. package/dist/chunks/{schema-aab0xmbg.js → pty-xdbc7yds.js} +14 -14
  271. package/dist/chunks/{schema-dhnefc5h.js → pty-xh9bnhqc.js} +47 -47
  272. package/dist/chunks/{schema-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{schema-44wx7dpn.js → pty-xtcsdhc6.js} +3 -3
  274. package/dist/chunks/{schema-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{schema-dpkg50ah.js → pty-y71avatq.js} +4 -4
  276. package/dist/chunks/{schema-k1qrnqst.js → pty-yf10kn3d.js} +8 -8
  277. package/dist/chunks/{schema-99a7xnff.js → pty-ymjj4a8f.js} +23 -23
  278. package/dist/chunks/{schema-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{schema-s8zy8myc.js → pty-yt0fqk68.js} +5 -5
  280. package/dist/chunks/{schema-68y7phbn.js → pty-ywv187z9.js} +12 -12
  281. package/dist/chunks/{schema-bjtzbw4r.js → pty-z07pqspn.js} +3 -3
  282. package/dist/chunks/{schema-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{schema-fj1w1qxk.js → pty-z236ez34.js} +17 -17
  284. package/dist/chunks/{schema-p6fh795y.js → pty-z8njfdrm.js} +46 -46
  285. package/dist/chunks/{schema-8gxqpgph.js → pty-zav06jzw.js} +4 -4
  286. package/dist/chunks/{schema-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{schema-690vtge2.js → pty-zmqnc1z2.js} +26 -26
  288. package/dist/chunks/{schema-jv0hjpkt.js → pty-zmzm6hpq.js} +3 -3
  289. package/dist/chunks/{schema-3sqwhcjh.js → pty-zp56f3pw.js} +29 -29
  290. package/dist/chunks/{schema-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{schema-qw8akyjk.js → pty-zv15rf3h.js} +10 -10
  292. package/dist/chunks/{schema-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +365 -365
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +99 -99
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +1 -1
  460. package/dist/instance.js +358 -358
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +77 -77
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +103 -103
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +90 -90
  484. package/dist/models-dev.js +105 -105
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +78 -78
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +109 -109
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +78 -78
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +334 -334
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -78
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +95 -95
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -79
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -162
  542. package/dist/plugin/sdk.js +74 -74
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +139 -139
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +353 -353
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +5 -5
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +230 -230
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +89 -89
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +87 -87
  569. package/dist/reference.js +91 -91
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +95 -95
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +135 -135
  579. package/dist/session/context.js +153 -153
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +225 -225
  585. package/dist/session/execution.js +124 -124
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +86 -86
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +75 -75
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +170 -170
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -209
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +218 -218
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +215 -215
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +7 -7
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +126 -126
  639. package/dist/tool/plugin/edit.js +118 -118
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +120 -120
  643. package/dist/tool/plugin/mcp-resource.js +117 -117
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +101 -101
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +218 -218
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +220 -220
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +12 -12
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +3 -3
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +3 -3
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +82 -82
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +76 -76
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +98 -98
  698. package/package.json +8 -8
  699. package/dist/chunks/schema-7fj5dwt0.js +0 -18
  700. package/dist/chunks/schema-c3z7xvjd.js +0 -26
  701. /package/dist/chunks/{schema-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{schema-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{schema-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{schema-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{schema-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{schema-24dcb14g.js → pty-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{schema-2710q6r3.js → pty-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{schema-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{schema-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{schema-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{schema-359p4xyc.js → pty-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{schema-3asan66x.js → pty-3asan66x.js} +0 -0
  713. /package/dist/chunks/{schema-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{schema-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{schema-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{schema-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{schema-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{schema-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{schema-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{schema-53557ph1.js → pty-53557ph1.js} +0 -0
  721. /package/dist/chunks/{schema-550bvhaj.js → pty-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{schema-6prwharc.js → pty-6prwharc.js} +0 -0
  723. /package/dist/chunks/{schema-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{schema-7m9af43g.js → pty-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{schema-822emrt2.js → pty-822emrt2.js} +0 -0
  726. /package/dist/chunks/{schema-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{schema-8n3pysct.js → pty-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{schema-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{schema-922hggd3.js → pty-922hggd3.js} +0 -0
  730. /package/dist/chunks/{schema-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{schema-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{schema-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{schema-af5trqkr.js → pty-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{schema-afrmfg78.js → pty-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{schema-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{schema-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{schema-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{schema-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{schema-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{schema-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{schema-d9fn303g.js → pty-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{schema-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{schema-dajrwvna.js → pty-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{schema-dap0rakb.js → pty-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{schema-df08tz66.js → pty-df08tz66.js} +0 -0
  746. /package/dist/chunks/{schema-dy18nga0.js → pty-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{schema-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{schema-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{schema-ec1grn59.js → pty-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{schema-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{schema-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{schema-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{schema-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{schema-faypxj3z.js → pty-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{schema-fd410y7t.js → pty-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{schema-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{schema-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{schema-g86h250q.js → pty-g86h250q.js} +0 -0
  759. /package/dist/chunks/{schema-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{schema-gftt206x.js → pty-gftt206x.js} +0 -0
  761. /package/dist/chunks/{schema-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{schema-hk9envan.js → pty-hk9envan.js} +0 -0
  763. /package/dist/chunks/{schema-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{schema-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{schema-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{schema-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{schema-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{schema-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{schema-mp448xyj.js → pty-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{schema-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{schema-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{schema-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{schema-njntx4h6.js → pty-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{schema-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{schema-q74kybfr.js → pty-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{schema-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{schema-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{schema-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{schema-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{schema-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{schema-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{schema-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{schema-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{schema-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{schema-w803qqfp.js → pty-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{schema-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{schema-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{schema-wtztk69x.js → pty-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{schema-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{schema-x61499pn.js → pty-x61499pn.js} +0 -0
  791. /package/dist/chunks/{schema-y44na4kk.js → pty-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{schema-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{schema-y8f7s663.js → pty-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{schema-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{schema-ym463w8f.js → pty-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{schema-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info21,
8
+ Info: () => Info10,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info21 = SessionProviderContext.Info;
22
+ var Info10 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info21, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info10, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID8 = Session.ID;
5
- var Info22 = Session.Info;
4
+ var ID10 = Session.ID;
5
+ var Info13 = Session.Info;
6
6
 
7
- export { ID8, Info22, SessionSchema2 };
7
+ export { ID10, Info13, SessionSchema2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./schema-jv0hjpkt.js";
4
+ } from "./pty-zmzm6hpq.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service83,
8
- node87
9
- } from "./schema-3hyet2nj.js";
7
+ Service82,
8
+ node86
9
+ } from "./pty-8ym6e508.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./schema-5t3nmthw.js";
12
+ } from "./pty-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./schema-ec1grn59.js";
15
+ } from "./pty-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./schema-6va2t7at.js";
18
+ } from "./pty-c36kazt5.js";
19
19
  import {
20
- Service62,
21
- node65
22
- } from "./schema-ef206a6w.js";
20
+ Service55,
21
+ node57
22
+ } from "./pty-sxzc4anv.js";
23
23
  import {
24
- Service32,
25
- node36
26
- } from "./schema-ryxzba5a.js";
24
+ Service29,
25
+ node33
26
+ } from "./pty-9gqjtvj6.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./schema-tdstcens.js";
30
+ } from "./pty-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./schema-9rqn6x4v.js";
33
+ } from "./pty-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service7,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node3
41
+ layer: () => layer5,
42
+ node: () => node9
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service7 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
- const bus = yield* Service83;
61
+ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
62
+ const bus = yield* Service82;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service32;
65
- const store = yield* Service62;
64
+ const context = yield* Service29;
65
+ const store = yield* Service55;
66
66
  const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service2.of({ generate });
148
+ return Service7.of({ generate });
149
149
  }));
150
- var node3 = makeLocationNode({
151
- service: Service2,
152
- layer: layer3,
153
- deps: [node87, llmClient2, node36, node65, node88]
150
+ var node9 = makeLocationNode({
151
+ service: Service7,
152
+ layer: layer5,
153
+ deps: [node86, llmClient2, node33, node57, node88]
154
154
  });
155
155
 
156
- export { Service2, isUntitled2, layer3, node3, exports_title };
156
+ export { Service7, isUntitled2, layer5, node9, exports_title };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./schema-0paq2nw3.js";
4
+ } from "./pty-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./schema-8a6ajmms.js";
7
+ } from "./pty-dyhjeyw1.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./schema-6tnpemwz.js";
11
+ } from "./pty-4seh7fh4.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./schema-830gdwbz.js";
3
+ } from "./pty-q9e230a9.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin33
12
+ Plugin: () => Plugin18
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin33 = define({
32
+ var Plugin18 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin33, exports_plan };
109
+ export { Plugin18, exports_plan };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./schema-emrn6kk6.js";
3
+ } from "./pty-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./schema-9f3e1ggy.js";
6
+ } from "./pty-x9d5zs2r.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./schema-2q85j725.js";
9
+ } from "./pty-9gca7nqa.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./schema-y8cydn3q.js";
3
+ } from "./pty-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./schema-tazgh4e4.js";
10
+ } from "./pty-tazgh4e4.js";
11
11
  import {
12
12
  Service80
13
- } from "./schema-r628jyme.js";
13
+ } from "./pty-9wn9fhxy.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./schema-5h8bm6z8.js";
16
+ } from "./pty-n05etbth.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin21,
24
+ Plugin: () => Plugin16,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin21 = define({
33
+ var Plugin16 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service80;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin21, exports_hg };
191
+ export { Plugin16, exports_hg };
@@ -4,31 +4,31 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./schema-tazgh4e4.js";
7
+ } from "./pty-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./schema-ef5x83kb.js";
10
+ } from "./pty-ef5x83kb.js";
11
11
  import {
12
12
  Service80
13
- } from "./schema-r628jyme.js";
13
+ } from "./pty-9wn9fhxy.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./schema-5h8bm6z8.js";
16
+ } from "./pty-n05etbth.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin22,
24
+ Plugin: () => Plugin15,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin22 = define({
31
+ var Plugin15 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
34
  const location = yield* Service80;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin22, exports_git };
473
+ export { Plugin15, exports_git };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./schema-3hyet2nj.js";
2
+ Service82,
3
+ node86
4
+ } from "./pty-8ym6e508.js";
5
5
  import {
6
6
  Key4,
7
- Service78,
8
- node82
9
- } from "./schema-1dngr6ye.js";
7
+ Service79,
8
+ node83
9
+ } from "./pty-4fj5vy9w.js";
10
10
  import {
11
11
  create3
12
- } from "./schema-rdw6cm16.js";
12
+ } from "./pty-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./schema-dnxkq42g.js";
15
+ } from "./pty-dnxkq42g.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./schema-99a7xnff.js";
19
+ } from "./pty-ymjj4a8f.js";
20
20
  import {
21
21
  __export
22
- } from "./schema-9rqn6x4v.js";
22
+ } from "./pty-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -110,8 +110,8 @@ var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
112
  var layer = Layer.effect(Service77, Effect.gen(function* () {
113
- const credentials = yield* Service78;
114
- const bus = yield* Service83;
113
+ const credentials = yield* Service79;
114
+ const bus = yield* Service82;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
117
117
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -602,7 +602,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
602
602
  var node81 = makeLocationNode({
603
603
  service: Service77,
604
604
  layer,
605
- deps: [node82, node87, AppProcess.node]
605
+ deps: [node83, node86, AppProcess.node]
606
606
  });
607
607
 
608
608
  export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-pf3z77yb.js";
3
+ } from "./pty-fq6n6ras.js";
4
4
  import {
5
- Service83
6
- } from "./schema-3hyet2nj.js";
5
+ Service82
6
+ } from "./pty-8ym6e508.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./schema-1dngr6ye.js";
9
+ Event20
10
+ } from "./pty-4fj5vy9w.js";
11
11
  import {
12
12
  key2
13
- } from "./schema-dnxkq42g.js";
13
+ } from "./pty-dnxkq42g.js";
14
14
  import {
15
15
  ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./schema-d2krc34p.js";
18
+ } from "./pty-5ynr4ewv.js";
19
19
  import {
20
- Service13
21
- } from "./schema-k1qrnqst.js";
20
+ Service17
21
+ } from "./pty-yf10kn3d.js";
22
22
  import {
23
23
  ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./schema-8a6ajmms.js";
26
+ } from "./pty-dyhjeyw1.js";
27
27
  import {
28
- ID3,
28
+ ID4,
29
29
  Input13,
30
30
  Response2
31
- } from "./schema-j89jbpxd.js";
31
+ } from "./pty-sgc66tsc.js";
32
32
 
33
33
  // src/plugin/provider/opencode.ts
34
34
  import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -44,7 +44,7 @@ var methodID = MethodID2.make("device");
44
44
  var RemoteResponse = Schema.Struct({
45
45
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
46
46
  websearch: Schema.Struct({
47
- providerID: ID3
47
+ providerID: ID4
48
48
  }).pipe(Schema.optional),
49
49
  mcp: Schema.Struct({
50
50
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -160,10 +160,10 @@ function oauth(http) {
160
160
  var OpencodePlugin2 = define({
161
161
  id: "opencode.provider.opencode",
162
162
  effect: Effect.fn(function* (ctx) {
163
- const bus = yield* Service83;
163
+ const bus = yield* Service82;
164
164
  const client = yield* HttpClient.HttpClient;
165
165
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
166
- const managed = yield* Service13;
166
+ const managed = yield* Service17;
167
167
  const scope = yield* Scope.Scope;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -386,7 +386,7 @@ var OpencodePlugin2 = define({
386
386
  explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
387
387
  });
388
388
  yield* guard(snapshot);
389
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
389
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
390
390
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
391
391
  })
392
392
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./schema-ym463w8f.js";
3
+ } from "./pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID13
3
- } from "./schema-8a6ajmms.js";
3
+ } from "./pty-dyhjeyw1.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./schema-he3390vg.js";
6
+ } from "./pty-a3ymefbh.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service57,
3
- node60
4
- } from "./schema-39akfy7j.js";
2
+ Service41,
3
+ node44
4
+ } from "./pty-nwmgq5md.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make20,
8
+ make18,
9
9
  diffByKey2
10
- } from "./schema-rhjbct0v.js";
10
+ } from "./pty-0gdmqesm.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions2 = {};
17
17
  __export(exports_instructions2, {
18
18
  ReferenceInstructions: () => exports_instructions2,
19
- Service: () => Service33,
20
- node: () => node37
19
+ Service: () => Service31,
20
+ node: () => node35
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service33 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service33, Effect.gen(function* () {
63
- const references = yield* Service57;
64
- return Service33.of({
62
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
63
+ const references = yield* Service41;
64
+ return Service31.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make20({
71
+ return make18({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node37 = makeLocationNode({ service: Service33, layer, deps: [node60] });
84
+ var node35 = makeLocationNode({ service: Service31, layer, deps: [node44] });
85
85
 
86
- export { Service33, node37, exports_instructions2 };
86
+ export { Service31, node35, exports_instructions2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service47,
3
- node50
4
- } from "./schema-pjt7axjg.js";
2
+ Service68,
3
+ node71
4
+ } from "./pty-wjahz7sy.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./schema-r628jyme.js";
8
+ } from "./pty-9wn9fhxy.js";
9
9
  import {
10
- Service46,
11
- node49
12
- } from "./schema-gfa817nt.js";
10
+ Service67,
11
+ node70
12
+ } from "./pty-d6zc0yrw.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./schema-zxq2ej10.js";
16
+ } from "./pty-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service3,
25
+ Service: () => Service12,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node5
27
+ layer: () => layer7,
28
+ node: () => node14
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service3, Effect.gen(function* () {
39
- const config = yield* Service46;
40
- const watcher = yield* Service47;
38
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
39
+ const config = yield* Service67;
40
+ const watcher = yield* Service68;
41
41
  const fs = yield* FSUtil.Service;
42
42
  const location = yield* Service80;
43
43
  const configuredChanges = yield* PubSub.unbounded();
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service3.of({
61
+ return Service12.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node5 = makeLocationNode({
74
- service: Service3,
75
- layer: layer5,
76
- deps: [node49, FSUtil.node, node50, node84]
73
+ var node14 = makeLocationNode({
74
+ service: Service12,
75
+ layer: layer7,
76
+ deps: [node70, FSUtil.node, node71, node84]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service3,
80
- layer: Layer.succeed(Service3, Service3.of({
79
+ service: Service12,
80
+ layer: Layer.succeed(Service12, Service12.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service3, layer5, node5, empty2, exports_source };
140
+ export { Service12, layer7, node14, empty2, exports_source };