@salesforce/plugin-agent 1.26.0 → 1.26.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.
package/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  Apache License Version 2.0
2
2
 
3
- Copyright (c) 2025 Salesforce, Inc.
3
+ Copyright (c) 2026 Salesforce, Inc.
4
4
  All rights reserved.
5
5
 
6
6
  Apache License
package/README.md CHANGED
@@ -112,7 +112,7 @@ EXAMPLES
112
112
  $ sf agent activate --api-name Resort_Manager --target-org my-org
113
113
  ```
114
114
 
115
- _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/activate.ts)_
115
+ _See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/activate.ts)_
116
116
 
117
117
  ## `sf agent create`
118
118
 
@@ -179,7 +179,7 @@ EXAMPLES
179
179
  $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
180
180
  ```
181
181
 
182
- _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/create.ts)_
182
+ _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/create.ts)_
183
183
 
184
184
  ## `sf agent deactivate`
185
185
 
@@ -219,7 +219,7 @@ EXAMPLES
219
219
  $ sf agent deactivate --api-name Resort_Manager --target-org my-org
220
220
  ```
221
221
 
222
- _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/deactivate.ts)_
222
+ _See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/deactivate.ts)_
223
223
 
224
224
  ## `sf agent generate agent-spec`
225
225
 
@@ -326,7 +326,7 @@ EXAMPLES
326
326
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
327
327
  ```
328
328
 
329
- _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/generate/agent-spec.ts)_
329
+ _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/generate/agent-spec.ts)_
330
330
 
331
331
  ## `sf agent generate authoring-bundle`
332
332
 
@@ -392,7 +392,7 @@ EXAMPLES
392
392
  other-package-dir/main/default --target-org my-dev-org
393
393
  ```
394
394
 
395
- _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/generate/authoring-bundle.ts)_
395
+ _See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/generate/authoring-bundle.ts)_
396
396
 
397
397
  ## `sf agent generate template`
398
398
 
@@ -440,7 +440,7 @@ EXAMPLES
440
440
  force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
441
441
  ```
442
442
 
443
- _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/generate/template.ts)_
443
+ _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/generate/template.ts)_
444
444
 
445
445
  ## `sf agent generate test-spec`
446
446
 
@@ -501,7 +501,7 @@ EXAMPLES
501
501
  force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
502
502
  ```
503
503
 
504
- _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/generate/test-spec.ts)_
504
+ _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/generate/test-spec.ts)_
505
505
 
506
506
  ## `sf agent preview`
507
507
 
@@ -580,7 +580,7 @@ EXAMPLES
580
580
  $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
581
581
  ```
582
582
 
583
- _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/preview.ts)_
583
+ _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/preview.ts)_
584
584
 
585
585
  ## `sf agent publish authoring-bundle`
586
586
 
@@ -627,7 +627,7 @@ EXAMPLES
627
627
  $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
628
628
  ```
629
629
 
630
- _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/publish/authoring-bundle.ts)_
630
+ _See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/publish/authoring-bundle.ts)_
631
631
 
632
632
  ## `sf agent test create`
633
633
 
@@ -682,7 +682,7 @@ EXAMPLES
682
682
  $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
683
683
  ```
684
684
 
685
- _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/test/create.ts)_
685
+ _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/test/create.ts)_
686
686
 
687
687
  ## `sf agent test list`
688
688
 
@@ -717,7 +717,7 @@ EXAMPLES
717
717
  $ sf agent test list --target-org my-org
718
718
  ```
719
719
 
720
- _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/test/list.ts)_
720
+ _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/test/list.ts)_
721
721
 
722
722
  ## `sf agent test results`
723
723
 
@@ -783,7 +783,7 @@ FLAG DESCRIPTIONS
783
783
  expression when using custom evaluations.
784
784
  ```
785
785
 
786
- _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/test/results.ts)_
786
+ _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/test/results.ts)_
787
787
 
788
788
  ## `sf agent test resume`
789
789
 
@@ -856,7 +856,7 @@ FLAG DESCRIPTIONS
856
856
  expression when using custom evaluations.
857
857
  ```
858
858
 
859
- _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/test/resume.ts)_
859
+ _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/test/resume.ts)_
860
860
 
861
861
  ## `sf agent test run`
862
862
 
@@ -930,7 +930,7 @@ FLAG DESCRIPTIONS
930
930
  expression when using custom evaluations.
931
931
  ```
932
932
 
933
- _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/test/run.ts)_
933
+ _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/test/run.ts)_
934
934
 
935
935
  ## `sf agent validate authoring-bundle`
936
936
 
@@ -977,6 +977,6 @@ EXAMPLES
977
977
  $ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
978
978
  ```
979
979
 
980
- _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.0/src/commands/agent/validate/authoring-bundle.ts)_
980
+ _See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.2/src/commands/agent/validate/authoring-bundle.ts)_
981
981
 
982
982
  <!-- commandsstop -->
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -108,11 +108,12 @@ export default class AgentPublishAuthoringBundle extends SfCommand {
108
108
  });
109
109
  Lifecycle.getInstance().on('scopedPostRetrieve', (result) => {
110
110
  if (result.retrieveResult.response.status !== RequestStatus.Succeeded) {
111
- const errorMessage = `Metadata retrieval failed: ${ensureArray(
111
+ const errorMessages = ensureArray(
112
112
  // @ts-expect-error I saw errorMessages populated with useful information during testing
113
- result?.retrieveResult.response?.messages ?? result?.retrieveResult?.response?.errorMessage).join(EOL)}`;
113
+ result?.retrieveResult.response?.messages ?? result?.retrieveResult?.response?.errorMessage);
114
+ const errorMessage = `Metadata retrieval failed: ${errorMessages.join(EOL)}`;
114
115
  mso.error();
115
- throw new SfError(errorMessage);
116
+ throw SfError.create({ name: 'Retrieve Failed', message: errorMessage });
116
117
  }
117
118
  return Promise.resolve();
118
119
  });
@@ -121,11 +122,13 @@ export default class AgentPublishAuthoringBundle extends SfCommand {
121
122
  mso.stop();
122
123
  }
123
124
  else {
124
- const errorMessage = `Metadata deployment failed: ${ensureArray(
125
- // @ts-expect-error I saw errorMessages populated with useful information during testing
126
- result?.deployResult.response?.messages ?? result?.deployResult?.response?.errorMessage).join(EOL)}`;
127
- mso.error();
128
- throw new SfError(errorMessage);
125
+ const deployResponse = result.deployResult.response;
126
+ // Check for component failures (most common source of detailed errors)
127
+ const failures = ensureArray(deployResponse.details.componentFailures);
128
+ throw SfError.create({
129
+ name: 'Deployment Failed',
130
+ message: failures.map((f) => `${f.problemType}: ${f.problem}`).join('\n'),
131
+ });
129
132
  }
130
133
  return Promise.resolve();
131
134
  });
@@ -1 +1 @@
1
- {"version":3,"file":"authoring-bundle.js","sourceRoot":"","sources":["../../../../src/commands/agent/publish/authoring-bundle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,aAAa,EAA6C,MAAM,oCAAoC,CAAC;AAC9G,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAmB,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,0BAA0B,EAAE,gCAAgC,CAAC,CAAC;AAQrG,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,SAA4C;IAC5F,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAA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,CAAC;YACf,2BAA2B;YAC3B,MAAM,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAChC,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;YACrD,MAAM,YAAY,GAAG,QAAQ,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;YAE3E,uCAAuC;YACvC,GAAG,CAAC,KAAK,EAAE,CAAC;YAEZ,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAEzB,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC;aAChC,CAAC;QACJ,CAAC;IACH,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/common.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/flags.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/testStages.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2025, Salesforce, Inc.
2
+ * Copyright 2026, Salesforce, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1492,5 +1492,5 @@
1492
1492
  ]
1493
1493
  }
1494
1494
  },
1495
- "version": "1.26.0"
1495
+ "version": "1.26.2"
1496
1496
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-agent",
3
3
  "description": "Commands to interact with Salesforce agents",
4
- "version": "1.26.0",
4
+ "version": "1.26.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -13,7 +13,7 @@
13
13
  "@salesforce/core": "^8.23.7",
14
14
  "@salesforce/kit": "^3.2.3",
15
15
  "@salesforce/sf-plugins-core": "^12.2.6",
16
- "@salesforce/source-deploy-retrieve": "^12.30.0",
16
+ "@salesforce/source-deploy-retrieve": "^12.31.0",
17
17
  "@salesforce/types": "^1.5.0",
18
18
  "ansis": "^3.3.2",
19
19
  "fast-xml-parser": "^4.5.1",
@@ -112,7 +112,7 @@
112
112
  "prepack": "sf-prepack",
113
113
  "prepare": "sf-install",
114
114
  "test": "wireit",
115
- "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --reporter-options maxDiffSize=15000",
115
+ "test:nuts": "nyc mocha \"test/nuts/**/*.nut.ts\" --slow 4500 --timeout 600000 --reporter-options maxDiffSize=15000 --exit",
116
116
  "test:only": "wireit",
117
117
  "version": "oclif readme"
118
118
  },
@@ -237,7 +237,7 @@
237
237
  "exports": "./lib/index.js",
238
238
  "type": "module",
239
239
  "sfdx": {
240
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.26.0.crt",
241
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.26.0.sig"
240
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.26.2.crt",
241
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.26.2.sig"
242
242
  }
243
243
  }