@opencode/core 0.0.0-dev-20644 → 0.0.0-dev-20648

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 (777) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{reference-cyya37fe.js → pty-0099bvhy.js} +9 -9
  8. package/dist/chunks/{reference-8mwpm1an.js → pty-09pca8az.js} +20 -20
  9. package/dist/chunks/{reference-76kk80dz.js → pty-0akqd5d4.js} +24 -24
  10. package/dist/chunks/{reference-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{reference-s3pmgr9t.js → pty-0retw3c6.js} +39 -39
  12. package/dist/chunks/{reference-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{reference-r0yjwmba.js → pty-0y9mdftf.js} +6 -6
  14. package/dist/chunks/{reference-y07dqpd7.js → pty-0zrv4f4y.js} +13 -13
  15. package/dist/chunks/{reference-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{reference-mp7381ha.js → pty-1nxxv4qb.js} +11 -11
  17. package/dist/chunks/{reference-dvc89yjx.js → pty-1p7f10vm.js} +8 -8
  18. package/dist/chunks/{reference-88ywh4qk.js → pty-1qq73t15.js} +7 -7
  19. package/dist/chunks/{reference-1ygqh575.js → pty-1ygqh575.js} +2 -2
  20. package/dist/chunks/{reference-t2ykdevs.js → pty-23897brc.js} +5 -5
  21. package/dist/chunks/{reference-tah2dmcr.js → pty-27qxacty.js} +15 -15
  22. package/dist/chunks/{reference-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{reference-q3m1smny.js → pty-2hpka7mt.js} +14 -14
  24. package/dist/chunks/{reference-86qzxe6p.js → pty-2k71kv7p.js} +4 -4
  25. package/dist/chunks/{reference-qgn6gcr1.js → pty-2k8khapm.js} +5 -5
  26. package/dist/chunks/{reference-qmqgtz8f.js → pty-2sejkfem.js} +9 -9
  27. package/dist/chunks/{reference-c5pjp08j.js → pty-2vqnfsz1.js} +12 -12
  28. package/dist/chunks/{reference-52jg0a30.js → pty-32t0bw84.js} +12 -12
  29. package/dist/chunks/{reference-3cegwx68.js → pty-3cegwx68.js} +2 -2
  30. package/dist/chunks/{reference-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{reference-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{reference-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{reference-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{reference-k6tv6mb5.js → pty-3z4a0cq1.js} +4 -4
  35. package/dist/chunks/{reference-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{reference-nx7bjzyg.js → pty-42q8eg0m.js} +2 -2
  37. package/dist/chunks/{reference-vptjzd05.js → pty-48km10qy.js} +11 -11
  38. package/dist/chunks/{reference-jnvd0kyr.js → pty-4c91ejxn.js} +9 -9
  39. package/dist/chunks/{reference-qbe3snec.js → pty-4kbb9d62.js} +9 -9
  40. package/dist/chunks/{reference-bpmpjnmg.js → pty-4kc2bv9g.js} +35 -35
  41. package/dist/chunks/{reference-4ts7tf6z.js → pty-4ts7tf6z.js} +2 -2
  42. package/dist/chunks/{reference-xf0nr9dv.js → pty-4wwqnvbr.js} +4 -4
  43. package/dist/chunks/{reference-dkg05a5w.js → pty-53ybeb94.js} +25 -25
  44. package/dist/chunks/{reference-54ma36ye.js → pty-54ma36ye.js} +1 -1
  45. package/dist/chunks/{reference-1et4t6yv.js → pty-55t9wqe0.js} +22 -22
  46. package/dist/chunks/{reference-5daktx2q.js → pty-5daktx2q.js} +1 -1
  47. package/dist/chunks/{reference-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{reference-8t7rhgz3.js → pty-5rpr6ftq.js} +9 -9
  49. package/dist/chunks/{reference-gwzp9a94.js → pty-5rz2hsq0.js} +7 -7
  50. package/dist/chunks/{reference-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  51. package/dist/chunks/{reference-h5brs6ad.js → pty-624z605s.js} +18 -18
  52. package/dist/chunks/{reference-m39cm8ca.js → pty-67edg2p2.js} +11 -11
  53. package/dist/chunks/{reference-0aacj8rv.js → pty-6fgykvfe.js} +3 -3
  54. package/dist/chunks/{reference-mszqqr5a.js → pty-6pdpv8kk.js} +8 -8
  55. package/dist/chunks/{reference-t11fnep0.js → pty-6rhsmm9b.js} +4 -4
  56. package/dist/chunks/{reference-wbtfkyzq.js → pty-6tsxpv82.js} +19 -19
  57. package/dist/chunks/{reference-6v23mrsw.js → pty-6v23mrsw.js} +3 -3
  58. package/dist/chunks/{reference-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{reference-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  60. package/dist/chunks/pty-7fj5dwt0.js +18 -0
  61. package/dist/chunks/{reference-yt62qj12.js → pty-7pgwfb4h.js} +30 -30
  62. package/dist/chunks/{reference-defjrdcv.js → pty-7ppg2tjj.js} +73 -73
  63. package/dist/chunks/{reference-1sb9m88v.js → pty-7r9y934d.js} +140 -140
  64. package/dist/chunks/{reference-84h8c373.js → pty-84h8c373.js} +2 -2
  65. package/dist/chunks/{reference-td55a9w2.js → pty-84pbkp20.js} +12 -12
  66. package/dist/chunks/{reference-84txncab.js → pty-84txncab.js} +1 -1
  67. package/dist/chunks/{reference-vyfd576n.js → pty-874yzzjt.js} +24 -24
  68. package/dist/chunks/{reference-h4ckqw4f.js → pty-89rvcjqs.js} +8 -8
  69. package/dist/chunks/{reference-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  70. package/dist/chunks/{reference-kvffqfe9.js → pty-8j0pg7vy.js} +22 -22
  71. package/dist/chunks/{reference-7223d1z5.js → pty-8jypv1cv.js} +10 -10
  72. package/dist/chunks/{reference-b7mddd13.js → pty-8k3tzzhw.js} +45 -45
  73. package/dist/chunks/{reference-t2fc4mz5.js → pty-8rqycdgd.js} +7 -7
  74. package/dist/chunks/{reference-a3c7ahw6.js → pty-8wbxkt1z.js} +4 -4
  75. package/dist/chunks/{reference-amzhydp5.js → pty-8yen0vmk.js} +15 -15
  76. package/dist/chunks/{reference-87jy24nc.js → pty-923rcr6j.js} +15 -15
  77. package/dist/chunks/{reference-tdw7b37v.js → pty-92n0272q.js} +13 -13
  78. package/dist/chunks/{reference-r8kdp16q.js → pty-97c348b2.js} +30 -30
  79. package/dist/chunks/{reference-f43c2727.js → pty-9cfex9y1.js} +20 -20
  80. package/dist/chunks/{reference-2wgr0bg0.js → pty-9d8x5jdk.js} +29 -29
  81. package/dist/chunks/{reference-cq9vh2fv.js → pty-9ex8f1cq.js} +8 -8
  82. package/dist/chunks/{reference-vpt24r21.js → pty-9r9wb4j2.js} +11 -11
  83. package/dist/chunks/{reference-m6rwzraj.js → pty-9rh5dvbx.js} +3 -3
  84. package/dist/chunks/{reference-rrk1042z.js → pty-9se51ysk.js} +32 -32
  85. package/dist/chunks/{reference-jc4g2yrv.js → pty-9tyz0y11.js} +9 -9
  86. package/dist/chunks/{reference-73tb2d7t.js → pty-a1gpj94z.js} +3 -3
  87. package/dist/chunks/{reference-8tqdxazn.js → pty-a2hf6yb4.js} +8 -8
  88. package/dist/chunks/{reference-2p2thyt8.js → pty-a2zg833y.js} +11 -11
  89. package/dist/chunks/{reference-by0ebg82.js → pty-a6syyywt.js} +22 -22
  90. package/dist/chunks/{reference-aaet6srn.js → pty-aaet6srn.js} +2 -2
  91. package/dist/chunks/{reference-b251r90g.js → pty-ab4j4ym1.js} +298 -298
  92. package/dist/chunks/{reference-hndc3k9c.js → pty-acg7byny.js} +9 -9
  93. package/dist/chunks/{reference-83t40xbf.js → pty-ad0bmy2v.js} +20 -20
  94. package/dist/chunks/{reference-wfb8b895.js → pty-ad0mmn42.js} +9 -9
  95. package/dist/chunks/{reference-dcb7qyjw.js → pty-anfgajne.js} +14 -14
  96. package/dist/chunks/{reference-cvnd2j5s.js → pty-ap8tz65t.js} +3 -3
  97. package/dist/chunks/{reference-1a1xd1b3.js → pty-ay5x7dxy.js} +36 -36
  98. package/dist/chunks/{reference-5c42fwyc.js → pty-b3jqpnzw.js} +11 -11
  99. package/dist/chunks/{reference-hbxrrpsy.js → pty-b56sn4ad.js} +13 -13
  100. package/dist/chunks/{reference-rk1r2hx8.js → pty-b69jv39p.js} +1 -1
  101. package/dist/chunks/{reference-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{reference-4dz5bemh.js → pty-bd8ayshm.js} +4 -4
  103. package/dist/chunks/{reference-7zpbt3aj.js → pty-bmcex1jf.js} +9 -9
  104. package/dist/chunks/{reference-gjnvnc4y.js → pty-bncrevqt.js} +25 -25
  105. package/dist/chunks/{reference-gvt3vmzy.js → pty-bp8hqz04.js} +5 -5
  106. package/dist/chunks/{reference-8bdbvaz4.js → pty-bt3wk4ae.js} +4 -4
  107. package/dist/chunks/{reference-r0xwa5b9.js → pty-bvjche96.js} +14 -14
  108. package/dist/chunks/{reference-sgdqa063.js → pty-bw9phdsx.js} +35 -35
  109. package/dist/chunks/{reference-ftjf86m5.js → pty-bydnjh3t.js} +9 -9
  110. package/dist/chunks/{reference-yaj5ebgj.js → pty-c04nv0t5.js} +48 -48
  111. package/dist/chunks/{reference-qmrj7qv4.js → pty-c19p4hyh.js} +6 -6
  112. package/dist/chunks/{reference-9vqr2gqg.js → pty-c8449nhm.js} +11 -11
  113. package/dist/chunks/{reference-cfsekr6v.js → pty-cfsekr6v.js} +2 -2
  114. package/dist/chunks/{reference-afdssyjb.js → pty-ckf8nxjz.js} +4 -4
  115. package/dist/chunks/{reference-5xtgfte3.js → pty-cmwkp3r5.js} +8 -8
  116. package/dist/chunks/{reference-nk5qe5vz.js → pty-cq5kxxzs.js} +21 -21
  117. package/dist/chunks/{reference-72kjf32t.js → pty-csn018d7.js} +43 -43
  118. package/dist/chunks/{reference-9edtgxtv.js → pty-ctdhhp9a.js} +28 -28
  119. package/dist/chunks/{reference-7rpx7sq4.js → pty-cwtckkf6.js} +19 -19
  120. package/dist/chunks/{reference-0skng5dr.js → pty-d036g1ys.js} +7 -7
  121. package/dist/chunks/{reference-6c09zaff.js → pty-d3mnj8kh.js} +1 -1
  122. package/dist/chunks/{reference-veanqdwt.js → pty-d45sg6xs.js} +15 -15
  123. package/dist/chunks/{reference-hgc4p3n8.js → pty-d7jcpxfr.js} +13 -13
  124. package/dist/chunks/{reference-yww0r5a3.js → pty-d7tem15s.js} +15 -15
  125. package/dist/chunks/{reference-d8h4y8x2.js → pty-d8h4y8x2.js} +2 -2
  126. package/dist/chunks/{reference-ajgzqw9a.js → pty-da3p7k9k.js} +4 -4
  127. package/dist/chunks/{reference-x0agx93m.js → pty-ddy3e1gr.js} +5 -5
  128. package/dist/chunks/{reference-m4c3aw93.js → pty-dhng9vzx.js} +25 -25
  129. package/dist/chunks/{reference-prryrcpd.js → pty-dmpsdkb3.js} +52 -52
  130. package/dist/chunks/{reference-nxm207yx.js → pty-dpkg50ah.js} +4 -4
  131. package/dist/chunks/{reference-wz3q2ckh.js → pty-dppya6f9.js} +20 -20
  132. package/dist/chunks/{reference-jnrqkn6c.js → pty-dshcjhsp.js} +26 -26
  133. package/dist/chunks/{reference-hgvy4kar.js → pty-e04nd2rq.js} +8 -8
  134. package/dist/chunks/{reference-je2kf47w.js → pty-e3cy6mqt.js} +5 -5
  135. package/dist/chunks/{reference-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{reference-fpswryxc.js → pty-efk260vg.js} +13 -13
  137. package/dist/chunks/{reference-g9s62h09.js → pty-ehypbcz6.js} +22 -22
  138. package/dist/chunks/{reference-q538z9pc.js → pty-em95cejf.js} +15 -15
  139. package/dist/chunks/{reference-3801kdgp.js → pty-emwywv8g.js} +5 -5
  140. package/dist/chunks/{reference-tegs1ycp.js → pty-eqkxs06z.js} +6 -6
  141. package/dist/chunks/{reference-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{reference-ty1kjgn1.js → pty-ev7nexnv.js} +36 -36
  143. package/dist/chunks/{reference-f3bkb0dd.js → pty-f33yc4k3.js} +25 -25
  144. package/dist/chunks/{reference-v01fwtwf.js → pty-f34j0f4a.js} +6 -6
  145. package/dist/chunks/{reference-f75zav2x.js → pty-f75zav2x.js} +2 -2
  146. package/dist/chunks/{reference-gtzbc217.js → pty-f83zg7kr.js} +21 -21
  147. package/dist/chunks/{reference-cznc04wa.js → pty-f8m0k53h.js} +9 -9
  148. package/dist/chunks/{reference-7aj7xv8n.js → pty-fggkqnd8.js} +11 -11
  149. package/dist/chunks/{reference-50eqagw9.js → pty-fv8pqfsd.js} +5 -5
  150. package/dist/chunks/{reference-2zztsz65.js → pty-g3msn0ej.js} +8 -8
  151. package/dist/chunks/{reference-g5w8qwbj.js → pty-g5w8qwbj.js} +1 -1
  152. package/dist/chunks/{reference-w39jehkq.js → pty-g6yfr6ja.js} +5 -5
  153. package/dist/chunks/{reference-6t2k45be.js → pty-g9jfc9ac.js} +17 -17
  154. package/dist/chunks/{reference-m2wppme0.js → pty-gap9jj81.js} +19 -19
  155. package/dist/chunks/{reference-xrzsv9ds.js → pty-gb39ghec.js} +9 -9
  156. package/dist/chunks/{reference-yy493xsn.js → pty-gbvzc8kx.js} +20 -20
  157. package/dist/chunks/{reference-g9y2cd3z.js → pty-gcytf9y4.js} +26 -26
  158. package/dist/chunks/{reference-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{reference-bx0gyb4h.js → pty-gj71zhbs.js} +5 -5
  160. package/dist/chunks/{reference-dppwmjh0.js → pty-gq70b9ca.js} +7 -7
  161. package/dist/chunks/{reference-mhb1xyd0.js → pty-gtmxr1a9.js} +25 -25
  162. package/dist/chunks/{reference-he0vrkkp.js → pty-gzqsmt5r.js} +4 -4
  163. package/dist/chunks/{reference-3g9wyfya.js → pty-h462srpz.js} +23 -23
  164. package/dist/chunks/{reference-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{reference-pj60644h.js → pty-h921bxg9.js} +11 -11
  166. package/dist/chunks/{reference-3eescsqs.js → pty-hqq5g41y.js} +43 -43
  167. package/dist/chunks/{reference-qjeyhcp2.js → pty-hsf7jdvw.js} +28 -28
  168. package/dist/chunks/{reference-ss358qx3.js → pty-hzrfc1p4.js} +3 -3
  169. package/dist/chunks/{reference-d3tcrfr2.js → pty-j17byzzq.js} +11 -11
  170. package/dist/chunks/{reference-j56e64zr.js → pty-j56e64zr.js} +1 -1
  171. package/dist/chunks/{reference-gh5z95q3.js → pty-k70p9jzb.js} +9 -9
  172. package/dist/chunks/{reference-rpwhq6pb.js → pty-k9s9h972.js} +3 -3
  173. package/dist/chunks/{reference-kb9j3d72.js → pty-kb9j3d72.js} +3 -3
  174. package/dist/chunks/{reference-9k28mjf9.js → pty-kpxf0xq6.js} +29 -29
  175. package/dist/chunks/{reference-2avx1wba.js → pty-ksx0wd75.js} +11 -11
  176. package/dist/chunks/{reference-a8bn8zg0.js → pty-kvvk39gs.js} +4 -4
  177. package/dist/chunks/{reference-ag4901q7.js → pty-ky8w6whr.js} +6 -6
  178. package/dist/chunks/{reference-v9bgj935.js → pty-kyr1z5gy.js} +24 -24
  179. package/dist/chunks/{reference-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{reference-w4xhwz3h.js → pty-m5canyms.js} +6 -6
  181. package/dist/chunks/{reference-bvc4cg79.js → pty-m995qhkc.js} +5 -5
  182. package/dist/chunks/{reference-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{reference-bpy139ph.js → pty-mb37bn90.js} +7 -7
  184. package/dist/chunks/{reference-6jsvsf2v.js → pty-mjex1bph.js} +38 -38
  185. package/dist/chunks/{reference-rpqbf71x.js → pty-mjv4r1bw.js} +20 -20
  186. package/dist/chunks/{reference-rm3eewz3.js → pty-mk442ktg.js} +6 -6
  187. package/dist/chunks/{reference-vvx487fg.js → pty-mt3n9ssm.js} +5 -5
  188. package/dist/chunks/{reference-cag15tqf.js → pty-mt4678g7.js} +24 -24
  189. package/dist/chunks/{reference-gqtdsdt7.js → pty-mxvxcxwy.js} +4 -4
  190. package/dist/chunks/{reference-pqwyxwmm.js → pty-nanknxd5.js} +11 -11
  191. package/dist/chunks/{reference-gpp0brcr.js → pty-nche7t88.js} +5 -5
  192. package/dist/chunks/{reference-3470gd9h.js → pty-ndphwy30.js} +16 -16
  193. package/dist/chunks/{reference-2eegacq4.js → pty-ngts6ef0.js} +8 -8
  194. package/dist/chunks/{reference-4r3amq6s.js → pty-nj17t0gr.js} +17 -17
  195. package/dist/chunks/{reference-4qzt904k.js → pty-nkxt7aqy.js} +16 -16
  196. package/dist/chunks/{reference-0anetptk.js → pty-nm21rvpv.js} +9 -9
  197. package/dist/chunks/{reference-bzh6v3xd.js → pty-nxkfy0rg.js} +9 -9
  198. package/dist/chunks/{reference-pg4qvhje.js → pty-p1a0bpjp.js} +22 -22
  199. package/dist/chunks/{reference-qc6fgdwa.js → pty-p48syh26.js} +16 -16
  200. package/dist/chunks/{reference-h6d45qjv.js → pty-p6drkcnf.js} +18 -18
  201. package/dist/chunks/{reference-y15vpdnr.js → pty-ph20cxtq.js} +9 -9
  202. package/dist/chunks/{reference-tvy4pmrp.js → pty-phze5rqg.js} +3 -3
  203. package/dist/chunks/{reference-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{reference-jpdp1vnh.js → pty-pk028k88.js} +26 -26
  205. package/dist/chunks/{reference-pknna89w.js → pty-pknna89w.js} +1 -1
  206. package/dist/chunks/{reference-2194chap.js → pty-pr3txkn9.js} +15 -15
  207. package/dist/chunks/{reference-nhsamrrc.js → pty-q0jcpdgf.js} +51 -51
  208. package/dist/chunks/{reference-q0xm7vwc.js → pty-q0xm7vwc.js} +2 -2
  209. package/dist/chunks/{reference-2mq34jqw.js → pty-q581keqr.js} +2 -2
  210. package/dist/chunks/{reference-7sq9ks3h.js → pty-q8zbp1h0.js} +8 -8
  211. package/dist/chunks/{reference-dwajttkg.js → pty-qeh1kqdq.js} +8 -8
  212. package/dist/chunks/{reference-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{reference-pgp5awqq.js → pty-qq6e0a1m.js} +19 -19
  214. package/dist/chunks/{reference-nbgrff9b.js → pty-qr3e0xf1.js} +3 -3
  215. package/dist/chunks/{reference-w62h0ejf.js → pty-qs7m5bs1.js} +7 -7
  216. package/dist/chunks/{reference-qsdy395h.js → pty-qsdy395h.js} +1 -1
  217. package/dist/chunks/{reference-cqdnmg2r.js → pty-qtx5aasq.js} +11 -11
  218. package/dist/chunks/{reference-qxjc9qry.js → pty-qxjc9qry.js} +3 -3
  219. package/dist/chunks/{reference-4qyddrjz.js → pty-r79jpe1g.js} +7 -7
  220. package/dist/chunks/{reference-nkf980df.js → pty-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{reference-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{reference-s8w3rjvj.js → pty-rfyh9d2c.js} +24 -24
  223. package/dist/chunks/{reference-scsdzjr7.js → pty-rrpq0de9.js} +12 -12
  224. package/dist/chunks/{reference-fhyq4rkh.js → pty-rtjv9fpq.js} +32 -32
  225. package/dist/chunks/{reference-6zr4h8f4.js → pty-rvghhgda.js} +18 -18
  226. package/dist/chunks/{reference-qygbw77c.js → pty-scgrse2b.js} +5 -5
  227. package/dist/chunks/{reference-db7cgdsw.js → pty-sf4w6t5k.js} +40 -40
  228. package/dist/chunks/{reference-aabqg1yt.js → pty-sm2pca5m.js} +5 -5
  229. package/dist/chunks/{reference-sqvzcy4n.js → pty-sqvzcy4n.js} +4 -4
  230. package/dist/chunks/{reference-cftre4vt.js → pty-sv5c54x8.js} +32 -32
  231. package/dist/chunks/{reference-pakybbh2.js → pty-t17teb9f.js} +17 -17
  232. package/dist/chunks/{reference-61q39vzt.js → pty-t4y1vgnz.js} +26 -26
  233. package/dist/chunks/{reference-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{reference-rnht7zsd.js → pty-tb7q8jz9.js} +14 -14
  235. package/dist/chunks/{reference-05xfxpq7.js → pty-tc6qcdy5.js} +5 -5
  236. package/dist/chunks/{reference-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{reference-tdstcens.js → pty-tdstcens.js} +1 -1
  238. package/dist/chunks/{reference-fvqj4f3c.js → pty-thkc5986.js} +8 -8
  239. package/dist/chunks/{reference-83xsvayb.js → pty-thrtz6av.js} +3 -3
  240. package/dist/chunks/{reference-zzpvks7y.js → pty-tp4ajszw.js} +32 -32
  241. package/dist/chunks/{reference-rmg5xfkv.js → pty-txjh0ez7.js} +17 -17
  242. package/dist/chunks/{reference-v0es1rhs.js → pty-v0es1rhs.js} +2 -2
  243. package/dist/chunks/{reference-9angfs7f.js → pty-v5zgyzx5.js} +11 -11
  244. package/dist/chunks/{reference-gcrbmep4.js → pty-v8cctvef.js} +7 -7
  245. package/dist/chunks/{reference-veqvce7d.js → pty-veqvce7d.js} +1 -1
  246. package/dist/chunks/{reference-ns7haffg.js → pty-vgd5xkr1.js} +75 -75
  247. package/dist/chunks/{reference-63db42yp.js → pty-vjjaysxc.js} +2 -2
  248. package/dist/chunks/{reference-0ev02b6f.js → pty-vpxjmme6.js} +12 -12
  249. package/dist/chunks/{reference-0nde5ztd.js → pty-vxp3kcg3.js} +5 -5
  250. package/dist/chunks/{reference-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{reference-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{reference-ht8cmbj4.js → pty-w7qxzhtt.js} +13 -13
  253. package/dist/chunks/{reference-84gzjtx2.js → pty-wa3vteb6.js} +29 -29
  254. package/dist/chunks/{reference-b8cf1jne.js → pty-wd3qynhg.js} +1 -1
  255. package/dist/chunks/{reference-wd87259q.js → pty-wd87259q.js} +1 -1
  256. package/dist/chunks/{reference-za77p82n.js → pty-wja9eyn5.js} +6 -6
  257. package/dist/chunks/{reference-y0ty5fha.js → pty-wpybfb3e.js} +3 -3
  258. package/dist/chunks/{reference-wv396vej.js → pty-wv396vej.js} +1 -1
  259. package/dist/chunks/{reference-tqcqmy0z.js → pty-x3mar638.js} +168 -168
  260. package/dist/chunks/{reference-tmcwaswb.js → pty-x8t7tj7c.js} +10 -10
  261. package/dist/chunks/{reference-nfpgxjj6.js → pty-xbe8mphx.js} +12 -12
  262. package/dist/chunks/{reference-b64x0h7w.js → pty-xexk5p4t.js} +57 -57
  263. package/dist/chunks/{reference-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{reference-rkekhv0x.js → pty-xqpfqqd7.js} +20 -20
  265. package/dist/chunks/{reference-xm3t5kx7.js → pty-xvjb85ys.js} +4 -4
  266. package/dist/chunks/{reference-r656bzgr.js → pty-y1202j2k.js} +4 -4
  267. package/dist/chunks/{reference-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{reference-yfs5p2ka.js → pty-y71s8m6t.js} +4 -4
  269. package/dist/chunks/{reference-04j0x0ww.js → pty-y8p3zjbc.js} +6 -6
  270. package/dist/chunks/{reference-1xmbdwss.js → pty-yac0akaj.js} +5 -5
  271. package/dist/chunks/{reference-6jc1b2h3.js → pty-yas84py3.js} +13 -13
  272. package/dist/chunks/{reference-ybdpay6p.js → pty-ykher12f.js} +17 -17
  273. package/dist/chunks/{reference-f29mbr7f.js → pty-yrcj3v3g.js} +4 -4
  274. package/dist/chunks/{reference-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{reference-p9yds72b.js → pty-z1f2d5px.js} +32 -32
  276. package/dist/chunks/{reference-ykw2g6qf.js → pty-z4snssz9.js} +17 -17
  277. package/dist/chunks/{reference-10pc31tr.js → pty-zg438qz9.js} +42 -42
  278. package/dist/chunks/{reference-94xjc4x3.js → pty-zge3vb8x.js} +28 -28
  279. package/dist/chunks/{reference-rb1fbfth.js → pty-zp1h7pbg.js} +11 -11
  280. package/dist/chunks/{reference-4eekcfr3.js → pty-zqfdtaf3.js} +37 -37
  281. package/dist/chunks/{reference-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{reference-tyvap7pe.js → pty-zt18z2tx.js} +32 -32
  283. package/dist/chunks/{reference-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +97 -97
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +98 -98
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +83 -83
  452. package/dist/instructions/index.js +1 -1
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +71 -71
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +103 -103
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +96 -96
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +103 -103
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +113 -113
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +90 -90
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +100 -100
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +86 -86
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +82 -82
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +212 -212
  574. package/dist/session/execution.js +123 -123
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +84 -84
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +114 -114
  585. package/dist/session/model-transport.js +3 -3
  586. package/dist/session/move.js +125 -125
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +210 -210
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +207 -207
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +114 -114
  623. package/dist/snapshot.js +87 -87
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +115 -115
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +123 -123
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +3 -3
  646. package/dist/tool.js +12 -12
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +74 -74
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +75 -75
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +98 -98
  679. package/package.json +8 -8
  680. package/dist/chunks/reference-619r8v3y.js +0 -18
  681. /package/dist/chunks/{reference-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  682. /package/dist/chunks/{reference-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  683. /package/dist/chunks/{reference-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  684. /package/dist/chunks/{reference-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  685. /package/dist/chunks/{reference-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  686. /package/dist/chunks/{reference-24dcb14g.js → pty-24dcb14g.js} +0 -0
  687. /package/dist/chunks/{reference-2710q6r3.js → pty-2710q6r3.js} +0 -0
  688. /package/dist/chunks/{reference-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  689. /package/dist/chunks/{reference-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  690. /package/dist/chunks/{reference-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  691. /package/dist/chunks/{reference-359p4xyc.js → pty-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{reference-3asan66x.js → pty-3asan66x.js} +0 -0
  693. /package/dist/chunks/{reference-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
  694. /package/dist/chunks/{reference-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{reference-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  696. /package/dist/chunks/{reference-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{reference-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{reference-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{reference-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  700. /package/dist/chunks/{reference-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{reference-53557ph1.js → pty-53557ph1.js} +0 -0
  702. /package/dist/chunks/{reference-550bvhaj.js → pty-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{reference-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  704. /package/dist/chunks/{reference-6prwharc.js → pty-6prwharc.js} +0 -0
  705. /package/dist/chunks/{reference-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
  706. /package/dist/chunks/{reference-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{reference-7m9af43g.js → pty-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{reference-822emrt2.js → pty-822emrt2.js} +0 -0
  709. /package/dist/chunks/{reference-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  710. /package/dist/chunks/{reference-8n3pysct.js → pty-8n3pysct.js} +0 -0
  711. /package/dist/chunks/{reference-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  712. /package/dist/chunks/{reference-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  713. /package/dist/chunks/{reference-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  714. /package/dist/chunks/{reference-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  715. /package/dist/chunks/{reference-af5trqkr.js → pty-af5trqkr.js} +0 -0
  716. /package/dist/chunks/{reference-afrmfg78.js → pty-afrmfg78.js} +0 -0
  717. /package/dist/chunks/{reference-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  718. /package/dist/chunks/{reference-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  719. /package/dist/chunks/{reference-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  720. /package/dist/chunks/{reference-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  721. /package/dist/chunks/{reference-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  722. /package/dist/chunks/{reference-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  723. /package/dist/chunks/{reference-d9fn303g.js → pty-d9fn303g.js} +0 -0
  724. /package/dist/chunks/{reference-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  725. /package/dist/chunks/{reference-dajrwvna.js → pty-dajrwvna.js} +0 -0
  726. /package/dist/chunks/{reference-dap0rakb.js → pty-dap0rakb.js} +0 -0
  727. /package/dist/chunks/{reference-df08tz66.js → pty-df08tz66.js} +0 -0
  728. /package/dist/chunks/{reference-dy18nga0.js → pty-dy18nga0.js} +0 -0
  729. /package/dist/chunks/{reference-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  730. /package/dist/chunks/{reference-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  731. /package/dist/chunks/{reference-ec1grn59.js → pty-ec1grn59.js} +0 -0
  732. /package/dist/chunks/{reference-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  733. /package/dist/chunks/{reference-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  734. /package/dist/chunks/{reference-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  735. /package/dist/chunks/{reference-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  736. /package/dist/chunks/{reference-faypxj3z.js → pty-faypxj3z.js} +0 -0
  737. /package/dist/chunks/{reference-fd410y7t.js → pty-fd410y7t.js} +0 -0
  738. /package/dist/chunks/{reference-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  739. /package/dist/chunks/{reference-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  740. /package/dist/chunks/{reference-g86h250q.js → pty-g86h250q.js} +0 -0
  741. /package/dist/chunks/{reference-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  742. /package/dist/chunks/{reference-gftt206x.js → pty-gftt206x.js} +0 -0
  743. /package/dist/chunks/{reference-hk9envan.js → pty-hk9envan.js} +0 -0
  744. /package/dist/chunks/{reference-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  745. /package/dist/chunks/{reference-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  746. /package/dist/chunks/{reference-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  747. /package/dist/chunks/{reference-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  748. /package/dist/chunks/{reference-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  749. /package/dist/chunks/{reference-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  750. /package/dist/chunks/{reference-mp448xyj.js → pty-mp448xyj.js} +0 -0
  751. /package/dist/chunks/{reference-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  752. /package/dist/chunks/{reference-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  753. /package/dist/chunks/{reference-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  754. /package/dist/chunks/{reference-njntx4h6.js → pty-njntx4h6.js} +0 -0
  755. /package/dist/chunks/{reference-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  756. /package/dist/chunks/{reference-q74kybfr.js → pty-q74kybfr.js} +0 -0
  757. /package/dist/chunks/{reference-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  758. /package/dist/chunks/{reference-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  759. /package/dist/chunks/{reference-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  760. /package/dist/chunks/{reference-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  761. /package/dist/chunks/{reference-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  762. /package/dist/chunks/{reference-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  763. /package/dist/chunks/{reference-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  764. /package/dist/chunks/{reference-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  765. /package/dist/chunks/{reference-w803qqfp.js → pty-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{reference-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  767. /package/dist/chunks/{reference-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  768. /package/dist/chunks/{reference-wtztk69x.js → pty-wtztk69x.js} +0 -0
  769. /package/dist/chunks/{reference-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  770. /package/dist/chunks/{reference-x61499pn.js → pty-x61499pn.js} +0 -0
  771. /package/dist/chunks/{reference-y44na4kk.js → pty-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{reference-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{reference-y8f7s663.js → pty-y8f7s663.js} +0 -0
  774. /package/dist/chunks/{reference-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  775. /package/dist/chunks/{reference-ym463w8f.js → pty-ym463w8f.js} +0 -0
  776. /package/dist/chunks/{reference-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  777. /package/dist/chunks/{reference-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID8,
2
+ ID11,
3
3
  mergeOverlay2
4
- } from "./reference-rrk1042z.js";
4
+ } from "./pty-9se51ysk.js";
5
5
  import {
6
- ID7,
6
+ ID10,
7
7
  VariantID2,
8
- Info16,
8
+ Info19,
9
9
  compatibility2
10
- } from "./reference-yt62qj12.js";
10
+ } from "./pty-7pgwfb4h.js";
11
11
  import {
12
12
  __export
13
- } from "./reference-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models2 = {};
@@ -22,7 +22,7 @@ __export(exports_models2, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID8.make("modal");
25
+ var providerID = ID11.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID7.make(item.id);
78
+ const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID10.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info16.make({
98
- ...Info16.default(providerID, id),
97
+ return Info19.make({
98
+ ...Info19.default(providerID, id),
99
99
  id,
100
- modelID: ID7.make(remote.id),
100
+ modelID: ID10.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service46
3
- } from "./reference-f43c2727.js";
2
+ Service49
3
+ } from "./pty-9cfex9y1.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./reference-z5v4ffb3.js";
6
+ } from "./pty-z5v4ffb3.js";
7
7
  import {
8
- Service78
9
- } from "./reference-r0xwa5b9.js";
8
+ Service80
9
+ } from "./pty-bvjche96.js";
10
10
  import {
11
- Service45
12
- } from "./reference-6jsvsf2v.js";
11
+ Service48
12
+ } from "./pty-mjex1bph.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./reference-61q39vzt.js";
16
+ Source3
17
+ } from "./pty-t4y1vgnz.js";
18
18
  import {
19
- Service10
20
- } from "./reference-gh5z95q3.js";
19
+ Service12
20
+ } from "./pty-k70p9jzb.js";
21
21
  import {
22
22
  parse2
23
- } from "./reference-rm3eewz3.js";
23
+ } from "./pty-mk442ktg.js";
24
24
  import {
25
25
  __export
26
- } from "./reference-9rqn6x4v.js";
26
+ } from "./pty-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill3 = {};
30
30
  __export(exports_skill3, {
31
31
  ConfigSkillPlugin: () => exports_skill3,
32
- Plugin: () => Plugin44
32
+ Plugin: () => Plugin45
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin44 = define({
39
+ var Plugin45 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service45;
43
- const discovery = yield* Service10;
42
+ const config = yield* Service48;
43
+ const discovery = yield* Service12;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service78;
47
- const watcher = yield* Service46;
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service49;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin44 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source4.equals(item, source)))
90
+ if (result.some((item) => Source3.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin44 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source4.key(source),
115
+ source: Source3.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin44 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source4.key(source),
144
+ source: Source3.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin44 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source4.key),
163
+ sources: current.map(Source3.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin44 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin44, exports_skill3 };
179
+ export { Plugin45, exports_skill3 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./reference-z5v4ffb3.js";
3
+ } from "./pty-z5v4ffb3.js";
4
4
  import {
5
- Info12
6
- } from "./reference-a8bn8zg0.js";
5
+ Info9
6
+ } from "./pty-kvvk39gs.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info11
15
+ Info: () => Info8
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info12)
47
+ permission: Schema.optional(Info9)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info8 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info11, exports_agent3 };
74
+ export { Info8, exports_agent3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./reference-qaymkmh1.js";
3
+ } from "./pty-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,9 +1,9 @@
1
- import {
2
- Service71
3
- } from "./reference-f3bkb0dd.js";
4
1
  import {
5
2
  Service73
6
- } from "./reference-prryrcpd.js";
3
+ } from "./pty-f33yc4k3.js";
4
+ import {
5
+ Service59
6
+ } from "./pty-dmpsdkb3.js";
7
7
  import {
8
8
  ID3,
9
9
  Result2,
@@ -11,56 +11,56 @@ import {
11
11
  DisabledError2,
12
12
  RequestError2,
13
13
  Service19
14
- } from "./reference-qmrj7qv4.js";
14
+ } from "./pty-c19p4hyh.js";
15
15
  import {
16
16
  __export
17
- } from "./reference-9rqn6x4v.js";
17
+ } from "./pty-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input9,
22
+ Input: () => Input5,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin26,
24
+ Plugin: () => Plugin24,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description4,
27
- name: () => name9
26
+ description: () => description2,
27
+ name: () => name5
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name9 = "websearch";
32
+ var name5 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input9 = Schema.Struct({
42
+ var Input5 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin26 = {
49
+ var Plugin24 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service73;
53
- const forms = yield* Service71;
52
+ const permission = yield* Service59;
53
+ const forms = yield* Service73;
54
54
  const websearch = yield* Service19;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name9,
56
+ name: name5,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input9,
58
+ description: description2,
59
+ input: Input5,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name9,
63
+ action: name5,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name9];
179
+ delete event.tools[name5];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name9, NO_RESULTS2, description4, Input9, Plugin26, exports_websearch };
187
+ export { name5, NO_RESULTS2, description2, Input5, Plugin24, exports_websearch };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service45
3
- } from "./reference-6jsvsf2v.js";
2
+ Service48
3
+ } from "./pty-mjex1bph.js";
4
4
  import {
5
- Service39
6
- } from "./reference-nhsamrrc.js";
5
+ Service42
6
+ } from "./pty-q0jcpdgf.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin32,
15
+ Plugin: () => Plugin36,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin32 = define({
20
+ var Plugin36 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service45;
28
- const mcp = yield* Service39;
27
+ const config = yield* Service48;
28
+ const mcp = yield* Service42;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin32, register2, exports_mcp2 };
49
+ export { Plugin36, register2, exports_mcp2 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./reference-w4xhwz3h.js";
3
+ } from "./pty-m5canyms.js";
4
4
  import {
5
5
  Service83
6
- } from "./reference-he0vrkkp.js";
6
+ } from "./pty-gzqsmt5r.js";
7
7
  import {
8
- ID10,
8
+ ID13,
9
9
  OAuth3,
10
- Event16,
11
- Service70
12
- } from "./reference-9edtgxtv.js";
10
+ Event17,
11
+ Service72
12
+ } from "./pty-ctdhhp9a.js";
13
13
  import {
14
14
  key2
15
- } from "./reference-gqtdsdt7.js";
15
+ } from "./pty-mxvxcxwy.js";
16
16
  import {
17
- ID9,
17
+ ID12,
18
18
  MethodID2
19
- } from "./reference-jnrqkn6c.js";
19
+ } from "./pty-dshcjhsp.js";
20
20
  import {
21
21
  which2
22
- } from "./reference-qaymkmh1.js";
22
+ } from "./pty-qaymkmh1.js";
23
23
  import {
24
- ID8,
25
- Service68
26
- } from "./reference-rrk1042z.js";
24
+ ID11,
25
+ Service70
26
+ } from "./pty-9se51ysk.js";
27
27
  import {
28
- ID7
29
- } from "./reference-yt62qj12.js";
28
+ ID10
29
+ } from "./pty-7pgwfb4h.js";
30
30
  import {
31
31
  iife2
32
- } from "./reference-1kg9ymc8.js";
32
+ } from "./pty-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./reference-ag4901q7.js";
35
+ } from "./pty-ky8w6whr.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(ID11.azure);
78
78
  const processes = yield* AppProcess.Service;
79
79
  const bus = yield* Service83;
80
- const credentials = yield* Service70;
81
- const providers = yield* Service68;
80
+ const credentials = yield* Service72;
81
+ const providers = yield* Service70;
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: ID11.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: ID11.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "oauth",
@@ -152,8 +152,8 @@ 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);
156
- const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
155
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
156
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
159
159
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -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(ID11.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(ID11.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(ID11.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 === ID11.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 !== ID11.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(ID11.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 !== ID11.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(ID11.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(ID11.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(ID11.azure, id, (draft) => Object.assign(draft, model));
284
284
  }
285
285
  });
286
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
286
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.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(ID11.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 !== ID11.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: ID11.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 !== ID11.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: ID11.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 = ID10.make(deployment.name.toLowerCase());
356
356
  const info = {
357
357
  ...structuredClone(model),
358
358
  id,
359
- modelID: ID7.make(deployment.name),
359
+ modelID: ID10.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,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
9
- Info: () => Info10
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
+ Info: () => Info7
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info10 = Schema.Struct({
12
+ var Info7 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info10 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info10, exports_command5 };
21
+ export { Info7, exports_command4 };