vibetachyon 1.5.2 → 1.5.4

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.
@@ -14,13 +14,13 @@ const fs_1 = __importDefault(require("fs"));
14
14
  const path_1 = __importDefault(require("path"));
15
15
  // Agent name → persona id map (for CLI bin detection)
16
16
  exports.AGENT_BIN_MAP = {
17
- quasar: 'architect',
18
- lumen: 'frontend',
19
- axiom: 'backend',
20
- cipher: 'security',
21
- flux: 'performance',
22
- prism: 'reviewer',
23
- zenith: 'growth',
17
+ vtquasar: 'architect',
18
+ vtlumen: 'frontend',
19
+ vtaxiom: 'backend',
20
+ vtcipher: 'security',
21
+ vtflux: 'performance',
22
+ vtprism: 'reviewer',
23
+ vtzenith: 'growth',
24
24
  };
25
25
  const PERSONAS = {
26
26
  architect: {
package/dist/index.js CHANGED
@@ -179,10 +179,28 @@ function printAgentBanner(personaId) {
179
179
  console.log(`\x1b[90m ${persona.agentTagline}\x1b[0m`);
180
180
  console.log('');
181
181
  }
182
- // Detecta se foi invocado por nome de agente (ex: `cipher audit`)
182
+ // Detecta se foi invocado por nome de agente (ex: `vtcipher` ou `vibetachyon cipher`)
183
183
  function detectAgentBin() {
184
184
  const binName = path_1.default.basename(process.argv[1] ?? '').replace(/\.js$/, '').toLowerCase();
185
- return config_js_3.AGENT_BIN_MAP[binName] ?? null;
185
+ if (config_js_3.AGENT_BIN_MAP[binName])
186
+ return config_js_3.AGENT_BIN_MAP[binName];
187
+ // Suporte a subcomando: `vibetachyon cipher` ou `vibetachyon vtcipher`
188
+ const subcommand = (process.argv[2] ?? '').toLowerCase().replace(/^vt/, '');
189
+ const subcommandMap = {
190
+ cipher: 'security',
191
+ quasar: 'architect',
192
+ lumen: 'frontend',
193
+ axiom: 'backend',
194
+ flux: 'performance',
195
+ prism: 'reviewer',
196
+ zenith: 'growth',
197
+ };
198
+ if (subcommandMap[subcommand]) {
199
+ // Remove o subcomando dos args para não confundir o commander
200
+ process.argv.splice(2, 1);
201
+ return subcommandMap[subcommand];
202
+ }
203
+ return null;
186
204
  }
187
205
  async function runInteractiveMode() {
188
206
  printBanner();
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "vibetachyon",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "VibeCodes MCP CLI Installer and Server",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "vibetachyon": "dist/index.js",
8
- "quasar": "dist/index.js",
9
- "lumen": "dist/index.js",
10
- "axiom": "dist/index.js",
11
- "cipher": "dist/index.js",
12
- "flux": "dist/index.js",
13
- "prism": "dist/index.js",
14
- "zenith": "dist/index.js",
15
- "nexus": "dist/index.js"
8
+ "vtquasar": "dist/index.js",
9
+ "vtlumen": "dist/index.js",
10
+ "vtaxiom": "dist/index.js",
11
+ "vtcipher": "dist/index.js",
12
+ "vtflux": "dist/index.js",
13
+ "vtprism": "dist/index.js",
14
+ "vtzenith": "dist/index.js",
15
+ "vtnexus": "dist/index.js"
16
16
  },
17
17
  "scripts": {
18
18
  "build": "tsc",