sfdx-hardis 5.39.1 → 5.40.1-beta202506151204.0
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/CHANGELOG.md +10 -0
- package/lib/commands/hardis/doc/override-prompts.d.ts +11 -0
- package/lib/commands/hardis/doc/override-prompts.js +164 -0
- package/lib/commands/hardis/doc/override-prompts.js.map +1 -0
- package/lib/commands/hardis/doc/project2markdown.d.ts +2 -0
- package/lib/commands/hardis/doc/project2markdown.js +32 -2
- package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_COMPLETE_OBJECT_ATTRIBUTES_MD.js +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APEX.js +4 -10
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APEX.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APPROVAL_PROCESS.js +4 -10
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APPROVAL_PROCESS.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ASSIGNMENT_RULES.js +4 -11
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ASSIGNMENT_RULES.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_AUTORESPONSE_RULES.js +6 -12
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_AUTORESPONSE_RULES.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ESCALATION_RULES.js +4 -10
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ESCALATION_RULES.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW.js +4 -10
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW_DIFF.js +3 -8
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW_DIFF.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_LWC.js +3 -7
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_LWC.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_OBJECT.js +3 -8
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_OBJECT.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.js +3 -8
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PAGE.js +3 -8
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PAGE.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET.js +4 -10
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET_GROUP.js +4 -10
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET_GROUP.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PROFILE.js +3 -8
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PROFILE.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ROLES.d.ts +3 -0
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ROLES.js +33 -0
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ROLES.js.map +1 -0
- package/lib/common/aiProvider/promptTemplates/PROMPT_SOLVE_DEPLOYMENT_ERROR.js +3 -9
- package/lib/common/aiProvider/promptTemplates/PROMPT_SOLVE_DEPLOYMENT_ERROR.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/VARIABLE_ADDITIONAL_INSTRUCTIONS.d.ts +3 -0
- package/lib/common/aiProvider/promptTemplates/VARIABLE_ADDITIONAL_INSTRUCTIONS.js +11 -0
- package/lib/common/aiProvider/promptTemplates/VARIABLE_ADDITIONAL_INSTRUCTIONS.js.map +1 -0
- package/lib/common/aiProvider/promptTemplates/VARIABLE_FORMATTING_REQUIREMENTS.d.ts +3 -0
- package/lib/common/aiProvider/promptTemplates/VARIABLE_FORMATTING_REQUIREMENTS.js +13 -0
- package/lib/common/aiProvider/promptTemplates/VARIABLE_FORMATTING_REQUIREMENTS.js.map +1 -0
- package/lib/common/aiProvider/promptTemplates/VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC.d.ts +3 -0
- package/lib/common/aiProvider/promptTemplates/VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC.js +8 -0
- package/lib/common/aiProvider/promptTemplates/VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC.js.map +1 -0
- package/lib/common/aiProvider/promptTemplates/index.js +2 -0
- package/lib/common/aiProvider/promptTemplates/index.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/variablesIndex.d.ts +3 -0
- package/lib/common/aiProvider/promptTemplates/variablesIndex.js +9 -0
- package/lib/common/aiProvider/promptTemplates/variablesIndex.js.map +1 -0
- package/lib/common/aiProvider/promptTemplates.d.ts +1 -1
- package/lib/common/aiProvider/promptTemplates.js +43 -2
- package/lib/common/aiProvider/promptTemplates.js.map +1 -1
- package/lib/common/docBuilder/docBuilderRoles.d.ts +9 -0
- package/lib/common/docBuilder/docBuilderRoles.js +105 -0
- package/lib/common/docBuilder/docBuilderRoles.js.map +1 -0
- package/lib/common/docBuilder/docBuilderRoot.js +2 -0
- package/lib/common/docBuilder/docBuilderRoot.js.map +1 -1
- package/oclif.lock +59 -72
- package/oclif.manifest.json +769 -690
- package/package.json +9 -9
|
@@ -10,9 +10,8 @@ const template = {
|
|
|
10
10
|
description: "The XML metadata for the Salesforce Approval Process.",
|
|
11
11
|
example: "<ApprovalProcess>...</ApprovalProcess>"
|
|
12
12
|
}
|
|
13
|
-
],
|
|
14
|
-
|
|
15
|
-
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to explain the what is the Salesforce Approval Process "{{APPROVALPROCESS_NAME}}" about in plain English, provide a detailed explanation suitable for a business user. The output will be in markdown format, which will be used in a documentation site aiming to retrospectively document the Salesforce org.
|
|
13
|
+
], text: {
|
|
14
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to explain the what is the Salesforce Approval Process "{{APPROVALPROCESS_NAME}}" about in plain English, provide a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
16
15
|
|
|
17
16
|
### Instructions:
|
|
18
17
|
|
|
@@ -20,19 +19,14 @@ const template = {
|
|
|
20
19
|
- Begin by summarizing the purpose of the approval process.
|
|
21
20
|
- List the key functionalities and business logic implemented in the approval process.
|
|
22
21
|
|
|
23
|
-
2.
|
|
24
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
25
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
26
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
27
|
-
- Never truncate any information in the response.
|
|
28
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
22
|
+
2. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
29
23
|
|
|
30
24
|
### Reference Data:
|
|
31
25
|
|
|
32
26
|
- The metadata XML for Approval Process "{{APPROVALPROCESS_NAME}}" is:
|
|
33
27
|
{{APPROVALPROCESS_XML}}
|
|
34
28
|
|
|
35
|
-
|
|
29
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
36
30
|
`,
|
|
37
31
|
},
|
|
38
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_APPROVAL_PROCESS.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APPROVAL_PROCESS.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,0DAA0D;YACvE,OAAO,EAAE,sBAAsB;SAChC;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,uDAAuD;YACpE,OAAO,EAAE,wCAAwC;SAClD;KACF
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_APPROVAL_PROCESS.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APPROVAL_PROCESS.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,0DAA0D;YACvE,OAAO,EAAE,sBAAsB;SAChC;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,uDAAuD;YACpE,OAAO,EAAE,wCAAwC;SAClD;KACF,EAAE,IAAI,EAAE;QACP,IAAI,EAAE;;;;;;;;;;;;;;;;CAgBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -10,10 +10,8 @@ const template = {
|
|
|
10
10
|
description: "The XML metadata for the Salesforce Assignment Rules.",
|
|
11
11
|
example: "<AssignmentRules>...</AssignmentRules>"
|
|
12
12
|
}
|
|
13
|
-
],
|
|
14
|
-
|
|
15
|
-
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce Assignment Rules "{{ASSIGNMENTRULES_NAME}}" in plain English, providing a detailed explanation suitable for a business user. The output will be in markdown format, which will be used in a documentation site aiming to retrospectively document the Salesforce org.
|
|
16
|
-
|
|
13
|
+
], text: {
|
|
14
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce Assignment Rules "{{ASSIGNMENTRULES_NAME}}" in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
17
15
|
|
|
18
16
|
### Instructions:
|
|
19
17
|
|
|
@@ -23,19 +21,14 @@ const template = {
|
|
|
23
21
|
Based by Criteria items, explain what should so the record will be assigned.
|
|
24
22
|
- Analyze all the assignment rules for objects and in the description tell what are the aim of those rules. What is the role of the object in the system, based by the assignment rules.
|
|
25
23
|
|
|
26
|
-
2.
|
|
27
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
28
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
29
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
30
|
-
- Never truncate any information in the response.
|
|
31
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
24
|
+
2. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
32
25
|
|
|
33
26
|
### Reference Data:
|
|
34
27
|
|
|
35
28
|
- The metadata XML for Salesforce Assignment Rule "{{ASSIGNMENTRULES_NAME}}" is:
|
|
36
29
|
{{ASSIGNMENTRULES_XML}}
|
|
37
30
|
|
|
38
|
-
|
|
31
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
39
32
|
`,
|
|
40
33
|
},
|
|
41
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_ASSIGNMENT_RULES.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ASSIGNMENT_RULES.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,0DAA0D;YACvE,OAAO,EAAE,uBAAuB;SACjC;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,uDAAuD;YACpE,OAAO,EAAE,wCAAwC;SAClD;KACF
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_ASSIGNMENT_RULES.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ASSIGNMENT_RULES.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,0DAA0D;YACvE,OAAO,EAAE,uBAAuB;SACjC;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,uDAAuD;YACpE,OAAO,EAAE,wCAAwC;SAClD;KACF,EAAE,IAAI,EAAE;QACP,IAAI,EAAE;;;;;;;;;;;;;;;;;;CAkBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -10,9 +10,8 @@ const template = {
|
|
|
10
10
|
description: "The XML metadata for the Salesforce AutoResponse Rules.",
|
|
11
11
|
example: "<AutoResponseRules>...</AutoResponseRules>"
|
|
12
12
|
}
|
|
13
|
-
],
|
|
14
|
-
|
|
15
|
-
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce AutoResponse Rules "{{AUTORESPONSERULES_NAME}}" in plain English, providing a detailed explanation suitable for a business user. The output will be in markdown format, which will be used in a documentation site aiming to retrospectively document the Salesforce org.
|
|
13
|
+
], text: {
|
|
14
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce AutoResponse Rules "{{AUTORESPONSERULES_NAME}}" in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
16
15
|
|
|
17
16
|
### Instructions:
|
|
18
17
|
|
|
@@ -22,19 +21,14 @@ const template = {
|
|
|
22
21
|
- Analyze all the AutoResponse rules for objects and in the description tell what are the aim of those rules. What is the role of the object in the system, based by the AutoResponse rules.
|
|
23
22
|
- Based by Criteria items, explain what would be the response to the user, if the criteria are met.
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
27
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
28
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
29
|
-
- Never truncate any information in the response.
|
|
30
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
24
|
+
2. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
31
25
|
|
|
32
|
-
|
|
26
|
+
### Reference Data:
|
|
33
27
|
|
|
34
|
-
|
|
28
|
+
- The metadata XML for Salesforce AutoResponse Rule "{{AUTORESPONSERULES_NAME}}" is:
|
|
35
29
|
{{AUTORESPONSERULES_XML}}
|
|
36
30
|
|
|
37
|
-
|
|
31
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
38
32
|
`,
|
|
39
33
|
},
|
|
40
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_AUTORESPONSE_RULES.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_AUTORESPONSE_RULES.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,wBAAwB;YAC9B,WAAW,EAAE,4DAA4D;YACzE,OAAO,EAAE,yBAAyB;SACnC;QACD;YACE,IAAI,EAAE,uBAAuB;YAC7B,WAAW,EAAE,yDAAyD;YACtE,OAAO,EAAE,4CAA4C;SACtD;KACF
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_AUTORESPONSE_RULES.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_AUTORESPONSE_RULES.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,wBAAwB;YAC9B,WAAW,EAAE,4DAA4D;YACzE,OAAO,EAAE,yBAAyB;SACnC;QACD;YACE,IAAI,EAAE,uBAAuB;YAC7B,WAAW,EAAE,yDAAyD;YACtE,OAAO,EAAE,4CAA4C;SACtD;KACF,EAAE,IAAI,EAAE;QACP,IAAI,EAAE;;;;;;;;;;;;;;;;;;CAkBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -10,9 +10,8 @@ const template = {
|
|
|
10
10
|
description: "The XML metadata for the Salesforce Escalation Rule.",
|
|
11
11
|
example: "<EscalationRules>...</EscalationRules>"
|
|
12
12
|
}
|
|
13
|
-
],
|
|
14
|
-
|
|
15
|
-
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to explain the what is the Salesforce Escalation Rule "{{ESCALATIONRULES_NAME}}" about in plain English, provide a detailed explanation suitable for a business user. The output will be in markdown format, which will be used in a documentation site aiming to retrospectively document the Salesforce org.
|
|
13
|
+
], text: {
|
|
14
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to explain the what is the Salesforce Escalation Rule "{{ESCALATIONRULES_NAME}}" about in plain English, provide a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
16
15
|
|
|
17
16
|
### Instructions:
|
|
18
17
|
|
|
@@ -20,19 +19,14 @@ const template = {
|
|
|
20
19
|
- Begin by summarizing the purpose of the escalation rule.
|
|
21
20
|
- List the key functionalities and business logic implemented in the escalation rule.
|
|
22
21
|
|
|
23
|
-
2.
|
|
24
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
25
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
26
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
27
|
-
- Never truncate any information in the response.
|
|
28
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
22
|
+
2. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
29
23
|
|
|
30
24
|
### Reference Data:
|
|
31
25
|
|
|
32
26
|
- The metadata XML for Escalation Rule "{{ESCALATIONRULES_NAME}}" is:
|
|
33
27
|
{{ESCALATIONRULES_XML}}
|
|
34
28
|
|
|
35
|
-
|
|
29
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
36
30
|
`,
|
|
37
31
|
},
|
|
38
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_ESCALATION_RULES.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ESCALATION_RULES.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,yDAAyD;YACtE,OAAO,EAAE,sBAAsB;SAChC;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,sDAAsD;YACnE,OAAO,EAAE,wCAAwC;SAClD;KACF
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_ESCALATION_RULES.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ESCALATION_RULES.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,yDAAyD;YACtE,OAAO,EAAE,sBAAsB;SAChC;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,sDAAsD;YACnE,OAAO,EAAE,wCAAwC;SAClD;KACF,EAAE,IAAI,EAAE;QACP,IAAI,EAAE;;;;;;;;;;;;;;;;CAgBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -5,9 +5,8 @@ const template = {
|
|
|
5
5
|
description: "The XML definition of the Salesforce Flow to describe.",
|
|
6
6
|
example: "<Flow>...</Flow>"
|
|
7
7
|
}
|
|
8
|
-
],
|
|
9
|
-
|
|
10
|
-
"en": `You are a business analyst working on a Salesforce project. Your goal is to describe the Salesforce Flow in plain English, providing a detailed explanation suitable for a business user. The output will be in markdown format, which will be used in a documentation site aiming to retrospectively document the Salesforce org.
|
|
8
|
+
], text: {
|
|
9
|
+
"en": `You are a business analyst working on a Salesforce project. Your goal is to describe the Salesforce Flow in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
11
10
|
|
|
12
11
|
### Instructions:
|
|
13
12
|
|
|
@@ -20,19 +19,14 @@ const template = {
|
|
|
20
19
|
- Use plain English and avoid technical jargon when possible.
|
|
21
20
|
- If there are sub-flows or important conditions, mention them clearly.
|
|
22
21
|
|
|
23
|
-
3.
|
|
24
|
-
- Use markdown formatting suitable for embedding in a level 2 header (##).
|
|
25
|
-
- Add a new line before starting a bullet list so mkdocs-material displays it correctly, including for sub-bullets.
|
|
26
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
27
|
-
- Never truncate any information in the response.
|
|
28
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
22
|
+
3. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
29
23
|
|
|
30
24
|
### Reference Data:
|
|
31
25
|
|
|
32
26
|
- The flow XML is:
|
|
33
27
|
{{FLOW_XML}}
|
|
34
28
|
|
|
35
|
-
|
|
29
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
36
30
|
`,
|
|
37
31
|
},
|
|
38
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_FLOW.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE,kBAAkB;SAC5B;KACF
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_FLOW.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE,kBAAkB;SAC5B;KACF,EAAE,IAAI,EAAE;QACP,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;CAqBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -12,7 +12,7 @@ const template = {
|
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
text: {
|
|
15
|
-
"en": `You are a business analyst working on a Salesforce project. Your goal is to describe the differences between the new and previous versions of a Salesforce Flow in plain English, providing a detailed explanation suitable for a business user.
|
|
15
|
+
"en": `You are a business analyst working on a Salesforce project. Your goal is to describe the differences between the new and previous versions of a Salesforce Flow in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
16
16
|
|
|
17
17
|
### Instructions:
|
|
18
18
|
|
|
@@ -27,12 +27,7 @@ const template = {
|
|
|
27
27
|
- Ignore connector changes: do not mention them in your response.
|
|
28
28
|
- Use plain English and avoid technical jargon when possible.
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
- Use markdown formatting suitable for embedding in a level 2 header (##).
|
|
32
|
-
- Add a new line before starting a bullet list so mkdocs-material displays it correctly, including for sub-bullets and sub-sub-bullets.
|
|
33
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
34
|
-
- Never truncate any information in the response.
|
|
35
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
30
|
+
{{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
36
31
|
|
|
37
32
|
### Reference Data:
|
|
38
33
|
|
|
@@ -42,7 +37,7 @@ const template = {
|
|
|
42
37
|
- The previous version flow XML is:
|
|
43
38
|
{{FLOW_XML_PREVIOUS}}
|
|
44
39
|
|
|
45
|
-
|
|
40
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
46
41
|
`,
|
|
47
42
|
},
|
|
48
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_FLOW_DIFF.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW_DIFF.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,+DAA+D;YAC5E,OAAO,EAAE,kBAAkB;SAC5B;QACD;YACE,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,oEAAoE;YACjF,OAAO,EAAE,kBAAkB;SAC5B;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_FLOW_DIFF.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW_DIFF.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,+DAA+D;YAC5E,OAAO,EAAE,kBAAkB;SAC5B;QACD;YACE,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,oEAAoE;YACjF,OAAO,EAAE,kBAAkB;SAC5B;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -22,7 +22,7 @@ const template = {
|
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
24
|
text: {
|
|
25
|
-
"en": `You are a skilled Salesforce developer working on a Lightning Web Components (LWC) project. Your goal is to explain the Salesforce Lightning Web Component "{{LWC_NAME}}" in plain English, providing a detailed explanation suitable for other developers and business users.
|
|
25
|
+
"en": `You are a skilled Salesforce developer working on a Lightning Web Components (LWC) project. Your goal is to explain the Salesforce Lightning Web Component "{{LWC_NAME}}" in plain English, providing a detailed explanation suitable for other developers and business users. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
26
26
|
|
|
27
27
|
### Instructions:
|
|
28
28
|
|
|
@@ -37,11 +37,7 @@ const template = {
|
|
|
37
37
|
- Mention any wire services, apex methods, or external services the component uses.
|
|
38
38
|
- Identify any custom properties or special configurations.
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
42
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
43
|
-
- Never truncate any information in the response.
|
|
44
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
40
|
+
{{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
45
41
|
|
|
46
42
|
### Reference Data:
|
|
47
43
|
|
|
@@ -60,7 +56,7 @@ const template = {
|
|
|
60
56
|
{{LWC_JS_META}}
|
|
61
57
|
\`\`\`
|
|
62
58
|
|
|
63
|
-
|
|
59
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
64
60
|
`,
|
|
65
61
|
},
|
|
66
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_LWC.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_LWC.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sDAAsD;YACnE,OAAO,EAAE,mBAAmB;SAC7B;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qDAAqD;YAClE,OAAO,EAAE,6CAA6C;SACvD;QACD;YACE,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE,0BAA0B;SACpC;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,8DAA8D;YAC3E,OAAO,EAAE,0DAA0D;SACpE;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_LWC.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_LWC.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sDAAsD;YACnE,OAAO,EAAE,mBAAmB;SAC7B;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qDAAqD;YAClE,OAAO,EAAE,6CAA6C;SACvD;QACD;YACE,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE,0BAA0B;SACpC;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,8DAA8D;YAC3E,OAAO,EAAE,0DAA0D;SACpE;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -22,7 +22,7 @@ const template = {
|
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
24
|
text: {
|
|
25
|
-
"en": `You are a business analyst working on a Salesforce project. Your goal is to describe the Salesforce object "{{OBJECT_NAME}}" in plain English, providing a detailed explanation suitable for a business user.
|
|
25
|
+
"en": `You are a business analyst working on a Salesforce project. Your goal is to describe the Salesforce object "{{OBJECT_NAME}}" in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
26
26
|
|
|
27
27
|
### Instructions:
|
|
28
28
|
|
|
@@ -42,12 +42,7 @@ const template = {
|
|
|
42
42
|
- Use the acronyms provided to interpret metadata names (e.g., TR: Trigger, VR: Validation Rule, WF: Workflow).
|
|
43
43
|
- If the XML metadata contains sensitive information (e.g., tokens, passwords), replace them with a placeholder (e.g., \`[REDACTED]\`).
|
|
44
44
|
|
|
45
|
-
4.
|
|
46
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
47
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
48
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
49
|
-
- Never truncate any information in the response.
|
|
50
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
45
|
+
4. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
51
46
|
|
|
52
47
|
### Reference Data:
|
|
53
48
|
|
|
@@ -58,7 +53,7 @@ const template = {
|
|
|
58
53
|
- The metadata XML for "{{OBJECT_NAME}}" is:
|
|
59
54
|
{{OBJECT_XML}}
|
|
60
55
|
|
|
61
|
-
|
|
56
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
62
57
|
`,
|
|
63
58
|
},
|
|
64
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_OBJECT.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_OBJECT.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACvC,SAAS,EAAE;QACP;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,oDAAoD;YACjE,OAAO,EAAE,SAAS;SACrB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uDAAuD;YACpE,OAAO,EAAE,kCAAkC;SAC9C;QACD;YACI,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,8CAA8C;YAC3D,OAAO,EAAE,oCAAoC;SAChD;QACD;YACI,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,2EAA2E;YACxF,OAAO,EAAE,gEAAgE;SAC5E;KACJ;IACD,IAAI,EAAE;QACF,IAAI,EAAE
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_OBJECT.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_OBJECT.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACvC,SAAS,EAAE;QACP;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,oDAAoD;YACjE,OAAO,EAAE,SAAS;SACrB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uDAAuD;YACpE,OAAO,EAAE,kCAAkC;SAC9C;QACD;YACI,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,8CAA8C;YAC3D,OAAO,EAAE,oCAAoC;SAChD;QACD;YACI,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,2EAA2E;YACxF,OAAO,EAAE,gEAAgE;SAC5E;KACJ;IACD,IAAI,EAAE;QACF,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCb;KACI;CACJ,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -18,7 +18,7 @@ const template = {
|
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
text: {
|
|
21
|
-
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce Installed package "{{PACKAGE_NAME}}" in plain English, providing a detailed explanation suitable for a business user.
|
|
21
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce Installed package "{{PACKAGE_NAME}}" in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
22
22
|
|
|
23
23
|
### Instructions:
|
|
24
24
|
|
|
@@ -37,12 +37,7 @@ const template = {
|
|
|
37
37
|
- Review the list of metadata items (Apex classes, objects, flows, etc.) provided by this package, as listed in reference data.
|
|
38
38
|
- Highlight the most important or business-relevant components.
|
|
39
39
|
|
|
40
|
-
3.
|
|
41
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
42
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
43
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
44
|
-
- Never truncate any information in the response.
|
|
45
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
40
|
+
3. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
46
41
|
|
|
47
42
|
### Reference Data:
|
|
48
43
|
|
|
@@ -58,7 +53,7 @@ const template = {
|
|
|
58
53
|
|
|
59
54
|
- Other relevant sources for articles or blog posts about the package may include the vendor's website, community forums, or Salesforce-related blogs, like Salesforce Ben or medium.com. Do not mention these source if you don't have a direct link to a page explicitly related to package "{{PACKAGE_NAME}}".
|
|
60
55
|
|
|
61
|
-
|
|
56
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
62
57
|
`,
|
|
63
58
|
},
|
|
64
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_PACKAGE.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.ts"],"names":[],"mappings":"AAGA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,sCAAsC;YACnD,OAAO,EAAE,QAAQ;SAClB;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,oCAAoC;YACjD,OAAO,EAAE,yOAAyO;SACnP;QACD;YACE,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,8HAA8H;YAC3I,OAAO,EAAE,sEAAsE;YAC/E,aAAa,EAAE,MAAM;SACtB;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_PACKAGE.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.ts"],"names":[],"mappings":"AAGA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,sCAAsC;YACnD,OAAO,EAAE,QAAQ;SAClB;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,oCAAoC;YACjD,OAAO,EAAE,yOAAyO;SACnP;QACD;YACE,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,8HAA8H;YAC3I,OAAO,EAAE,sEAAsE;YAC/E,aAAa,EAAE,MAAM;SACtB;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -12,7 +12,7 @@ const template = {
|
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
text: {
|
|
15
|
-
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce Lightning Page "{{PAGE_NAME}}" in plain English, providing a detailed explanation suitable for a business user.
|
|
15
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce Lightning Page "{{PAGE_NAME}}" in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
16
16
|
|
|
17
17
|
### Instructions:
|
|
18
18
|
|
|
@@ -20,19 +20,14 @@ const template = {
|
|
|
20
20
|
- Begin by summarizing the role of the lightning page.
|
|
21
21
|
- List the key tabs, sections, views, related lists and actions described in the lightning page.
|
|
22
22
|
|
|
23
|
-
2.
|
|
24
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
25
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
26
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
27
|
-
- Never truncate any information in the response.
|
|
28
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
23
|
+
2. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
29
24
|
|
|
30
25
|
### Reference Data:
|
|
31
26
|
|
|
32
27
|
- The metadata XML for Lightning page "{{PAGE_NAME}}" is:
|
|
33
28
|
{{PAGE_XML}}
|
|
34
29
|
|
|
35
|
-
|
|
30
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
36
31
|
`,
|
|
37
32
|
},
|
|
38
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_PAGE.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PAGE.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE,qBAAqB;SAC/B;QACD;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0CAA0C;YACvD,OAAO,EAAE,4BAA4B;SACtC;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_PAGE.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PAGE.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE,qBAAqB;SAC/B;QACD;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0CAA0C;YACvD,OAAO,EAAE,4BAA4B;SACtC;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE;;;;;;;;;;;;;;;;CAgBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -10,9 +10,8 @@ const template = {
|
|
|
10
10
|
description: "The XML metadata for the Salesforce Permission Set.",
|
|
11
11
|
example: "<PermissionSet>...</PermissionSet>"
|
|
12
12
|
}
|
|
13
|
-
],
|
|
14
|
-
|
|
15
|
-
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce PermissionSet "{{PERMISSIONSET_NAME}}" in plain English, providing a detailed explanation suitable for a business user. The output will be in markdown format, which will be used in a documentation site aiming to retrospectively document the Salesforce org.
|
|
13
|
+
], text: {
|
|
14
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce PermissionSet "{{PERMISSIONSET_NAME}}" in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
16
15
|
|
|
17
16
|
### Instructions:
|
|
18
17
|
|
|
@@ -23,19 +22,14 @@ const template = {
|
|
|
23
22
|
- Ignore Apex classes and Custom Fields
|
|
24
23
|
- Ignore blocks who has access or visibility set to "false"
|
|
25
24
|
|
|
26
|
-
2.
|
|
27
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
28
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
29
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
30
|
-
- Never truncate any information in the response.
|
|
31
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
25
|
+
2. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
32
26
|
|
|
33
27
|
### Reference Data:
|
|
34
28
|
|
|
35
29
|
- The metadata XML for Salesforce Permission Set "{{PERMISSIONSET_NAME}}" is:
|
|
36
30
|
{{PERMISSIONSET_XML}}
|
|
37
31
|
|
|
38
|
-
|
|
32
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
39
33
|
`,
|
|
40
34
|
},
|
|
41
35
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_PERMISSION_SET.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE,oBAAoB;SAC9B;QACD;YACE,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,qDAAqD;YAClE,OAAO,EAAE,oCAAoC;SAC9C;KACF
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_PERMISSION_SET.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE,oBAAoB;SAC9B;QACD;YACE,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,qDAAqD;YAClE,OAAO,EAAE,oCAAoC;SAC9C;KACF,EAAE,IAAI,EAAE;QACP,IAAI,EAAE;;;;;;;;;;;;;;;;;;;CAmBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -10,9 +10,8 @@ const template = {
|
|
|
10
10
|
description: "The XML metadata for the Salesforce Permission Set Group.",
|
|
11
11
|
example: "<PermissionSetGroup>...</PermissionSetGroup>"
|
|
12
12
|
}
|
|
13
|
-
],
|
|
14
|
-
|
|
15
|
-
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce PermissionSetGroup "{{PERMISSIONSETGROUP_NAME}}" in plain English, providing a detailed explanation suitable for a business user. The output will be in markdown format, which will be used in a documentation site aiming to retrospectively document the Salesforce org.
|
|
13
|
+
], text: {
|
|
14
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce PermissionSetGroup "{{PERMISSIONSETGROUP_NAME}}" in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
16
15
|
|
|
17
16
|
### Instructions:
|
|
18
17
|
|
|
@@ -20,19 +19,14 @@ const template = {
|
|
|
20
19
|
- Begin by summarizing the role of the Salesforce PermissionSetGroup that you can guess according to the content of the XML. Try to guess the role of users assigned to this permission set group according to the name, description and related Permission Sets
|
|
21
20
|
- List the key features of the Permission Set.
|
|
22
21
|
|
|
23
|
-
2.
|
|
24
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
25
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
26
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
27
|
-
- Never truncate any information in the response.
|
|
28
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
22
|
+
2. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
29
23
|
|
|
30
24
|
### Reference Data:
|
|
31
25
|
|
|
32
26
|
- The metadata XML for Salesforce Permission Set Group "{{PERMISSIONSETGROUP_NAME}}" is:
|
|
33
27
|
{{PERMISSIONSETGROUP_XML}}
|
|
34
28
|
|
|
35
|
-
|
|
29
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
36
30
|
`,
|
|
37
31
|
},
|
|
38
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_PERMISSION_SET_GROUP.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET_GROUP.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,yBAAyB;YAC/B,WAAW,EAAE,8DAA8D;YAC3E,OAAO,EAAE,kBAAkB;SAC5B;QACD;YACE,IAAI,EAAE,wBAAwB;YAC9B,WAAW,EAAE,2DAA2D;YACxE,OAAO,EAAE,8CAA8C;SACxD;KACF
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_PERMISSION_SET_GROUP.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET_GROUP.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,yBAAyB;YAC/B,WAAW,EAAE,8DAA8D;YAC3E,OAAO,EAAE,kBAAkB;SAC5B;QACD;YACE,IAAI,EAAE,wBAAwB;YAC9B,WAAW,EAAE,2DAA2D;YACxE,OAAO,EAAE,8CAA8C;SACxD;KACF,EAAE,IAAI,EAAE;QACP,IAAI,EAAE;;;;;;;;;;;;;;;;CAgBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -12,7 +12,7 @@ const template = {
|
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
text: {
|
|
15
|
-
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce Profile "{{PROFILE_NAME}}" in plain English, providing a detailed explanation suitable for a business user.
|
|
15
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce Profile "{{PROFILE_NAME}}" in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
16
16
|
|
|
17
17
|
### Instructions:
|
|
18
18
|
|
|
@@ -23,19 +23,14 @@ const template = {
|
|
|
23
23
|
- Ignore Apex classes and Custom Fields
|
|
24
24
|
- Ignore blocks who has access or visibility set to "false"
|
|
25
25
|
|
|
26
|
-
2.
|
|
27
|
-
- Use markdown formatting suitable for embedding in a level 2 header (\`##\`).
|
|
28
|
-
- Add new lines before starting bullet lists so mkdocs-material renders them correctly, including nested lists.
|
|
29
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
30
|
-
- Never truncate any information in the response.
|
|
31
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
26
|
+
2. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
32
27
|
|
|
33
28
|
### Reference Data:
|
|
34
29
|
|
|
35
30
|
- The metadata XML for Salesforce Profile "{{PROFILE_NAME}}" is:
|
|
36
31
|
{{PROFILE_XML}}
|
|
37
32
|
|
|
38
|
-
|
|
33
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
39
34
|
`,
|
|
40
35
|
},
|
|
41
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_DESCRIBE_PROFILE.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PROFILE.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,iDAAiD;YAC9D,OAAO,EAAE,gBAAgB;SAC1B;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,8CAA8C;YAC3D,OAAO,EAAE,wBAAwB;SAClC;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_PROFILE.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PROFILE.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,iDAAiD;YAC9D,OAAO,EAAE,gBAAgB;SAC1B;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,8CAA8C;YAC3D,OAAO,EAAE,wBAAwB;SAClC;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE;;;;;;;;;;;;;;;;;;;CAmBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const template = {
|
|
2
|
+
variables: [
|
|
3
|
+
{
|
|
4
|
+
name: "ROLES_DESCRIPTION",
|
|
5
|
+
description: "Description of all roles of the org",
|
|
6
|
+
example: "- **Role Name (id:role_api_name)**: Role description (parentId: parent_role_id)\n- **Another Role (id:another_role_api_name)**: Another role description (parentId: another_parent_role_id)\n - **Root Role (id:root_role_api_name)**: Root role description (parentId: ROOT)",
|
|
7
|
+
truncateAfter: 100000
|
|
8
|
+
},
|
|
9
|
+
],
|
|
10
|
+
text: {
|
|
11
|
+
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the business organization of the company. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
|
|
12
|
+
|
|
13
|
+
### Instructions:
|
|
14
|
+
|
|
15
|
+
1. **Contextual Overview**:
|
|
16
|
+
- Analyze the provided role hierarchy data to understand the organizational structure.
|
|
17
|
+
- Identify key roles and their relationships within the hierarchy.
|
|
18
|
+
- Summarize the roles in a way that is clear and understandable for business stakeholders.
|
|
19
|
+
- Ensure the summary is concise yet comprehensive, highlighting the most important aspects of the role hierarchy.
|
|
20
|
+
|
|
21
|
+
2. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
22
|
+
|
|
23
|
+
### Reference Data:
|
|
24
|
+
|
|
25
|
+
- The description of all role hierarchies is:
|
|
26
|
+
{{ROLES_DESCRIPTION}}
|
|
27
|
+
|
|
28
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
29
|
+
`,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
export default template;
|
|
33
|
+
//# sourceMappingURL=PROMPT_DESCRIBE_ROLES.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PROMPT_DESCRIBE_ROLES.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ROLES.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,qCAAqC;YAClD,OAAO,EAAE,+QAA+Q;YACxR,aAAa,EAAE,MAAM;SACtB;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE;;;;;;;;;;;;;;;;;;CAkBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -5,8 +5,7 @@ const template = {
|
|
|
5
5
|
description: "The Salesforce deployment error message to analyze and solve.",
|
|
6
6
|
example: "Cannot deploy component: missing field 'X' on object 'Y'"
|
|
7
7
|
}
|
|
8
|
-
],
|
|
9
|
-
text: {
|
|
8
|
+
], text: {
|
|
10
9
|
"en": `You are a Salesforce release manager using Salesforce CLI commands to perform deployments. Your goal is to help solve the following Salesforce deployment error in a clear, actionable way for a technical user.
|
|
11
10
|
|
|
12
11
|
### Instructions:
|
|
@@ -20,19 +19,14 @@ const template = {
|
|
|
20
19
|
- If applicable, include the correct sfdx source format or XML example.
|
|
21
20
|
- Do not include instructions on how to retrieve or deploy the changes with Salesforce CLI.
|
|
22
21
|
|
|
23
|
-
3.
|
|
24
|
-
- Use markdown formatting suitable for embedding in a level 2 header (##).
|
|
25
|
-
- Add new lines before starting bullet lists so mkdocs-material displays them correctly, including for sub-bullets.
|
|
26
|
-
- Add new lines after a header title so mkdocs-material can display the content correctly.
|
|
27
|
-
- Never truncate any information in the response.
|
|
28
|
-
- Provide a concise summary before detailed sections for quick understanding.
|
|
22
|
+
3. {{VARIABLE_FORMATTING_REQUIREMENTS}}
|
|
29
23
|
|
|
30
24
|
### Reference Data:
|
|
31
25
|
|
|
32
26
|
- The deployment error returned by Salesforce CLI is:
|
|
33
27
|
{{ERROR}}
|
|
34
28
|
|
|
35
|
-
|
|
29
|
+
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
|
|
36
30
|
`,
|
|
37
31
|
},
|
|
38
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PROMPT_SOLVE_DEPLOYMENT_ERROR.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_SOLVE_DEPLOYMENT_ERROR.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+DAA+D;YAC5E,OAAO,EAAE,0DAA0D;SACpE;KACF
|
|
1
|
+
{"version":3,"file":"PROMPT_SOLVE_DEPLOYMENT_ERROR.js","sourceRoot":"","sources":["../../../../src/common/aiProvider/promptTemplates/PROMPT_SOLVE_DEPLOYMENT_ERROR.ts"],"names":[],"mappings":"AAEA,MAAM,QAAQ,GAA6B;IACzC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+DAA+D;YAC5E,OAAO,EAAE,0DAA0D;SACpE;KACF,EAAE,IAAI,EAAE;QACP,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;CAqBT;KACE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|