@sourcegraph/amp 0.0.1748751230-ga82eb7 → 0.0.1748764880-g91d5a9

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 (39) hide show
  1. package/dist/amp.js +2 -2
  2. package/dist/{console-BHPG7ghh.js → console-BEoM5C3l.js} +10 -10
  3. package/dist/{console-BHPG7ghh.js.map → console-BEoM5C3l.js.map} +1 -1
  4. package/dist/{create_file.node-BfhNTTlb.js → create_file.node-BFS-uX0h.js} +2 -2
  5. package/dist/{create_file.node-BfhNTTlb.js.map → create_file.node-BFS-uX0h.js.map} +1 -1
  6. package/dist/{edit_file.node-DfNYbY3f.js → edit_file.node-D0utnpOc.js} +3 -3
  7. package/dist/{edit_file.node-DfNYbY3f.js.map → edit_file.node-D0utnpOc.js.map} +1 -1
  8. package/dist/{executable-Bg-Dnv9N.js → executable-Bm7iL2Wr.js} +2 -2
  9. package/dist/{executable-Bg-Dnv9N.js.map → executable-Bm7iL2Wr.js.map} +1 -1
  10. package/dist/{files-Ce5pZkWD.js → files-8V4d25dw.js} +2 -2
  11. package/dist/{files-Ce5pZkWD.js.map → files-8V4d25dw.js.map} +1 -1
  12. package/dist/{glob.node-RxL5iYzN.js → glob.node-CxhUfk73.js} +3 -3
  13. package/dist/{glob.node-RxL5iYzN.js.map → glob.node-CxhUfk73.js.map} +1 -1
  14. package/dist/{list_directory.node-DGhzMMXH.js → list_directory.node-BvKQRegC.js} +2 -2
  15. package/dist/{list_directory.node-DGhzMMXH.js.map → list_directory.node-BvKQRegC.js.map} +1 -1
  16. package/dist/{load-profile-DM9rbkOm.js → load-profile-DRELVkLs.js} +2 -2
  17. package/dist/{load-profile-DM9rbkOm.js.map → load-profile-DRELVkLs.js.map} +1 -1
  18. package/dist/{main-00oKVtTe.js → main-Cc0C-g24.js} +233 -233
  19. package/dist/{main-00oKVtTe.js.map → main-Cc0C-g24.js.map} +1 -1
  20. package/dist/{node-DmYohWBm.js → node-BuGshbyJ.js} +3 -3
  21. package/dist/{node-DmYohWBm.js.map → node-BuGshbyJ.js.map} +1 -1
  22. package/dist/{node-OczSPdLb.js → node-CEdAvWvc.js} +3 -3
  23. package/dist/{node-OczSPdLb.js.map → node-CEdAvWvc.js.map} +1 -1
  24. package/dist/{node-DO1f17bA.js → node-CcCnjzdp.js} +3 -3
  25. package/dist/{node-DO1f17bA.js.map → node-CcCnjzdp.js.map} +1 -1
  26. package/dist/{node-CQtpFy7X.js → node-D7dUujgo.js} +3 -3
  27. package/dist/{node-CQtpFy7X.js.map → node-D7dUujgo.js.map} +1 -1
  28. package/dist/{node-BHXqdrs5.js → node-DHEAQDoa.js} +2 -2
  29. package/dist/{node-BHXqdrs5.js.map → node-DHEAQDoa.js.map} +1 -1
  30. package/dist/{node-Cp6INRFE.js → node-xakp4FYv.js} +2 -2
  31. package/dist/{node-Cp6INRFE.js.map → node-xakp4FYv.js.map} +1 -1
  32. package/dist/{read_file.node-2VqMj-ax.js → read_file.node-Bh95y2qD.js} +2 -2
  33. package/dist/{read_file.node-2VqMj-ax.js.map → read_file.node-Bh95y2qD.js.map} +1 -1
  34. package/dist/{stdio-CO70V3Ze.js → stdio-ClZnFzj4.js} +3 -3
  35. package/dist/{stdio-CO70V3Ze.js.map → stdio-ClZnFzj4.js.map} +1 -1
  36. package/dist/storybook.js +1 -1
  37. package/dist/{undo_edit.node-B6m1Nlh6.js → undo_edit.node-BZBcJgmC.js} +2 -2
  38. package/dist/{undo_edit.node-B6m1Nlh6.js.map → undo_edit.node-BZBcJgmC.js.map} +1 -1
  39. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { B as _i, O as Qt, s as fn, c as UE, a as Jn, b as nc, f as pt, d as ta, p as es, m as Et, e as ha, g as un, h as pa, i as KO, j as qE, k as ic, M as Qn, l as JO, n as ie, N as vu, o as Um, r as Fr, q as qm, t as YO, u as jO, v as Bm, w as ZO, x as QO, y as Jy, z as Ru, A as XO, C as eM, D as tM, E as rM, F as nM, G as iM, H as oM, I as sM, J as aM, K as lM, L as uM, P as cM, Q as fM, R as dM, S as hM, T as pM, U as ku, V as BE, W as mM, X as gM, Y as Sn, Z as vM, _ as yM, $ as vW, a0 as ra, a1 as _M, a2 as wM, a3 as bM, a4 as Zi, a5 as VE, a6 as SM, a7 as wi, a8 as HE, a9 as GE, aa as EM, ab as TM, ac as Yp, ad as CM, ae as AM, af as PM, ag as xM, ah as IM, ai as id, aj as RM, ak as WE, al as Yy, am as kM, an as OM, ao as MM, ap as LM, aq as NM, ar as DM, as as FM, at as $M, au as UM, av as qM, aw as BM, ax as jy, ay as VM, az as HM, aA as GM, aB as zE, aC as jp, aD as Tt, aE as WM, aF as zM, aG as KM, aH as Zy, aI as Qy, aJ as Xy, aK as JM, aL as YM, aM as KE, aN as JE, aO as jM } from "./console-BHPG7ghh.js";
2
+ import { B as _i, O as Qt, s as fn, c as UE, a as Jn, b as nc, f as pt, d as ta, p as es, m as Et, e as ha, g as un, h as pa, i as KO, j as qE, k as ic, M as Qn, l as JO, n as ie, N as vu, o as Um, r as Fr, q as qm, t as YO, u as jO, v as Bm, w as ZO, x as QO, y as Jy, z as Ru, A as XO, C as eM, D as tM, E as rM, F as nM, G as iM, H as oM, I as sM, J as aM, K as lM, L as uM, P as cM, Q as fM, R as dM, S as hM, T as pM, U as ku, V as BE, W as mM, X as gM, Y as Sn, Z as vM, _ as yM, $ as vW, a0 as ra, a1 as _M, a2 as wM, a3 as bM, a4 as Zi, a5 as VE, a6 as SM, a7 as wi, a8 as HE, a9 as GE, aa as EM, ab as TM, ac as Yp, ad as CM, ae as AM, af as PM, ag as xM, ah as IM, ai as id, aj as RM, ak as WE, al as Yy, am as kM, an as OM, ao as MM, ap as LM, aq as NM, ar as DM, as as FM, at as $M, au as UM, av as qM, aw as BM, ax as jy, ay as VM, az as HM, aA as GM, aB as zE, aC as jp, aD as Tt, aE as WM, aF as zM, aG as KM, aH as Zy, aI as Qy, aJ as Xy, aK as JM, aL as YM, aM as KE, aN as JE, aO as jM } from "./console-BEoM5C3l.js";
3
3
  import * as ZM from "node:fs/promises";
4
4
  import Yo, { readdir as QM, stat as YE, readFile as bi, mkdir as Ou, writeFile as na, unlink as XM, open as eL, readlink as tL } from "node:fs/promises";
5
5
  import * as rL from "node:path";
@@ -17,7 +17,7 @@ import fL from "node:zlib";
17
17
  import dL from "node:string_decoder";
18
18
  import hL, { createServer as QE } from "node:http";
19
19
  import pL from "node:https";
20
- import { r as mL } from "./executable-Bg-Dnv9N.js";
20
+ import { r as mL } from "./executable-Bm7iL2Wr.js";
21
21
  function gL() {
22
22
  const i = /* @__PURE__ */ new Set(), e = new _i(i);
23
23
  return {
@@ -7746,10 +7746,10 @@ async function h2(i, e, t) {
7746
7746
  if ("url" in i)
7747
7747
  n = new f2(new URL(i.url));
7748
7748
  else {
7749
- const { loadProfileEnvironmentVariables: r } = await import("./load-profile-DM9rbkOm.js"), o = t.loadProfile === "never" || !t.workingDirectory ? process.env : await pt(
7749
+ const { loadProfileEnvironmentVariables: r } = await import("./load-profile-DRELVkLs.js"), o = t.loadProfile === "never" || !t.workingDirectory ? process.env : await pt(
7750
7750
  r(t.workingDirectory, t.loadProfile)
7751
7751
  );
7752
- n = await import("./stdio-CO70V3Ze.js").then(
7752
+ n = await import("./stdio-ClZnFzj4.js").then(
7753
7753
  ({ StdioClientTransport: s }) => new s({
7754
7754
  ...i,
7755
7755
  stderr: "pipe",
@@ -8526,7 +8526,7 @@ This tool converts web content to markdown format for better readability.`,
8526
8526
  requiresNetwork: !0
8527
8527
  }
8528
8528
  },
8529
- fn: import("./node-Cp6INRFE.js").then(({ nodeReadWebPageTool: i }) => i)
8529
+ fn: import("./node-xakp4FYv.js").then(({ nodeReadWebPageTool: i }) => i)
8530
8530
  }, x2 = "web_search", I2 = `Search the web for information.
8531
8531
 
8532
8532
  Returns search result titles, associated URLs, and a small summary of the
@@ -8574,7 +8574,7 @@ the \`${dm}\` with the url.
8574
8574
  requiresNetwork: !0
8575
8575
  }
8576
8576
  },
8577
- fn: import("./node-CQtpFy7X.js").then(({ nodeWebSearchTool: i }) => i)
8577
+ fn: import("./node-D7dUujgo.js").then(({ nodeWebSearchTool: i }) => i)
8578
8578
  }, k2 = `Execute a routine from your routines.amp.yaml file.
8579
8579
 
8580
8580
  This tool allows you to run predefined routines that automate common tasks. You can optionally provide a userInput argument that describes what input should be passed to the routine.
@@ -8604,7 +8604,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
8604
8604
  },
8605
8605
  source: "builtin"
8606
8606
  },
8607
- fn: import("./node-OczSPdLb.js").then(({ runRoutine: i }) => i)
8607
+ fn: import("./node-CEdAvWvc.js").then(({ runRoutine: i }) => i)
8608
8608
  };
8609
8609
  let f_ = !1;
8610
8610
  async function MT(i, e = !1) {
@@ -22485,10 +22485,10 @@ function X5(i, e) {
22485
22485
  const t = {}, n = m(e, ["authConfig"]);
22486
22486
  return n != null && y(t, ["authConfig"], Q5(i, n)), t;
22487
22487
  }
22488
- function eB() {
22488
+ function e9() {
22489
22489
  return {};
22490
22490
  }
22491
- function tB(i, e) {
22491
+ function t9(i, e) {
22492
22492
  const t = {}, n = m(e, [
22493
22493
  "functionDeclarations"
22494
22494
  ]);
@@ -22507,13 +22507,13 @@ function tB(i, e) {
22507
22507
  throw new Error("enterpriseWebSearch parameter is not supported in Gemini API.");
22508
22508
  if (m(e, ["googleMaps"]) !== void 0)
22509
22509
  throw new Error("googleMaps parameter is not supported in Gemini API.");
22510
- m(e, ["urlContext"]) != null && y(t, ["urlContext"], eB());
22510
+ m(e, ["urlContext"]) != null && y(t, ["urlContext"], e9());
22511
22511
  const a = m(e, [
22512
22512
  "codeExecution"
22513
22513
  ]);
22514
22514
  return a != null && y(t, ["codeExecution"], a), t;
22515
22515
  }
22516
- function rB(i, e) {
22516
+ function r9(i, e) {
22517
22517
  const t = {}, n = m(e, [
22518
22518
  "functionDeclarations"
22519
22519
  ]);
@@ -22539,13 +22539,13 @@ function rB(i, e) {
22539
22539
  ]);
22540
22540
  return c != null && y(t, ["codeExecution"], c), t;
22541
22541
  }
22542
- function nB(i, e) {
22542
+ function n9(i, e) {
22543
22543
  const t = {}, n = m(e, ["handle"]);
22544
22544
  if (n != null && y(t, ["handle"], n), m(e, ["transparent"]) !== void 0)
22545
22545
  throw new Error("transparent parameter is not supported in Gemini API.");
22546
22546
  return t;
22547
22547
  }
22548
- function iB(i, e) {
22548
+ function i9(i, e) {
22549
22549
  const t = {}, n = m(e, ["handle"]);
22550
22550
  n != null && y(t, ["handle"], n);
22551
22551
  const r = m(e, ["transparent"]);
@@ -22557,7 +22557,7 @@ function WS() {
22557
22557
  function zS() {
22558
22558
  return {};
22559
22559
  }
22560
- function oB(i, e) {
22560
+ function o9(i, e) {
22561
22561
  const t = {}, n = m(e, ["disabled"]);
22562
22562
  n != null && y(t, ["disabled"], n);
22563
22563
  const r = m(e, [
@@ -22577,7 +22577,7 @@ function oB(i, e) {
22577
22577
  ]);
22578
22578
  return a != null && y(t, ["silenceDurationMs"], a), t;
22579
22579
  }
22580
- function sB(i, e) {
22580
+ function s9(i, e) {
22581
22581
  const t = {}, n = m(e, ["disabled"]);
22582
22582
  n != null && y(t, ["disabled"], n);
22583
22583
  const r = m(e, [
@@ -22597,11 +22597,11 @@ function sB(i, e) {
22597
22597
  ]);
22598
22598
  return a != null && y(t, ["silenceDurationMs"], a), t;
22599
22599
  }
22600
- function aB(i, e) {
22600
+ function a9(i, e) {
22601
22601
  const t = {}, n = m(e, [
22602
22602
  "automaticActivityDetection"
22603
22603
  ]);
22604
- n != null && y(t, ["automaticActivityDetection"], oB(i, n));
22604
+ n != null && y(t, ["automaticActivityDetection"], o9(i, n));
22605
22605
  const r = m(e, [
22606
22606
  "activityHandling"
22607
22607
  ]);
@@ -22609,11 +22609,11 @@ function aB(i, e) {
22609
22609
  const o = m(e, ["turnCoverage"]);
22610
22610
  return o != null && y(t, ["turnCoverage"], o), t;
22611
22611
  }
22612
- function lB(i, e) {
22612
+ function l9(i, e) {
22613
22613
  const t = {}, n = m(e, [
22614
22614
  "automaticActivityDetection"
22615
22615
  ]);
22616
- n != null && y(t, ["automaticActivityDetection"], sB(i, n));
22616
+ n != null && y(t, ["automaticActivityDetection"], s9(i, n));
22617
22617
  const r = m(e, [
22618
22618
  "activityHandling"
22619
22619
  ]);
@@ -22621,15 +22621,15 @@ function lB(i, e) {
22621
22621
  const o = m(e, ["turnCoverage"]);
22622
22622
  return o != null && y(t, ["turnCoverage"], o), t;
22623
22623
  }
22624
- function uB(i, e) {
22624
+ function u9(i, e) {
22625
22625
  const t = {}, n = m(e, ["targetTokens"]);
22626
22626
  return n != null && y(t, ["targetTokens"], n), t;
22627
22627
  }
22628
- function cB(i, e) {
22628
+ function c9(i, e) {
22629
22629
  const t = {}, n = m(e, ["targetTokens"]);
22630
22630
  return n != null && y(t, ["targetTokens"], n), t;
22631
22631
  }
22632
- function fB(i, e) {
22632
+ function f9(i, e) {
22633
22633
  const t = {}, n = m(e, [
22634
22634
  "triggerTokens"
22635
22635
  ]);
@@ -22637,9 +22637,9 @@ function fB(i, e) {
22637
22637
  const r = m(e, [
22638
22638
  "slidingWindow"
22639
22639
  ]);
22640
- return r != null && y(t, ["slidingWindow"], uB(i, r)), t;
22640
+ return r != null && y(t, ["slidingWindow"], u9(i, r)), t;
22641
22641
  }
22642
- function dB(i, e) {
22642
+ function d9(i, e) {
22643
22643
  const t = {}, n = m(e, [
22644
22644
  "triggerTokens"
22645
22645
  ]);
@@ -22647,21 +22647,21 @@ function dB(i, e) {
22647
22647
  const r = m(e, [
22648
22648
  "slidingWindow"
22649
22649
  ]);
22650
- return r != null && y(t, ["slidingWindow"], cB(i, r)), t;
22650
+ return r != null && y(t, ["slidingWindow"], c9(i, r)), t;
22651
22651
  }
22652
- function hB(i, e) {
22652
+ function h9(i, e) {
22653
22653
  const t = {}, n = m(e, [
22654
22654
  "proactiveAudio"
22655
22655
  ]);
22656
22656
  return n != null && y(t, ["proactiveAudio"], n), t;
22657
22657
  }
22658
- function pB(i, e) {
22658
+ function p9(i, e) {
22659
22659
  const t = {}, n = m(e, [
22660
22660
  "proactiveAudio"
22661
22661
  ]);
22662
22662
  return n != null && y(t, ["proactiveAudio"], n), t;
22663
22663
  }
22664
- function mB(i, e, t) {
22664
+ function m9(i, e, t) {
22665
22665
  const n = {}, r = m(e, [
22666
22666
  "generationConfig"
22667
22667
  ]);
@@ -22699,12 +22699,12 @@ function mB(i, e, t) {
22699
22699
  const w = m(e, ["tools"]);
22700
22700
  if (t !== void 0 && w != null) {
22701
22701
  let M = bc(i, w);
22702
- Array.isArray(M) && (M = M.map(($) => tB(i, wc(i, $)))), y(t, ["setup", "tools"], M);
22702
+ Array.isArray(M) && (M = M.map(($) => t9(i, wc(i, $)))), y(t, ["setup", "tools"], M);
22703
22703
  }
22704
22704
  const b = m(e, [
22705
22705
  "sessionResumption"
22706
22706
  ]);
22707
- t !== void 0 && b != null && y(t, ["setup", "sessionResumption"], nB(i, b));
22707
+ t !== void 0 && b != null && y(t, ["setup", "sessionResumption"], n9(i, b));
22708
22708
  const p = m(e, [
22709
22709
  "inputAudioTranscription"
22710
22710
  ]);
@@ -22716,15 +22716,15 @@ function mB(i, e, t) {
22716
22716
  const T = m(e, [
22717
22717
  "realtimeInputConfig"
22718
22718
  ]);
22719
- t !== void 0 && T != null && y(t, ["setup", "realtimeInputConfig"], aB(i, T));
22719
+ t !== void 0 && T != null && y(t, ["setup", "realtimeInputConfig"], a9(i, T));
22720
22720
  const C = m(e, [
22721
22721
  "contextWindowCompression"
22722
22722
  ]);
22723
- t !== void 0 && C != null && y(t, ["setup", "contextWindowCompression"], fB(i, C));
22723
+ t !== void 0 && C != null && y(t, ["setup", "contextWindowCompression"], f9(i, C));
22724
22724
  const A = m(e, ["proactivity"]);
22725
- return t !== void 0 && A != null && y(t, ["setup", "proactivity"], hB(i, A)), n;
22725
+ return t !== void 0 && A != null && y(t, ["setup", "proactivity"], h9(i, A)), n;
22726
22726
  }
22727
- function gB(i, e, t) {
22727
+ function g9(i, e, t) {
22728
22728
  const n = {}, r = m(e, [
22729
22729
  "generationConfig"
22730
22730
  ]);
@@ -22762,12 +22762,12 @@ function gB(i, e, t) {
22762
22762
  const w = m(e, ["tools"]);
22763
22763
  if (t !== void 0 && w != null) {
22764
22764
  let M = bc(i, w);
22765
- Array.isArray(M) && (M = M.map(($) => rB(i, wc(i, $)))), y(t, ["setup", "tools"], M);
22765
+ Array.isArray(M) && (M = M.map(($) => r9(i, wc(i, $)))), y(t, ["setup", "tools"], M);
22766
22766
  }
22767
22767
  const b = m(e, [
22768
22768
  "sessionResumption"
22769
22769
  ]);
22770
- t !== void 0 && b != null && y(t, ["setup", "sessionResumption"], iB(i, b));
22770
+ t !== void 0 && b != null && y(t, ["setup", "sessionResumption"], i9(i, b));
22771
22771
  const p = m(e, [
22772
22772
  "inputAudioTranscription"
22773
22773
  ]);
@@ -22779,39 +22779,39 @@ function gB(i, e, t) {
22779
22779
  const T = m(e, [
22780
22780
  "realtimeInputConfig"
22781
22781
  ]);
22782
- t !== void 0 && T != null && y(t, ["setup", "realtimeInputConfig"], lB(i, T));
22782
+ t !== void 0 && T != null && y(t, ["setup", "realtimeInputConfig"], l9(i, T));
22783
22783
  const C = m(e, [
22784
22784
  "contextWindowCompression"
22785
22785
  ]);
22786
- t !== void 0 && C != null && y(t, ["setup", "contextWindowCompression"], dB(i, C));
22786
+ t !== void 0 && C != null && y(t, ["setup", "contextWindowCompression"], d9(i, C));
22787
22787
  const A = m(e, ["proactivity"]);
22788
- return t !== void 0 && A != null && y(t, ["setup", "proactivity"], pB(i, A)), n;
22788
+ return t !== void 0 && A != null && y(t, ["setup", "proactivity"], p9(i, A)), n;
22789
22789
  }
22790
- function vB(i, e) {
22790
+ function v9(i, e) {
22791
22791
  const t = {}, n = m(e, ["model"]);
22792
22792
  n != null && y(t, ["setup", "model"], Ot(i, n));
22793
22793
  const r = m(e, ["config"]);
22794
- return r != null && y(t, ["config"], mB(i, r, t)), t;
22794
+ return r != null && y(t, ["config"], m9(i, r, t)), t;
22795
22795
  }
22796
- function yB(i, e) {
22796
+ function y9(i, e) {
22797
22797
  const t = {}, n = m(e, ["model"]);
22798
22798
  n != null && y(t, ["setup", "model"], Ot(i, n));
22799
22799
  const r = m(e, ["config"]);
22800
- return r != null && y(t, ["config"], gB(i, r, t)), t;
22800
+ return r != null && y(t, ["config"], g9(i, r, t)), t;
22801
22801
  }
22802
- function _B() {
22802
+ function _9() {
22803
22803
  return {};
22804
22804
  }
22805
- function wB() {
22805
+ function w9() {
22806
22806
  return {};
22807
22807
  }
22808
- function bB() {
22808
+ function b9() {
22809
22809
  return {};
22810
22810
  }
22811
- function SB() {
22811
+ function S9() {
22812
22812
  return {};
22813
22813
  }
22814
- function EB(i, e) {
22814
+ function E9(i, e) {
22815
22815
  const t = {}, n = m(e, ["media"]);
22816
22816
  n != null && y(t, ["mediaChunks"], CC(i, n));
22817
22817
  const r = m(e, ["audio"]);
@@ -22825,9 +22825,9 @@ function EB(i, e) {
22825
22825
  const a = m(e, ["text"]);
22826
22826
  return a != null && y(t, ["text"], a), m(e, [
22827
22827
  "activityStart"
22828
- ]) != null && y(t, ["activityStart"], _B()), m(e, ["activityEnd"]) != null && y(t, ["activityEnd"], bB()), t;
22828
+ ]) != null && y(t, ["activityStart"], _9()), m(e, ["activityEnd"]) != null && y(t, ["activityEnd"], b9()), t;
22829
22829
  }
22830
- function TB(i, e) {
22830
+ function T9(i, e) {
22831
22831
  const t = {}, n = m(e, ["media"]);
22832
22832
  if (n != null && y(t, ["mediaChunks"], CC(i, n)), m(e, ["audio"]) !== void 0)
22833
22833
  throw new Error("audio parameter is not supported in Vertex AI.");
@@ -22840,7 +22840,7 @@ function TB(i, e) {
22840
22840
  throw new Error("text parameter is not supported in Vertex AI.");
22841
22841
  return m(e, [
22842
22842
  "activityStart"
22843
- ]) != null && y(t, ["activityStart"], wB()), m(e, ["activityEnd"]) != null && y(t, ["activityEnd"], SB()), t;
22843
+ ]) != null && y(t, ["activityStart"], w9()), m(e, ["activityEnd"]) != null && y(t, ["activityEnd"], S9()), t;
22844
22844
  }
22845
22845
  function DC(i, e) {
22846
22846
  const t = {}, n = m(e, ["text"]);
@@ -22848,7 +22848,7 @@ function DC(i, e) {
22848
22848
  const r = m(e, ["weight"]);
22849
22849
  return r != null && y(t, ["weight"], r), t;
22850
22850
  }
22851
- function CB(i, e) {
22851
+ function C9(i, e) {
22852
22852
  const t = {}, n = m(e, [
22853
22853
  "weightedPrompts"
22854
22854
  ]);
@@ -22888,7 +22888,7 @@ function FC(i, e) {
22888
22888
  ]);
22889
22889
  return _ != null && y(t, ["musicGenerationMode"], _), t;
22890
22890
  }
22891
- function AB(i, e) {
22891
+ function A9(i, e) {
22892
22892
  const t = {}, n = m(e, [
22893
22893
  "musicGenerationConfig"
22894
22894
  ]);
@@ -22924,13 +22924,13 @@ function Em(i, e) {
22924
22924
  ]);
22925
22925
  return s != null && y(t, ["playbackControl"], s), t;
22926
22926
  }
22927
- function PB() {
22927
+ function P9() {
22928
22928
  return {};
22929
22929
  }
22930
- function xB() {
22930
+ function x9() {
22931
22931
  return {};
22932
22932
  }
22933
- function IB(i, e) {
22933
+ function I9(i, e) {
22934
22934
  const t = {}, n = m(e, ["fps"]);
22935
22935
  n != null && y(t, ["fps"], n);
22936
22936
  const r = m(e, ["endOffset"]);
@@ -22938,7 +22938,7 @@ function IB(i, e) {
22938
22938
  const o = m(e, ["startOffset"]);
22939
22939
  return o != null && y(t, ["startOffset"], o), t;
22940
22940
  }
22941
- function RB(i, e) {
22941
+ function R9(i, e) {
22942
22942
  const t = {}, n = m(e, ["fps"]);
22943
22943
  n != null && y(t, ["fps"], n);
22944
22944
  const r = m(e, ["endOffset"]);
@@ -22946,13 +22946,13 @@ function RB(i, e) {
22946
22946
  const o = m(e, ["startOffset"]);
22947
22947
  return o != null && y(t, ["startOffset"], o), t;
22948
22948
  }
22949
- function kB(i, e) {
22949
+ function k9(i, e) {
22950
22950
  const t = {}, n = m(e, ["data"]);
22951
22951
  n != null && y(t, ["data"], n);
22952
22952
  const r = m(e, ["mimeType"]);
22953
22953
  return r != null && y(t, ["mimeType"], r), t;
22954
22954
  }
22955
- function OB(i, e) {
22955
+ function O9(i, e) {
22956
22956
  const t = {}, n = m(e, ["displayName"]);
22957
22957
  n != null && y(t, ["displayName"], n);
22958
22958
  const r = m(e, ["data"]);
@@ -22960,15 +22960,15 @@ function OB(i, e) {
22960
22960
  const o = m(e, ["mimeType"]);
22961
22961
  return o != null && y(t, ["mimeType"], o), t;
22962
22962
  }
22963
- function MB(i, e) {
22963
+ function M9(i, e) {
22964
22964
  const t = {}, n = m(e, [
22965
22965
  "videoMetadata"
22966
22966
  ]);
22967
- n != null && y(t, ["videoMetadata"], IB(i, n));
22967
+ n != null && y(t, ["videoMetadata"], I9(i, n));
22968
22968
  const r = m(e, ["thought"]);
22969
22969
  r != null && y(t, ["thought"], r);
22970
22970
  const o = m(e, ["inlineData"]);
22971
- o != null && y(t, ["inlineData"], kB(i, o));
22971
+ o != null && y(t, ["inlineData"], k9(i, o));
22972
22972
  const s = m(e, [
22973
22973
  "codeExecutionResult"
22974
22974
  ]);
@@ -22988,15 +22988,15 @@ function MB(i, e) {
22988
22988
  const h = m(e, ["text"]);
22989
22989
  return h != null && y(t, ["text"], h), t;
22990
22990
  }
22991
- function LB(i, e) {
22991
+ function L9(i, e) {
22992
22992
  const t = {}, n = m(e, [
22993
22993
  "videoMetadata"
22994
22994
  ]);
22995
- n != null && y(t, ["videoMetadata"], RB(i, n));
22995
+ n != null && y(t, ["videoMetadata"], R9(i, n));
22996
22996
  const r = m(e, ["thought"]);
22997
22997
  r != null && y(t, ["thought"], r);
22998
22998
  const o = m(e, ["inlineData"]);
22999
- o != null && y(t, ["inlineData"], OB(i, o));
22999
+ o != null && y(t, ["inlineData"], O9(i, o));
23000
23000
  const s = m(e, [
23001
23001
  "codeExecutionResult"
23002
23002
  ]);
@@ -23016,20 +23016,20 @@ function LB(i, e) {
23016
23016
  const h = m(e, ["text"]);
23017
23017
  return h != null && y(t, ["text"], h), t;
23018
23018
  }
23019
- function NB(i, e) {
23019
+ function N9(i, e) {
23020
23020
  const t = {}, n = m(e, ["parts"]);
23021
23021
  if (n != null) {
23022
23022
  let o = n;
23023
- Array.isArray(o) && (o = o.map((s) => MB(i, s))), y(t, ["parts"], o);
23023
+ Array.isArray(o) && (o = o.map((s) => M9(i, s))), y(t, ["parts"], o);
23024
23024
  }
23025
23025
  const r = m(e, ["role"]);
23026
23026
  return r != null && y(t, ["role"], r), t;
23027
23027
  }
23028
- function DB(i, e) {
23028
+ function D9(i, e) {
23029
23029
  const t = {}, n = m(e, ["parts"]);
23030
23030
  if (n != null) {
23031
23031
  let o = n;
23032
- Array.isArray(o) && (o = o.map((s) => LB(i, s))), y(t, ["parts"], o);
23032
+ Array.isArray(o) && (o = o.map((s) => L9(i, s))), y(t, ["parts"], o);
23033
23033
  }
23034
23034
  const r = m(e, ["role"]);
23035
23035
  return r != null && y(t, ["role"], r), t;
@@ -23046,7 +23046,7 @@ function JS(i, e) {
23046
23046
  const r = m(e, ["finished"]);
23047
23047
  return r != null && y(t, ["finished"], r), t;
23048
23048
  }
23049
- function FB(i, e) {
23049
+ function F9(i, e) {
23050
23050
  const t = {}, n = m(e, ["retrievedUrl"]);
23051
23051
  n != null && y(t, ["retrievedUrl"], n);
23052
23052
  const r = m(e, [
@@ -23054,17 +23054,17 @@ function FB(i, e) {
23054
23054
  ]);
23055
23055
  return r != null && y(t, ["urlRetrievalStatus"], r), t;
23056
23056
  }
23057
- function $B(i, e) {
23057
+ function $9(i, e) {
23058
23058
  const t = {}, n = m(e, ["urlMetadata"]);
23059
23059
  if (n != null) {
23060
23060
  let r = n;
23061
- Array.isArray(r) && (r = r.map((o) => FB(i, o))), y(t, ["urlMetadata"], r);
23061
+ Array.isArray(r) && (r = r.map((o) => F9(i, o))), y(t, ["urlMetadata"], r);
23062
23062
  }
23063
23063
  return t;
23064
23064
  }
23065
- function UB(i, e) {
23065
+ function U9(i, e) {
23066
23066
  const t = {}, n = m(e, ["modelTurn"]);
23067
- n != null && y(t, ["modelTurn"], NB(i, n));
23067
+ n != null && y(t, ["modelTurn"], N9(i, n));
23068
23068
  const r = m(e, ["turnComplete"]);
23069
23069
  r != null && y(t, ["turnComplete"], r);
23070
23070
  const o = m(e, ["interrupted"]);
@@ -23088,11 +23088,11 @@ function UB(i, e) {
23088
23088
  const d = m(e, [
23089
23089
  "urlContextMetadata"
23090
23090
  ]);
23091
- return d != null && y(t, ["urlContextMetadata"], $B(i, d)), t;
23091
+ return d != null && y(t, ["urlContextMetadata"], $9(i, d)), t;
23092
23092
  }
23093
- function qB(i, e) {
23093
+ function q9(i, e) {
23094
23094
  const t = {}, n = m(e, ["modelTurn"]);
23095
- n != null && y(t, ["modelTurn"], DB(i, n));
23095
+ n != null && y(t, ["modelTurn"], D9(i, n));
23096
23096
  const r = m(e, ["turnComplete"]);
23097
23097
  r != null && y(t, ["turnComplete"], r);
23098
23098
  const o = m(e, ["interrupted"]);
@@ -23114,7 +23114,7 @@ function qB(i, e) {
23114
23114
  ]);
23115
23115
  return c != null && y(t, ["outputTranscription"], JS(i, c)), t;
23116
23116
  }
23117
- function BB(i, e) {
23117
+ function B9(i, e) {
23118
23118
  const t = {}, n = m(e, ["id"]);
23119
23119
  n != null && y(t, ["id"], n);
23120
23120
  const r = m(e, ["args"]);
@@ -23122,37 +23122,37 @@ function BB(i, e) {
23122
23122
  const o = m(e, ["name"]);
23123
23123
  return o != null && y(t, ["name"], o), t;
23124
23124
  }
23125
- function VB(i, e) {
23125
+ function V9(i, e) {
23126
23126
  const t = {}, n = m(e, ["args"]);
23127
23127
  n != null && y(t, ["args"], n);
23128
23128
  const r = m(e, ["name"]);
23129
23129
  return r != null && y(t, ["name"], r), t;
23130
23130
  }
23131
- function HB(i, e) {
23131
+ function H9(i, e) {
23132
23132
  const t = {}, n = m(e, [
23133
23133
  "functionCalls"
23134
23134
  ]);
23135
23135
  if (n != null) {
23136
23136
  let r = n;
23137
- Array.isArray(r) && (r = r.map((o) => BB(i, o))), y(t, ["functionCalls"], r);
23137
+ Array.isArray(r) && (r = r.map((o) => B9(i, o))), y(t, ["functionCalls"], r);
23138
23138
  }
23139
23139
  return t;
23140
23140
  }
23141
- function GB(i, e) {
23141
+ function G9(i, e) {
23142
23142
  const t = {}, n = m(e, [
23143
23143
  "functionCalls"
23144
23144
  ]);
23145
23145
  if (n != null) {
23146
23146
  let r = n;
23147
- Array.isArray(r) && (r = r.map((o) => VB(i, o))), y(t, ["functionCalls"], r);
23147
+ Array.isArray(r) && (r = r.map((o) => V9(i, o))), y(t, ["functionCalls"], r);
23148
23148
  }
23149
23149
  return t;
23150
23150
  }
23151
- function WB(i, e) {
23151
+ function W9(i, e) {
23152
23152
  const t = {}, n = m(e, ["ids"]);
23153
23153
  return n != null && y(t, ["ids"], n), t;
23154
23154
  }
23155
- function zB(i, e) {
23155
+ function z9(i, e) {
23156
23156
  const t = {}, n = m(e, ["ids"]);
23157
23157
  return n != null && y(t, ["ids"], n), t;
23158
23158
  }
@@ -23168,7 +23168,7 @@ function nu(i, e) {
23168
23168
  const r = m(e, ["tokenCount"]);
23169
23169
  return r != null && y(t, ["tokenCount"], r), t;
23170
23170
  }
23171
- function KB(i, e) {
23171
+ function K9(i, e) {
23172
23172
  const t = {}, n = m(e, [
23173
23173
  "promptTokenCount"
23174
23174
  ]);
@@ -23223,7 +23223,7 @@ function KB(i, e) {
23223
23223
  }
23224
23224
  return t;
23225
23225
  }
23226
- function JB(i, e) {
23226
+ function J9(i, e) {
23227
23227
  const t = {}, n = m(e, [
23228
23228
  "promptTokenCount"
23229
23229
  ]);
@@ -23279,15 +23279,15 @@ function JB(i, e) {
23279
23279
  const v = m(e, ["trafficType"]);
23280
23280
  return v != null && y(t, ["trafficType"], v), t;
23281
23281
  }
23282
- function YB(i, e) {
23282
+ function Y9(i, e) {
23283
23283
  const t = {}, n = m(e, ["timeLeft"]);
23284
23284
  return n != null && y(t, ["timeLeft"], n), t;
23285
23285
  }
23286
- function jB(i, e) {
23286
+ function j9(i, e) {
23287
23287
  const t = {}, n = m(e, ["timeLeft"]);
23288
23288
  return n != null && y(t, ["timeLeft"], n), t;
23289
23289
  }
23290
- function ZB(i, e) {
23290
+ function Z9(i, e) {
23291
23291
  const t = {}, n = m(e, ["newHandle"]);
23292
23292
  n != null && y(t, ["newHandle"], n);
23293
23293
  const r = m(e, ["resumable"]);
@@ -23297,7 +23297,7 @@ function ZB(i, e) {
23297
23297
  ]);
23298
23298
  return o != null && y(t, ["lastConsumedClientMessageIndex"], o), t;
23299
23299
  }
23300
- function QB(i, e) {
23300
+ function Q9(i, e) {
23301
23301
  const t = {}, n = m(e, ["newHandle"]);
23302
23302
  n != null && y(t, ["newHandle"], n);
23303
23303
  const r = m(e, ["resumable"]);
@@ -23307,78 +23307,78 @@ function QB(i, e) {
23307
23307
  ]);
23308
23308
  return o != null && y(t, ["lastConsumedClientMessageIndex"], o), t;
23309
23309
  }
23310
- function XB(i, e) {
23310
+ function X9(i, e) {
23311
23311
  const t = {};
23312
23312
  m(e, [
23313
23313
  "setupComplete"
23314
- ]) != null && y(t, ["setupComplete"], PB());
23314
+ ]) != null && y(t, ["setupComplete"], P9());
23315
23315
  const r = m(e, [
23316
23316
  "serverContent"
23317
23317
  ]);
23318
- r != null && y(t, ["serverContent"], UB(i, r));
23318
+ r != null && y(t, ["serverContent"], U9(i, r));
23319
23319
  const o = m(e, ["toolCall"]);
23320
- o != null && y(t, ["toolCall"], HB(i, o));
23320
+ o != null && y(t, ["toolCall"], H9(i, o));
23321
23321
  const s = m(e, [
23322
23322
  "toolCallCancellation"
23323
23323
  ]);
23324
- s != null && y(t, ["toolCallCancellation"], WB(i, s));
23324
+ s != null && y(t, ["toolCallCancellation"], W9(i, s));
23325
23325
  const a = m(e, [
23326
23326
  "usageMetadata"
23327
23327
  ]);
23328
- a != null && y(t, ["usageMetadata"], KB(i, a));
23328
+ a != null && y(t, ["usageMetadata"], K9(i, a));
23329
23329
  const u = m(e, ["goAway"]);
23330
- u != null && y(t, ["goAway"], YB(i, u));
23330
+ u != null && y(t, ["goAway"], Y9(i, u));
23331
23331
  const c = m(e, [
23332
23332
  "sessionResumptionUpdate"
23333
23333
  ]);
23334
- return c != null && y(t, ["sessionResumptionUpdate"], ZB(i, c)), t;
23334
+ return c != null && y(t, ["sessionResumptionUpdate"], Z9(i, c)), t;
23335
23335
  }
23336
- function e9(i, e) {
23336
+ function eB(i, e) {
23337
23337
  const t = {};
23338
23338
  m(e, [
23339
23339
  "setupComplete"
23340
- ]) != null && y(t, ["setupComplete"], xB());
23340
+ ]) != null && y(t, ["setupComplete"], x9());
23341
23341
  const r = m(e, [
23342
23342
  "serverContent"
23343
23343
  ]);
23344
- r != null && y(t, ["serverContent"], qB(i, r));
23344
+ r != null && y(t, ["serverContent"], q9(i, r));
23345
23345
  const o = m(e, ["toolCall"]);
23346
- o != null && y(t, ["toolCall"], GB(i, o));
23346
+ o != null && y(t, ["toolCall"], G9(i, o));
23347
23347
  const s = m(e, [
23348
23348
  "toolCallCancellation"
23349
23349
  ]);
23350
- s != null && y(t, ["toolCallCancellation"], zB(i, s));
23350
+ s != null && y(t, ["toolCallCancellation"], z9(i, s));
23351
23351
  const a = m(e, [
23352
23352
  "usageMetadata"
23353
23353
  ]);
23354
- a != null && y(t, ["usageMetadata"], JB(i, a));
23354
+ a != null && y(t, ["usageMetadata"], J9(i, a));
23355
23355
  const u = m(e, ["goAway"]);
23356
- u != null && y(t, ["goAway"], jB(i, u));
23356
+ u != null && y(t, ["goAway"], j9(i, u));
23357
23357
  const c = m(e, [
23358
23358
  "sessionResumptionUpdate"
23359
23359
  ]);
23360
- return c != null && y(t, ["sessionResumptionUpdate"], QB(i, c)), t;
23360
+ return c != null && y(t, ["sessionResumptionUpdate"], Q9(i, c)), t;
23361
23361
  }
23362
- function t9() {
23362
+ function tB() {
23363
23363
  return {};
23364
23364
  }
23365
- function r9(i, e) {
23365
+ function rB(i, e) {
23366
23366
  const t = {}, n = m(e, ["text"]);
23367
23367
  n != null && y(t, ["text"], n);
23368
23368
  const r = m(e, ["weight"]);
23369
23369
  return r != null && y(t, ["weight"], r), t;
23370
23370
  }
23371
- function n9(i, e) {
23371
+ function nB(i, e) {
23372
23372
  const t = {}, n = m(e, [
23373
23373
  "weightedPrompts"
23374
23374
  ]);
23375
23375
  if (n != null) {
23376
23376
  let r = n;
23377
- Array.isArray(r) && (r = r.map((o) => r9(i, o))), y(t, ["weightedPrompts"], r);
23377
+ Array.isArray(r) && (r = r.map((o) => rB(i, o))), y(t, ["weightedPrompts"], r);
23378
23378
  }
23379
23379
  return t;
23380
23380
  }
23381
- function i9(i, e) {
23381
+ function iB(i, e) {
23382
23382
  const t = {}, n = m(e, ["temperature"]);
23383
23383
  n != null && y(t, ["temperature"], n);
23384
23384
  const r = m(e, ["topK"]);
@@ -23408,17 +23408,17 @@ function i9(i, e) {
23408
23408
  ]);
23409
23409
  return _ != null && y(t, ["musicGenerationMode"], _), t;
23410
23410
  }
23411
- function o9(i, e) {
23411
+ function oB(i, e) {
23412
23412
  const t = {}, n = m(e, [
23413
23413
  "clientContent"
23414
23414
  ]);
23415
- n != null && y(t, ["clientContent"], n9(i, n));
23415
+ n != null && y(t, ["clientContent"], nB(i, n));
23416
23416
  const r = m(e, [
23417
23417
  "musicGenerationConfig"
23418
23418
  ]);
23419
- return r != null && y(t, ["musicGenerationConfig"], i9(i, r)), t;
23419
+ return r != null && y(t, ["musicGenerationConfig"], iB(i, r)), t;
23420
23420
  }
23421
- function s9(i, e) {
23421
+ function sB(i, e) {
23422
23422
  const t = {}, n = m(e, ["data"]);
23423
23423
  n != null && y(t, ["data"], n);
23424
23424
  const r = m(e, ["mimeType"]);
@@ -23426,17 +23426,17 @@ function s9(i, e) {
23426
23426
  const o = m(e, [
23427
23427
  "sourceMetadata"
23428
23428
  ]);
23429
- return o != null && y(t, ["sourceMetadata"], o9(i, o)), t;
23429
+ return o != null && y(t, ["sourceMetadata"], oB(i, o)), t;
23430
23430
  }
23431
- function a9(i, e) {
23431
+ function aB(i, e) {
23432
23432
  const t = {}, n = m(e, ["audioChunks"]);
23433
23433
  if (n != null) {
23434
23434
  let r = n;
23435
- Array.isArray(r) && (r = r.map((o) => s9(i, o))), y(t, ["audioChunks"], r);
23435
+ Array.isArray(r) && (r = r.map((o) => sB(i, o))), y(t, ["audioChunks"], r);
23436
23436
  }
23437
23437
  return t;
23438
23438
  }
23439
- function l9(i, e) {
23439
+ function lB(i, e) {
23440
23440
  const t = {}, n = m(e, ["text"]);
23441
23441
  n != null && y(t, ["text"], n);
23442
23442
  const r = m(e, [
@@ -23444,26 +23444,26 @@ function l9(i, e) {
23444
23444
  ]);
23445
23445
  return r != null && y(t, ["filteredReason"], r), t;
23446
23446
  }
23447
- function u9(i, e) {
23447
+ function uB(i, e) {
23448
23448
  const t = {};
23449
23449
  m(e, [
23450
23450
  "setupComplete"
23451
- ]) != null && y(t, ["setupComplete"], t9());
23451
+ ]) != null && y(t, ["setupComplete"], tB());
23452
23452
  const r = m(e, [
23453
23453
  "serverContent"
23454
23454
  ]);
23455
- r != null && y(t, ["serverContent"], a9(i, r));
23455
+ r != null && y(t, ["serverContent"], aB(i, r));
23456
23456
  const o = m(e, [
23457
23457
  "filteredPrompt"
23458
23458
  ]);
23459
- return o != null && y(t, ["filteredPrompt"], l9(i, o)), t;
23459
+ return o != null && y(t, ["filteredPrompt"], lB(i, o)), t;
23460
23460
  }
23461
23461
  /**
23462
23462
  * @license
23463
23463
  * Copyright 2025 Google LLC
23464
23464
  * SPDX-License-Identifier: Apache-2.0
23465
23465
  */
23466
- function c9(i, e) {
23466
+ function cB(i, e) {
23467
23467
  const t = {}, n = m(e, ["fps"]);
23468
23468
  n != null && y(t, ["fps"], n);
23469
23469
  const r = m(e, ["endOffset"]);
@@ -23471,7 +23471,7 @@ function c9(i, e) {
23471
23471
  const o = m(e, ["startOffset"]);
23472
23472
  return o != null && y(t, ["startOffset"], o), t;
23473
23473
  }
23474
- function f9(i, e) {
23474
+ function fB(i, e) {
23475
23475
  const t = {};
23476
23476
  if (m(e, ["displayName"]) !== void 0)
23477
23477
  throw new Error("displayName parameter is not supported in Gemini API.");
@@ -23480,15 +23480,15 @@ function f9(i, e) {
23480
23480
  const r = m(e, ["mimeType"]);
23481
23481
  return r != null && y(t, ["mimeType"], r), t;
23482
23482
  }
23483
- function d9(i, e) {
23483
+ function dB(i, e) {
23484
23484
  const t = {}, n = m(e, [
23485
23485
  "videoMetadata"
23486
23486
  ]);
23487
- n != null && y(t, ["videoMetadata"], c9(i, n));
23487
+ n != null && y(t, ["videoMetadata"], cB(i, n));
23488
23488
  const r = m(e, ["thought"]);
23489
23489
  r != null && y(t, ["thought"], r);
23490
23490
  const o = m(e, ["inlineData"]);
23491
- o != null && y(t, ["inlineData"], f9(i, o));
23491
+ o != null && y(t, ["inlineData"], fB(i, o));
23492
23492
  const s = m(e, [
23493
23493
  "codeExecutionResult"
23494
23494
  ]);
@@ -23512,12 +23512,12 @@ function Ec(i, e) {
23512
23512
  const t = {}, n = m(e, ["parts"]);
23513
23513
  if (n != null) {
23514
23514
  let o = n;
23515
- Array.isArray(o) && (o = o.map((s) => d9(i, s))), y(t, ["parts"], o);
23515
+ Array.isArray(o) && (o = o.map((s) => dB(i, s))), y(t, ["parts"], o);
23516
23516
  }
23517
23517
  const r = m(e, ["role"]);
23518
23518
  return r != null && y(t, ["role"], r), t;
23519
23519
  }
23520
- function h9(i, e) {
23520
+ function hB(i, e) {
23521
23521
  const t = {};
23522
23522
  if (m(e, ["method"]) !== void 0)
23523
23523
  throw new Error("method parameter is not supported in Gemini API.");
@@ -23526,7 +23526,7 @@ function h9(i, e) {
23526
23526
  const r = m(e, ["threshold"]);
23527
23527
  return r != null && y(t, ["threshold"], r), t;
23528
23528
  }
23529
- function p9(i, e) {
23529
+ function pB(i, e) {
23530
23530
  const t = {}, n = m(e, ["behavior"]);
23531
23531
  n != null && y(t, ["behavior"], n);
23532
23532
  const r = m(e, ["description"]);
@@ -23538,19 +23538,19 @@ function p9(i, e) {
23538
23538
  const a = m(e, ["response"]);
23539
23539
  return a != null && y(t, ["response"], a), t;
23540
23540
  }
23541
- function m9(i, e) {
23541
+ function mB(i, e) {
23542
23542
  const t = {}, n = m(e, ["startTime"]);
23543
23543
  n != null && y(t, ["startTime"], n);
23544
23544
  const r = m(e, ["endTime"]);
23545
23545
  return r != null && y(t, ["endTime"], r), t;
23546
23546
  }
23547
- function g9(i, e) {
23547
+ function gB(i, e) {
23548
23548
  const t = {}, n = m(e, [
23549
23549
  "timeRangeFilter"
23550
23550
  ]);
23551
- return n != null && y(t, ["timeRangeFilter"], m9(i, n)), t;
23551
+ return n != null && y(t, ["timeRangeFilter"], mB(i, n)), t;
23552
23552
  }
23553
- function v9(i, e) {
23553
+ function vB(i, e) {
23554
23554
  const t = {}, n = m(e, ["mode"]);
23555
23555
  n != null && y(t, ["mode"], n);
23556
23556
  const r = m(e, [
@@ -23558,41 +23558,41 @@ function v9(i, e) {
23558
23558
  ]);
23559
23559
  return r != null && y(t, ["dynamicThreshold"], r), t;
23560
23560
  }
23561
- function y9(i, e) {
23561
+ function yB(i, e) {
23562
23562
  const t = {}, n = m(e, [
23563
23563
  "dynamicRetrievalConfig"
23564
23564
  ]);
23565
- return n != null && y(t, ["dynamicRetrievalConfig"], v9(i, n)), t;
23565
+ return n != null && y(t, ["dynamicRetrievalConfig"], vB(i, n)), t;
23566
23566
  }
23567
- function _9() {
23567
+ function _B() {
23568
23568
  return {};
23569
23569
  }
23570
- function w9(i, e) {
23570
+ function wB(i, e) {
23571
23571
  const t = {}, n = m(e, [
23572
23572
  "functionDeclarations"
23573
23573
  ]);
23574
23574
  if (n != null) {
23575
23575
  let u = n;
23576
- Array.isArray(u) && (u = u.map((c) => p9(i, c))), y(t, ["functionDeclarations"], u);
23576
+ Array.isArray(u) && (u = u.map((c) => pB(i, c))), y(t, ["functionDeclarations"], u);
23577
23577
  }
23578
23578
  if (m(e, ["retrieval"]) !== void 0)
23579
23579
  throw new Error("retrieval parameter is not supported in Gemini API.");
23580
23580
  const r = m(e, ["googleSearch"]);
23581
- r != null && y(t, ["googleSearch"], g9(i, r));
23581
+ r != null && y(t, ["googleSearch"], gB(i, r));
23582
23582
  const o = m(e, [
23583
23583
  "googleSearchRetrieval"
23584
23584
  ]);
23585
- if (o != null && y(t, ["googleSearchRetrieval"], y9(i, o)), m(e, ["enterpriseWebSearch"]) !== void 0)
23585
+ if (o != null && y(t, ["googleSearchRetrieval"], yB(i, o)), m(e, ["enterpriseWebSearch"]) !== void 0)
23586
23586
  throw new Error("enterpriseWebSearch parameter is not supported in Gemini API.");
23587
23587
  if (m(e, ["googleMaps"]) !== void 0)
23588
23588
  throw new Error("googleMaps parameter is not supported in Gemini API.");
23589
- m(e, ["urlContext"]) != null && y(t, ["urlContext"], _9());
23589
+ m(e, ["urlContext"]) != null && y(t, ["urlContext"], _B());
23590
23590
  const a = m(e, [
23591
23591
  "codeExecution"
23592
23592
  ]);
23593
23593
  return a != null && y(t, ["codeExecution"], a), t;
23594
23594
  }
23595
- function b9(i, e) {
23595
+ function bB(i, e) {
23596
23596
  const t = {}, n = m(e, ["mode"]);
23597
23597
  n != null && y(t, ["mode"], n);
23598
23598
  const r = m(e, [
@@ -23600,27 +23600,27 @@ function b9(i, e) {
23600
23600
  ]);
23601
23601
  return r != null && y(t, ["allowedFunctionNames"], r), t;
23602
23602
  }
23603
- function S9(i, e) {
23603
+ function SB(i, e) {
23604
23604
  const t = {}, n = m(e, ["latitude"]);
23605
23605
  n != null && y(t, ["latitude"], n);
23606
23606
  const r = m(e, ["longitude"]);
23607
23607
  return r != null && y(t, ["longitude"], r), t;
23608
23608
  }
23609
- function E9(i, e) {
23609
+ function EB(i, e) {
23610
23610
  const t = {}, n = m(e, ["latLng"]);
23611
- return n != null && y(t, ["latLng"], S9(i, n)), t;
23611
+ return n != null && y(t, ["latLng"], SB(i, n)), t;
23612
23612
  }
23613
- function T9(i, e) {
23613
+ function TB(i, e) {
23614
23614
  const t = {}, n = m(e, [
23615
23615
  "functionCallingConfig"
23616
23616
  ]);
23617
- n != null && y(t, ["functionCallingConfig"], b9(i, n));
23617
+ n != null && y(t, ["functionCallingConfig"], bB(i, n));
23618
23618
  const r = m(e, [
23619
23619
  "retrievalConfig"
23620
23620
  ]);
23621
- return r != null && y(t, ["retrievalConfig"], E9(i, r)), t;
23621
+ return r != null && y(t, ["retrievalConfig"], EB(i, r)), t;
23622
23622
  }
23623
- function C9(i, e) {
23623
+ function CB(i, e) {
23624
23624
  const t = {}, n = m(e, ["voiceName"]);
23625
23625
  return n != null && y(t, ["voiceName"], n), t;
23626
23626
  }
@@ -23628,35 +23628,35 @@ function qC(i, e) {
23628
23628
  const t = {}, n = m(e, [
23629
23629
  "prebuiltVoiceConfig"
23630
23630
  ]);
23631
- return n != null && y(t, ["prebuiltVoiceConfig"], C9(i, n)), t;
23631
+ return n != null && y(t, ["prebuiltVoiceConfig"], CB(i, n)), t;
23632
23632
  }
23633
- function A9(i, e) {
23633
+ function AB(i, e) {
23634
23634
  const t = {}, n = m(e, ["speaker"]);
23635
23635
  n != null && y(t, ["speaker"], n);
23636
23636
  const r = m(e, ["voiceConfig"]);
23637
23637
  return r != null && y(t, ["voiceConfig"], qC(i, r)), t;
23638
23638
  }
23639
- function P9(i, e) {
23639
+ function PB(i, e) {
23640
23640
  const t = {}, n = m(e, [
23641
23641
  "speakerVoiceConfigs"
23642
23642
  ]);
23643
23643
  if (n != null) {
23644
23644
  let r = n;
23645
- Array.isArray(r) && (r = r.map((o) => A9(i, o))), y(t, ["speakerVoiceConfigs"], r);
23645
+ Array.isArray(r) && (r = r.map((o) => AB(i, o))), y(t, ["speakerVoiceConfigs"], r);
23646
23646
  }
23647
23647
  return t;
23648
23648
  }
23649
- function x9(i, e) {
23649
+ function xB(i, e) {
23650
23650
  const t = {}, n = m(e, ["voiceConfig"]);
23651
23651
  n != null && y(t, ["voiceConfig"], qC(i, n));
23652
23652
  const r = m(e, [
23653
23653
  "multiSpeakerVoiceConfig"
23654
23654
  ]);
23655
- r != null && y(t, ["multiSpeakerVoiceConfig"], P9(i, r));
23655
+ r != null && y(t, ["multiSpeakerVoiceConfig"], PB(i, r));
23656
23656
  const o = m(e, ["languageCode"]);
23657
23657
  return o != null && y(t, ["languageCode"], o), t;
23658
23658
  }
23659
- function I9(i, e) {
23659
+ function IB(i, e) {
23660
23660
  const t = {}, n = m(e, [
23661
23661
  "includeThoughts"
23662
23662
  ]);
@@ -23666,7 +23666,7 @@ function I9(i, e) {
23666
23666
  ]);
23667
23667
  return r != null && y(t, ["thinkingBudget"], r), t;
23668
23668
  }
23669
- function R9(i, e, t) {
23669
+ function RB(i, e, t) {
23670
23670
  const n = {}, r = m(e, [
23671
23671
  "systemInstruction"
23672
23672
  ]);
@@ -23721,15 +23721,15 @@ function R9(i, e, t) {
23721
23721
  ]);
23722
23722
  if (t !== void 0 && S != null) {
23723
23723
  let O = S;
23724
- Array.isArray(O) && (O = O.map((N) => h9(i, N))), y(t, ["safetySettings"], O);
23724
+ Array.isArray(O) && (O = O.map((N) => hB(i, N))), y(t, ["safetySettings"], O);
23725
23725
  }
23726
23726
  const T = m(e, ["tools"]);
23727
23727
  if (t !== void 0 && T != null) {
23728
23728
  let O = bc(i, T);
23729
- Array.isArray(O) && (O = O.map((N) => w9(i, wc(i, N)))), y(t, ["tools"], O);
23729
+ Array.isArray(O) && (O = O.map((N) => wB(i, wc(i, N)))), y(t, ["tools"], O);
23730
23730
  }
23731
23731
  const C = m(e, ["toolConfig"]);
23732
- if (t !== void 0 && C != null && y(t, ["toolConfig"], T9(i, C)), m(e, ["labels"]) !== void 0)
23732
+ if (t !== void 0 && C != null && y(t, ["toolConfig"], TB(i, C)), m(e, ["labels"]) !== void 0)
23733
23733
  throw new Error("labels parameter is not supported in Gemini API.");
23734
23734
  const A = m(e, [
23735
23735
  "cachedContent"
@@ -23744,12 +23744,12 @@ function R9(i, e, t) {
23744
23744
  ]);
23745
23745
  $ != null && y(n, ["mediaResolution"], $);
23746
23746
  const x = m(e, ["speechConfig"]);
23747
- if (x != null && y(n, ["speechConfig"], x9(i, xC(i, x))), m(e, ["audioTimestamp"]) !== void 0)
23747
+ if (x != null && y(n, ["speechConfig"], xB(i, xC(i, x))), m(e, ["audioTimestamp"]) !== void 0)
23748
23748
  throw new Error("audioTimestamp parameter is not supported in Gemini API.");
23749
23749
  const I = m(e, [
23750
23750
  "thinkingConfig"
23751
23751
  ]);
23752
- return I != null && y(n, ["thinkingConfig"], I9(i, I)), n;
23752
+ return I != null && y(n, ["thinkingConfig"], IB(i, I)), n;
23753
23753
  }
23754
23754
  function YS(i, e) {
23755
23755
  const t = {}, n = m(e, ["model"]);
@@ -23760,9 +23760,9 @@ function YS(i, e) {
23760
23760
  Array.isArray(s) && (s = s.map((a) => Ec(i, a))), y(t, ["contents"], s);
23761
23761
  }
23762
23762
  const o = m(e, ["config"]);
23763
- return o != null && y(t, ["generationConfig"], R9(i, o, t)), t;
23763
+ return o != null && y(t, ["generationConfig"], RB(i, o, t)), t;
23764
23764
  }
23765
- function k9(i, e, t) {
23765
+ function kB(i, e, t) {
23766
23766
  const n = {}, r = m(e, ["taskType"]);
23767
23767
  t !== void 0 && r != null && y(t, ["requests[]", "taskType"], r);
23768
23768
  const o = m(e, ["title"]);
@@ -23776,17 +23776,17 @@ function k9(i, e, t) {
23776
23776
  throw new Error("autoTruncate parameter is not supported in Gemini API.");
23777
23777
  return n;
23778
23778
  }
23779
- function O9(i, e) {
23779
+ function OB(i, e) {
23780
23780
  const t = {}, n = m(e, ["model"]);
23781
23781
  n != null && y(t, ["_url", "model"], Ot(i, n));
23782
23782
  const r = m(e, ["contents"]);
23783
23783
  r != null && y(t, ["requests[]", "content"], PC(i, r));
23784
23784
  const o = m(e, ["config"]);
23785
- o != null && y(t, ["config"], k9(i, o, t));
23785
+ o != null && y(t, ["config"], kB(i, o, t));
23786
23786
  const s = m(e, ["model"]);
23787
23787
  return s !== void 0 && y(t, ["requests[]", "model"], Ot(i, s)), t;
23788
23788
  }
23789
- function M9(i, e, t) {
23789
+ function MB(i, e, t) {
23790
23790
  const n = {};
23791
23791
  if (m(e, ["outputGcsUri"]) !== void 0)
23792
23792
  throw new Error("outputGcsUri parameter is not supported in Gemini API.");
@@ -23834,21 +23834,21 @@ function M9(i, e, t) {
23834
23834
  throw new Error("enhancePrompt parameter is not supported in Gemini API.");
23835
23835
  return n;
23836
23836
  }
23837
- function L9(i, e) {
23837
+ function LB(i, e) {
23838
23838
  const t = {}, n = m(e, ["model"]);
23839
23839
  n != null && y(t, ["_url", "model"], Ot(i, n));
23840
23840
  const r = m(e, ["prompt"]);
23841
23841
  r != null && y(t, ["instances[0]", "prompt"], r);
23842
23842
  const o = m(e, ["config"]);
23843
- return o != null && y(t, ["config"], M9(i, o, t)), t;
23843
+ return o != null && y(t, ["config"], MB(i, o, t)), t;
23844
23844
  }
23845
- function N9(i, e) {
23845
+ function NB(i, e) {
23846
23846
  const t = {}, n = m(e, ["model"]);
23847
23847
  n != null && y(t, ["_url", "name"], Ot(i, n));
23848
23848
  const r = m(e, ["config"]);
23849
23849
  return r != null && y(t, ["config"], r), t;
23850
23850
  }
23851
- function D9(i, e, t) {
23851
+ function DB(i, e, t) {
23852
23852
  const n = {}, r = m(e, ["pageSize"]);
23853
23853
  t !== void 0 && r != null && y(t, ["_query", "pageSize"], r);
23854
23854
  const o = m(e, ["pageToken"]);
@@ -23858,11 +23858,11 @@ function D9(i, e, t) {
23858
23858
  const a = m(e, ["queryBase"]);
23859
23859
  return t !== void 0 && a != null && y(t, ["_url", "models_url"], OC(i, a)), n;
23860
23860
  }
23861
- function F9(i, e) {
23861
+ function FB(i, e) {
23862
23862
  const t = {}, n = m(e, ["config"]);
23863
- return n != null && y(t, ["config"], D9(i, n, t)), t;
23863
+ return n != null && y(t, ["config"], DB(i, n, t)), t;
23864
23864
  }
23865
- function $9(i, e, t) {
23865
+ function $B(i, e, t) {
23866
23866
  const n = {}, r = m(e, ["displayName"]);
23867
23867
  t !== void 0 && r != null && y(t, ["displayName"], r);
23868
23868
  const o = m(e, ["description"]);
@@ -23872,19 +23872,19 @@ function $9(i, e, t) {
23872
23872
  ]);
23873
23873
  return t !== void 0 && s != null && y(t, ["defaultCheckpointId"], s), n;
23874
23874
  }
23875
- function U9(i, e) {
23875
+ function UB(i, e) {
23876
23876
  const t = {}, n = m(e, ["model"]);
23877
23877
  n != null && y(t, ["_url", "name"], Ot(i, n));
23878
23878
  const r = m(e, ["config"]);
23879
- return r != null && y(t, ["config"], $9(i, r, t)), t;
23879
+ return r != null && y(t, ["config"], $B(i, r, t)), t;
23880
23880
  }
23881
- function q9(i, e) {
23881
+ function qB(i, e) {
23882
23882
  const t = {}, n = m(e, ["model"]);
23883
23883
  n != null && y(t, ["_url", "name"], Ot(i, n));
23884
23884
  const r = m(e, ["config"]);
23885
23885
  return r != null && y(t, ["config"], r), t;
23886
23886
  }
23887
- function B9(i, e) {
23887
+ function BB(i, e) {
23888
23888
  const t = {};
23889
23889
  if (m(e, ["systemInstruction"]) !== void 0)
23890
23890
  throw new Error("systemInstruction parameter is not supported in Gemini API.");
@@ -23894,7 +23894,7 @@ function B9(i, e) {
23894
23894
  throw new Error("generationConfig parameter is not supported in Gemini API.");
23895
23895
  return t;
23896
23896
  }
23897
- function V9(i, e) {
23897
+ function VB(i, e) {
23898
23898
  const t = {}, n = m(e, ["model"]);
23899
23899
  n != null && y(t, ["_url", "model"], Ot(i, n));
23900
23900
  const r = m(e, ["contents"]);
@@ -23903,9 +23903,9 @@ function V9(i, e) {
23903
23903
  Array.isArray(s) && (s = s.map((a) => Ec(i, a))), y(t, ["contents"], s);
23904
23904
  }
23905
23905
  const o = m(e, ["config"]);
23906
- return o != null && y(t, ["config"], B9(i, o)), t;
23906
+ return o != null && y(t, ["config"], BB(i, o)), t;
23907
23907
  }
23908
- function H9(i, e) {
23908
+ function HB(i, e) {
23909
23909
  const t = {};
23910
23910
  if (m(e, ["gcsUri"]) !== void 0)
23911
23911
  throw new Error("gcsUri parameter is not supported in Gemini API.");
@@ -23914,7 +23914,7 @@ function H9(i, e) {
23914
23914
  const r = m(e, ["mimeType"]);
23915
23915
  return r != null && y(t, ["mimeType"], r), t;
23916
23916
  }
23917
- function G9(i, e, t) {
23917
+ function GB(i, e, t) {
23918
23918
  const n = {}, r = m(e, [
23919
23919
  "numberOfVideos"
23920
23920
  ]);
@@ -23942,17 +23942,17 @@ function G9(i, e, t) {
23942
23942
  throw new Error("enhancePrompt parameter is not supported in Gemini API.");
23943
23943
  return n;
23944
23944
  }
23945
- function W9(i, e) {
23945
+ function WB(i, e) {
23946
23946
  const t = {}, n = m(e, ["model"]);
23947
23947
  n != null && y(t, ["_url", "model"], Ot(i, n));
23948
23948
  const r = m(e, ["prompt"]);
23949
23949
  r != null && y(t, ["instances[0]", "prompt"], r);
23950
23950
  const o = m(e, ["image"]);
23951
- o != null && y(t, ["instances[0]", "image"], H9(i, o));
23951
+ o != null && y(t, ["instances[0]", "image"], HB(i, o));
23952
23952
  const s = m(e, ["config"]);
23953
- return s != null && y(t, ["config"], G9(i, s, t)), t;
23953
+ return s != null && y(t, ["config"], GB(i, s, t)), t;
23954
23954
  }
23955
- function z9(i, e) {
23955
+ function zB(i, e) {
23956
23956
  const t = {}, n = m(e, ["fps"]);
23957
23957
  n != null && y(t, ["fps"], n);
23958
23958
  const r = m(e, ["endOffset"]);
@@ -23960,7 +23960,7 @@ function z9(i, e) {
23960
23960
  const o = m(e, ["startOffset"]);
23961
23961
  return o != null && y(t, ["startOffset"], o), t;
23962
23962
  }
23963
- function K9(i, e) {
23963
+ function KB(i, e) {
23964
23964
  const t = {}, n = m(e, ["displayName"]);
23965
23965
  n != null && y(t, ["displayName"], n);
23966
23966
  const r = m(e, ["data"]);
@@ -23968,15 +23968,15 @@ function K9(i, e) {
23968
23968
  const o = m(e, ["mimeType"]);
23969
23969
  return o != null && y(t, ["mimeType"], o), t;
23970
23970
  }
23971
- function J9(i, e) {
23971
+ function JB(i, e) {
23972
23972
  const t = {}, n = m(e, [
23973
23973
  "videoMetadata"
23974
23974
  ]);
23975
- n != null && y(t, ["videoMetadata"], z9(i, n));
23975
+ n != null && y(t, ["videoMetadata"], zB(i, n));
23976
23976
  const r = m(e, ["thought"]);
23977
23977
  r != null && y(t, ["thought"], r);
23978
23978
  const o = m(e, ["inlineData"]);
23979
- o != null && y(t, ["inlineData"], K9(i, o));
23979
+ o != null && y(t, ["inlineData"], KB(i, o));
23980
23980
  const s = m(e, [
23981
23981
  "codeExecutionResult"
23982
23982
  ]);
@@ -24000,18 +24000,18 @@ function hs(i, e) {
24000
24000
  const t = {}, n = m(e, ["parts"]);
24001
24001
  if (n != null) {
24002
24002
  let o = n;
24003
- Array.isArray(o) && (o = o.map((s) => J9(i, s))), y(t, ["parts"], o);
24003
+ Array.isArray(o) && (o = o.map((s) => JB(i, s))), y(t, ["parts"], o);
24004
24004
  }
24005
24005
  const r = m(e, ["role"]);
24006
24006
  return r != null && y(t, ["role"], r), t;
24007
24007
  }
24008
- function Y9(i, e) {
24008
+ function YB(i, e) {
24009
24009
  const t = {}, n = m(e, [
24010
24010
  "featureSelectionPreference"
24011
24011
  ]);
24012
24012
  return n != null && y(t, ["featureSelectionPreference"], n), t;
24013
24013
  }
24014
- function j9(i, e) {
24014
+ function jB(i, e) {
24015
24015
  const t = {}, n = m(e, ["method"]);
24016
24016
  n != null && y(t, ["method"], n);
24017
24017
  const r = m(e, ["category"]);
@@ -24019,7 +24019,7 @@ function j9(i, e) {
24019
24019
  const o = m(e, ["threshold"]);
24020
24020
  return o != null && y(t, ["threshold"], o), t;
24021
24021
  }
24022
- function Z9(i, e) {
24022
+ function ZB(i, e) {
24023
24023
  const t = {};
24024
24024
  if (m(e, ["behavior"]) !== void 0)
24025
24025
  throw new Error("behavior parameter is not supported in Vertex AI.");
@@ -24032,17 +24032,17 @@ function Z9(i, e) {
24032
24032
  const s = m(e, ["response"]);
24033
24033
  return s != null && y(t, ["response"], s), t;
24034
24034
  }
24035
- function Q9(i, e) {
24035
+ function QB(i, e) {
24036
24036
  const t = {}, n = m(e, ["startTime"]);
24037
24037
  n != null && y(t, ["startTime"], n);
24038
24038
  const r = m(e, ["endTime"]);
24039
24039
  return r != null && y(t, ["endTime"], r), t;
24040
24040
  }
24041
- function X9(i, e) {
24041
+ function XB(i, e) {
24042
24042
  const t = {}, n = m(e, [
24043
24043
  "timeRangeFilter"
24044
24044
  ]);
24045
- return n != null && y(t, ["timeRangeFilter"], Q9(i, n)), t;
24045
+ return n != null && y(t, ["timeRangeFilter"], QB(i, n)), t;
24046
24046
  }
24047
24047
  function eV(i, e) {
24048
24048
  const t = {}, n = m(e, ["mode"]);
@@ -24093,12 +24093,12 @@ function BC(i, e) {
24093
24093
  ]);
24094
24094
  if (n != null) {
24095
24095
  let d = n;
24096
- Array.isArray(d) && (d = d.map((h) => Z9(i, h))), y(t, ["functionDeclarations"], d);
24096
+ Array.isArray(d) && (d = d.map((h) => ZB(i, h))), y(t, ["functionDeclarations"], d);
24097
24097
  }
24098
24098
  const r = m(e, ["retrieval"]);
24099
24099
  r != null && y(t, ["retrieval"], r);
24100
24100
  const o = m(e, ["googleSearch"]);
24101
- o != null && y(t, ["googleSearch"], X9(i, o));
24101
+ o != null && y(t, ["googleSearch"], XB(i, o));
24102
24102
  const s = m(e, [
24103
24103
  "googleSearchRetrieval"
24104
24104
  ]);
@@ -24222,13 +24222,13 @@ function pV(i, e, t) {
24222
24222
  const T = m(e, [
24223
24223
  "modelSelectionConfig"
24224
24224
  ]);
24225
- T != null && y(n, ["modelConfig"], Y9(i, T));
24225
+ T != null && y(n, ["modelConfig"], YB(i, T));
24226
24226
  const C = m(e, [
24227
24227
  "safetySettings"
24228
24228
  ]);
24229
24229
  if (t !== void 0 && C != null) {
24230
24230
  let K = C;
24231
- Array.isArray(K) && (K = K.map((J) => j9(i, J))), y(t, ["safetySettings"], K);
24231
+ Array.isArray(K) && (K = K.map((J) => jB(i, J))), y(t, ["safetySettings"], K);
24232
24232
  }
24233
24233
  const A = m(e, ["tools"]);
24234
24234
  if (t !== void 0 && A != null) {
@@ -25589,7 +25589,7 @@ async function V4(i, e, t) {
25589
25589
  const n = new eq();
25590
25590
  let r;
25591
25591
  t.data instanceof Blob ? r = JSON.parse(await t.data.text()) : r = JSON.parse(t.data);
25592
- const o = u9(i, r);
25592
+ const o = uB(i, r);
25593
25593
  Object.assign(n, o), e(n);
25594
25594
  }
25595
25595
  class H4 {
@@ -25673,7 +25673,7 @@ class G4 {
25673
25673
  async setWeightedPrompts(e) {
25674
25674
  if (!e.weightedPrompts || Object.keys(e.weightedPrompts).length === 0)
25675
25675
  throw new Error("Weighted prompts must be set and contain at least one entry.");
25676
- const t = CB(this.apiClient, e), n = UC(this.apiClient, t);
25676
+ const t = C9(this.apiClient, e), n = UC(this.apiClient, t);
25677
25677
  this.conn.send(JSON.stringify({ clientContent: n }));
25678
25678
  }
25679
25679
  /**
@@ -25689,7 +25689,7 @@ class G4 {
25689
25689
  */
25690
25690
  async setMusicGenerationConfig(e) {
25691
25691
  e.musicGenerationConfig || (e.musicGenerationConfig = {});
25692
- const t = AB(this.apiClient, e), n = Em(this.apiClient, t);
25692
+ const t = A9(this.apiClient, e), n = Em(this.apiClient, t);
25693
25693
  this.conn.send(JSON.stringify(n));
25694
25694
  }
25695
25695
  sendPlaybackControl(e) {
@@ -25764,10 +25764,10 @@ async function J4(i, e, t) {
25764
25764
  const n = new XU();
25765
25765
  let r;
25766
25766
  if (t.data instanceof Blob ? r = JSON.parse(await t.data.text()) : r = JSON.parse(t.data), i.isVertexAI()) {
25767
- const o = e9(i, r);
25767
+ const o = eB(i, r);
25768
25768
  Object.assign(n, o);
25769
25769
  } else {
25770
- const o = XB(i, r);
25770
+ const o = X9(i, r);
25771
25771
  Object.assign(n, o);
25772
25772
  }
25773
25773
  e(n);
@@ -25869,7 +25869,7 @@ class Y4 {
25869
25869
  config: e.config,
25870
25870
  callbacks: e.callbacks
25871
25871
  };
25872
- return this.apiClient.isVertexAI() ? A = yB(this.apiClient, x) : A = vB(this.apiClient, x), delete A.config, T.send(JSON.stringify(A)), new Z4(T, this.apiClient);
25872
+ return this.apiClient.isVertexAI() ? A = y9(this.apiClient, x) : A = v9(this.apiClient, x), delete A.config, T.send(JSON.stringify(A)), new Z4(T, this.apiClient);
25873
25873
  }
25874
25874
  // TODO: b/416041229 - Abstract this method to a common place.
25875
25875
  isCallableTool(e) {
@@ -25994,9 +25994,9 @@ class Z4 {
25994
25994
  sendRealtimeInput(e) {
25995
25995
  let t = {};
25996
25996
  this.apiClient.isVertexAI() ? t = {
25997
- realtimeInput: TB(this.apiClient, e)
25997
+ realtimeInput: T9(this.apiClient, e)
25998
25998
  } : t = {
25999
- realtimeInput: EB(this.apiClient, e)
25999
+ realtimeInput: E9(this.apiClient, e)
26000
26000
  }, this.conn.send(JSON.stringify(t));
26001
26001
  }
26002
26002
  /**
@@ -26409,7 +26409,7 @@ class eH extends Ca {
26409
26409
  return Object.assign(g, h), g;
26410
26410
  });
26411
26411
  } else {
26412
- const c = O9(this.apiClient, e);
26412
+ const c = OB(this.apiClient, e);
26413
26413
  return a = Be("{model}:batchEmbedContents", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26414
26414
  path: a,
26415
26415
  queryParams: u,
@@ -26459,7 +26459,7 @@ class eH extends Ca {
26459
26459
  return Object.assign(g, h), g;
26460
26460
  });
26461
26461
  } else {
26462
- const c = L9(this.apiClient, e);
26462
+ const c = LB(this.apiClient, e);
26463
26463
  return a = Be("{model}:predict", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26464
26464
  path: a,
26465
26465
  queryParams: u,
@@ -26533,7 +26533,7 @@ class eH extends Ca {
26533
26533
  abortSignal: (n = e.config) === null || n === void 0 ? void 0 : n.abortSignal
26534
26534
  }).then((d) => d.json()), s.then((d) => Cm(this.apiClient, d));
26535
26535
  } else {
26536
- const c = N9(this.apiClient, e);
26536
+ const c = NB(this.apiClient, e);
26537
26537
  return a = Be("{name}", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26538
26538
  path: a,
26539
26539
  queryParams: u,
@@ -26561,7 +26561,7 @@ class eH extends Ca {
26561
26561
  return Object.assign(g, h), g;
26562
26562
  });
26563
26563
  } else {
26564
- const c = F9(this.apiClient, e);
26564
+ const c = FB(this.apiClient, e);
26565
26565
  return a = Be("{models_url}", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26566
26566
  path: a,
26567
26567
  queryParams: u,
@@ -26606,7 +26606,7 @@ class eH extends Ca {
26606
26606
  abortSignal: (n = e.config) === null || n === void 0 ? void 0 : n.abortSignal
26607
26607
  }).then((d) => d.json()), s.then((d) => Cm(this.apiClient, d));
26608
26608
  } else {
26609
- const c = U9(this.apiClient, e);
26609
+ const c = UB(this.apiClient, e);
26610
26610
  return a = Be("{name}", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26611
26611
  path: a,
26612
26612
  queryParams: u,
@@ -26645,7 +26645,7 @@ class eH extends Ca {
26645
26645
  return Object.assign(h, d), h;
26646
26646
  });
26647
26647
  } else {
26648
- const c = q9(this.apiClient, e);
26648
+ const c = qB(this.apiClient, e);
26649
26649
  return a = Be("{name}", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26650
26650
  path: a,
26651
26651
  queryParams: u,
@@ -26692,7 +26692,7 @@ class eH extends Ca {
26692
26692
  return Object.assign(g, h), g;
26693
26693
  });
26694
26694
  } else {
26695
- const c = V9(this.apiClient, e);
26695
+ const c = VB(this.apiClient, e);
26696
26696
  return a = Be("{model}:countTokens", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26697
26697
  path: a,
26698
26698
  queryParams: u,
@@ -26780,7 +26780,7 @@ class eH extends Ca {
26780
26780
  abortSignal: (n = e.config) === null || n === void 0 ? void 0 : n.abortSignal
26781
26781
  }).then((d) => d.json()), s.then((d) => k4(this.apiClient, d));
26782
26782
  } else {
26783
- const c = W9(this.apiClient, e);
26783
+ const c = WB(this.apiClient, e);
26784
26784
  return a = Be("{model}:predictLongRunning", c._url), u = c._query, delete c.config, delete c._url, delete c._query, s = this.apiClient.request({
26785
26785
  path: a,
26786
26786
  queryParams: u,
@@ -36212,7 +36212,7 @@ async function yG(i, e) {
36212
36212
  }
36213
36213
  }
36214
36214
  async function _G(i, e) {
36215
- return (await import("./list_directory.node-DGhzMMXH.js")).resolveArgumentDirectoryNode(i, e);
36215
+ return (await import("./list_directory.node-BvKQRegC.js")).resolveArgumentDirectoryNode(i, e);
36216
36216
  }
36217
36217
  function wG(i) {
36218
36218
  if (!i._regex)
@@ -37386,7 +37386,7 @@ async function xG({
37386
37386
  fileMentions: void 0,
37387
37387
  userState: void 0
37388
37388
  };
37389
- const o = (await import("./files-Ce5pZkWD.js").then(
37389
+ const o = (await import("./files-8V4d25dw.js").then(
37390
37390
  ({ getFileMentions: a }) => a(
37391
37391
  GE(t.content),
37392
37392
  r,
@@ -38197,7 +38197,7 @@ function zs(i = "idle") {
38197
38197
  ie.error(`Failed to play notification sound (${i}):`, e);
38198
38198
  }
38199
38199
  }
38200
- const RG = import("./node-BHXqdrs5.js").then(
38200
+ const RG = import("./node-DHEAQDoa.js").then(
38201
38201
  ({ nodeFileSystem: i }) => i
38202
38202
  );
38203
38203
  async function kG() {
@@ -40203,7 +40203,7 @@ function Tr() {
40203
40203
  }
40204
40204
  async function sW(i, e) {
40205
40205
  try {
40206
- const t = await ZG("0.0.1748751230-ga82eb7");
40206
+ const t = await ZG("0.0.1748764880-g91d5a9");
40207
40207
  t.hasUpdate && t.latestVersion ? e ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
40208
40208
  try {
40209
40209
  await tW(t.latestVersion), i.next({
@@ -40218,7 +40218,7 @@ async function sW(i, e) {
40218
40218
  version: t.latestVersion
40219
40219
  });
40220
40220
  }
40221
- }, 100)) : ie.info(`New version available: 0.0.1748751230-ga82eb7 → ${t.latestVersion}`) : ie.info("No update available");
40221
+ }, 100)) : ie.info(`New version available: 0.0.1748764880-g91d5a9 → ${t.latestVersion}`) : ie.info("No update available");
40222
40222
  } catch (t) {
40223
40223
  ie.debug("Update check failed", t);
40224
40224
  }
@@ -40316,7 +40316,7 @@ async function Iu(i, e) {
40316
40316
  cg({
40317
40317
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
40318
40318
  logFile: e.logFile || process.env.AMP_LOG_FILE
40319
- }), jM("0.0.1748751230-ga82eb7");
40319
+ }), jM("0.0.1748764880-g91d5a9");
40320
40320
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
40321
40321
  ie.info("Using settings file", { settingsFile: t });
40322
40322
  const n = wu(), r = $T({ settingsFile: t }), o = process.env.AMP_API_KEY;
@@ -40416,7 +40416,7 @@ function dW(i) {
40416
40416
  const e = new U2().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
40417
40417
  e.option("-V, --version", "output the version number", () => {
40418
40418
  if (i.isTTY) {
40419
- const r = "0.0.1748751230-ga82eb7".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
40419
+ const r = "0.0.1748764880-g91d5a9".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
40420
40420
  if (r) {
40421
40421
  const [, , o] = r;
40422
40422
  try {
@@ -40427,21 +40427,21 @@ function dW(i) {
40427
40427
  day: "numeric"
40428
40428
  });
40429
40429
  tt.write(
40430
- `0.0.1748751230-ga82eb7 ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
40430
+ `0.0.1748764880-g91d5a9 ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
40431
40431
  `
40432
40432
  );
40433
40433
  } else
40434
- tt.write(`0.0.1748751230-ga82eb7
40434
+ tt.write(`0.0.1748764880-g91d5a9
40435
40435
  `);
40436
40436
  } catch {
40437
- tt.write(`0.0.1748751230-ga82eb7
40437
+ tt.write(`0.0.1748764880-g91d5a9
40438
40438
  `);
40439
40439
  }
40440
40440
  } else
40441
- tt.write(`0.0.1748751230-ga82eb7
40441
+ tt.write(`0.0.1748764880-g91d5a9
40442
40442
  `);
40443
40443
  } else
40444
- tt.write(`0.0.1748751230-ga82eb7
40444
+ tt.write(`0.0.1748764880-g91d5a9
40445
40445
  `);
40446
40446
  process.exit(0);
40447
40447
  }), e.addHelpText(
@@ -40839,4 +40839,4 @@ export {
40839
40839
  ge as s,
40840
40840
  lr as u
40841
40841
  };
40842
- //# sourceMappingURL=main-00oKVtTe.js.map
40842
+ //# sourceMappingURL=main-Cc0C-g24.js.map