@opencode/core 0.0.0-dev-425 → 0.0.0-dev-431

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 (920) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +242 -242
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{provider-4sprtgdv.js → shell-00n2stnc.js} +12 -12
  9. package/dist/chunks/{provider-034tev2y.js → shell-034tev2y.js} +2 -2
  10. package/dist/chunks/{provider-qkrdbb78.js → shell-03qx06a8.js} +18 -18
  11. package/dist/chunks/{provider-k98yejja.js → shell-0ahs07zn.js} +7 -7
  12. package/dist/chunks/{provider-nf1wqckr.js → shell-0d23rnfz.js} +86 -86
  13. package/dist/chunks/{provider-ma7ygzsk.js → shell-0fdr8kfq.js} +11 -11
  14. package/dist/chunks/{provider-jr9m0ztp.js → shell-0hjszs0j.js} +43 -43
  15. package/dist/chunks/{provider-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{provider-fa7rq57z.js → shell-0mbfgmpk.js} +12 -12
  17. package/dist/chunks/{provider-0mtp185z.js → shell-0mtp185z.js} +2 -2
  18. package/dist/chunks/{provider-yceh4n4n.js → shell-0pdkte95.js} +21 -21
  19. package/dist/chunks/{provider-spck9dep.js → shell-0wycx49y.js} +81 -81
  20. package/dist/chunks/{provider-c5zvymhv.js → shell-15qtk8ma.js} +4 -4
  21. package/dist/chunks/{provider-vda4j8hg.js → shell-16czvpr3.js} +43 -43
  22. package/dist/chunks/{provider-pac3ht26.js → shell-193d5v67.js} +11 -11
  23. package/dist/chunks/{provider-92pecssn.js → shell-19sdd6re.js} +11 -11
  24. package/dist/chunks/{provider-pqrezmp9.js → shell-1abavcy4.js} +3 -3
  25. package/dist/chunks/{provider-cjqd6aye.js → shell-1aeagxc9.js} +44 -44
  26. package/dist/chunks/{provider-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
  27. package/dist/chunks/{provider-gybwvmz6.js → shell-1ecnrbv4.js} +6 -6
  28. package/dist/chunks/{provider-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
  29. package/dist/chunks/{provider-ymmand0v.js → shell-1mp7wfbt.js} +11 -11
  30. package/dist/chunks/{provider-ksh0y4ds.js → shell-1r95fj2c.js} +15 -15
  31. package/dist/chunks/{provider-6pwzz7pj.js → shell-1sa8tzgh.js} +3 -3
  32. package/dist/chunks/{provider-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
  33. package/dist/chunks/{provider-546y6032.js → shell-23aqdb85.js} +45 -45
  34. package/dist/chunks/{provider-x1b9htc3.js → shell-23tpq7wy.js} +10 -10
  35. package/dist/chunks/{provider-8b3vzgkx.js → shell-25h84942.js} +4 -4
  36. package/dist/chunks/{provider-0q6rq0wx.js → shell-27jdjj3w.js} +26 -23
  37. package/dist/chunks/{provider-s1qnk4n1.js → shell-28jz28yf.js} +9 -9
  38. package/dist/chunks/{provider-rnzbxsx7.js → shell-29tc179s.js} +59 -59
  39. package/dist/chunks/{provider-stbxy1ts.js → shell-2a9e1g32.js} +14 -14
  40. package/dist/chunks/{provider-52pksey1.js → shell-2jhx4df4.js} +23 -23
  41. package/dist/chunks/{provider-2p60zmnr.js → shell-2p60zmnr.js} +2 -2
  42. package/dist/chunks/{provider-n1v16chy.js → shell-2s9xahkc.js} +5 -5
  43. package/dist/chunks/{provider-174fpaxw.js → shell-2v0ht2yf.js} +11 -11
  44. package/dist/chunks/{provider-9397xyzj.js → shell-2x3j5zyt.js} +17 -17
  45. package/dist/chunks/{provider-0cv8g5av.js → shell-34f0rf5s.js} +24 -24
  46. package/dist/chunks/{provider-90ct6wq4.js → shell-38aws4xb.js} +4 -4
  47. package/dist/chunks/{provider-wg1n8gdk.js → shell-3gkcky3x.js} +4 -4
  48. package/dist/chunks/{provider-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{provider-y021prdf.js → shell-3jq89af5.js} +5 -5
  50. package/dist/chunks/{provider-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
  51. package/dist/chunks/{provider-a02qxqvd.js → shell-3qqjmfxr.js} +344 -344
  52. package/dist/chunks/{provider-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
  53. package/dist/chunks/{provider-v5m218qy.js → shell-44ekhfcb.js} +21 -19
  54. package/dist/chunks/{provider-44pmzq9c.js → shell-44pmzq9c.js} +2 -2
  55. package/dist/chunks/{provider-cf4q40qb.js → shell-45dxp6m0.js} +30 -30
  56. package/dist/chunks/{provider-ypjhy90d.js → shell-473whfzz.js} +12 -12
  57. package/dist/chunks/{provider-7fh49tq1.js → shell-47m6qkpp.js} +5 -5
  58. package/dist/chunks/{provider-41gppdmm.js → shell-49c4kh4a.js} +20 -20
  59. package/dist/chunks/{provider-d8y9a7eq.js → shell-4d9h2s3f.js} +27 -27
  60. package/dist/chunks/{provider-58gn9me1.js → shell-4dvwkgbn.js} +27 -27
  61. package/dist/chunks/{provider-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{provider-wvg71hsd.js → shell-4mnzwx94.js} +11 -11
  63. package/dist/chunks/{provider-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
  64. package/dist/chunks/{provider-4v008n1t.js → shell-4v008n1t.js} +1 -1
  65. package/dist/chunks/{provider-c7a2sp6j.js → shell-50d2ek6j.js} +4 -4
  66. package/dist/chunks/{provider-phkds94a.js → shell-52wx9f6h.js} +11 -11
  67. package/dist/chunks/{provider-2mq8mdn8.js → shell-53e3z61x.js} +24 -24
  68. package/dist/chunks/{provider-dckpms46.js → shell-5j95cqby.js} +29 -29
  69. package/dist/chunks/{provider-mzshr8vq.js → shell-5jphrwgc.js} +32 -32
  70. package/dist/chunks/{provider-54mjf881.js → shell-5ks5dv4j.js} +11 -11
  71. package/dist/chunks/{provider-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{provider-jkdcm5hg.js → shell-5n0rnk8e.js} +4 -4
  73. package/dist/chunks/{provider-y6r1yzhv.js → shell-5vpa3fvx.js} +16 -14
  74. package/dist/chunks/{provider-gmemj5zs.js → shell-62zd5tzk.js} +7 -7
  75. package/dist/chunks/{provider-8bykyf12.js → shell-669m41n7.js} +5 -5
  76. package/dist/chunks/{provider-kz17759e.js → shell-6a1czsq8.js} +17 -17
  77. package/dist/chunks/{provider-nt4skj9g.js → shell-6cwvt60a.js} +20 -20
  78. package/dist/chunks/{provider-b2r3mvad.js → shell-6d8d064b.js} +15 -15
  79. package/dist/chunks/{provider-41cdwvpp.js → shell-71gw76tb.js} +9 -9
  80. package/dist/chunks/{provider-snyypby0.js → shell-7322416x.js} +9 -9
  81. package/dist/chunks/{provider-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
  82. package/dist/chunks/{provider-80mg3ag8.js → shell-775hqbnd.js} +3 -3
  83. package/dist/chunks/{provider-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{provider-7kr66rt3.js → shell-7kr66rt3.js} +1 -1
  85. package/dist/chunks/{provider-b21v141d.js → shell-7nfgxnna.js} +20 -20
  86. package/dist/chunks/{provider-5va8f550.js → shell-7r2je9tv.js} +9 -9
  87. package/dist/chunks/{provider-env1txb6.js → shell-7t0112fz.js} +33 -33
  88. package/dist/chunks/{provider-aedwt843.js → shell-7tpyp9vw.js} +8 -8
  89. package/dist/chunks/{provider-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
  90. package/dist/chunks/{provider-7weczvnd.js → shell-7weczvnd.js} +1 -1
  91. package/dist/chunks/{provider-n0ytpvtj.js → shell-85ngfxgw.js} +20 -20
  92. package/dist/chunks/{provider-89287pr7.js → shell-89287pr7.js} +1 -1
  93. package/dist/chunks/{provider-4d2dtj2f.js → shell-8cg7mtm3.js} +4 -4
  94. package/dist/chunks/{provider-9m6vv5qq.js → shell-8dxzr75f.js} +6 -6
  95. package/dist/chunks/{provider-nyxfy9wj.js → shell-8h403a68.js} +5 -5
  96. package/dist/chunks/{provider-2rmbv6aj.js → shell-8kj1ydmj.js} +16 -16
  97. package/dist/chunks/{provider-t4pmh5wj.js → shell-8smpb43d.js} +9 -9
  98. package/dist/chunks/{provider-5t9swdnx.js → shell-8t99kr38.js} +4 -4
  99. package/dist/chunks/{provider-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
  100. package/dist/chunks/{provider-3n8k58ev.js → shell-8xa2vke9.js} +10 -10
  101. package/dist/chunks/{provider-90zstvax.js → shell-90zstvax.js} +1 -1
  102. package/dist/chunks/{provider-94s5f2xb.js → shell-94s5f2xb.js} +1 -1
  103. package/dist/chunks/{provider-mxske2t2.js → shell-96zc22sb.js} +11 -11
  104. package/dist/chunks/{provider-zscq35gf.js → shell-97vmwqgx.js} +17 -17
  105. package/dist/chunks/{provider-tckbvbtm.js → shell-9p09wbjf.js} +20 -20
  106. package/dist/chunks/{provider-rp7y7c6h.js → shell-9z47e9rq.js} +27 -27
  107. package/dist/chunks/{provider-55fyebza.js → shell-a09rhta5.js} +18 -18
  108. package/dist/chunks/{provider-624434jz.js → shell-a5amgwqt.js} +4 -4
  109. package/dist/chunks/{provider-mrpnjyvf.js → shell-a5fx33f2.js} +2 -2
  110. package/dist/chunks/shell-a610t88q.js +18 -0
  111. package/dist/chunks/{provider-s10yds1m.js → shell-a91jf8s9.js} +11 -9
  112. package/dist/chunks/{provider-cee6vc86.js → shell-a9sg7ebt.js} +17 -17
  113. package/dist/chunks/{provider-h274fqx9.js → shell-aems2vrd.js} +11 -11
  114. package/dist/chunks/{provider-eggfh18w.js → shell-af30khrr.js} +17 -17
  115. package/dist/chunks/{provider-8d4xkafh.js → shell-afcwrtac.js} +29 -29
  116. package/dist/chunks/{provider-wvheyyf0.js → shell-apd33ypq.js} +24 -24
  117. package/dist/chunks/{provider-rtfvcbjv.js → shell-at2q98t1.js} +19 -19
  118. package/dist/chunks/{provider-1cymf1wv.js → shell-awk99s3a.js} +5 -5
  119. package/dist/chunks/{provider-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
  120. package/dist/chunks/{provider-5nnwax6m.js → shell-b6vsg801.js} +5 -5
  121. package/dist/chunks/{provider-2ar72s4v.js → shell-be5f4zms.js} +9 -9
  122. package/dist/chunks/shell-bnf9rp9e.js +26 -0
  123. package/dist/chunks/{provider-bstexjd6.js → shell-bstexjd6.js} +1 -1
  124. package/dist/chunks/{provider-80338099.js → shell-c0k28r9c.js} +10 -10
  125. package/dist/chunks/{provider-fppzhakr.js → shell-c2na2264.js} +2 -2
  126. package/dist/chunks/{provider-9xz8rx1e.js → shell-ca97wcc6.js} +28 -28
  127. package/dist/chunks/{provider-v8thj8wx.js → shell-cags73dr.js} +12 -12
  128. package/dist/chunks/{provider-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
  129. package/dist/chunks/{provider-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
  130. package/dist/chunks/{provider-c7ka5j4r.js → shell-d53n7f21.js} +11 -11
  131. package/dist/chunks/{provider-3zy30qv4.js → shell-d5z4bkxr.js} +15 -15
  132. package/dist/chunks/{provider-hqtkd67t.js → shell-d97evh6t.js} +11 -11
  133. package/dist/chunks/{provider-p3bh0xsg.js → shell-datw7qtq.js} +8 -8
  134. package/dist/chunks/{provider-ayxakjnc.js → shell-ddhhfkrp.js} +21 -21
  135. package/dist/chunks/{provider-bg6z9m5n.js → shell-dfm17qbt.js} +11 -11
  136. package/dist/chunks/{provider-7dks1d1n.js → shell-dpce6frn.js} +6 -6
  137. package/dist/chunks/{provider-qpxk8k0n.js → shell-dt4w99j0.js} +27 -27
  138. package/dist/chunks/{provider-dt77769w.js → shell-dt77769w.js} +1 -1
  139. package/dist/chunks/{provider-wn77a8c9.js → shell-dv96216k.js} +4 -4
  140. package/dist/chunks/{provider-2hqxj3e8.js → shell-dwccqcs6.js} +12 -12
  141. package/dist/chunks/{provider-q1jc1abz.js → shell-e4bj9h60.js} +12 -12
  142. package/dist/chunks/{provider-4rramvaq.js → shell-e797dk3c.js} +27 -27
  143. package/dist/chunks/{provider-e834z07m.js → shell-e834z07m.js} +1 -1
  144. package/dist/chunks/{provider-7e1ydx3z.js → shell-ebwyk99b.js} +27 -27
  145. package/dist/chunks/{provider-jn344vfw.js → shell-ecea3fza.js} +6 -6
  146. package/dist/chunks/{provider-tznkg22c.js → shell-edm37t96.js} +6 -6
  147. package/dist/chunks/{provider-6edbc7zm.js → shell-ep6pe98a.js} +5 -5
  148. package/dist/chunks/{provider-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
  149. package/dist/chunks/{provider-86g45369.js → shell-est5w5t7.js} +4 -4
  150. package/dist/chunks/{provider-v8xpr2tt.js → shell-etrnj9s7.js} +11 -11
  151. package/dist/chunks/{provider-78k8rqvg.js → shell-f2tph26c.js} +5 -5
  152. package/dist/chunks/{provider-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
  153. package/dist/chunks/{provider-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
  154. package/dist/chunks/{provider-pb37mcnd.js → shell-fhg22z1w.js} +22 -22
  155. package/dist/chunks/{provider-y4exmj8g.js → shell-fn0rv3ya.js} +13 -13
  156. package/dist/chunks/{provider-h7xyg9h9.js → shell-fn389wq5.js} +39 -39
  157. package/dist/chunks/{provider-ft3x1tqf.js → shell-frwvv92n.js} +8 -8
  158. package/dist/chunks/{provider-93e35kep.js → shell-ftcdnxrm.js} +12 -12
  159. package/dist/chunks/{provider-azz1ye8b.js → shell-fv59jycd.js} +31 -31
  160. package/dist/chunks/{provider-kpfcexn1.js → shell-fw9za8th.js} +21 -19
  161. package/dist/chunks/{provider-hw3dt85w.js → shell-fwvz4vmm.js} +50 -50
  162. package/dist/chunks/{provider-f20mvry3.js → shell-fy4j1bx8.js} +18 -18
  163. package/dist/chunks/{provider-dkh2xj1z.js → shell-fy5x2faz.js} +9 -9
  164. package/dist/chunks/{provider-q46cgv3h.js → shell-g8k90hx5.js} +11 -11
  165. package/dist/chunks/{provider-htqfs7hb.js → shell-g965az4h.js} +16 -16
  166. package/dist/chunks/{provider-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
  167. package/dist/chunks/{provider-8apdhker.js → shell-gsw2m7k6.js} +21 -21
  168. package/dist/chunks/{provider-3n03fw67.js → shell-gvp7022y.js} +17 -17
  169. package/dist/chunks/{provider-vx8b1jz6.js → shell-gx1fp3rr.js} +18 -18
  170. package/dist/chunks/{provider-tdnw9kda.js → shell-h047cagb.js} +33 -33
  171. package/dist/chunks/{provider-0gwyvsgx.js → shell-h76zyjsb.js} +14 -14
  172. package/dist/chunks/{provider-5jby4dm2.js → shell-hbdj9fbj.js} +21 -21
  173. package/dist/chunks/{provider-r31zvyjt.js → shell-hbvq878w.js} +33 -33
  174. package/dist/chunks/{provider-nqjvae97.js → shell-hccd5xc6.js} +6 -6
  175. package/dist/chunks/{provider-4kjss04h.js → shell-hg96msre.js} +4 -4
  176. package/dist/chunks/{provider-81vnvh8a.js → shell-hgbhmszv.js} +20 -20
  177. package/dist/chunks/{provider-1xzb85s3.js → shell-hkk57xb1.js} +27 -27
  178. package/dist/chunks/{provider-zvnbbcek.js → shell-hmtj6hyv.js} +7 -7
  179. package/dist/chunks/{provider-hpg1pkwy.js → shell-hpg1pkwy.js} +1 -1
  180. package/dist/chunks/{provider-7def1eh5.js → shell-hs3yxfaz.js} +5 -5
  181. package/dist/chunks/{provider-nscq7kby.js → shell-hz4wpdd1.js} +29 -29
  182. package/dist/chunks/{provider-ymysc5j4.js → shell-hzwt6x4n.js} +20 -20
  183. package/dist/chunks/{provider-zkkdtva6.js → shell-j6qs954z.js} +11 -11
  184. package/dist/chunks/{provider-ze75qvmd.js → shell-j9nxzz3g.js} +3 -3
  185. package/dist/chunks/{provider-p9rhhmba.js → shell-j9v2cv05.js} +37 -37
  186. package/dist/chunks/{provider-gtm2a6wz.js → shell-jaqyf2j9.js} +43 -43
  187. package/dist/chunks/{provider-58622k4e.js → shell-jdeeg1qm.js} +17 -17
  188. package/dist/chunks/{provider-msd2a3qm.js → shell-jet8nhkm.js} +8 -8
  189. package/dist/chunks/{provider-ay6wrfq3.js → shell-jjpqhn5j.js} +9 -9
  190. package/dist/chunks/{provider-cb37h3g9.js → shell-jm1fsxv2.js} +43 -43
  191. package/dist/chunks/{provider-j40jtnfz.js → shell-jqhn00se.js} +22 -22
  192. package/dist/chunks/{provider-dcpaety6.js → shell-jrprd1cy.js} +10 -10
  193. package/dist/chunks/{provider-x7x8wt0t.js → shell-js6r64sq.js} +11 -11
  194. package/dist/chunks/{provider-jtnps1zs.js → shell-jtnps1zs.js} +2 -2
  195. package/dist/chunks/{provider-h1ywddef.js → shell-jxe04nha.js} +33 -33
  196. package/dist/chunks/{provider-payghzyh.js → shell-jxzydp3a.js} +15 -15
  197. package/dist/chunks/{provider-k3cx6fhe.js → shell-k3cx6fhe.js} +1 -1
  198. package/dist/chunks/{provider-z8jj1f5x.js → shell-k44714xv.js} +1 -1
  199. package/dist/chunks/{provider-qfz6bxfd.js → shell-k46dd5bg.js} +4 -4
  200. package/dist/chunks/{provider-7m9sc66j.js → shell-k5t1f9zg.js} +2 -2
  201. package/dist/chunks/{provider-70y17xeh.js → shell-kerhshr9.js} +5 -5
  202. package/dist/chunks/{provider-wfgaw5r7.js → shell-kgdx1aw0.js} +16 -16
  203. package/dist/chunks/{provider-ab4q7tsw.js → shell-knwd8g3y.js} +21 -21
  204. package/dist/chunks/{provider-yhgtqtqc.js → shell-krcm13gg.js} +7 -7
  205. package/dist/chunks/{provider-aj9978bz.js → shell-kshj9d31.js} +6 -6
  206. package/dist/chunks/{provider-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
  207. package/dist/chunks/{provider-backbg8m.js → shell-kxpnq44j.js} +25 -25
  208. package/dist/chunks/{provider-p9j2z5m0.js → shell-ky55b5b1.js} +4 -4
  209. package/dist/chunks/{provider-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
  210. package/dist/chunks/{provider-vnf6v5dn.js → shell-m0jv0hdf.js} +13 -13
  211. package/dist/chunks/{provider-m1714858.js → shell-m1714858.js} +1 -1
  212. package/dist/chunks/{provider-njjbze85.js → shell-m5jddc9g.js} +4 -4
  213. package/dist/chunks/{provider-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  214. package/dist/chunks/{provider-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
  215. package/dist/chunks/{provider-2kcp91wn.js → shell-mehg9rzj.js} +7 -7
  216. package/dist/chunks/{provider-h8tz8d21.js → shell-mhn0qtha.js} +9 -9
  217. package/dist/chunks/{provider-q3x79h5v.js → shell-mkkrgnv3.js} +5 -5
  218. package/dist/chunks/{provider-qhy5xrym.js → shell-mpc68446.js} +22 -22
  219. package/dist/chunks/{provider-j58p6fk7.js → shell-mpfhh4bd.js} +8 -8
  220. package/dist/chunks/{provider-mhbkds0y.js → shell-mr0dpwp4.js} +9 -9
  221. package/dist/chunks/{provider-wkj89kcq.js → shell-n3t645yb.js} +15 -15
  222. package/dist/chunks/{provider-3wffx9mc.js → shell-n69phmws.js} +75 -43
  223. package/dist/chunks/{provider-d46dhjdk.js → shell-ne0be9nn.js} +17 -17
  224. package/dist/chunks/{provider-pz8h5s64.js → shell-nkqxqv0c.js} +9 -9
  225. package/dist/chunks/{provider-jjh1yrzz.js → shell-nnrrg0xj.js} +35 -35
  226. package/dist/chunks/{provider-1e5ztcp9.js → shell-npg553gx.js} +189 -189
  227. package/dist/chunks/{provider-n7kjthd5.js → shell-ns98cv9x.js} +18 -18
  228. package/dist/chunks/{provider-kdxnvd2v.js → shell-nt907s04.js} +3 -3
  229. package/dist/chunks/{provider-jv6qbwa1.js → shell-nxcvrfrm.js} +3 -3
  230. package/dist/chunks/{provider-5zrxpy3q.js → shell-p7vhpwh8.js} +5 -5
  231. package/dist/chunks/{provider-y9xk9k2e.js → shell-p80v23td.js} +6 -6
  232. package/dist/chunks/{provider-0kp7995d.js → shell-pe85184h.js} +50 -50
  233. package/dist/chunks/{provider-dnckx5rt.js → shell-pe8ga148.js} +9 -9
  234. package/dist/chunks/{provider-5cem1vp4.js → shell-pg1dvydq.js} +12 -12
  235. package/dist/chunks/{provider-pre1sqds.js → shell-pgqxr0th.js} +4 -4
  236. package/dist/chunks/{provider-v75dtzt0.js → shell-phq0g8v8.js} +7 -7
  237. package/dist/chunks/{provider-n50v2y52.js → shell-pja29dwb.js} +15 -15
  238. package/dist/chunks/{provider-pknna89w.js → shell-pknna89w.js} +1 -1
  239. package/dist/chunks/{provider-6p17b4q9.js → shell-psnt6a2q.js} +47 -47
  240. package/dist/chunks/{provider-qeregzmt.js → shell-pts3bsq2.js} +25 -25
  241. package/dist/chunks/{provider-avz75qha.js → shell-pzk6pdkc.js} +5 -5
  242. package/dist/chunks/{provider-zgydsjmk.js → shell-q6vr76yn.js} +34 -34
  243. package/dist/chunks/{provider-nzgss3b9.js → shell-qajwpk2t.js} +7 -7
  244. package/dist/chunks/{provider-q1dm7ww2.js → shell-qern7cq5.js} +24 -24
  245. package/dist/chunks/{provider-h25b548x.js → shell-qj97zj8m.js} +11 -11
  246. package/dist/chunks/{provider-x1fz8cgm.js → shell-qm8rpqes.js} +5 -5
  247. package/dist/chunks/{provider-8wjgamp7.js → shell-qnqasnye.js} +6 -6
  248. package/dist/chunks/{provider-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
  249. package/dist/chunks/{provider-kets680g.js → shell-qpe0jarf.js} +2 -2
  250. package/dist/chunks/{provider-qqvy8y24.js → shell-qqvy8y24.js} +1 -1
  251. package/dist/chunks/{provider-jad8sfx7.js → shell-qrkgw2b2.js} +4 -4
  252. package/dist/chunks/{provider-e1y225ng.js → shell-qsg8cjn6.js} +8 -8
  253. package/dist/chunks/{provider-hjstnads.js → shell-qtf35215.js} +3 -3
  254. package/dist/chunks/{provider-zeb8ypb2.js → shell-qtvg5wgd.js} +6 -6
  255. package/dist/chunks/{provider-xksw6ev0.js → shell-qzgp0jr4.js} +4 -4
  256. package/dist/chunks/{provider-8aq0b3q8.js → shell-r1bspy9s.js} +18 -18
  257. package/dist/chunks/{provider-gt4s71hs.js → shell-r1x2dnd5.js} +23 -23
  258. package/dist/chunks/{provider-55dnbtkz.js → shell-r3j2m9q7.js} +13 -13
  259. package/dist/chunks/{provider-4f25tdd0.js → shell-r542h3bh.js} +5 -5
  260. package/dist/chunks/{provider-mrg5btk6.js → shell-r8cjbfhs.js} +17 -17
  261. package/dist/chunks/shell-ranh0xe7.js +16 -0
  262. package/dist/chunks/{provider-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
  263. package/dist/chunks/{provider-g050tpn7.js → shell-rjedfxjv.js} +4 -4
  264. package/dist/chunks/{provider-8x29dp53.js → shell-rjkqrftx.js} +18 -18
  265. package/dist/chunks/{provider-wsyb79d4.js → shell-rmpjmhqv.js} +13 -13
  266. package/dist/chunks/{provider-hqvhb0wh.js → shell-rrq56t4b.js} +11 -11
  267. package/dist/chunks/{provider-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
  268. package/dist/chunks/{provider-pfssdf0n.js → shell-rvxhxrx3.js} +9 -9
  269. package/dist/chunks/{provider-5v8qem1n.js → shell-s0h6qfwx.js} +15 -15
  270. package/dist/chunks/{provider-3y5sd8jb.js → shell-s0q158zn.js} +21 -21
  271. package/dist/chunks/{provider-weapmq0e.js → shell-s12w367s.js} +5 -5
  272. package/dist/chunks/{provider-zwpxamqy.js → shell-s1qxcrks.js} +12 -12
  273. package/dist/chunks/{provider-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
  274. package/dist/chunks/{provider-0wh0wreq.js → shell-sb8b9r4h.js} +8 -8
  275. package/dist/chunks/{provider-5m6a7xby.js → shell-sbegqkxp.js} +6 -6
  276. package/dist/chunks/{provider-sbya78hr.js → shell-sbya78hr.js} +1 -1
  277. package/dist/chunks/{provider-21ebwj7d.js → shell-sj254tvt.js} +25 -25
  278. package/dist/chunks/{provider-y6699624.js → shell-sj7nrpyn.js} +8 -8
  279. package/dist/chunks/{provider-c32zfq3f.js → shell-sn2ktsvh.js} +8 -8
  280. package/dist/chunks/{provider-0j7gp832.js → shell-sqjzf8x2.js} +4 -4
  281. package/dist/chunks/{provider-7n31wws5.js → shell-ssme6qjn.js} +4 -4
  282. package/dist/chunks/{provider-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
  283. package/dist/chunks/{provider-szwm4crx.js → shell-szwm4crx.js} +4 -4
  284. package/dist/chunks/{provider-tbwn0emh.js → shell-t3fnm34t.js} +5 -5
  285. package/dist/chunks/{provider-7hbfr3gt.js → shell-t8erkws8.js} +5 -5
  286. package/dist/chunks/{provider-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
  287. package/dist/chunks/{provider-tg7s7b5t.js → shell-tg7s7b5t.js} +1 -1
  288. package/dist/chunks/{provider-mytjvv38.js → shell-tkzv1ga7.js} +18 -18
  289. package/dist/chunks/{provider-tr8x705m.js → shell-tr8x705m.js} +1 -1
  290. package/dist/chunks/{provider-twssxy5n.js → shell-twssxy5n.js} +2 -2
  291. package/dist/chunks/{provider-p72h74xg.js → shell-v2e1rrdw.js} +6 -6
  292. package/dist/chunks/{provider-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
  293. package/dist/chunks/{provider-m2cw6p4v.js → shell-v3v67mam.js} +21 -21
  294. package/dist/chunks/{provider-g2ksfzwc.js → shell-v736ed2x.js} +3 -3
  295. package/dist/chunks/{provider-sbz71ybr.js → shell-vb80j1wh.js} +3 -3
  296. package/dist/chunks/{provider-zp5ndmj8.js → shell-vemd5yc8.js} +9 -9
  297. package/dist/chunks/{provider-yeb3rtca.js → shell-vhxfk71n.js} +37 -37
  298. package/dist/chunks/{provider-nfap6d10.js → shell-vj50rhab.js} +8 -8
  299. package/dist/chunks/{provider-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
  300. package/dist/chunks/shell-vjm3mk0c.js +261 -0
  301. package/dist/chunks/{provider-dm6t6wvg.js → shell-vnbwfcdt.js} +36 -36
  302. package/dist/chunks/{provider-rmt6m6se.js → shell-vrcsa8qx.js} +9 -9
  303. package/dist/chunks/{provider-9f3jsh1d.js → shell-vt4r9rmy.js} +9 -9
  304. package/dist/chunks/{provider-w2eysc6j.js → shell-w2eysc6j.js} +2 -2
  305. package/dist/chunks/{provider-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  306. package/dist/chunks/{provider-qwv9yzsq.js → shell-w5aa2add.js} +3 -3
  307. package/dist/chunks/{provider-bzf8sw1v.js → shell-w6by9cwq.js} +4 -4
  308. package/dist/chunks/{provider-mmx1mfjr.js → shell-w79nt68w.js} +4 -4
  309. package/dist/chunks/{provider-ap5bkdw3.js → shell-w8v0wgg0.js} +26 -26
  310. package/dist/chunks/{provider-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
  311. package/dist/chunks/{provider-wd87259q.js → shell-wd87259q.js} +1 -1
  312. package/dist/chunks/{provider-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
  313. package/dist/chunks/{provider-3rkhzrx8.js → shell-wemtzmhb.js} +26 -26
  314. package/dist/chunks/{provider-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
  315. package/dist/chunks/{provider-tek14qfj.js → shell-wqbwz6hm.js} +8 -8
  316. package/dist/chunks/{provider-w687dnns.js → shell-wr3re1en.js} +4 -4
  317. package/dist/chunks/{provider-nyxvvj5y.js → shell-wvr8xscb.js} +4 -4
  318. package/dist/chunks/{provider-kem3h3gp.js → shell-ww7bwvyr.js} +30 -30
  319. package/dist/chunks/{provider-95sp4hdf.js → shell-wws03c5r.js} +4 -4
  320. package/dist/chunks/{provider-safn44c7.js → shell-x150ncgg.js} +2 -2
  321. package/dist/chunks/{provider-t55cvahq.js → shell-x30drkm9.js} +9 -9
  322. package/dist/chunks/{provider-dx7zpeqp.js → shell-xbrr9mx4.js} +11 -11
  323. package/dist/chunks/{provider-rcbjwvze.js → shell-xpve62cf.js} +4 -4
  324. package/dist/chunks/{provider-ek9mpve2.js → shell-xsehgyx0.js} +5 -5
  325. package/dist/chunks/{provider-4yqm5m6p.js → shell-xwmtk72n.js} +5 -5
  326. package/dist/chunks/{provider-g148ep0a.js → shell-xzv52cwv.js} +3 -3
  327. package/dist/chunks/{provider-vt3w9sen.js → shell-y30x783a.js} +42 -42
  328. package/dist/chunks/{provider-mbp2g4gy.js → shell-y3r9dpew.js} +16 -16
  329. package/dist/chunks/{provider-hyh06f6h.js → shell-y5knf827.js} +26 -26
  330. package/dist/chunks/{provider-55x429hg.js → shell-y74ve27q.js} +4 -4
  331. package/dist/chunks/{provider-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{provider-sczhbnde.js → shell-ykzqzvbr.js} +14 -14
  333. package/dist/chunks/{provider-c3zb5mpn.js → shell-yp9xkj78.js} +21 -21
  334. package/dist/chunks/{provider-yr705xyq.js → shell-yr705xyq.js} +1 -1
  335. package/dist/chunks/{provider-cwmxe7a1.js → shell-ysh69y78.js} +21 -21
  336. package/dist/chunks/{provider-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
  337. package/dist/chunks/{provider-ram30ap6.js → shell-yw61gdr6.js} +81 -81
  338. package/dist/chunks/{provider-2j5gpsjp.js → shell-zenbbnxs.js} +11 -11
  339. package/dist/chunks/{provider-zm27gg57.js → shell-zm27gg57.js} +2 -2
  340. package/dist/chunks/{provider-wkx0wxf8.js → shell-zmdx3j86.js} +39 -31
  341. package/dist/codemode/catalog.js +1 -1
  342. package/dist/codemode/execution.js +5 -5
  343. package/dist/codemode/fetch.js +145 -145
  344. package/dist/codemode/instructions.js +7 -7
  345. package/dist/codemode/tool.js +151 -151
  346. package/dist/command.js +96 -96
  347. package/dist/config/discovery.js +95 -95
  348. package/dist/config/integration.js +3 -3
  349. package/dist/config/managed.js +1 -1
  350. package/dist/config/markdown.js +1 -1
  351. package/dist/config/normalize.js +112 -112
  352. package/dist/config/plugin/agent.js +130 -130
  353. package/dist/config/plugin/command.js +229 -229
  354. package/dist/config/plugin/compaction.js +171 -171
  355. package/dist/config/plugin/compatibility.js +150 -150
  356. package/dist/config/plugin/entry-observer.js +1 -1
  357. package/dist/config/plugin/formatter.js +131 -131
  358. package/dist/config/plugin/image.js +130 -130
  359. package/dist/config/plugin/instruction.js +130 -130
  360. package/dist/config/plugin/location-watcher.js +132 -132
  361. package/dist/config/plugin/mcp.js +137 -137
  362. package/dist/config/plugin/policy.js +130 -130
  363. package/dist/config/plugin/provider.js +130 -130
  364. package/dist/config/plugin/reference.js +132 -132
  365. package/dist/config/plugin/shell.js +132 -132
  366. package/dist/config/plugin/skill-file.js +146 -146
  367. package/dist/config/plugin/skill-scan.js +1 -1
  368. package/dist/config/plugin/skill.js +153 -153
  369. package/dist/config/plugin/snapshot.js +130 -130
  370. package/dist/config/plugin/source.js +131 -131
  371. package/dist/config/plugin/tool-output.js +131 -131
  372. package/dist/config/plugin/websearch.js +131 -131
  373. package/dist/config/plugin/worktree.js +132 -132
  374. package/dist/config/variable.js +1 -1
  375. package/dist/config/watch.js +1 -1
  376. package/dist/config.js +135 -135
  377. package/dist/console-access.js +1 -1
  378. package/dist/credential/sql.js +2 -2
  379. package/dist/credential.js +84 -84
  380. package/dist/database/database.js +77 -77
  381. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  382. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  383. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  384. package/dist/database/drizzle/index.js +15 -15
  385. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  387. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  388. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  389. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  390. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  391. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  394. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  395. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  396. package/dist/database/drizzle.js +16 -16
  397. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  398. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  399. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  400. package/dist/database/migration/20260225215848_workspace.js +1 -1
  401. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  402. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  403. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  404. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  405. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  406. package/dist/database/migration/20260323234822_events.js +1 -1
  407. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  408. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  409. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  410. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  411. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  412. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  413. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  414. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  415. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  416. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  417. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  418. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  419. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  420. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  421. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  422. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  423. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  424. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  425. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  426. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  427. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  428. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  429. package/dist/database/migration/20260611035744_credential.js +1 -1
  430. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  431. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  432. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  433. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  434. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  435. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  436. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  437. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  438. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  439. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  440. package/dist/database/migration/20260812213948_worktree.js +1 -1
  441. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  442. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  443. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  444. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  445. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  446. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  447. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  448. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  449. package/dist/database/migration/20261025123711_blob.js +1 -1
  450. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  451. package/dist/database/migration/20261026223005_schedule.js +1 -1
  452. package/dist/database/migration/20261029002625_session_part.js +1 -1
  453. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  454. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  455. package/dist/database/migration/20261030054400_job.js +1 -1
  456. package/dist/database/migration.gen.js +60 -60
  457. package/dist/database/migration.js +62 -62
  458. package/dist/database/path.js +2 -2
  459. package/dist/database/schema.gen.js +1 -1
  460. package/dist/database/schema.sql.js +1 -1
  461. package/dist/database/sqlite.bun.js +1 -1
  462. package/dist/database/sqlite.js +1 -1
  463. package/dist/database/sqlite.node.js +1 -1
  464. package/dist/database/sqlite.workerd.js +1 -1
  465. package/dist/database/v1-migration.bun.js +98 -98
  466. package/dist/database/v1-migration.js +1 -1
  467. package/dist/effect/app-node-builder.js +430 -430
  468. package/dist/effect/app-node-platform.js +2 -2
  469. package/dist/effect/keyed-mutex.js +3 -3
  470. package/dist/effect/websocket-constructor.js +1 -1
  471. package/dist/environment/driver.js +1 -1
  472. package/dist/environment/environment.js +106 -106
  473. package/dist/environment/exec-defaults.js +2 -2
  474. package/dist/environment/files.js +1 -1
  475. package/dist/environment/index.js +106 -106
  476. package/dist/environment/local.js +2 -2
  477. package/dist/environment/memory.js +2 -2
  478. package/dist/environment/unavailable.js +3 -3
  479. package/dist/event/sql.js +1 -1
  480. package/dist/event-logger.js +81 -81
  481. package/dist/file-access.js +156 -156
  482. package/dist/file-mutation.js +107 -107
  483. package/dist/file-retention.js +1 -1
  484. package/dist/filesystem/fff.bun.js +2 -2
  485. package/dist/filesystem/fff.js +1 -1
  486. package/dist/filesystem/fff.node.js +2 -2
  487. package/dist/filesystem/fff.workerd.js +2 -2
  488. package/dist/filesystem/file-watch.js +88 -88
  489. package/dist/filesystem/location-watcher-policy.js +6 -6
  490. package/dist/filesystem/location-watcher.js +245 -245
  491. package/dist/filesystem/protected.js +1 -1
  492. package/dist/filesystem/search.js +112 -112
  493. package/dist/filesystem/watcher-binding.js +1 -1
  494. package/dist/filesystem/watcher.js +11 -11
  495. package/dist/filesystem.js +115 -115
  496. package/dist/form.js +89 -89
  497. package/dist/formatter/builtins.js +4 -4
  498. package/dist/formatter.js +100 -100
  499. package/dist/generate.js +116 -116
  500. package/dist/git.js +7 -7
  501. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  502. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  503. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  504. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  505. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  506. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  507. package/dist/github-copilot/copilot-provider.js +17 -17
  508. package/dist/github-copilot/models.js +104 -104
  509. package/dist/github-copilot/openai-compatible-error.js +1 -1
  510. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  511. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  512. package/dist/github-copilot/responses/openai-error.js +1 -1
  513. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  514. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  515. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  516. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  517. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  518. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  519. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  520. package/dist/image/notice.js +3 -3
  521. package/dist/image/photon-normalize.js +1 -1
  522. package/dist/image/photon-worker.js +1 -1
  523. package/dist/image/photon.js +4 -4
  524. package/dist/image.js +6 -6
  525. package/dist/instance/service.js +5 -5
  526. package/dist/instance.js +421 -421
  527. package/dist/instruction-discovery.js +93 -93
  528. package/dist/instructions/builtins.js +100 -100
  529. package/dist/instructions/index.js +3 -3
  530. package/dist/integration/connection.js +3 -3
  531. package/dist/integration.js +96 -96
  532. package/dist/job/sql.js +2 -2
  533. package/dist/job.js +88 -88
  534. package/dist/kv/sql.js +2 -2
  535. package/dist/kv.js +84 -84
  536. package/dist/location-activity.js +172 -172
  537. package/dist/location-lifecycle.js +150 -150
  538. package/dist/location-service-map.js +99 -99
  539. package/dist/location-services.js +418 -418
  540. package/dist/location.js +94 -94
  541. package/dist/managed-policy.js +3 -3
  542. package/dist/mcp/client.js +104 -104
  543. package/dist/mcp/index.js +120 -120
  544. package/dist/mcp/instructions.js +181 -181
  545. package/dist/mcp/oauth.js +86 -86
  546. package/dist/mcp/socket-client.js +1 -1
  547. package/dist/mcp/stdio.js +103 -103
  548. package/dist/mime.js +1 -1
  549. package/dist/modal/models.js +104 -104
  550. package/dist/model-resolver.js +112 -112
  551. package/dist/model-retry.js +1 -1
  552. package/dist/model.js +113 -113
  553. package/dist/models-dev/v1.js +1 -1
  554. package/dist/models-dev.js +121 -121
  555. package/dist/oauth/page.js +1 -1
  556. package/dist/permission/saved.js +93 -93
  557. package/dist/permission/sql.js +5 -5
  558. package/dist/permission.js +153 -153
  559. package/dist/persistent-pty/binary.bun.js +1 -1
  560. package/dist/persistent-pty/daemon.js +1 -1
  561. package/dist/persistent-pty/index.js +99 -99
  562. package/dist/persistent-pty/pty-binding.js +1 -1
  563. package/dist/persistent-pty.js +86 -86
  564. package/dist/plugin/agent.js +85 -85
  565. package/dist/plugin/command.js +113 -113
  566. package/dist/plugin/goal.js +3 -3
  567. package/dist/plugin/hooks.js +5 -5
  568. package/dist/plugin/host.js +236 -236
  569. package/dist/plugin/identity.js +5 -5
  570. package/dist/plugin/instance.js +5 -5
  571. package/dist/plugin/internal.js +397 -397
  572. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  573. package/dist/plugin/models-dev.js +110 -110
  574. package/dist/plugin/module.js +129 -129
  575. package/dist/plugin/optimize.js +2 -2
  576. package/dist/plugin/plan.js +146 -146
  577. package/dist/plugin/promise.js +1 -1
  578. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  579. package/dist/plugin/provider/azure.js +132 -132
  580. package/dist/plugin/provider/cerebras.js +1 -1
  581. package/dist/plugin/provider/chatgpt.js +130 -130
  582. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  583. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  588. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  589. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  590. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  591. package/dist/plugin/provider/claude-agent/index.js +145 -145
  592. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  593. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  595. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  596. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  597. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  600. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  601. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  602. package/dist/plugin/provider/claude-agent/session.js +114 -114
  603. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  604. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  606. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  607. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  610. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  613. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  614. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  615. package/dist/plugin/provider/configured.js +126 -126
  616. package/dist/plugin/provider/credential-settings.js +85 -85
  617. package/dist/plugin/provider/databricks.js +1 -1
  618. package/dist/plugin/provider/digitalocean.js +108 -108
  619. package/dist/plugin/provider/dynamic.js +2 -2
  620. package/dist/plugin/provider/github-copilot.js +110 -110
  621. package/dist/plugin/provider/gitlab.js +107 -107
  622. package/dist/plugin/provider/google-vertex.js +127 -127
  623. package/dist/plugin/provider/kilo.js +1 -1
  624. package/dist/plugin/provider/llmgateway.js +89 -89
  625. package/dist/plugin/provider/lmstudio.js +139 -139
  626. package/dist/plugin/provider/local.js +136 -136
  627. package/dist/plugin/provider/modal.js +107 -107
  628. package/dist/plugin/provider/neon.js +1 -1
  629. package/dist/plugin/provider/nvidia.js +1 -1
  630. package/dist/plugin/provider/ollama.js +139 -139
  631. package/dist/plugin/provider/openai-context-caps.js +103 -103
  632. package/dist/plugin/provider/openai.js +130 -130
  633. package/dist/plugin/provider/opencode.js +132 -132
  634. package/dist/plugin/provider/openrouter.js +104 -104
  635. package/dist/plugin/provider/poe.js +90 -90
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +87 -87
  638. package/dist/plugin/provider/sap-ai-core.js +104 -104
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  641. package/dist/plugin/provider/vllm.js +139 -139
  642. package/dist/plugin/provider/xai.js +104 -104
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +212 -212
  645. package/dist/plugin/sdk.js +87 -87
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +147 -147
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +409 -409
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +97 -97
  654. package/dist/plugin/verbosity.js +106 -106
  655. package/dist/plugin/warming.js +126 -126
  656. package/dist/plugin/websearch/exa.js +5 -5
  657. package/dist/plugin/websearch/firecrawl.js +8 -8
  658. package/dist/plugin/websearch/index.js +9 -9
  659. package/dist/plugin/websearch/mcp.js +2 -2
  660. package/dist/plugin/websearch/parallel.js +8 -8
  661. package/dist/plugin/websearch/tavily.js +6 -6
  662. package/dist/plugin/websearch/tinyfish.js +8 -8
  663. package/dist/plugin.js +243 -243
  664. package/dist/project/icon.js +5 -5
  665. package/dist/project/schema.js +2 -2
  666. package/dist/project/sql.js +4 -4
  667. package/dist/project.js +93 -93
  668. package/dist/provider.js +110 -110
  669. package/dist/pty/protocol.js +1 -1
  670. package/dist/pty/ticket.js +1 -1
  671. package/dist/pty.js +101 -101
  672. package/dist/reference/instructions.js +101 -101
  673. package/dist/reference.js +103 -103
  674. package/dist/repository-cache.js +93 -93
  675. package/dist/repository.js +1 -1
  676. package/dist/ripgrep/binary.js +2 -2
  677. package/dist/ripgrep.js +110 -110
  678. package/dist/rpc.js +99 -99
  679. package/dist/schedule/check.js +241 -241
  680. package/dist/schedule/sql.js +6 -6
  681. package/dist/schedule.js +243 -243
  682. package/dist/schema.js +1 -1
  683. package/dist/session/affinity.js +1 -1
  684. package/dist/session/background.js +1 -1
  685. package/dist/session/blob.js +129 -129
  686. package/dist/session/command.js +85 -85
  687. package/dist/session/compaction.js +173 -173
  688. package/dist/session/context.js +198 -198
  689. package/dist/session/diff.js +101 -101
  690. package/dist/session/environment.js +5 -5
  691. package/dist/session/error.js +5 -5
  692. package/dist/session/event.js +1 -1
  693. package/dist/session/execution/restart.js +243 -243
  694. package/dist/session/execution.js +161 -161
  695. package/dist/session/generate.js +198 -198
  696. package/dist/session/history.js +136 -136
  697. package/dist/session/inbox.js +145 -145
  698. package/dist/session/info.js +3 -3
  699. package/dist/session/instruction-entry.js +90 -90
  700. package/dist/session/instruction-state.js +8 -8
  701. package/dist/session/instructions.js +143 -143
  702. package/dist/session/message-updater.js +4 -4
  703. package/dist/session/message.js +1 -1
  704. package/dist/session/model-request.js +168 -168
  705. package/dist/session/model-transport.js +9 -9
  706. package/dist/session/move.js +165 -165
  707. package/dist/session/projector.js +143 -143
  708. package/dist/session/prompt.js +148 -148
  709. package/dist/session/recent-text.js +1 -1
  710. package/dist/session/revert.js +139 -139
  711. package/dist/session/run-coordinator.js +1 -1
  712. package/dist/session/runner/index.js +3 -3
  713. package/dist/session/runner/llm.js +250 -250
  714. package/dist/session/runner/max-steps.js +1 -1
  715. package/dist/session/runner/model.js +113 -113
  716. package/dist/session/runner/publish-llm-event.js +149 -149
  717. package/dist/session/runner/retry.js +5 -5
  718. package/dist/session/runner/step.js +163 -163
  719. package/dist/session/runner/to-llm-message.js +137 -137
  720. package/dist/session/schema.js +5 -5
  721. package/dist/session/session.js +181 -181
  722. package/dist/session/shell.js +144 -144
  723. package/dist/session/skill.js +147 -147
  724. package/dist/session/sql.js +5 -5
  725. package/dist/session/stats.js +84 -84
  726. package/dist/session/store.js +142 -142
  727. package/dist/session/stored.js +2 -2
  728. package/dist/session/subagent-completion.js +3 -3
  729. package/dist/session/subagent-job.js +229 -229
  730. package/dist/session/system-prompt.js +3 -3
  731. package/dist/session/title.js +202 -202
  732. package/dist/session/to-session-error.js +148 -148
  733. package/dist/session/transfer.js +234 -234
  734. package/dist/session/usage.js +3 -3
  735. package/dist/session.js +235 -235
  736. package/dist/shared-cache.js +5 -5
  737. package/dist/shell/parse.js +6 -6
  738. package/dist/shell/result.js +1 -1
  739. package/dist/shell/scan.js +1 -1
  740. package/dist/shell/select.js +13 -13
  741. package/dist/shell.js +146 -146
  742. package/dist/skill/discovery.js +6 -6
  743. package/dist/skill/instructions.js +151 -151
  744. package/dist/skill.js +156 -156
  745. package/dist/snapshot.js +104 -104
  746. package/dist/state.js +1 -1
  747. package/dist/tool/html-markdown.js +1 -1
  748. package/dist/tool/http-body.js +1 -1
  749. package/dist/tool/mcp.js +178 -178
  750. package/dist/tool/plugin/artifact.js +228 -228
  751. package/dist/tool/plugin/edit.js +162 -162
  752. package/dist/tool/plugin/file-diff.js +1 -1
  753. package/dist/tool/plugin/glob.js +166 -166
  754. package/dist/tool/plugin/grep.js +164 -164
  755. package/dist/tool/plugin/image-generate.js +237 -237
  756. package/dist/tool/plugin/mcp-resource.js +162 -162
  757. package/dist/tool/plugin/opencode.js +161 -161
  758. package/dist/tool/plugin/patch.js +166 -166
  759. package/dist/tool/plugin/question.js +146 -146
  760. package/dist/tool/plugin/read.js +169 -169
  761. package/dist/tool/plugin/schedule.js +247 -247
  762. package/dist/tool/plugin/shell.js +235 -235
  763. package/dist/tool/plugin/skill.js +155 -155
  764. package/dist/tool/plugin/subagent.js +236 -236
  765. package/dist/tool/plugin/todo.js +153 -153
  766. package/dist/tool/plugin/webfetch.js +155 -155
  767. package/dist/tool/plugin/websearch.js +155 -155
  768. package/dist/tool/plugin/write.js +164 -164
  769. package/dist/tool/read-filesystem.js +115 -115
  770. package/dist/tool/runtime.js +1 -1
  771. package/dist/tool-output.js +7 -7
  772. package/dist/tool.js +161 -161
  773. package/dist/types/mcp/index.d.ts +5 -0
  774. package/dist/types/plugin/provider/credential-settings.d.ts +2 -2
  775. package/dist/types/tool/mcp.d.ts +4 -1
  776. package/dist/usage-limits.js +100 -100
  777. package/dist/util/error-summary.js +1 -1
  778. package/dist/util/git-executable.js +3 -3
  779. package/dist/util/lazy.js +1 -1
  780. package/dist/util/slug.js +1 -1
  781. package/dist/util/token.js +1 -1
  782. package/dist/util/which.js +1 -1
  783. package/dist/util/wildcard.js +1 -1
  784. package/dist/v1/config/agent.js +7 -7
  785. package/dist/v1/config/command.js +5 -5
  786. package/dist/v1/config/mcp.js +4 -4
  787. package/dist/v1/config/migrate.js +105 -105
  788. package/dist/v1/config/permission.js +3 -3
  789. package/dist/v1/config/plugin.js +3 -3
  790. package/dist/v1/config/provider-options.js +1 -1
  791. package/dist/v1/config/provider.js +4 -4
  792. package/dist/variant.js +106 -106
  793. package/dist/vcs/patch.js +1 -1
  794. package/dist/vcs.js +102 -102
  795. package/dist/voice.js +95 -95
  796. package/dist/websearch.js +101 -101
  797. package/dist/wellknown/plugin.js +87 -87
  798. package/dist/wellknown.js +90 -90
  799. package/dist/workspace/driver.js +5 -5
  800. package/dist/workspace/sql.js +1 -1
  801. package/dist/workspace.js +93 -93
  802. package/dist/worktree/directory.js +2 -2
  803. package/dist/worktree/git.js +11 -11
  804. package/dist/worktree/sql.js +5 -5
  805. package/dist/worktree/strategies.js +102 -102
  806. package/dist/worktree.js +113 -113
  807. package/package.json +8 -8
  808. package/dist/chunks/provider-208nbn7x.js +0 -16
  809. package/dist/chunks/provider-6zjm2phc.js +0 -18
  810. package/dist/chunks/provider-pdr5pber.js +0 -261
  811. package/dist/chunks/provider-qb74t3th.js +0 -26
  812. /package/dist/chunks/{provider-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  813. /package/dist/chunks/{provider-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  814. /package/dist/chunks/{provider-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  815. /package/dist/chunks/{provider-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  816. /package/dist/chunks/{provider-1kah00gy.js → shell-1kah00gy.js} +0 -0
  817. /package/dist/chunks/{provider-1pevy3nx.js → shell-1pevy3nx.js} +0 -0
  818. /package/dist/chunks/{provider-24dcb14g.js → shell-24dcb14g.js} +0 -0
  819. /package/dist/chunks/{provider-2710q6r3.js → shell-2710q6r3.js} +0 -0
  820. /package/dist/chunks/{provider-2bv980vf.js → shell-2bv980vf.js} +0 -0
  821. /package/dist/chunks/{provider-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  822. /package/dist/chunks/{provider-359p4xyc.js → shell-359p4xyc.js} +0 -0
  823. /package/dist/chunks/{provider-3asan66x.js → shell-3asan66x.js} +0 -0
  824. /package/dist/chunks/{provider-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  825. /package/dist/chunks/{provider-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  826. /package/dist/chunks/{provider-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  827. /package/dist/chunks/{provider-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  828. /package/dist/chunks/{provider-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
  829. /package/dist/chunks/{provider-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  830. /package/dist/chunks/{provider-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  831. /package/dist/chunks/{provider-53557ph1.js → shell-53557ph1.js} +0 -0
  832. /package/dist/chunks/{provider-550bvhaj.js → shell-550bvhaj.js} +0 -0
  833. /package/dist/chunks/{provider-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
  834. /package/dist/chunks/{provider-6agm2x70.js → shell-6agm2x70.js} +0 -0
  835. /package/dist/chunks/{provider-6prwharc.js → shell-6prwharc.js} +0 -0
  836. /package/dist/chunks/{provider-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  837. /package/dist/chunks/{provider-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  838. /package/dist/chunks/{provider-7m9af43g.js → shell-7m9af43g.js} +0 -0
  839. /package/dist/chunks/{provider-7stb81gk.js → shell-7stb81gk.js} +0 -0
  840. /package/dist/chunks/{provider-822emrt2.js → shell-822emrt2.js} +0 -0
  841. /package/dist/chunks/{provider-84wd9syh.js → shell-84wd9syh.js} +0 -0
  842. /package/dist/chunks/{provider-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  843. /package/dist/chunks/{provider-8n3pysct.js → shell-8n3pysct.js} +0 -0
  844. /package/dist/chunks/{provider-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  845. /package/dist/chunks/{provider-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  846. /package/dist/chunks/{provider-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  847. /package/dist/chunks/{provider-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  848. /package/dist/chunks/{provider-af5trqkr.js → shell-af5trqkr.js} +0 -0
  849. /package/dist/chunks/{provider-afrmfg78.js → shell-afrmfg78.js} +0 -0
  850. /package/dist/chunks/{provider-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  851. /package/dist/chunks/{provider-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  852. /package/dist/chunks/{provider-beh6qq61.js → shell-beh6qq61.js} +0 -0
  853. /package/dist/chunks/{provider-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  854. /package/dist/chunks/{provider-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  855. /package/dist/chunks/{provider-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  856. /package/dist/chunks/{provider-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
  857. /package/dist/chunks/{provider-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  858. /package/dist/chunks/{provider-d9fn303g.js → shell-d9fn303g.js} +0 -0
  859. /package/dist/chunks/{provider-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  860. /package/dist/chunks/{provider-dap0rakb.js → shell-dap0rakb.js} +0 -0
  861. /package/dist/chunks/{provider-df08tz66.js → shell-df08tz66.js} +0 -0
  862. /package/dist/chunks/{provider-dy18nga0.js → shell-dy18nga0.js} +0 -0
  863. /package/dist/chunks/{provider-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  864. /package/dist/chunks/{provider-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  865. /package/dist/chunks/{provider-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
  866. /package/dist/chunks/{provider-ec1grn59.js → shell-ec1grn59.js} +0 -0
  867. /package/dist/chunks/{provider-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  868. /package/dist/chunks/{provider-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  869. /package/dist/chunks/{provider-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  870. /package/dist/chunks/{provider-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  871. /package/dist/chunks/{provider-faypxj3z.js → shell-faypxj3z.js} +0 -0
  872. /package/dist/chunks/{provider-fd410y7t.js → shell-fd410y7t.js} +0 -0
  873. /package/dist/chunks/{provider-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
  874. /package/dist/chunks/{provider-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  875. /package/dist/chunks/{provider-g86h250q.js → shell-g86h250q.js} +0 -0
  876. /package/dist/chunks/{provider-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  877. /package/dist/chunks/{provider-gftt206x.js → shell-gftt206x.js} +0 -0
  878. /package/dist/chunks/{provider-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
  879. /package/dist/chunks/{provider-hk9envan.js → shell-hk9envan.js} +0 -0
  880. /package/dist/chunks/{provider-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  881. /package/dist/chunks/{provider-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  882. /package/dist/chunks/{provider-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  883. /package/dist/chunks/{provider-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  884. /package/dist/chunks/{provider-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  885. /package/dist/chunks/{provider-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
  886. /package/dist/chunks/{provider-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  887. /package/dist/chunks/{provider-m18g726c.js → shell-m18g726c.js} +0 -0
  888. /package/dist/chunks/{provider-mp448xyj.js → shell-mp448xyj.js} +0 -0
  889. /package/dist/chunks/{provider-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  890. /package/dist/chunks/{provider-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  891. /package/dist/chunks/{provider-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  892. /package/dist/chunks/{provider-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
  893. /package/dist/chunks/{provider-njntx4h6.js → shell-njntx4h6.js} +0 -0
  894. /package/dist/chunks/{provider-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
  895. /package/dist/chunks/{provider-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  896. /package/dist/chunks/{provider-q74kybfr.js → shell-q74kybfr.js} +0 -0
  897. /package/dist/chunks/{provider-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  898. /package/dist/chunks/{provider-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  899. /package/dist/chunks/{provider-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  900. /package/dist/chunks/{provider-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  901. /package/dist/chunks/{provider-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  902. /package/dist/chunks/{provider-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  903. /package/dist/chunks/{provider-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  904. /package/dist/chunks/{provider-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  905. /package/dist/chunks/{provider-syrav9an.js → shell-syrav9an.js} +0 -0
  906. /package/dist/chunks/{provider-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
  907. /package/dist/chunks/{provider-ty7weeps.js → shell-ty7weeps.js} +0 -0
  908. /package/dist/chunks/{provider-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  909. /package/dist/chunks/{provider-vtarvj67.js → shell-vtarvj67.js} +0 -0
  910. /package/dist/chunks/{provider-w803qqfp.js → shell-w803qqfp.js} +0 -0
  911. /package/dist/chunks/{provider-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  912. /package/dist/chunks/{provider-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  913. /package/dist/chunks/{provider-wtztk69x.js → shell-wtztk69x.js} +0 -0
  914. /package/dist/chunks/{provider-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  915. /package/dist/chunks/{provider-x61499pn.js → shell-x61499pn.js} +0 -0
  916. /package/dist/chunks/{provider-y44na4kk.js → shell-y44na4kk.js} +0 -0
  917. /package/dist/chunks/{provider-y8f7s663.js → shell-y8f7s663.js} +0 -0
  918. /package/dist/chunks/{provider-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  919. /package/dist/chunks/{provider-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  920. /package/dist/chunks/{provider-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID14
3
- } from "./provider-4rramvaq.js";
2
+ ID16
3
+ } from "./shell-e797dk3c.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID14.make("gpt-5-chat-latest"), ID14.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID16.make("gpt-5-chat-latest"), ID16.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  useragent2
3
- } from "./provider-h25b548x.js";
3
+ } from "./shell-qj97zj8m.js";
4
4
  import {
5
5
  Service89
6
- } from "./provider-njjbze85.js";
6
+ } from "./shell-m5jddc9g.js";
7
7
  import {
8
8
  ID22,
9
9
  Event21,
10
10
  Service88
11
- } from "./provider-n1v16chy.js";
11
+ } from "./shell-2s9xahkc.js";
12
12
  import {
13
13
  key2
14
- } from "./provider-95sp4hdf.js";
14
+ } from "./shell-wws03c5r.js";
15
15
  import {
16
- ID17,
16
+ ID18,
17
17
  MethodID2
18
- } from "./provider-ymysc5j4.js";
18
+ } from "./shell-hzwt6x4n.js";
19
19
  import {
20
20
  which2
21
- } from "./provider-qaymkmh1.js";
21
+ } from "./shell-qaymkmh1.js";
22
22
  import {
23
- ID16,
24
- Service80
25
- } from "./provider-2mq8mdn8.js";
23
+ ID17,
24
+ Service82
25
+ } from "./shell-53e3z61x.js";
26
26
  import {
27
- ID14
28
- } from "./provider-4rramvaq.js";
27
+ ID16
28
+ } from "./shell-e797dk3c.js";
29
29
  import {
30
30
  interval2,
31
- Service14,
31
+ Service78,
32
32
  fingerprint2
33
- } from "./provider-c32zfq3f.js";
33
+ } from "./shell-sn2ktsvh.js";
34
34
  import {
35
35
  configuredSettings2
36
- } from "./provider-gybwvmz6.js";
36
+ } from "./shell-1ecnrbv4.js";
37
37
  import {
38
38
  switched2
39
- } from "./provider-78k8rqvg.js";
39
+ } from "./shell-f2tph26c.js";
40
40
 
41
41
  // src/plugin/provider/azure.ts
42
42
  import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -71,19 +71,19 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
71
71
  }));
72
72
  var ResourceQuery = Schema.Struct({ query: Schema.String });
73
73
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
74
- function make15(endpoints = {
74
+ function make18(endpoints = {
75
75
  resource: (name) => `https://${name}.openai.azure.com/openai`,
76
76
  management: "https://management.azure.com"
77
77
  }) {
78
78
  return define({
79
79
  id: "opencode.provider.azure",
80
80
  effect: Effect.fn(function* (ctx) {
81
- const configured = yield* configuredSettings2(ID16.azure);
81
+ const configured = yield* configuredSettings2(ID17.azure);
82
82
  const processes = yield* AppProcess.Service;
83
83
  const bus = yield* Service89;
84
84
  const credentials = yield* Service88;
85
- const providers = yield* Service80;
86
- const cache = yield* Service14;
85
+ const providers = yield* Service82;
86
+ const cache = yield* Service78;
87
87
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
88
88
  const tokens = new Map;
89
89
  const resourceIDs = new Map;
@@ -109,11 +109,11 @@ function make15(endpoints = {
109
109
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
110
110
  yield* ctx.integration.transform((editor) => {
111
111
  editor.method.update({
112
- integrationID: ID16.azure,
112
+ integrationID: ID17.azure,
113
113
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
114
114
  });
115
115
  editor.method.update({
116
- integrationID: ID16.azure,
116
+ integrationID: ID17.azure,
117
117
  method: {
118
118
  type: "key",
119
119
  label: "API key",
@@ -131,7 +131,7 @@ function make15(endpoints = {
131
131
  if (!available)
132
132
  return;
133
133
  editor.method.update({
134
- integrationID: ID16.azure,
134
+ integrationID: ID17.azure,
135
135
  method: {
136
136
  id: methodID,
137
137
  type: "external",
@@ -151,7 +151,7 @@ function make15(endpoints = {
151
151
  });
152
152
  });
153
153
  const load = Effect.fn("AzurePlugin.load")(function* () {
154
- const connection = yield* ctx.integration.connection.active(ID16.azure);
154
+ const connection = yield* ctx.integration.connection.active(ID17.azure);
155
155
  const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
156
156
  return { connection, resource: credentialResource(stored?.value) };
157
157
  });
@@ -191,7 +191,7 @@ function make15(endpoints = {
191
191
  }));
192
192
  const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
193
193
  const connection = loaded.connection;
194
- const settings = (yield* providers.get(ID16.azure))?.settings;
194
+ const settings = (yield* providers.get(ID17.azure))?.settings;
195
195
  const name = loaded.resource ?? resolveResourceName(settings);
196
196
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
197
197
  if (loaded.connection !== connection)
@@ -221,11 +221,11 @@ function make15(endpoints = {
221
221
  });
222
222
  const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
223
223
  const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
224
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID16.azure)))
224
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID17.azure)))
225
225
  return;
226
226
  if (Equal.equals(found, loaded.deployments))
227
227
  return;
228
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
228
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID17.azure)?.models.keys() ?? [], (id) => [
229
229
  id.toLowerCase(),
230
230
  id
231
231
  ]));
@@ -238,11 +238,11 @@ function make15(endpoints = {
238
238
  yield* ctx.model.reload();
239
239
  });
240
240
  const refresh = discover({}).pipe(Effect.flatMap(apply));
241
- const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
241
+ const resourceFor = (provider) => provider.id === ID17.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
242
242
  Object.assign(loaded, yield* load());
243
243
  yield* ctx.provider.transform((evt) => {
244
244
  for (const item of evt.list()) {
245
- if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
245
+ if (item.provider.id !== ID17.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
246
246
  continue;
247
247
  const resourceName = resourceFor(item.provider);
248
248
  const websocket = responsesWebSocketCapable(item.provider);
@@ -257,7 +257,7 @@ function make15(endpoints = {
257
257
  };
258
258
  });
259
259
  }
260
- const item = evt.get(ID16.azure);
260
+ const item = evt.get(ID17.azure);
261
261
  if (!item)
262
262
  return;
263
263
  evt.add({
@@ -268,7 +268,7 @@ function make15(endpoints = {
268
268
  });
269
269
  yield* ctx.model.transform((models) => {
270
270
  for (const item of models.provider.list()) {
271
- if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
271
+ if (item.provider.id !== ID17.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
272
272
  continue;
273
273
  const resourceName = resourceFor(item.provider);
274
274
  if (!resourceName)
@@ -287,21 +287,21 @@ function make15(endpoints = {
287
287
  }
288
288
  if (!loaded.deployments)
289
289
  return;
290
- const catalog = models.list(ID16.azure);
290
+ const catalog = models.list(ID17.azure);
291
291
  const deployed = deployedModels(loaded.deployments, catalog);
292
292
  for (const model of catalog) {
293
293
  if (!deployed.has(model.id))
294
- models.remove(ID16.azure, model.id);
294
+ models.remove(ID17.azure, model.id);
295
295
  }
296
296
  for (const [id, model] of deployed) {
297
- models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
297
+ models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
298
298
  }
299
299
  });
300
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("azure")), Stream.runForEach(() => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply))))), Effect.forkScoped({ startImmediately: true }));
300
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("azure")), Stream.runForEach(() => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply))))), Effect.forkScoped({ startImmediately: true }));
301
301
  yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
302
302
  yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
303
303
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
304
- const connection = yield* ctx.integration.connection.active(ID16.azure);
304
+ const connection = yield* ctx.integration.connection.active(ID17.azure);
305
305
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
306
306
  return;
307
307
  })) : undefined;
@@ -313,7 +313,7 @@ function make15(endpoints = {
313
313
  return `Bearer ${current.access}`;
314
314
  });
315
315
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
316
- if (evt.model.providerID !== ID16.azure)
316
+ if (evt.model.providerID !== ID17.azure)
317
317
  return;
318
318
  const authorization = yield* bearer(evt.request.url);
319
319
  if (!authorization)
@@ -322,9 +322,9 @@ function make15(endpoints = {
322
322
  evt.request.headers.delete("x-api-key");
323
323
  evt.request.headers.set("authorization", authorization);
324
324
  evt.request.headers.set("user-agent", useragent2(ctx.app));
325
- }), { providerID: ID16.azure });
325
+ }), { providerID: ID17.azure });
326
326
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
327
- if (evt.model.providerID !== ID16.azure)
327
+ if (evt.model.providerID !== ID17.azure)
328
328
  return;
329
329
  const authorization = yield* bearer(evt.url);
330
330
  if (!authorization)
@@ -333,11 +333,11 @@ function make15(endpoints = {
333
333
  delete evt.headers["x-api-key"];
334
334
  evt.headers.authorization = authorization;
335
335
  evt.headers["user-agent"] = useragent2(ctx.app);
336
- }), { providerID: ID16.azure });
336
+ }), { providerID: ID17.azure });
337
337
  })
338
338
  });
339
339
  }
340
- var AzurePlugin2 = make15();
340
+ var AzurePlugin2 = make18();
341
341
  function deploymentsKey(connection, credential, url) {
342
342
  const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
343
343
  return `azure:${key2(connection)}${access}:${url}`;
@@ -371,11 +371,11 @@ function deployedModels(deployments, catalog) {
371
371
  const model = catalogModel(models, deployment);
372
372
  if (!model)
373
373
  return [];
374
- const id = ID14.make(deployment.name.toLowerCase());
374
+ const id = ID16.make(deployment.name.toLowerCase());
375
375
  const info = {
376
376
  ...structuredClone(model),
377
377
  id,
378
- modelID: ID14.make(deployment.name),
378
+ modelID: ID16.make(deployment.name),
379
379
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
380
380
  };
381
381
  return [[id, info]];
@@ -397,4 +397,4 @@ function responsesWebSocketCapable(provider) {
397
397
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
398
398
  }
399
399
 
400
- export { make15, AzurePlugin2 };
400
+ export { make18, AzurePlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service80
4
- } from "./provider-2mq8mdn8.js";
3
+ Service82
4
+ } from "./shell-53e3z61x.js";
5
5
  import {
6
- Service64
7
- } from "./provider-h7xyg9h9.js";
6
+ Service75
7
+ } from "./shell-fn389wq5.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service80;
12
+ const providers = yield* Service82;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service64);
14
+ const service = yield* Effect.serviceOption(Service75);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./provider-qfa1cgps.js";
3
+ } from "./shell-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./provider-034tev2y.js";
6
+ } from "./shell-034tev2y.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service64
3
- } from "./provider-h7xyg9h9.js";
2
+ Service75
3
+ } from "./shell-fn389wq5.js";
4
4
  import {
5
- Service58
6
- } from "./provider-ay6wrfq3.js";
5
+ Service66
6
+ } from "./shell-jjpqhn5j.js";
7
7
  import {
8
8
  observe2
9
- } from "./provider-hpg1pkwy.js";
9
+ } from "./shell-hpg1pkwy.js";
10
10
  import {
11
11
  __export
12
- } from "./provider-9rqn6x4v.js";
12
+ } from "./shell-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin14
18
+ Plugin: () => Plugin20
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin14 = define({
22
+ var Plugin20 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service64;
26
- const image = yield* Service58;
25
+ const config = yield* Service75;
26
+ const image = yield* Service66;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin14 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin14, exports_image };
46
+ export { Plugin20, exports_image };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service65
3
- } from "./provider-qkrdbb78.js";
2
+ Service76
3
+ } from "./shell-03qx06a8.js";
4
4
  import {
5
5
  Service85
6
- } from "./provider-7m9sc66j.js";
6
+ } from "./shell-k5t1f9zg.js";
7
7
  import {
8
- Service64
9
- } from "./provider-h7xyg9h9.js";
8
+ Service75
9
+ } from "./shell-fn389wq5.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./provider-wn77a8c9.js";
12
+ } from "./shell-dv96216k.js";
13
13
  import {
14
14
  File2,
15
- Service57
16
- } from "./provider-n0ytpvtj.js";
15
+ Service47
16
+ } from "./shell-85ngfxgw.js";
17
17
  import {
18
18
  __export
19
- } from "./provider-9rqn6x4v.js";
19
+ } from "./shell-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin7
25
+ Plugin: () => Plugin25
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin7 = define({
34
+ var Plugin25 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service57;
37
+ const discovery = yield* Service47;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service64;
39
+ const config = yield* Service75;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
43
  const location = yield* Service85;
44
- const watcher = yield* Service65;
44
+ const watcher = yield* Service76;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -180,4 +180,4 @@ function isUrl(source) {
180
180
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
181
181
  }
182
182
 
183
- export { Plugin7, exports_instruction };
183
+ export { Plugin25, exports_instruction };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./provider-ec1grn59.js";
3
+ } from "./shell-ec1grn59.js";
4
4
  import {
5
5
  stringify2
6
- } from "./provider-7stb81gk.js";
6
+ } from "./shell-7stb81gk.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./provider-8bykyf12.js";
9
+ } from "./shell-669m41n7.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { isRecord } from "@opencode/util/record";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID17,
3
- Service81,
4
- node84
5
- } from "./provider-ymysc5j4.js";
2
+ ID18,
3
+ Service83,
4
+ node86
5
+ } from "./shell-hzwt6x4n.js";
6
6
  import {
7
- ID16,
7
+ ID17,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service80,
19
- node83
20
- } from "./provider-2mq8mdn8.js";
18
+ Service82,
19
+ node85
20
+ } from "./shell-53e3z61x.js";
21
21
  import {
22
- Service54,
23
- node55
24
- } from "./provider-5cem1vp4.js";
22
+ Service69,
23
+ node71
24
+ } from "./shell-pg1dvydq.js";
25
25
  import {
26
- ID14,
26
+ ID16,
27
27
  VariantID2,
28
28
  Ref3,
29
- Service71,
30
- node73,
29
+ Service81,
30
+ node84,
31
31
  supportsText2
32
- } from "./provider-4rramvaq.js";
32
+ } from "./shell-e797dk3c.js";
33
33
  import {
34
34
  __export
35
- } from "./provider-9rqn6x4v.js";
35
+ } from "./shell-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service53,
44
+ Service: () => Service68,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer19,
52
- node: () => node54,
51
+ layer: () => layer22,
52
+ node: () => node70,
53
53
  resolveModel: () => resolveModel3,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -67,8 +67,8 @@ import { Auth, mergeHttpOptions } from "@opencode/ai/route";
67
67
  import { Context, Effect, Layer, Schema, Struct } from "effect";
68
68
  import { Npm } from "@opencode/util/npm";
69
69
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
70
- providerID: ID16,
71
- modelID: ID14,
70
+ providerID: ID17,
71
+ modelID: ID16,
72
72
  variant: VariantID2
73
73
  }) {
74
74
  get message() {
@@ -77,8 +77,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
77
77
  }
78
78
 
79
79
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
80
- providerID: ID16,
81
- modelID: ID14,
80
+ providerID: ID17,
81
+ modelID: ID16,
82
82
  package: Schema.String
83
83
  }) {
84
84
  get message() {
@@ -88,8 +88,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
88
88
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
89
89
 
90
90
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
91
- providerID: ID16,
92
- modelID: ID14,
91
+ providerID: ID17,
92
+ modelID: ID16,
93
93
  package: Schema.String,
94
94
  detail: Schema.String
95
95
  }) {
@@ -99,8 +99,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
99
99
  }
100
100
 
101
101
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
102
- providerID: ID16,
103
- modelID: ID14,
102
+ providerID: ID17,
103
+ modelID: ID16,
104
104
  package: Schema.String,
105
105
  phase: InitializationPhase2,
106
106
  detail: Schema.String
@@ -111,8 +111,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
111
111
  }
112
112
 
113
113
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
114
- providerID: ID16,
115
- modelID: ID14,
114
+ providerID: ID17,
115
+ modelID: ID16,
116
116
  variables: Schema.Array(Schema.String)
117
117
  }) {
118
118
  get message() {
@@ -121,8 +121,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
121
121
  }
122
122
 
123
123
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
124
- providerID: ID16,
125
- modelID: ID14,
124
+ providerID: ID17,
125
+ modelID: ID16,
126
126
  route: Schema.String
127
127
  }) {
128
128
  get message() {
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
130
130
  }
131
131
  }
132
132
 
133
- class Service53 extends Context.Service()("@opencode/ModelResolver") {
133
+ class Service68 extends Context.Service()("@opencode/ModelResolver") {
134
134
  }
135
135
  var withVariant2 = (model, variantID) => {
136
136
  const id = variantID === "default" ? undefined : variantID;
@@ -262,7 +262,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
262
262
  return tokenSettings(specifier, credential.access);
263
263
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
264
264
  return { auth: "sigv4" };
265
- if (model.providerID === ID16.azure)
265
+ if (model.providerID === ID17.azure)
266
266
  return tokenSettings(specifier, "azure-cli");
267
267
  return {};
268
268
  };
@@ -297,19 +297,19 @@ var causeMessage = (cause) => {
297
297
  };
298
298
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
299
299
  var hasPackage2 = (model) => Boolean(model.package);
300
- var layer19 = Layer.effect(Service53, Effect.gen(function* () {
301
- const providers = yield* Service80;
302
- const models = yield* Service71;
303
- const integrations = yield* Service81;
300
+ var layer22 = Layer.effect(Service68, Effect.gen(function* () {
301
+ const providers = yield* Service82;
302
+ const models = yield* Service81;
303
+ const integrations = yield* Service83;
304
304
  const npm = yield* Npm.Service;
305
- const aisdk = yield* Service54;
305
+ const aisdk = yield* Service69;
306
306
  const dependencies = {
307
307
  loadPackage: (specifier) => loadPackage2(specifier, npm),
308
308
  loadAISDK: (model) => aisdk.model(model)
309
309
  };
310
310
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
311
311
  const provider = yield* providers.get(selected.providerID);
312
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
312
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID18.make(selected.providerID));
313
313
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
314
314
  const selectedVariant = yield* withVariant2(selected, variant);
315
315
  const runtimeInfo = {
@@ -345,7 +345,7 @@ var layer19 = Layer.effect(Service53, Effect.gen(function* () {
345
345
  const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
346
346
  return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
347
347
  });
348
- return Service53.of({
348
+ return Service68.of({
349
349
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
350
350
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
351
351
  if (!selected)
@@ -368,10 +368,10 @@ function usesAPIKeyAuth(packageName) {
368
368
  const name = packageName2(packageName);
369
369
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
370
370
  }
371
- var node54 = makeLocationNode({
372
- service: Service53,
373
- layer: layer19,
374
- deps: [node83, node73, node84, Npm.node, node55]
371
+ var node70 = makeLocationNode({
372
+ service: Service68,
373
+ layer: layer22,
374
+ deps: [node85, node84, node86, Npm.node, node71]
375
375
  });
376
376
 
377
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service53, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer19, node54, exports_model_resolver };
377
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service68, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer22, node70, exports_model_resolver };