@salesforce/plugin-agent 1.14.3 → 1.14.4

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/README.md CHANGED
@@ -66,7 +66,6 @@ sf plugins
66
66
  - [`sf agent generate template`](#sf-agent-generate-template)
67
67
  - [`sf agent generate test-spec`](#sf-agent-generate-test-spec)
68
68
  - [`sf agent preview`](#sf-agent-preview)
69
- - [`sf agent test cancel`](#sf-agent-test-cancel)
70
69
  - [`sf agent test create`](#sf-agent-test-create)
71
70
  - [`sf agent test list`](#sf-agent-test-list)
72
71
  - [`sf agent test results`](#sf-agent-test-results)
@@ -133,7 +132,7 @@ EXAMPLES
133
132
  $ sf agent create --agent-name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
134
133
  ```
135
134
 
136
- _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/create.ts)_
135
+ _See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/create.ts)_
137
136
 
138
137
  ## `sf agent generate agent-spec`
139
138
 
@@ -237,7 +236,7 @@ EXAMPLES
237
236
  $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
238
237
  ```
239
238
 
240
- _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/generate/agent-spec.ts)_
239
+ _See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/generate/agent-spec.ts)_
241
240
 
242
241
  ## `sf agent generate template`
243
242
 
@@ -270,7 +269,7 @@ EXAMPLES
270
269
  $ sf agent generate template --agent-api-name My_Packaged_Agent
271
270
  ```
272
271
 
273
- _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/generate/template.ts)_
272
+ _See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/generate/template.ts)_
274
273
 
275
274
  ## `sf agent generate test-spec`
276
275
 
@@ -293,7 +292,7 @@ EXAMPLES
293
292
  $ sf agent generate test-spec
294
293
  ```
295
294
 
296
- _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/generate/test-spec.ts)_
295
+ _See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/generate/test-spec.ts)_
297
296
 
298
297
  ## `sf agent preview`
299
298
 
@@ -328,44 +327,7 @@ FLAG DESCRIPTIONS
328
327
  the API name of the agent? (TBD based on agents library)
329
328
  ```
330
329
 
331
- _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/preview.ts)_
332
-
333
- ## `sf agent test cancel`
334
-
335
- Cancel an agent test that's currently running in your org.
336
-
337
- ```
338
- USAGE
339
- $ sf agent test cancel -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-i <value>] [-r]
340
-
341
- FLAGS
342
- -i, --job-id=<value> Job ID of the running agent test that you want to cancel.
343
- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
344
- configuration variable is already set.
345
- -r, --use-most-recent Use the job ID of the most recently-run agent test.
346
- --api-version=<value> Override the api version used for api requests made by this command
347
-
348
- GLOBAL FLAGS
349
- --flags-dir=<value> Import flag values from a directory.
350
- --json Format output as json.
351
-
352
- DESCRIPTION
353
- Cancel an agent test that's currently running in your org.
354
-
355
- This command requires a job ID, which the original "agent test run" command displays when it completes. You can also
356
- use the --use-most-recent flag to see results for the most recently run agent test.
357
-
358
- EXAMPLES
359
- Cancel an agent test currently running in your default org using a job ID:
360
-
361
- $ sf agent test cancel --job-id 4KBfake0000003F4AQ
362
-
363
- Cancel the most recently run agent test in the org with alias "my-org":
364
-
365
- $ sf agent test cancel --job-id 4KBfake0000003F4AQ --target-org my-org
366
- ```
367
-
368
- _See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/test/cancel.ts)_
330
+ _See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/preview.ts)_
369
331
 
370
332
  ## `sf agent test create`
371
333
 
@@ -401,7 +363,7 @@ FLAG DESCRIPTIONS
401
363
  More information about a flag. Don't repeat the summary.
402
364
  ```
403
365
 
404
- _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/test/create.ts)_
366
+ _See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/test/create.ts)_
405
367
 
406
368
  ## `sf agent test list`
407
369
 
@@ -430,7 +392,7 @@ EXAMPLES
430
392
  $ sf agent test list
431
393
  ```
432
394
 
433
- _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/test/list.ts)_
395
+ _See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/test/list.ts)_
434
396
 
435
397
  ## `sf agent test results`
436
398
 
@@ -486,7 +448,7 @@ FLAG DESCRIPTIONS
486
448
  test results aren't written.
487
449
  ```
488
450
 
489
- _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/test/results.ts)_
451
+ _See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/test/results.ts)_
490
452
 
491
453
  ## `sf agent test resume`
492
454
 
@@ -549,7 +511,7 @@ FLAG DESCRIPTIONS
549
511
  test results aren't written.
550
512
  ```
551
513
 
552
- _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/test/resume.ts)_
514
+ _See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/test/resume.ts)_
553
515
 
554
516
  ## `sf agent test run`
555
517
 
@@ -612,6 +574,6 @@ FLAG DESCRIPTIONS
612
574
  test results aren't written.
613
575
  ```
614
576
 
615
- _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.3/src/commands/agent/test/run.ts)_
577
+ _See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.14.4/src/commands/agent/test/run.ts)_
616
578
 
617
579
  <!-- commandsstop -->
@@ -10,6 +10,7 @@ export default class AgentTestCancel extends SfCommand<AgentTestCancelResult> {
10
10
  static readonly description: string;
11
11
  static readonly examples: string[];
12
12
  static readonly state = "beta";
13
+ static readonly hidden = true;
13
14
  static readonly flags: {
14
15
  'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
15
16
  'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -15,6 +15,7 @@ export default class AgentTestCancel extends SfCommand {
15
15
  static description = messages.getMessage('description');
16
16
  static examples = messages.getMessages('examples');
17
17
  static state = 'beta';
18
+ static hidden = true;
18
19
  static flags = {
19
20
  'target-org': Flags.requiredOrg(),
20
21
  'api-version': Flags.orgApiVersion(),
@@ -1 +1 @@
1
- {"version":3,"file":"cancel.js","sourceRoot":"","sources":["../../../../src/commands/agent/test/cancel.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAA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C,CAAC;QAED,OAAO;YACL,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,KAAK;SACN,CAAC;IACJ,CAAC"}
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-agent",
3
- "version": "1.14.3",
3
+ "version": "1.14.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-agent",
9
- "version": "1.14.3",
9
+ "version": "1.14.4",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
12
  "@inquirer/figures": "^1.0.7",
@@ -554,6 +554,7 @@
554
554
  }
555
555
  },
556
556
  "hasDynamicHelp": true,
557
+ "hidden": true,
557
558
  "hiddenAliases": [],
558
559
  "id": "agent:test:cancel",
559
560
  "pluginAlias": "@salesforce/plugin-agent",
@@ -1074,5 +1075,5 @@
1074
1075
  ]
1075
1076
  }
1076
1077
  },
1077
- "version": "1.14.3"
1078
+ "version": "1.14.4"
1078
1079
  }
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.14.3",
4
+ "version": "1.14.4",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -226,7 +226,7 @@
226
226
  "exports": "./lib/index.js",
227
227
  "type": "module",
228
228
  "sfdx": {
229
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.14.3.crt",
230
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.14.3.sig"
229
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.14.4.crt",
230
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.14.4.sig"
231
231
  }
232
232
  }