@salesforce/plugin-agent 1.9.2 → 1.10.0
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 +41 -11
- package/lib/commands/agent/create-v2.js +10 -4
- package/lib/commands/agent/create-v2.js.map +1 -1
- package/lib/commands/agent/generate/spec-v2.js +1 -1
- package/lib/commands/agent/generate/spec-v2.js.map +1 -1
- package/lib/commands/agent/test/list.d.ts +13 -0
- package/lib/commands/agent/test/list.js +36 -0
- package/lib/commands/agent/test/list.js.map +1 -0
- package/messages/agent.test.list.md +11 -0
- package/npm-shrinkwrap.json +6 -6
- package/oclif.lock +7 -32
- package/oclif.manifest.json +69 -1
- package/package.json +4 -4
- package/schemas/agent-test-list.json +60 -0
package/README.md
CHANGED
|
@@ -69,6 +69,7 @@ sf plugins
|
|
|
69
69
|
- [`sf agent generate test-definition`](#sf-agent-generate-test-definition)
|
|
70
70
|
- [`sf agent preview`](#sf-agent-preview)
|
|
71
71
|
- [`sf agent test cancel`](#sf-agent-test-cancel)
|
|
72
|
+
- [`sf agent test list`](#sf-agent-test-list)
|
|
72
73
|
- [`sf agent test results`](#sf-agent-test-results)
|
|
73
74
|
- [`sf agent test resume`](#sf-agent-test-resume)
|
|
74
75
|
- [`sf agent test run`](#sf-agent-test-run)
|
|
@@ -113,7 +114,7 @@ EXAMPLES
|
|
|
113
114
|
$ sf agent create --name CustomerSupportAgent --spec ./config/agentSpec.json --target-org my-org
|
|
114
115
|
```
|
|
115
116
|
|
|
116
|
-
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
117
|
+
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/create.ts)_
|
|
117
118
|
|
|
118
119
|
## `sf agent create-v2`
|
|
119
120
|
|
|
@@ -164,7 +165,7 @@ EXAMPLES
|
|
|
164
165
|
$ sf agent create-v2 --name CustomerSupportAgent --spec ./config/agentSpec.json --target-org my-org
|
|
165
166
|
```
|
|
166
167
|
|
|
167
|
-
_See code: [src/commands/agent/create-v2.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
168
|
+
_See code: [src/commands/agent/create-v2.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/create-v2.ts)_
|
|
168
169
|
|
|
169
170
|
## `sf agent generate spec`
|
|
170
171
|
|
|
@@ -225,7 +226,7 @@ EXAMPLES
|
|
|
225
226
|
$ sf agent generate spec --output-dir specs --target-org my-org
|
|
226
227
|
```
|
|
227
228
|
|
|
228
|
-
_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
229
|
+
_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/generate/spec.ts)_
|
|
229
230
|
|
|
230
231
|
## `sf agent generate spec-v2`
|
|
231
232
|
|
|
@@ -289,7 +290,7 @@ EXAMPLES
|
|
|
289
290
|
$ sf agent generate spec-v2 --output-dir specs --target-org my-org
|
|
290
291
|
```
|
|
291
292
|
|
|
292
|
-
_See code: [src/commands/agent/generate/spec-v2.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
293
|
+
_See code: [src/commands/agent/generate/spec-v2.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/generate/spec-v2.ts)_
|
|
293
294
|
|
|
294
295
|
## `sf agent generate test-cases`
|
|
295
296
|
|
|
@@ -312,7 +313,7 @@ EXAMPLES
|
|
|
312
313
|
$ sf agent generate test-cases
|
|
313
314
|
```
|
|
314
315
|
|
|
315
|
-
_See code: [src/commands/agent/generate/test-cases.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
316
|
+
_See code: [src/commands/agent/generate/test-cases.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/generate/test-cases.ts)_
|
|
316
317
|
|
|
317
318
|
## `sf agent generate test-definition`
|
|
318
319
|
|
|
@@ -337,7 +338,7 @@ EXAMPLES
|
|
|
337
338
|
$ sf agent generate test-definition
|
|
338
339
|
```
|
|
339
340
|
|
|
340
|
-
_See code: [src/commands/agent/generate/test-definition.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
341
|
+
_See code: [src/commands/agent/generate/test-definition.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/generate/test-definition.ts)_
|
|
341
342
|
|
|
342
343
|
## `sf agent preview`
|
|
343
344
|
|
|
@@ -372,7 +373,7 @@ FLAG DESCRIPTIONS
|
|
|
372
373
|
the API name of the agent? (TBD based on agents library)
|
|
373
374
|
```
|
|
374
375
|
|
|
375
|
-
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
376
|
+
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/preview.ts)_
|
|
376
377
|
|
|
377
378
|
## `sf agent test cancel`
|
|
378
379
|
|
|
@@ -409,7 +410,36 @@ EXAMPLES
|
|
|
409
410
|
$ sf agent test cancel --job-id 4KBfake0000003F4AQ --target-org my-org
|
|
410
411
|
```
|
|
411
412
|
|
|
412
|
-
_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
413
|
+
_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/test/cancel.ts)_
|
|
414
|
+
|
|
415
|
+
## `sf agent test list`
|
|
416
|
+
|
|
417
|
+
List the available tests in the org.
|
|
418
|
+
|
|
419
|
+
```
|
|
420
|
+
USAGE
|
|
421
|
+
$ sf agent test list -o <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
422
|
+
|
|
423
|
+
FLAGS
|
|
424
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
425
|
+
configuration variable is already set.
|
|
426
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
427
|
+
|
|
428
|
+
GLOBAL FLAGS
|
|
429
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
430
|
+
--json Format output as json.
|
|
431
|
+
|
|
432
|
+
DESCRIPTION
|
|
433
|
+
List the available tests in the org.
|
|
434
|
+
|
|
435
|
+
Run this command to get a list of tests that are available in the org. This command will return the test ID, name, and
|
|
436
|
+
created date of each test.
|
|
437
|
+
|
|
438
|
+
EXAMPLES
|
|
439
|
+
$ sf agent test list
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/test/list.ts)_
|
|
413
443
|
|
|
414
444
|
## `sf agent test results`
|
|
415
445
|
|
|
@@ -465,7 +495,7 @@ FLAG DESCRIPTIONS
|
|
|
465
495
|
test results aren't written.
|
|
466
496
|
```
|
|
467
497
|
|
|
468
|
-
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
498
|
+
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/test/results.ts)_
|
|
469
499
|
|
|
470
500
|
## `sf agent test resume`
|
|
471
501
|
|
|
@@ -528,7 +558,7 @@ FLAG DESCRIPTIONS
|
|
|
528
558
|
test results aren't written.
|
|
529
559
|
```
|
|
530
560
|
|
|
531
|
-
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
561
|
+
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/test/resume.ts)_
|
|
532
562
|
|
|
533
563
|
## `sf agent test run`
|
|
534
564
|
|
|
@@ -591,6 +621,6 @@ FLAG DESCRIPTIONS
|
|
|
591
621
|
test results aren't written.
|
|
592
622
|
```
|
|
593
623
|
|
|
594
|
-
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
624
|
+
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.10.0/src/commands/agent/test/run.ts)_
|
|
595
625
|
|
|
596
626
|
<!-- commandsstop -->
|
|
@@ -39,7 +39,7 @@ const FLAGGABLE_PROMPTS = {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
return 'Please enter a valid User ID (005 prefix)';
|
|
42
|
-
}
|
|
42
|
+
},
|
|
43
43
|
},
|
|
44
44
|
'enrich-logs': {
|
|
45
45
|
message: messages.getMessage('flags.enrich-logs.summary'),
|
|
@@ -146,7 +146,7 @@ export default class AgentCreateV2 extends SfCommand {
|
|
|
146
146
|
companyName: inputSpec.companyName,
|
|
147
147
|
companyDescription: inputSpec.companyDescription,
|
|
148
148
|
preDefinedTopics: inputSpec.topics,
|
|
149
|
-
}
|
|
149
|
+
},
|
|
150
150
|
},
|
|
151
151
|
generationSettings: {},
|
|
152
152
|
};
|
|
@@ -192,8 +192,14 @@ export default class AgentCreateV2 extends SfCommand {
|
|
|
192
192
|
// The spec must define: agentType, role, companyName, companyDescription, and topics.
|
|
193
193
|
// Agent type must be 'customer' or 'internal'.
|
|
194
194
|
const validateSpec = (spec) => {
|
|
195
|
-
const requiredSpecValues = [
|
|
196
|
-
|
|
195
|
+
const requiredSpecValues = [
|
|
196
|
+
'agentType',
|
|
197
|
+
'role',
|
|
198
|
+
'companyName',
|
|
199
|
+
'companyDescription',
|
|
200
|
+
'topics',
|
|
201
|
+
];
|
|
202
|
+
const missingFlags = requiredSpecValues.filter((f) => !spec[f]);
|
|
197
203
|
if (missingFlags.length) {
|
|
198
204
|
throw messages.createError('error.missingRequiredFlags', [missingFlags.join(', ')]);
|
|
199
205
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-v2.js","sourceRoot":"","sources":["../../../src/commands/agent/create-v2.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC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AAC;;AAGH,sFAAsF;AACtF,+CAA+C;AAC/C,MAAM,YAAY,GAAG,CAAC,IAA6B,EAAQ,EAAE;IAC3D,MAAM,kBAAkB,GAAkF;QACxG,WAAW;QACX,MAAM;QACN,aAAa;QACb,oBAAoB;QACpB,QAAQ;KACT,CAAC;IACF,MAAM,YAAY,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAChE,IAAI,YAAY,CAAC,MAAM,EAAE,CAAC;QACxB,MAAM,QAAQ,CAAC,WAAW,CAAC,4BAA4B,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACtF,CAAC;IAED,iBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC1C,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
|
|
|
10
10
|
import { Messages } from '@salesforce/core';
|
|
11
11
|
import YAML from 'yaml';
|
|
12
12
|
import { Agent } from '@salesforce/agents';
|
|
13
|
-
import { FLAGGABLE_SPEC_PROMPTS, makeFlags, promptForFlag, validateAgentType, validateMaxTopics } from '../../../flags.js';
|
|
13
|
+
import { FLAGGABLE_SPEC_PROMPTS, makeFlags, promptForFlag, validateAgentType, validateMaxTopics, } from '../../../flags.js';
|
|
14
14
|
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
15
15
|
const messages = Messages.loadMessages('@salesforce/plugin-agent', 'agent.generate.spec-v2');
|
|
16
16
|
export default class AgentCreateSpecV2 extends SfCommand {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec-v2.js","sourceRoot":"","sources":["../../../../src/commands/agent/generate/spec-v2.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,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AAC;QAC3F,IAAI,cAAc,EAAE,CAAC;YACnB,UAAU,CAAC,cAAc,GAAG,cAAc,CAAC;QAC7C,CAAC;QACD,8FAA8F;QAC9F,gGAAgG;QAChG,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QAEvD,MAAM,cAAc,GAAG,aAAa,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,CAAC;QAEtE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QAEpB,IAAI,CAAC,GAAG,CAAC,uBAAuB,cAAc,EAAE,CAAC,CAAC;QAElD,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,GAAG,SAAS,EAAE,CAAC;IAC5E,CAAC;;AAGH,MAAM,aAAa,GAAG,CAAC,UAAkB,EAAE,SAAyB,EAAU,EAAE;IAC9E,8CAA8C;IAC9C,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAC3C,SAAS,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAExD,gDAAgD;IAChD,aAAa,CAAC,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;IAEzD,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type AvailableDefinition } from '@salesforce/agents';
|
|
2
|
+
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
3
|
+
export type AgentTestListResult = AvailableDefinition[];
|
|
4
|
+
export default class AgentTestList extends SfCommand<AgentTestListResult> {
|
|
5
|
+
static readonly summary: string;
|
|
6
|
+
static readonly description: string;
|
|
7
|
+
static readonly examples: string[];
|
|
8
|
+
static readonly flags: {
|
|
9
|
+
'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
};
|
|
12
|
+
run(): Promise<AgentTestListResult>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2024, salesforce.com, inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* Licensed under the BSD 3-Clause license.
|
|
5
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
|
+
*/
|
|
7
|
+
import { AgentTester } from '@salesforce/agents';
|
|
8
|
+
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
|
|
9
|
+
import { Messages } from '@salesforce/core';
|
|
10
|
+
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
11
|
+
const messages = Messages.loadMessages('@salesforce/plugin-agent', 'agent.test.list');
|
|
12
|
+
export default class AgentTestList extends SfCommand {
|
|
13
|
+
static summary = messages.getMessage('summary');
|
|
14
|
+
static description = messages.getMessage('description');
|
|
15
|
+
static examples = messages.getMessages('examples');
|
|
16
|
+
static flags = {
|
|
17
|
+
'target-org': Flags.requiredOrg(),
|
|
18
|
+
'api-version': Flags.orgApiVersion(),
|
|
19
|
+
};
|
|
20
|
+
async run() {
|
|
21
|
+
const { flags } = await this.parse(AgentTestList);
|
|
22
|
+
const agentTester = new AgentTester(flags['target-org'].getConnection(flags['api-version']));
|
|
23
|
+
const results = await agentTester.list();
|
|
24
|
+
this.table({
|
|
25
|
+
data: results,
|
|
26
|
+
columns: [
|
|
27
|
+
{ key: 'fullName', name: 'Name' },
|
|
28
|
+
{ key: 'id', name: 'Id' },
|
|
29
|
+
{ key: 'createdDate', name: 'Created Date' },
|
|
30
|
+
],
|
|
31
|
+
sort: { fullName: 'asc' },
|
|
32
|
+
});
|
|
33
|
+
return results;
|
|
34
|
+
}
|
|
35
|
+
}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AAO;YACb,OAAO,EAAE;gBACP,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE;gBACjC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;gBACzB,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,cAAc,EAAE;aAC7C;YACD,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE;SAC1B,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC;IACjB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
List the available tests in the org.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Run this command to get a list of tests that are available in the org. This command will return the test ID, name, and created date of each test.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %>
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-agent",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/plugin-agent",
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.10.0",
|
|
10
10
|
"license": "BSD-3-Clause",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@inquirer/figures": "^1.0.7",
|
|
13
13
|
"@inquirer/prompts": "^7.2.0",
|
|
14
14
|
"@oclif/core": "^4",
|
|
15
15
|
"@oclif/multi-stage-output": "^0.7.12",
|
|
16
|
-
"@salesforce/agents": "^0.
|
|
16
|
+
"@salesforce/agents": "^0.8.0",
|
|
17
17
|
"@salesforce/core": "^8.8.0",
|
|
18
18
|
"@salesforce/kit": "^3.2.1",
|
|
19
19
|
"@salesforce/sf-plugins-core": "^12.1.0",
|
|
@@ -3342,9 +3342,9 @@
|
|
|
3342
3342
|
}
|
|
3343
3343
|
},
|
|
3344
3344
|
"node_modules/@salesforce/agents": {
|
|
3345
|
-
"version": "0.
|
|
3346
|
-
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-0.
|
|
3347
|
-
"integrity": "sha512-
|
|
3345
|
+
"version": "0.8.0",
|
|
3346
|
+
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-0.8.0.tgz",
|
|
3347
|
+
"integrity": "sha512-m+PNYaqPoKQbTCkudJFRdgON0wBJV3kW1uBHi9IevEqCWbrBcK4JVDmsb5C9IOTBwt9wVfSWi9Dvpqh0oU75mQ==",
|
|
3348
3348
|
"license": "BSD-3-Clause",
|
|
3349
3349
|
"dependencies": {
|
|
3350
3350
|
"@salesforce/core": "^8.8.2",
|
package/oclif.lock
CHANGED
|
@@ -1462,10 +1462,10 @@
|
|
|
1462
1462
|
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
|
|
1463
1463
|
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
|
|
1464
1464
|
|
|
1465
|
-
"@salesforce/agents@^0.
|
|
1466
|
-
version "0.
|
|
1467
|
-
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.
|
|
1468
|
-
integrity sha512-
|
|
1465
|
+
"@salesforce/agents@^0.8.0":
|
|
1466
|
+
version "0.8.0"
|
|
1467
|
+
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.8.0.tgz#fb823e19ed1a49b895f98426a50faea4923286a4"
|
|
1468
|
+
integrity sha512-m+PNYaqPoKQbTCkudJFRdgON0wBJV3kW1uBHi9IevEqCWbrBcK4JVDmsb5C9IOTBwt9wVfSWi9Dvpqh0oU75mQ==
|
|
1469
1469
|
dependencies:
|
|
1470
1470
|
"@salesforce/core" "^8.8.2"
|
|
1471
1471
|
"@salesforce/kit" "^3.2.3"
|
|
@@ -7477,16 +7477,7 @@ stack-utils@^2.0.6:
|
|
|
7477
7477
|
dependencies:
|
|
7478
7478
|
escape-string-regexp "^2.0.0"
|
|
7479
7479
|
|
|
7480
|
-
"string-width-cjs@npm:string-width@^4.2.0":
|
|
7481
|
-
version "4.2.3"
|
|
7482
|
-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
|
7483
|
-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
|
7484
|
-
dependencies:
|
|
7485
|
-
emoji-regex "^8.0.0"
|
|
7486
|
-
is-fullwidth-code-point "^3.0.0"
|
|
7487
|
-
strip-ansi "^6.0.1"
|
|
7488
|
-
|
|
7489
|
-
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
|
|
7480
|
+
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
|
|
7490
7481
|
version "4.2.3"
|
|
7491
7482
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
|
7492
7483
|
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
|
@@ -7581,14 +7572,7 @@ string_decoder@~1.1.1:
|
|
|
7581
7572
|
dependencies:
|
|
7582
7573
|
safe-buffer "~5.1.0"
|
|
7583
7574
|
|
|
7584
|
-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
|
|
7585
|
-
version "6.0.1"
|
|
7586
|
-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
|
7587
|
-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
|
7588
|
-
dependencies:
|
|
7589
|
-
ansi-regex "^5.0.1"
|
|
7590
|
-
|
|
7591
|
-
strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
|
7575
|
+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
|
7592
7576
|
version "6.0.1"
|
|
7593
7577
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
|
7594
7578
|
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
|
@@ -8197,7 +8181,7 @@ workerpool@^6.5.1:
|
|
|
8197
8181
|
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544"
|
|
8198
8182
|
integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==
|
|
8199
8183
|
|
|
8200
|
-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
|
|
8184
|
+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
|
|
8201
8185
|
version "7.0.0"
|
|
8202
8186
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
|
8203
8187
|
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
|
@@ -8215,15 +8199,6 @@ wrap-ansi@^6.2.0:
|
|
|
8215
8199
|
string-width "^4.1.0"
|
|
8216
8200
|
strip-ansi "^6.0.0"
|
|
8217
8201
|
|
|
8218
|
-
wrap-ansi@^7.0.0:
|
|
8219
|
-
version "7.0.0"
|
|
8220
|
-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
|
8221
|
-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
|
8222
|
-
dependencies:
|
|
8223
|
-
ansi-styles "^4.0.0"
|
|
8224
|
-
string-width "^4.1.0"
|
|
8225
|
-
strip-ansi "^6.0.0"
|
|
8226
|
-
|
|
8227
8202
|
wrap-ansi@^8.1.0:
|
|
8228
8203
|
version "8.1.0"
|
|
8229
8204
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
|
package/oclif.manifest.json
CHANGED
|
@@ -748,6 +748,74 @@
|
|
|
748
748
|
"cancel:test:agent"
|
|
749
749
|
]
|
|
750
750
|
},
|
|
751
|
+
"agent:test:list": {
|
|
752
|
+
"aliases": [],
|
|
753
|
+
"args": {},
|
|
754
|
+
"description": "Run this command to get a list of tests that are available in the org. This command will return the test ID, name, and created date of each test.",
|
|
755
|
+
"examples": [
|
|
756
|
+
"<%= config.bin %> <%= command.id %>"
|
|
757
|
+
],
|
|
758
|
+
"flags": {
|
|
759
|
+
"json": {
|
|
760
|
+
"description": "Format output as json.",
|
|
761
|
+
"helpGroup": "GLOBAL",
|
|
762
|
+
"name": "json",
|
|
763
|
+
"allowNo": false,
|
|
764
|
+
"type": "boolean"
|
|
765
|
+
},
|
|
766
|
+
"flags-dir": {
|
|
767
|
+
"helpGroup": "GLOBAL",
|
|
768
|
+
"name": "flags-dir",
|
|
769
|
+
"summary": "Import flag values from a directory.",
|
|
770
|
+
"hasDynamicHelp": false,
|
|
771
|
+
"multiple": false,
|
|
772
|
+
"type": "option"
|
|
773
|
+
},
|
|
774
|
+
"target-org": {
|
|
775
|
+
"char": "o",
|
|
776
|
+
"name": "target-org",
|
|
777
|
+
"noCacheDefault": true,
|
|
778
|
+
"required": true,
|
|
779
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
780
|
+
"hasDynamicHelp": true,
|
|
781
|
+
"multiple": false,
|
|
782
|
+
"type": "option"
|
|
783
|
+
},
|
|
784
|
+
"api-version": {
|
|
785
|
+
"description": "Override the api version used for api requests made by this command",
|
|
786
|
+
"name": "api-version",
|
|
787
|
+
"hasDynamicHelp": false,
|
|
788
|
+
"multiple": false,
|
|
789
|
+
"type": "option"
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
"hasDynamicHelp": true,
|
|
793
|
+
"hiddenAliases": [],
|
|
794
|
+
"id": "agent:test:list",
|
|
795
|
+
"pluginAlias": "@salesforce/plugin-agent",
|
|
796
|
+
"pluginName": "@salesforce/plugin-agent",
|
|
797
|
+
"pluginType": "core",
|
|
798
|
+
"strict": true,
|
|
799
|
+
"summary": "List the available tests in the org.",
|
|
800
|
+
"enableJsonFlag": true,
|
|
801
|
+
"isESM": true,
|
|
802
|
+
"relativePath": [
|
|
803
|
+
"lib",
|
|
804
|
+
"commands",
|
|
805
|
+
"agent",
|
|
806
|
+
"test",
|
|
807
|
+
"list.js"
|
|
808
|
+
],
|
|
809
|
+
"aliasPermutations": [],
|
|
810
|
+
"permutations": [
|
|
811
|
+
"agent:test:list",
|
|
812
|
+
"test:agent:list",
|
|
813
|
+
"test:list:agent",
|
|
814
|
+
"agent:list:test",
|
|
815
|
+
"list:agent:test",
|
|
816
|
+
"list:test:agent"
|
|
817
|
+
]
|
|
818
|
+
},
|
|
751
819
|
"agent:test:results": {
|
|
752
820
|
"aliases": [],
|
|
753
821
|
"args": {},
|
|
@@ -1081,5 +1149,5 @@
|
|
|
1081
1149
|
]
|
|
1082
1150
|
}
|
|
1083
1151
|
},
|
|
1084
|
-
"version": "1.
|
|
1152
|
+
"version": "1.10.0"
|
|
1085
1153
|
}
|
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.
|
|
4
|
+
"version": "1.10.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@inquirer/prompts": "^7.2.0",
|
|
10
10
|
"@oclif/core": "^4",
|
|
11
11
|
"@oclif/multi-stage-output": "^0.7.12",
|
|
12
|
-
"@salesforce/agents": "^0.
|
|
12
|
+
"@salesforce/agents": "^0.8.0",
|
|
13
13
|
"@salesforce/core": "^8.8.0",
|
|
14
14
|
"@salesforce/kit": "^3.2.1",
|
|
15
15
|
"@salesforce/sf-plugins-core": "^12.1.0",
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"exports": "./lib/index.js",
|
|
223
223
|
"type": "module",
|
|
224
224
|
"sfdx": {
|
|
225
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.
|
|
226
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.
|
|
225
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.10.0.crt",
|
|
226
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.10.0.sig"
|
|
227
227
|
}
|
|
228
228
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentTestListResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentTestListResult": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"$ref": "#/definitions/AvailableDefinition"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"AvailableDefinition": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"createdById": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"createdByName": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"createdDate": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"fileName": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"fullName": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"id": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"lastModifiedById": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"lastModifiedByName": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"lastModifiedDate": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"type": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"createdById",
|
|
47
|
+
"createdByName",
|
|
48
|
+
"createdDate",
|
|
49
|
+
"fileName",
|
|
50
|
+
"fullName",
|
|
51
|
+
"id",
|
|
52
|
+
"lastModifiedById",
|
|
53
|
+
"lastModifiedByName",
|
|
54
|
+
"lastModifiedDate",
|
|
55
|
+
"type"
|
|
56
|
+
],
|
|
57
|
+
"additionalProperties": false
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|