@salesforce/templates 66.5.3 → 66.5.5
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.
|
@@ -54,6 +54,16 @@ You can preview how the agent works right in VS Code using the Agentforce DX pan
|
|
|
54
54
|
|
|
55
55
|
To preview in simulated mode, right-click the `Local_Info_Agent.agent` file and choose **AFDX: Preview This Agent**. In the Agentforce DX panel that opens, click **Start Simulation**. Then enter a question in the chat box at the bottom, such as `What's the weather like?`. The agent simulates an answer.
|
|
56
56
|
|
|
57
|
+
## Agentforce-Ready Scratch Orgs
|
|
58
|
+
|
|
59
|
+
This template includes a scratch org configuration file (`config/project-scratch-def.json`) that contains the required settings and features for creating an Agentforce-ready scratch org.
|
|
60
|
+
|
|
61
|
+
Here's an example of creating a scratch org using the file; it assumes you've already authorized the Dev Hub org with alias `DevHub`:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
sf org create scratch --definition-file config/project-scratch-def.json --alias AgentScratchOrg --set-default --target-dev-hub DevHub
|
|
65
|
+
```
|
|
66
|
+
|
|
57
67
|
## What's Inside This DX Project?
|
|
58
68
|
|
|
59
69
|
These are the interesting metadata components associated with the Local Info Agent. All the component source files are in the `force-app/main/default` package directory under their associated metadata directory, such as `classes` for Apex classes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/templates",
|
|
3
|
-
"version": "66.5.
|
|
3
|
+
"version": "66.5.5",
|
|
4
4
|
"description": "Salesforce JS library for templates",
|
|
5
5
|
"bugs": "https://github.com/forcedotcom/salesforcedx-templates/issues",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"hpagent": "^1.2.0",
|
|
19
19
|
"mime-types": "^3.0.2",
|
|
20
20
|
"proxy-from-env": "^1.1.0",
|
|
21
|
-
"tar": "^7.5.
|
|
21
|
+
"tar": "^7.5.12",
|
|
22
22
|
"tslib": "^2.8.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@salesforce/webapp-template-app-react-template-b2e-experimental": "^1.101.3",
|
|
28
28
|
"@salesforce/webapp-template-app-react-template-b2x-experimental": "^1.101.3",
|
|
29
29
|
"@salesforce/webapp-template-base-react-app-experimental": "^1.101.3",
|
|
30
|
-
"@salesforce/webapp-template-base-web-app-experimental": "^1.
|
|
30
|
+
"@salesforce/webapp-template-base-web-app-experimental": "^1.112.5",
|
|
31
31
|
"@salesforce/prettier-config": "^0.0.4",
|
|
32
32
|
"@types/chai-as-promised": "^7.1.8",
|
|
33
33
|
"@types/ejs": "^3.1.5",
|