@salesforce/plugin-agent 1.20.7 → 1.20.9
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 -24
- package/lib/commands/agent/create.js +1 -2
- package/lib/commands/agent/create.js.map +1 -1
- package/lib/commands/agent/generate/agent-spec.js +1 -3
- package/lib/commands/agent/generate/agent-spec.js.map +1 -1
- package/messages/agent.preview.md +22 -9
- package/npm-shrinkwrap.json +132 -143
- package/oclif.lock +70 -65
- package/oclif.manifest.json +5 -5
- package/package.json +7 -7
- package/schemas/agent-test-results.json +2 -2
- package/schemas/agent-test-resume.json +2 -2
- package/schemas/agent-test-run.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# plugin-agent -
|
|
1
|
+
# plugin-agent - Beta
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### :warning: This plugin is beta. We expect to announce GA availability very soon. :warning:
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@salesforce/plugin-agent) [](https://npmjs.org/package/@salesforce/plugin-agent) [](https://raw.githubusercontent.com/salesforcecli/plugin-agent/main/LICENSE.txt)
|
|
6
6
|
|
|
@@ -132,7 +132,7 @@ EXAMPLES
|
|
|
132
132
|
$ sf agent create --agent-name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
135
|
+
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/create.ts)_
|
|
136
136
|
|
|
137
137
|
## `sf agent generate agent-spec`
|
|
138
138
|
|
|
@@ -237,7 +237,7 @@ EXAMPLES
|
|
|
237
237
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
240
|
+
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/generate/agent-spec.ts)_
|
|
241
241
|
|
|
242
242
|
## `sf agent generate template`
|
|
243
243
|
|
|
@@ -285,7 +285,7 @@ EXAMPLES
|
|
|
285
285
|
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
288
|
+
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/generate/template.ts)_
|
|
289
289
|
|
|
290
290
|
## `sf agent generate test-spec`
|
|
291
291
|
|
|
@@ -343,7 +343,7 @@ EXAMPLES
|
|
|
343
343
|
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
344
344
|
```
|
|
345
345
|
|
|
346
|
-
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
346
|
+
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/generate/test-spec.ts)_
|
|
347
347
|
|
|
348
348
|
## `sf agent preview`
|
|
349
349
|
|
|
@@ -355,7 +355,7 @@ USAGE
|
|
|
355
355
|
|
|
356
356
|
FLAGS
|
|
357
357
|
-a, --connected-app-user=<value> (required) Username or alias of the connected app user that's configured with
|
|
358
|
-
|
|
358
|
+
web-based access tokens to the agent.
|
|
359
359
|
-d, --output-dir=<value> Directory where conversation transcripts are saved.
|
|
360
360
|
-n, --api-name=<value> API name of the agent you want to interact with.
|
|
361
361
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
@@ -386,40 +386,57 @@ DESCRIPTION
|
|
|
386
386
|
Find the agent's API name in its main details page in your org's Agent page in Setup.
|
|
387
387
|
|
|
388
388
|
Before you use this command, you must complete these steps:
|
|
389
|
+
-----------------------------------------------------------
|
|
389
390
|
|
|
390
391
|
1. Create a connected app in your org as described in the "Create a Connected App" section here:
|
|
391
392
|
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do these
|
|
392
|
-
|
|
393
|
+
four additional steps:
|
|
393
394
|
|
|
394
395
|
a. When specifying the connected app's Callback URL, add this second callback URL on a new line:
|
|
395
|
-
http://localhost:1717/OauthRedirect
|
|
396
|
+
"http://localhost:1717/OauthRedirect".
|
|
396
397
|
|
|
397
|
-
b.
|
|
398
|
+
b. When adding the scopes to the connected app, add "Manage user data via Web browsers (web)".
|
|
399
|
+
|
|
400
|
+
c. Ensure that the "Require Secret for Web Server Flow" option is not selected.
|
|
401
|
+
|
|
402
|
+
d. Make note of the user that you specified as the "Run As" user when updating the Client Credentials Flow section.
|
|
398
403
|
|
|
399
404
|
2. Add the connected app to your agent as described in the "Add Connected App to Agent" section here:
|
|
400
405
|
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#add-connected-app-to-agent.
|
|
401
406
|
|
|
402
|
-
3.
|
|
403
|
-
|
|
404
|
-
|
|
407
|
+
3. Copy the consumer key from your connected app as described in the "Obtain Credentials" section here:
|
|
408
|
+
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#obtain-credentials.
|
|
409
|
+
|
|
410
|
+
4. Set the "SFDX_AUTH_SCOPES" environment variable to "refresh_token sfap_api chatbot_api web api". This step ensures
|
|
411
|
+
that you get the specific OAuth scopes required by this command.
|
|
412
|
+
|
|
413
|
+
5. Using the username of the user you specified as the "Run As" user above, authorize your org using the web server
|
|
414
|
+
flow, as described in this document:
|
|
415
|
+
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_web_flow.htm.
|
|
416
|
+
|
|
417
|
+
IMPORTANT: You must use the "--client-id <CONNECTED-APP-CONSUMER-KEY>" flag of "org login web", where
|
|
418
|
+
CONNECTED-APP-CONSUMER-KEY is the consumer key you previously copied. This step ensures that the "org login web"
|
|
419
|
+
command uses your custom connected app, and not the default CLI connected app.
|
|
420
|
+
|
|
421
|
+
Press Enter to skip sharing the client secret.
|
|
405
422
|
|
|
406
|
-
|
|
423
|
+
6. When you run this command to interact with an agent, specify the username you authorized in the preceding step with
|
|
407
424
|
the --connected-app-user (-a) flag.
|
|
408
425
|
|
|
409
426
|
EXAMPLES
|
|
410
427
|
Interact with an agent with API name "Resort_Manager" in the org with alias "my-org". Connect to your agent using
|
|
411
|
-
the alias "my-
|
|
428
|
+
the alias "my-agent-user"; this alias must point to the username who is authorized using the Web server flow:
|
|
412
429
|
|
|
413
|
-
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --connected-app-user my-
|
|
430
|
+
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --connected-app-user my-agent-user
|
|
414
431
|
|
|
415
432
|
Same as the preceding example, but this time save the conversation transcripts to the "./transcripts/my-preview"
|
|
416
433
|
directory rather than the default "./temp/agent-preview":
|
|
417
434
|
|
|
418
|
-
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --connected-app-user my-
|
|
419
|
-
"transcripts/my-preview"
|
|
435
|
+
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --connected-app-user my-agent-user \
|
|
436
|
+
--output-dir "transcripts/my-preview"
|
|
420
437
|
```
|
|
421
438
|
|
|
422
|
-
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
439
|
+
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/preview.ts)_
|
|
423
440
|
|
|
424
441
|
## `sf agent test create`
|
|
425
442
|
|
|
@@ -474,7 +491,7 @@ EXAMPLES
|
|
|
474
491
|
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --test-api-name Resort_Manager_Test --preview
|
|
475
492
|
```
|
|
476
493
|
|
|
477
|
-
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
494
|
+
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/test/create.ts)_
|
|
478
495
|
|
|
479
496
|
## `sf agent test list`
|
|
480
497
|
|
|
@@ -509,7 +526,7 @@ EXAMPLES
|
|
|
509
526
|
$ sf agent test list --target-org my-org
|
|
510
527
|
```
|
|
511
528
|
|
|
512
|
-
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
529
|
+
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/test/list.ts)_
|
|
513
530
|
|
|
514
531
|
## `sf agent test results`
|
|
515
532
|
|
|
@@ -565,7 +582,7 @@ FLAG DESCRIPTIONS
|
|
|
565
582
|
test results aren't written.
|
|
566
583
|
```
|
|
567
584
|
|
|
568
|
-
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
585
|
+
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/test/results.ts)_
|
|
569
586
|
|
|
570
587
|
## `sf agent test resume`
|
|
571
588
|
|
|
@@ -628,7 +645,7 @@ FLAG DESCRIPTIONS
|
|
|
628
645
|
test results aren't written.
|
|
629
646
|
```
|
|
630
647
|
|
|
631
|
-
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
648
|
+
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/test/resume.ts)_
|
|
632
649
|
|
|
633
650
|
## `sf agent test run`
|
|
634
651
|
|
|
@@ -692,6 +709,6 @@ FLAG DESCRIPTIONS
|
|
|
692
709
|
test results aren't written.
|
|
693
710
|
```
|
|
694
711
|
|
|
695
|
-
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.
|
|
712
|
+
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.20.9/src/commands/agent/test/run.ts)_
|
|
696
713
|
|
|
697
714
|
<!-- commandsstop -->
|
|
@@ -126,7 +126,6 @@ export default class AgentCreate extends SfCommand {
|
|
|
126
126
|
Lifecycle.getInstance().on(AgentCreateLifecycleStages.Creating, () => Promise.resolve(mso.goto(MSO_STAGES.create)));
|
|
127
127
|
Lifecycle.getInstance().on(AgentCreateLifecycleStages.Retrieving, () => Promise.resolve(mso.goto(MSO_STAGES.retrieve)));
|
|
128
128
|
const connection = flags['target-org'].getConnection(flags['api-version']);
|
|
129
|
-
const agent = new Agent(connection, this.project);
|
|
130
129
|
const agentConfig = {
|
|
131
130
|
agentType: inputSpec.agentType,
|
|
132
131
|
generationInfo: {
|
|
@@ -158,7 +157,7 @@ export default class AgentCreate extends SfCommand {
|
|
|
158
157
|
agentConfig.agentSettings.tone = validateTone(inputSpec.tone);
|
|
159
158
|
}
|
|
160
159
|
}
|
|
161
|
-
const response = await
|
|
160
|
+
const response = await Agent.create(connection, this.project, agentConfig);
|
|
162
161
|
const result = response;
|
|
163
162
|
mso.stop();
|
|
164
163
|
if (response.isSuccess) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/commands/agent/create.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,QAAQ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G,YAAY,YAAY,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,OAAO,CAAC;gBACnF,aAAa,CAAC,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBAClE,MAAM,CAAC,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;gBAClD,IAAI,CAAC,GAAG,CAAC,+CAA+C,eAAe,IAAI,CAAC,CAAC;YAC/E,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,EAAE,2BAA2B,QAAQ,CAAC,YAAY,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;QACtF,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;;AAGH,sFAAsF;AACtF,+CAA+C;AAC/C,MAAM,YAAY,GAAG,CAAC,IAA2B,EAAQ,EAAE;IACzD,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,qCAAqC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC/F,CAAC;IAED,iBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC1C,CAAC,CAAC"}
|
|
@@ -181,7 +181,6 @@ export default class AgentCreateSpec extends SfCommand {
|
|
|
181
181
|
// (flags['full-interview'] ? await promptForFlag(FLAGGABLE_PROMPTS['primary-language']) : undefined);
|
|
182
182
|
this.log();
|
|
183
183
|
this.spinner.start('Creating agent spec');
|
|
184
|
-
const agent = new Agent(connection, this.project);
|
|
185
184
|
const specConfig = {
|
|
186
185
|
agentType: type,
|
|
187
186
|
companyName,
|
|
@@ -202,8 +201,7 @@ export default class AgentCreateSpec extends SfCommand {
|
|
|
202
201
|
if (maxNumOfTopics) {
|
|
203
202
|
specConfig.maxNumOfTopics = Number(maxNumOfTopics);
|
|
204
203
|
}
|
|
205
|
-
const specResponse = await
|
|
206
|
-
// @ts-expect-error Need better typing
|
|
204
|
+
const specResponse = await Agent.createSpec(connection, specConfig);
|
|
207
205
|
const specFileContents = buildSpecFile(specResponse, { agentUser, enrichLogs, tone });
|
|
208
206
|
const outputFilePath = writeSpecFile(outputFile, specFileContents);
|
|
209
207
|
this.spinner.stop();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-spec.js","sourceRoot":"","sources":["../../../../src/commands/agent/generate/agent-spec.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,KAAK,EAAgE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EAEL,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAE3B,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,0BAA0B,EAAE,2BAA2B,CAAC,CAAC;AAiBhG,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E,UAAkB,EAAE,QAAQ,GAAG,KAAK,EAAmB,EAAE;IACxF,IAAI,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAC7C,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,IAAI,UAAU,CAAC,kBAAkB,CAAC,EAAE,CAAC;YACnC,MAAM,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC;YAClF,IAAI,CAAC,CAAC,MAAM,OAAO,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC;gBAC1C,OAAO,iBAAiB,CACtB,MAAM,aAAa,CAAC;oBAClB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;oBACzD,QAAQ,EAAE,CAAC,CAAS,EAAoB,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,6BAA6B;iBACzF,CAAC,CACH,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IACD,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1C,kBAAkB,GAAG,GAAG,kBAAkB,OAAO,CAAC;IACpD,CAAC;IACD,OAAO,kBAAkB,CAAC;AAC5B,CAAC,CAAC"}
|
|
@@ -13,18 +13,31 @@ When the session concludes, the command asks if you want to save the API respons
|
|
|
13
13
|
Find the agent's API name in its main details page in your org's Agent page in Setup.
|
|
14
14
|
|
|
15
15
|
Before you use this command, you must complete these steps:
|
|
16
|
+
-----------------------------------------------------------
|
|
16
17
|
|
|
17
|
-
1. Create a connected app in your org as described in the "Create a Connected App" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do these
|
|
18
|
+
1. Create a connected app in your org as described in the "Create a Connected App" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do these four additional steps:
|
|
18
19
|
|
|
19
|
-
a. When specifying the connected app's Callback URL, add this second callback URL on a new line: http://localhost:1717/OauthRedirect
|
|
20
|
+
a. When specifying the connected app's Callback URL, add this second callback URL on a new line: "http://localhost:1717/OauthRedirect".
|
|
20
21
|
|
|
21
|
-
b.
|
|
22
|
+
b. When adding the scopes to the connected app, add "Manage user data via Web browsers (web)".
|
|
23
|
+
|
|
24
|
+
c. Ensure that the "Require Secret for Web Server Flow" option is not selected.
|
|
25
|
+
|
|
26
|
+
d. Make note of the user that you specified as the "Run As" user when updating the Client Credentials Flow section.
|
|
22
27
|
|
|
23
28
|
2. Add the connected app to your agent as described in the "Add Connected App to Agent" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#add-connected-app-to-agent.
|
|
24
29
|
|
|
25
|
-
3.
|
|
30
|
+
3. Copy the consumer key from your connected app as described in the "Obtain Credentials" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#obtain-credentials.
|
|
31
|
+
|
|
32
|
+
4. Set the "SFDX_AUTH_SCOPES" environment variable to "refresh_token sfap_api chatbot_api web api". This step ensures that you get the specific OAuth scopes required by this command.
|
|
33
|
+
|
|
34
|
+
5. Using the username of the user you specified as the "Run As" user above, authorize your org using the web server flow, as described in this document: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_web_flow.htm.
|
|
35
|
+
|
|
36
|
+
IMPORTANT: You must use the "--client-id <CONNECTED-APP-CONSUMER-KEY>" flag of "org login web", where CONNECTED-APP-CONSUMER-KEY is the consumer key you previously copied. This step ensures that the "org login web" command uses your custom connected app, and not the default CLI connected app.
|
|
37
|
+
|
|
38
|
+
Press Enter to skip sharing the client secret.
|
|
26
39
|
|
|
27
|
-
|
|
40
|
+
6. When you run this command to interact with an agent, specify the username you authorized in the preceding step with the --connected-app-user (-a) flag.
|
|
28
41
|
|
|
29
42
|
# flags.api-name.summary
|
|
30
43
|
|
|
@@ -32,7 +45,7 @@ API name of the agent you want to interact with.
|
|
|
32
45
|
|
|
33
46
|
# flags.connected-app-user.summary
|
|
34
47
|
|
|
35
|
-
Username or alias of the connected app user that's configured with
|
|
48
|
+
Username or alias of the connected app user that's configured with web-based access tokens to the agent.
|
|
36
49
|
|
|
37
50
|
# flags.output-dir.summary
|
|
38
51
|
|
|
@@ -40,10 +53,10 @@ Directory where conversation transcripts are saved.
|
|
|
40
53
|
|
|
41
54
|
# examples
|
|
42
55
|
|
|
43
|
-
- Interact with an agent with API name "Resort_Manager" in the org with alias "my-org". Connect to your agent using the alias "my-
|
|
56
|
+
- Interact with an agent with API name "Resort_Manager" in the org with alias "my-org". Connect to your agent using the alias "my-agent-user"; this alias must point to the username who is authorized using the Web server flow:
|
|
44
57
|
|
|
45
|
-
<%= config.bin %> <%= command.id %> --api-name "Resort_Manager" --target-org my-org --connected-app-user my-
|
|
58
|
+
<%= config.bin %> <%= command.id %> --api-name "Resort_Manager" --target-org my-org --connected-app-user my-agent-user
|
|
46
59
|
|
|
47
60
|
- Same as the preceding example, but this time save the conversation transcripts to the "./transcripts/my-preview" directory rather than the default "./temp/agent-preview":
|
|
48
61
|
|
|
49
|
-
<%= config.bin %> <%= command.id %> --api-name "Resort_Manager" --target-org my-org --connected-app-user my-
|
|
62
|
+
<%= config.bin %> <%= command.id %> --api-name "Resort_Manager" --target-org my-org --connected-app-user my-agent-user --output-dir "transcripts/my-preview"
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-agent",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.9",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/plugin-agent",
|
|
9
|
-
"version": "1.20.
|
|
9
|
+
"version": "1.20.9",
|
|
10
10
|
"license": "BSD-3-Clause",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@inquirer/core": "^10.1.6",
|
|
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.
|
|
17
|
-
"@salesforce/core": "^8.8.
|
|
18
|
-
"@salesforce/kit": "^3.2.
|
|
16
|
+
"@salesforce/agents": "0.14.0",
|
|
17
|
+
"@salesforce/core": "^8.8.6",
|
|
18
|
+
"@salesforce/kit": "^3.2.3",
|
|
19
19
|
"@salesforce/sf-plugins-core": "^12.2.0",
|
|
20
|
-
"@salesforce/source-deploy-retrieve": "^12.
|
|
20
|
+
"@salesforce/source-deploy-retrieve": "^12.18.0",
|
|
21
21
|
"@salesforce/types": "^1.3.0",
|
|
22
22
|
"ansis": "^3.3.2",
|
|
23
23
|
"fast-xml-parser": "^4.5.1",
|
|
@@ -2860,9 +2860,9 @@
|
|
|
2860
2860
|
}
|
|
2861
2861
|
},
|
|
2862
2862
|
"node_modules/@jsforce/jsforce-node": {
|
|
2863
|
-
"version": "3.
|
|
2864
|
-
"resolved": "https://registry.npmjs.org/@jsforce/jsforce-node/-/jsforce-node-3.
|
|
2865
|
-
"integrity": "sha512-
|
|
2863
|
+
"version": "3.7.0",
|
|
2864
|
+
"resolved": "https://registry.npmjs.org/@jsforce/jsforce-node/-/jsforce-node-3.7.0.tgz",
|
|
2865
|
+
"integrity": "sha512-v9pc3lPM5RMuB81Gasz5/NKcjktE1LLEACRFopB9LiXRafb4K9bStSMl3nLEHq7+OFdtxfQB3Sx2rYXJGG4DKw==",
|
|
2866
2866
|
"license": "MIT",
|
|
2867
2867
|
"dependencies": {
|
|
2868
2868
|
"@sindresorhus/is": "^4",
|
|
@@ -2941,13 +2941,13 @@
|
|
|
2941
2941
|
}
|
|
2942
2942
|
},
|
|
2943
2943
|
"node_modules/@oclif/core": {
|
|
2944
|
-
"version": "4.2.
|
|
2945
|
-
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.2.
|
|
2946
|
-
"integrity": "sha512-
|
|
2944
|
+
"version": "4.2.10",
|
|
2945
|
+
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.2.10.tgz",
|
|
2946
|
+
"integrity": "sha512-fAqcXgqkUm4v5FYy7qWP4w1HaOlVSVJveah+yVTo5Nm5kTiXhmD5mQQ7+knGeBaStyrtQy6WardoC2xSic9rlQ==",
|
|
2947
2947
|
"license": "MIT",
|
|
2948
2948
|
"dependencies": {
|
|
2949
2949
|
"ansi-escapes": "^4.3.2",
|
|
2950
|
-
"ansis": "^3.
|
|
2950
|
+
"ansis": "^3.17.0",
|
|
2951
2951
|
"clean-stack": "^3.0.1",
|
|
2952
2952
|
"cli-spinners": "^2.9.2",
|
|
2953
2953
|
"debug": "^4.4.0",
|
|
@@ -3556,63 +3556,22 @@
|
|
|
3556
3556
|
"license": "MIT"
|
|
3557
3557
|
},
|
|
3558
3558
|
"node_modules/@salesforce/agents": {
|
|
3559
|
-
"version": "0.
|
|
3560
|
-
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-0.
|
|
3561
|
-
"integrity": "sha512-
|
|
3559
|
+
"version": "0.14.0",
|
|
3560
|
+
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-0.14.0.tgz",
|
|
3561
|
+
"integrity": "sha512-vSYldMaYG+pufteX124q8cKfk10vujWhU/74Rrdui6ta7cgZpQGewc2oLXRg8m7jkFzQTOzuUG2Ewyn36b0I3g==",
|
|
3562
3562
|
"license": "BSD-3-Clause",
|
|
3563
3563
|
"dependencies": {
|
|
3564
|
-
"@salesforce/core": "^8.8.
|
|
3564
|
+
"@salesforce/core": "^8.8.6",
|
|
3565
3565
|
"@salesforce/kit": "^3.2.3",
|
|
3566
|
-
"@salesforce/source-deploy-retrieve": "^12.
|
|
3566
|
+
"@salesforce/source-deploy-retrieve": "^12.18.2",
|
|
3567
3567
|
"fast-xml-parser": "^4.5.3",
|
|
3568
3568
|
"nock": "^13.5.6",
|
|
3569
|
-
"yaml": "^2.7.
|
|
3570
|
-
},
|
|
3571
|
-
"engines": {
|
|
3572
|
-
"node": ">=18.0.0"
|
|
3573
|
-
}
|
|
3574
|
-
},
|
|
3575
|
-
"node_modules/@salesforce/agents/node_modules/@salesforce/source-deploy-retrieve": {
|
|
3576
|
-
"version": "12.16.0",
|
|
3577
|
-
"resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.16.0.tgz",
|
|
3578
|
-
"integrity": "sha512-vKBoefk1bHzs945e7PFhBJd21jLYJY2QrrNCwQpmHf6C3Lbu9+kzOnZVLPuDM4lGxXyhhQ89Nx3TtPCyndhmfg==",
|
|
3579
|
-
"license": "BSD-3-Clause",
|
|
3580
|
-
"dependencies": {
|
|
3581
|
-
"@salesforce/core": "^8.8.3",
|
|
3582
|
-
"@salesforce/kit": "^3.2.3",
|
|
3583
|
-
"@salesforce/ts-types": "^2.0.12",
|
|
3584
|
-
"@salesforce/types": "^1.3.0",
|
|
3585
|
-
"fast-levenshtein": "^3.0.0",
|
|
3586
|
-
"fast-xml-parser": "^4.5.1",
|
|
3587
|
-
"got": "^11.8.6",
|
|
3588
|
-
"graceful-fs": "^4.2.11",
|
|
3589
|
-
"ignore": "^5.3.2",
|
|
3590
|
-
"isbinaryfile": "^5.0.2",
|
|
3591
|
-
"jszip": "^3.10.1",
|
|
3592
|
-
"mime": "2.6.0",
|
|
3593
|
-
"minimatch": "^9.0.5",
|
|
3594
|
-
"proxy-agent": "^6.4.0",
|
|
3595
|
-
"yaml": "^2.6.1"
|
|
3569
|
+
"yaml": "^2.7.1"
|
|
3596
3570
|
},
|
|
3597
3571
|
"engines": {
|
|
3598
3572
|
"node": ">=18.0.0"
|
|
3599
3573
|
}
|
|
3600
3574
|
},
|
|
3601
|
-
"node_modules/@salesforce/agents/node_modules/minimatch": {
|
|
3602
|
-
"version": "9.0.5",
|
|
3603
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
|
3604
|
-
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
|
3605
|
-
"license": "ISC",
|
|
3606
|
-
"dependencies": {
|
|
3607
|
-
"brace-expansion": "^2.0.1"
|
|
3608
|
-
},
|
|
3609
|
-
"engines": {
|
|
3610
|
-
"node": ">=16 || 14 >=14.17"
|
|
3611
|
-
},
|
|
3612
|
-
"funding": {
|
|
3613
|
-
"url": "https://github.com/sponsors/isaacs"
|
|
3614
|
-
}
|
|
3615
|
-
},
|
|
3616
3575
|
"node_modules/@salesforce/cli-plugins-testkit": {
|
|
3617
3576
|
"version": "5.3.39",
|
|
3618
3577
|
"resolved": "https://registry.npmjs.org/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.3.39.tgz",
|
|
@@ -3735,12 +3694,12 @@
|
|
|
3735
3694
|
}
|
|
3736
3695
|
},
|
|
3737
3696
|
"node_modules/@salesforce/core": {
|
|
3738
|
-
"version": "8.8.
|
|
3739
|
-
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.8.
|
|
3740
|
-
"integrity": "sha512-
|
|
3697
|
+
"version": "8.8.7",
|
|
3698
|
+
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.8.7.tgz",
|
|
3699
|
+
"integrity": "sha512-AuPSmb/GZ7F8eV5GO6NcfFq3YSOVnPL4sssEQEvKduOSJMs8RTJ92kEefrId/tgFBYfw4b7UzndjFtdgrGGeoA==",
|
|
3741
3700
|
"license": "BSD-3-Clause",
|
|
3742
3701
|
"dependencies": {
|
|
3743
|
-
"@jsforce/jsforce-node": "^3.
|
|
3702
|
+
"@jsforce/jsforce-node": "^3.7.0",
|
|
3744
3703
|
"@salesforce/kit": "^3.2.2",
|
|
3745
3704
|
"@salesforce/schemas": "^1.9.0",
|
|
3746
3705
|
"@salesforce/ts-types": "^2.0.10",
|
|
@@ -4019,16 +3978,16 @@
|
|
|
4019
3978
|
"license": "ISC"
|
|
4020
3979
|
},
|
|
4021
3980
|
"node_modules/@salesforce/sf-plugins-core": {
|
|
4022
|
-
"version": "12.2.
|
|
4023
|
-
"resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.
|
|
4024
|
-
"integrity": "sha512-
|
|
3981
|
+
"version": "12.2.1",
|
|
3982
|
+
"resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.1.tgz",
|
|
3983
|
+
"integrity": "sha512-b3eRSzGO0weBLL1clHaJNgNP1aKkD1Qy2DQEc0ieteEm+fh1FfPA0QpJ9rh/hdmkJRip2x2R2zz9tflJ0wflbg==",
|
|
4025
3984
|
"license": "BSD-3-Clause",
|
|
4026
3985
|
"dependencies": {
|
|
4027
3986
|
"@inquirer/confirm": "^3.1.22",
|
|
4028
3987
|
"@inquirer/password": "^2.2.0",
|
|
4029
|
-
"@oclif/core": "^4.2.
|
|
3988
|
+
"@oclif/core": "^4.2.10",
|
|
4030
3989
|
"@oclif/table": "^0.4.6",
|
|
4031
|
-
"@salesforce/core": "^8.5
|
|
3990
|
+
"@salesforce/core": "^8.8.5",
|
|
4032
3991
|
"@salesforce/kit": "^3.2.3",
|
|
4033
3992
|
"@salesforce/ts-types": "^2.0.12",
|
|
4034
3993
|
"ansis": "^3.3.2",
|
|
@@ -4040,16 +3999,17 @@
|
|
|
4040
3999
|
}
|
|
4041
4000
|
},
|
|
4042
4001
|
"node_modules/@salesforce/source-deploy-retrieve": {
|
|
4043
|
-
"version": "12.
|
|
4044
|
-
"resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.
|
|
4045
|
-
"integrity": "sha512-
|
|
4002
|
+
"version": "12.18.4",
|
|
4003
|
+
"resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.18.4.tgz",
|
|
4004
|
+
"integrity": "sha512-W13y72vCV98pROwvX0WmmIEmNivju4cMuK5jGzT5JHcX1qgy6i03VksT0R9CbyU3G4gbrB3Gay0rQLwdubNqOw==",
|
|
4046
4005
|
"license": "BSD-3-Clause",
|
|
4047
4006
|
"dependencies": {
|
|
4048
|
-
"@salesforce/core": "^8.8.
|
|
4007
|
+
"@salesforce/core": "^8.8.7",
|
|
4049
4008
|
"@salesforce/kit": "^3.2.3",
|
|
4050
4009
|
"@salesforce/ts-types": "^2.0.12",
|
|
4010
|
+
"@salesforce/types": "^1.3.0",
|
|
4051
4011
|
"fast-levenshtein": "^3.0.0",
|
|
4052
|
-
"fast-xml-parser": "^4.5.
|
|
4012
|
+
"fast-xml-parser": "^4.5.3",
|
|
4053
4013
|
"got": "^11.8.6",
|
|
4054
4014
|
"graceful-fs": "^4.2.11",
|
|
4055
4015
|
"ignore": "^5.3.2",
|
|
@@ -4058,7 +4018,7 @@
|
|
|
4058
4018
|
"mime": "2.6.0",
|
|
4059
4019
|
"minimatch": "^9.0.5",
|
|
4060
4020
|
"proxy-agent": "^6.4.0",
|
|
4061
|
-
"yaml": "^2.
|
|
4021
|
+
"yaml": "^2.7.1"
|
|
4062
4022
|
},
|
|
4063
4023
|
"engines": {
|
|
4064
4024
|
"node": ">=18.0.0"
|
|
@@ -5677,9 +5637,9 @@
|
|
|
5677
5637
|
}
|
|
5678
5638
|
},
|
|
5679
5639
|
"node_modules/ansis": {
|
|
5680
|
-
"version": "3.
|
|
5681
|
-
"resolved": "https://registry.npmjs.org/ansis/-/ansis-3.
|
|
5682
|
-
"integrity": "sha512-
|
|
5640
|
+
"version": "3.17.0",
|
|
5641
|
+
"resolved": "https://registry.npmjs.org/ansis/-/ansis-3.17.0.tgz",
|
|
5642
|
+
"integrity": "sha512-0qWUglt9JEqLFr3w1I1pbrChn1grhaiAR2ocX1PP/flRmxgtwTzPFFFnfIlD6aMOLQZgSuCRlidD70lvx8yhzg==",
|
|
5683
5643
|
"license": "ISC",
|
|
5684
5644
|
"engines": {
|
|
5685
5645
|
"node": ">=14"
|
|
@@ -6208,33 +6168,74 @@
|
|
|
6208
6168
|
}
|
|
6209
6169
|
},
|
|
6210
6170
|
"node_modules/cacheable-request": {
|
|
6211
|
-
"version": "
|
|
6212
|
-
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-
|
|
6213
|
-
"integrity": "sha512-
|
|
6171
|
+
"version": "10.2.14",
|
|
6172
|
+
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz",
|
|
6173
|
+
"integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==",
|
|
6174
|
+
"dev": true,
|
|
6214
6175
|
"license": "MIT",
|
|
6215
6176
|
"dependencies": {
|
|
6216
|
-
"
|
|
6217
|
-
"get-stream": "^
|
|
6218
|
-
"http-cache-semantics": "^4.
|
|
6219
|
-
"keyv": "^4.
|
|
6220
|
-
"
|
|
6221
|
-
"normalize-url": "^
|
|
6222
|
-
"responselike": "^
|
|
6177
|
+
"@types/http-cache-semantics": "^4.0.2",
|
|
6178
|
+
"get-stream": "^6.0.1",
|
|
6179
|
+
"http-cache-semantics": "^4.1.1",
|
|
6180
|
+
"keyv": "^4.5.3",
|
|
6181
|
+
"mimic-response": "^4.0.0",
|
|
6182
|
+
"normalize-url": "^8.0.0",
|
|
6183
|
+
"responselike": "^3.0.0"
|
|
6223
6184
|
},
|
|
6224
6185
|
"engines": {
|
|
6225
|
-
"node": ">=
|
|
6186
|
+
"node": ">=14.16"
|
|
6226
6187
|
}
|
|
6227
6188
|
},
|
|
6228
|
-
"node_modules/cacheable-request/node_modules/
|
|
6229
|
-
"version": "
|
|
6230
|
-
"resolved": "https://registry.npmjs.org/
|
|
6231
|
-
"integrity": "sha512-
|
|
6189
|
+
"node_modules/cacheable-request/node_modules/lowercase-keys": {
|
|
6190
|
+
"version": "3.0.0",
|
|
6191
|
+
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz",
|
|
6192
|
+
"integrity": "sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==",
|
|
6193
|
+
"dev": true,
|
|
6194
|
+
"license": "MIT",
|
|
6195
|
+
"engines": {
|
|
6196
|
+
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
6197
|
+
},
|
|
6198
|
+
"funding": {
|
|
6199
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
6200
|
+
}
|
|
6201
|
+
},
|
|
6202
|
+
"node_modules/cacheable-request/node_modules/mimic-response": {
|
|
6203
|
+
"version": "4.0.0",
|
|
6204
|
+
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz",
|
|
6205
|
+
"integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==",
|
|
6206
|
+
"dev": true,
|
|
6207
|
+
"license": "MIT",
|
|
6208
|
+
"engines": {
|
|
6209
|
+
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
6210
|
+
},
|
|
6211
|
+
"funding": {
|
|
6212
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
6213
|
+
}
|
|
6214
|
+
},
|
|
6215
|
+
"node_modules/cacheable-request/node_modules/normalize-url": {
|
|
6216
|
+
"version": "8.0.1",
|
|
6217
|
+
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz",
|
|
6218
|
+
"integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==",
|
|
6219
|
+
"dev": true,
|
|
6220
|
+
"license": "MIT",
|
|
6221
|
+
"engines": {
|
|
6222
|
+
"node": ">=14.16"
|
|
6223
|
+
},
|
|
6224
|
+
"funding": {
|
|
6225
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
6226
|
+
}
|
|
6227
|
+
},
|
|
6228
|
+
"node_modules/cacheable-request/node_modules/responselike": {
|
|
6229
|
+
"version": "3.0.0",
|
|
6230
|
+
"resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz",
|
|
6231
|
+
"integrity": "sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==",
|
|
6232
|
+
"dev": true,
|
|
6232
6233
|
"license": "MIT",
|
|
6233
6234
|
"dependencies": {
|
|
6234
|
-
"
|
|
6235
|
+
"lowercase-keys": "^3.0.0"
|
|
6235
6236
|
},
|
|
6236
6237
|
"engines": {
|
|
6237
|
-
"node": ">=
|
|
6238
|
+
"node": ">=14.16"
|
|
6238
6239
|
},
|
|
6239
6240
|
"funding": {
|
|
6240
6241
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
@@ -9451,6 +9452,39 @@
|
|
|
9451
9452
|
"url": "https://github.com/sindresorhus/got?sponsor=1"
|
|
9452
9453
|
}
|
|
9453
9454
|
},
|
|
9455
|
+
"node_modules/got/node_modules/cacheable-request": {
|
|
9456
|
+
"version": "7.0.4",
|
|
9457
|
+
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.4.tgz",
|
|
9458
|
+
"integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==",
|
|
9459
|
+
"license": "MIT",
|
|
9460
|
+
"dependencies": {
|
|
9461
|
+
"clone-response": "^1.0.2",
|
|
9462
|
+
"get-stream": "^5.1.0",
|
|
9463
|
+
"http-cache-semantics": "^4.0.0",
|
|
9464
|
+
"keyv": "^4.0.0",
|
|
9465
|
+
"lowercase-keys": "^2.0.0",
|
|
9466
|
+
"normalize-url": "^6.0.1",
|
|
9467
|
+
"responselike": "^2.0.0"
|
|
9468
|
+
},
|
|
9469
|
+
"engines": {
|
|
9470
|
+
"node": ">=8"
|
|
9471
|
+
}
|
|
9472
|
+
},
|
|
9473
|
+
"node_modules/got/node_modules/get-stream": {
|
|
9474
|
+
"version": "5.2.0",
|
|
9475
|
+
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
|
|
9476
|
+
"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
|
|
9477
|
+
"license": "MIT",
|
|
9478
|
+
"dependencies": {
|
|
9479
|
+
"pump": "^3.0.0"
|
|
9480
|
+
},
|
|
9481
|
+
"engines": {
|
|
9482
|
+
"node": ">=8"
|
|
9483
|
+
},
|
|
9484
|
+
"funding": {
|
|
9485
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
9486
|
+
}
|
|
9487
|
+
},
|
|
9454
9488
|
"node_modules/graceful-fs": {
|
|
9455
9489
|
"version": "4.2.11",
|
|
9456
9490
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
|
@@ -12809,25 +12843,6 @@
|
|
|
12809
12843
|
"node": ">=14.16"
|
|
12810
12844
|
}
|
|
12811
12845
|
},
|
|
12812
|
-
"node_modules/oclif/node_modules/cacheable-request": {
|
|
12813
|
-
"version": "10.2.14",
|
|
12814
|
-
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz",
|
|
12815
|
-
"integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==",
|
|
12816
|
-
"dev": true,
|
|
12817
|
-
"license": "MIT",
|
|
12818
|
-
"dependencies": {
|
|
12819
|
-
"@types/http-cache-semantics": "^4.0.2",
|
|
12820
|
-
"get-stream": "^6.0.1",
|
|
12821
|
-
"http-cache-semantics": "^4.1.1",
|
|
12822
|
-
"keyv": "^4.5.3",
|
|
12823
|
-
"mimic-response": "^4.0.0",
|
|
12824
|
-
"normalize-url": "^8.0.0",
|
|
12825
|
-
"responselike": "^3.0.0"
|
|
12826
|
-
},
|
|
12827
|
-
"engines": {
|
|
12828
|
-
"node": ">=14.16"
|
|
12829
|
-
}
|
|
12830
|
-
},
|
|
12831
12846
|
"node_modules/oclif/node_modules/got": {
|
|
12832
12847
|
"version": "13.0.0",
|
|
12833
12848
|
"resolved": "https://registry.npmjs.org/got/-/got-13.0.0.tgz",
|
|
@@ -12894,19 +12909,6 @@
|
|
|
12894
12909
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
12895
12910
|
}
|
|
12896
12911
|
},
|
|
12897
|
-
"node_modules/oclif/node_modules/mimic-response": {
|
|
12898
|
-
"version": "4.0.0",
|
|
12899
|
-
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz",
|
|
12900
|
-
"integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==",
|
|
12901
|
-
"dev": true,
|
|
12902
|
-
"license": "MIT",
|
|
12903
|
-
"engines": {
|
|
12904
|
-
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
12905
|
-
},
|
|
12906
|
-
"funding": {
|
|
12907
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
12908
|
-
}
|
|
12909
|
-
},
|
|
12910
12912
|
"node_modules/oclif/node_modules/normalize-package-data": {
|
|
12911
12913
|
"version": "6.0.2",
|
|
12912
12914
|
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz",
|
|
@@ -12922,19 +12924,6 @@
|
|
|
12922
12924
|
"node": "^16.14.0 || >=18.0.0"
|
|
12923
12925
|
}
|
|
12924
12926
|
},
|
|
12925
|
-
"node_modules/oclif/node_modules/normalize-url": {
|
|
12926
|
-
"version": "8.0.1",
|
|
12927
|
-
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz",
|
|
12928
|
-
"integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==",
|
|
12929
|
-
"dev": true,
|
|
12930
|
-
"license": "MIT",
|
|
12931
|
-
"engines": {
|
|
12932
|
-
"node": ">=14.16"
|
|
12933
|
-
},
|
|
12934
|
-
"funding": {
|
|
12935
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
12936
|
-
}
|
|
12937
|
-
},
|
|
12938
12927
|
"node_modules/oclif/node_modules/p-cancelable": {
|
|
12939
12928
|
"version": "3.0.0",
|
|
12940
12929
|
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz",
|
|
@@ -16565,9 +16554,9 @@
|
|
|
16565
16554
|
"license": "ISC"
|
|
16566
16555
|
},
|
|
16567
16556
|
"node_modules/yaml": {
|
|
16568
|
-
"version": "2.7.
|
|
16569
|
-
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.
|
|
16570
|
-
"integrity": "sha512
|
|
16557
|
+
"version": "2.7.1",
|
|
16558
|
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz",
|
|
16559
|
+
"integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==",
|
|
16571
16560
|
"license": "ISC",
|
|
16572
16561
|
"bin": {
|
|
16573
16562
|
"yaml": "bin.mjs"
|
package/oclif.lock
CHANGED
|
@@ -1271,10 +1271,10 @@
|
|
|
1271
1271
|
"@jridgewell/resolve-uri" "^3.1.0"
|
|
1272
1272
|
"@jridgewell/sourcemap-codec" "^1.4.14"
|
|
1273
1273
|
|
|
1274
|
-
"@jsforce/jsforce-node@^3.
|
|
1275
|
-
version "3.
|
|
1276
|
-
resolved "https://registry.yarnpkg.com/@jsforce/jsforce-node/-/jsforce-node-3.
|
|
1277
|
-
integrity sha512-
|
|
1274
|
+
"@jsforce/jsforce-node@^3.7.0":
|
|
1275
|
+
version "3.7.0"
|
|
1276
|
+
resolved "https://registry.yarnpkg.com/@jsforce/jsforce-node/-/jsforce-node-3.7.0.tgz#aaa317eef3207489db90498f79e96c5bd9f53469"
|
|
1277
|
+
integrity sha512-v9pc3lPM5RMuB81Gasz5/NKcjktE1LLEACRFopB9LiXRafb4K9bStSMl3nLEHq7+OFdtxfQB3Sx2rYXJGG4DKw==
|
|
1278
1278
|
dependencies:
|
|
1279
1279
|
"@sindresorhus/is" "^4"
|
|
1280
1280
|
base64url "^3.0.1"
|
|
@@ -1308,13 +1308,13 @@
|
|
|
1308
1308
|
"@nodelib/fs.scandir" "2.1.5"
|
|
1309
1309
|
fastq "^1.6.0"
|
|
1310
1310
|
|
|
1311
|
-
"@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.2.
|
|
1312
|
-
version "4.2.
|
|
1313
|
-
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.2.
|
|
1314
|
-
integrity sha512-
|
|
1311
|
+
"@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.2.10", "@oclif/core@^4.2.3":
|
|
1312
|
+
version "4.2.10"
|
|
1313
|
+
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.2.10.tgz#31dfb7481c79887c3e672e10c981fcc01fcbaeb3"
|
|
1314
|
+
integrity sha512-fAqcXgqkUm4v5FYy7qWP4w1HaOlVSVJveah+yVTo5Nm5kTiXhmD5mQQ7+knGeBaStyrtQy6WardoC2xSic9rlQ==
|
|
1315
1315
|
dependencies:
|
|
1316
1316
|
ansi-escapes "^4.3.2"
|
|
1317
|
-
ansis "^3.
|
|
1317
|
+
ansis "^3.17.0"
|
|
1318
1318
|
clean-stack "^3.0.1"
|
|
1319
1319
|
cli-spinners "^2.9.2"
|
|
1320
1320
|
debug "^4.4.0"
|
|
@@ -1443,17 +1443,17 @@
|
|
|
1443
1443
|
resolved "https://registry.yarnpkg.com/@rtsao/scc/-/scc-1.1.0.tgz#927dd2fae9bc3361403ac2c7a00c32ddce9ad7e8"
|
|
1444
1444
|
integrity sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==
|
|
1445
1445
|
|
|
1446
|
-
"@salesforce/agents@0.
|
|
1447
|
-
version "0.
|
|
1448
|
-
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.
|
|
1449
|
-
integrity sha512-
|
|
1446
|
+
"@salesforce/agents@0.14.0":
|
|
1447
|
+
version "0.14.0"
|
|
1448
|
+
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.14.0.tgz#7c6deb7a22d94f814dc0a57653581f0c544137a9"
|
|
1449
|
+
integrity sha512-vSYldMaYG+pufteX124q8cKfk10vujWhU/74Rrdui6ta7cgZpQGewc2oLXRg8m7jkFzQTOzuUG2Ewyn36b0I3g==
|
|
1450
1450
|
dependencies:
|
|
1451
|
-
"@salesforce/core" "^8.8.
|
|
1451
|
+
"@salesforce/core" "^8.8.6"
|
|
1452
1452
|
"@salesforce/kit" "^3.2.3"
|
|
1453
|
-
"@salesforce/source-deploy-retrieve" "^12.
|
|
1453
|
+
"@salesforce/source-deploy-retrieve" "^12.18.2"
|
|
1454
1454
|
fast-xml-parser "^4.5.3"
|
|
1455
1455
|
nock "^13.5.6"
|
|
1456
|
-
yaml "^2.7.
|
|
1456
|
+
yaml "^2.7.1"
|
|
1457
1457
|
|
|
1458
1458
|
"@salesforce/cli-plugins-testkit@^5.3.35":
|
|
1459
1459
|
version "5.3.39"
|
|
@@ -1471,12 +1471,12 @@
|
|
|
1471
1471
|
strip-ansi "6.0.1"
|
|
1472
1472
|
ts-retry-promise "^0.8.1"
|
|
1473
1473
|
|
|
1474
|
-
"@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.2", "@salesforce/core@^8.8.
|
|
1475
|
-
version "8.8.
|
|
1476
|
-
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.8.
|
|
1477
|
-
integrity sha512-
|
|
1474
|
+
"@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.2", "@salesforce/core@^8.8.5", "@salesforce/core@^8.8.6", "@salesforce/core@^8.8.7":
|
|
1475
|
+
version "8.8.7"
|
|
1476
|
+
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.8.7.tgz#ac307e8f10934affa7bcf33ccb65993669cd8f12"
|
|
1477
|
+
integrity sha512-AuPSmb/GZ7F8eV5GO6NcfFq3YSOVnPL4sssEQEvKduOSJMs8RTJ92kEefrId/tgFBYfw4b7UzndjFtdgrGGeoA==
|
|
1478
1478
|
dependencies:
|
|
1479
|
-
"@jsforce/jsforce-node" "^3.
|
|
1479
|
+
"@jsforce/jsforce-node" "^3.7.0"
|
|
1480
1480
|
"@salesforce/kit" "^3.2.2"
|
|
1481
1481
|
"@salesforce/schemas" "^1.9.0"
|
|
1482
1482
|
"@salesforce/ts-types" "^2.0.10"
|
|
@@ -1532,7 +1532,7 @@
|
|
|
1532
1532
|
typescript "^5.5.4"
|
|
1533
1533
|
wireit "^0.14.5"
|
|
1534
1534
|
|
|
1535
|
-
"@salesforce/kit@^3.2.
|
|
1535
|
+
"@salesforce/kit@^3.2.2", "@salesforce/kit@^3.2.3":
|
|
1536
1536
|
version "3.2.3"
|
|
1537
1537
|
resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-3.2.3.tgz#a7293c384ef6133191fe3590e604e3896fdecf4a"
|
|
1538
1538
|
integrity sha512-X8rZouLt06dxRkn+uYTwywWDS/NqZ783AyomGqgtWdUxF61EOJvu0ehtcYeutx9Ng08uuZ+s6wNvWiDsdhUcPg==
|
|
@@ -1582,52 +1582,32 @@
|
|
|
1582
1582
|
terminal-link "^3.0.0"
|
|
1583
1583
|
|
|
1584
1584
|
"@salesforce/sf-plugins-core@^12.2.0":
|
|
1585
|
-
version "12.2.
|
|
1586
|
-
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.
|
|
1587
|
-
integrity sha512-
|
|
1585
|
+
version "12.2.1"
|
|
1586
|
+
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.1.tgz#1048a5d1245f07f0e864f0f76e8818fd21a84fe6"
|
|
1587
|
+
integrity sha512-b3eRSzGO0weBLL1clHaJNgNP1aKkD1Qy2DQEc0ieteEm+fh1FfPA0QpJ9rh/hdmkJRip2x2R2zz9tflJ0wflbg==
|
|
1588
1588
|
dependencies:
|
|
1589
1589
|
"@inquirer/confirm" "^3.1.22"
|
|
1590
1590
|
"@inquirer/password" "^2.2.0"
|
|
1591
|
-
"@oclif/core" "^4.2.
|
|
1591
|
+
"@oclif/core" "^4.2.10"
|
|
1592
1592
|
"@oclif/table" "^0.4.6"
|
|
1593
|
-
"@salesforce/core" "^8.5
|
|
1593
|
+
"@salesforce/core" "^8.8.5"
|
|
1594
1594
|
"@salesforce/kit" "^3.2.3"
|
|
1595
1595
|
"@salesforce/ts-types" "^2.0.12"
|
|
1596
1596
|
ansis "^3.3.2"
|
|
1597
1597
|
cli-progress "^3.12.0"
|
|
1598
1598
|
terminal-link "^3.0.0"
|
|
1599
1599
|
|
|
1600
|
-
"@salesforce/source-deploy-retrieve@^12.
|
|
1601
|
-
version "12.
|
|
1602
|
-
resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.
|
|
1603
|
-
integrity sha512-
|
|
1604
|
-
dependencies:
|
|
1605
|
-
"@salesforce/core" "^8.8.2"
|
|
1606
|
-
"@salesforce/kit" "^3.2.3"
|
|
1607
|
-
"@salesforce/ts-types" "^2.0.12"
|
|
1608
|
-
fast-levenshtein "^3.0.0"
|
|
1609
|
-
fast-xml-parser "^4.5.1"
|
|
1610
|
-
got "^11.8.6"
|
|
1611
|
-
graceful-fs "^4.2.11"
|
|
1612
|
-
ignore "^5.3.2"
|
|
1613
|
-
isbinaryfile "^5.0.2"
|
|
1614
|
-
jszip "^3.10.1"
|
|
1615
|
-
mime "2.6.0"
|
|
1616
|
-
minimatch "^9.0.5"
|
|
1617
|
-
proxy-agent "^6.4.0"
|
|
1618
|
-
yaml "^2.6.1"
|
|
1619
|
-
|
|
1620
|
-
"@salesforce/source-deploy-retrieve@^12.15.0":
|
|
1621
|
-
version "12.16.0"
|
|
1622
|
-
resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.16.0.tgz#6c0338a5cd83b87161414ae4a326669d81884f60"
|
|
1623
|
-
integrity sha512-vKBoefk1bHzs945e7PFhBJd21jLYJY2QrrNCwQpmHf6C3Lbu9+kzOnZVLPuDM4lGxXyhhQ89Nx3TtPCyndhmfg==
|
|
1600
|
+
"@salesforce/source-deploy-retrieve@^12.18.0", "@salesforce/source-deploy-retrieve@^12.18.2":
|
|
1601
|
+
version "12.18.4"
|
|
1602
|
+
resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.18.4.tgz#b16c1a3eeb9e40877b3109373555e95e02458894"
|
|
1603
|
+
integrity sha512-W13y72vCV98pROwvX0WmmIEmNivju4cMuK5jGzT5JHcX1qgy6i03VksT0R9CbyU3G4gbrB3Gay0rQLwdubNqOw==
|
|
1624
1604
|
dependencies:
|
|
1625
|
-
"@salesforce/core" "^8.8.
|
|
1605
|
+
"@salesforce/core" "^8.8.7"
|
|
1626
1606
|
"@salesforce/kit" "^3.2.3"
|
|
1627
1607
|
"@salesforce/ts-types" "^2.0.12"
|
|
1628
1608
|
"@salesforce/types" "^1.3.0"
|
|
1629
1609
|
fast-levenshtein "^3.0.0"
|
|
1630
|
-
fast-xml-parser "^4.5.
|
|
1610
|
+
fast-xml-parser "^4.5.3"
|
|
1631
1611
|
got "^11.8.6"
|
|
1632
1612
|
graceful-fs "^4.2.11"
|
|
1633
1613
|
ignore "^5.3.2"
|
|
@@ -1636,7 +1616,7 @@
|
|
|
1636
1616
|
mime "2.6.0"
|
|
1637
1617
|
minimatch "^9.0.5"
|
|
1638
1618
|
proxy-agent "^6.4.0"
|
|
1639
|
-
yaml "^2.
|
|
1619
|
+
yaml "^2.7.1"
|
|
1640
1620
|
|
|
1641
1621
|
"@salesforce/ts-types@^2.0.10", "@salesforce/ts-types@^2.0.11", "@salesforce/ts-types@^2.0.12":
|
|
1642
1622
|
version "2.0.12"
|
|
@@ -2744,10 +2724,10 @@ ansi-styles@^6.0.0, ansi-styles@^6.1.0, ansi-styles@^6.2.1:
|
|
|
2744
2724
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5"
|
|
2745
2725
|
integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==
|
|
2746
2726
|
|
|
2747
|
-
ansis@^3.10.0, ansis@^3.14.0, ansis@^3.3.2:
|
|
2748
|
-
version "3.
|
|
2749
|
-
resolved "https://registry.yarnpkg.com/ansis/-/ansis-3.
|
|
2750
|
-
integrity sha512-
|
|
2727
|
+
ansis@^3.10.0, ansis@^3.14.0, ansis@^3.17.0, ansis@^3.3.2:
|
|
2728
|
+
version "3.17.0"
|
|
2729
|
+
resolved "https://registry.yarnpkg.com/ansis/-/ansis-3.17.0.tgz#fa8d9c2a93fe7d1177e0c17f9eeb562a58a832d7"
|
|
2730
|
+
integrity sha512-0qWUglt9JEqLFr3w1I1pbrChn1grhaiAR2ocX1PP/flRmxgtwTzPFFFnfIlD6aMOLQZgSuCRlidD70lvx8yhzg==
|
|
2751
2731
|
|
|
2752
2732
|
anymatch@~3.1.2:
|
|
2753
2733
|
version "3.1.3"
|
|
@@ -7935,7 +7915,16 @@ stack-utils@^2.0.6:
|
|
|
7935
7915
|
dependencies:
|
|
7936
7916
|
escape-string-regexp "^2.0.0"
|
|
7937
7917
|
|
|
7938
|
-
"string-width-cjs@npm:string-width@^4.2.0"
|
|
7918
|
+
"string-width-cjs@npm:string-width@^4.2.0":
|
|
7919
|
+
version "4.2.3"
|
|
7920
|
+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
|
7921
|
+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
|
7922
|
+
dependencies:
|
|
7923
|
+
emoji-regex "^8.0.0"
|
|
7924
|
+
is-fullwidth-code-point "^3.0.0"
|
|
7925
|
+
strip-ansi "^6.0.1"
|
|
7926
|
+
|
|
7927
|
+
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
|
|
7939
7928
|
version "4.2.3"
|
|
7940
7929
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
|
7941
7930
|
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
|
@@ -8043,7 +8032,14 @@ stringify-entities@^4.0.0:
|
|
|
8043
8032
|
character-entities-html4 "^2.0.0"
|
|
8044
8033
|
character-entities-legacy "^3.0.0"
|
|
8045
8034
|
|
|
8046
|
-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1"
|
|
8035
|
+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
|
|
8036
|
+
version "6.0.1"
|
|
8037
|
+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
|
8038
|
+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
|
8039
|
+
dependencies:
|
|
8040
|
+
ansi-regex "^5.0.1"
|
|
8041
|
+
|
|
8042
|
+
strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
|
8047
8043
|
version "6.0.1"
|
|
8048
8044
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
|
8049
8045
|
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
|
@@ -8714,7 +8710,7 @@ workerpool@^6.5.1:
|
|
|
8714
8710
|
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544"
|
|
8715
8711
|
integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==
|
|
8716
8712
|
|
|
8717
|
-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"
|
|
8713
|
+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
|
|
8718
8714
|
version "7.0.0"
|
|
8719
8715
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
|
8720
8716
|
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
|
@@ -8732,6 +8728,15 @@ wrap-ansi@^6.2.0:
|
|
|
8732
8728
|
string-width "^4.1.0"
|
|
8733
8729
|
strip-ansi "^6.0.0"
|
|
8734
8730
|
|
|
8731
|
+
wrap-ansi@^7.0.0:
|
|
8732
|
+
version "7.0.0"
|
|
8733
|
+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
|
8734
|
+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
|
8735
|
+
dependencies:
|
|
8736
|
+
ansi-styles "^4.0.0"
|
|
8737
|
+
string-width "^4.1.0"
|
|
8738
|
+
strip-ansi "^6.0.0"
|
|
8739
|
+
|
|
8735
8740
|
wrap-ansi@^8.1.0:
|
|
8736
8741
|
version "8.1.0"
|
|
8737
8742
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
|
|
@@ -8808,10 +8813,10 @@ yallist@^4.0.0:
|
|
|
8808
8813
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
|
8809
8814
|
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
|
|
8810
8815
|
|
|
8811
|
-
yaml@^2.5.1, yaml@^2.
|
|
8812
|
-
version "2.7.
|
|
8813
|
-
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.7.
|
|
8814
|
-
integrity sha512
|
|
8816
|
+
yaml@^2.5.1, yaml@^2.7.0, yaml@^2.7.1:
|
|
8817
|
+
version "2.7.1"
|
|
8818
|
+
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.7.1.tgz#44a247d1b88523855679ac7fa7cda6ed7e135cf6"
|
|
8819
|
+
integrity sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==
|
|
8815
8820
|
|
|
8816
8821
|
yargs-parser@^18.1.2:
|
|
8817
8822
|
version "18.1.3"
|
package/oclif.manifest.json
CHANGED
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
"agent:preview": {
|
|
106
106
|
"aliases": [],
|
|
107
107
|
"args": {},
|
|
108
|
-
"description": "Use this command to have a natural language conversation with an active agent in your org, as if you were an actual user. The interface is simple: in the \"Start typing...\" prompt, enter a statement, question, or command; when you're done, enter Return. Your utterance is posted on the right along with a timestamp. The agent then responds on the left. To exit the conversation, hit ESC or Control+C.\n\nThis command is useful to test if the agent responds to your utterances as you expect. For example, you can test that the agent uses a particular topic when asked a question, and then whether it invokes the correct action associated with that topic. This command is the CLI-equivalent of the Conversation Preview panel in your org's Agent Builder UI.\n\nWhen the session concludes, the command asks if you want to save the API responses and chat transcripts. By default, the files are saved to the \"./temp/agent-preview\" directory. Specify a new default directory by setting the environment variable \"SF_AGENT_PREVIEW_OUTPUT_DIR\" to the directory. Or you can pass the directory to the --output-dir flag.\n\nFind the agent's API name in its main details page in your org's Agent page in Setup.\n\nBefore you use this command, you must complete these steps:\n\n1. Create a connected app in your org as described in the \"Create a Connected App\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do these
|
|
108
|
+
"description": "Use this command to have a natural language conversation with an active agent in your org, as if you were an actual user. The interface is simple: in the \"Start typing...\" prompt, enter a statement, question, or command; when you're done, enter Return. Your utterance is posted on the right along with a timestamp. The agent then responds on the left. To exit the conversation, hit ESC or Control+C.\n\nThis command is useful to test if the agent responds to your utterances as you expect. For example, you can test that the agent uses a particular topic when asked a question, and then whether it invokes the correct action associated with that topic. This command is the CLI-equivalent of the Conversation Preview panel in your org's Agent Builder UI.\n\nWhen the session concludes, the command asks if you want to save the API responses and chat transcripts. By default, the files are saved to the \"./temp/agent-preview\" directory. Specify a new default directory by setting the environment variable \"SF_AGENT_PREVIEW_OUTPUT_DIR\" to the directory. Or you can pass the directory to the --output-dir flag.\n\nFind the agent's API name in its main details page in your org's Agent page in Setup.\n\nBefore you use this command, you must complete these steps:\n-----------------------------------------------------------\n\n1. Create a connected app in your org as described in the \"Create a Connected App\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do these four additional steps:\n\n a. When specifying the connected app's Callback URL, add this second callback URL on a new line: \"http://localhost:1717/OauthRedirect\".\n\n b. When adding the scopes to the connected app, add \"Manage user data via Web browsers (web)\".\n\n c. Ensure that the \"Require Secret for Web Server Flow\" option is not selected.\n\n d. Make note of the user that you specified as the \"Run As\" user when updating the Client Credentials Flow section.\n\n2. Add the connected app to your agent as described in the \"Add Connected App to Agent\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#add-connected-app-to-agent.\n\n3. Copy the consumer key from your connected app as described in the \"Obtain Credentials\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#obtain-credentials.\n\n4. Set the \"SFDX_AUTH_SCOPES\" environment variable to \"refresh_token sfap_api chatbot_api web api\". This step ensures that you get the specific OAuth scopes required by this command.\n\n5. Using the username of the user you specified as the \"Run As\" user above, authorize your org using the web server flow, as described in this document: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_web_flow.htm.\n\n IMPORTANT: You must use the \"--client-id <CONNECTED-APP-CONSUMER-KEY>\" flag of \"org login web\", where CONNECTED-APP-CONSUMER-KEY is the consumer key you previously copied. This step ensures that the \"org login web\" command uses your custom connected app, and not the default CLI connected app.\n\n Press Enter to skip sharing the client secret.\n\n6. When you run this command to interact with an agent, specify the username you authorized in the preceding step with the --connected-app-user (-a) flag.",
|
|
109
109
|
"examples": [
|
|
110
|
-
"Interact with an agent with API name \"Resort_Manager\" in the org with alias \"my-org\". Connect to your agent using the alias \"my-
|
|
111
|
-
"Same as the preceding example, but this time save the conversation transcripts to the \"./transcripts/my-preview\" directory rather than the default \"./temp/agent-preview\":\n<%= config.bin %> <%= command.id %> --api-name \"Resort_Manager\" --target-org my-org --connected-app-user my-
|
|
110
|
+
"Interact with an agent with API name \"Resort_Manager\" in the org with alias \"my-org\". Connect to your agent using the alias \"my-agent-user\"; this alias must point to the username who is authorized using the Web server flow:\n<%= config.bin %> <%= command.id %> --api-name \"Resort_Manager\" --target-org my-org --connected-app-user my-agent-user",
|
|
111
|
+
"Same as the preceding example, but this time save the conversation transcripts to the \"./transcripts/my-preview\" directory rather than the default \"./temp/agent-preview\":\n<%= config.bin %> <%= command.id %> --api-name \"Resort_Manager\" --target-org my-org --connected-app-user my-agent-user --output-dir \"transcripts/my-preview\""
|
|
112
112
|
],
|
|
113
113
|
"flags": {
|
|
114
114
|
"flags-dir": {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"name": "connected-app-user",
|
|
142
142
|
"noCacheDefault": true,
|
|
143
143
|
"required": true,
|
|
144
|
-
"summary": "Username or alias of the connected app user that's configured with
|
|
144
|
+
"summary": "Username or alias of the connected app user that's configured with web-based access tokens to the agent.",
|
|
145
145
|
"hasDynamicHelp": true,
|
|
146
146
|
"multiple": false,
|
|
147
147
|
"type": "option"
|
|
@@ -1112,5 +1112,5 @@
|
|
|
1112
1112
|
]
|
|
1113
1113
|
}
|
|
1114
1114
|
},
|
|
1115
|
-
"version": "1.20.
|
|
1115
|
+
"version": "1.20.9"
|
|
1116
1116
|
}
|
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.20.
|
|
4
|
+
"version": "1.20.9",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -9,11 +9,11 @@
|
|
|
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.
|
|
13
|
-
"@salesforce/core": "^8.8.
|
|
14
|
-
"@salesforce/kit": "^3.2.
|
|
12
|
+
"@salesforce/agents": "0.14.0",
|
|
13
|
+
"@salesforce/core": "^8.8.6",
|
|
14
|
+
"@salesforce/kit": "^3.2.3",
|
|
15
15
|
"@salesforce/sf-plugins-core": "^12.2.0",
|
|
16
|
-
"@salesforce/source-deploy-retrieve": "^12.
|
|
16
|
+
"@salesforce/source-deploy-retrieve": "^12.18.0",
|
|
17
17
|
"@salesforce/types": "^1.3.0",
|
|
18
18
|
"ansis": "^3.3.2",
|
|
19
19
|
"fast-xml-parser": "^4.5.1",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"exports": "./lib/index.js",
|
|
230
230
|
"type": "module",
|
|
231
231
|
"sfdx": {
|
|
232
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.20.
|
|
233
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.20.
|
|
232
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.20.9.crt",
|
|
233
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.20.9.sig"
|
|
234
234
|
}
|
|
235
235
|
}
|