sfdx-hardis 6.17.0 → 6.17.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.
@@ -3,6 +3,8 @@ import { Flags, requiredOrgFlagWithDeprecations, SfCommand } from "@salesforce/s
3
3
  import { dataCloudSqlQuery } from "../../../../common/utils/dataCloudUtils.js";
4
4
  import { uxLog } from "../../../../common/utils/index.js";
5
5
  import { generateCsvFile, generateReportPath } from "../../../../common/utils/filesUtils.js";
6
+ import { NotifProvider } from "../../../../common/notifProvider/index.js";
7
+ import { setConnectionVariables } from "../../../../common/utils/orgUtils.js";
6
8
  import c from "chalk";
7
9
  import { buildConversation, buildConversationUrl, buildDateFilterClause, buildExcludedSessionFilter, extractSessionIds, extractSpeakerSegment, fetchConversationTranscripts, normalizeKeys, pickFirstMeaningfulValue, resolveConversationLinkDomain, resolveDateFilterOptions, resolveExcludedConversationIds, sanitizePlaceholderValue, stringValue, } from "../../../../common/utils/agentforceQueryUtils.js";
8
10
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
@@ -121,6 +123,28 @@ The command's technical implementation involves:
121
123
  'ConversationUrl': { width: 80, hyperlinkFromValue: true },
122
124
  },
123
125
  });
126
+ const conversationStats = computeConversationStats(exportRecords);
127
+ const notifText = buildConversationNotificationText(conversationStats, dateFilterOptions);
128
+ const attachedFiles = collectConversationReportFiles(this.outputFilesRes);
129
+ uxLog("action", this, c.cyan(notifText));
130
+ await setConnectionVariables(conn);
131
+ await NotifProvider.postNotifications({
132
+ type: 'AGENTFORCE_CONVERSATIONS',
133
+ text: notifText,
134
+ buttons: [],
135
+ attachments: [],
136
+ severity: 'log',
137
+ attachedFiles,
138
+ logElements: [],
139
+ data: { metric: conversationStats.totalCount },
140
+ metrics: {
141
+ agentforceConversationCount: conversationStats.totalCount,
142
+ agentforceConversationFeedbackCount: conversationStats.withFeedback,
143
+ agentforceConversationFeedbackBad: conversationStats.feedbackBad,
144
+ agentforceConversationFeedbackGood: conversationStats.feedbackGood,
145
+ },
146
+ alwaysSend: true,
147
+ });
124
148
  return {
125
149
  result: JSON.parse(JSON.stringify(result)),
126
150
  csvLogFile: this.outputFile,
@@ -226,8 +250,7 @@ function buildConversationRecords(records, options) {
226
250
  transcriptsBySession: new Map(),
227
251
  timeFilterDays: DEFAULT_CONVERSATION_TIME_FILTER_DAYS,
228
252
  };
229
- const filteredRecords = [];
230
- const seenConversationIds = new Set();
253
+ const dedupMap = new Map();
231
254
  safeRecords.forEach((record) => {
232
255
  const normalized = normalizeKeys(record);
233
256
  const conversationDate = stringValue(normalized["conversationdate"] ?? normalized["timestamp__c"]);
@@ -257,11 +280,7 @@ function buildConversationRecords(records, options) {
257
280
  if (!conversationId || !conversationUrl) {
258
281
  return;
259
282
  }
260
- if (seenConversationIds.has(conversationId)) {
261
- return;
262
- }
263
- seenConversationIds.add(conversationId);
264
- filteredRecords.push({
283
+ const exportRecord = {
265
284
  "User": userName,
266
285
  "DateTime": conversationDate,
267
286
  "Conversation transcript": conversation,
@@ -269,9 +288,76 @@ function buildConversationRecords(records, options) {
269
288
  "Feedback message": feedbackMessage,
270
289
  "ConversationId": conversationId,
271
290
  "ConversationUrl": conversationUrl,
272
- });
291
+ };
292
+ const dedupKey = sessionId || conversationId || conversationUrl;
293
+ const existing = dedupMap.get(dedupKey);
294
+ if (!existing || isNewer(conversationDate, existing.conversationDate)) {
295
+ dedupMap.set(dedupKey, { record: exportRecord, conversationDate });
296
+ }
273
297
  });
274
- return filteredRecords;
298
+ return Array.from(dedupMap.values()).map((entry) => entry.record);
299
+ }
300
+ function isNewer(candidateDate, existingDate) {
301
+ if (!candidateDate) {
302
+ return false;
303
+ }
304
+ if (!existingDate) {
305
+ return true;
306
+ }
307
+ const candidateTime = Date.parse(candidateDate);
308
+ const existingTime = Date.parse(existingDate);
309
+ if (Number.isNaN(candidateTime)) {
310
+ return false;
311
+ }
312
+ if (Number.isNaN(existingTime)) {
313
+ return true;
314
+ }
315
+ return candidateTime >= existingTime;
316
+ }
317
+ function computeConversationStats(records) {
318
+ let withFeedback = 0;
319
+ let feedbackBad = 0;
320
+ let feedbackGood = 0;
321
+ records.forEach((record) => {
322
+ const feedback = (record["Feedback"] || "").trim().toUpperCase();
323
+ if (feedback) {
324
+ withFeedback += 1;
325
+ if (feedback === "BAD") {
326
+ feedbackBad += 1;
327
+ }
328
+ else if (feedback === "GOOD") {
329
+ feedbackGood += 1;
330
+ }
331
+ }
332
+ });
333
+ return {
334
+ totalCount: records.length,
335
+ withFeedback,
336
+ feedbackBad,
337
+ feedbackGood,
338
+ };
339
+ }
340
+ function buildConversationNotificationText(stats, filters) {
341
+ const lines = [
342
+ `Agentforce conversations exported: ${stats.totalCount} (with feedback: ${stats.withFeedback}, GOOD: ${stats.feedbackGood}, BAD: ${stats.feedbackBad}).`,
343
+ ];
344
+ if (filters.dateFrom && filters.dateTo) {
345
+ lines.push(`Window: ${filters.dateFrom} → ${filters.dateTo}`);
346
+ }
347
+ else if (filters.dateFrom) {
348
+ lines.push(`Window starting ${filters.dateFrom}`);
349
+ }
350
+ else if (filters.dateTo) {
351
+ lines.push(`Window until ${filters.dateTo}`);
352
+ }
353
+ return lines.join('\n');
354
+ }
355
+ function collectConversationReportFiles(outputFilesRes) {
356
+ const files = [];
357
+ if (outputFilesRes?.xlsxFile) {
358
+ files.push(outputFilesRes.xlsxFile);
359
+ }
360
+ return files;
275
361
  }
276
362
  function buildExcludedConversationFilter() {
277
363
  const excludedConversationIds = resolveExcludedConversationIds();
@@ -1 +1 @@
1
- {"version":3,"file":"agentforce-conversations.js","sourceRoot":"","sources":["../../../../../src/commands/hardis/datacloud/extract/agentforce-conversations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,+BAA+B,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAEhG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC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AAC,EAAE,CAAC;YAC5C,OAAO;QACT,CAAC;QACD,mBAAmB,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QAExC,eAAe,CAAC,IAAI,CAAC;YACnB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,gBAAgB;YAC5B,yBAAyB,EAAE,YAAY;YACvC,UAAU,EAAE,aAAa;YACzB,kBAAkB,EAAE,eAAe;YACnC,gBAAgB,EAAE,cAAc;YAChC,iBAAiB,EAAE,eAAe;SACnC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC;AACzB,CAAC;AAED,SAAS,+BAA+B;IACtC,MAAM,uBAAuB,GAAG,8BAA8B,EAAE,CAAC;IACjE,IAAI,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC;QACpC,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,OAAO,yCAAyC,uBAAuB,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;AAC/G,CAAC"}
1
+ {"version":3,"file":"agentforce-conversations.js","sourceRoot":"","sources":["../../../../../src/commands/hardis/datacloud/extract/agentforce-conversations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,+BAA+B,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAEhG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,CAAC,MAAM,OAAO,C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,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;AAC/G,CAAC"}
@@ -203,6 +203,7 @@ function buildAgentforceFeedbackRecords(records, options) {
203
203
  });
204
204
  return Array.from(dedupMap.values()).map((entry) => entry.record);
205
205
  }
206
+ /* jscpd:ignore-start */
206
207
  function isNewer(candidateDate, existingDate) {
207
208
  if (!candidateDate) {
208
209
  return false;
@@ -220,6 +221,7 @@ function isNewer(candidateDate, existingDate) {
220
221
  }
221
222
  return candidateTime >= existingTime;
222
223
  }
224
+ /* jscpd:ignore-end */
223
225
  function buildMainQuery(filters = {}) {
224
226
  const excludedConversationIds = resolveExcludedConversationIds();
225
227
  const excludedConversationFilter = excludedConversationIds.length
@@ -1 +1 @@
1
- {"version":3,"file":"agentforce-feedback.js","sourceRoot":"","sources":["../../../../../src/commands/hardis/datacloud/extract/agentforce-feedback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,+BAA+B,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAEhG,OAAO,CAAC,MAAM,OAAO,CAAC;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAEL,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,iBAAiB,EACjB,4BAA4B,EAC5B,aAAa,EACb,6BAA6B,EAC7B,wBAAwB,EACxB,8BAA8B,EAC9B,WAAW,GACZ,MAA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AAC,CAAC;IAC7D,IAAI,iBAAiB,EAAE,CAAC;QACtB,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,SAAS,yBAAyB,CAAC,OAA+B;IAChE,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;QACzC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;QACvC,OAAO,WAAW,OAAO,CAAC,QAAQ,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC;IAC3D,CAAC;IACD,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;QACrB,OAAO,mBAAmB,OAAO,CAAC,QAAQ,EAAE,CAAC;IAC/C,CAAC;IACD,OAAO,gBAAgB,OAAO,CAAC,MAAM,EAAE,CAAC;AAC1C,CAAC;AAED,SAAS,qBAAqB,CAAC,KAAa;IAC1C,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;AAC5C,CAAC;AAED,SAAS,0BAA0B,CAAC,cAAmB;IACrD,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,cAAc,EAAE,QAAQ,EAAE,CAAC;QAC7B,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;IACtC,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -9,7 +9,7 @@ export declare abstract class NotifProvider {
9
9
  export type NotifSeverity = "critical" | "error" | "warning" | "info" | "success" | "log";
10
10
  export interface NotifMessage {
11
11
  text: string;
12
- type: "ACTIVE_USERS" | "AUDIT_TRAIL" | "APEX_TESTS" | "BACKUP" | "DEPLOYMENT" | "LEGACY_API" | "LICENSES" | "LINT_ACCESS" | "UNUSED_METADATAS" | "METADATA_STATUS" | "MISSING_ATTRIBUTES" | "SERVICENOW_REPORT" | "UNUSED_LICENSES" | "UNUSED_USERS" | "UNUSED_APEX_CLASSES" | "CONNECTED_APPS" | "UNSECURED_CONNECTED_APPS" | "ORG_INFO" | "ORG_LIMITS" | "RELEASE_UPDATES" | "AGENTFORCE_FEEDBACK";
12
+ type: "ACTIVE_USERS" | "AUDIT_TRAIL" | "APEX_TESTS" | "BACKUP" | "DEPLOYMENT" | "LEGACY_API" | "LICENSES" | "LINT_ACCESS" | "UNUSED_METADATAS" | "METADATA_STATUS" | "MISSING_ATTRIBUTES" | "SERVICENOW_REPORT" | "UNUSED_LICENSES" | "UNUSED_USERS" | "UNUSED_APEX_CLASSES" | "CONNECTED_APPS" | "UNSECURED_CONNECTED_APPS" | "ORG_INFO" | "ORG_LIMITS" | "RELEASE_UPDATES" | "AGENTFORCE_CONVERSATIONS" | "AGENTFORCE_FEEDBACK";
13
13
  buttons?: NotifButton[];
14
14
  attachments?: any[];
15
15
  severity: NotifSeverity;
@@ -32,13 +32,13 @@ export class NotifProvider {
32
32
  static async postNotifications(notifMessage) {
33
33
  const config = await getConfig("user");
34
34
  const notificationsDisable = config.notificationsDisable ?? (process.env?.NOTIFICATIONS_DISABLE ? process.env.NOTIFICATIONS_DISABLE.split(",") : []);
35
- uxLog("error", this, c.grey(`[NotifProvider] Handling notification of type ${notifMessage.type}...`));
35
+ uxLog("log", this, c.grey(`[NotifProvider] Handling notification of type ${notifMessage.type}...`));
36
36
  const notifProviders = this.getInstances();
37
37
  if (notifProviders.length === 0 && isCI) {
38
38
  uxLog("log", this, c.grey(`[NotifProvider] No notif has been configured: ${CONSTANTS.DOC_URL_ROOT}/salesforce-ci-cd-setup-integrations-home/#message-notifications`));
39
39
  }
40
40
  for (const notifProvider of notifProviders) {
41
- uxLog("error", this, c.grey(`[NotifProvider] - Notif target found: ${notifProvider.getLabel()}`));
41
+ uxLog("log", this, c.grey(`[NotifProvider] - Notif target found: ${notifProvider.getLabel()}`));
42
42
  // Skip if matching NOTIFICATIONS_DISABLE except for Api
43
43
  if (notificationsDisable.includes(notifMessage.type) && notifProvider.isUserNotifProvider()) {
44
44
  uxLog("warning", this, c.yellow(`[NotifProvider] Skip notification of type ${notifMessage.type} according to configuration (NOTIFICATIONS_DISABLE env var or notificationsDisable .sfdx-hardis.yml property)`));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/notifProvider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,CAAC,MAAM,OAAO,CAAC;AAEtB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,OAAgB,aAAa;IACjC,MAAM,CAAC,YAAY;QACjB,MAAM,cAAc,GAAwB,EAAE,CAAC;QAC/C,QAAQ;QACR,IAAI,WAAW,CAAC,gBAAgB,EAAE,EAAE,CAAC;YACnC,cAAc,CAAC,IAAI,CAAC,IAAI,aAAa,EAAE,CAAC,CAAC;QAC3C,CAAC;QACD,WAAW;QACX,IAAI,WAAW,CAAC,kBAAkB,EAAE,EAAE,CAAC;YACrC,cAAc,CAAC,IAAI,CAAC,IAAI,aAAa,EAAE,CAAC,CAAC;QAC3C,CAAC;QACD,QAAQ;QACR,IAAI,WAAW,CAAC,gBAAgB,EAAE,EAAE,CAAC;YACnC,cAAc,CAAC,IAAI,CAAC,IAAI,aAAa,EAAE,CAAC,CAAC;QAC3C,CA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 -132,13 +132,12 @@
132
132
  "clear:cache:hardis"
133
133
  ]
134
134
  },
135
- "hardis:auth:login": {
135
+ "hardis:config:get": {
136
136
  "aliases": [],
137
137
  "args": {},
138
- "description": "\n## Command Behavior\n\n**Authenticates to a Salesforce org, primarily designed for CI/CD workflows.**\n\nThis command facilitates secure and automated logins to Salesforce organizations within continuous integration and continuous delivery pipelines. It leverages pre-configured authentication details, ensuring that CI/CD processes can interact with Salesforce without manual intervention.\n\nKey aspects:\n\n- **Configuration-Driven:** It relies on authentication variables and files set up by dedicated configuration commands:\n - For CI/CD repositories: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n - For Monitoring repositories: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n- **Technical Org Support:** Supports authentication to a 'technical org' (e.g., for calling Agentforce from another org) by utilizing the `SFDX_AUTH_URL_TECHNICAL_ORG` environment variable. If this variable is set, the command authenticates to this org with the alias `TECHNICAL_ORG`.\n\nTo obtain the `SFDX_AUTH_URL_TECHNICAL_ORG` value, you can run `sf org display --verbose --json` and copy the `sfdxAuthUrl` field from the output.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical flow involves:\n\n- **Flag Parsing:** It parses command-line flags such as `instanceurl`, `devhub`, `scratchorg`, and `debug` to determine the authentication context.\n- **Authentication Hook:** It triggers an internal authentication hook (`this.config.runHook('auth', ...`)) which is responsible for executing the actual authentication logic based on the provided flags (e.g., whether it's a Dev Hub or a scratch org).\n- **Environment Variable Check:** It checks for the presence of `SFDX_AUTH_URL_TECHNICAL_ORG` or `TECHNICAL_ORG_ALIAS` environment variables.\n- **`authOrg` Utility:** If a technical org is configured, it calls the `authOrg` utility function to perform the authentication for that specific org, ensuring it's connected and available for subsequent operations.\n- **Salesforce CLI Integration:** It integrates with the Salesforce CLI's authentication mechanisms to establish and manage org connections.\n</details>\n",
138
+ "description": "\n## Command Behavior\n\n**Retrieves and displays the sfdx-hardis configuration for a specified level.**\n\nThis command allows you to inspect the configuration that is currently in effect for your project, which is useful for debugging and understanding how sfdx-hardis will behave.\n\n- **Configuration levels:** It can retrieve configuration from three different levels:\n - **Project:** The configuration defined in the project's `.sfdx-hardis.yml` file.\n - **Branch:** The configuration defined in a branch-specific configuration file (e.g., `.sfdx-hardis.production.yml`).\n - **User:** The global user-level configuration.\n\n## Technical explanations\n\nThe command's logic is straightforward:\n\n- **`getConfig` function:** It calls the `getConfig` utility function, passing the desired configuration level as an argument.\n- **Configuration loading:** The `getConfig` function is responsible for finding the appropriate configuration file, reading its contents, and parsing it as YAML or JSON.\n- **Output:** The retrieved configuration is then displayed to the user as a JSON string.\n",
139
139
  "examples": [
140
- "$ sf hardis:auth:login",
141
- "CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
140
+ "$ sf hardis:project:deploy:sources:metadata"
142
141
  ],
143
142
  "flags": {
144
143
  "json": {
@@ -156,28 +155,20 @@
156
155
  "multiple": false,
157
156
  "type": "option"
158
157
  },
159
- "instanceurl": {
160
- "char": "r",
161
- "description": "URL of org instance",
162
- "name": "instanceurl",
158
+ "level": {
159
+ "char": "l",
160
+ "description": "project,branch or user",
161
+ "name": "level",
162
+ "default": "project",
163
163
  "hasDynamicHelp": false,
164
164
  "multiple": false,
165
+ "options": [
166
+ "project",
167
+ "branch",
168
+ "user"
169
+ ],
165
170
  "type": "option"
166
171
  },
167
- "devhub": {
168
- "char": "h",
169
- "description": "Also connect associated DevHub",
170
- "name": "devhub",
171
- "allowNo": false,
172
- "type": "boolean"
173
- },
174
- "scratchorg": {
175
- "char": "s",
176
- "description": "Scratch org",
177
- "name": "scratchorg",
178
- "allowNo": false,
179
- "type": "boolean"
180
- },
181
172
  "debug": {
182
173
  "char": "d",
183
174
  "description": "Activate debug mode (more logs)",
@@ -201,38 +192,39 @@
201
192
  },
202
193
  "hasDynamicHelp": false,
203
194
  "hiddenAliases": [],
204
- "id": "hardis:auth:login",
195
+ "id": "hardis:config:get",
205
196
  "pluginAlias": "sfdx-hardis",
206
197
  "pluginName": "sfdx-hardis",
207
198
  "pluginType": "core",
208
199
  "strict": true,
209
200
  "enableJsonFlag": true,
210
- "title": "Login",
201
+ "title": "Deploy metadata sources to org",
211
202
  "requiresProject": false,
212
203
  "isESM": true,
213
204
  "relativePath": [
214
205
  "lib",
215
206
  "commands",
216
207
  "hardis",
217
- "auth",
218
- "login.js"
208
+ "config",
209
+ "get.js"
219
210
  ],
220
211
  "aliasPermutations": [],
221
212
  "permutations": [
222
- "hardis:auth:login",
223
- "auth:hardis:login",
224
- "auth:login:hardis",
225
- "hardis:login:auth",
226
- "login:hardis:auth",
227
- "login:auth:hardis"
213
+ "hardis:config:get",
214
+ "config:hardis:get",
215
+ "config:get:hardis",
216
+ "hardis:get:config",
217
+ "get:hardis:config",
218
+ "get:config:hardis"
228
219
  ]
229
220
  },
230
- "hardis:config:get": {
221
+ "hardis:auth:login": {
231
222
  "aliases": [],
232
223
  "args": {},
233
- "description": "\n## Command Behavior\n\n**Retrieves and displays the sfdx-hardis configuration for a specified level.**\n\nThis command allows you to inspect the configuration that is currently in effect for your project, which is useful for debugging and understanding how sfdx-hardis will behave.\n\n- **Configuration levels:** It can retrieve configuration from three different levels:\n - **Project:** The configuration defined in the project's `.sfdx-hardis.yml` file.\n - **Branch:** The configuration defined in a branch-specific configuration file (e.g., `.sfdx-hardis.production.yml`).\n - **User:** The global user-level configuration.\n\n## Technical explanations\n\nThe command's logic is straightforward:\n\n- **`getConfig` function:** It calls the `getConfig` utility function, passing the desired configuration level as an argument.\n- **Configuration loading:** The `getConfig` function is responsible for finding the appropriate configuration file, reading its contents, and parsing it as YAML or JSON.\n- **Output:** The retrieved configuration is then displayed to the user as a JSON string.\n",
224
+ "description": "\n## Command Behavior\n\n**Authenticates to a Salesforce org, primarily designed for CI/CD workflows.**\n\nThis command facilitates secure and automated logins to Salesforce organizations within continuous integration and continuous delivery pipelines. It leverages pre-configured authentication details, ensuring that CI/CD processes can interact with Salesforce without manual intervention.\n\nKey aspects:\n\n- **Configuration-Driven:** It relies on authentication variables and files set up by dedicated configuration commands:\n - For CI/CD repositories: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n - For Monitoring repositories: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n- **Technical Org Support:** Supports authentication to a 'technical org' (e.g., for calling Agentforce from another org) by utilizing the `SFDX_AUTH_URL_TECHNICAL_ORG` environment variable. If this variable is set, the command authenticates to this org with the alias `TECHNICAL_ORG`.\n\nTo obtain the `SFDX_AUTH_URL_TECHNICAL_ORG` value, you can run `sf org display --verbose --json` and copy the `sfdxAuthUrl` field from the output.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical flow involves:\n\n- **Flag Parsing:** It parses command-line flags such as `instanceurl`, `devhub`, `scratchorg`, and `debug` to determine the authentication context.\n- **Authentication Hook:** It triggers an internal authentication hook (`this.config.runHook('auth', ...`)) which is responsible for executing the actual authentication logic based on the provided flags (e.g., whether it's a Dev Hub or a scratch org).\n- **Environment Variable Check:** It checks for the presence of `SFDX_AUTH_URL_TECHNICAL_ORG` or `TECHNICAL_ORG_ALIAS` environment variables.\n- **`authOrg` Utility:** If a technical org is configured, it calls the `authOrg` utility function to perform the authentication for that specific org, ensuring it's connected and available for subsequent operations.\n- **Salesforce CLI Integration:** It integrates with the Salesforce CLI's authentication mechanisms to establish and manage org connections.\n</details>\n",
234
225
  "examples": [
235
- "$ sf hardis:project:deploy:sources:metadata"
226
+ "$ sf hardis:auth:login",
227
+ "CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
236
228
  ],
237
229
  "flags": {
238
230
  "json": {
@@ -250,20 +242,28 @@
250
242
  "multiple": false,
251
243
  "type": "option"
252
244
  },
253
- "level": {
254
- "char": "l",
255
- "description": "project,branch or user",
256
- "name": "level",
257
- "default": "project",
245
+ "instanceurl": {
246
+ "char": "r",
247
+ "description": "URL of org instance",
248
+ "name": "instanceurl",
258
249
  "hasDynamicHelp": false,
259
250
  "multiple": false,
260
- "options": [
261
- "project",
262
- "branch",
263
- "user"
264
- ],
265
251
  "type": "option"
266
252
  },
253
+ "devhub": {
254
+ "char": "h",
255
+ "description": "Also connect associated DevHub",
256
+ "name": "devhub",
257
+ "allowNo": false,
258
+ "type": "boolean"
259
+ },
260
+ "scratchorg": {
261
+ "char": "s",
262
+ "description": "Scratch org",
263
+ "name": "scratchorg",
264
+ "allowNo": false,
265
+ "type": "boolean"
266
+ },
267
267
  "debug": {
268
268
  "char": "d",
269
269
  "description": "Activate debug mode (more logs)",
@@ -287,30 +287,30 @@
287
287
  },
288
288
  "hasDynamicHelp": false,
289
289
  "hiddenAliases": [],
290
- "id": "hardis:config:get",
290
+ "id": "hardis:auth:login",
291
291
  "pluginAlias": "sfdx-hardis",
292
292
  "pluginName": "sfdx-hardis",
293
293
  "pluginType": "core",
294
294
  "strict": true,
295
295
  "enableJsonFlag": true,
296
- "title": "Deploy metadata sources to org",
296
+ "title": "Login",
297
297
  "requiresProject": false,
298
298
  "isESM": true,
299
299
  "relativePath": [
300
300
  "lib",
301
301
  "commands",
302
302
  "hardis",
303
- "config",
304
- "get.js"
303
+ "auth",
304
+ "login.js"
305
305
  ],
306
306
  "aliasPermutations": [],
307
307
  "permutations": [
308
- "hardis:config:get",
309
- "config:hardis:get",
310
- "config:get:hardis",
311
- "hardis:get:config",
312
- "get:hardis:config",
313
- "get:config:hardis"
308
+ "hardis:auth:login",
309
+ "auth:hardis:login",
310
+ "auth:login:hardis",
311
+ "hardis:login:auth",
312
+ "login:hardis:auth",
313
+ "login:auth:hardis"
314
314
  ]
315
315
  },
316
316
  "hardis:datacloud:sql-query": {
@@ -13926,12 +13926,13 @@
13926
13926
  "gitdelta:generate:project:hardis"
13927
13927
  ]
13928
13928
  },
13929
- "hardis:scratch:pool:create": {
13929
+ "hardis:project:metadata:activate-decomposed": {
13930
13930
  "aliases": [],
13931
13931
  "args": {},
13932
- "description": "Select a data storage service and configure information to build a scratch org pool\n\n Run the command, follow instruction, then you need to schedule a daily CI job for the pool maintenance:\n\n - Define CI ENV variable SCRATCH_ORG_POOL with value \"true\"\n\n - Call the following lines in the CI job:\n\n```shell\n sf hardis:auth:login --devhub\n sf hardis:scratch:pool:refresh\n```\n ",
13932
+ "description": "\n## Command Behavior\n\n**Activate decomposed metadata types in Salesforce DX projects.**\n\nThis command helps manage decomposed metadata types that can be split into multiple files in source format. It automatically decomposes all supported metadata types that exist in your project.\n\nSupported metadata types (Beta):\n\n- CustomLabels\n- PermissionSet\n- ExternalServiceRegistration\n- SharingRules\n- Workflow\n\nSee [Salesforce documentation on decomposed metadata](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_decomposed_md_types.htm)\n\nKey features:\n\n- Automatically detects and decomposes all applicable metadata types\n- Decomposes only metadata types that exist in your project\n- Interactive confirmation for decomposition operations\n- Handles all confirmation prompts automatically\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThis command utilizes Salesforce CLI's decomposed metadata feature to split complex metadata types into smaller, more manageable components:\n\n- **CustomLabels**: Each custom label becomes a separate file, making it easier to track changes and manage translations.\n- **PermissionSets**: Permission sets are decomposed into multiple files based on the permissions they contain (field permissions, object permissions, etc.).\n- **ExternalServiceRegistration**: Decomposes external service registrations.\n- **SharingRules**: Decomposes sharing rules into individual components.\n- **Workflow**: Decomposes workflow rules into individual components.\n\nThe command wraps the underlying Salesforce CLI functionality and provides a more user-friendly interface with additional validation and error handling.\n\nNote: All decomposed metadata features are currently in Beta in Salesforce CLI.\n</details>\n",
13933
13933
  "examples": [
13934
- "$ sf hardis:scratch:pool:configure"
13934
+ "$ sf hardis:project:metadata:activate-decomposed",
13935
+ "$ sf hardis:project:metadata:activate-decomposed --debug"
13935
13936
  ],
13936
13937
  "flags": {
13937
13938
  "json": {
@@ -13951,7 +13952,7 @@
13951
13952
  },
13952
13953
  "debug": {
13953
13954
  "char": "d",
13954
- "description": "Activate debug mode (more logs)",
13955
+ "description": "Run command in debug mode",
13955
13956
  "name": "debug",
13956
13957
  "allowNo": false,
13957
13958
  "type": "boolean"
@@ -13968,75 +13969,62 @@
13968
13969
  "name": "skipauth",
13969
13970
  "allowNo": false,
13970
13971
  "type": "boolean"
13971
- },
13972
- "target-dev-hub": {
13973
- "aliases": [
13974
- "targetdevhubusername"
13975
- ],
13976
- "char": "v",
13977
- "deprecateAliases": true,
13978
- "name": "target-dev-hub",
13979
- "noCacheDefault": true,
13980
- "required": true,
13981
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
13982
- "hasDynamicHelp": true,
13983
- "multiple": false,
13984
- "type": "option"
13985
13972
  }
13986
13973
  },
13987
- "hasDynamicHelp": true,
13974
+ "hasDynamicHelp": false,
13988
13975
  "hiddenAliases": [],
13989
- "id": "hardis:scratch:pool:create",
13976
+ "id": "hardis:project:metadata:activate-decomposed",
13990
13977
  "pluginAlias": "sfdx-hardis",
13991
13978
  "pluginName": "sfdx-hardis",
13992
13979
  "pluginType": "core",
13993
13980
  "strict": true,
13994
13981
  "enableJsonFlag": true,
13995
- "title": "Create and configure scratch org pool",
13996
- "requiresProject": true,
13982
+ "title": "Activate Decomposed Metadata (Beta)",
13997
13983
  "isESM": true,
13998
13984
  "relativePath": [
13999
13985
  "lib",
14000
13986
  "commands",
14001
13987
  "hardis",
14002
- "scratch",
14003
- "pool",
14004
- "create.js"
13988
+ "project",
13989
+ "metadata",
13990
+ "activate-decomposed.js"
14005
13991
  ],
14006
13992
  "aliasPermutations": [],
14007
13993
  "permutations": [
14008
- "hardis:scratch:pool:create",
14009
- "scratch:hardis:pool:create",
14010
- "scratch:pool:hardis:create",
14011
- "scratch:pool:create:hardis",
14012
- "hardis:pool:scratch:create",
14013
- "pool:hardis:scratch:create",
14014
- "pool:scratch:hardis:create",
14015
- "pool:scratch:create:hardis",
14016
- "hardis:pool:create:scratch",
14017
- "pool:hardis:create:scratch",
14018
- "pool:create:hardis:scratch",
14019
- "pool:create:scratch:hardis",
14020
- "hardis:scratch:create:pool",
14021
- "scratch:hardis:create:pool",
14022
- "scratch:create:hardis:pool",
14023
- "scratch:create:pool:hardis",
14024
- "hardis:create:scratch:pool",
14025
- "create:hardis:scratch:pool",
14026
- "create:scratch:hardis:pool",
14027
- "create:scratch:pool:hardis",
14028
- "hardis:create:pool:scratch",
14029
- "create:hardis:pool:scratch",
14030
- "create:pool:hardis:scratch",
14031
- "create:pool:scratch:hardis"
13994
+ "hardis:project:metadata:activate-decomposed",
13995
+ "project:hardis:metadata:activate-decomposed",
13996
+ "project:metadata:hardis:activate-decomposed",
13997
+ "project:metadata:activate-decomposed:hardis",
13998
+ "hardis:metadata:project:activate-decomposed",
13999
+ "metadata:hardis:project:activate-decomposed",
14000
+ "metadata:project:hardis:activate-decomposed",
14001
+ "metadata:project:activate-decomposed:hardis",
14002
+ "hardis:metadata:activate-decomposed:project",
14003
+ "metadata:hardis:activate-decomposed:project",
14004
+ "metadata:activate-decomposed:hardis:project",
14005
+ "metadata:activate-decomposed:project:hardis",
14006
+ "hardis:project:activate-decomposed:metadata",
14007
+ "project:hardis:activate-decomposed:metadata",
14008
+ "project:activate-decomposed:hardis:metadata",
14009
+ "project:activate-decomposed:metadata:hardis",
14010
+ "hardis:activate-decomposed:project:metadata",
14011
+ "activate-decomposed:hardis:project:metadata",
14012
+ "activate-decomposed:project:hardis:metadata",
14013
+ "activate-decomposed:project:metadata:hardis",
14014
+ "hardis:activate-decomposed:metadata:project",
14015
+ "activate-decomposed:hardis:metadata:project",
14016
+ "activate-decomposed:metadata:hardis:project",
14017
+ "activate-decomposed:metadata:project:hardis"
14032
14018
  ]
14033
14019
  },
14034
- "hardis:scratch:pool:localauth": {
14020
+ "hardis:project:metadata:findduplicates": {
14035
14021
  "aliases": [],
14036
14022
  "args": {},
14037
- "description": "\n## Command Behavior\n\n**Authenticates a local user to the configured scratch org pool storage service, enabling them to fetch and manage scratch orgs from the pool.**\n\nThis command is essential for developers who want to utilize a shared scratch org pool for their local development. It establishes the necessary authentication with the backend storage service (e.g., Salesforce Custom Object, Redis) that manages the pool's state, allowing the user to retrieve available scratch orgs for their work.\n\nKey functionalities:\n\n- **Storage Service Authentication:** Initiates the authentication process with the chosen storage service to obtain the required API keys or secrets.\n- **Enables Pool Access:** Once authenticated, the local user can then use other sfdx-hardis commands to fetch, use, and return scratch orgs from the pool.\n- **Configuration Check:** Verifies if a scratch org pool is already configured for the current project and provides guidance if it's not.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Configuration Loading:** It retrieves the `poolConfig` from the project's .sfdx-hardis.yml file to identify the configured storage service.\n- **Provider Instantiation:** It uses the `instantiateProvider` utility function to create an instance of the `KeyValueProviderInterface` corresponding to the configured storage service.\n- **User Authentication:** It then calls the `userAuthenticate()` method on the instantiated provider. This method encapsulates the specific logic for authenticating with the chosen storage service (e.g., prompting for API keys, performing OAuth flows).\n- **Error Handling:** It checks for the absence of a configured scratch org pool and provides a user-friendly message.\n</details>\n",
14023
+ "description": "find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n",
14038
14024
  "examples": [
14039
- "$ sf hardis:scratch:pool:localauth"
14025
+ "\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n",
14026
+ "\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
14027
+ "\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
14040
14028
  ],
14041
14029
  "flags": {
14042
14030
  "json": {
@@ -14054,12 +14042,13 @@
14054
14042
  "multiple": false,
14055
14043
  "type": "option"
14056
14044
  },
14057
- "debug": {
14058
- "char": "d",
14059
- "description": "Activate debug mode (more logs)",
14060
- "name": "debug",
14061
- "allowNo": false,
14062
- "type": "boolean"
14045
+ "files": {
14046
+ "char": "f",
14047
+ "description": "XML metadata files path",
14048
+ "name": "files",
14049
+ "hasDynamicHelp": false,
14050
+ "multiple": true,
14051
+ "type": "option"
14063
14052
  },
14064
14053
  "websocket": {
14065
14054
  "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
@@ -14073,39 +14062,254 @@
14073
14062
  "name": "skipauth",
14074
14063
  "allowNo": false,
14075
14064
  "type": "boolean"
14076
- },
14077
- "target-dev-hub": {
14078
- "aliases": [
14079
- "targetdevhubusername"
14080
- ],
14081
- "char": "v",
14082
- "deprecateAliases": true,
14083
- "name": "target-dev-hub",
14084
- "noCacheDefault": true,
14085
- "required": true,
14086
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
14087
- "hasDynamicHelp": true,
14088
- "multiple": false,
14089
- "type": "option"
14090
14065
  }
14091
14066
  },
14092
- "hasDynamicHelp": true,
14067
+ "hasDynamicHelp": false,
14093
14068
  "hiddenAliases": [],
14094
- "id": "hardis:scratch:pool:localauth",
14069
+ "id": "hardis:project:metadata:findduplicates",
14095
14070
  "pluginAlias": "sfdx-hardis",
14096
14071
  "pluginName": "sfdx-hardis",
14097
14072
  "pluginType": "core",
14098
14073
  "strict": true,
14099
14074
  "enableJsonFlag": true,
14100
- "title": "Authenticate locally to scratch org pool",
14075
+ "metadataDuplicateFindKeys": {
14076
+ "layout": [
14077
+ "Layout.layoutSections.layoutColumns.layoutItems.field",
14078
+ "Layout.quickActionListItems.quickActionName"
14079
+ ],
14080
+ "profile": [
14081
+ "Profile.fieldPermissions.field",
14082
+ "Profile.objectPermissions.object",
14083
+ "Profile.classAccesses.apexClass"
14084
+ ],
14085
+ "labels": [
14086
+ "CustomLabels.labels.fullName"
14087
+ ],
14088
+ "permissionset": [
14089
+ "PermissionSet.fieldPermissions.field",
14090
+ "PermissionSet.objectPermissions.object",
14091
+ "PermissionSet.classAccesses.apexClass"
14092
+ ]
14093
+ },
14094
+ "title": "XML duplicate values finder",
14101
14095
  "requiresProject": true,
14102
14096
  "isESM": true,
14103
14097
  "relativePath": [
14104
14098
  "lib",
14105
14099
  "commands",
14106
14100
  "hardis",
14107
- "scratch",
14108
- "pool",
14101
+ "project",
14102
+ "metadata",
14103
+ "findduplicates.js"
14104
+ ],
14105
+ "aliasPermutations": [],
14106
+ "permutations": [
14107
+ "hardis:project:metadata:findduplicates",
14108
+ "project:hardis:metadata:findduplicates",
14109
+ "project:metadata:hardis:findduplicates",
14110
+ "project:metadata:findduplicates:hardis",
14111
+ "hardis:metadata:project:findduplicates",
14112
+ "metadata:hardis:project:findduplicates",
14113
+ "metadata:project:hardis:findduplicates",
14114
+ "metadata:project:findduplicates:hardis",
14115
+ "hardis:metadata:findduplicates:project",
14116
+ "metadata:hardis:findduplicates:project",
14117
+ "metadata:findduplicates:hardis:project",
14118
+ "metadata:findduplicates:project:hardis",
14119
+ "hardis:project:findduplicates:metadata",
14120
+ "project:hardis:findduplicates:metadata",
14121
+ "project:findduplicates:hardis:metadata",
14122
+ "project:findduplicates:metadata:hardis",
14123
+ "hardis:findduplicates:project:metadata",
14124
+ "findduplicates:hardis:project:metadata",
14125
+ "findduplicates:project:hardis:metadata",
14126
+ "findduplicates:project:metadata:hardis",
14127
+ "hardis:findduplicates:metadata:project",
14128
+ "findduplicates:hardis:metadata:project",
14129
+ "findduplicates:metadata:hardis:project",
14130
+ "findduplicates:metadata:project:hardis"
14131
+ ]
14132
+ },
14133
+ "hardis:scratch:pool:create": {
14134
+ "aliases": [],
14135
+ "args": {},
14136
+ "description": "Select a data storage service and configure information to build a scratch org pool\n\n Run the command, follow instruction, then you need to schedule a daily CI job for the pool maintenance:\n\n - Define CI ENV variable SCRATCH_ORG_POOL with value \"true\"\n\n - Call the following lines in the CI job:\n\n```shell\n sf hardis:auth:login --devhub\n sf hardis:scratch:pool:refresh\n```\n ",
14137
+ "examples": [
14138
+ "$ sf hardis:scratch:pool:configure"
14139
+ ],
14140
+ "flags": {
14141
+ "json": {
14142
+ "description": "Format output as json.",
14143
+ "helpGroup": "GLOBAL",
14144
+ "name": "json",
14145
+ "allowNo": false,
14146
+ "type": "boolean"
14147
+ },
14148
+ "flags-dir": {
14149
+ "helpGroup": "GLOBAL",
14150
+ "name": "flags-dir",
14151
+ "summary": "Import flag values from a directory.",
14152
+ "hasDynamicHelp": false,
14153
+ "multiple": false,
14154
+ "type": "option"
14155
+ },
14156
+ "debug": {
14157
+ "char": "d",
14158
+ "description": "Activate debug mode (more logs)",
14159
+ "name": "debug",
14160
+ "allowNo": false,
14161
+ "type": "boolean"
14162
+ },
14163
+ "websocket": {
14164
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
14165
+ "name": "websocket",
14166
+ "hasDynamicHelp": false,
14167
+ "multiple": false,
14168
+ "type": "option"
14169
+ },
14170
+ "skipauth": {
14171
+ "description": "Skip authentication check when a default username is required",
14172
+ "name": "skipauth",
14173
+ "allowNo": false,
14174
+ "type": "boolean"
14175
+ },
14176
+ "target-dev-hub": {
14177
+ "aliases": [
14178
+ "targetdevhubusername"
14179
+ ],
14180
+ "char": "v",
14181
+ "deprecateAliases": true,
14182
+ "name": "target-dev-hub",
14183
+ "noCacheDefault": true,
14184
+ "required": true,
14185
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
14186
+ "hasDynamicHelp": true,
14187
+ "multiple": false,
14188
+ "type": "option"
14189
+ }
14190
+ },
14191
+ "hasDynamicHelp": true,
14192
+ "hiddenAliases": [],
14193
+ "id": "hardis:scratch:pool:create",
14194
+ "pluginAlias": "sfdx-hardis",
14195
+ "pluginName": "sfdx-hardis",
14196
+ "pluginType": "core",
14197
+ "strict": true,
14198
+ "enableJsonFlag": true,
14199
+ "title": "Create and configure scratch org pool",
14200
+ "requiresProject": true,
14201
+ "isESM": true,
14202
+ "relativePath": [
14203
+ "lib",
14204
+ "commands",
14205
+ "hardis",
14206
+ "scratch",
14207
+ "pool",
14208
+ "create.js"
14209
+ ],
14210
+ "aliasPermutations": [],
14211
+ "permutations": [
14212
+ "hardis:scratch:pool:create",
14213
+ "scratch:hardis:pool:create",
14214
+ "scratch:pool:hardis:create",
14215
+ "scratch:pool:create:hardis",
14216
+ "hardis:pool:scratch:create",
14217
+ "pool:hardis:scratch:create",
14218
+ "pool:scratch:hardis:create",
14219
+ "pool:scratch:create:hardis",
14220
+ "hardis:pool:create:scratch",
14221
+ "pool:hardis:create:scratch",
14222
+ "pool:create:hardis:scratch",
14223
+ "pool:create:scratch:hardis",
14224
+ "hardis:scratch:create:pool",
14225
+ "scratch:hardis:create:pool",
14226
+ "scratch:create:hardis:pool",
14227
+ "scratch:create:pool:hardis",
14228
+ "hardis:create:scratch:pool",
14229
+ "create:hardis:scratch:pool",
14230
+ "create:scratch:hardis:pool",
14231
+ "create:scratch:pool:hardis",
14232
+ "hardis:create:pool:scratch",
14233
+ "create:hardis:pool:scratch",
14234
+ "create:pool:hardis:scratch",
14235
+ "create:pool:scratch:hardis"
14236
+ ]
14237
+ },
14238
+ "hardis:scratch:pool:localauth": {
14239
+ "aliases": [],
14240
+ "args": {},
14241
+ "description": "\n## Command Behavior\n\n**Authenticates a local user to the configured scratch org pool storage service, enabling them to fetch and manage scratch orgs from the pool.**\n\nThis command is essential for developers who want to utilize a shared scratch org pool for their local development. It establishes the necessary authentication with the backend storage service (e.g., Salesforce Custom Object, Redis) that manages the pool's state, allowing the user to retrieve available scratch orgs for their work.\n\nKey functionalities:\n\n- **Storage Service Authentication:** Initiates the authentication process with the chosen storage service to obtain the required API keys or secrets.\n- **Enables Pool Access:** Once authenticated, the local user can then use other sfdx-hardis commands to fetch, use, and return scratch orgs from the pool.\n- **Configuration Check:** Verifies if a scratch org pool is already configured for the current project and provides guidance if it's not.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Configuration Loading:** It retrieves the `poolConfig` from the project's .sfdx-hardis.yml file to identify the configured storage service.\n- **Provider Instantiation:** It uses the `instantiateProvider` utility function to create an instance of the `KeyValueProviderInterface` corresponding to the configured storage service.\n- **User Authentication:** It then calls the `userAuthenticate()` method on the instantiated provider. This method encapsulates the specific logic for authenticating with the chosen storage service (e.g., prompting for API keys, performing OAuth flows).\n- **Error Handling:** It checks for the absence of a configured scratch org pool and provides a user-friendly message.\n</details>\n",
14242
+ "examples": [
14243
+ "$ sf hardis:scratch:pool:localauth"
14244
+ ],
14245
+ "flags": {
14246
+ "json": {
14247
+ "description": "Format output as json.",
14248
+ "helpGroup": "GLOBAL",
14249
+ "name": "json",
14250
+ "allowNo": false,
14251
+ "type": "boolean"
14252
+ },
14253
+ "flags-dir": {
14254
+ "helpGroup": "GLOBAL",
14255
+ "name": "flags-dir",
14256
+ "summary": "Import flag values from a directory.",
14257
+ "hasDynamicHelp": false,
14258
+ "multiple": false,
14259
+ "type": "option"
14260
+ },
14261
+ "debug": {
14262
+ "char": "d",
14263
+ "description": "Activate debug mode (more logs)",
14264
+ "name": "debug",
14265
+ "allowNo": false,
14266
+ "type": "boolean"
14267
+ },
14268
+ "websocket": {
14269
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
14270
+ "name": "websocket",
14271
+ "hasDynamicHelp": false,
14272
+ "multiple": false,
14273
+ "type": "option"
14274
+ },
14275
+ "skipauth": {
14276
+ "description": "Skip authentication check when a default username is required",
14277
+ "name": "skipauth",
14278
+ "allowNo": false,
14279
+ "type": "boolean"
14280
+ },
14281
+ "target-dev-hub": {
14282
+ "aliases": [
14283
+ "targetdevhubusername"
14284
+ ],
14285
+ "char": "v",
14286
+ "deprecateAliases": true,
14287
+ "name": "target-dev-hub",
14288
+ "noCacheDefault": true,
14289
+ "required": true,
14290
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
14291
+ "hasDynamicHelp": true,
14292
+ "multiple": false,
14293
+ "type": "option"
14294
+ }
14295
+ },
14296
+ "hasDynamicHelp": true,
14297
+ "hiddenAliases": [],
14298
+ "id": "hardis:scratch:pool:localauth",
14299
+ "pluginAlias": "sfdx-hardis",
14300
+ "pluginName": "sfdx-hardis",
14301
+ "pluginType": "core",
14302
+ "strict": true,
14303
+ "enableJsonFlag": true,
14304
+ "title": "Authenticate locally to scratch org pool",
14305
+ "requiresProject": true,
14306
+ "isESM": true,
14307
+ "relativePath": [
14308
+ "lib",
14309
+ "commands",
14310
+ "hardis",
14311
+ "scratch",
14312
+ "pool",
14109
14313
  "localauth.js"
14110
14314
  ],
14111
14315
  "aliasPermutations": [],
@@ -14451,210 +14655,6 @@
14451
14655
  "view:pool:scratch:hardis"
14452
14656
  ]
14453
14657
  },
14454
- "hardis:project:metadata:activate-decomposed": {
14455
- "aliases": [],
14456
- "args": {},
14457
- "description": "\n## Command Behavior\n\n**Activate decomposed metadata types in Salesforce DX projects.**\n\nThis command helps manage decomposed metadata types that can be split into multiple files in source format. It automatically decomposes all supported metadata types that exist in your project.\n\nSupported metadata types (Beta):\n\n- CustomLabels\n- PermissionSet\n- ExternalServiceRegistration\n- SharingRules\n- Workflow\n\nSee [Salesforce documentation on decomposed metadata](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_decomposed_md_types.htm)\n\nKey features:\n\n- Automatically detects and decomposes all applicable metadata types\n- Decomposes only metadata types that exist in your project\n- Interactive confirmation for decomposition operations\n- Handles all confirmation prompts automatically\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThis command utilizes Salesforce CLI's decomposed metadata feature to split complex metadata types into smaller, more manageable components:\n\n- **CustomLabels**: Each custom label becomes a separate file, making it easier to track changes and manage translations.\n- **PermissionSets**: Permission sets are decomposed into multiple files based on the permissions they contain (field permissions, object permissions, etc.).\n- **ExternalServiceRegistration**: Decomposes external service registrations.\n- **SharingRules**: Decomposes sharing rules into individual components.\n- **Workflow**: Decomposes workflow rules into individual components.\n\nThe command wraps the underlying Salesforce CLI functionality and provides a more user-friendly interface with additional validation and error handling.\n\nNote: All decomposed metadata features are currently in Beta in Salesforce CLI.\n</details>\n",
14458
- "examples": [
14459
- "$ sf hardis:project:metadata:activate-decomposed",
14460
- "$ sf hardis:project:metadata:activate-decomposed --debug"
14461
- ],
14462
- "flags": {
14463
- "json": {
14464
- "description": "Format output as json.",
14465
- "helpGroup": "GLOBAL",
14466
- "name": "json",
14467
- "allowNo": false,
14468
- "type": "boolean"
14469
- },
14470
- "flags-dir": {
14471
- "helpGroup": "GLOBAL",
14472
- "name": "flags-dir",
14473
- "summary": "Import flag values from a directory.",
14474
- "hasDynamicHelp": false,
14475
- "multiple": false,
14476
- "type": "option"
14477
- },
14478
- "debug": {
14479
- "char": "d",
14480
- "description": "Run command in debug mode",
14481
- "name": "debug",
14482
- "allowNo": false,
14483
- "type": "boolean"
14484
- },
14485
- "websocket": {
14486
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
14487
- "name": "websocket",
14488
- "hasDynamicHelp": false,
14489
- "multiple": false,
14490
- "type": "option"
14491
- },
14492
- "skipauth": {
14493
- "description": "Skip authentication check when a default username is required",
14494
- "name": "skipauth",
14495
- "allowNo": false,
14496
- "type": "boolean"
14497
- }
14498
- },
14499
- "hasDynamicHelp": false,
14500
- "hiddenAliases": [],
14501
- "id": "hardis:project:metadata:activate-decomposed",
14502
- "pluginAlias": "sfdx-hardis",
14503
- "pluginName": "sfdx-hardis",
14504
- "pluginType": "core",
14505
- "strict": true,
14506
- "enableJsonFlag": true,
14507
- "title": "Activate Decomposed Metadata (Beta)",
14508
- "isESM": true,
14509
- "relativePath": [
14510
- "lib",
14511
- "commands",
14512
- "hardis",
14513
- "project",
14514
- "metadata",
14515
- "activate-decomposed.js"
14516
- ],
14517
- "aliasPermutations": [],
14518
- "permutations": [
14519
- "hardis:project:metadata:activate-decomposed",
14520
- "project:hardis:metadata:activate-decomposed",
14521
- "project:metadata:hardis:activate-decomposed",
14522
- "project:metadata:activate-decomposed:hardis",
14523
- "hardis:metadata:project:activate-decomposed",
14524
- "metadata:hardis:project:activate-decomposed",
14525
- "metadata:project:hardis:activate-decomposed",
14526
- "metadata:project:activate-decomposed:hardis",
14527
- "hardis:metadata:activate-decomposed:project",
14528
- "metadata:hardis:activate-decomposed:project",
14529
- "metadata:activate-decomposed:hardis:project",
14530
- "metadata:activate-decomposed:project:hardis",
14531
- "hardis:project:activate-decomposed:metadata",
14532
- "project:hardis:activate-decomposed:metadata",
14533
- "project:activate-decomposed:hardis:metadata",
14534
- "project:activate-decomposed:metadata:hardis",
14535
- "hardis:activate-decomposed:project:metadata",
14536
- "activate-decomposed:hardis:project:metadata",
14537
- "activate-decomposed:project:hardis:metadata",
14538
- "activate-decomposed:project:metadata:hardis",
14539
- "hardis:activate-decomposed:metadata:project",
14540
- "activate-decomposed:hardis:metadata:project",
14541
- "activate-decomposed:metadata:hardis:project",
14542
- "activate-decomposed:metadata:project:hardis"
14543
- ]
14544
- },
14545
- "hardis:project:metadata:findduplicates": {
14546
- "aliases": [],
14547
- "args": {},
14548
- "description": "find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n",
14549
- "examples": [
14550
- "\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n",
14551
- "\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
14552
- "\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
14553
- ],
14554
- "flags": {
14555
- "json": {
14556
- "description": "Format output as json.",
14557
- "helpGroup": "GLOBAL",
14558
- "name": "json",
14559
- "allowNo": false,
14560
- "type": "boolean"
14561
- },
14562
- "flags-dir": {
14563
- "helpGroup": "GLOBAL",
14564
- "name": "flags-dir",
14565
- "summary": "Import flag values from a directory.",
14566
- "hasDynamicHelp": false,
14567
- "multiple": false,
14568
- "type": "option"
14569
- },
14570
- "files": {
14571
- "char": "f",
14572
- "description": "XML metadata files path",
14573
- "name": "files",
14574
- "hasDynamicHelp": false,
14575
- "multiple": true,
14576
- "type": "option"
14577
- },
14578
- "websocket": {
14579
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
14580
- "name": "websocket",
14581
- "hasDynamicHelp": false,
14582
- "multiple": false,
14583
- "type": "option"
14584
- },
14585
- "skipauth": {
14586
- "description": "Skip authentication check when a default username is required",
14587
- "name": "skipauth",
14588
- "allowNo": false,
14589
- "type": "boolean"
14590
- }
14591
- },
14592
- "hasDynamicHelp": false,
14593
- "hiddenAliases": [],
14594
- "id": "hardis:project:metadata:findduplicates",
14595
- "pluginAlias": "sfdx-hardis",
14596
- "pluginName": "sfdx-hardis",
14597
- "pluginType": "core",
14598
- "strict": true,
14599
- "enableJsonFlag": true,
14600
- "metadataDuplicateFindKeys": {
14601
- "layout": [
14602
- "Layout.layoutSections.layoutColumns.layoutItems.field",
14603
- "Layout.quickActionListItems.quickActionName"
14604
- ],
14605
- "profile": [
14606
- "Profile.fieldPermissions.field",
14607
- "Profile.objectPermissions.object",
14608
- "Profile.classAccesses.apexClass"
14609
- ],
14610
- "labels": [
14611
- "CustomLabels.labels.fullName"
14612
- ],
14613
- "permissionset": [
14614
- "PermissionSet.fieldPermissions.field",
14615
- "PermissionSet.objectPermissions.object",
14616
- "PermissionSet.classAccesses.apexClass"
14617
- ]
14618
- },
14619
- "title": "XML duplicate values finder",
14620
- "requiresProject": true,
14621
- "isESM": true,
14622
- "relativePath": [
14623
- "lib",
14624
- "commands",
14625
- "hardis",
14626
- "project",
14627
- "metadata",
14628
- "findduplicates.js"
14629
- ],
14630
- "aliasPermutations": [],
14631
- "permutations": [
14632
- "hardis:project:metadata:findduplicates",
14633
- "project:hardis:metadata:findduplicates",
14634
- "project:metadata:hardis:findduplicates",
14635
- "project:metadata:findduplicates:hardis",
14636
- "hardis:metadata:project:findduplicates",
14637
- "metadata:hardis:project:findduplicates",
14638
- "metadata:project:hardis:findduplicates",
14639
- "metadata:project:findduplicates:hardis",
14640
- "hardis:metadata:findduplicates:project",
14641
- "metadata:hardis:findduplicates:project",
14642
- "metadata:findduplicates:hardis:project",
14643
- "metadata:findduplicates:project:hardis",
14644
- "hardis:project:findduplicates:metadata",
14645
- "project:hardis:findduplicates:metadata",
14646
- "project:findduplicates:hardis:metadata",
14647
- "project:findduplicates:metadata:hardis",
14648
- "hardis:findduplicates:project:metadata",
14649
- "findduplicates:hardis:project:metadata",
14650
- "findduplicates:project:hardis:metadata",
14651
- "findduplicates:project:metadata:hardis",
14652
- "hardis:findduplicates:metadata:project",
14653
- "findduplicates:hardis:metadata:project",
14654
- "findduplicates:metadata:hardis:project",
14655
- "findduplicates:metadata:project:hardis"
14656
- ]
14657
- },
14658
14658
  "hardis:org:retrieve:sources:analytics": {
14659
14659
  "aliases": [],
14660
14660
  "args": {},
@@ -16104,5 +16104,5 @@
16104
16104
  ]
16105
16105
  }
16106
16106
  },
16107
- "version": "6.17.0"
16107
+ "version": "6.17.1"
16108
16108
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Swiss-army-knife Toolbox for Salesforce.\n Allows you to define a complete CD/CD Pipeline.\n Orchestrate base commands and assist users with interactive wizards",
4
4
  "author": "NicolasVuillamy @nvuillam",
5
5
  "bugs": "https://github.com/hardisgroupcom/sfdx-hardis/issues",
6
- "version": "6.17.0",
6
+ "version": "6.17.1",
7
7
  "dependencies": {
8
8
  "@actions/github": "^6.0.1",
9
9
  "@cparra/apexdocs": "^3.16.1",