mcp-efficiency-engine 0.1.8 → 0.1.9

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.
@@ -26,6 +26,11 @@ jobs:
26
26
  with:
27
27
  python-version: '3.11'
28
28
 
29
+ - name: Setup Node
30
+ uses: actions/setup-node@v4
31
+ with:
32
+ node-version: '20'
33
+
29
34
  - name: Compile AutoDocs
30
35
  run: py -3 -m scripts.wiki.wiki_compiler
31
36
  shell: pwsh
@@ -119,6 +124,11 @@ jobs:
119
124
  with:
120
125
  python-version: '3.11'
121
126
 
127
+ - name: Setup Node
128
+ uses: actions/setup-node@v4
129
+ with:
130
+ node-version: '20'
131
+
122
132
  - name: Compile AutoDocs
123
133
  run: py -3 -m scripts.wiki.wiki_compiler
124
134
  shell: pwsh
@@ -270,7 +270,7 @@ function initializeTemplateRegistry(targetRoot, options) {
270
270
  "-InitialRepoName",
271
271
  deriveDefaultRepoName(targetRoot, options),
272
272
  "-InitialRepoDomain",
273
- options.initialRepoDomain || "dev",
273
+ options.initialRepoDomain || "backend",
274
274
  "-InitialRepoLocation",
275
275
  options.initialRepoLocation || ".",
276
276
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-efficiency-engine",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Motor de orquestacion para agentes MCP con routing por dominio y bootstrap portable.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -124,6 +124,10 @@ function Read-YesNoValue {
124
124
  function Get-DefaultEnginesForDomain {
125
125
  param([Parameter(Mandatory = $true)][string]$Domain)
126
126
 
127
+ if ($Domain -eq 'dev') {
128
+ $Domain = 'backend'
129
+ }
130
+
127
131
  switch ($Domain) {
128
132
  'backend' {
129
133
  return [pscustomobject]@{
@@ -249,8 +253,16 @@ if ($addInitialRepo) {
249
253
  $defaultRepoDomain = if ([string]::IsNullOrWhiteSpace($InitialRepoDomain)) { 'backend' } else { $InitialRepoDomain }
250
254
  $defaultRepoLocation = if ([string]::IsNullOrWhiteSpace($InitialRepoLocation)) { '.' } else { $InitialRepoLocation }
251
255
 
256
+ if ($defaultRepoDomain -eq 'dev') {
257
+ $defaultRepoDomain = 'backend'
258
+ }
259
+
252
260
  $resolvedRepoName = Read-RequiredValue -Prompt 'Initial repo name' -DefaultValue $defaultRepoName -ProvidedValue $InitialRepoName
253
- $resolvedRepoDomain = Read-ChoiceValue -Prompt 'Initial repo domain' -AllowedValues @('backend', 'frontend', 'community-content', 'legacy', 'dba', 'iot', 'ux-ui', 'azure-rag', 'rag') -DefaultValue $defaultRepoDomain -ProvidedValue $InitialRepoDomain
261
+ $resolvedRepoDomain = Read-ChoiceValue -Prompt 'Initial repo domain' -AllowedValues @('dev', 'backend', 'frontend', 'community-content', 'legacy', 'dba', 'iot', 'ux-ui', 'azure-rag', 'rag') -DefaultValue $defaultRepoDomain -ProvidedValue $InitialRepoDomain
262
+ if ($resolvedRepoDomain -eq 'dev') {
263
+ Write-Host "[info] Domain 'dev' is a legacy alias. Normalizing to 'backend'."
264
+ $resolvedRepoDomain = 'backend'
265
+ }
254
266
  $resolvedRepoLocation = Read-RequiredValue -Prompt 'Initial repo location' -DefaultValue $defaultRepoLocation -ProvidedValue $InitialRepoLocation
255
267
  $resolvedEngines = Get-DefaultEnginesForDomain -Domain $resolvedRepoDomain
256
268