@google/gemini-cli 0.41.0-preview.0 → 0.41.0-preview.2

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 (59) hide show
  1. package/bundle/{chunk-EOA2HX63.js → chunk-2E4E2OEF.js} +2 -2
  2. package/bundle/{chunk-YBG43HPA.js → chunk-2YV27CKR.js} +1 -1
  3. package/bundle/{chunk-NQUBPNAU.js → chunk-3GHJ5HPF.js} +6 -6
  4. package/bundle/{chunk-IEYJEBJX.js → chunk-3Q7BP33C.js} +67 -54
  5. package/bundle/{chunk-3ANRVMZF.js → chunk-4GYMEM7F.js} +2 -2
  6. package/bundle/{chunk-LAT5YFL4.js → chunk-6P6WKPYI.js} +2 -2
  7. package/bundle/{chunk-HR7I3HEY.js → chunk-7CD6GCRT.js} +1 -1
  8. package/bundle/{chunk-PXLG652S.js → chunk-ANBD6P4M.js} +97 -49
  9. package/bundle/{chunk-WSDOIL74.js → chunk-BDZNOCWJ.js} +74 -39
  10. package/bundle/{chunk-JC6VKC3C.js → chunk-BYSXGJG3.js} +1 -1
  11. package/bundle/chunk-FQGCL5I2.js +80034 -0
  12. package/bundle/{chunk-MVAX27IS.js → chunk-FZXNSS2J.js} +3 -3
  13. package/bundle/chunk-HOQYVHXU.js +118 -0
  14. package/bundle/{chunk-WROAWEH3.js → chunk-L35AXZHM.js} +6728 -12460
  15. package/bundle/chunk-LBPROGQS.js +156 -0
  16. package/bundle/{chunk-MJJLAQ6U.js → chunk-ODPEYGXR.js} +1 -1
  17. package/bundle/{chunk-42DYHGPE.js → chunk-OR5JBPQX.js} +1 -1
  18. package/bundle/{chunk-WYBLOXVK.js → chunk-RYFTYJ75.js} +1 -1
  19. package/bundle/{chunk-X2LHBPEJ.js → chunk-S4SLTOZU.js} +14 -12
  20. package/bundle/chunk-SR4PMLVP.js +354496 -0
  21. package/bundle/{chunk-BKZ2ONXI.js → chunk-V2QQW5SA.js} +1 -1
  22. package/bundle/chunk-VHJM22NK.js +1571 -0
  23. package/bundle/chunk-XBNSSOYA.js +17656 -0
  24. package/bundle/{chunk-FZCJQ7YB.js → chunk-ZHHJJC4N.js} +6 -6
  25. package/bundle/{cleanup-UES5UWIG.js → cleanup-2BMR4MMJ.js} +2 -2
  26. package/bundle/{cleanup-Z4RYESBA.js → cleanup-FHOD65Y6.js} +3 -3
  27. package/bundle/{cleanup-KLFDN77S.js → cleanup-HRWHMMWM.js} +2 -2
  28. package/bundle/cleanup-TCNEYDWT.js +33 -0
  29. package/bundle/{core-Q32MZ3QF.js → core-TKDA7N4G.js} +1 -1
  30. package/bundle/{devtoolsService-ZDMUH5GA.js → devtoolsService-6EOO2BQ7.js} +2 -2
  31. package/bundle/{devtoolsService-N3SEUDJ7.js → devtoolsService-7LCCYOTU.js} +5 -4
  32. package/bundle/devtoolsService-EFVBXKEX.js +857 -0
  33. package/bundle/{devtoolsService-P5BXPJX5.js → devtoolsService-V2NU6TJG.js} +2 -2
  34. package/bundle/{dist-UL5N47TA.js → dist-KFV2ASJV.js} +1 -1
  35. package/bundle/{core-3W43VO4W.js → dist-PGH3GHGN.js} +2 -2
  36. package/bundle/dist-VXU5NT6O.js +2068 -0
  37. package/bundle/{gemini-PL45Y473.js → gemini-FLUMXCL4.js} +12 -12
  38. package/bundle/{gemini-K6LJN552.js → gemini-GNABGJLN.js} +12 -12
  39. package/bundle/{gemini-DGVTFOIS.js → gemini-V7YPSW3T.js} +191 -175
  40. package/bundle/gemini-YG4MES4L.js +15988 -0
  41. package/bundle/gemini.js +3 -3
  42. package/bundle/{interactiveCli-O7Y36MPM.js → interactiveCli-JNHY7R4J.js} +6 -6
  43. package/bundle/{interactiveCli-JL5IXH2I.js → interactiveCli-MD3WNLOS.js} +290 -272
  44. package/bundle/{interactiveCli-ZJGQKU2Z.js → interactiveCli-VP7SGM2Z.js} +6 -6
  45. package/bundle/interactiveCli-ZWNNSDPF.js +35052 -0
  46. package/bundle/{liteRtServerManager-QGTT3QOY.js → liteRtServerManager-4OYQKJDU.js} +3 -3
  47. package/bundle/{liteRtServerManager-2LAXDWUG.js → liteRtServerManager-D3KQXYD2.js} +4 -4
  48. package/bundle/liteRtServerManager-ONE7YJHO.js +65 -0
  49. package/bundle/{liteRtServerManager-YCLQ2VZR.js → liteRtServerManager-OYB4D65F.js} +3 -3
  50. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  51. package/bundle/{oauth2-provider-ZUEDS4RO.js → oauth2-provider-BT67SZ33.js} +1 -1
  52. package/bundle/{oauth2-provider-RR3PO6KR.js → oauth2-provider-KNDXPBH3.js} +39 -73
  53. package/bundle/{oauth2-provider-Q5QVFX4W.js → oauth2-provider-LDPCE34C.js} +1 -1
  54. package/bundle/oauth2-provider-RGOB2KSE.js +237 -0
  55. package/bundle/{start-V4W5V2EL.js → start-3OOWLPJZ.js} +5 -5
  56. package/bundle/{start-P6O7G2IY.js → start-6T3XMMID.js} +5 -5
  57. package/bundle/{start-6ZXD64J4.js → start-LNWEO65C.js} +6 -6
  58. package/bundle/start-U3FP4KVT.js +18 -0
  59. package/package.json +1 -1
@@ -243146,6 +243146,16 @@ var UserPromptEvent = class {
243146
243146
  }
243147
243147
  };
243148
243148
  var EVENT_TOOL_CALL = "gemini_cli.tool_call";
243149
+ var TOOL_CALL_METADATA_SAFE_KEYS = [
243150
+ "model_added_lines",
243151
+ "model_removed_lines",
243152
+ "model_added_chars",
243153
+ "model_removed_chars",
243154
+ "user_added_lines",
243155
+ "user_removed_lines",
243156
+ "user_added_chars",
243157
+ "user_removed_chars"
243158
+ ];
243149
243159
  var ToolCallEvent = class {
243150
243160
  "event.name";
243151
243161
  "event.timestamp";
@@ -243229,7 +243239,6 @@ var ToolCallEvent = class {
243229
243239
  "event.name": EVENT_TOOL_CALL,
243230
243240
  "event.timestamp": this["event.timestamp"],
243231
243241
  function_name: this.function_name,
243232
- function_args: safeJsonStringify(this.function_args, 2),
243233
243242
  duration_ms: this.duration_ms,
243234
243243
  success: this.success,
243235
243244
  decision: this.decision,
@@ -243240,9 +243249,21 @@ var ToolCallEvent = class {
243240
243249
  extension_name: this.extension_name,
243241
243250
  extension_id: this.extension_id,
243242
243251
  start_time: this.start_time,
243243
- end_time: this.end_time,
243244
- metadata: this.metadata
243252
+ end_time: this.end_time
243245
243253
  };
243254
+ if (config2.getTelemetryLogPromptsEnabled() && this.function_args) {
243255
+ attributes["function_args"] = safeJsonStringify(this.function_args, 2);
243256
+ }
243257
+ if (this.metadata) {
243258
+ const metadata2 = config2.getTelemetryLogPromptsEnabled() ? this.metadata : Object.fromEntries(
243259
+ Object.entries(this.metadata).filter(
243260
+ ([k]) => TOOL_CALL_METADATA_SAFE_KEYS.includes(k)
243261
+ )
243262
+ );
243263
+ if (Object.keys(metadata2).length > 0) {
243264
+ attributes["metadata"] = safeJsonStringify(metadata2, 2);
243265
+ }
243266
+ }
243246
243267
  if (this.error) {
243247
243268
  attributes["error" /* Error */] = this.error;
243248
243269
  attributes["error.message"] = this.error;
@@ -243282,9 +243303,11 @@ var ApiRequestEvent = class {
243282
243303
  "event.name": EVENT_API_REQUEST,
243283
243304
  "event.timestamp": this["event.timestamp"],
243284
243305
  model: this.model,
243285
- prompt_id: this.prompt.prompt_id,
243286
- request_text: this.request_text
243306
+ prompt_id: this.prompt.prompt_id
243287
243307
  };
243308
+ if (config2.getTelemetryLogPromptsEnabled() && this.request_text) {
243309
+ attributes["request_text"] = this.request_text;
243310
+ }
243288
243311
  if (this.role) {
243289
243312
  attributes["role"] = this.role;
243290
243313
  }
@@ -243473,7 +243496,7 @@ var ApiResponseEvent = class {
243473
243496
  if (this.role) {
243474
243497
  attributes["role"] = this.role;
243475
243498
  }
243476
- if (this.response_text) {
243499
+ if (config2.getTelemetryLogPromptsEnabled() && this.response_text) {
243477
243500
  attributes["response_text"] = this.response_text;
243478
243501
  }
243479
243502
  if (this.status_code) {
@@ -243678,11 +243701,19 @@ var ConsecaPolicyGenerationEvent = class {
243678
243701
  const attributes = {
243679
243702
  ...getCommonAttributes(config2),
243680
243703
  "event.name": EVENT_CONSECA_POLICY_GENERATION,
243681
- "event.timestamp": this["event.timestamp"],
243682
- user_prompt: this.user_prompt,
243683
- trusted_content: this.trusted_content,
243684
- policy: this.policy
243704
+ "event.timestamp": this["event.timestamp"]
243685
243705
  };
243706
+ if (config2.getTelemetryLogPromptsEnabled()) {
243707
+ if (this.user_prompt) {
243708
+ attributes["user_prompt"] = this.user_prompt;
243709
+ }
243710
+ if (this.trusted_content) {
243711
+ attributes["trusted_content"] = this.trusted_content;
243712
+ }
243713
+ if (this.policy) {
243714
+ attributes["policy"] = this.policy;
243715
+ }
243716
+ }
243686
243717
  if (this.error) {
243687
243718
  attributes["error"] = this.error;
243688
243719
  }
@@ -243717,12 +243748,22 @@ var ConsecaVerdictEvent = class {
243717
243748
  ...getCommonAttributes(config2),
243718
243749
  "event.name": EVENT_CONSECA_VERDICT,
243719
243750
  "event.timestamp": this["event.timestamp"],
243720
- user_prompt: this.user_prompt,
243721
- policy: this.policy,
243722
- tool_call: this.tool_call,
243723
- verdict: this.verdict,
243724
- verdict_rationale: this.verdict_rationale
243751
+ verdict: this.verdict
243725
243752
  };
243753
+ if (config2.getTelemetryLogPromptsEnabled()) {
243754
+ if (this.user_prompt) {
243755
+ attributes["user_prompt"] = this.user_prompt;
243756
+ }
243757
+ if (this.policy) {
243758
+ attributes["policy"] = this.policy;
243759
+ }
243760
+ if (this.tool_call) {
243761
+ attributes["tool_call"] = this.tool_call;
243762
+ }
243763
+ if (this.verdict_rationale) {
243764
+ attributes["verdict_rationale"] = this.verdict_rationale;
243765
+ }
243766
+ }
243726
243767
  if (this.error) {
243727
243768
  attributes["error"] = this.error;
243728
243769
  }
@@ -246355,8 +246396,8 @@ import { createHash } from "node:crypto";
246355
246396
  import * as os12 from "node:os";
246356
246397
 
246357
246398
  // packages/core/src/generated/git-commit.ts
246358
- var GIT_COMMIT_INFO = "59b2dea0e";
246359
- var CLI_VERSION = "0.41.0-preview.0";
246399
+ var GIT_COMMIT_INFO = "c6a695d1b";
246400
+ var CLI_VERSION = "0.41.0-preview.1";
246360
246401
 
246361
246402
  // packages/core/src/ide/detect-ide.ts
246362
246403
  var IDE_DEFINITIONS = {
@@ -248369,20 +248410,23 @@ function logConsecaPolicyGeneration(config2, event) {
248369
248410
  debugLogger.debug("Conseca Policy Generation Event:", event);
248370
248411
  const clearcutLogger = ClearcutLogger.getInstance(config2);
248371
248412
  if (clearcutLogger) {
248372
- const data = [
248373
- {
248374
- gemini_cli_key: 165 /* CONSECA_USER_PROMPT */,
248375
- value: safeJsonStringify(event.user_prompt)
248376
- },
248377
- {
248378
- gemini_cli_key: 164 /* CONSECA_TRUSTED_CONTENT */,
248379
- value: safeJsonStringify(event.trusted_content)
248380
- },
248381
- {
248382
- gemini_cli_key: 161 /* CONSECA_GENERATED_POLICY */,
248383
- value: safeJsonStringify(event.policy)
248384
- }
248385
- ];
248413
+ const data = [];
248414
+ if (config2.getTelemetryLogPromptsEnabled()) {
248415
+ data.push(
248416
+ {
248417
+ gemini_cli_key: 165 /* CONSECA_USER_PROMPT */,
248418
+ value: safeJsonStringify(event.user_prompt)
248419
+ },
248420
+ {
248421
+ gemini_cli_key: 164 /* CONSECA_TRUSTED_CONTENT */,
248422
+ value: safeJsonStringify(event.trusted_content)
248423
+ },
248424
+ {
248425
+ gemini_cli_key: 161 /* CONSECA_GENERATED_POLICY */,
248426
+ value: safeJsonStringify(event.policy)
248427
+ }
248428
+ );
248429
+ }
248386
248430
  if (event.error) {
248387
248431
  data.push({
248388
248432
  gemini_cli_key: 166 /* CONSECA_ERROR */,
@@ -248406,27 +248450,31 @@ function logConsecaVerdict(config2, event) {
248406
248450
  const clearcutLogger = ClearcutLogger.getInstance(config2);
248407
248451
  if (clearcutLogger) {
248408
248452
  const data = [
248409
- {
248410
- gemini_cli_key: 165 /* CONSECA_USER_PROMPT */,
248411
- value: safeJsonStringify(event.user_prompt)
248412
- },
248413
- {
248414
- gemini_cli_key: 161 /* CONSECA_GENERATED_POLICY */,
248415
- value: safeJsonStringify(event.policy)
248416
- },
248417
- {
248418
- gemini_cli_key: 14 /* GEMINI_CLI_TOOL_CALL_NAME */,
248419
- value: safeJsonStringify(event.tool_call)
248420
- },
248421
248453
  {
248422
248454
  gemini_cli_key: 162 /* CONSECA_VERDICT_RESULT */,
248423
248455
  value: safeJsonStringify(event.verdict)
248424
- },
248425
- {
248426
- gemini_cli_key: 163 /* CONSECA_VERDICT_RATIONALE */,
248427
- value: event.verdict_rationale
248428
248456
  }
248429
248457
  ];
248458
+ if (config2.getTelemetryLogPromptsEnabled()) {
248459
+ data.push(
248460
+ {
248461
+ gemini_cli_key: 165 /* CONSECA_USER_PROMPT */,
248462
+ value: safeJsonStringify(event.user_prompt)
248463
+ },
248464
+ {
248465
+ gemini_cli_key: 161 /* CONSECA_GENERATED_POLICY */,
248466
+ value: safeJsonStringify(event.policy)
248467
+ },
248468
+ {
248469
+ gemini_cli_key: 14 /* GEMINI_CLI_TOOL_CALL_NAME */,
248470
+ value: safeJsonStringify(event.tool_call)
248471
+ },
248472
+ {
248473
+ gemini_cli_key: 163 /* CONSECA_VERDICT_RATIONALE */,
248474
+ value: event.verdict_rationale
248475
+ }
248476
+ );
248477
+ }
248430
248478
  if (event.error) {
248431
248479
  data.push({
248432
248480
  gemini_cli_key: 166 /* CONSECA_ERROR */,
@@ -269548,7 +269596,7 @@ function getVersion() {
269548
269596
  }
269549
269597
  versionPromise = (async () => {
269550
269598
  const pkgJson = await getPackageJson(__dirname4);
269551
- return "0.41.0-preview.0";
269599
+ return "0.41.0-preview.1";
269552
269600
  })();
269553
269601
  return versionPromise;
269554
269602
  }
@@ -302646,7 +302694,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
302646
302694
  return provider;
302647
302695
  }
302648
302696
  case "oauth2": {
302649
- const { OAuth2AuthProvider } = await import("./oauth2-provider-Q5QVFX4W.js");
302697
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-LDPCE34C.js");
302650
302698
  const provider = new OAuth2AuthProvider(
302651
302699
  authConfig,
302652
302700
  options.agentName ?? "unknown",
@@ -242982,6 +242982,16 @@ var UserPromptEvent = class {
242982
242982
  }
242983
242983
  };
242984
242984
  var EVENT_TOOL_CALL = "gemini_cli.tool_call";
242985
+ var TOOL_CALL_METADATA_SAFE_KEYS = [
242986
+ "model_added_lines",
242987
+ "model_removed_lines",
242988
+ "model_added_chars",
242989
+ "model_removed_chars",
242990
+ "user_added_lines",
242991
+ "user_removed_lines",
242992
+ "user_added_chars",
242993
+ "user_removed_chars"
242994
+ ];
242985
242995
  var ToolCallEvent = class {
242986
242996
  "event.name";
242987
242997
  "event.timestamp";
@@ -243063,7 +243073,6 @@ var ToolCallEvent = class {
243063
243073
  "event.name": EVENT_TOOL_CALL,
243064
243074
  "event.timestamp": this["event.timestamp"],
243065
243075
  function_name: this.function_name,
243066
- function_args: safeJsonStringify(this.function_args, 2),
243067
243076
  duration_ms: this.duration_ms,
243068
243077
  success: this.success,
243069
243078
  decision: this.decision,
@@ -243074,9 +243083,17 @@ var ToolCallEvent = class {
243074
243083
  extension_name: this.extension_name,
243075
243084
  extension_id: this.extension_id,
243076
243085
  start_time: this.start_time,
243077
- end_time: this.end_time,
243078
- metadata: this.metadata
243086
+ end_time: this.end_time
243079
243087
  };
243088
+ if (config2.getTelemetryLogPromptsEnabled() && this.function_args) {
243089
+ attributes["function_args"] = safeJsonStringify(this.function_args, 2);
243090
+ }
243091
+ if (this.metadata) {
243092
+ const metadata2 = config2.getTelemetryLogPromptsEnabled() ? this.metadata : Object.fromEntries(Object.entries(this.metadata).filter(([k]) => TOOL_CALL_METADATA_SAFE_KEYS.includes(k)));
243093
+ if (Object.keys(metadata2).length > 0) {
243094
+ attributes["metadata"] = safeJsonStringify(metadata2, 2);
243095
+ }
243096
+ }
243080
243097
  if (this.error) {
243081
243098
  attributes[CoreToolCallStatus.Error] = this.error;
243082
243099
  attributes["error.message"] = this.error;
@@ -243116,9 +243133,11 @@ var ApiRequestEvent = class {
243116
243133
  "event.name": EVENT_API_REQUEST,
243117
243134
  "event.timestamp": this["event.timestamp"],
243118
243135
  model: this.model,
243119
- prompt_id: this.prompt.prompt_id,
243120
- request_text: this.request_text
243136
+ prompt_id: this.prompt.prompt_id
243121
243137
  };
243138
+ if (config2.getTelemetryLogPromptsEnabled() && this.request_text) {
243139
+ attributes["request_text"] = this.request_text;
243140
+ }
243122
243141
  if (this.role) {
243123
243142
  attributes["role"] = this.role;
243124
243143
  }
@@ -243301,7 +243320,7 @@ var ApiResponseEvent = class {
243301
243320
  if (this.role) {
243302
243321
  attributes["role"] = this.role;
243303
243322
  }
243304
- if (this.response_text) {
243323
+ if (config2.getTelemetryLogPromptsEnabled() && this.response_text) {
243305
243324
  attributes["response_text"] = this.response_text;
243306
243325
  }
243307
243326
  if (this.status_code) {
@@ -243511,11 +243530,19 @@ var ConsecaPolicyGenerationEvent = class {
243511
243530
  const attributes = {
243512
243531
  ...getCommonAttributes(config2),
243513
243532
  "event.name": EVENT_CONSECA_POLICY_GENERATION,
243514
- "event.timestamp": this["event.timestamp"],
243515
- user_prompt: this.user_prompt,
243516
- trusted_content: this.trusted_content,
243517
- policy: this.policy
243533
+ "event.timestamp": this["event.timestamp"]
243518
243534
  };
243535
+ if (config2.getTelemetryLogPromptsEnabled()) {
243536
+ if (this.user_prompt) {
243537
+ attributes["user_prompt"] = this.user_prompt;
243538
+ }
243539
+ if (this.trusted_content) {
243540
+ attributes["trusted_content"] = this.trusted_content;
243541
+ }
243542
+ if (this.policy) {
243543
+ attributes["policy"] = this.policy;
243544
+ }
243545
+ }
243519
243546
  if (this.error) {
243520
243547
  attributes["error"] = this.error;
243521
243548
  }
@@ -243550,12 +243577,22 @@ var ConsecaVerdictEvent = class {
243550
243577
  ...getCommonAttributes(config2),
243551
243578
  "event.name": EVENT_CONSECA_VERDICT,
243552
243579
  "event.timestamp": this["event.timestamp"],
243553
- user_prompt: this.user_prompt,
243554
- policy: this.policy,
243555
- tool_call: this.tool_call,
243556
- verdict: this.verdict,
243557
- verdict_rationale: this.verdict_rationale
243580
+ verdict: this.verdict
243558
243581
  };
243582
+ if (config2.getTelemetryLogPromptsEnabled()) {
243583
+ if (this.user_prompt) {
243584
+ attributes["user_prompt"] = this.user_prompt;
243585
+ }
243586
+ if (this.policy) {
243587
+ attributes["policy"] = this.policy;
243588
+ }
243589
+ if (this.tool_call) {
243590
+ attributes["tool_call"] = this.tool_call;
243591
+ }
243592
+ if (this.verdict_rationale) {
243593
+ attributes["verdict_rationale"] = this.verdict_rationale;
243594
+ }
243595
+ }
243559
243596
  if (this.error) {
243560
243597
  attributes["error"] = this.error;
243561
243598
  }
@@ -246236,8 +246273,8 @@ var EventMetadataKey;
246236
246273
  })(EventMetadataKey || (EventMetadataKey = {}));
246237
246274
 
246238
246275
  // packages/core/dist/src/generated/git-commit.js
246239
- var GIT_COMMIT_INFO = "59b2dea0e";
246240
- var CLI_VERSION = "0.41.0-preview.0";
246276
+ var GIT_COMMIT_INFO = "c6a695d1b";
246277
+ var CLI_VERSION = "0.41.0-preview.2";
246241
246278
 
246242
246279
  // packages/core/dist/src/ide/detect-ide.js
246243
246280
  var IDE_DEFINITIONS = {
@@ -248219,20 +248256,19 @@ function logConsecaPolicyGeneration(config2, event) {
248219
248256
  debugLogger.debug("Conseca Policy Generation Event:", event);
248220
248257
  const clearcutLogger = ClearcutLogger.getInstance(config2);
248221
248258
  if (clearcutLogger) {
248222
- const data = [
248223
- {
248259
+ const data = [];
248260
+ if (config2.getTelemetryLogPromptsEnabled()) {
248261
+ data.push({
248224
248262
  gemini_cli_key: EventMetadataKey.CONSECA_USER_PROMPT,
248225
248263
  value: safeJsonStringify(event.user_prompt)
248226
- },
248227
- {
248264
+ }, {
248228
248265
  gemini_cli_key: EventMetadataKey.CONSECA_TRUSTED_CONTENT,
248229
248266
  value: safeJsonStringify(event.trusted_content)
248230
- },
248231
- {
248267
+ }, {
248232
248268
  gemini_cli_key: EventMetadataKey.CONSECA_GENERATED_POLICY,
248233
248269
  value: safeJsonStringify(event.policy)
248234
- }
248235
- ];
248270
+ });
248271
+ }
248236
248272
  if (event.error) {
248237
248273
  data.push({
248238
248274
  gemini_cli_key: EventMetadataKey.CONSECA_ERROR,
@@ -248256,26 +248292,25 @@ function logConsecaVerdict(config2, event) {
248256
248292
  if (clearcutLogger) {
248257
248293
  const data = [
248258
248294
  {
248295
+ gemini_cli_key: EventMetadataKey.CONSECA_VERDICT_RESULT,
248296
+ value: safeJsonStringify(event.verdict)
248297
+ }
248298
+ ];
248299
+ if (config2.getTelemetryLogPromptsEnabled()) {
248300
+ data.push({
248259
248301
  gemini_cli_key: EventMetadataKey.CONSECA_USER_PROMPT,
248260
248302
  value: safeJsonStringify(event.user_prompt)
248261
- },
248262
- {
248303
+ }, {
248263
248304
  gemini_cli_key: EventMetadataKey.CONSECA_GENERATED_POLICY,
248264
248305
  value: safeJsonStringify(event.policy)
248265
- },
248266
- {
248306
+ }, {
248267
248307
  gemini_cli_key: EventMetadataKey.GEMINI_CLI_TOOL_CALL_NAME,
248268
248308
  value: safeJsonStringify(event.tool_call)
248269
- },
248270
- {
248271
- gemini_cli_key: EventMetadataKey.CONSECA_VERDICT_RESULT,
248272
- value: safeJsonStringify(event.verdict)
248273
- },
248274
- {
248309
+ }, {
248275
248310
  gemini_cli_key: EventMetadataKey.CONSECA_VERDICT_RATIONALE,
248276
248311
  value: event.verdict_rationale
248277
- }
248278
- ];
248312
+ });
248313
+ }
248279
248314
  if (event.error) {
248280
248315
  data.push({
248281
248316
  gemini_cli_key: EventMetadataKey.CONSECA_ERROR,
@@ -269181,7 +269216,7 @@ function getVersion() {
269181
269216
  }
269182
269217
  versionPromise = (async () => {
269183
269218
  const pkgJson = await getPackageJson(__dirname4);
269184
- return "0.41.0-preview.0";
269219
+ return "0.41.0-preview.2";
269185
269220
  })();
269186
269221
  return versionPromise;
269187
269222
  }
@@ -300371,7 +300406,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
300371
300406
  return provider;
300372
300407
  }
300373
300408
  case "oauth2": {
300374
- const { OAuth2AuthProvider } = await import("./oauth2-provider-ZUEDS4RO.js");
300409
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-KNDXPBH3.js");
300375
300410
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
300376
300411
  await provider.initialize();
300377
300412
  return provider;
@@ -4,7 +4,7 @@ import {
4
4
  isTelemetrySdkInitialized,
5
5
  resetBrowserSession,
6
6
  shutdownTelemetry
7
- } from "./chunk-PXLG652S.js";
7
+ } from "./chunk-ANBD6P4M.js";
8
8
  import {
9
9
  Storage
10
10
  } from "./chunk-XRLFHCHC.js";