@google/gemini-cli-a2a-server 0.23.0-preview.2 → 0.23.0-preview.3

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.
@@ -310224,7 +310224,7 @@ var __filename = fileURLToPath4(import.meta.url);
310224
310224
  var __dirname3 = path20.dirname(__filename);
310225
310225
  async function getVersion() {
310226
310226
  const pkgJson = await getPackageJson(__dirname3);
310227
- return "0.23.0-preview.2";
310227
+ return "0.23.0-preview.3";
310228
310228
  }
310229
310229
 
310230
310230
  // packages/core/dist/src/code_assist/experiments/client_metadata.js
@@ -312995,8 +312995,8 @@ var Float64Vector = import_vector.default.Float64Vector;
312995
312995
  var PointerVector = import_vector.default.PointerVector;
312996
312996
 
312997
312997
  // packages/core/dist/src/generated/git-commit.js
312998
- var GIT_COMMIT_INFO = "bc40695ce";
312999
- var CLI_VERSION = "0.23.0-preview.2";
312998
+ var GIT_COMMIT_INFO = "703d2e0dc";
312999
+ var CLI_VERSION = "0.23.0-preview.3";
313000
313000
 
313001
313001
  // packages/core/dist/src/ide/detect-ide.js
313002
313002
  var IDE_DEFINITIONS = {
@@ -361508,7 +361508,12 @@ var ShellToolInvocation = class extends BaseToolInvocation {
361508
361508
  return description;
361509
361509
  }
361510
361510
  getPolicyUpdateOptions(outcome) {
361511
- if (outcome === ToolConfirmationOutcome.ProceedAlwaysAndSave) {
361511
+ if (outcome === ToolConfirmationOutcome.ProceedAlwaysAndSave || outcome === ToolConfirmationOutcome.ProceedAlways) {
361512
+ const command = stripShellWrapper(this.params.command);
361513
+ const rootCommands = [...new Set(getCommandRoots(command))];
361514
+ if (rootCommands.length > 0) {
361515
+ return { commandPrefix: rootCommands };
361516
+ }
361512
361517
  return { commandPrefix: this.params.command };
361513
361518
  }
361514
361519
  return void 0;