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.
- package/dist/core/persona/config.js +7 -7
- package/dist/index.js +20 -2
- package/package.json +9 -9
|
@@ -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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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: `
|
|
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
|
-
|
|
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.
|
|
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
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
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",
|