@opencode/core 0.0.0-dev-20423 → 0.0.0-dev-20427

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 (805) 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 +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-access-fyecwx5s.js → schema-00hg8mdp.js} +22 -22
  8. package/dist/chunks/{file-access-bct739vz.js → schema-00z3vp5f.js} +4 -4
  9. package/dist/chunks/{file-access-cbckqvqg.js → schema-01jce939.js} +13 -13
  10. package/dist/chunks/{file-access-s5a4scn6.js → schema-03xyy9gs.js} +8 -8
  11. package/dist/chunks/{file-access-jmmkndc6.js → schema-076g5gtq.js} +31 -31
  12. package/dist/chunks/{file-access-djvcp36f.js → schema-0a25p3r5.js} +25 -25
  13. package/dist/chunks/{file-access-ynx1p25z.js → schema-0dfv3dc6.js} +14 -14
  14. package/dist/chunks/{file-access-rwk1fma6.js → schema-0e8fjg4b.js} +22 -22
  15. package/dist/chunks/{file-access-1kxeax12.js → schema-0fk84ear.js} +4 -4
  16. package/dist/chunks/{file-access-j899q2e9.js → schema-0jcwpj80.js} +26 -26
  17. package/dist/chunks/{file-access-2jyv8ggx.js → schema-0mc57tk4.js} +19 -19
  18. package/dist/chunks/{file-access-m6qrnzrr.js → schema-0msk7f2d.js} +12 -12
  19. package/dist/chunks/{file-access-8kwjs46x.js → schema-0ns8nkzq.js} +16 -16
  20. package/dist/chunks/{file-access-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  21. package/dist/chunks/{file-access-8mb668b9.js → schema-0ppje3yj.js} +13 -13
  22. package/dist/chunks/{file-access-gvzs7mpe.js → schema-0tfh6cbg.js} +13 -13
  23. package/dist/chunks/{file-access-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
  24. package/dist/chunks/{file-access-68yjs0jb.js → schema-164n2a8b.js} +24 -24
  25. package/dist/chunks/{file-access-r8xr0va3.js → schema-1acjjqhc.js} +4 -4
  26. package/dist/chunks/{file-access-vs96cb1a.js → schema-1cm1abtm.js} +7 -7
  27. package/dist/chunks/{file-access-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  28. package/dist/chunks/{file-access-h7f3g3sa.js → schema-1dfjj4a2.js} +24 -24
  29. package/dist/chunks/{file-access-1dvck2a7.js → schema-1dvck2a7.js} +2 -2
  30. package/dist/chunks/{file-access-40x2t3h9.js → schema-1f62gqxs.js} +29 -29
  31. package/dist/chunks/{file-access-6cgtmdw1.js → schema-1mr0tf63.js} +11 -11
  32. package/dist/chunks/{file-access-21r38tys.js → schema-21r38tys.js} +1 -1
  33. package/dist/chunks/{file-access-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{file-access-1garg717.js → schema-2dhyt72p.js} +8 -8
  35. package/dist/chunks/{file-access-k70p9jzb.js → schema-2j5hbwxg.js} +9 -9
  36. package/dist/chunks/{file-access-tfzffy3q.js → schema-2ndfqft8.js} +18 -18
  37. package/dist/chunks/{file-access-zd30eb5w.js → schema-2p623br6.js} +5 -5
  38. package/dist/chunks/{file-access-xxt1k2vd.js → schema-2v8phk0m.js} +25 -25
  39. package/dist/chunks/{file-access-hxr59w64.js → schema-2vkncht2.js} +20 -20
  40. package/dist/chunks/{file-access-8jx1rcbm.js → schema-2yjg5v3n.js} +36 -36
  41. package/dist/chunks/{file-access-2bh420nq.js → schema-33s4cs7k.js} +22 -22
  42. package/dist/chunks/{file-access-b5nepgw1.js → schema-3av0r9g0.js} +42 -42
  43. package/dist/chunks/{file-access-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{file-access-k1byq2gr.js → schema-3g00cn95.js} +43 -43
  45. package/dist/chunks/{file-access-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{file-access-054bnrcz.js → schema-3jtvz2c8.js} +18 -18
  47. package/dist/chunks/{file-access-qcxzt1z7.js → schema-3p0qyp3j.js} +17 -17
  48. package/dist/chunks/{file-access-93ygb5af.js → schema-3ppptnan.js} +6 -6
  49. package/dist/chunks/{file-access-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{file-access-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{file-access-3v5tjer0.js → schema-3v5tjer0.js} +2 -2
  52. package/dist/chunks/{file-access-15nepkqg.js → schema-3ymztgxb.js} +8 -8
  53. package/dist/chunks/{file-access-81mx0dd4.js → schema-3yvx2c16.js} +7 -7
  54. package/dist/chunks/{file-access-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  55. package/dist/chunks/{file-access-skhcq9z8.js → schema-44w1d694.js} +1 -1
  56. package/dist/chunks/{file-access-8ank75fn.js → schema-4a0nv7mx.js} +8 -8
  57. package/dist/chunks/{file-access-4ts7tf6z.js → schema-4ts7tf6z.js} +2 -2
  58. package/dist/chunks/{file-access-ymkdd6f8.js → schema-50qbwwxg.js} +14 -14
  59. package/dist/chunks/{file-access-s06my820.js → schema-51eyhnsv.js} +26 -26
  60. package/dist/chunks/{file-access-54ma36ye.js → schema-54ma36ye.js} +1 -1
  61. package/dist/chunks/{file-access-ennsf284.js → schema-5agx6kaf.js} +15 -15
  62. package/dist/chunks/{file-access-xs2bmay3.js → schema-5atn9wfq.js} +20 -20
  63. package/dist/chunks/{file-access-5daktx2q.js → schema-5daktx2q.js} +1 -1
  64. package/dist/chunks/{file-access-m8frsg49.js → schema-5gn7zxfa.js} +19 -19
  65. package/dist/chunks/{file-access-3rymjx9g.js → schema-5jpgchb0.js} +21 -21
  66. package/dist/chunks/{file-access-447efrsq.js → schema-5k2jxtxf.js} +10 -10
  67. package/dist/chunks/{file-access-fdtxgpnc.js → schema-5nxa4r0r.js} +10 -10
  68. package/dist/chunks/{file-access-dg8dy2wg.js → schema-5pmpx3tn.js} +36 -36
  69. package/dist/chunks/{file-access-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{file-access-m7b5ps2s.js → schema-5w9cwpmd.js} +11 -11
  71. package/dist/chunks/{file-access-phxk36rp.js → schema-5wk64npe.js} +23 -23
  72. package/dist/chunks/{file-access-tj22pfav.js → schema-613r56za.js} +41 -41
  73. package/dist/chunks/{file-access-669tq793.js → schema-669tq793.js} +1 -1
  74. package/dist/chunks/{file-access-p3vbarsn.js → schema-66x1gf3g.js} +26 -26
  75. package/dist/chunks/{file-access-qjz9g255.js → schema-6ew4nd0q.js} +42 -42
  76. package/dist/chunks/{file-access-70kv65rg.js → schema-6k5d2hav.js} +95 -95
  77. package/dist/chunks/{file-access-eex14ffc.js → schema-6mf5w0g3.js} +33 -33
  78. package/dist/chunks/{file-access-v91tw74e.js → schema-6nmnvwva.js} +11 -11
  79. package/dist/chunks/{file-access-svgvjres.js → schema-6vgan4aw.js} +19 -19
  80. package/dist/chunks/{file-access-g6yfr6ja.js → schema-6yz0wx8n.js} +5 -5
  81. package/dist/chunks/{file-access-71az546q.js → schema-71az546q.js} +2 -2
  82. package/dist/chunks/{file-access-g7ewk93y.js → schema-74sfygzs.js} +38 -38
  83. package/dist/chunks/{file-access-8q7xev84.js → schema-75re34rt.js} +10 -10
  84. package/dist/chunks/schema-790j68qn.js +507 -0
  85. package/dist/chunks/{file-access-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{file-access-qgn6gcr1.js → schema-7dqw4kz8.js} +5 -5
  87. package/dist/chunks/{file-access-a9vcwp68.js → schema-7ekw9ay4.js} +40 -40
  88. package/dist/chunks/{file-access-29kk78yn.js → schema-7hp7v40b.js} +5 -5
  89. package/dist/chunks/{file-access-tkmwgdpd.js → schema-7sbkp4xb.js} +7 -7
  90. package/dist/chunks/{file-access-33fsjrfc.js → schema-7sf05c4f.js} +24 -24
  91. package/dist/chunks/{file-access-xkqsw4zh.js → schema-7szz14f0.js} +8 -8
  92. package/dist/chunks/{file-access-wr5v5dbh.js → schema-7xjhysdy.js} +9 -9
  93. package/dist/chunks/{file-access-84txncab.js → schema-84txncab.js} +1 -1
  94. package/dist/chunks/{file-access-y6mjvh6p.js → schema-884bfwk0.js} +6 -6
  95. package/dist/chunks/{file-access-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{file-access-59s176qy.js → schema-8gbsj511.js} +3 -3
  97. package/dist/chunks/{file-access-ffmntvx6.js → schema-8nst9j1y.js} +16 -16
  98. package/dist/chunks/{file-access-89rb888m.js → schema-8wha04vy.js} +16 -16
  99. package/dist/chunks/{file-access-ezk3vef6.js → schema-8wjfwe4f.js} +9 -9
  100. package/dist/chunks/{file-access-z6t04ysw.js → schema-908m4j2d.js} +4 -4
  101. package/dist/chunks/{file-access-1dth1b1r.js → schema-91q34nvd.js} +17 -17
  102. package/dist/chunks/{file-access-rmk2c50f.js → schema-9b00c1fb.js} +5 -5
  103. package/dist/chunks/{file-access-6d6skgds.js → schema-9bqmr884.js} +19 -19
  104. package/dist/chunks/{file-access-y2j62e7h.js → schema-9cqw126c.js} +13 -13
  105. package/dist/chunks/{file-access-9e5bzkjp.js → schema-9e5bzkjp.js} +3 -3
  106. package/dist/chunks/{file-access-y1r30anr.js → schema-a1hhf2r6.js} +23 -23
  107. package/dist/chunks/{file-access-px76j0pk.js → schema-a7bcxdzj.js} +9 -9
  108. package/dist/chunks/{file-access-jewzahs7.js → schema-a89e0tac.js} +4 -4
  109. package/dist/chunks/{file-access-29tbwe98.js → schema-a8kgewhr.js} +24 -24
  110. package/dist/chunks/{file-access-vhw7yaa4.js → schema-a8m135tr.js} +5 -5
  111. package/dist/chunks/{file-access-aaet6srn.js → schema-aaet6srn.js} +2 -2
  112. package/dist/chunks/{file-access-0ft9cg2j.js → schema-ab9238g2.js} +6 -6
  113. package/dist/chunks/{file-access-r5mpbhf6.js → schema-acmb6w5b.js} +11 -11
  114. package/dist/chunks/{file-access-k93tk05c.js → schema-acv9cqfs.js} +20 -20
  115. package/dist/chunks/{file-access-5xzgptxk.js → schema-arhaqhb4.js} +4 -4
  116. package/dist/chunks/{file-access-dwvzh0g2.js → schema-b0awdqvx.js} +9 -9
  117. package/dist/chunks/{file-access-0maqqwr3.js → schema-b2jc6q54.js} +11 -11
  118. package/dist/chunks/{file-access-wecqtg5s.js → schema-b3f8fkhc.js} +5 -5
  119. package/dist/chunks/{file-access-32wjb5vy.js → schema-b49zbxty.js} +32 -32
  120. package/dist/chunks/{file-access-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  121. package/dist/chunks/schema-bng5gf7f.js +252 -0
  122. package/dist/chunks/{file-access-8jngx5jr.js → schema-btnx3k07.js} +35 -35
  123. package/dist/chunks/{file-access-ynzcn0sg.js → schema-btt5ky6n.js} +40 -40
  124. package/dist/chunks/schema-bvmv4qm1.js +26 -0
  125. package/dist/chunks/{file-access-9bnev7a1.js → schema-bzd62h0k.js} +23 -23
  126. package/dist/chunks/{file-access-wasxgqrf.js → schema-c358x8ws.js} +15 -15
  127. package/dist/chunks/{file-access-q9gdr54j.js → schema-c3r8r2c7.js} +9 -9
  128. package/dist/chunks/{file-access-qmjvrsyr.js → schema-cd1hpav8.js} +11 -11
  129. package/dist/chunks/{file-access-5f009fwt.js → schema-ce128ryg.js} +56 -56
  130. package/dist/chunks/{file-access-4xp53jne.js → schema-cgw81b0z.js} +21 -21
  131. package/dist/chunks/{file-access-10a0p2jb.js → schema-chrxq3ex.js} +9 -9
  132. package/dist/chunks/{file-access-4432mf64.js → schema-cshgsf68.js} +25 -25
  133. package/dist/chunks/{file-access-b6eekeg6.js → schema-cxrcevmg.js} +3 -3
  134. package/dist/chunks/{file-access-p42hj8p8.js → schema-czfptnv9.js} +8 -8
  135. package/dist/chunks/{file-access-3emr59yt.js → schema-d2094b0z.js} +8 -8
  136. package/dist/chunks/{file-access-tksfqv8e.js → schema-d87tmwdg.js} +33 -33
  137. package/dist/chunks/{file-access-et0rkxxj.js → schema-dhtadd1m.js} +8 -8
  138. package/dist/chunks/{file-access-8d4fr1yn.js → schema-dk3fapr1.js} +11 -11
  139. package/dist/chunks/{file-access-xkntkrq7.js → schema-dmqcgk4z.js} +5 -5
  140. package/dist/chunks/{file-access-addxnjmp.js → schema-dnxkq42g.js} +4 -4
  141. package/dist/chunks/{file-access-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
  142. package/dist/chunks/{file-access-w66xp1pe.js → schema-drf7jsh9.js} +9 -9
  143. package/dist/chunks/{file-access-nkbqs3g6.js → schema-dyvwp316.js} +8 -8
  144. package/dist/chunks/{file-access-d8mzv3s6.js → schema-e31x7ahd.js} +15 -15
  145. package/dist/chunks/{file-access-b3180kyy.js → schema-ebpmbt03.js} +35 -35
  146. package/dist/chunks/{file-access-cggxzdeq.js → schema-ed1pdgvd.js} +93 -93
  147. package/dist/chunks/{file-access-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{file-access-ym15945z.js → schema-en1ae6kt.js} +30 -30
  149. package/dist/chunks/{file-access-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{file-access-e2mpdzhr.js → schema-evgg74h5.js} +6 -6
  151. package/dist/chunks/{file-access-07esrmkr.js → schema-f28an6tq.js} +15 -15
  152. package/dist/chunks/{file-access-pd7gvt3w.js → schema-f29mbr7f.js} +4 -4
  153. package/dist/chunks/{file-access-dkfn8ta6.js → schema-f2jhgqeb.js} +22 -22
  154. package/dist/chunks/{file-access-47cwrk07.js → schema-f9jvv9fd.js} +27 -27
  155. package/dist/chunks/{file-access-6sf57f13.js → schema-fa2nx576.js} +12 -12
  156. package/dist/chunks/{file-access-587pgjr5.js → schema-fcmr8hvx.js} +25 -25
  157. package/dist/chunks/{file-access-ae464gx1.js → schema-ffb4je5h.js} +11 -11
  158. package/dist/chunks/{file-access-6z5zeb5k.js → schema-fk0bqkbn.js} +18 -18
  159. package/dist/chunks/{file-access-apk1tfew.js → schema-g2axpq5m.js} +57 -31
  160. package/dist/chunks/{file-access-543tcfte.js → schema-ga0xt9e2.js} +2 -2
  161. package/dist/chunks/{file-access-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  162. package/dist/chunks/{file-access-8p7e9d70.js → schema-gqx7042s.js} +20 -20
  163. package/dist/chunks/{file-access-afdssyjb.js → schema-gst7axd9.js} +4 -4
  164. package/dist/chunks/{file-access-j5xd1zzt.js → schema-gtz8s5m7.js} +44 -44
  165. package/dist/chunks/schema-gyce5qg1.js +18 -0
  166. package/dist/chunks/{file-access-yraf8j13.js → schema-h23hyb4a.js} +23 -23
  167. package/dist/chunks/{file-access-h2b79v29.js → schema-h2b79v29.js} +2 -2
  168. package/dist/chunks/{file-access-tjseg5r3.js → schema-h4c8g149.js} +13 -13
  169. package/dist/chunks/{file-access-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{file-access-3c019r4e.js → schema-h7w9m21h.js} +6 -6
  171. package/dist/chunks/{file-access-dkn8r4r6.js → schema-hc7nmvs9.js} +8 -8
  172. package/dist/chunks/{file-access-78jsw4m4.js → schema-hpxy8090.js} +31 -31
  173. package/dist/chunks/{file-access-a1gpj94z.js → schema-j028xdjb.js} +3 -3
  174. package/dist/chunks/{file-access-y4z5w0q3.js → schema-j0drmkjr.js} +25 -25
  175. package/dist/chunks/{file-access-jeg27h1n.js → schema-j1z04ftp.js} +10 -10
  176. package/dist/chunks/{file-access-9pas2tb1.js → schema-j34d9wvd.js} +13 -13
  177. package/dist/chunks/{file-access-j56e64zr.js → schema-j56e64zr.js} +1 -1
  178. package/dist/chunks/{file-access-b4mn66r8.js → schema-jeacqz11.js} +24 -24
  179. package/dist/chunks/{file-access-22d7tj50.js → schema-jhymbn69.js} +9 -9
  180. package/dist/chunks/{file-access-9vmwh205.js → schema-jm3yycek.js} +3 -3
  181. package/dist/chunks/{file-access-0x34zjfk.js → schema-k2maas8p.js} +11 -11
  182. package/dist/chunks/{file-access-k3c624dm.js → schema-k3c624dm.js} +3 -3
  183. package/dist/chunks/{file-access-ndmv45hp.js → schema-k6yq57aq.js} +3 -3
  184. package/dist/chunks/{file-access-5yv40649.js → schema-knrf1btg.js} +10 -10
  185. package/dist/chunks/{file-access-jzzgdak2.js → schema-kpfrge9a.js} +5 -5
  186. package/dist/chunks/{file-access-j4rw0q04.js → schema-kx3tazm0.js} +22 -22
  187. package/dist/chunks/{file-access-1cjqvqy6.js → schema-m0jvvp9j.js} +28 -28
  188. package/dist/chunks/{file-access-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{file-access-m58kmhef.js → schema-m58kmhef.js} +2 -2
  190. package/dist/chunks/{file-access-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{file-access-sxsbdwhb.js → schema-m9xh49tw.js} +9 -9
  192. package/dist/chunks/{file-access-mazbtkaa.js → schema-mazbtkaa.js} +2 -2
  193. package/dist/chunks/{file-access-yk435ynq.js → schema-mdqp54e4.js} +16 -16
  194. package/dist/chunks/{file-access-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
  195. package/dist/chunks/{file-access-jw80jp6b.js → schema-mjymc32g.js} +4 -4
  196. package/dist/chunks/{file-access-n57qrn3a.js → schema-mqzwkyay.js} +6 -6
  197. package/dist/chunks/{file-access-4xsrjhze.js → schema-mszav1c8.js} +5 -5
  198. package/dist/chunks/{file-access-fa4m3wax.js → schema-myhy7sh9.js} +2 -2
  199. package/dist/chunks/{file-access-6ygnexhm.js → schema-n6bzx4yk.js} +5 -5
  200. package/dist/chunks/{file-access-tzwh8jpw.js → schema-n9ape9rz.js} +9 -9
  201. package/dist/chunks/{file-access-y3mhqy61.js → schema-nam3yqey.js} +5 -5
  202. package/dist/chunks/{file-access-gm258srw.js → schema-ncnxs0cm.js} +17 -17
  203. package/dist/chunks/{file-access-ys1n1pef.js → schema-njy42cgf.js} +11 -11
  204. package/dist/chunks/{file-access-6dy6aana.js → schema-nscs897a.js} +35 -35
  205. package/dist/chunks/{file-access-8q91hsbg.js → schema-nxentx58.js} +13 -13
  206. package/dist/chunks/{file-access-jafprmqk.js → schema-p1s1983h.js} +29 -29
  207. package/dist/chunks/{file-access-1m0tad6c.js → schema-p2s1jj4p.js} +11 -11
  208. package/dist/chunks/{file-access-a6h4nhc6.js → schema-p9xxkds4.js} +3 -3
  209. package/dist/chunks/{file-access-whtwaam7.js → schema-pcmm8ydh.js} +23 -23
  210. package/dist/chunks/{file-access-rk7s9xkn.js → schema-pgp1nwjn.js} +4 -4
  211. package/dist/chunks/{file-access-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{file-access-46sp6zbs.js → schema-pk5j9peg.js} +28 -28
  213. package/dist/chunks/{file-access-pknna89w.js → schema-pknna89w.js} +1 -1
  214. package/dist/chunks/{file-access-aej0er4j.js → schema-pnafm5rd.js} +17 -17
  215. package/dist/chunks/{file-access-b4twkq7r.js → schema-py3kkmfq.js} +6 -6
  216. package/dist/chunks/{file-access-n66sb98d.js → schema-pyy44cbc.js} +175 -175
  217. package/dist/chunks/{file-access-q0xm7vwc.js → schema-q0xm7vwc.js} +2 -2
  218. package/dist/chunks/{file-access-af6t3a03.js → schema-q2hf1xmk.js} +8 -8
  219. package/dist/chunks/{file-access-ehtcgea1.js → schema-q2q20c0d.js} +17 -17
  220. package/dist/chunks/{file-access-6dgwpzzh.js → schema-qfhvag9a.js} +32 -32
  221. package/dist/chunks/{file-access-07x4qw17.js → schema-qhgb43ta.js} +48 -48
  222. package/dist/chunks/{file-access-16v1444e.js → schema-qmf8xmg7.js} +7 -7
  223. package/dist/chunks/{file-access-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
  224. package/dist/chunks/{file-access-qsdy395h.js → schema-qsdy395h.js} +1 -1
  225. package/dist/chunks/{file-access-tzgjc6jt.js → schema-qwhmp407.js} +35 -35
  226. package/dist/chunks/{file-access-rkhbev71.js → schema-qzrkvpeb.js} +11 -11
  227. package/dist/chunks/{file-access-zc5g640q.js → schema-r44petzp.js} +12 -12
  228. package/dist/chunks/{file-access-sn8z9k01.js → schema-r4h4t1nf.js} +16 -16
  229. package/dist/chunks/{file-access-p5wv9msv.js → schema-r832v3f0.js} +9 -9
  230. package/dist/chunks/{file-access-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{file-access-c765mh8b.js → schema-rey5gbxv.js} +9 -9
  232. package/dist/chunks/{file-access-ytav440t.js → schema-rhty04x1.js} +17 -17
  233. package/dist/chunks/{file-access-5tat9ppm.js → schema-rk1r2hx8.js} +1 -1
  234. package/dist/chunks/{file-access-4hrvpbem.js → schema-rtwmwkb1.js} +4 -4
  235. package/dist/chunks/{file-access-2htbg7xg.js → schema-rvw4nqpr.js} +37 -37
  236. package/dist/chunks/{file-access-43ka91pa.js → schema-ry36hy20.js} +11 -11
  237. package/dist/chunks/{file-access-h8t7xzdm.js → schema-s077a73h.js} +27 -27
  238. package/dist/chunks/{file-access-s8d7rejh.js → schema-s8d7rejh.js} +1 -1
  239. package/dist/chunks/{file-access-n7cst2s3.js → schema-sdexfqp0.js} +76 -76
  240. package/dist/chunks/{file-access-3jf042qv.js → schema-sk3dx986.js} +45 -45
  241. package/dist/chunks/{file-access-yertzaey.js → schema-smwxesx6.js} +11 -11
  242. package/dist/chunks/{file-access-bt85z86c.js → schema-sseg7a2b.js} +29 -29
  243. package/dist/chunks/{file-access-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{file-access-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{file-access-tdstcens.js → schema-tdstcens.js} +1 -1
  246. package/dist/chunks/{file-access-h2qz4qj9.js → schema-tfbfrq56.js} +13 -13
  247. package/dist/chunks/{file-access-9y6p8gkk.js → schema-tm55b6qc.js} +5 -5
  248. package/dist/chunks/{file-access-tvtrv512.js → schema-tvtrv512.js} +1 -1
  249. package/dist/chunks/{file-access-x0v4zbf6.js → schema-tyfhy1xa.js} +5 -5
  250. package/dist/chunks/{file-access-0k4n424v.js → schema-v65w0t96.js} +58 -58
  251. package/dist/chunks/{file-access-dbfpw9fe.js → schema-v978r2zh.js} +3 -3
  252. package/dist/chunks/{file-access-xh77m8eb.js → schema-vap9bzaw.js} +4 -4
  253. package/dist/chunks/{file-access-veqvce7d.js → schema-veqvce7d.js} +1 -1
  254. package/dist/chunks/{file-access-v211f8gj.js → schema-ver7ymjs.js} +23 -23
  255. package/dist/chunks/{file-access-c1sht665.js → schema-vt1v0sxt.js} +49 -49
  256. package/dist/chunks/{file-access-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{file-access-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{file-access-dxa0ydqz.js → schema-w2pt7pe3.js} +29 -29
  259. package/dist/chunks/{file-access-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{file-access-7zydptxx.js → schema-w55xx4k1.js} +6 -6
  261. package/dist/chunks/{file-access-mycw3te0.js → schema-wcantn69.js} +22 -22
  262. package/dist/chunks/{file-access-wd87259q.js → schema-wd87259q.js} +1 -1
  263. package/dist/chunks/{file-access-f0mwhmn1.js → schema-wp2jv443.js} +8 -8
  264. package/dist/chunks/{file-access-nks5f63d.js → schema-wpk418tb.js} +51 -51
  265. package/dist/chunks/{file-access-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{file-access-r651jaea.js → schema-x254e9t3.js} +46 -46
  267. package/dist/chunks/{file-access-m92djcax.js → schema-x6rmv6e6.js} +25 -25
  268. package/dist/chunks/{file-access-91z5rg67.js → schema-xakdp5s2.js} +8 -8
  269. package/dist/chunks/{file-access-g5w8qwbj.js → schema-xfkkasph.js} +4 -4
  270. package/dist/chunks/{file-access-w876dfzh.js → schema-xkf0j60n.js} +38 -38
  271. package/dist/chunks/{file-access-eph4bszk.js → schema-xkw3h4yy.js} +2 -2
  272. package/dist/chunks/{file-access-bbxmjh93.js → schema-xmqeavvf.js} +3 -3
  273. package/dist/chunks/{file-access-mhsta9mw.js → schema-xmx5bapj.js} +5 -5
  274. package/dist/chunks/{file-access-fqcgpcra.js → schema-xrpg47n6.js} +9 -9
  275. package/dist/chunks/{file-access-hnr8f6ws.js → schema-xxndcd6m.js} +4 -4
  276. package/dist/chunks/{file-access-zmj7yvkd.js → schema-y0aje2pb.js} +12 -12
  277. package/dist/chunks/{file-access-69qt02rp.js → schema-y0kv9337.js} +1 -1
  278. package/dist/chunks/{file-access-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  279. package/dist/chunks/{file-access-6jv65q7g.js → schema-y23bhd53.js} +14 -14
  280. package/dist/chunks/{file-access-288g8677.js → schema-y853g6y0.js} +4 -4
  281. package/dist/chunks/{file-access-43qgvbm9.js → schema-ygrbgkqb.js} +22 -22
  282. package/dist/chunks/{file-access-vhd5ymgm.js → schema-yh7gpy6m.js} +18 -18
  283. package/dist/chunks/{file-access-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  284. package/dist/chunks/{file-access-0e0js3rh.js → schema-ytswgsqe.js} +30 -30
  285. package/dist/chunks/{file-access-d9245fkk.js → schema-yze7y2ew.js} +23 -23
  286. package/dist/chunks/{file-access-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  287. package/dist/chunks/{file-access-47jkzegy.js → schema-z6c3x22d.js} +5 -5
  288. package/dist/chunks/{file-access-xp36mjrh.js → schema-z892f7j6.js} +34 -34
  289. package/dist/chunks/{file-access-d171acjh.js → schema-z8k62dd3.js} +7 -7
  290. package/dist/chunks/{file-access-zfs8ae4p.js → schema-zfs8ae4p.js} +4 -4
  291. package/dist/chunks/{file-access-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{file-access-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  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 +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  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 +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  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 +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +79 -79
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +367 -367
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  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 +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +110 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +105 -105
  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 +99 -99
  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 +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +1 -1
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  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 +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +82 -82
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +129 -129
  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 +99 -99
  482. package/dist/model-resolver.js +96 -96
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  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 +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  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 +335 -335
  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 +124 -124
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +120 -120
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +96 -96
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +222 -222
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +224 -224
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +221 -221
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +108 -108
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +118 -118
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +218 -218
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +118 -118
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/types/filesystem.d.ts +15 -1
  660. package/dist/types/instance.d.ts +1 -1
  661. package/dist/types/plugin/internal.d.ts +1 -1
  662. package/dist/types/plugin/supervisor.d.ts +1 -1
  663. package/dist/util/error-summary.js +1 -1
  664. package/dist/util/error.js +1 -1
  665. package/dist/util/git-executable.js +2 -2
  666. package/dist/util/iife.js +1 -1
  667. package/dist/util/lazy.js +1 -1
  668. package/dist/util/slug.js +1 -1
  669. package/dist/util/token.js +1 -1
  670. package/dist/util/which.js +1 -1
  671. package/dist/util/wildcard.js +1 -1
  672. package/dist/v1/config/agent.js +5 -5
  673. package/dist/v1/config/attachment.js +4 -4
  674. package/dist/v1/config/command.js +5 -5
  675. package/dist/v1/config/config.js +16 -16
  676. package/dist/v1/config/error.js +2 -2
  677. package/dist/v1/config/formatter.js +7 -7
  678. package/dist/v1/config/layout.js +1 -1
  679. package/dist/v1/config/lsp.js +5 -5
  680. package/dist/v1/config/mcp.js +4 -4
  681. package/dist/v1/config/migrate.js +92 -92
  682. package/dist/v1/config/permission.js +3 -3
  683. package/dist/v1/config/plugin.js +3 -3
  684. package/dist/v1/config/provider-options.js +1 -1
  685. package/dist/v1/config/provider.js +4 -4
  686. package/dist/v1/config/server.js +2 -2
  687. package/dist/v1/config/skills.js +3 -3
  688. package/dist/variant.js +93 -93
  689. package/dist/vcs/patch.js +1 -1
  690. package/dist/vcs.js +89 -89
  691. package/dist/websearch.js +82 -82
  692. package/dist/wellknown/plugin.js +74 -74
  693. package/dist/wellknown.js +81 -81
  694. package/dist/workspace/driver.js +5 -5
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +80 -80
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +10 -10
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +89 -89
  701. package/dist/worktree.js +96 -96
  702. package/package.json +8 -8
  703. package/dist/chunks/file-access-619r8v3y.js +0 -18
  704. package/dist/chunks/file-access-ccba3199.js +0 -26
  705. package/dist/chunks/file-access-q8av8z97.js +0 -252
  706. package/dist/chunks/file-access-tjwy6fh9.js +0 -507
  707. package/dist/types/util/identifier.d.ts +0 -1
  708. package/dist/util/identifier.js +0 -5
  709. /package/dist/chunks/{file-access-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{file-access-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{file-access-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{file-access-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{file-access-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  714. /package/dist/chunks/{file-access-24dcb14g.js → schema-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{file-access-2710q6r3.js → schema-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{file-access-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  717. /package/dist/chunks/{file-access-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{file-access-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  719. /package/dist/chunks/{file-access-359p4xyc.js → schema-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{file-access-3asan66x.js → schema-3asan66x.js} +0 -0
  721. /package/dist/chunks/{file-access-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{file-access-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  723. /package/dist/chunks/{file-access-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  724. /package/dist/chunks/{file-access-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  725. /package/dist/chunks/{file-access-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  726. /package/dist/chunks/{file-access-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  727. /package/dist/chunks/{file-access-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  728. /package/dist/chunks/{file-access-53557ph1.js → schema-53557ph1.js} +0 -0
  729. /package/dist/chunks/{file-access-550bvhaj.js → schema-550bvhaj.js} +0 -0
  730. /package/dist/chunks/{file-access-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  731. /package/dist/chunks/{file-access-6prwharc.js → schema-6prwharc.js} +0 -0
  732. /package/dist/chunks/{file-access-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  733. /package/dist/chunks/{file-access-7m9af43g.js → schema-7m9af43g.js} +0 -0
  734. /package/dist/chunks/{file-access-822emrt2.js → schema-822emrt2.js} +0 -0
  735. /package/dist/chunks/{file-access-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  736. /package/dist/chunks/{file-access-8n3pysct.js → schema-8n3pysct.js} +0 -0
  737. /package/dist/chunks/{file-access-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  738. /package/dist/chunks/{file-access-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  739. /package/dist/chunks/{file-access-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  740. /package/dist/chunks/{file-access-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  741. /package/dist/chunks/{file-access-af5trqkr.js → schema-af5trqkr.js} +0 -0
  742. /package/dist/chunks/{file-access-afrmfg78.js → schema-afrmfg78.js} +0 -0
  743. /package/dist/chunks/{file-access-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  744. /package/dist/chunks/{file-access-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  745. /package/dist/chunks/{file-access-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  746. /package/dist/chunks/{file-access-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  747. /package/dist/chunks/{file-access-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  748. /package/dist/chunks/{file-access-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  749. /package/dist/chunks/{file-access-d9fn303g.js → schema-d9fn303g.js} +0 -0
  750. /package/dist/chunks/{file-access-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  751. /package/dist/chunks/{file-access-dajrwvna.js → schema-dajrwvna.js} +0 -0
  752. /package/dist/chunks/{file-access-dap0rakb.js → schema-dap0rakb.js} +0 -0
  753. /package/dist/chunks/{file-access-df08tz66.js → schema-df08tz66.js} +0 -0
  754. /package/dist/chunks/{file-access-dy18nga0.js → schema-dy18nga0.js} +0 -0
  755. /package/dist/chunks/{file-access-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  756. /package/dist/chunks/{file-access-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  757. /package/dist/chunks/{file-access-ec1grn59.js → schema-ec1grn59.js} +0 -0
  758. /package/dist/chunks/{file-access-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  759. /package/dist/chunks/{file-access-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  760. /package/dist/chunks/{file-access-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  761. /package/dist/chunks/{file-access-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  762. /package/dist/chunks/{file-access-faypxj3z.js → schema-faypxj3z.js} +0 -0
  763. /package/dist/chunks/{file-access-fd410y7t.js → schema-fd410y7t.js} +0 -0
  764. /package/dist/chunks/{file-access-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  765. /package/dist/chunks/{file-access-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  766. /package/dist/chunks/{file-access-g86h250q.js → schema-g86h250q.js} +0 -0
  767. /package/dist/chunks/{file-access-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  768. /package/dist/chunks/{file-access-gftt206x.js → schema-gftt206x.js} +0 -0
  769. /package/dist/chunks/{file-access-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  770. /package/dist/chunks/{file-access-hk9envan.js → schema-hk9envan.js} +0 -0
  771. /package/dist/chunks/{file-access-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  772. /package/dist/chunks/{file-access-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  773. /package/dist/chunks/{file-access-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  774. /package/dist/chunks/{file-access-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  775. /package/dist/chunks/{file-access-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  776. /package/dist/chunks/{file-access-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  777. /package/dist/chunks/{file-access-mp448xyj.js → schema-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{file-access-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{file-access-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{file-access-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{file-access-njntx4h6.js → schema-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{file-access-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  783. /package/dist/chunks/{file-access-q74kybfr.js → schema-q74kybfr.js} +0 -0
  784. /package/dist/chunks/{file-access-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  785. /package/dist/chunks/{file-access-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  786. /package/dist/chunks/{file-access-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  787. /package/dist/chunks/{file-access-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  788. /package/dist/chunks/{file-access-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  789. /package/dist/chunks/{file-access-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  790. /package/dist/chunks/{file-access-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  791. /package/dist/chunks/{file-access-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  792. /package/dist/chunks/{file-access-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{file-access-w803qqfp.js → schema-w803qqfp.js} +0 -0
  794. /package/dist/chunks/{file-access-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  795. /package/dist/chunks/{file-access-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  796. /package/dist/chunks/{file-access-wtztk69x.js → schema-wtztk69x.js} +0 -0
  797. /package/dist/chunks/{file-access-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  798. /package/dist/chunks/{file-access-x61499pn.js → schema-x61499pn.js} +0 -0
  799. /package/dist/chunks/{file-access-y44na4kk.js → schema-y44na4kk.js} +0 -0
  800. /package/dist/chunks/{file-access-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  801. /package/dist/chunks/{file-access-y8f7s663.js → schema-y8f7s663.js} +0 -0
  802. /package/dist/chunks/{file-access-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  803. /package/dist/chunks/{file-access-ym463w8f.js → schema-ym463w8f.js} +0 -0
  804. /package/dist/chunks/{file-access-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  805. /package/dist/chunks/{file-access-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-access-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
  import {
5
- Service80
6
- } from "./file-access-ynx1p25z.js";
5
+ Service79
6
+ } from "./schema-0dfv3dc6.js";
7
7
  import {
8
- Service52
9
- } from "./file-access-6z5zeb5k.js";
8
+ Service32
9
+ } from "./schema-fk0bqkbn.js";
10
10
  import {
11
- Service6
12
- } from "./file-access-mycw3te0.js";
11
+ Service12
12
+ } from "./schema-wcantn69.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./file-access-2a5m3afh.js";
15
+ } from "./schema-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service5
27
- } from "./file-access-ehtcgea1.js";
26
+ Service9
27
+ } from "./schema-q2q20c0d.js";
28
28
  import {
29
29
  __export
30
- } from "./file-access-9rqn6x4v.js";
30
+ } from "./schema-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input11,
36
- Plugin: () => Plugin13,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin41,
37
37
  ReadTool: () => exports_read,
38
- name: () => name11,
39
- toModelContent: () => toModelContent6
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name11 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input11 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin13 = {
58
+ var Plugin41 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service5;
62
- const access = yield* Service52;
63
- const sessionInstructions = yield* Service6;
61
+ const reader = yield* Service9;
62
+ const access = yield* Service32;
63
+ const sessionInstructions = yield* Service12;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service80;
65
+ const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name11,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input11,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin13 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent6(result.path, input.offset, result.output),
116
+ content: toModelContent4(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent6 = (path, offset, output) => {
149
+ var toModelContent4 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent6 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name11, Input11, Plugin13, toModelContent6, exports_read };
185
+ export { name6, Input6, Plugin41, toModelContent4, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -1,125 +1,125 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./file-access-qmjvrsyr.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./file-access-yk435ynq.js";
4
+ } from "./schema-cd1hpav8.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./schema-mdqp54e4.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./file-access-gftt206x.js";
11
+ } from "./schema-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./file-access-y6mjvh6p.js";
14
+ } from "./schema-884bfwk0.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./file-access-ec1grn59.js";
17
+ } from "./schema-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./file-access-9e5bzkjp.js";
20
+ } from "./schema-9e5bzkjp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./file-access-zfs8ae4p.js";
23
+ } from "./schema-zfs8ae4p.js";
24
24
  import {
25
25
  provenance2
26
- } from "./file-access-pd7gvt3w.js";
26
+ } from "./schema-f29mbr7f.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./file-access-1garg717.js";
30
+ } from "./schema-2dhyt72p.js";
31
31
  import {
32
- Service71,
33
- node74
34
- } from "./file-access-qcxzt1z7.js";
32
+ Service67,
33
+ node70
34
+ } from "./schema-3p0qyp3j.js";
35
35
  import {
36
- Service18,
37
- node21
38
- } from "./file-access-dg8dy2wg.js";
36
+ Service62,
37
+ node65
38
+ } from "./schema-5pmpx3tn.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./file-access-5t3nmthw.js";
41
+ } from "./schema-5t3nmthw.js";
42
42
  import {
43
- Service31,
44
- node35
45
- } from "./file-access-yertzaey.js";
43
+ Service22,
44
+ node25
45
+ } from "./schema-smwxesx6.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./file-access-eex14ffc.js";
48
+ } from "./schema-6mf5w0g3.js";
49
49
  import {
50
- make4
51
- } from "./file-access-wecqtg5s.js";
50
+ make10
51
+ } from "./schema-b3f8fkhc.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./file-access-x0v4zbf6.js";
54
+ } from "./schema-tyfhy1xa.js";
55
55
  import {
56
- Service8,
57
- node10,
56
+ Service10,
57
+ node12,
58
58
  estimatePrompt2
59
- } from "./file-access-jmmkndc6.js";
59
+ } from "./schema-076g5gtq.js";
60
60
  import {
61
- Service27,
62
- node31
63
- } from "./file-access-cggxzdeq.js";
61
+ Service16,
62
+ node19
63
+ } from "./schema-ed1pdgvd.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./file-access-0e0js3rh.js";
68
+ } from "./schema-ytswgsqe.js";
69
69
  import {
70
- Service3,
70
+ Service11,
71
71
  isUntitled2,
72
- node4
73
- } from "./file-access-6dgwpzzh.js";
72
+ node13
73
+ } from "./schema-qfhvag9a.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service58
77
- } from "./file-access-afdssyjb.js";
76
+ Service37
77
+ } from "./schema-gst7axd9.js";
78
78
  import {
79
- node44
80
- } from "./file-access-32wjb5vy.js";
79
+ node37
80
+ } from "./schema-b49zbxty.js";
81
81
  import {
82
- node43
83
- } from "./file-access-m6qrnzrr.js";
82
+ node36
83
+ } from "./schema-0msk7f2d.js";
84
84
  import {
85
85
  Outcome2,
86
- make3
87
- } from "./file-access-rwk1fma6.js";
86
+ make9
87
+ } from "./schema-0e8fjg4b.js";
88
88
  import {
89
- Service35
90
- } from "./file-access-619r8v3y.js";
89
+ Service21
90
+ } from "./schema-gyce5qg1.js";
91
91
  import {
92
92
  node15
93
- } from "./file-access-d8mzv3s6.js";
93
+ } from "./schema-e31x7ahd.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./file-access-y44na4kk.js";
96
+ } from "./schema-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./file-access-9rqn6x4v.js";
99
+ } from "./schema-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node3
105
+ node: () => node11
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
108
  import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service58, Effect.gen(function* () {
113
- const bus = yield* Service83;
114
- const lifecycle = yield* Service18;
115
- const store = yield* Service71;
116
- const context = yield* Service27;
117
- const modelTransport = yield* Service31;
118
- const db = (yield* Service84).db;
119
- const compaction = yield* Service8;
120
- const plugins = yield* Service35;
121
- const title = yield* Service3;
122
- const steps = yield* make3;
112
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
113
+ const bus = yield* Service82;
114
+ const lifecycle = yield* Service62;
115
+ const store = yield* Service67;
116
+ const context = yield* Service16;
117
+ const modelTransport = yield* Service22;
118
+ const db = (yield* Service83).db;
119
+ const compaction = yield* Service10;
120
+ const plugins = yield* Service21;
121
+ const title = yield* Service11;
122
+ const steps = yield* make9;
123
123
  const titles = yield* FiberMap.make();
124
124
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
125
125
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make4(bus, sessionID);
243
+ const retry = yield* make10(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service58.of({ drain });
359
+ return Service37.of({ drain });
360
360
  }));
361
- var node3 = makeLocationNode({
362
- service: Service58,
361
+ var node11 = makeLocationNode({
362
+ service: Service37,
363
363
  layer,
364
364
  deps: [
365
- node87,
366
- node21,
365
+ node86,
366
+ node65,
367
367
  llmClient2,
368
- node31,
369
- node35,
370
- node74,
371
- node10,
368
+ node19,
369
+ node25,
370
+ node70,
371
+ node12,
372
372
  node15,
373
- node4,
374
- node44,
375
- node43,
376
- node88
373
+ node13,
374
+ node37,
375
+ node36,
376
+ node87
377
377
  ]
378
378
  });
379
379
 
380
- export { node3, exports_llm };
380
+ export { node11, exports_llm };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-access-ae464gx1.js";
3
+ } from "./schema-ffb4je5h.js";
4
4
  import {
5
- Service83
6
- } from "./file-access-yk435ynq.js";
5
+ Service82
6
+ } from "./schema-mdqp54e4.js";
7
7
  import {
8
8
  ID15,
9
9
  OAuth3,
10
- Event20,
11
- Service75
12
- } from "./file-access-587pgjr5.js";
10
+ Event19,
11
+ Service77
12
+ } from "./schema-fcmr8hvx.js";
13
13
  import {
14
14
  key2
15
- } from "./file-access-addxnjmp.js";
15
+ } from "./schema-dnxkq42g.js";
16
16
  import {
17
- ID9,
17
+ ID14,
18
18
  MethodID2
19
- } from "./file-access-dxa0ydqz.js";
19
+ } from "./schema-w2pt7pe3.js";
20
20
  import {
21
21
  which2
22
- } from "./file-access-qaymkmh1.js";
22
+ } from "./schema-qaymkmh1.js";
23
23
  import {
24
- ID8,
25
- Service67
26
- } from "./file-access-6dy6aana.js";
24
+ ID13,
25
+ Service75
26
+ } from "./schema-nscs897a.js";
27
27
  import {
28
- ID7
29
- } from "./file-access-tksfqv8e.js";
28
+ ID12
29
+ } from "./schema-d87tmwdg.js";
30
30
  import {
31
31
  iife2
32
- } from "./file-access-1kg9ymc8.js";
32
+ } from "./schema-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./file-access-e2mpdzhr.js";
35
+ } from "./schema-evgg74h5.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make6(endpoints = {
70
+ function make4(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
74
74
  return define({
75
75
  id: "opencode.provider.azure",
76
76
  effect: Effect.fn(function* (ctx) {
77
- const configured = yield* configuredSettings2(ID8.azure);
77
+ const configured = yield* configuredSettings2(ID13.azure);
78
78
  const processes = yield* AppProcess.Service;
79
- const bus = yield* Service83;
80
- const credentials = yield* Service75;
81
- const providers = yield* Service67;
79
+ const bus = yield* Service82;
80
+ const credentials = yield* Service77;
81
+ const providers = yield* Service75;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -116,13 +116,13 @@ function make6(endpoints = {
116
116
  });
117
117
  yield* ctx.integration.transform((editor) => {
118
118
  editor.method.update({
119
- integrationID: ID8.azure,
119
+ integrationID: ID13.azure,
120
120
  method: { type: "key", label: "API key", form: form() }
121
121
  });
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID8.azure,
125
+ integrationID: ID13.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "oauth",
@@ -152,7 +152,7 @@ function make6(endpoints = {
152
152
  });
153
153
  });
154
154
  const load = Effect.fn("AzurePlugin.load")(function* () {
155
- const connection = yield* ctx.integration.connection.active(ID8.azure);
155
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
156
156
  const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
@@ -192,7 +192,7 @@ function make6(endpoints = {
192
192
  }));
193
193
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
194
194
  const connection = loaded.connection;
195
- const settings = (yield* providers.get(ID8.azure))?.settings;
195
+ const settings = (yield* providers.get(ID13.azure))?.settings;
196
196
  const name = loaded.resource ?? resolveResourceName(settings);
197
197
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
198
198
  if (loaded.connection !== connection)
@@ -214,11 +214,11 @@ function make6(endpoints = {
214
214
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
215
215
  if (!found)
216
216
  return;
217
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
217
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
218
218
  return;
219
219
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
220
220
  return;
221
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
221
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
222
222
  id.toLowerCase(),
223
223
  id
224
224
  ]));
@@ -231,11 +231,11 @@ function make6(endpoints = {
231
231
  yield* ctx.model.reload();
232
232
  });
233
233
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
234
- const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
234
+ const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
235
235
  Object.assign(loaded, yield* load());
236
236
  yield* ctx.provider.transform((evt) => {
237
237
  for (const item of evt.list()) {
238
- if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
238
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
239
239
  continue;
240
240
  const resourceName = resourceFor(item.provider);
241
241
  const websocket = responsesWebSocketCapable(item.provider);
@@ -250,7 +250,7 @@ function make6(endpoints = {
250
250
  };
251
251
  });
252
252
  }
253
- const item = evt.get(ID8.azure);
253
+ const item = evt.get(ID13.azure);
254
254
  if (!item)
255
255
  return;
256
256
  evt.add({
@@ -261,7 +261,7 @@ function make6(endpoints = {
261
261
  });
262
262
  yield* ctx.model.transform((models) => {
263
263
  for (const item of models.provider.list()) {
264
- if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
264
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
265
265
  continue;
266
266
  const resourceName = resourceFor(item.provider);
267
267
  for (const model of models.list(item.provider.id)) {
@@ -273,20 +273,20 @@ function make6(endpoints = {
273
273
  }
274
274
  if (!loaded.deployments)
275
275
  return;
276
- const catalog = models.list(ID8.azure);
276
+ const catalog = models.list(ID13.azure);
277
277
  const deployed = deployedModels(loaded.deployments, catalog);
278
278
  for (const model of catalog) {
279
279
  if (!deployed.has(model.id))
280
- models.remove(ID8.azure, model.id);
280
+ models.remove(ID13.azure, model.id);
281
281
  }
282
282
  for (const [id, model] of deployed) {
283
- models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
283
+ models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
284
284
  }
285
285
  });
286
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
286
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
287
287
  yield* refresh().pipe(Effect.forkScoped);
288
288
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
289
- const connection = yield* ctx.integration.connection.active(ID8.azure);
289
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
290
290
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
291
291
  return;
292
292
  })) : undefined;
@@ -298,7 +298,7 @@ function make6(endpoints = {
298
298
  return `Bearer ${current.access}`;
299
299
  });
300
300
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
301
- if (evt.model.providerID !== ID8.azure)
301
+ if (evt.model.providerID !== ID13.azure)
302
302
  return;
303
303
  const authorization = yield* bearer(evt.request.url);
304
304
  if (!authorization)
@@ -307,9 +307,9 @@ function make6(endpoints = {
307
307
  evt.request.headers.delete("x-api-key");
308
308
  evt.request.headers.set("authorization", authorization);
309
309
  evt.request.headers.set("user-agent", useragent2(ctx.app));
310
- }), { providerID: ID8.azure });
310
+ }), { providerID: ID13.azure });
311
311
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
312
- if (evt.model.providerID !== ID8.azure)
312
+ if (evt.model.providerID !== ID13.azure)
313
313
  return;
314
314
  const authorization = yield* bearer(evt.url);
315
315
  if (!authorization)
@@ -318,11 +318,11 @@ function make6(endpoints = {
318
318
  delete evt.headers["x-api-key"];
319
319
  evt.headers.authorization = authorization;
320
320
  evt.headers["user-agent"] = useragent2(ctx.app);
321
- }), { providerID: ID8.azure });
321
+ }), { providerID: ID13.azure });
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make6();
325
+ var AzurePlugin2 = make4();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
352
352
  const model = catalogModel(models, deployment);
353
353
  if (!model)
354
354
  return [];
355
- const id = ID7.make(deployment.name.toLowerCase());
355
+ const id = ID12.make(deployment.name.toLowerCase());
356
356
  const info = {
357
357
  ...structuredClone(model),
358
358
  id,
359
- modelID: ID7.make(deployment.name),
359
+ modelID: ID12.make(deployment.name),
360
360
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
361
361
  };
362
362
  return [[id, info]];
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make6, AzurePlugin2 };
381
+ export { make4, AzurePlugin2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./file-access-5t3nmthw.js";
3
+ } from "./schema-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service31,
11
+ Service: () => Service22,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer12,
13
+ layer: () => layer10,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node35
15
+ node: () => node25
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service22 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service22, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service31.of({ bind, close, closeAll });
370
+ return Service22.of({ bind, close, closeAll });
371
371
  }));
372
- var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node35 = makeGlobalNode({ service: Service31, layer: layer12, deps: [webSocketConstructor2] });
375
+ var node25 = makeGlobalNode({ service: Service22, layer: layer10, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service31, makeLayer2, layer12, node35, exports_model_transport };
377
+ export { Service22, makeLayer2, layer10, node25, exports_model_transport };