@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
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,32 +1,32 @@
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
  OAuth3,
9
9
  Event21
10
- } from "./provider-n1v16chy.js";
10
+ } from "./shell-2s9xahkc.js";
11
11
  import {
12
- ID17,
12
+ ID18,
13
13
  MethodID2
14
- } from "./provider-ymysc5j4.js";
14
+ } from "./shell-hzwt6x4n.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./provider-yb20nhc3.js";
18
+ } from "./shell-yb20nhc3.js";
19
19
  import {
20
- ID16,
20
+ ID17,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./provider-2mq8mdn8.js";
23
+ } from "./shell-53e3z61x.js";
24
24
  import {
25
25
  get5
26
- } from "./provider-3nnrz6f6.js";
26
+ } from "./shell-3nnrz6f6.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./provider-gybwvmz6.js";
29
+ } from "./shell-1ecnrbv4.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID17.make("openai"),
53
+ integrationID: ID18.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID17.make("openai"),
126
+ integrationID: ID18.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -176,16 +176,18 @@ var OpenAIPlugin3 = define({
176
176
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
177
177
  return;
178
178
  })) : undefined;
179
+ const previous = chatgpt;
179
180
  chatgpt = credential?.type === "oauth" && (credential.methodID === browserMethodID || credential.methodID === headlessMethodID) ? credential : undefined;
181
+ return previous === undefined !== (chatgpt === undefined) || previous?.metadata?.accountID !== chatgpt?.metadata?.accountID;
180
182
  });
181
183
  yield* ctx.integration.transform((editor) => {
182
184
  editor.method.update(browser(ctx.app));
183
185
  editor.method.update(headless(ctx.app));
184
186
  });
185
187
  yield* load();
186
- const configured = yield* configuredSettings2(ID16.openai);
188
+ const configured = yield* configuredSettings2(ID17.openai);
187
189
  yield* ctx.provider.transform((providers) => {
188
- const item = providers.get(ID16.openai);
190
+ const item = providers.get(ID17.openai);
189
191
  if (!item)
190
192
  return;
191
193
  const account = chatgpt?.metadata?.accountID;
@@ -205,7 +207,7 @@ var OpenAIPlugin3 = define({
205
207
  });
206
208
  });
207
209
  yield* ctx.model.transform((models) => {
208
- for (const model of models.list(ID16.openai)) {
210
+ for (const model of models.list(ID17.openai)) {
209
211
  models.update(model.providerID, model.id, (draft) => {
210
212
  if (!chatgpt)
211
213
  return;
@@ -242,14 +244,14 @@ var OpenAIPlugin3 = define({
242
244
  }));
243
245
  evt.headers.originator = "opencode";
244
246
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
245
- }), { providerID: ID16.openai });
247
+ }), { providerID: ID17.openai });
246
248
  const omitOutputLimit = (evt) => Effect.sync(() => {
247
249
  delete evt.options.maxTokens;
248
250
  });
249
251
  for (const name of ["context", "compaction"])
250
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID16.openai });
251
- const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
252
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID17.openai });
253
+ const refresh = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
254
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
255
  })
254
256
  });
255
257
  function headers(contentType, app) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  load3
3
- } from "./provider-tr8x705m.js";
3
+ } from "./shell-tr8x705m.js";
4
4
  import {
5
5
  __export
6
- } from "./provider-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/claude/fork.ts
9
9
  var exports_fork = {};
@@ -1,93 +1,93 @@
1
1
  import {
2
2
  AmazonBedrockPlugin2
3
- } from "./provider-0wh0wreq.js";
3
+ } from "./shell-sb8b9r4h.js";
4
4
  import {
5
5
  AzurePlugin2
6
- } from "./provider-cjqd6aye.js";
6
+ } from "./shell-1aeagxc9.js";
7
7
  import {
8
8
  CerebrasPlugin2
9
- } from "./provider-wc3fc9cn.js";
9
+ } from "./shell-wc3fc9cn.js";
10
10
  import {
11
11
  ChatGPTPlugin2
12
- } from "./provider-kpfcexn1.js";
12
+ } from "./shell-fw9za8th.js";
13
13
  import {
14
14
  ClaudeAgentPlugin2
15
- } from "./provider-0cv8g5av.js";
15
+ } from "./shell-34f0rf5s.js";
16
16
  import {
17
17
  CloudflareAIGatewayPlugin2
18
- } from "./provider-ek9mpve2.js";
18
+ } from "./shell-xsehgyx0.js";
19
19
  import {
20
20
  CloudflareWorkersAIPlugin2
21
- } from "./provider-7def1eh5.js";
21
+ } from "./shell-hs3yxfaz.js";
22
22
  import {
23
23
  DatabricksPlugin2
24
- } from "./provider-beh6qq61.js";
24
+ } from "./shell-beh6qq61.js";
25
25
  import {
26
26
  DigitalOceanPlugin2
27
- } from "./provider-eggfh18w.js";
27
+ } from "./shell-af30khrr.js";
28
28
  import {
29
29
  GithubCopilotPlugin2
30
- } from "./provider-r31zvyjt.js";
30
+ } from "./shell-hbvq878w.js";
31
31
  import {
32
32
  GitLabPlugin2
33
- } from "./provider-0q6rq0wx.js";
33
+ } from "./shell-27jdjj3w.js";
34
34
  import {
35
35
  GoogleVertexPlugin2
36
- } from "./provider-93e35kep.js";
36
+ } from "./shell-ftcdnxrm.js";
37
37
  import {
38
38
  KiloPlugin2
39
- } from "./provider-qg3g05ea.js";
39
+ } from "./shell-qg3g05ea.js";
40
40
  import {
41
41
  LLMGatewayPlugin2
42
- } from "./provider-weapmq0e.js";
42
+ } from "./shell-s12w367s.js";
43
43
  import {
44
44
  LMStudioPlugin2
45
- } from "./provider-624434jz.js";
45
+ } from "./shell-a5amgwqt.js";
46
46
  import {
47
47
  ModalPlugin2
48
- } from "./provider-h274fqx9.js";
48
+ } from "./shell-aems2vrd.js";
49
49
  import {
50
50
  NeonPlugin2
51
- } from "./provider-ve7vex1e.js";
51
+ } from "./shell-ve7vex1e.js";
52
52
  import {
53
53
  NvidiaPlugin2
54
- } from "./provider-24dcb14g.js";
54
+ } from "./shell-24dcb14g.js";
55
55
  import {
56
56
  OllamaPlugin2
57
- } from "./provider-4kjss04h.js";
57
+ } from "./shell-hg96msre.js";
58
58
  import {
59
59
  OpenAIPlugin3
60
- } from "./provider-v5m218qy.js";
60
+ } from "./shell-44ekhfcb.js";
61
61
  import {
62
62
  OpenAIContextCapsPlugin2
63
- } from "./provider-s10yds1m.js";
63
+ } from "./shell-a91jf8s9.js";
64
64
  import {
65
65
  SnowflakeCortexPlugin2
66
- } from "./provider-y6r1yzhv.js";
66
+ } from "./shell-5vpa3fvx.js";
67
67
  import {
68
68
  OpencodePlugin2
69
- } from "./provider-dckpms46.js";
69
+ } from "./shell-5j95cqby.js";
70
70
  import {
71
71
  OpenRouterPlugin2
72
- } from "./provider-pqrezmp9.js";
72
+ } from "./shell-1abavcy4.js";
73
73
  import {
74
74
  PoePlugin2
75
- } from "./provider-7fh49tq1.js";
75
+ } from "./shell-47m6qkpp.js";
76
76
  import {
77
77
  PromptCacheKeyPlugin2
78
- } from "./provider-hcxmzztb.js";
78
+ } from "./shell-hcxmzztb.js";
79
79
  import {
80
80
  SapAICorePlugin2
81
- } from "./provider-avz75qha.js";
81
+ } from "./shell-pzk6pdkc.js";
82
82
  import {
83
83
  VLLMPlugin2
84
- } from "./provider-55x429hg.js";
84
+ } from "./shell-y74ve27q.js";
85
85
  import {
86
86
  XAIPlugin2
87
- } from "./provider-zp5ndmj8.js";
87
+ } from "./shell-vemd5yc8.js";
88
88
  import {
89
89
  ZenmuxPlugin2
90
- } from "./provider-jjkms2e6.js";
90
+ } from "./shell-jjkms2e6.js";
91
91
 
92
92
  // src/plugin/provider.ts
93
93
  var ProviderPlugins2 = [
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID16,
2
+ ID17,
3
3
  mergeOverlay2
4
- } from "./provider-2mq8mdn8.js";
4
+ } from "./shell-53e3z61x.js";
5
5
  import {
6
- ID14,
6
+ ID16,
7
7
  VariantID2,
8
- Info20,
8
+ Info24,
9
9
  compatibility2
10
- } from "./provider-4rramvaq.js";
10
+ } from "./shell-e797dk3c.js";
11
11
  import {
12
12
  __export
13
- } from "./provider-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models2 = {};
@@ -23,7 +23,7 @@ __export(exports_models2, {
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect, Option, Schema } from "effect";
25
25
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
26
- var providerID = ID16.make("modal");
26
+ var providerID = ID17.make("modal");
27
27
  var ReasoningOption = Schema.Struct({
28
28
  type: Schema.Literal("effort"),
29
29
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -68,8 +68,8 @@ function derive3(baseURL, remote, existing) {
68
68
  const templates = new Map(existing.map((model) => [model.id, model]));
69
69
  const result = new Map;
70
70
  for (const item of remote) {
71
- const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
72
- const id = ID14.make(item.id);
71
+ const template = templates.get(ID16.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
72
+ const id = ID16.make(item.id);
73
73
  result.set(id, build(id, item, baseURL, template));
74
74
  }
75
75
  return result;
@@ -87,10 +87,10 @@ function limit(value, fallback) {
87
87
  function build(id, remote, baseURL, previous) {
88
88
  const cost = previous?.cost[0];
89
89
  const input = previous?.limit.input;
90
- return Info20.make({
91
- ...Info20.default(providerID, id),
90
+ return Info24.make({
91
+ ...Info24.default(providerID, id),
92
92
  id,
93
- modelID: ID14.make(remote.id),
93
+ modelID: ID16.make(remote.id),
94
94
  providerID,
95
95
  name: remote.name ?? previous?.name ?? remote.id,
96
96
  family: previous?.family,
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./provider-n1v16chy.js";
3
+ } from "./shell-2s9xahkc.js";
4
4
  import {
5
- ID17,
5
+ ID18,
6
6
  MethodID2
7
- } from "./provider-ymysc5j4.js";
7
+ } from "./shell-hzwt6x4n.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./provider-yb20nhc3.js";
11
+ } from "./shell-yb20nhc3.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID17.make("poe");
17
+ var integrationID = ID18.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service89
3
- } from "./provider-njjbze85.js";
3
+ } from "./shell-m5jddc9g.js";
4
4
  import {
5
- Service83
6
- } from "./provider-backbg8m.js";
5
+ Service54
6
+ } from "./shell-kxpnq44j.js";
7
7
  import {
8
8
  StepFailedError2
9
- } from "./provider-tznkg22c.js";
9
+ } from "./shell-edm37t96.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./provider-ec1grn59.js";
12
+ } from "./shell-ec1grn59.js";
13
13
  import {
14
14
  toSessionError2
15
- } from "./provider-8bykyf12.js";
15
+ } from "./shell-669m41n7.js";
16
16
  import {
17
- Error2
18
- } from "./provider-8d4xkafh.js";
17
+ Error5
18
+ } from "./shell-afcwrtac.js";
19
19
  import {
20
- Service46
21
- } from "./provider-hqtkd67t.js";
20
+ Service59
21
+ } from "./shell-d97evh6t.js";
22
22
  import {
23
23
  record2
24
- } from "./provider-4f25tdd0.js";
24
+ } from "./shell-r542h3bh.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./provider-6pwzz7pj.js";
27
+ } from "./shell-1sa8tzgh.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./provider-8wjgamp7.js";
30
+ } from "./shell-qnqasnye.js";
31
31
  import {
32
32
  __export
33
- } from "./provider-9rqn6x4v.js";
33
+ } from "./shell-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make18
40
+ make: () => make3
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make18 = Effect.gen(function* () {
54
+ var make3 = Effect.gen(function* () {
55
55
  const bus = yield* Service89;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service83;
58
- const toolOutput = yield* Service46;
57
+ const snapshots = yield* Service54;
58
+ const toolOutput = yield* Service59;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make18 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error2({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error5({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
223
223
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
224
224
  };
225
225
 
226
- export { Outcome2, make18, exports_step };
226
+ export { Outcome2, make3, exports_step };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./provider-svcy3p9a.js";
3
+ } from "./shell-svcy3p9a.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./provider-z5v4ffb3.js";
6
+ } from "./shell-z5v4ffb3.js";
7
7
  import {
8
8
  Service85
9
- } from "./provider-7m9sc66j.js";
9
+ } from "./shell-k5t1f9zg.js";
10
10
  import {
11
- Service70
12
- } from "./provider-m2cw6p4v.js";
11
+ Service60
12
+ } from "./shell-v3v67mam.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service69
16
- } from "./provider-8x29dp53.js";
15
+ Service45
16
+ } from "./shell-rjkqrftx.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./provider-81vnvh8a.js";
23
+ } from "./shell-hgbhmszv.js";
24
24
  import {
25
- Service60
26
- } from "./provider-vt3w9sen.js";
25
+ Service70
26
+ } from "./shell-y30x783a.js";
27
27
  import {
28
- Service15
29
- } from "./provider-qhy5xrym.js";
28
+ Service18
29
+ } from "./shell-mpc68446.js";
30
30
  import {
31
31
  __export
32
- } from "./provider-9rqn6x4v.js";
32
+ } from "./shell-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input3,
38
+ Input: () => Input2,
39
39
  Output: () => Output2,
40
- Plugin: () => Plugin20,
41
- name: () => name3,
40
+ Plugin: () => Plugin2,
41
+ name: () => name2,
42
42
  toModelContent: () => toModelContent2
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai/effect";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name3 = "grep";
48
- var Input3 = Schema.Struct({
47
+ var name2 = "grep";
48
+ var Input2 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin20 = {
86
+ var Plugin2 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service70;
90
- const ripgrep = yield* Service69;
89
+ const environment = yield* Service60;
90
+ const ripgrep = yield* Service45;
91
91
  const location = yield* Service85;
92
- const access = yield* Service15;
93
- const permission = yield* Service60;
92
+ const access = yield* Service18;
93
+ const permission = yield* Service70;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name3,
95
+ name: name2,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input3,
98
+ input: Input2,
99
99
  output: Output2,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name3,
105
+ action: name2,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -154,4 +154,4 @@ var Plugin20 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name3, Input3, Output2, toModelContent2, Plugin20, exports_grep };
157
+ export { name2, Input2, Output2, toModelContent2, Plugin2, exports_grep };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./provider-njjbze85.js";
4
+ } from "./shell-m5jddc9g.js";
5
5
  import {
6
6
  environment2
7
- } from "./provider-rtfvcbjv.js";
7
+ } from "./shell-at2q98t1.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./provider-1pevy3nx.js";
10
+ } from "./shell-1pevy3nx.js";
11
11
  import {
12
12
  __export
13
- } from "./provider-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
19
  InvalidCwdError: () => InvalidCwdError2,
20
- NotFoundError: () => NotFoundError12,
21
- Options: () => Options7,
20
+ NotFoundError: () => NotFoundError9,
21
+ Options: () => Options4,
22
22
  PersistentPty: () => exports_persistent_pty,
23
- Service: () => Service72,
24
- UnavailableError: () => UnavailableError4,
23
+ Service: () => Service62,
24
+ UnavailableError: () => UnavailableError5,
25
25
  UnsupportedError: () => UnsupportedError2,
26
26
  available: () => available4,
27
- configured: () => configured9,
28
- layer: () => layer25,
29
- node: () => node74
27
+ configured: () => configured6,
28
+ layer: () => layer21,
29
+ node: () => node65
30
30
  });
31
31
  import { stat } from "node:fs/promises";
32
32
  import path from "node:path";
@@ -45,17 +45,17 @@ import { Global } from "@opencode/util/global";
45
45
  import { resolveBinary } from "#persistent-pty-binary";
46
46
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
47
47
  import { available as available4 } from "#persistent-pty-binary";
48
- var Options7 = Schema.Struct({
48
+ var Options4 = Schema.Struct({
49
49
  handoff: Schema.optional(Handoff),
50
50
  root: Schema.optional(Schema.String)
51
51
  });
52
52
 
53
- class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
53
+ class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
54
54
  message: Schema.String
55
55
  }) {
56
56
  }
57
57
 
58
- class NotFoundError12 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
58
+ class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
59
59
  ptyID: Pty.ID
60
60
  }) {
61
61
  }
@@ -71,9 +71,9 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
71
71
  }) {
72
72
  }
73
73
 
74
- class Service72 extends Context.Service()("@opencode/PersistentPty") {
74
+ class Service62 extends Context.Service()("@opencode/PersistentPty") {
75
75
  }
76
- var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* () {
76
+ var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* () {
77
77
  const bus = yield* Service89;
78
78
  const global = yield* Global.Service;
79
79
  const context = yield* Effect.context();
@@ -96,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* (
96
96
  const get = Effect.fn("PersistentPty.get")(function* (id) {
97
97
  const found = (yield* list()).find((terminal) => terminal.id === id);
98
98
  if (!found)
99
- return yield* new NotFoundError12({ ptyID: id });
99
+ return yield* new NotFoundError9({ ptyID: id });
100
100
  return found;
101
101
  });
102
102
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -201,7 +201,7 @@ var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* (
201
201
  });
202
202
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
203
203
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
204
- return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
204
+ return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
205
205
  const id = current.get(sessionID);
206
206
  if (!id)
207
207
  return null;
@@ -287,7 +287,7 @@ var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* (
287
287
  detach: attachment.detach
288
288
  };
289
289
  });
290
- return Service72.of({
290
+ return Service62.of({
291
291
  list,
292
292
  get,
293
293
  create,
@@ -304,17 +304,17 @@ var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* (
304
304
  attach
305
305
  });
306
306
  }));
307
- var layer25 = makeLayer();
308
- var configured9 = (options) => makeGlobalNode({
309
- service: Service72,
310
- layer: options === undefined ? layer25 : makeLayer(options),
307
+ var layer21 = makeLayer();
308
+ var configured6 = (options) => makeGlobalNode({
309
+ service: Service62,
310
+ layer: options === undefined ? layer21 : makeLayer(options),
311
311
  deps: [node92, Global.node]
312
312
  });
313
- var node74 = configured9();
313
+ var node65 = configured6();
314
314
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
315
315
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
316
- var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
317
- var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
316
+ var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
317
+ var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
318
318
  function toInfo(value) {
319
319
  const status = value.lifecycle.status;
320
320
  return {
@@ -347,4 +347,4 @@ function fromID(value) {
347
347
  return parsed;
348
348
  }
349
349
 
350
- export { Options7, UnavailableError4, NotFoundError12, InvalidCwdError2, UnsupportedError2, Service72, layer25, configured9, node74, exports_persistent_pty, Handoff2, available4 };
350
+ export { Options4, UnavailableError5, NotFoundError9, InvalidCwdError2, UnsupportedError2, Service62, layer21, configured6, node65, exports_persistent_pty, Handoff2, available4 };