viewgate-wrapper 1.11.20 → 1.11.22

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/dist/cli.js CHANGED
@@ -34,16 +34,21 @@ async function setup() {
34
34
  command: "npx",
35
35
  args: ["-y", "viewgate-mcp"],
36
36
  env: {
37
- "VIEWGATE_API_KEY": apiKey || "TU_API_KEY_AQUI"
37
+ "VIEWGATE_API_KEY": apiKey || "TU_API_KEY_AQUI",
38
+ "VIEWGATE_PERSONAL_KEY": env.VIEWGATE_PERSONAL_KEY || "TU_KEY_PERSONAL_AQUI"
38
39
  }
39
40
  };
40
41
  fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
41
42
  console.log(`✅ Updated mcp_config.json successfully!`);
42
43
  console.log(`📍 MCP Server URL: ${mcpServerUrl}`);
43
- if (!apiKey) {
44
- console.log('\n⚠️ Recuerda configurar tu API_KEY en:');
44
+ if (!apiKey || !env.VIEWGATE_PERSONAL_KEY) {
45
+ console.log('\n⚠️ Recuerda configurar tus credenciales en:');
45
46
  console.log(` ${configPath}`);
46
- console.log(' Puedes encontrar tu API_KEY en el Dashboard de ViewGate.');
47
+ if (!apiKey)
48
+ console.log(' - API_KEY: Búscala en "API Keys" del Proyecto en el Dashboard.');
49
+ if (!env.VIEWGATE_PERSONAL_KEY)
50
+ console.log(' - PERSONAL_KEY: Búscala en "Personal Key" en la sección de Proyectos del Dashboard.');
51
+ console.log('\n Ambas son necesarias para identificar quién resuelve los tickets.');
47
52
  }
48
53
  // 4. Framework Detection and Plugin Auto-Config
49
54
  console.log('\n🔍 Detecting framework for High-Precision Mapping...');
@@ -1 +1 @@
1
- {"version":3,"file":"ViewGateOverlay.d.ts","sourceRoot":"","sources":["../../src/components/ViewGateOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqD,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA2BnF,OAAO,wBAAwB,CAAC;AA21BhC,eAAO,MAAM,eAAe,EAAE,EAqpF7B,CAAC"}
1
+ {"version":3,"file":"ViewGateOverlay.d.ts","sourceRoot":"","sources":["../../src/components/ViewGateOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqD,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA2BnF,OAAO,wBAAwB,CAAC;AA21BhC,eAAO,MAAM,eAAe,EAAE,EA+sF7B,CAAC"}