@opencode/core 0.0.0-dev-20161 → 0.0.0-dev-20162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +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 +69 -69
  7. package/dist/chunks/{persistent-pty-0zms6rpb.js → reference-01x1ys4d.js} +6 -6
  8. package/dist/chunks/{persistent-pty-909p1r3q.js → reference-07w59vex.js} +6 -6
  9. package/dist/chunks/{persistent-pty-j0exgwae.js → reference-0amqtv85.js} +17 -17
  10. package/dist/chunks/{persistent-pty-n0ecsdh3.js → reference-0ecm74t9.js} +24 -24
  11. package/dist/chunks/{persistent-pty-c7jcxm17.js → reference-0gx7vwr2.js} +16 -16
  12. package/dist/chunks/{persistent-pty-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{persistent-pty-dfe8djrf.js → reference-0v53mg2y.js} +4 -4
  14. package/dist/chunks/{persistent-pty-pz0sazxr.js → reference-12gpr7d5.js} +8 -8
  15. package/dist/chunks/{persistent-pty-pzwp9vyv.js → reference-16bbg7ec.js} +38 -38
  16. package/dist/chunks/{persistent-pty-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{persistent-pty-ck0wjfjv.js → reference-1ft6zanx.js} +35 -35
  18. package/dist/chunks/{persistent-pty-czpwm44a.js → reference-1kn1kk3r.js} +11 -11
  19. package/dist/chunks/{persistent-pty-rrxgszfj.js → reference-1pjwb51h.js} +27 -27
  20. package/dist/chunks/{persistent-pty-afed7ext.js → reference-1v6wmkfd.js} +12 -12
  21. package/dist/chunks/{persistent-pty-tb7f0f66.js → reference-1z0e90kj.js} +15 -15
  22. package/dist/chunks/reference-1zxhsznx.js +26 -0
  23. package/dist/chunks/{persistent-pty-21r38tys.js → reference-21r38tys.js} +1 -1
  24. package/dist/chunks/{persistent-pty-8ank75fn.js → reference-22sd1qqc.js} +8 -8
  25. package/dist/chunks/{persistent-pty-2402vzrj.js → reference-2402vzrj.js} +1 -1
  26. package/dist/chunks/{persistent-pty-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{persistent-pty-57ez7d0k.js → reference-2fgn2we9.js} +9 -9
  28. package/dist/chunks/{persistent-pty-gbqzgj7y.js → reference-2mjwbfp5.js} +17 -17
  29. package/dist/chunks/{persistent-pty-cwa6csj7.js → reference-2mq1h16s.js} +9 -9
  30. package/dist/chunks/{persistent-pty-tpzdabj1.js → reference-2y2njx4h.js} +6 -6
  31. package/dist/chunks/{persistent-pty-m7hh4551.js → reference-2yy3z0jy.js} +30 -30
  32. package/dist/chunks/{persistent-pty-y87t9fp6.js → reference-3bkkhtex.js} +13 -13
  33. package/dist/chunks/{persistent-pty-58h6nhfy.js → reference-3cfg471a.js} +7 -7
  34. package/dist/chunks/{persistent-pty-bkk31atn.js → reference-3f72df5w.js} +21 -21
  35. package/dist/chunks/{persistent-pty-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{persistent-pty-53tb33wk.js → reference-3fkr61hr.js} +5 -5
  37. package/dist/chunks/{persistent-pty-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{persistent-pty-cpvy7b7p.js → reference-3p3vnky8.js} +11 -11
  39. package/dist/chunks/{persistent-pty-83g6ksvf.js → reference-3r15x7gc.js} +12 -12
  40. package/dist/chunks/{persistent-pty-d9jme974.js → reference-3s6dz3zh.js} +10 -10
  41. package/dist/chunks/{persistent-pty-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{persistent-pty-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{persistent-pty-8pggv5rn.js → reference-3v7e0nj5.js} +22 -22
  44. package/dist/chunks/{persistent-pty-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{persistent-pty-v2zjbjd3.js → reference-43b73ppw.js} +48 -48
  46. package/dist/chunks/{persistent-pty-6v46makf.js → reference-46c3760n.js} +29 -29
  47. package/dist/chunks/{persistent-pty-pn9rmv0x.js → reference-49yzscfc.js} +10 -10
  48. package/dist/chunks/{persistent-pty-bz1n60hy.js → reference-4gwesgvk.js} +17 -17
  49. package/dist/chunks/{persistent-pty-3hz5d8pf.js → reference-4j3q3gy0.js} +30 -30
  50. package/dist/chunks/{persistent-pty-4sftmnet.js → reference-4t6dvhtz.js} +18 -18
  51. package/dist/chunks/{persistent-pty-ajzbtavw.js → reference-4twm1v8c.js} +12 -12
  52. package/dist/chunks/{persistent-pty-dk7pdvq2.js → reference-51t1nk0w.js} +16 -16
  53. package/dist/chunks/{persistent-pty-hfcyh0cs.js → reference-53b1aas6.js} +6 -6
  54. package/dist/chunks/{persistent-pty-f3bevy8m.js → reference-5422n3t7.js} +21 -21
  55. package/dist/chunks/{persistent-pty-56gdpj1q.js → reference-56gdpj1q.js} +2 -2
  56. package/dist/chunks/{persistent-pty-5b84avn1.js → reference-5b84avn1.js} +1 -1
  57. package/dist/chunks/{persistent-pty-5daktx2q.js → reference-5daktx2q.js} +1 -1
  58. package/dist/chunks/{persistent-pty-j3w6saxc.js → reference-5fre3x80.js} +5 -5
  59. package/dist/chunks/{persistent-pty-hy9skd6v.js → reference-5hcyjm69.js} +5 -5
  60. package/dist/chunks/{persistent-pty-6v65b3fz.js → reference-5pd7ahqb.js} +23 -23
  61. package/dist/chunks/{persistent-pty-7dhhhw6e.js → reference-5qsvmyhn.js} +84 -84
  62. package/dist/chunks/{persistent-pty-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{persistent-pty-weyhrafj.js → reference-5xhn02sj.js} +15 -15
  64. package/dist/chunks/{persistent-pty-sjdt00n5.js → reference-62c64d0f.js} +20 -20
  65. package/dist/chunks/{persistent-pty-669tq793.js → reference-669tq793.js} +1 -1
  66. package/dist/chunks/{persistent-pty-zas2f676.js → reference-66ysksfg.js} +8 -8
  67. package/dist/chunks/{persistent-pty-sq5357bb.js → reference-69t6210w.js} +16 -16
  68. package/dist/chunks/{persistent-pty-xjdbqttv.js → reference-6a13jgj0.js} +17 -17
  69. package/dist/chunks/{persistent-pty-83zq1v6a.js → reference-6hb7b85m.js} +33 -33
  70. package/dist/chunks/{persistent-pty-b2ymzsjy.js → reference-6j4qz43p.js} +22 -22
  71. package/dist/chunks/{persistent-pty-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{persistent-pty-5s51epvc.js → reference-6zkkrft8.js} +35 -35
  73. package/dist/chunks/{persistent-pty-4g8a3071.js → reference-7ah923bx.js} +44 -44
  74. package/dist/chunks/{persistent-pty-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{persistent-pty-2k8khapm.js → reference-7dqw4kz8.js} +5 -5
  76. package/dist/chunks/{persistent-pty-kg6vqa2g.js → reference-7gc63ees.js} +42 -42
  77. package/dist/chunks/{persistent-pty-0tk0r9vs.js → reference-7ky71vec.js} +11 -11
  78. package/dist/chunks/{persistent-pty-89tas9n7.js → reference-7n3h8z8x.js} +30 -30
  79. package/dist/chunks/{persistent-pty-qjxevsft.js → reference-7tgakezr.js} +1 -1
  80. package/dist/chunks/{persistent-pty-0hp4c3hn.js → reference-7xrebrp4.js} +4 -4
  81. package/dist/chunks/{persistent-pty-hbn9qevp.js → reference-826wxmg7.js} +34 -34
  82. package/dist/chunks/{persistent-pty-1wgjazvh.js → reference-82t62krp.js} +10 -10
  83. package/dist/chunks/{persistent-pty-fgcwhffx.js → reference-847b4gce.js} +6 -6
  84. package/dist/chunks/{persistent-pty-721wyhkj.js → reference-88tdds3s.js} +53 -53
  85. package/dist/chunks/{persistent-pty-vpyec1rj.js → reference-8ac1ch0a.js} +16 -16
  86. package/dist/chunks/{persistent-pty-p8q141tk.js → reference-8aw490j5.js} +5 -5
  87. package/dist/chunks/{persistent-pty-xgv5607x.js → reference-8bhj9fqm.js} +3 -3
  88. package/dist/chunks/{persistent-pty-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{persistent-pty-vyx03eky.js → reference-8fypk95p.js} +179 -179
  90. package/dist/chunks/{persistent-pty-25cqgkt3.js → reference-8nk0jvjq.js} +12 -12
  91. package/dist/chunks/{persistent-pty-gpy90s52.js → reference-8t5wqk0x.js} +13 -13
  92. package/dist/chunks/{persistent-pty-p42hj8p8.js → reference-8v6pyhej.js} +8 -8
  93. package/dist/chunks/{persistent-pty-4rjsgs5d.js → reference-8v842n89.js} +13 -13
  94. package/dist/chunks/{persistent-pty-1dj1qnqc.js → reference-8wy5hk7w.js} +11 -11
  95. package/dist/chunks/{persistent-pty-tvgkc4yy.js → reference-90bn1v09.js} +4 -4
  96. package/dist/chunks/reference-91h3g1xt.js +252 -0
  97. package/dist/chunks/{persistent-pty-aqxrhhqj.js → reference-91xrs62w.js} +3 -3
  98. package/dist/chunks/{persistent-pty-94ek1h2f.js → reference-94ek1h2f.js} +2 -2
  99. package/dist/chunks/{persistent-pty-70s96e4j.js → reference-964jcbyv.js} +15 -15
  100. package/dist/chunks/{persistent-pty-1phy0an4.js → reference-96y032zk.js} +9 -9
  101. package/dist/chunks/{persistent-pty-wrmrmykr.js → reference-984xje6x.js} +6 -6
  102. package/dist/chunks/{persistent-pty-4v68peyh.js → reference-9f53fa7g.js} +5 -5
  103. package/dist/chunks/{persistent-pty-5sz0tvwy.js → reference-9mfgef28.js} +1 -1
  104. package/dist/chunks/{persistent-pty-a9fv3hpn.js → reference-9qygrp94.js} +10 -10
  105. package/dist/chunks/{persistent-pty-96ctqc5x.js → reference-9x77fmbz.js} +4 -4
  106. package/dist/chunks/{persistent-pty-vdvpd1jg.js → reference-a0n8sp6n.js} +9 -9
  107. package/dist/chunks/{persistent-pty-cenvhtqn.js → reference-a3x70673.js} +21 -21
  108. package/dist/chunks/{persistent-pty-620nd8sc.js → reference-a7szthnd.js} +9 -9
  109. package/dist/chunks/{persistent-pty-aaet6srn.js → reference-aaet6srn.js} +2 -2
  110. package/dist/chunks/{persistent-pty-4snmkckq.js → reference-adr897hr.js} +25 -25
  111. package/dist/chunks/{persistent-pty-5rc4gns8.js → reference-akyrbgpn.js} +18 -18
  112. package/dist/chunks/{persistent-pty-m2r9tm47.js → reference-as206x49.js} +11 -11
  113. package/dist/chunks/{persistent-pty-hkagk5ex.js → reference-b09hzw3k.js} +2 -2
  114. package/dist/chunks/{persistent-pty-c7vf4kh0.js → reference-b1n688j8.js} +4 -4
  115. package/dist/chunks/{persistent-pty-qw6ew0vv.js → reference-b669rhzj.js} +17 -17
  116. package/dist/chunks/{persistent-pty-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{persistent-pty-b7b4ctej.js → reference-b7b4ctej.js} +2 -2
  118. package/dist/chunks/{persistent-pty-yjptyezs.js → reference-bgxcxs0p.js} +5 -5
  119. package/dist/chunks/{persistent-pty-8h3wkb9t.js → reference-bpp3ryfj.js} +10 -10
  120. package/dist/chunks/{persistent-pty-qq8x5mwt.js → reference-bscb95cy.js} +6 -6
  121. package/dist/chunks/{persistent-pty-54whtqgx.js → reference-bxbcym62.js} +16 -16
  122. package/dist/chunks/{persistent-pty-511zxn61.js → reference-c38bjq8c.js} +28 -28
  123. package/dist/chunks/{persistent-pty-yr1cdtnb.js → reference-c43a01n5.js} +30 -30
  124. package/dist/chunks/{persistent-pty-jmj6k8nb.js → reference-c49cqfqd.js} +10 -10
  125. package/dist/chunks/{persistent-pty-zz6fs82c.js → reference-c9fprm0x.js} +2 -2
  126. package/dist/chunks/{persistent-pty-6e3ttc5b.js → reference-cezasygy.js} +30 -30
  127. package/dist/chunks/{persistent-pty-ckecvw8r.js → reference-ckecvw8r.js} +2 -2
  128. package/dist/chunks/{persistent-pty-6anwy9fs.js → reference-cpy6gm2a.js} +5 -5
  129. package/dist/chunks/{persistent-pty-kaafkdk2.js → reference-csaq20vk.js} +41 -41
  130. package/dist/chunks/{persistent-pty-9cz1e5x5.js → reference-ct1p0e3y.js} +25 -25
  131. package/dist/chunks/{persistent-pty-f5dmnpzb.js → reference-cv4vwhby.js} +11 -11
  132. package/dist/chunks/{persistent-pty-azw5h5wv.js → reference-d02z46y2.js} +8 -8
  133. package/dist/chunks/{persistent-pty-00qdhpqs.js → reference-d0j2a5wc.js} +15 -15
  134. package/dist/chunks/{persistent-pty-8z04j688.js → reference-d6bxb51r.js} +18 -18
  135. package/dist/chunks/{persistent-pty-bdgt4s9b.js → reference-d8ek7das.js} +5 -5
  136. package/dist/chunks/{persistent-pty-pgmzfdk5.js → reference-dcx1sf8q.js} +7 -7
  137. package/dist/chunks/{persistent-pty-mgvjhcwg.js → reference-dgk138jj.js} +11 -11
  138. package/dist/chunks/{persistent-pty-8z4djcf1.js → reference-dkhbyg2v.js} +10 -10
  139. package/dist/chunks/{persistent-pty-y71avatq.js → reference-dpkg50ah.js} +4 -4
  140. package/dist/chunks/{persistent-pty-mgmaefw5.js → reference-dt2x0zh0.js} +5 -5
  141. package/dist/chunks/{persistent-pty-qq4d284g.js → reference-dt9mh0bm.js} +4 -4
  142. package/dist/chunks/{persistent-pty-dwq6ryhm.js → reference-dwq6ryhm.js} +2 -2
  143. package/dist/chunks/{persistent-pty-8frg9jgy.js → reference-dx8786a0.js} +10 -10
  144. package/dist/chunks/{persistent-pty-zvt5dnpc.js → reference-e2hjzebn.js} +4 -4
  145. package/dist/chunks/reference-ebe412tk.js +511 -0
  146. package/dist/chunks/{persistent-pty-ecfe7b91.js → reference-ecfe7b91.js} +2 -2
  147. package/dist/chunks/{persistent-pty-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{persistent-pty-gm9ayw17.js → reference-egvk2tm3.js} +17 -17
  149. package/dist/chunks/{persistent-pty-e90jpx4a.js → reference-ejhs522f.js} +15 -15
  150. package/dist/chunks/{persistent-pty-4ej9fmev.js → reference-engh8x4k.js} +6 -6
  151. package/dist/chunks/{persistent-pty-ncxkwzes.js → reference-epg42mqj.js} +13 -13
  152. package/dist/chunks/{persistent-pty-x64cfhhk.js → reference-eq0vda6f.js} +41 -41
  153. package/dist/chunks/{persistent-pty-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  154. package/dist/chunks/{persistent-pty-2f0bjgcj.js → reference-evbgk2k8.js} +5 -5
  155. package/dist/chunks/{persistent-pty-drbh3724.js → reference-f0s79xst.js} +22 -22
  156. package/dist/chunks/{persistent-pty-p0m94kn1.js → reference-f1080f95.js} +9 -9
  157. package/dist/chunks/reference-f81tjggh.js +18 -0
  158. package/dist/chunks/{persistent-pty-mjeayme1.js → reference-ffwxfrj0.js} +28 -28
  159. package/dist/chunks/{persistent-pty-qa3qhgw8.js → reference-fqb2p7cx.js} +4 -4
  160. package/dist/chunks/{persistent-pty-82rhge12.js → reference-fqcgpcra.js} +9 -9
  161. package/dist/chunks/{persistent-pty-2c7hjkzv.js → reference-g21r4nge.js} +15 -15
  162. package/dist/chunks/{persistent-pty-kj9mzqja.js → reference-g558e3ha.js} +27 -27
  163. package/dist/chunks/{persistent-pty-kkxrf4q9.js → reference-g9b34w1m.js} +15 -15
  164. package/dist/chunks/{persistent-pty-911wn564.js → reference-gbxwt4zb.js} +17 -17
  165. package/dist/chunks/{persistent-pty-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  166. package/dist/chunks/{persistent-pty-0zs6fyez.js → reference-gdgd201h.js} +8 -8
  167. package/dist/chunks/{persistent-pty-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{persistent-pty-cpj0znwe.js → reference-h6r3nrb9.js} +4 -4
  169. package/dist/chunks/{persistent-pty-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{persistent-pty-qghn429y.js → reference-hbzkwv96.js} +22 -22
  171. package/dist/chunks/{persistent-pty-nxhqveyz.js → reference-hkfg6fzm.js} +5 -5
  172. package/dist/chunks/{persistent-pty-c53acc8g.js → reference-hzmk18ty.js} +24 -24
  173. package/dist/chunks/{persistent-pty-g8jasmdt.js → reference-j12s1dt6.js} +8 -8
  174. package/dist/chunks/{persistent-pty-mtrbqqrq.js → reference-j34dxvpb.js} +5 -5
  175. package/dist/chunks/{persistent-pty-j56e64zr.js → reference-j56e64zr.js} +1 -1
  176. package/dist/chunks/{persistent-pty-cmp9tspr.js → reference-j8y55bdm.js} +30 -30
  177. package/dist/chunks/{persistent-pty-wt44zdry.js → reference-jr3qt0m1.js} +3 -3
  178. package/dist/chunks/{persistent-pty-cavr175a.js → reference-jw80jp6b.js} +4 -4
  179. package/dist/chunks/{persistent-pty-g2by5rc0.js → reference-k10yg983.js} +11 -11
  180. package/dist/chunks/{persistent-pty-nzks3jc8.js → reference-k3c624dm.js} +3 -3
  181. package/dist/chunks/{persistent-pty-tyvhjzdr.js → reference-k607ew7q.js} +26 -26
  182. package/dist/chunks/{persistent-pty-ages87gt.js → reference-k7v87v4h.js} +15 -15
  183. package/dist/chunks/{persistent-pty-2gkx64as.js → reference-kyev7ve5.js} +3 -3
  184. package/dist/chunks/{persistent-pty-6bd6ytb7.js → reference-kysnx2fh.js} +16 -16
  185. package/dist/chunks/{persistent-pty-a8b42nbe.js → reference-m2h158as.js} +9 -9
  186. package/dist/chunks/{persistent-pty-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{persistent-pty-q5wdx1yq.js → reference-m3k0s26c.js} +6 -6
  188. package/dist/chunks/{persistent-pty-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{persistent-pty-99edkwrt.js → reference-mj8gsvpt.js} +43 -43
  190. package/dist/chunks/{persistent-pty-r16x646x.js → reference-mzrbxmyd.js} +11 -11
  191. package/dist/chunks/{persistent-pty-yrtwb1pz.js → reference-n0w1s0p8.js} +11 -11
  192. package/dist/chunks/{persistent-pty-mvksx64m.js → reference-n1ka8r9d.js} +4 -4
  193. package/dist/chunks/{persistent-pty-kdtg0hmj.js → reference-n3kpww26.js} +32 -32
  194. package/dist/chunks/{persistent-pty-6b342141.js → reference-n4jtts10.js} +26 -26
  195. package/dist/chunks/{persistent-pty-3ttpyjev.js → reference-nf7k385e.js} +5 -5
  196. package/dist/chunks/{persistent-pty-8m2wsxaa.js → reference-nf7y2nv3.js} +5 -5
  197. package/dist/chunks/{persistent-pty-qg0jgkcp.js → reference-nq7qbqzc.js} +9 -9
  198. package/dist/chunks/{persistent-pty-0km2ps5n.js → reference-nrbetfhp.js} +11 -11
  199. package/dist/chunks/{persistent-pty-1y5g7d32.js → reference-ntwwz3xg.js} +5 -5
  200. package/dist/chunks/{persistent-pty-wfs1cdtc.js → reference-nw1wp5ck.js} +4 -4
  201. package/dist/chunks/{persistent-pty-41tjw832.js → reference-nwdmwc9e.js} +41 -41
  202. package/dist/chunks/{persistent-pty-1sjkd43q.js → reference-p7d3n4tx.js} +33 -33
  203. package/dist/chunks/{persistent-pty-rzef2apf.js → reference-pgdff0n2.js} +18 -18
  204. package/dist/chunks/{persistent-pty-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{persistent-pty-vv5pystr.js → reference-pk2nqkv1.js} +25 -25
  206. package/dist/chunks/{persistent-pty-pknna89w.js → reference-pknna89w.js} +1 -1
  207. package/dist/chunks/{persistent-pty-fxv4vbj0.js → reference-psgxw3jt.js} +5 -5
  208. package/dist/chunks/{persistent-pty-w92k2e0p.js → reference-py3kkmfq.js} +8 -8
  209. package/dist/chunks/{persistent-pty-qpa1z2xq.js → reference-q2s2k355.js} +39 -39
  210. package/dist/chunks/{persistent-pty-4bm5ja14.js → reference-qbqbaz6q.js} +4 -4
  211. package/dist/chunks/{persistent-pty-vwpcpzep.js → reference-qe26s0zb.js} +8 -8
  212. package/dist/chunks/{persistent-pty-yfydxkxn.js → reference-qh436n0b.js} +27 -27
  213. package/dist/chunks/{persistent-pty-hxtnvy26.js → reference-qj1xz12p.js} +4 -4
  214. package/dist/chunks/{persistent-pty-2xsn1zg1.js → reference-qmc2sv0z.js} +8 -8
  215. package/dist/chunks/{persistent-pty-h584h0q7.js → reference-qqd9nqt4.js} +24 -24
  216. package/dist/chunks/{persistent-pty-qsdy395h.js → reference-qsdy395h.js} +1 -1
  217. package/dist/chunks/{persistent-pty-c5e87xej.js → reference-qw0a87jh.js} +20 -20
  218. package/dist/chunks/{persistent-pty-e48e4j0a.js → reference-qyrqhvab.js} +24 -24
  219. package/dist/chunks/{persistent-pty-10cps0de.js → reference-qz8v4has.js} +57 -57
  220. package/dist/chunks/{persistent-pty-dbnx9smq.js → reference-r2pcxk2q.js} +14 -14
  221. package/dist/chunks/{persistent-pty-zp72hf0n.js → reference-r4xhx5yy.js} +12 -12
  222. package/dist/chunks/{persistent-pty-yyasfjgt.js → reference-r59w9cr0.js} +15 -15
  223. package/dist/chunks/{persistent-pty-a1gpj94z.js → reference-r5x6zcsm.js} +3 -3
  224. package/dist/chunks/{persistent-pty-ag580yac.js → reference-rdecwvm0.js} +4 -4
  225. package/dist/chunks/{persistent-pty-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{persistent-pty-5tmg9z32.js → reference-re8n8mvq.js} +61 -61
  227. package/dist/chunks/{persistent-pty-001y1jgc.js → reference-rhs1s70h.js} +32 -32
  228. package/dist/chunks/{persistent-pty-bex1ttf8.js → reference-rzxqnzwt.js} +18 -18
  229. package/dist/chunks/{persistent-pty-eb65cref.js → reference-s179y50x.js} +3 -3
  230. package/dist/chunks/{persistent-pty-58nbvhsb.js → reference-s2wnrmgh.js} +35 -35
  231. package/dist/chunks/{persistent-pty-16t7m2p8.js → reference-sb9w1qj8.js} +6 -6
  232. package/dist/chunks/{persistent-pty-rjgm2g5y.js → reference-sm5gt5gy.js} +11 -11
  233. package/dist/chunks/{persistent-pty-ap94g0em.js → reference-t54k9pq0.js} +1 -1
  234. package/dist/chunks/{persistent-pty-rhjbct0v.js → reference-t550f9t1.js} +4 -4
  235. package/dist/chunks/{persistent-pty-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{persistent-pty-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{persistent-pty-1pkc5cmh.js → reference-td88ers4.js} +23 -23
  238. package/dist/chunks/{persistent-pty-tdstcens.js → reference-tdstcens.js} +1 -1
  239. package/dist/chunks/{persistent-pty-vz6t9qnh.js → reference-tgxh7826.js} +6 -6
  240. package/dist/chunks/{persistent-pty-q66wawzv.js → reference-tq9cs6qv.js} +24 -24
  241. package/dist/chunks/{persistent-pty-43amtwcs.js → reference-tv601men.js} +16 -16
  242. package/dist/chunks/{persistent-pty-tvtrv512.js → reference-tvtrv512.js} +1 -1
  243. package/dist/chunks/{persistent-pty-efm0s0bd.js → reference-tweg7shc.js} +13 -13
  244. package/dist/chunks/{persistent-pty-9b0hn6p1.js → reference-v7m9x23a.js} +32 -32
  245. package/dist/chunks/{persistent-pty-yk0enmjw.js → reference-va3k01c5.js} +17 -17
  246. package/dist/chunks/{persistent-pty-6jdw569z.js → reference-vdanqmfn.js} +9 -9
  247. package/dist/chunks/{persistent-pty-kqeepe86.js → reference-vdcvmm1j.js} +9 -9
  248. package/dist/chunks/{persistent-pty-veqvce7d.js → reference-veqvce7d.js} +1 -1
  249. package/dist/chunks/{persistent-pty-f19h6g1r.js → reference-vtj7y5ay.js} +32 -32
  250. package/dist/chunks/{persistent-pty-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{persistent-pty-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{persistent-pty-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{persistent-pty-h8d1bq6v.js → reference-w45dy96y.js} +20 -20
  254. package/dist/chunks/{persistent-pty-wd3x2cqz.js → reference-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{persistent-pty-wd87259q.js → reference-wd87259q.js} +1 -1
  256. package/dist/chunks/{persistent-pty-5kjs1xx3.js → reference-wq5mx1s6.js} +15 -15
  257. package/dist/chunks/{persistent-pty-cgp2fa9y.js → reference-wryz29p9.js} +20 -20
  258. package/dist/chunks/{persistent-pty-xqcdm74r.js → reference-wsjfscnr.js} +18 -18
  259. package/dist/chunks/{persistent-pty-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{persistent-pty-j8m1p4p1.js → reference-x3gqap9d.js} +4 -4
  261. package/dist/chunks/{persistent-pty-973ajm3c.js → reference-x6vfkpfk.js} +26 -26
  262. package/dist/chunks/{persistent-pty-dekmczra.js → reference-xatqgmg5.js} +86 -86
  263. package/dist/chunks/{persistent-pty-57b9ws8p.js → reference-xfkkasph.js} +7 -7
  264. package/dist/chunks/{persistent-pty-xkntkrq7.js → reference-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{persistent-pty-dq2map5x.js → reference-xnbmy0b6.js} +25 -25
  266. package/dist/chunks/{persistent-pty-p4zsmmgp.js → reference-xx4gy9g2.js} +23 -23
  267. package/dist/chunks/{persistent-pty-h641zn2v.js → reference-y0zsxj1p.js} +44 -44
  268. package/dist/chunks/{persistent-pty-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{persistent-pty-p912m9y8.js → reference-y68kb7s2.js} +26 -26
  270. package/dist/chunks/{persistent-pty-ndmv45hp.js → reference-y6f0p4jw.js} +3 -3
  271. package/dist/chunks/{persistent-pty-awbdf8k5.js → reference-ynnjenk0.js} +10 -10
  272. package/dist/chunks/{persistent-pty-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{persistent-pty-6993v4hz.js → reference-ypxg5ew0.js} +5 -5
  274. package/dist/chunks/{persistent-pty-6n4b0dsb.js → reference-yqhaceyq.js} +9 -9
  275. package/dist/chunks/{persistent-pty-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{persistent-pty-yrznvahk.js → reference-yrznvahk.js} +2 -2
  277. package/dist/chunks/{persistent-pty-5hn18gj9.js → reference-ytys1bh6.js} +19 -19
  278. package/dist/chunks/{persistent-pty-z07pqspn.js → reference-z07pqspn.js} +3 -3
  279. package/dist/chunks/{persistent-pty-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{persistent-pty-n0aymgn1.js → reference-z3as9k27.js} +23 -23
  281. package/dist/chunks/{persistent-pty-z63w68vq.js → reference-z63w68vq.js} +2 -2
  282. package/dist/chunks/{persistent-pty-v1xx0enh.js → reference-z7gkyp1n.js} +11 -11
  283. package/dist/chunks/{persistent-pty-w5xkzqwn.js → reference-zeente5n.js} +17 -17
  284. package/dist/chunks/{persistent-pty-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{persistent-pty-ydgy0jv4.js → reference-zfq801h6.js} +6 -6
  286. package/dist/chunks/{persistent-pty-a9wcce88.js → reference-zhmyjth5.js} +14 -14
  287. package/dist/chunks/{persistent-pty-j622fpqk.js → reference-zkgb0eff.js} +19 -19
  288. package/dist/chunks/{persistent-pty-akhrmp6k.js → reference-zqd4qn9t.js} +3 -3
  289. package/dist/chunks/{persistent-pty-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{persistent-pty-2fcahxgq.js → reference-zt9e00je.js} +7 -7
  291. package/dist/chunks/{persistent-pty-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +79 -79
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +372 -372
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +92 -92
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.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 +227 -227
  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 +15 -15
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +101 -101
  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 +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  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-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +1 -1
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +100 -100
  478. package/dist/mcp/instructions.js +126 -126
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +115 -115
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +220 -220
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +334 -334
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +5 -5
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +72 -72
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +351 -351
  549. package/dist/plugin/tool-input-repair.js +2 -2
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +3 -3
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +6 -6
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +227 -227
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +88 -88
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +98 -98
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -97
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +134 -134
  581. package/dist/session/context.js +152 -152
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +221 -221
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +151 -151
  589. package/dist/session/history.js +13 -13
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +77 -77
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +1 -1
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +229 -229
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +208 -208
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +150 -150
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +217 -217
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +9 -9
  632. package/dist/shell.js +138 -138
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +125 -125
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +120 -120
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +116 -116
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +87 -87
  689. package/dist/websearch.js +80 -80
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/persistent-pty-619r8v3y.js +0 -18
  702. package/dist/chunks/persistent-pty-cdss73z7.js +0 -252
  703. package/dist/chunks/persistent-pty-fk7v7fft.js +0 -511
  704. package/dist/chunks/persistent-pty-vw66btjd.js +0 -26
  705. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-24dcb14g.js → reference-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-2710q6r3.js → reference-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-359p4xyc.js → reference-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-3asan66x.js → reference-3asan66x.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-53557ph1.js → reference-53557ph1.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-550bvhaj.js → reference-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-6prwharc.js → reference-6prwharc.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-7m9af43g.js → reference-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-822emrt2.js → reference-822emrt2.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-8n3pysct.js → reference-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-922hggd3.js → reference-922hggd3.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-af5trqkr.js → reference-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-afrmfg78.js → reference-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-d9fn303g.js → reference-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-dajrwvna.js → reference-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-dap0rakb.js → reference-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-df08tz66.js → reference-df08tz66.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-dy18nga0.js → reference-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-ec1grn59.js → reference-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-faypxj3z.js → reference-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-fd410y7t.js → reference-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-g86h250q.js → reference-g86h250q.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-gftt206x.js → reference-gftt206x.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-hk9envan.js → reference-hk9envan.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-mp448xyj.js → reference-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-njntx4h6.js → reference-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-q74kybfr.js → reference-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-qapv375x.js → reference-qapv375x.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-w803qqfp.js → reference-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-wtztk69x.js → reference-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-x61499pn.js → reference-x61499pn.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-y44na4kk.js → reference-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-y8f7s663.js → reference-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{persistent-pty-ym463w8f.js → reference-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{persistent-pty-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./persistent-pty-wfs1cdtc.js";
4
+ } from "./reference-nw1wp5ck.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./persistent-pty-54whtqgx.js";
6
+ Service78,
7
+ node82
8
+ } from "./reference-bxbcym62.js";
9
9
  import {
10
10
  ID3
11
- } from "./persistent-pty-qapv375x.js";
11
+ } from "./reference-qapv375x.js";
12
12
  import {
13
- Service67,
13
+ Service69,
14
14
  login2,
15
- node70
16
- } from "./persistent-pty-y87t9fp6.js";
15
+ node71
16
+ } from "./reference-3bkkhtex.js";
17
17
  import {
18
18
  lazy2
19
- } from "./persistent-pty-88xbtdfr.js";
19
+ } from "./reference-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./persistent-pty-9rqn6x4v.js";
22
+ } from "./reference-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput2,
28
- Event: () => Event3,
27
+ CreateInput: () => CreateInput3,
28
+ Event: () => Event5,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info4,
31
- NotFoundError: () => NotFoundError2,
30
+ Info: () => Info5,
31
+ NotFoundError: () => NotFoundError4,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service17,
33
+ Service: () => Service27,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node20
35
+ node: () => node30
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event3 } from "@opencode/schema/pty";
40
+ import { Event as Event5 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info4 = Pty.Info;
45
- var CreateInput2 = Pty.CreateInput;
44
+ var Info5 = Pty.Info;
45
+ var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
49
49
  ptyID: ID3
50
50
  }) {
51
51
  }
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service17 extends Context.Service()("@opencode/Pty") {
58
+ class Service27 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service17, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
61
61
  const bus = yield* Service83;
62
- const location = yield* Service80;
63
- const shell = yield* Service67;
62
+ const location = yield* Service78;
63
+ const shell = yield* Service69;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError2({ ptyID: id });
100
+ return yield* new NotFoundError4({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service17.of({ list, get, create, update, remove, write, attach });
271
+ return Service27.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node20 = makeLocationNode({
274
- service: Service17,
273
+ var node30 = makeLocationNode({
274
+ service: Service27,
275
275
  layer,
276
- deps: [node87, node84, node70]
276
+ deps: [node87, node82, node71]
277
277
  });
278
278
 
279
- export { Info4, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node20, exports_pty, Event3 };
279
+ export { Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service27, node30, exports_pty, Event5 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./reference-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./persistent-pty-wd3x2cqz.js";
6
+ } from "./reference-wd3x2cqz.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry3,
10
+ Entry: () => Entry4,
11
11
  Info: () => Info16,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry3 = Schema.Union([
19
+ var Entry4 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
82
+ var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./persistent-pty-922hggd3.js";
4
+ } from "./reference-922hggd3.js";
5
5
  import {
6
- Info13
7
- } from "./persistent-pty-cavr175a.js";
6
+ Info17
7
+ } from "./reference-jw80jp6b.js";
8
8
  import {
9
- Info12
10
- } from "./persistent-pty-g8jasmdt.js";
9
+ Info14
10
+ } from "./reference-j12s1dt6.js";
11
11
  import {
12
- Info18
13
- } from "./persistent-pty-2f0bjgcj.js";
12
+ Info13
13
+ } from "./reference-evbgk2k8.js";
14
14
  import {
15
- Info14
16
- } from "./persistent-pty-qa3qhgw8.js";
15
+ Info9
16
+ } from "./reference-fqb2p7cx.js";
17
17
  import {
18
- Info19
19
- } from "./persistent-pty-qq8x5mwt.js";
18
+ Info11
19
+ } from "./reference-bscb95cy.js";
20
20
  import {
21
21
  Layout2
22
- } from "./persistent-pty-21r38tys.js";
22
+ } from "./reference-21r38tys.js";
23
23
  import {
24
24
  Info16
25
- } from "./persistent-pty-6anwy9fs.js";
25
+ } from "./reference-cpy6gm2a.js";
26
26
  import {
27
- Info15
28
- } from "./persistent-pty-nxhqveyz.js";
27
+ Info12
28
+ } from "./reference-hkfg6fzm.js";
29
29
  import {
30
30
  Spec2
31
- } from "./persistent-pty-2k8khapm.js";
31
+ } from "./reference-7dqw4kz8.js";
32
32
  import {
33
- Info11
34
- } from "./persistent-pty-yjptyezs.js";
33
+ Info10
34
+ } from "./reference-bgxcxs0p.js";
35
35
  import {
36
36
  Server2
37
- } from "./persistent-pty-zeh9ct20.js";
37
+ } from "./reference-zeh9ct20.js";
38
38
  import {
39
- Info17
40
- } from "./persistent-pty-dfe8djrf.js";
39
+ Info15
40
+ } from "./reference-0v53mg2y.js";
41
41
  import {
42
42
  __export
43
- } from "./persistent-pty-9rqn6x4v.js";
43
+ } from "./reference-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info10,
49
+ Info: () => Info8,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info10 = Schema.Struct({
62
+ var Info8 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info10 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info9)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info17).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info15).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,21 +113,21 @@ var Info10 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info12), plan: Schema.optional(Info12) }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info14), plan: Schema.optional(Info14) }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info12),
119
- build: Schema.optional(Info12),
120
- general: Schema.optional(Info12),
121
- explore: Schema.optional(Info12),
122
- title: Schema.optional(Info12),
123
- summary: Schema.optional(Info12),
124
- compaction: Schema.optional(Info12)
125
- }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
118
+ plan: Schema.optional(Info14),
119
+ build: Schema.optional(Info14),
120
+ general: Schema.optional(Info14),
121
+ explore: Schema.optional(Info14),
122
+ title: Schema.optional(Info14),
123
+ summary: Schema.optional(Info14),
124
+ compaction: Schema.optional(Info14)
125
+ }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info10)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info15, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info19).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info12, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info11).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
133
  lsp: Schema.optional(Info16).annotate({
@@ -137,9 +137,9 @@ var Info10 = Schema.Struct({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info13),
140
+ permission: Schema.optional(Info17),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info18).annotate({
142
+ attachment: Schema.optional(Info13).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info10 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info10, exports_config2 };
194
+ export { WellKnown2, Info8, exports_config2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service59,
3
- node62
4
- } from "./persistent-pty-8pggv5rn.js";
2
+ Service51,
3
+ node54
4
+ } from "./reference-3v7e0nj5.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./persistent-pty-54whtqgx.js";
6
+ Service78,
7
+ node82
8
+ } from "./reference-bxbcym62.js";
9
9
  import {
10
- Service58,
11
- node61
12
- } from "./persistent-pty-41tjw832.js";
10
+ Service50,
11
+ node53
12
+ } from "./reference-nwdmwc9e.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./persistent-pty-zxq2ej10.js";
16
+ } from "./reference-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./reference-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: () => Service4,
26
26
  empty: () => empty2,
27
27
  layer: () => layer5,
28
- node: () => node5
28
+ node: () => node6
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ 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 Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service3, Effect.gen(function* () {
39
- const config = yield* Service58;
40
- const watcher = yield* Service59;
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
+ const config = yield* Service50;
40
+ const watcher = yield* Service51;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service80;
42
+ const location = yield* Service78;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -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 Service4.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,
73
+ var node6 = makeLocationNode({
74
+ service: Service4,
75
75
  layer: layer5,
76
- deps: [node61, FSUtil.node, node62, node84]
76
+ deps: [node53, FSUtil.node, node54, node82]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service3,
80
- layer: Layer.succeed(Service3, Service3.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.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 { Service4, layer5, node6, empty2, exports_source };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-r16x646x.js";
3
+ } from "./reference-mzrbxmyd.js";
4
4
  import {
5
5
  OAuth3,
6
- Service75
7
- } from "./persistent-pty-mjeayme1.js";
6
+ Service81
7
+ } from "./reference-ffwxfrj0.js";
8
8
  import {
9
- ID8,
9
+ ID14,
10
10
  MethodID2
11
- } from "./persistent-pty-dq2map5x.js";
11
+ } from "./reference-xnbmy0b6.js";
12
12
  import {
13
- ID7,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./persistent-pty-001y1jgc.js";
15
+ } from "./reference-rhs1s70h.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID7.make("xai");
27
+ var providerID = ID13.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID8.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service75;
73
- yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
72
+ const credentials = yield* Service81;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./persistent-pty-001y1jgc.js";
3
+ } from "./reference-rhs1s70h.js";
4
4
  import {
5
- Service61
6
- } from "./persistent-pty-3hz5d8pf.js";
5
+ Service74
6
+ } from "./reference-4j3q3gy0.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/verbosity.ts
12
12
  var exports_verbosity = {};
13
13
  __export(exports_verbosity, {
14
- Plugin: () => Plugin40,
14
+ Plugin: () => Plugin46,
15
15
  VerbosityPlugin: () => exports_verbosity
16
16
  });
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,10 +23,10 @@ var direct = new Set([
23
23
  "@opencode/ai/providers/azure/responses"
24
24
  ]);
25
25
  var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
26
- var Plugin40 = define({
26
+ var Plugin46 = define({
27
27
  id: "opencode.prompt.verbosity",
28
28
  effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
29
- const models = yield* Service61;
29
+ const models = yield* Service74;
30
30
  const hook = (event) => Effect.gen(function* () {
31
31
  if (event.options.textVerbosity !== undefined)
32
32
  return;
@@ -66,4 +66,4 @@ function openAIModelID(model) {
66
66
  return id.slice("openai/".length);
67
67
  }
68
68
 
69
- export { Plugin40, exports_verbosity };
69
+ export { Plugin46, exports_verbosity };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./persistent-pty-aqxrhhqj.js";
4
+ } from "./reference-91xrs62w.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./persistent-pty-ckecvw8r.js";
7
+ } from "./reference-ckecvw8r.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID12,
17
- Info: () => Info27,
16
+ ID: () => ID8,
17
+ Info: () => Info21,
18
18
  ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service72,
21
- node: () => node75
20
+ Service: () => Service66,
21
+ node: () => node68
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID12 = PermissionSaved.ID;
29
- var Info27 = PermissionSaved.Info;
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info21 = PermissionSaved.Info;
30
30
  var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service72 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service66 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service72, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID12.create(),
60
+ id: ID8.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service72.of({ list, add, remove });
69
+ return Service66.of({ list, add, remove });
70
70
  }));
71
- var node75 = makeGlobalNode({ service: Service72, layer, deps: [node88] });
71
+ var node68 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
72
72
 
73
- export { ID12, Info27, ListInput5, AddInput2, Service72, node75, exports_saved };
73
+ export { ID8, Info21, ListInput5, AddInput2, Service66, node68, exports_saved };