@salesforce/source-deploy-retrieve 12.19.0 → 12.19.1
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.
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.resolveAgentMdEntries = resolveAgentMdEntries;
|
|
10
10
|
const node_fs_1 = require("node:fs");
|
|
11
|
+
const node_path_1 = require("node:path");
|
|
11
12
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
12
13
|
const core_1 = require("@salesforce/core");
|
|
13
14
|
const kit_1 = require("@salesforce/kit");
|
|
@@ -38,6 +39,8 @@ const getLogger = () => {
|
|
|
38
39
|
*/
|
|
39
40
|
async function resolveAgentMdEntries(agentMdInfo) {
|
|
40
41
|
const { botName, connection, directoryPaths } = agentMdInfo;
|
|
42
|
+
const v63topLevelMd = ['Bot', 'GenAiPlanner', 'GenAiPlugin', 'GenAiFunction'];
|
|
43
|
+
const v64topLevelMd = ['Bot', 'GenAiPlannerBundle', 'GenAiPlugin', 'GenAiFunction'];
|
|
41
44
|
let debugMsg = `Resolving agent metadata with botName: ${botName}`;
|
|
42
45
|
if (connection) {
|
|
43
46
|
debugMsg += ` and org connection ${connection.getUsername()}`;
|
|
@@ -48,7 +51,10 @@ async function resolveAgentMdEntries(agentMdInfo) {
|
|
|
48
51
|
getLogger().debug(debugMsg);
|
|
49
52
|
if (botName === '*') {
|
|
50
53
|
// Get all Agent top level metadata
|
|
51
|
-
|
|
54
|
+
if (connection && Number(connection.getApiVersion()) > 63.0) {
|
|
55
|
+
return Promise.resolve(v64topLevelMd);
|
|
56
|
+
}
|
|
57
|
+
return Promise.resolve(v63topLevelMd);
|
|
52
58
|
}
|
|
53
59
|
if (connection) {
|
|
54
60
|
return resolveAgentFromConnection(connection, botName);
|
|
@@ -73,7 +79,8 @@ const resolveAgentFromConnection = async (connection, botName) => {
|
|
|
73
79
|
const genAiPlannerIdQuery = `SELECT Id FROM GenAiPlannerDefinition WHERE DeveloperName = '${botName}'`;
|
|
74
80
|
const plannerId = (await connection.singleRecordQuery(genAiPlannerIdQuery, { tooling: true })).Id;
|
|
75
81
|
if (plannerId) {
|
|
76
|
-
|
|
82
|
+
const plannerType = Number(connection.getApiVersion()) > 63.0 ? 'GenAiPlannerBundle' : 'GenAiPlanner';
|
|
83
|
+
mdEntries.push(`${plannerType}:${botName}`);
|
|
77
84
|
const plannerId15 = (0, core_1.trimTo15)(plannerId);
|
|
78
85
|
// Query for the GenAiPlugins associated with the 15 char GenAiPlannerId
|
|
79
86
|
const genAiPluginNames = (await connection.tooling.query(`SELECT DeveloperName FROM GenAiPluginDefinition WHERE DeveloperName LIKE 'p_${plannerId15}%'`)).records;
|
|
@@ -81,10 +88,10 @@ const resolveAgentFromConnection = async (connection, botName) => {
|
|
|
81
88
|
genAiPluginNames.map((r) => mdEntries.push(`GenAiPlugin:${r.DeveloperName}`));
|
|
82
89
|
}
|
|
83
90
|
else {
|
|
84
|
-
getLogger().debug(`No GenAiPlugin metadata matches for plannerId: ${plannerId15}. Reading the
|
|
91
|
+
getLogger().debug(`No GenAiPlugin metadata matches for plannerId: ${plannerId15}. Reading the ${plannerType} metadata for plugins...`);
|
|
85
92
|
// read the planner metadata from the org
|
|
86
93
|
// @ts-expect-error jsForce types don't know about GenAiPlanner yet
|
|
87
|
-
const genAiPlannerMd = await connection.metadata.read(
|
|
94
|
+
const genAiPlannerMd = await connection.metadata.read(plannerType, botName);
|
|
88
95
|
const genAiPlannerMdArr = (0, kit_1.ensureArray)(genAiPlannerMd);
|
|
89
96
|
if (genAiPlannerMdArr?.length && genAiPlannerMdArr[0]?.genAiPlugins.length) {
|
|
90
97
|
genAiPlannerMdArr[0].genAiPlugins.map((plugin) => {
|
|
@@ -127,19 +134,20 @@ const resolveAgentFromLocalMetadata = (botName, directoryPaths, registry) => {
|
|
|
127
134
|
}
|
|
128
135
|
const parser = new fast_xml_parser_1.XMLParser({ ignoreAttributes: false });
|
|
129
136
|
const botFiles = botCompSet.getComponentFilenamesByNameAndType({ type: 'Bot', fullName: botName });
|
|
130
|
-
|
|
137
|
+
let plannerType = registry.getTypeByName('GenAiPlannerBundle');
|
|
138
|
+
let plannerTypeName = 'GenAiPlannerBundle';
|
|
131
139
|
let plannerCompSet = componentSet_1.ComponentSet.fromSource({
|
|
132
140
|
fsPaths: directoryPaths,
|
|
133
141
|
include: new componentSet_1.ComponentSet([{ type: plannerType, fullName: botName }], registry),
|
|
134
142
|
registry,
|
|
135
143
|
});
|
|
136
|
-
// If the plannerCompSet is empty it might be due to the
|
|
144
|
+
// If the plannerCompSet is empty it might be due to the GenAiPlannerBundle having a
|
|
137
145
|
// different name than the Bot. We need to search the BotVersion for the
|
|
138
146
|
// planner API name.
|
|
139
147
|
if (plannerCompSet.size < 1) {
|
|
140
148
|
const botVersionFile = botFiles.find((botFile) => botFile.endsWith('.botVersion-meta.xml'));
|
|
141
149
|
if (botVersionFile) {
|
|
142
|
-
getLogger().debug(`Reading and parsing ${botVersionFile} to find all GenAiPlanner references`);
|
|
150
|
+
getLogger().debug(`Reading and parsing ${botVersionFile} to find all GenAiPlanner/GenAiPlannerBundle references`);
|
|
143
151
|
const botVersionJson = xmlToJson(botVersionFile, parser);
|
|
144
152
|
// Per the schema, there can be multiple GenAiPlanners linked to a BotVersion
|
|
145
153
|
// but I'm not sure how that would work so for now just using the first one.
|
|
@@ -151,11 +159,21 @@ const resolveAgentFromLocalMetadata = (botName, directoryPaths, registry) => {
|
|
|
151
159
|
include: new componentSet_1.ComponentSet([{ type: plannerType, fullName: genAiPlannerName }], registry),
|
|
152
160
|
registry,
|
|
153
161
|
});
|
|
162
|
+
// If the plannerCompSet is empty look for a GenAiPlanner
|
|
154
163
|
if (plannerCompSet.size < 1) {
|
|
155
|
-
|
|
164
|
+
plannerTypeName = 'GenAiPlanner';
|
|
165
|
+
plannerType = registry.getTypeByName('GenAiPlanner');
|
|
166
|
+
plannerCompSet = componentSet_1.ComponentSet.fromSource({
|
|
167
|
+
fsPaths: directoryPaths,
|
|
168
|
+
include: new componentSet_1.ComponentSet([{ type: plannerType, fullName: genAiPlannerName }], registry),
|
|
169
|
+
registry,
|
|
170
|
+
});
|
|
171
|
+
if (plannerCompSet.size < 1) {
|
|
172
|
+
getLogger().debug(`Cannot find GenAiPlanner or GenAiPlannerBundle with name: ${genAiPlannerName}`);
|
|
173
|
+
}
|
|
156
174
|
}
|
|
157
|
-
getLogger().debug(`Adding
|
|
158
|
-
mdEntries.add(
|
|
175
|
+
getLogger().debug(`Adding ${plannerTypeName}:${genAiPlannerName}`);
|
|
176
|
+
mdEntries.add(`${plannerTypeName}:${genAiPlannerName}`);
|
|
159
177
|
}
|
|
160
178
|
else {
|
|
161
179
|
getLogger().debug(`Cannot find GenAiPlannerName in BotVersion file: ${botVersionFile}`);
|
|
@@ -163,24 +181,40 @@ const resolveAgentFromLocalMetadata = (botName, directoryPaths, registry) => {
|
|
|
163
181
|
}
|
|
164
182
|
}
|
|
165
183
|
else {
|
|
166
|
-
getLogger().debug(`Adding
|
|
167
|
-
mdEntries.add(
|
|
184
|
+
getLogger().debug(`Adding ${plannerTypeName}:${botName}`);
|
|
185
|
+
mdEntries.add(`${plannerTypeName}:${botName}`);
|
|
168
186
|
}
|
|
169
|
-
// Read the GenAiPlanner file for GenAiPlugins
|
|
170
|
-
const plannerComp = plannerCompSet.
|
|
171
|
-
if (plannerComp
|
|
172
|
-
|
|
187
|
+
// Read the GenAiPlanner or GenAiPlannerBundle file for GenAiPlugins
|
|
188
|
+
const plannerComp = plannerCompSet.getSourceComponents().first();
|
|
189
|
+
if (plannerComp) {
|
|
190
|
+
let plannerFilePath;
|
|
191
|
+
if (plannerTypeName === 'GenAiPlannerBundle' && plannerComp.content) {
|
|
192
|
+
const plannerFileName = plannerComp.tree
|
|
193
|
+
.readDirectory(plannerComp.content)
|
|
194
|
+
.find((p) => p.endsWith('.genAiPlannerBundle'));
|
|
195
|
+
if (plannerFileName) {
|
|
196
|
+
plannerFilePath = (0, node_path_1.join)(plannerComp.content, plannerFileName);
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
getLogger().debug(`Cannot find GenAiPlannerBundle file in ${plannerComp.content}`);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
plannerFilePath = plannerComp.xml;
|
|
204
|
+
}
|
|
173
205
|
// Certain internal plugins and functions cannot be retrieved/deployed so don't include them.
|
|
174
|
-
const
|
|
175
|
-
if (
|
|
176
|
-
getLogger().debug(`Reading and parsing ${
|
|
177
|
-
const plannerJson = xmlToJson(
|
|
206
|
+
const internalPrefixes = ['EmployeeCopilot__', 'SvcCopilotTmpl__'];
|
|
207
|
+
if (plannerFilePath) {
|
|
208
|
+
getLogger().debug(`Reading and parsing ${plannerFilePath} to find all GenAiPlugin references`);
|
|
209
|
+
const plannerJson = xmlToJson(plannerFilePath, parser);
|
|
178
210
|
// Add plugins defined in the planner
|
|
179
|
-
|
|
211
|
+
// @ts-expect-error temporary until GenAiPlannerBundle metadata type is defined
|
|
212
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
213
|
+
const genAiPlugins = (0, kit_1.ensureArray)(plannerJson[plannerTypeName].genAiPlugins);
|
|
180
214
|
const pluginType = registry.getTypeByName('GenAiPlugin');
|
|
181
215
|
const genAiPluginComps = [];
|
|
182
216
|
genAiPlugins?.map((plugin) => {
|
|
183
|
-
if (plugin.genAiPluginName && !plugin.genAiPluginName
|
|
217
|
+
if (plugin.genAiPluginName && !internalPrefixes.some((prefix) => plugin.genAiPluginName?.startsWith(prefix))) {
|
|
184
218
|
genAiPluginComps.push({ type: pluginType, fullName: plugin.genAiPluginName });
|
|
185
219
|
getLogger().debug(`Adding GenAiPlugin:${plugin.genAiPluginName}`);
|
|
186
220
|
mdEntries.add(`GenAiPlugin:${plugin.genAiPluginName}`);
|
|
@@ -201,7 +235,7 @@ const resolveAgentFromLocalMetadata = (botName, directoryPaths, registry) => {
|
|
|
201
235
|
const genAiPlugin = xmlToJson(comp.xml, parser);
|
|
202
236
|
const genAiFunctions = (0, kit_1.ensureArray)(genAiPlugin.GenAiPlugin.genAiFunctions);
|
|
203
237
|
genAiFunctions.map((func) => {
|
|
204
|
-
if (func.functionName && !func.functionName.startsWith(
|
|
238
|
+
if (func.functionName && !internalPrefixes.some((prefix) => func.functionName.startsWith(prefix))) {
|
|
205
239
|
getLogger().debug(`Adding GenAiFunction:${func.functionName}`);
|
|
206
240
|
mdEntries.add(`GenAiFunction:${func.functionName}`);
|
|
207
241
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentResolver.js","sourceRoot":"","sources":["../../../../src/resolve/pseudoTypes/agentResolver.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAmDH,
|
|
1
|
+
{"version":3,"file":"agentResolver.js","sourceRoot":"","sources":["../../../../src/resolve/pseudoTypes/agentResolver.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAmDH,sDAsCC;AAvFD,qCAAuC;AACvC,yCAAiC;AACjC,qDAA4C;AAC5C,2CAAyE;AAEzE,yCAA8C;AAC9C,6CAAgD;AAChD,iEAA8D;AAkB9D,IAAI,MAAc,CAAC;AACnB,MAAM,SAAS,GAAG,GAAW,EAAE;IAC7B,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,GAAG,aAAM,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;IACzD,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,qBAAqB,CAAC,WAK3C;IACC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,GAAG,WAAW,CAAC;IAC5D,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,CAAC,CAAC;IAC9E,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,oBAAoB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