@salesforce/templates 66.5.2 → 66.5.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.
@@ -100,12 +100,8 @@
100
100
  <name>region3</name>
101
101
  <type>Region</type>
102
102
  </flexiPageRegions>
103
- <description>
104
- <%= description %>
105
- </description>
106
- <masterLabel>
107
- <%= masterlabel %>
108
- </masterLabel>
103
+ <description><%= description %></description>
104
+ <masterLabel><%= masterlabel %></masterLabel>
109
105
  <template>
110
106
  <name>flexipage:appHomeTemplateHeaderTwoColumnsLeftSidebar</name>
111
107
  </template>
@@ -79,12 +79,8 @@
79
79
  <name>sidebar</name>
80
80
  <type>Region</type>
81
81
  </flexiPageRegions>
82
- <description>
83
- <%= description %>
84
- </description>
85
- <masterLabel>
86
- <%= masterlabel %>
87
- </masterLabel>
82
+ <description><%= description %></description>
83
+ <masterLabel><%= masterlabel %></masterLabel>
88
84
  <template>
89
85
  <name>home:desktopTemplate</name>
90
86
  </template>
@@ -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.2",
3
+ "version": "66.5.4",
4
4
  "description": "Salesforce JS library for templates",
5
5
  "bugs": "https://github.com/forcedotcom/salesforcedx-templates/issues",
6
6
  "main": "lib/index.js",