@opencode/core 0.0.0-dev-21108 → 0.0.0-dev-21112

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{vcs-tcdv4xxx.js → job-08zhq3v6.js} +3 -3
  8. package/dist/chunks/{vcs-ev6xeesc.js → job-0bf787b1.js} +8 -8
  9. package/dist/chunks/{vcs-b6770wny.js → job-0ks9zhpr.js} +44 -44
  10. package/dist/chunks/{vcs-0p6hghjm.js → job-0qyq0657.js} +11 -11
  11. package/dist/chunks/{vcs-0vbcp93d.js → job-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{vcs-st8atvy4.js → job-0w52vqev.js} +2 -2
  13. package/dist/chunks/{vcs-694900vg.js → job-0wjm486e.js} +17 -17
  14. package/dist/chunks/{vcs-gz9sjfgx.js → job-1248teyj.js} +6 -6
  15. package/dist/chunks/{vcs-57mezkvj.js → job-190jc4zy.js} +26 -26
  16. package/dist/chunks/{vcs-j9s0qvjv.js → job-1bfrgapb.js} +12 -12
  17. package/dist/chunks/{vcs-apbzx1qy.js → job-1dxcywt8.js} +1 -1
  18. package/dist/chunks/{vcs-b4gkm0yn.js → job-1g3z0azh.js} +15 -15
  19. package/dist/chunks/{vcs-5fykfdj7.js → job-1pxz8ven.js} +5 -5
  20. package/dist/chunks/{vcs-70n7ee7d.js → job-1v130mpx.js} +33 -33
  21. package/dist/chunks/{vcs-6jn4zywt.js → job-1v8dj1h2.js} +20 -20
  22. package/dist/chunks/{vcs-kzc3h1h3.js → job-1y283654.js} +4 -4
  23. package/dist/chunks/{vcs-trt0dew0.js → job-1zj7cxje.js} +47 -47
  24. package/dist/chunks/{vcs-qzawr4c0.js → job-2358bwaq.js} +46 -46
  25. package/dist/chunks/{vcs-1bmjn0qh.js → job-2395y7e1.js} +8 -8
  26. package/dist/chunks/{vcs-1xwjxjf0.js → job-247t7n51.js} +45 -45
  27. package/dist/chunks/{vcs-8wpwcw2c.js → job-2txft6xz.js} +26 -26
  28. package/dist/chunks/{vcs-wbzy543d.js → job-2ygtdfg2.js} +29 -29
  29. package/dist/chunks/{vcs-31xfzrxg.js → job-31xfzrxg.js} +2 -2
  30. package/dist/chunks/{vcs-6e6k9ee1.js → job-32w60ewp.js} +6 -6
  31. package/dist/chunks/{vcs-9dawpgdd.js → job-33a8026s.js} +6 -6
  32. package/dist/chunks/{vcs-kbgg0xp7.js → job-3bbkcze6.js} +28 -28
  33. package/dist/chunks/{vcs-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{vcs-r5tp3nbh.js → job-3ga9zd2f.js} +4 -4
  35. package/dist/chunks/{vcs-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{vcs-3hwn7j4h.js → job-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{vcs-2x84g0hg.js → job-3k0ta86q.js} +16 -16
  38. package/dist/chunks/{vcs-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{vcs-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{vcs-3zsf4n22.js → job-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{vcs-ewcy99y7.js → job-3zxgx73k.js} +26 -26
  42. package/dist/chunks/{vcs-f00h63f7.js → job-42g932k2.js} +33 -33
  43. package/dist/chunks/{vcs-mm8g4k7x.js → job-44nt178b.js} +39 -39
  44. package/dist/chunks/{vcs-8034592z.js → job-4e4k5cgw.js} +20 -20
  45. package/dist/chunks/{vcs-nxe4pcap.js → job-4j4tgtq5.js} +4 -4
  46. package/dist/chunks/{vcs-bcq6ngff.js → job-4meka6v1.js} +85 -85
  47. package/dist/chunks/{vcs-g1kppfdc.js → job-4s76bvka.js} +28 -28
  48. package/dist/chunks/{vcs-t7nkm7zy.js → job-4yxncqzk.js} +11 -11
  49. package/dist/chunks/{vcs-9h5geed1.js → job-54jctmtt.js} +25 -25
  50. package/dist/chunks/{vcs-54ma36ye.js → job-54ma36ye.js} +1 -1
  51. package/dist/chunks/{vcs-kwztdq7h.js → job-5802gy43.js} +12 -12
  52. package/dist/chunks/{vcs-z0c53cnc.js → job-5f78e0bk.js} +15 -15
  53. package/dist/chunks/{vcs-15fn43ap.js → job-5hr13e4c.js} +8 -8
  54. package/dist/chunks/{vcs-5m9w47nd.js → job-5m9w47nd.js} +1 -1
  55. package/dist/chunks/job-619r8v3y.js +18 -0
  56. package/dist/chunks/{vcs-2cmv458r.js → job-66r9f6z1.js} +5 -5
  57. package/dist/chunks/{vcs-bh74vh5r.js → job-67690ebn.js} +21 -21
  58. package/dist/chunks/job-67mv0zeb.js +26 -0
  59. package/dist/chunks/{vcs-zsaystjn.js → job-696t2cy7.js} +17 -17
  60. package/dist/chunks/{vcs-98v90pwc.js → job-6cav1d9v.js} +24 -24
  61. package/dist/chunks/{vcs-a72zk5vh.js → job-6ek5mamz.js} +4 -4
  62. package/dist/chunks/{vcs-py94f0e0.js → job-6f203fky.js} +21 -21
  63. package/dist/chunks/{vcs-mq3zggt6.js → job-6n5tmcsn.js} +24 -24
  64. package/dist/chunks/{vcs-t0pyhqcw.js → job-6v23mrsw.js} +11 -11
  65. package/dist/chunks/{vcs-6xb47vfp.js → job-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{vcs-7jsc1qpe.js → job-6xcd06cn.js} +3 -3
  67. package/dist/chunks/{vcs-abwx4fz1.js → job-744z4pjx.js} +14 -14
  68. package/dist/chunks/{vcs-775gj3j1.js → job-775gj3j1.js} +2 -2
  69. package/dist/chunks/{vcs-qf76qvkk.js → job-782zrs06.js} +5 -5
  70. package/dist/chunks/{vcs-749m9j3c.js → job-78jnw47a.js} +7 -7
  71. package/dist/chunks/{vcs-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{vcs-nrkkc40d.js → job-7ehe1q82.js} +84 -84
  73. package/dist/chunks/{vcs-pn9m0qmr.js → job-7kvnyt6p.js} +5 -5
  74. package/dist/chunks/{vcs-3febqyrh.js → job-7n3gnz9r.js} +19 -19
  75. package/dist/chunks/{vcs-d216944b.js → job-7sbkp4xb.js} +7 -7
  76. package/dist/chunks/{vcs-mp6m6hpj.js → job-802megp1.js} +10 -10
  77. package/dist/chunks/{vcs-3bz86aqc.js → job-81q2xnhg.js} +20 -20
  78. package/dist/chunks/{vcs-tf57n56z.js → job-84mtzs8k.js} +14 -14
  79. package/dist/chunks/{vcs-kbvzwwv7.js → job-866j0qgd.js} +14 -14
  80. package/dist/chunks/{vcs-j758eka2.js → job-8a0tbawn.js} +17 -17
  81. package/dist/chunks/{vcs-9s83jr1p.js → job-8a524ch7.js} +7 -7
  82. package/dist/chunks/{vcs-23fmqdqn.js → job-8hmjtt7t.js} +13 -13
  83. package/dist/chunks/{vcs-zae46mp4.js → job-8jxeyxc9.js} +5 -5
  84. package/dist/chunks/{vcs-wdk0efzn.js → job-8kvx9d9a.js} +16 -16
  85. package/dist/chunks/{vcs-8m6m0r52.js → job-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{vcs-aqab6bvk.js → job-8tayx2nk.js} +4 -4
  87. package/dist/chunks/{vcs-91qna3x0.js → job-91qna3x0.js} +3 -3
  88. package/dist/chunks/{vcs-gcr4j17e.js → job-95vmf0cx.js} +29 -29
  89. package/dist/chunks/{vcs-6xnzn5r9.js → job-98h8vcmf.js} +15 -15
  90. package/dist/chunks/{vcs-bsegt2fq.js → job-9ahf605z.js} +5 -5
  91. package/dist/chunks/{vcs-80vk4pbp.js → job-9cememrc.js} +13 -13
  92. package/dist/chunks/{vcs-e7x5qhf1.js → job-9csbzq3k.js} +327 -327
  93. package/dist/chunks/{vcs-qkfkzs5q.js → job-9k0qe3x2.js} +22 -22
  94. package/dist/chunks/{vcs-e497y9d1.js → job-9mbkb3sc.js} +9 -9
  95. package/dist/chunks/{vcs-81ncqz2m.js → job-9pg1zzvb.js} +20 -20
  96. package/dist/chunks/{vcs-y1kqc1p7.js → job-9r4f3n38.js} +40 -40
  97. package/dist/chunks/{vcs-stwte7t7.js → job-a3tzcvmz.js} +32 -32
  98. package/dist/chunks/{vcs-n8rrra3a.js → job-ad1gt5z6.js} +12 -12
  99. package/dist/chunks/{vcs-tz4n1mmd.js → job-afdssyjb.js} +4 -4
  100. package/dist/chunks/{vcs-zbzfepeb.js → job-am8zjywx.js} +4 -4
  101. package/dist/chunks/{vcs-j2s852az.js → job-ay56yawg.js} +30 -30
  102. package/dist/chunks/{vcs-q6cvmfpv.js → job-b039cdhy.js} +13 -13
  103. package/dist/chunks/{vcs-278dshqs.js → job-b39124se.js} +11 -11
  104. package/dist/chunks/{vcs-y4v5ah6d.js → job-b8s6fp5j.js} +23 -23
  105. package/dist/chunks/{vcs-5bvwnfz3.js → job-bkp4f76d.js} +9 -9
  106. package/dist/chunks/{vcs-mv3hx7wz.js → job-bmr56wjg.js} +4 -4
  107. package/dist/chunks/{vcs-zz2r6mts.js → job-bte6ngej.js} +26 -26
  108. package/dist/chunks/{vcs-az977ysh.js → job-bvd5z42w.js} +35 -35
  109. package/dist/chunks/{vcs-c1fqxshp.js → job-c1fqxshp.js} +3 -3
  110. package/dist/chunks/{vcs-kbs69a2x.js → job-cgzvyhvv.js} +3 -3
  111. package/dist/chunks/{vcs-0pnx5nh0.js → job-ck327ev6.js} +13 -13
  112. package/dist/chunks/{vcs-0aqfmf5v.js → job-cs1fz2ym.js} +33 -33
  113. package/dist/chunks/{vcs-cwa6csj7.js → job-cwa6csj7.js} +2 -2
  114. package/dist/chunks/{vcs-5z6fkxtw.js → job-d1rddd69.js} +9 -9
  115. package/dist/chunks/{vcs-v9cgcx37.js → job-d2wek193.js} +28 -28
  116. package/dist/chunks/{vcs-2kz8np98.js → job-d38556p2.js} +31 -31
  117. package/dist/chunks/{vcs-sswp2h42.js → job-d88k20pt.js} +14 -14
  118. package/dist/chunks/{vcs-5ywzfb3j.js → job-da185en6.js} +6 -6
  119. package/dist/chunks/{vcs-gdvrp62c.js → job-dp9jtaaz.js} +7 -7
  120. package/dist/chunks/{vcs-fn9t717r.js → job-dq407baf.js} +6 -6
  121. package/dist/chunks/{vcs-dqxsqydv.js → job-dqxsqydv.js} +1 -1
  122. package/dist/chunks/{vcs-drwq78ky.js → job-drwq78ky.js} +1 -1
  123. package/dist/chunks/{vcs-a8r1ndjr.js → job-dxxdd5gf.js} +11 -11
  124. package/dist/chunks/{vcs-7em5ghts.js → job-e04mjppw.js} +17 -17
  125. package/dist/chunks/{vcs-q0qjy1zt.js → job-e2f548m5.js} +19 -19
  126. package/dist/chunks/{vcs-sesj2hvf.js → job-e9w0xgk5.js} +45 -45
  127. package/dist/chunks/{vcs-rhjbct0v.js → job-eaj1djv9.js} +8 -8
  128. package/dist/chunks/{vcs-wt2f84b9.js → job-ee0kfng7.js} +4 -4
  129. package/dist/chunks/{vcs-eej6y6fw.js → job-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{vcs-ef5x83kb.js → job-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{vcs-29m6mk6w.js → job-eqdqwaa8.js} +8 -8
  132. package/dist/chunks/{vcs-g72yd4k4.js → job-er2q2s93.js} +12 -12
  133. package/dist/chunks/{vcs-gqmeawtn.js → job-ez6t5hx2.js} +23 -23
  134. package/dist/chunks/{vcs-8vkwsqvz.js → job-f5r4rnzc.js} +14 -14
  135. package/dist/chunks/{vcs-z3nay82g.js → job-faj2svbs.js} +9 -9
  136. package/dist/chunks/{vcs-fcy631f0.js → job-fcy631f0.js} +1 -1
  137. package/dist/chunks/{vcs-de3tz8ce.js → job-fn5wdjwd.js} +6 -6
  138. package/dist/chunks/{vcs-5hpssq55.js → job-fwb3fm18.js} +30 -30
  139. package/dist/chunks/{vcs-e7w08kap.js → job-gbqsrtzy.js} +32 -32
  140. package/dist/chunks/{vcs-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{vcs-z1z60s25.js → job-gdc55jvc.js} +4 -4
  142. package/dist/chunks/{vcs-c44mjgcb.js → job-gp792ppf.js} +21 -21
  143. package/dist/chunks/{vcs-bf12m7kx.js → job-gt0x4809.js} +17 -17
  144. package/dist/chunks/{vcs-7h4aqy0s.js → job-gwaf4cyv.js} +10 -10
  145. package/dist/chunks/{vcs-02e36gs3.js → job-gx4kjbww.js} +20 -20
  146. package/dist/chunks/{vcs-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{vcs-cv00cvbs.js → job-hder4p07.js} +55 -55
  148. package/dist/chunks/{vcs-vrja8bfg.js → job-hfqcc610.js} +1 -1
  149. package/dist/chunks/{vcs-hgz4x7wa.js → job-hgz4x7wa.js} +1 -1
  150. package/dist/chunks/{vcs-fkyvq0kx.js → job-hk4kyacq.js} +26 -26
  151. package/dist/chunks/{vcs-84msw036.js → job-hmf5dsnm.js} +10 -10
  152. package/dist/chunks/{vcs-w7xw82wb.js → job-hvg55y1m.js} +11 -11
  153. package/dist/chunks/{vcs-74g3bhj7.js → job-jhc0stxs.js} +8 -8
  154. package/dist/chunks/{vcs-ps6734b0.js → job-jk42ka2z.js} +15 -15
  155. package/dist/chunks/{vcs-n1f7gktn.js → job-jxpbf905.js} +27 -27
  156. package/dist/chunks/{vcs-ssprmpe5.js → job-jxrsvt8d.js} +14 -14
  157. package/dist/chunks/{vcs-wqffb857.js → job-jxty7jvr.js} +13 -13
  158. package/dist/chunks/{vcs-q4rtw0sm.js → job-k0qzeszc.js} +50 -50
  159. package/dist/chunks/{vcs-1a430sh5.js → job-kf8xxjz9.js} +11 -11
  160. package/dist/chunks/{vcs-fxaymqdw.js → job-khmqacep.js} +4 -4
  161. package/dist/chunks/{vcs-z4rktwb2.js → job-kq0z1tjb.js} +11 -11
  162. package/dist/chunks/{vcs-7hvkf8ba.js → job-kq1kh5hf.js} +29 -29
  163. package/dist/chunks/{vcs-kwb1v3vj.js → job-kwb1v3vj.js} +1 -1
  164. package/dist/chunks/{vcs-yyjjzvwv.js → job-kya4n3gt.js} +45 -45
  165. package/dist/chunks/{vcs-2hcv2g42.js → job-m8cz1ghn.js} +11 -11
  166. package/dist/chunks/{vcs-7ar02ars.js → job-m9n427xj.js} +17 -17
  167. package/dist/chunks/{vcs-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  168. package/dist/chunks/{vcs-maspj1v3.js → job-maspj1v3.js} +1 -1
  169. package/dist/chunks/{vcs-1vayj7pv.js → job-mccdgat0.js} +7 -7
  170. package/dist/chunks/{vcs-jwkxpzhb.js → job-mgh2a7gf.js} +153 -153
  171. package/dist/chunks/{vcs-tprpskj3.js → job-mjtg0kct.js} +3 -3
  172. package/dist/chunks/{vcs-r70na3yp.js → job-nd4tfyg0.js} +9 -9
  173. package/dist/chunks/{vcs-a2wv01vg.js → job-nfnb91wf.js} +15 -15
  174. package/dist/chunks/{vcs-yx0rmv9r.js → job-nm4299rz.js} +8 -8
  175. package/dist/chunks/{vcs-kr3za5q8.js → job-nxm9x0fe.js} +37 -37
  176. package/dist/chunks/{vcs-t1n56gek.js → job-nz36rv7r.js} +64 -64
  177. package/dist/chunks/{vcs-ecja6gpk.js → job-p3tsgby1.js} +5 -5
  178. package/dist/chunks/{vcs-pa8pe2x7.js → job-p4mj4rdp.js} +8 -8
  179. package/dist/chunks/{vcs-8mnysrst.js → job-p5jqnpch.js} +3 -3
  180. package/dist/chunks/{vcs-tx5fk5pn.js → job-p6y63wrz.js} +4 -4
  181. package/dist/chunks/{vcs-0qke7b7v.js → job-pa6wp5yh.js} +18 -18
  182. package/dist/chunks/{vcs-x1bbg2xd.js → job-pc0k0p8h.js} +13 -13
  183. package/dist/chunks/{vcs-xa1ekjr5.js → job-pdb8rjdp.js} +18 -18
  184. package/dist/chunks/{vcs-5ryha89e.js → job-pe2b4pg4.js} +19 -19
  185. package/dist/chunks/{vcs-vh1d1c6z.js → job-pfvte5ex.js} +23 -23
  186. package/dist/chunks/{vcs-my0tytnd.js → job-ph29776d.js} +24 -24
  187. package/dist/chunks/{vcs-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{vcs-pknna89w.js → job-pknna89w.js} +1 -1
  189. package/dist/chunks/{vcs-c8zwaxmp.js → job-pt1ss6jy.js} +3 -3
  190. package/dist/chunks/{vcs-rd3e5ygt.js → job-q54p6b31.js} +14 -14
  191. package/dist/chunks/{vcs-ec487xam.js → job-q9en3hpz.js} +16 -16
  192. package/dist/chunks/{vcs-qgn6gcr1.js → job-qgn6gcr1.js} +1 -1
  193. package/dist/chunks/{vcs-2cybgqhz.js → job-qmgn8zg7.js} +2 -2
  194. package/dist/chunks/{vcs-qnc92qwc.js → job-qnc92qwc.js} +1 -1
  195. package/dist/chunks/{vcs-d1pkjdrj.js → job-qrytbsaj.js} +34 -34
  196. package/dist/chunks/{vcs-qsdy395h.js → job-qsdy395h.js} +1 -1
  197. package/dist/chunks/{vcs-ppbmqrvr.js → job-qvb3nf84.js} +8 -8
  198. package/dist/chunks/{vcs-6fh64ftw.js → job-r21rn0zz.js} +19 -19
  199. package/dist/chunks/{vcs-regzcayk.js → job-r38b4gm7.js} +9 -9
  200. package/dist/chunks/{vcs-f2n192rq.js → job-r8xr0va3.js} +4 -4
  201. package/dist/chunks/{vcs-m27qakrx.js → job-rcph0yae.js} +17 -17
  202. package/dist/chunks/{vcs-rdw6cm16.js → job-rdw6cm16.js} +1 -1
  203. package/dist/chunks/{vcs-pa2b1817.js → job-re0zn3g0.js} +42 -42
  204. package/dist/chunks/{vcs-rert0e01.js → job-rert0e01.js} +2 -2
  205. package/dist/chunks/{vcs-rj3eygr5.js → job-rj3eygr5.js} +2 -2
  206. package/dist/chunks/{vcs-rkprpv83.js → job-rkprpv83.js} +2 -2
  207. package/dist/chunks/{vcs-9zm0mfan.js → job-rkx677gg.js} +5 -5
  208. package/dist/chunks/{vcs-9jvzcmy4.js → job-rm21d51n.js} +5 -5
  209. package/dist/chunks/{vcs-jxg22agt.js → job-rrz44tnd.js} +12 -12
  210. package/dist/chunks/{vcs-tb2eav5j.js → job-rwsg7th0.js} +24 -24
  211. package/dist/chunks/{vcs-rnn4727b.js → job-rxn86gf6.js} +13 -13
  212. package/dist/chunks/{vcs-jwrbm3d8.js → job-rzcz91ek.js} +22 -22
  213. package/dist/chunks/{vcs-my4qtva3.js → job-s1f6gdw2.js} +19 -19
  214. package/dist/chunks/{vcs-cqwdbp8s.js → job-s2navjnm.js} +21 -21
  215. package/dist/chunks/{vcs-mwpybj7y.js → job-s74x8zwn.js} +12 -12
  216. package/dist/chunks/{vcs-sa8ekw3f.js → job-sa8ekw3f.js} +2 -2
  217. package/dist/chunks/{vcs-5wzb8f99.js → job-sjhrg4z8.js} +23 -23
  218. package/dist/chunks/{vcs-jj5ks10b.js → job-spec05k6.js} +2 -2
  219. package/dist/chunks/{vcs-w6xajd1d.js → job-swymws4c.js} +18 -18
  220. package/dist/chunks/{vcs-e80seqcp.js → job-sxcaecc0.js} +3 -3
  221. package/dist/chunks/{vcs-syv4x271.js → job-syv4x271.js} +1 -1
  222. package/dist/chunks/{vcs-xset6v8e.js → job-t2rny1q8.js} +29 -29
  223. package/dist/chunks/{vcs-p9p9s22a.js → job-t79xkb5x.js} +9 -9
  224. package/dist/chunks/{vcs-k80zjrbm.js → job-t8gxprjd.js} +29 -29
  225. package/dist/chunks/{vcs-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{vcs-89znhe33.js → job-tcezcvh9.js} +4 -4
  227. package/dist/chunks/{vcs-tdstcens.js → job-tdstcens.js} +1 -1
  228. package/dist/chunks/{vcs-jhf3jymm.js → job-tegs1ycp.js} +6 -6
  229. package/dist/chunks/{vcs-eyn1arby.js → job-tfskcm3z.js} +47 -47
  230. package/dist/chunks/{vcs-jypkjyjj.js → job-tk518f6g.js} +179 -179
  231. package/dist/chunks/{vcs-tm0kqsz3.js → job-tm0kqsz3.js} +1 -1
  232. package/dist/chunks/{vcs-ksqkdsfg.js → job-tpg09gg7.js} +33 -33
  233. package/dist/chunks/{vcs-3xxwenrj.js → job-tpw005b1.js} +11 -11
  234. package/dist/chunks/{vcs-pgcq6gba.js → job-tqa9g821.js} +10 -10
  235. package/dist/chunks/{vcs-ah9qjh8p.js → job-tsrjfj85.js} +11 -11
  236. package/dist/chunks/{vcs-zrq8kphx.js → job-tx9w5tca.js} +8 -8
  237. package/dist/chunks/{vcs-tyytaxap.js → job-tyytaxap.js} +1 -1
  238. package/dist/chunks/{vcs-v0es1rhs.js → job-v0es1rhs.js} +2 -2
  239. package/dist/chunks/{vcs-bbpptzmy.js → job-v3xkyz7p.js} +26 -26
  240. package/dist/chunks/{vcs-v7p4zvkq.js → job-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{vcs-sdkx3pjx.js → job-vcbrf7nh.js} +47 -47
  242. package/dist/chunks/{vcs-veqvce7d.js → job-veqvce7d.js} +1 -1
  243. package/dist/chunks/{vcs-4ztejm5p.js → job-vfz1kjtz.js} +19 -19
  244. package/dist/chunks/{vcs-yh2wrcre.js → job-vhdxrt7h.js} +29 -29
  245. package/dist/chunks/{vcs-gxv64e4w.js → job-vmc6r1cj.js} +19 -19
  246. package/dist/chunks/{vcs-b3xja3vs.js → job-vqq02yr7.js} +11 -11
  247. package/dist/chunks/{vcs-xbarvga5.js → job-vscxjy0v.js} +47 -47
  248. package/dist/chunks/{vcs-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{vcs-84txncab.js → job-w1eejvng.js} +5 -5
  250. package/dist/chunks/{vcs-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{vcs-kw0erqyq.js → job-waj06c1d.js} +18 -18
  252. package/dist/chunks/{vcs-wd87259q.js → job-wd87259q.js} +1 -1
  253. package/dist/chunks/{vcs-kqx1b4hy.js → job-wg81ww38.js} +4 -4
  254. package/dist/chunks/{vcs-82rhge12.js → job-wk5z6jzv.js} +9 -9
  255. package/dist/chunks/{vcs-3k043h5p.js → job-wzhq9xxz.js} +9 -9
  256. package/dist/chunks/{vcs-j0bxzt0p.js → job-x2prm6ae.js} +4 -4
  257. package/dist/chunks/{vcs-cqbghwqx.js → job-x8mwr189.js} +30 -30
  258. package/dist/chunks/{vcs-8chrd1c9.js → job-xh9n323v.js} +10 -10
  259. package/dist/chunks/{vcs-c1dxt66b.js → job-xnb4btwz.js} +14 -14
  260. package/dist/chunks/{vcs-6xcvt31d.js → job-xt4njr3s.js} +1 -1
  261. package/dist/chunks/{vcs-p1j52kwe.js → job-xxa9ptsg.js} +8 -8
  262. package/dist/chunks/{vcs-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{vcs-7evj5wva.js → job-y4qwpzs9.js} +6 -6
  264. package/dist/chunks/{vcs-0xqyf95c.js → job-y5rf7nzv.js} +4 -4
  265. package/dist/chunks/{vcs-y71avatq.js → job-y71avatq.js} +1 -1
  266. package/dist/chunks/{vcs-gzx41zxb.js → job-y7sdd497.js} +28 -28
  267. package/dist/chunks/{vcs-wtv33j88.js → job-ye9cngvp.js} +32 -32
  268. package/dist/chunks/{vcs-3wvege5j.js → job-yfq0f3ty.js} +5 -5
  269. package/dist/chunks/{vcs-gj71zhbs.js → job-ygdna4kr.js} +5 -5
  270. package/dist/chunks/{vcs-yw1yd8am.js → job-yjsx3ryv.js} +11 -11
  271. package/dist/chunks/{vcs-rqds5wzt.js → job-yn9v0zkv.js} +14 -14
  272. package/dist/chunks/{vcs-1ffvrpkg.js → job-ywt8jp22.js} +6 -6
  273. package/dist/chunks/{vcs-at768xak.js → job-yyc2c3pa.js} +18 -18
  274. package/dist/chunks/{vcs-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{vcs-tre5yt63.js → job-z0dmr40s.js} +8 -8
  276. package/dist/chunks/{vcs-cjmfqnq2.js → job-z0gr4p3m.js} +34 -34
  277. package/dist/chunks/{vcs-pymsrck8.js → job-z9g794zs.js} +16 -16
  278. package/dist/chunks/{vcs-6kbcj5hv.js → job-zqy5zsvc.js} +8 -8
  279. package/dist/chunks/{vcs-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{vcs-t08z9s5h.js → job-zv29qtws.js} +8 -8
  281. package/dist/chunks/{vcs-jf22arnf.js → job-zvy6w0zs.js} +3 -3
  282. package/dist/chunks/{vcs-mxvxcxwy.js → job-zw2hpfmh.js} +4 -4
  283. package/dist/chunks/{vcs-snhrfy7w.js → job-zwe6tn9h.js} +28 -28
  284. package/dist/chunks/{vcs-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +116 -116
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +1 -1
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +92 -92
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +2 -2
  419. package/dist/filesystem/location-watcher.js +219 -219
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +88 -88
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +108 -108
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +83 -83
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model-retry.js +1 -1
  476. package/dist/model.js +104 -104
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +84 -84
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +115 -115
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +78 -78
  488. package/dist/plugin/command.js +104 -104
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +212 -212
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +330 -330
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +117 -117
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +116 -116
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +116 -116
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +112 -112
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +113 -113
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +125 -125
  518. package/dist/plugin/provider/local.js +122 -122
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +125 -125
  523. package/dist/plugin/provider/openai.js +116 -116
  524. package/dist/plugin/provider/opencode.js +100 -100
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +125 -125
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +168 -168
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +347 -347
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +114 -114
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +217 -217
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +82 -82
  559. package/dist/provider.js +103 -103
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +101 -101
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +91 -91
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +136 -136
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +218 -218
  580. package/dist/session/execution.js +127 -127
  581. package/dist/session/generate.js +157 -157
  582. package/dist/session/history.js +13 -13
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +120 -120
  591. package/dist/session/model-transport.js +7 -7
  592. package/dist/session/move.js +127 -127
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +223 -223
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +5 -5
  604. package/dist/session/runner/step.js +126 -126
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +164 -164
  608. package/dist/session/shell.js +130 -130
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +89 -89
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +206 -206
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +153 -153
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +211 -211
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +214 -214
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +132 -132
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +112 -112
  629. package/dist/snapshot.js +93 -93
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +130 -130
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +124 -124
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +122 -122
  641. package/dist/tool/plugin/question.js +107 -107
  642. package/dist/tool/plugin/read.js +121 -121
  643. package/dist/tool/plugin/shell.js +211 -211
  644. package/dist/tool/plugin/skill.js +115 -115
  645. package/dist/tool/plugin/subagent.js +213 -213
  646. package/dist/tool/plugin/webfetch.js +110 -110
  647. package/dist/tool/plugin/websearch.js +114 -114
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +95 -95
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/voice.js +88 -88
  675. package/dist/websearch.js +86 -86
  676. package/dist/wellknown/plugin.js +78 -78
  677. package/dist/wellknown.js +81 -81
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +84 -84
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +91 -91
  685. package/dist/worktree.js +100 -100
  686. package/package.json +8 -8
  687. package/dist/chunks/vcs-ht5y0zrb.js +0 -18
  688. package/dist/chunks/vcs-xb6h6tjx.js +0 -26
  689. /package/dist/chunks/{vcs-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{vcs-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{vcs-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{vcs-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{vcs-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{vcs-24dcb14g.js → job-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{vcs-2710q6r3.js → job-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{vcs-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{vcs-2bv980vf.js → job-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{vcs-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{vcs-359p4xyc.js → job-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{vcs-3asan66x.js → job-3asan66x.js} +0 -0
  701. /package/dist/chunks/{vcs-3t0ybcrp.js → job-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{vcs-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{vcs-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{vcs-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{vcs-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{vcs-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{vcs-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{vcs-53557ph1.js → job-53557ph1.js} +0 -0
  709. /package/dist/chunks/{vcs-550bvhaj.js → job-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{vcs-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{vcs-6prwharc.js → job-6prwharc.js} +0 -0
  712. /package/dist/chunks/{vcs-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{vcs-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{vcs-7m9af43g.js → job-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{vcs-822emrt2.js → job-822emrt2.js} +0 -0
  716. /package/dist/chunks/{vcs-84wd9syh.js → job-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{vcs-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{vcs-8n3pysct.js → job-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{vcs-8wj87zfr.js → job-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{vcs-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{vcs-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{vcs-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{vcs-af5trqkr.js → job-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{vcs-afrmfg78.js → job-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{vcs-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{vcs-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{vcs-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{vcs-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{vcs-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{vcs-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{vcs-d9fn303g.js → job-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{vcs-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{vcs-dajrwvna.js → job-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{vcs-dap0rakb.js → job-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{vcs-df08tz66.js → job-df08tz66.js} +0 -0
  736. /package/dist/chunks/{vcs-dy18nga0.js → job-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{vcs-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{vcs-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{vcs-ec1grn59.js → job-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{vcs-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{vcs-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{vcs-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{vcs-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{vcs-faypxj3z.js → job-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{vcs-fd410y7t.js → job-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{vcs-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{vcs-g86h250q.js → job-g86h250q.js} +0 -0
  748. /package/dist/chunks/{vcs-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{vcs-gftt206x.js → job-gftt206x.js} +0 -0
  750. /package/dist/chunks/{vcs-hcxmzztb.js → job-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{vcs-hk9envan.js → job-hk9envan.js} +0 -0
  752. /package/dist/chunks/{vcs-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{vcs-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{vcs-jjkms2e6.js → job-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{vcs-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{vcs-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{vcs-jze0r7bz.js → job-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{vcs-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{vcs-m18g726c.js → job-m18g726c.js} +0 -0
  760. /package/dist/chunks/{vcs-mp448xyj.js → job-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{vcs-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{vcs-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{vcs-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{vcs-njntx4h6.js → job-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{vcs-pkyv6v7h.js → job-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{vcs-pyv0edze.js → job-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{vcs-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{vcs-q74kybfr.js → job-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{vcs-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{vcs-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{vcs-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{vcs-qg3g05ea.js → job-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{vcs-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{vcs-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{vcs-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{vcs-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{vcs-ve7vex1e.js → job-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{vcs-w803qqfp.js → job-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{vcs-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{vcs-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{vcs-wjj7prxr.js → job-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{vcs-wtztk69x.js → job-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{vcs-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{vcs-x61499pn.js → job-x61499pn.js} +0 -0
  785. /package/dist/chunks/{vcs-y44na4kk.js → job-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{vcs-y8f7s663.js → job-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{vcs-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{vcs-ym463w8f.js → job-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{vcs-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{vcs-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./vcs-84msw036.js";
3
+ } from "./job-hmf5dsnm.js";
4
4
  import {
5
- Service85
6
- } from "./vcs-j9s0qvjv.js";
5
+ Service84
6
+ } from "./job-1bfrgapb.js";
7
7
  import {
8
- ID14,
9
- Event17,
10
- Service74
11
- } from "./vcs-ksqkdsfg.js";
8
+ ID8,
9
+ Event15,
10
+ Service69
11
+ } from "./job-tpg09gg7.js";
12
12
  import {
13
13
  key2
14
- } from "./vcs-mxvxcxwy.js";
14
+ } from "./job-zw2hpfmh.js";
15
15
  import {
16
- ID13,
16
+ ID7,
17
17
  MethodID2
18
- } from "./vcs-70n7ee7d.js";
18
+ } from "./job-1v130mpx.js";
19
19
  import {
20
20
  which2
21
- } from "./vcs-qaymkmh1.js";
21
+ } from "./job-qaymkmh1.js";
22
22
  import {
23
- ID12,
24
- Service72
25
- } from "./vcs-wtv33j88.js";
23
+ ID6,
24
+ Service65
25
+ } from "./job-ye9cngvp.js";
26
26
  import {
27
- ID11
28
- } from "./vcs-f00h63f7.js";
27
+ ID5
28
+ } from "./job-42g932k2.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./vcs-de3tz8ce.js";
31
+ } from "./job-fn5wdjwd.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make8(endpoints = {
66
+ function make7(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID12.azure);
73
+ const configured = yield* configuredSettings2(ID6.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service85;
76
- const credentials = yield* Service74;
77
- const providers = yield* Service72;
75
+ const bus = yield* Service84;
76
+ const credentials = yield* Service69;
77
+ const providers = yield* Service65;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make8(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID12.azure,
103
+ integrationID: ID6.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID12.azure,
107
+ integrationID: ID6.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make8(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID12.azure,
125
+ integrationID: ID6.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make8(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID12.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID6.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID8.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make8(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID12.azure))?.settings;
185
+ const settings = (yield* providers.get(ID6.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make8(endpoints = {
204
204
  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))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID6.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID6.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make8(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID6.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID6.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make8(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID12.azure);
243
+ const item = evt.get(ID6.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make8(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID6.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make8(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID12.azure);
266
+ const catalog = models.list(ID6.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID12.azure, model.id);
270
+ models.remove(ID6.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID6.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID12.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID6.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make8(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID12.azure)
291
+ if (evt.model.providerID !== ID6.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make8(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID12.azure });
300
+ }), { providerID: ID6.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID12.azure)
302
+ if (evt.model.providerID !== ID6.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make8(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID12.azure });
311
+ }), { providerID: ID6.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make8();
315
+ var AzurePlugin2 = make7();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID11.make(deployment.name.toLowerCase());
345
+ const id = ID5.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID11.make(deployment.name),
349
+ modelID: ID5.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make8, AzurePlugin2 };
371
+ export { make7, AzurePlugin2 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./vcs-z5v4ffb3.js";
3
+ } from "./job-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service41
7
- } from "./vcs-eyn1arby.js";
6
+ Service45
7
+ } from "./job-tfskcm3z.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./vcs-hgz4x7wa.js";
10
+ } from "./job-hgz4x7wa.js";
11
11
  import {
12
- Service80
13
- } from "./vcs-c44mjgcb.js";
12
+ Service53
13
+ } from "./job-gp792ppf.js";
14
14
  import {
15
- Service46
16
- } from "./vcs-2x84g0hg.js";
15
+ Service67
16
+ } from "./job-3k0ta86q.js";
17
17
  import {
18
- Service60
19
- } from "./vcs-cv00cvbs.js";
18
+ Service74
19
+ } from "./job-hder4p07.js";
20
20
  import {
21
- Service51,
21
+ Service20,
22
22
  resolvePath2
23
- } from "./vcs-z0c53cnc.js";
23
+ } from "./job-5f78e0bk.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./vcs-vzs5sf6e.js";
29
+ } from "./job-vzs5sf6e.js";
30
30
  import {
31
- Service50,
31
+ Service81,
32
32
  name15
33
- } from "./vcs-gxv64e4w.js";
33
+ } from "./job-vmc6r1cj.js";
34
34
  import {
35
- NotFoundError4,
36
- Service39
37
- } from "./vcs-sdkx3pjx.js";
35
+ NotFoundError5,
36
+ Service40
37
+ } from "./job-vcbrf7nh.js";
38
38
  import {
39
- Service19
40
- } from "./vcs-bcq6ngff.js";
39
+ Service24
40
+ } from "./job-4meka6v1.js";
41
41
  import {
42
42
  scan2
43
- } from "./vcs-zbzfepeb.js";
43
+ } from "./job-am8zjywx.js";
44
44
  import {
45
45
  __export
46
- } from "./vcs-9rqn6x4v.js";
46
+ } from "./job-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin6,
54
- ShellTool: () => exports_shell,
55
- name: () => name5
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin32,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name5 = "shell";
60
+ var name12 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input5 = Schema.Struct({
74
+ var Input12 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin6 = {
120
+ var Plugin32 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service19;
124
- const jobs = yield* Service46;
123
+ const sessions = yield* Service24;
124
+ const jobs = yield* Service67;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service80;
127
- const access = yield* Service51;
128
- const shell = yield* Service39;
129
- const shellSelect = yield* Service50;
126
+ const environment = yield* Service53;
127
+ const access = yield* Service20;
128
+ const shell = yield* Service40;
129
+ const shellSelect = yield* Service81;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service60;
132
- const config = yield* Service41;
131
+ const permission = yield* Service74;
132
+ const config = yield* Service45;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin6 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name5,
151
+ action: name12,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin6 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name5,
188
+ name: name12,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input5,
191
+ input: Input12,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin6 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError4({ id: info.id });
214
+ return yield* new NotFoundError5({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name5,
228
+ type: name12,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name5];
258
+ const tool = event.tools[name12];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin6, exports_shell };
269
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin32, exports_shell2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./vcs-z5v4ffb3.js";
3
+ } from "./job-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info9
7
- } from "./vcs-mv3hx7wz.js";
6
+ Info11
7
+ } from "./job-bmr56wjg.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./job-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
13
  var exports_agent3 = {};
14
14
  __export(exports_agent3, {
15
15
  ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info8
16
+ Info: () => Info7
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info9)
48
+ permission: Schema.optional(Info11)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info8 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info7 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info8, exports_agent3 };
72
+ export { Info7, exports_agent3 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID8,
3
- Service63
4
- } from "./vcs-mq3zggt6.js";
2
+ ID13,
3
+ Service77
4
+ } from "./job-6n5tmcsn.js";
5
5
  import {
6
6
  Ref2,
7
- Service71
8
- } from "./vcs-f00h63f7.js";
7
+ Service64
8
+ } from "./job-42g932k2.js";
9
9
  import {
10
10
  latest2,
11
- Service41
12
- } from "./vcs-eyn1arby.js";
11
+ Service45
12
+ } from "./job-tfskcm3z.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./vcs-c8zwaxmp.js";
15
+ } from "./job-pt1ss6jy.js";
16
16
  import {
17
- Service46
18
- } from "./vcs-2x84g0hg.js";
17
+ Service67
18
+ } from "./job-3k0ta86q.js";
19
19
  import {
20
20
  evaluate2,
21
- Service60
22
- } from "./vcs-cv00cvbs.js";
21
+ Service74
22
+ } from "./job-hder4p07.js";
23
23
  import {
24
- Service19
25
- } from "./vcs-bcq6ngff.js";
24
+ Service24
25
+ } from "./job-4meka6v1.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./vcs-6xb47vfp.js";
28
+ } from "./job-6xb47vfp.js";
29
29
  import {
30
- Service13
31
- } from "./vcs-my4qtva3.js";
30
+ Service9
31
+ } from "./job-s1f6gdw2.js";
32
32
  import {
33
33
  __export
34
- } from "./vcs-9rqn6x4v.js";
34
+ } from "./job-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input9,
40
- Output: () => Output5,
41
- Plugin: () => Plugin10,
39
+ Input: () => Input8,
40
+ Output: () => Output6,
41
+ Plugin: () => Plugin28,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name9
43
+ description: () => description3,
44
+ name: () => name8
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name9 = "subagent";
48
+ var name8 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input9 = Schema.Struct({
59
+ var Input8 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input9 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output5 = Schema.Struct({
75
+ var Output6 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin10 = {
89
+ var Plugin28 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service19;
93
- const jobs = yield* Service46;
94
- const agents = yield* Service63;
95
- const config = yield* Service41;
96
- const permission = yield* Service60;
97
- const models = yield* Service71;
98
- const subagents = yield* Service13;
92
+ const sessions = yield* Service24;
93
+ const jobs = yield* Service67;
94
+ const agents = yield* Service77;
95
+ const config = yield* Service45;
96
+ const permission = yield* Service74;
97
+ const models = yield* Service64;
98
+ const subagents = yield* Service9;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin10 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name9,
118
+ name: name8,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input9,
122
- output: Output5,
120
+ description: description3,
121
+ input: Input8,
122
+ output: Output6,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin10 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name9,
142
+ action: name8,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin10 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID8.make(input.agent),
171
+ agent: ID13.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name9 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name8 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name9];
233
+ const tool = event.tools[name8];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name9, Input9, Output5, description5, Plugin10, exports_subagent };
256
+ export { name8, Input8, Output6, description3, Plugin28, exports_subagent };