sfdx-hardis 5.15.0 → 5.15.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.
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`
|
|
6
6
|
|
|
7
|
+
## [5.15.1] 2025-01-12
|
|
8
|
+
|
|
9
|
+
- Improve prompt templates
|
|
10
|
+
|
|
7
11
|
## [5.15.0] 2025-01-12
|
|
8
12
|
|
|
9
13
|
- Allow to call AI to describe flows in documentation
|
|
@@ -40,6 +40,7 @@ How to solve the following Salesforce deployment error ?
|
|
|
40
40
|
The error is:
|
|
41
41
|
{{ERROR}}
|
|
42
42
|
`,
|
|
43
|
+
/* cSpell:disable */
|
|
43
44
|
"fr": `Vous êtes un release manager Salesforce qui utilise les commands Salesforce CLI pour effectuer des déploiements
|
|
44
45
|
Comment résoudre l'erreur de déploiement Salesforce suivante ?
|
|
45
46
|
- Veuillez répondre en utilisant le format source de sfdx, pas le format metadata.
|
|
@@ -48,6 +49,7 @@ Comment résoudre l'erreur de déploiement Salesforce suivante ?
|
|
|
48
49
|
L'erreur est :
|
|
49
50
|
{{ERROR}}
|
|
50
51
|
`
|
|
52
|
+
/* cSpell:enable */
|
|
51
53
|
},
|
|
52
54
|
},
|
|
53
55
|
"PROMPT_DESCRIBE_FLOW": {
|
|
@@ -60,6 +62,7 @@ Add a new line before starting a bullet list so mkdocs-material displays it corr
|
|
|
60
62
|
Caution: If the XML contains secret tokens or password, please replace them with a placeholder.
|
|
61
63
|
The flow XML is:
|
|
62
64
|
{{FLOW_XML}}`,
|
|
65
|
+
/* cSpell:disable */
|
|
63
66
|
"fr": `Vous êtes un analyste métier travaillant sur un projet Salesforce.
|
|
64
67
|
Veuillez décrire le flux suivant en utilisant un langage simple qui peut être compris par un utilisateur métier.
|
|
65
68
|
Veuillez répondre avec le format markdown, qui peut être intégré dans un en-tête de niveau 2 (##)
|
|
@@ -67,6 +70,7 @@ Ajoutez une nouvelle ligne avant de commencer une liste à puces pour que mkdocs
|
|
|
67
70
|
Attention : Si le XML contient des jetons secrets ou des mots de passe, veuillez les remplacer par un espace réservé.
|
|
68
71
|
Le XML du flux est :
|
|
69
72
|
{{FLOW_XML}}`
|
|
73
|
+
/* cSpell:enable */
|
|
70
74
|
}
|
|
71
75
|
},
|
|
72
76
|
"PROMPT_DESCRIBE_FLOW_DIFF": {
|
|
@@ -74,34 +78,34 @@ Le XML du flux est :
|
|
|
74
78
|
text: {
|
|
75
79
|
"en": `You are a business analyst working on a Salesforce project.
|
|
76
80
|
Please describe the differences between new version of the flow and previous version of the flow, using plain English that can be understood by a business user.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
Ignore tags related to location attributes (locationX and locationY) or positions: do not mention them in your response
|
|
82
|
+
Ignore nodes and elements that have not changed: do not mention them in your response
|
|
83
|
+
Ignore connector changes: do not mention them in your response
|
|
80
84
|
Please respond with markdown format, that can be embedded in a level 2 header (##).
|
|
81
|
-
Add a new line before starting a bullet list so mkdocs-material displays it correctly, including for sub-bullets.
|
|
82
|
-
|
|
83
|
-
Please DO NOT refer to locationX, locationY or positions of the XML nodes.
|
|
85
|
+
Add a new line before starting a bullet list so mkdocs-material displays it correctly, including for sub-bullets and sub-sub-bullets.
|
|
86
|
+
If the XML contains secret tokens or password, please replace them with a placeholder.
|
|
84
87
|
The new version flow XML is:
|
|
85
88
|
{{FLOW_XML_NEW}}
|
|
86
89
|
|
|
87
90
|
The previous version flow XML is:
|
|
88
91
|
{{FLOW_XML_PREVIOUS}}
|
|
89
92
|
`,
|
|
93
|
+
/* cSpell:disable */
|
|
90
94
|
"fr": `Vous êtes un analyste métier travaillant sur un projet Salesforce.
|
|
91
95
|
Veuillez décrire les différences entre la nouvelle version du Flow et la version précédente du Flow, en utilisant un langage simple qui peut être compris par un utilisateur métier.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
96
|
+
Ignorez les balises liées aux attributs de localisation (locationX et locationY) ou positions : ne les mentionnez pas dans votre réponse
|
|
97
|
+
Ignorez les nœuds et éléments qui n'ont pas changé : ne les mentionnez pas dans votre réponse
|
|
98
|
+
Ignorez les changements de connecteurs : ne les mentionnez pas dans votre réponse
|
|
95
99
|
Veuillez répondre avec le format markdown, qui peut être intégré dans un en-tête de niveau 2 (##)
|
|
96
100
|
Ajoutez une nouvelle ligne avant de commencer une liste à puces pour que mkdocs-material l'affiche correctement, y compris pour les sous-puces.
|
|
97
|
-
|
|
98
|
-
Veuillez NE PAS faire référence aux localisations (locationX, locationY or positions) des nœuds XML.
|
|
101
|
+
Si le XML contient des jetons secrets ou des mots de passe, veuillez les remplacer par un espace réservé.
|
|
99
102
|
Le XML de la nouvelle version du Flow est:
|
|
100
103
|
{{FLOW_XML_CURRENT}}
|
|
101
104
|
|
|
102
105
|
Le XML de la précédente version du Flow est:
|
|
103
106
|
{{FLOW_XML_PREVIOUS}}
|
|
104
107
|
`
|
|
108
|
+
/* cSpell:enable */
|
|
105
109
|
}
|
|
106
110
|
}
|
|
107
111
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptTemplates.js","sourceRoot":"","sources":["../../../src/common/aiProvider/promptTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,CAAC,MAAM,OAAO,CAAC;AAUtB,MAAM,UAAU,uBAAuB,CAAC,QAAwB,EAAE,SAAiB;IACjF,sBAAsB;IACtB,MAAM,YAAY,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACjD,oCAAoC;IACpC,MAAM,gBAAgB,GAAG,YAAY,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3F,I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C;IAClE,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,iBAAiB,CAAC,QAAwB;IACjD,MAAM,YAAY,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAChD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,4BAA4B,QAAQ,EAAE,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,+BAA+B,EAAE;QAC/B,SAAS,EAAE,CAAC,OAAO,CAAC;QACpB,IAAI,EAAE;YACJ,IAAI,EAAE;;;;;;;CAOX;YACK,oBAAoB;YACpB,IAAI,EAAE;;;;;;;CAOX;YACK,mBAAmB;SACpB;KACF;IACD,sBAAsB,EAAE;QACtB,SAAS,EAAE,CAAC,UAAU,CAAC;QACvB,IAAI,EAAE;YACJ,IAAI,EAAE;;;;;;aAMC;YACP,oBAAoB;YACpB,IAAI,EAAE;;;;;;aAMC;YACP,mBAAmB;SACpB;KAEF;IACD,2BAA2B,EAAE;QAC3B,SAAS,EAAE,CAAC,cAAc,EAAE,mBAAmB,CAAC;QAChD,IAAI,EAAE;YACJ,IAAI,EAAE;;;;;;;;;;;;;CAaX;YACK,oBAAoB;YACpB,IAAI,EAAE;;;;;;;;;;;;;CAaX;YACK,mBAAmB;SACpB;KACF;CACF,CAAA"}
|
package/oclif.manifest.json
CHANGED
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:auth:login": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Login to salesforce org",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
65
|
+
"$ sf hardis:auth:login"
|
|
66
66
|
],
|
|
67
67
|
"flags": {
|
|
68
68
|
"json": {
|
|
@@ -80,6 +80,28 @@
|
|
|
80
80
|
"multiple": false,
|
|
81
81
|
"type": "option"
|
|
82
82
|
},
|
|
83
|
+
"instanceurl": {
|
|
84
|
+
"char": "r",
|
|
85
|
+
"description": "URL of org instance",
|
|
86
|
+
"name": "instanceurl",
|
|
87
|
+
"hasDynamicHelp": false,
|
|
88
|
+
"multiple": false,
|
|
89
|
+
"type": "option"
|
|
90
|
+
},
|
|
91
|
+
"devhub": {
|
|
92
|
+
"char": "h",
|
|
93
|
+
"description": "Also connect associated DevHub",
|
|
94
|
+
"name": "devhub",
|
|
95
|
+
"allowNo": false,
|
|
96
|
+
"type": "boolean"
|
|
97
|
+
},
|
|
98
|
+
"scratchorg": {
|
|
99
|
+
"char": "s",
|
|
100
|
+
"description": "Scratch org",
|
|
101
|
+
"name": "scratchorg",
|
|
102
|
+
"allowNo": false,
|
|
103
|
+
"type": "boolean"
|
|
104
|
+
},
|
|
83
105
|
"debug": {
|
|
84
106
|
"char": "d",
|
|
85
107
|
"description": "Activate debug mode (more logs)",
|
|
@@ -103,38 +125,38 @@
|
|
|
103
125
|
},
|
|
104
126
|
"hasDynamicHelp": false,
|
|
105
127
|
"hiddenAliases": [],
|
|
106
|
-
"id": "hardis:
|
|
128
|
+
"id": "hardis:auth:login",
|
|
107
129
|
"pluginAlias": "sfdx-hardis",
|
|
108
130
|
"pluginName": "sfdx-hardis",
|
|
109
131
|
"pluginType": "core",
|
|
110
132
|
"strict": true,
|
|
111
133
|
"enableJsonFlag": true,
|
|
112
|
-
"title": "
|
|
134
|
+
"title": "Login",
|
|
113
135
|
"requiresProject": false,
|
|
114
136
|
"isESM": true,
|
|
115
137
|
"relativePath": [
|
|
116
138
|
"lib",
|
|
117
139
|
"commands",
|
|
118
140
|
"hardis",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
141
|
+
"auth",
|
|
142
|
+
"login.js"
|
|
121
143
|
],
|
|
122
144
|
"aliasPermutations": [],
|
|
123
145
|
"permutations": [
|
|
124
|
-
"hardis:
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"hardis:
|
|
128
|
-
"
|
|
129
|
-
"
|
|
146
|
+
"hardis:auth:login",
|
|
147
|
+
"auth:hardis:login",
|
|
148
|
+
"auth:login:hardis",
|
|
149
|
+
"hardis:login:auth",
|
|
150
|
+
"login:hardis:auth",
|
|
151
|
+
"login:auth:hardis"
|
|
130
152
|
]
|
|
131
153
|
},
|
|
132
|
-
"hardis:
|
|
154
|
+
"hardis:cache:clear": {
|
|
133
155
|
"aliases": [],
|
|
134
156
|
"args": {},
|
|
135
|
-
"description": "
|
|
157
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
136
158
|
"examples": [
|
|
137
|
-
"$ sf hardis:
|
|
159
|
+
"$ sf hardis:cache:clear"
|
|
138
160
|
],
|
|
139
161
|
"flags": {
|
|
140
162
|
"json": {
|
|
@@ -152,28 +174,6 @@
|
|
|
152
174
|
"multiple": false,
|
|
153
175
|
"type": "option"
|
|
154
176
|
},
|
|
155
|
-
"instanceurl": {
|
|
156
|
-
"char": "r",
|
|
157
|
-
"description": "URL of org instance",
|
|
158
|
-
"name": "instanceurl",
|
|
159
|
-
"hasDynamicHelp": false,
|
|
160
|
-
"multiple": false,
|
|
161
|
-
"type": "option"
|
|
162
|
-
},
|
|
163
|
-
"devhub": {
|
|
164
|
-
"char": "h",
|
|
165
|
-
"description": "Also connect associated DevHub",
|
|
166
|
-
"name": "devhub",
|
|
167
|
-
"allowNo": false,
|
|
168
|
-
"type": "boolean"
|
|
169
|
-
},
|
|
170
|
-
"scratchorg": {
|
|
171
|
-
"char": "s",
|
|
172
|
-
"description": "Scratch org",
|
|
173
|
-
"name": "scratchorg",
|
|
174
|
-
"allowNo": false,
|
|
175
|
-
"type": "boolean"
|
|
176
|
-
},
|
|
177
177
|
"debug": {
|
|
178
178
|
"char": "d",
|
|
179
179
|
"description": "Activate debug mode (more logs)",
|
|
@@ -197,30 +197,30 @@
|
|
|
197
197
|
},
|
|
198
198
|
"hasDynamicHelp": false,
|
|
199
199
|
"hiddenAliases": [],
|
|
200
|
-
"id": "hardis:
|
|
200
|
+
"id": "hardis:cache:clear",
|
|
201
201
|
"pluginAlias": "sfdx-hardis",
|
|
202
202
|
"pluginName": "sfdx-hardis",
|
|
203
203
|
"pluginType": "core",
|
|
204
204
|
"strict": true,
|
|
205
205
|
"enableJsonFlag": true,
|
|
206
|
-
"title": "
|
|
206
|
+
"title": "Clear sfdx-hardis cache",
|
|
207
207
|
"requiresProject": false,
|
|
208
208
|
"isESM": true,
|
|
209
209
|
"relativePath": [
|
|
210
210
|
"lib",
|
|
211
211
|
"commands",
|
|
212
212
|
"hardis",
|
|
213
|
-
"
|
|
214
|
-
"
|
|
213
|
+
"cache",
|
|
214
|
+
"clear.js"
|
|
215
215
|
],
|
|
216
216
|
"aliasPermutations": [],
|
|
217
217
|
"permutations": [
|
|
218
|
-
"hardis:
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
"hardis:
|
|
222
|
-
"
|
|
223
|
-
"
|
|
218
|
+
"hardis:cache:clear",
|
|
219
|
+
"cache:hardis:clear",
|
|
220
|
+
"cache:clear:hardis",
|
|
221
|
+
"hardis:clear:cache",
|
|
222
|
+
"clear:hardis:cache",
|
|
223
|
+
"clear:cache:hardis"
|
|
224
224
|
]
|
|
225
225
|
},
|
|
226
226
|
"hardis:config:get": {
|
|
@@ -14183,5 +14183,5 @@
|
|
|
14183
14183
|
]
|
|
14184
14184
|
}
|
|
14185
14185
|
},
|
|
14186
|
-
"version": "5.15.
|
|
14186
|
+
"version": "5.15.1"
|
|
14187
14187
|
}
|
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": "5.15.
|
|
6
|
+
"version": "5.15.1",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.0",
|
|
9
9
|
"@gitbeaker/node": "^35.8.1",
|