sfdx-hardis 5.32.2-beta202505101931.0 → 5.33.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
CHANGED
|
@@ -4,10 +4,12 @@
|
|
|
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.33.0] 2025-05-10
|
|
8
|
+
|
|
7
9
|
- [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Allow to use ollama, Anthropic and Gemini LLMs, through langchainJs
|
|
8
10
|
- sfdx-hardis prompt templates enhancements:
|
|
9
|
-
- Add prompt templates in online documentation
|
|
10
|
-
- Allow to locally override prompt templates text in `prompt-templates/${templateName}.txt`
|
|
11
|
+
- Add [prompt templates](https://sfdx-hardis.cloudity.com/salesforce-ai-prompts/#available-prompt-templates) in online documentation
|
|
12
|
+
- Allow to locally [override prompt templates](https://sfdx-hardis.cloudity.com/salesforce-ai-prompts/#overriding-prompts) text in `config/prompt-templates/${templateName}.txt`
|
|
11
13
|
- Rewrite old prompt templates
|
|
12
14
|
- Improve VsCode workspace configuration to avoid performance issues
|
|
13
15
|
- Upgrade npm dependencies
|
|
@@ -10,7 +10,7 @@ function getPromptTemplate(template) {
|
|
|
10
10
|
throw new Error(`Unknown prompt template: ${template}`);
|
|
11
11
|
}
|
|
12
12
|
// Check for local override (Text file)
|
|
13
|
-
const localPath = path.resolve(process.cwd(), "prompt-templates", `${template}.txt`);
|
|
13
|
+
const localPath = path.resolve(process.cwd(), "config", "prompt-templates", `${template}.txt`);
|
|
14
14
|
if (fs.existsSync(localPath)) {
|
|
15
15
|
try {
|
|
16
16
|
const localTemplate = fs.readFileSync(localPath, "utf-8");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptTemplates.js","sourceRoot":"","sources":["../../../src/common/aiProvider/promptTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,UAAU,CAAC;AAE1B,OAAO,EAAE,gBAAgB,IAAI,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAmB1C,iEAAiE;AACjE,SAAS,iBAAiB,CAAC,QAAwB;IACjD,MAAM,YAAY,GAAG,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IACzD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,4BAA4B,QAAQ,EAAE,CAAC,CAAC;IAC1D,CAAC;IACD,uCAAuC;IACvC,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,kBAAkB,EAAE,GAAG,QAAQ,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"promptTemplates.js","sourceRoot":"","sources":["../../../src/common/aiProvider/promptTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,UAAU,CAAC;AAE1B,OAAO,EAAE,gBAAgB,IAAI,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAmB1C,iEAAiE;AACjE,SAAS,iBAAiB,CAAC,QAAwB;IACjD,MAAM,YAAY,GAAG,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IACzD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,4BAA4B,QAAQ,EAAE,CAAC,CAAC;IAC1D,CAAC;IACD,uCAAuC;IACvC,MAAM,SAAS,GAAG,IAAI,CAAC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CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,GAAG,wDAAwD,eAAe,GAAG,CAAC,CAAC;IACjM,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,QAAQ,IAAI,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;IACrE,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -129,13 +129,12 @@
|
|
|
129
129
|
"clear:cache:hardis"
|
|
130
130
|
]
|
|
131
131
|
},
|
|
132
|
-
"hardis:
|
|
132
|
+
"hardis:config:get": {
|
|
133
133
|
"aliases": [],
|
|
134
134
|
"args": {},
|
|
135
|
-
"description": "
|
|
135
|
+
"description": "Returns sfdx-hardis project config for a given level",
|
|
136
136
|
"examples": [
|
|
137
|
-
"$ sf hardis:
|
|
138
|
-
"CI=true sf hardis:auth:login"
|
|
137
|
+
"$ sf hardis:project:deploy:sources:metadata"
|
|
139
138
|
],
|
|
140
139
|
"flags": {
|
|
141
140
|
"json": {
|
|
@@ -153,28 +152,20 @@
|
|
|
153
152
|
"multiple": false,
|
|
154
153
|
"type": "option"
|
|
155
154
|
},
|
|
156
|
-
"
|
|
157
|
-
"char": "
|
|
158
|
-
"description": "
|
|
159
|
-
"name": "
|
|
155
|
+
"level": {
|
|
156
|
+
"char": "l",
|
|
157
|
+
"description": "project,branch or user",
|
|
158
|
+
"name": "level",
|
|
159
|
+
"default": "project",
|
|
160
160
|
"hasDynamicHelp": false,
|
|
161
161
|
"multiple": false,
|
|
162
|
+
"options": [
|
|
163
|
+
"project",
|
|
164
|
+
"branch",
|
|
165
|
+
"user"
|
|
166
|
+
],
|
|
162
167
|
"type": "option"
|
|
163
168
|
},
|
|
164
|
-
"devhub": {
|
|
165
|
-
"char": "h",
|
|
166
|
-
"description": "Also connect associated DevHub",
|
|
167
|
-
"name": "devhub",
|
|
168
|
-
"allowNo": false,
|
|
169
|
-
"type": "boolean"
|
|
170
|
-
},
|
|
171
|
-
"scratchorg": {
|
|
172
|
-
"char": "s",
|
|
173
|
-
"description": "Scratch org",
|
|
174
|
-
"name": "scratchorg",
|
|
175
|
-
"allowNo": false,
|
|
176
|
-
"type": "boolean"
|
|
177
|
-
},
|
|
178
169
|
"debug": {
|
|
179
170
|
"char": "d",
|
|
180
171
|
"description": "Activate debug mode (more logs)",
|
|
@@ -198,38 +189,39 @@
|
|
|
198
189
|
},
|
|
199
190
|
"hasDynamicHelp": false,
|
|
200
191
|
"hiddenAliases": [],
|
|
201
|
-
"id": "hardis:
|
|
192
|
+
"id": "hardis:config:get",
|
|
202
193
|
"pluginAlias": "sfdx-hardis",
|
|
203
194
|
"pluginName": "sfdx-hardis",
|
|
204
195
|
"pluginType": "core",
|
|
205
196
|
"strict": true,
|
|
206
197
|
"enableJsonFlag": true,
|
|
207
|
-
"title": "
|
|
198
|
+
"title": "Deploy metadata sources to org",
|
|
208
199
|
"requiresProject": false,
|
|
209
200
|
"isESM": true,
|
|
210
201
|
"relativePath": [
|
|
211
202
|
"lib",
|
|
212
203
|
"commands",
|
|
213
204
|
"hardis",
|
|
214
|
-
"
|
|
215
|
-
"
|
|
205
|
+
"config",
|
|
206
|
+
"get.js"
|
|
216
207
|
],
|
|
217
208
|
"aliasPermutations": [],
|
|
218
209
|
"permutations": [
|
|
219
|
-
"hardis:
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
210
|
+
"hardis:config:get",
|
|
211
|
+
"config:hardis:get",
|
|
212
|
+
"config:get:hardis",
|
|
213
|
+
"hardis:get:config",
|
|
214
|
+
"get:hardis:config",
|
|
215
|
+
"get:config:hardis"
|
|
225
216
|
]
|
|
226
217
|
},
|
|
227
|
-
"hardis:
|
|
218
|
+
"hardis:auth:login": {
|
|
228
219
|
"aliases": [],
|
|
229
220
|
"args": {},
|
|
230
|
-
"description": "
|
|
221
|
+
"description": "Login to salesforce org",
|
|
231
222
|
"examples": [
|
|
232
|
-
"$ sf hardis:
|
|
223
|
+
"$ sf hardis:auth:login",
|
|
224
|
+
"CI=true sf hardis:auth:login"
|
|
233
225
|
],
|
|
234
226
|
"flags": {
|
|
235
227
|
"json": {
|
|
@@ -247,20 +239,28 @@
|
|
|
247
239
|
"multiple": false,
|
|
248
240
|
"type": "option"
|
|
249
241
|
},
|
|
250
|
-
"
|
|
251
|
-
"char": "
|
|
252
|
-
"description": "
|
|
253
|
-
"name": "
|
|
254
|
-
"default": "project",
|
|
242
|
+
"instanceurl": {
|
|
243
|
+
"char": "r",
|
|
244
|
+
"description": "URL of org instance",
|
|
245
|
+
"name": "instanceurl",
|
|
255
246
|
"hasDynamicHelp": false,
|
|
256
247
|
"multiple": false,
|
|
257
|
-
"options": [
|
|
258
|
-
"project",
|
|
259
|
-
"branch",
|
|
260
|
-
"user"
|
|
261
|
-
],
|
|
262
248
|
"type": "option"
|
|
263
249
|
},
|
|
250
|
+
"devhub": {
|
|
251
|
+
"char": "h",
|
|
252
|
+
"description": "Also connect associated DevHub",
|
|
253
|
+
"name": "devhub",
|
|
254
|
+
"allowNo": false,
|
|
255
|
+
"type": "boolean"
|
|
256
|
+
},
|
|
257
|
+
"scratchorg": {
|
|
258
|
+
"char": "s",
|
|
259
|
+
"description": "Scratch org",
|
|
260
|
+
"name": "scratchorg",
|
|
261
|
+
"allowNo": false,
|
|
262
|
+
"type": "boolean"
|
|
263
|
+
},
|
|
264
264
|
"debug": {
|
|
265
265
|
"char": "d",
|
|
266
266
|
"description": "Activate debug mode (more logs)",
|
|
@@ -284,30 +284,30 @@
|
|
|
284
284
|
},
|
|
285
285
|
"hasDynamicHelp": false,
|
|
286
286
|
"hiddenAliases": [],
|
|
287
|
-
"id": "hardis:
|
|
287
|
+
"id": "hardis:auth:login",
|
|
288
288
|
"pluginAlias": "sfdx-hardis",
|
|
289
289
|
"pluginName": "sfdx-hardis",
|
|
290
290
|
"pluginType": "core",
|
|
291
291
|
"strict": true,
|
|
292
292
|
"enableJsonFlag": true,
|
|
293
|
-
"title": "
|
|
293
|
+
"title": "Login",
|
|
294
294
|
"requiresProject": false,
|
|
295
295
|
"isESM": true,
|
|
296
296
|
"relativePath": [
|
|
297
297
|
"lib",
|
|
298
298
|
"commands",
|
|
299
299
|
"hardis",
|
|
300
|
-
"
|
|
301
|
-
"
|
|
300
|
+
"auth",
|
|
301
|
+
"login.js"
|
|
302
302
|
],
|
|
303
303
|
"aliasPermutations": [],
|
|
304
304
|
"permutations": [
|
|
305
|
-
"hardis:
|
|
306
|
-
"
|
|
307
|
-
"
|
|
308
|
-
"hardis:
|
|
309
|
-
"
|
|
310
|
-
"
|
|
305
|
+
"hardis:auth:login",
|
|
306
|
+
"auth:hardis:login",
|
|
307
|
+
"auth:login:hardis",
|
|
308
|
+
"hardis:login:auth",
|
|
309
|
+
"login:hardis:auth",
|
|
310
|
+
"login:auth:hardis"
|
|
311
311
|
]
|
|
312
312
|
},
|
|
313
313
|
"hardis:doc:fieldusage": {
|
|
@@ -14525,5 +14525,5 @@
|
|
|
14525
14525
|
]
|
|
14526
14526
|
}
|
|
14527
14527
|
},
|
|
14528
|
-
"version": "5.
|
|
14528
|
+
"version": "5.33.0"
|
|
14529
14529
|
}
|
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.
|
|
6
|
+
"version": "5.33.0",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.1",
|
|
9
9
|
"@cparra/apexdocs": "^3.12.1",
|