@bonginkan/maria 4.1.13 → 4.1.15
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/READY.manifest.json +26 -26
- package/dist/bin/maria.cjs +72 -47
- package/dist/bin/maria.cjs.map +1 -1
- package/dist/cli.cjs +535 -510
- package/dist/cli.cjs.map +1 -1
- package/package.json +1 -1
- package/src/slash-commands/READY.manifest.json +26 -26
package/dist/READY.manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2.0.0",
|
|
3
|
-
"generatedAt": "2025-09-01T11:
|
|
3
|
+
"generatedAt": "2025-09-01T11:54:13.934Z",
|
|
4
4
|
"totalCommands": 64,
|
|
5
5
|
"readyCount": 59,
|
|
6
6
|
"partialCount": 0,
|
|
@@ -272,13 +272,6 @@
|
|
|
272
272
|
"depsAvailable": true,
|
|
273
273
|
"description": "About MARIA - version, features, and credits"
|
|
274
274
|
},
|
|
275
|
-
"configuration/unknown": {
|
|
276
|
-
"status": "READY",
|
|
277
|
-
"hasExecute": true,
|
|
278
|
-
"hasMetadata": false,
|
|
279
|
-
"depsAvailable": true,
|
|
280
|
-
"description": "Handle unknown command fallback"
|
|
281
|
-
},
|
|
282
275
|
"configuration/setup": {
|
|
283
276
|
"status": "READY",
|
|
284
277
|
"hasExecute": true,
|
|
@@ -307,26 +300,26 @@
|
|
|
307
300
|
"depsAvailable": true,
|
|
308
301
|
"description": "Generate code with AI assistance"
|
|
309
302
|
},
|
|
310
|
-
"
|
|
303
|
+
"ai/gpu": {
|
|
311
304
|
"status": "READY",
|
|
312
305
|
"hasExecute": true,
|
|
313
306
|
"hasMetadata": true,
|
|
314
307
|
"depsAvailable": true,
|
|
315
|
-
"description": "
|
|
308
|
+
"description": "GPU management and monitoring"
|
|
316
309
|
},
|
|
317
|
-
"business/
|
|
310
|
+
"business/sales-dashboard": {
|
|
318
311
|
"status": "READY",
|
|
319
312
|
"hasExecute": true,
|
|
320
313
|
"hasMetadata": true,
|
|
321
314
|
"depsAvailable": true,
|
|
322
|
-
"description": "
|
|
315
|
+
"description": "Sales metrics and dashboard"
|
|
323
316
|
},
|
|
324
|
-
"
|
|
317
|
+
"business/battlecard": {
|
|
325
318
|
"status": "READY",
|
|
326
319
|
"hasExecute": true,
|
|
327
320
|
"hasMetadata": true,
|
|
328
321
|
"depsAvailable": true,
|
|
329
|
-
"description": "
|
|
322
|
+
"description": "Competitive battlecard generator"
|
|
330
323
|
},
|
|
331
324
|
"system/terminal-setup": {
|
|
332
325
|
"status": "READY",
|
|
@@ -344,7 +337,7 @@
|
|
|
344
337
|
},
|
|
345
338
|
"analysis/research": {
|
|
346
339
|
"status": "BROKEN",
|
|
347
|
-
"error": "
|
|
340
|
+
"error": "The requested module '../shared/handlers/SlashCommandHandler.js' does not provide an export named 'withLightPipe'",
|
|
348
341
|
"hasExecute": false,
|
|
349
342
|
"hasMetadata": false,
|
|
350
343
|
"depsAvailable": false,
|
|
@@ -378,6 +371,13 @@
|
|
|
378
371
|
"depsAvailable": true,
|
|
379
372
|
"description": "Select and configure AI model"
|
|
380
373
|
},
|
|
374
|
+
"configuration/unknown": {
|
|
375
|
+
"status": "READY",
|
|
376
|
+
"hasExecute": true,
|
|
377
|
+
"hasMetadata": false,
|
|
378
|
+
"depsAvailable": true,
|
|
379
|
+
"description": "Handle unknown command fallback"
|
|
380
|
+
},
|
|
381
381
|
"configuration/config": {
|
|
382
382
|
"status": "READY",
|
|
383
383
|
"hasExecute": true,
|
|
@@ -385,14 +385,6 @@
|
|
|
385
385
|
"depsAvailable": true,
|
|
386
386
|
"description": "Configuration management"
|
|
387
387
|
},
|
|
388
|
-
"monitoring/monitor": {
|
|
389
|
-
"status": "BROKEN",
|
|
390
|
-
"error": "Transform failed with 1 error:\n/Users/bongin_max/maria_code/src/shared/handlers/SlashCommandHandlerV2.ts:30:9: ERROR: Multiple exports with the same name \"SlashCommandHandler\"",
|
|
391
|
-
"hasExecute": false,
|
|
392
|
-
"hasMetadata": false,
|
|
393
|
-
"depsAvailable": false,
|
|
394
|
-
"description": "Real-time system monitoring dashboard"
|
|
395
|
-
},
|
|
396
388
|
"memory/memory-service": {
|
|
397
389
|
"status": "READY",
|
|
398
390
|
"hasExecute": true,
|
|
@@ -400,6 +392,14 @@
|
|
|
400
392
|
"depsAvailable": true,
|
|
401
393
|
"description": "Advanced memory service operations"
|
|
402
394
|
},
|
|
395
|
+
"monitoring/monitor": {
|
|
396
|
+
"status": "BROKEN",
|
|
397
|
+
"error": "The requested module '../shared/handlers/SlashCommandHandler.js' does not provide an export named 'withLightPipe'",
|
|
398
|
+
"hasExecute": false,
|
|
399
|
+
"hasMetadata": false,
|
|
400
|
+
"depsAvailable": false,
|
|
401
|
+
"description": "Real-time system monitoring dashboard"
|
|
402
|
+
},
|
|
403
403
|
"evolution/evolve": {
|
|
404
404
|
"status": "READY",
|
|
405
405
|
"hasExecute": true,
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
},
|
|
410
410
|
"core/enhanced-help": {
|
|
411
411
|
"status": "BROKEN",
|
|
412
|
-
"error": "
|
|
412
|
+
"error": "The requested module '../shared/handlers/SlashCommandHandler.js' does not provide an export named 'withLightPipe'",
|
|
413
413
|
"hasExecute": false,
|
|
414
414
|
"hasMetadata": false,
|
|
415
415
|
"depsAvailable": false,
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
},
|
|
418
418
|
"configuration/hooks": {
|
|
419
419
|
"status": "BROKEN",
|
|
420
|
-
"error": "
|
|
420
|
+
"error": "The requested module '../shared/handlers/SlashCommandHandler.js' does not provide an export named 'withLightPipe'",
|
|
421
421
|
"hasExecute": false,
|
|
422
422
|
"hasMetadata": false,
|
|
423
423
|
"depsAvailable": false,
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
},
|
|
454
454
|
"business/analytics": {
|
|
455
455
|
"status": "BROKEN",
|
|
456
|
-
"error": "
|
|
456
|
+
"error": "The requested module '../shared/handlers/SlashCommandHandler.js' does not provide an export named 'withLightPipe'",
|
|
457
457
|
"hasExecute": false,
|
|
458
458
|
"hasMetadata": false,
|
|
459
459
|
"depsAvailable": false,
|
package/dist/bin/maria.cjs
CHANGED
|
@@ -21245,7 +21245,7 @@ var init_package = __esm({
|
|
|
21245
21245
|
"package.json"() {
|
|
21246
21246
|
package_default = {
|
|
21247
21247
|
name: "@bonginkan/maria",
|
|
21248
|
-
version: "4.1.
|
|
21248
|
+
version: "4.1.15",
|
|
21249
21249
|
description: "\u{1F680} MARIA v4.1.4 - Complete Multimodal AI Integration & Enterprise Platform. Revolutionary voice-to-code, image-to-code, and 73 production-ready commands with advanced memory systems. World's first TypeScript AST-powered code generation with GraphRAG intelligence, multilingual support, and dual-architecture cognitive memory. Features zero-error development, OAuth2.0 + PKCE authentication, and military-grade security. Delivers next-generation multimodal development experience with enterprise-grade performance.",
|
|
21250
21250
|
keywords: [
|
|
21251
21251
|
"ai",
|
|
@@ -29103,6 +29103,14 @@ var init_HelpCommand = __esm({
|
|
|
29103
29103
|
lines.push(" /help --stats - Performance statistics");
|
|
29104
29104
|
lines.push(" /help --search <term> - Search with fuzzy matching");
|
|
29105
29105
|
lines.push("");
|
|
29106
|
+
let globalMaxNameLength = 0;
|
|
29107
|
+
for (const category of categories) {
|
|
29108
|
+
const showCommands = category.commands.slice(0, 4);
|
|
29109
|
+
for (const cmd of showCommands) {
|
|
29110
|
+
globalMaxNameLength = Math.max(globalMaxNameLength, cmd.name.length);
|
|
29111
|
+
}
|
|
29112
|
+
}
|
|
29113
|
+
globalMaxNameLength = Math.max(globalMaxNameLength, 18) + 1;
|
|
29106
29114
|
for (const category of categories) {
|
|
29107
29115
|
lines.push(`**${category.name.toUpperCase()} (${category.count})**`);
|
|
29108
29116
|
const showCommands = category.commands.slice(0, 4);
|
|
@@ -29114,10 +29122,12 @@ var init_HelpCommand = __esm({
|
|
|
29114
29122
|
/\*GPU needed - Local LLM only \(Pro\+ members only\)/g,
|
|
29115
29123
|
""
|
|
29116
29124
|
).trim();
|
|
29117
|
-
|
|
29125
|
+
const paddedName = `/${cmd.name}`.padEnd(globalMaxNameLength + 5);
|
|
29126
|
+
lines.push(` ${paddedName} - ${description}`);
|
|
29118
29127
|
lines.push(` *GPU needed - Local LLM (Pro+ only)`);
|
|
29119
29128
|
} else {
|
|
29120
|
-
|
|
29129
|
+
const paddedName = `/${cmd.name}`.padEnd(globalMaxNameLength + 5);
|
|
29130
|
+
lines.push(` ${paddedName} - ${description}`);
|
|
29121
29131
|
}
|
|
29122
29132
|
}
|
|
29123
29133
|
if (category.count > 4) {
|
|
@@ -29220,7 +29230,26 @@ var init_HelpCommand = __esm({
|
|
|
29220
29230
|
*/
|
|
29221
29231
|
formatCategoryHelp(categoryName, commands) {
|
|
29222
29232
|
const lines = [];
|
|
29223
|
-
const
|
|
29233
|
+
const emojiMap = {
|
|
29234
|
+
core: "\u26A1",
|
|
29235
|
+
system: "\u{1F6E0}\uFE0F",
|
|
29236
|
+
configuration: "\u2699\uFE0F",
|
|
29237
|
+
ai: "\u{1F916}",
|
|
29238
|
+
code: "\u{1F4BB}",
|
|
29239
|
+
memory: "\u{1F9E0}",
|
|
29240
|
+
business: "\u{1F4BC}",
|
|
29241
|
+
research: "\u{1F4DA}",
|
|
29242
|
+
monitoring: "\u{1F4CA}",
|
|
29243
|
+
auth: "\u{1F510}",
|
|
29244
|
+
conversation: "\u{1F4AC}",
|
|
29245
|
+
evaluation: "\u{1F9EA}",
|
|
29246
|
+
evolution: "\u{1F680}",
|
|
29247
|
+
graphrag: "\u{1F50D}",
|
|
29248
|
+
learning: "\u{1F4D6}",
|
|
29249
|
+
multilingual: "\u{1F30D}",
|
|
29250
|
+
unknown: "\u2753"
|
|
29251
|
+
};
|
|
29252
|
+
const emoji = emojiMap[categoryName.toLowerCase()] || "\u{1F4CB}";
|
|
29224
29253
|
lines.push("");
|
|
29225
29254
|
lines.push(`${emoji} **${categoryName.toUpperCase()} COMMANDS** (${commands.length} READY)`);
|
|
29226
29255
|
lines.push("\u2550".repeat(50));
|
|
@@ -32127,7 +32156,29 @@ function createFallbackStore() {
|
|
|
32127
32156
|
function parseSlash(input3) {
|
|
32128
32157
|
const normalized = input3.replace(/[\s\u3000]+/g, " ").trim();
|
|
32129
32158
|
const parts = normalized.slice(1).split(" ");
|
|
32130
|
-
|
|
32159
|
+
const cmd = parts[0].toLowerCase();
|
|
32160
|
+
const args = parts.slice(1);
|
|
32161
|
+
const options = {};
|
|
32162
|
+
const flags = [];
|
|
32163
|
+
const positional = [];
|
|
32164
|
+
for (let i2 = 0; i2 < args.length; i2++) {
|
|
32165
|
+
const arg = args[i2];
|
|
32166
|
+
if (arg.startsWith("--")) {
|
|
32167
|
+
const flagName = arg.slice(2);
|
|
32168
|
+
const nextArg = args[i2 + 1];
|
|
32169
|
+
if (nextArg && !nextArg.startsWith("-")) {
|
|
32170
|
+
options[flagName] = nextArg;
|
|
32171
|
+
i2++;
|
|
32172
|
+
} else {
|
|
32173
|
+
flags.push(flagName);
|
|
32174
|
+
}
|
|
32175
|
+
} else if (arg.startsWith("-") && arg.length === 2) {
|
|
32176
|
+
flags.push(arg.slice(1));
|
|
32177
|
+
} else {
|
|
32178
|
+
positional.push(arg);
|
|
32179
|
+
}
|
|
32180
|
+
}
|
|
32181
|
+
return { cmd, args: positional, options, flags };
|
|
32131
32182
|
}
|
|
32132
32183
|
function requiresAuth(cmd) {
|
|
32133
32184
|
const normalizedCommand = `/${cmd}`;
|
|
@@ -32163,18 +32214,25 @@ async function enforceAuth(cmd) {
|
|
|
32163
32214
|
}
|
|
32164
32215
|
async function handleSlash(input3) {
|
|
32165
32216
|
if (!input3.startsWith("/")) return false;
|
|
32166
|
-
const { cmd, args } = parseSlash(input3);
|
|
32217
|
+
const { cmd, args, options, flags } = parseSlash(input3);
|
|
32167
32218
|
if (cmd === "help" || cmd === "h" || cmd === "?") {
|
|
32168
32219
|
try {
|
|
32169
32220
|
const { HelpCommand: HelpCommand2 } = await Promise.resolve().then(() => (init_HelpCommand(), HelpCommand_exports)).catch(() => ({}));
|
|
32170
32221
|
if (HelpCommand2) {
|
|
32171
32222
|
const helpCmd = new HelpCommand2();
|
|
32223
|
+
const flagsObj = {};
|
|
32224
|
+
flags.forEach((flag) => flagsObj[flag] = true);
|
|
32225
|
+
Object.entries(options).forEach(([key2, value]) => {
|
|
32226
|
+
if (value === "true" || value === "1") {
|
|
32227
|
+
flagsObj[key2] = true;
|
|
32228
|
+
}
|
|
32229
|
+
});
|
|
32172
32230
|
const result = await helpCmd.execute(
|
|
32173
32231
|
{
|
|
32174
|
-
raw: args,
|
|
32232
|
+
raw: args.join(" "),
|
|
32175
32233
|
parsed: { _positional: args },
|
|
32176
|
-
options
|
|
32177
|
-
flags:
|
|
32234
|
+
options,
|
|
32235
|
+
flags: flagsObj
|
|
32178
32236
|
},
|
|
32179
32237
|
{
|
|
32180
32238
|
session: { id: "cli", commandHistory: [] },
|
|
@@ -32328,7 +32386,7 @@ Chat:
|
|
|
32328
32386
|
const result = await loginCmd.execute();
|
|
32329
32387
|
return true;
|
|
32330
32388
|
} else {
|
|
32331
|
-
const
|
|
32389
|
+
const options2 = {
|
|
32332
32390
|
device: args.includes("--device"),
|
|
32333
32391
|
force: args.includes("--force")
|
|
32334
32392
|
};
|
|
@@ -32343,7 +32401,7 @@ Chat:
|
|
|
32343
32401
|
console.log(import_chalk18.default.gray("Use /login to sign in"));
|
|
32344
32402
|
}
|
|
32345
32403
|
} else {
|
|
32346
|
-
const result = await authManager.login(
|
|
32404
|
+
const result = await authManager.login(options2);
|
|
32347
32405
|
if (result.success && result.user) {
|
|
32348
32406
|
console.log(import_chalk18.default.green("\u2705 Successfully logged in!"));
|
|
32349
32407
|
console.log(import_chalk18.default.white(`\u{1F464} User: ${import_chalk18.default.cyan(result.user.email)}`));
|
|
@@ -33065,26 +33123,9 @@ async function startInteractiveSession() {
|
|
|
33065
33123
|
if (interactiveCLI) {
|
|
33066
33124
|
while (true) {
|
|
33067
33125
|
try {
|
|
33068
|
-
const
|
|
33069
|
-
|
|
33070
|
-
const MIN_WIDTH = 40;
|
|
33071
|
-
const MAX_WIDTH = 120;
|
|
33072
|
-
const availableWidth = terminalWidth - FIXED_MARGIN * 2;
|
|
33073
|
-
const boxWidth = Math.min(Math.max(MIN_WIDTH, availableWidth), MAX_WIDTH);
|
|
33074
|
-
let leftPadding;
|
|
33075
|
-
if (boxWidth === MAX_WIDTH && terminalWidth > MAX_WIDTH + FIXED_MARGIN * 2) {
|
|
33076
|
-
const totalPadding = terminalWidth - boxWidth;
|
|
33077
|
-
leftPadding = " ".repeat(Math.floor(totalPadding / 2));
|
|
33078
|
-
} else {
|
|
33079
|
-
leftPadding = " ".repeat(FIXED_MARGIN);
|
|
33080
|
-
}
|
|
33081
|
-
const promptSymbol = "> ";
|
|
33082
|
-
const promptLength = 2;
|
|
33083
|
-
process.stdout.write(leftPadding + import_chalk18.default.white("\u2502 ") + import_chalk18.default.cyan(promptSymbol));
|
|
33126
|
+
const prompt = import_chalk18.default.gray("> ");
|
|
33127
|
+
process.stdout.write(prompt);
|
|
33084
33128
|
const line = await interactiveCLI.question("");
|
|
33085
|
-
const inputLength = line.length + promptLength;
|
|
33086
|
-
const remainingSpace = Math.max(0, boxWidth - inputLength - 4);
|
|
33087
|
-
process.stdout.write(" ".repeat(remainingSpace) + import_chalk18.default.white(" \u2502"));
|
|
33088
33129
|
console.log();
|
|
33089
33130
|
if (line.toLowerCase() === "exit" || line.toLowerCase() === "quit") {
|
|
33090
33131
|
await stop();
|
|
@@ -33104,24 +33145,8 @@ async function startInteractiveSession() {
|
|
|
33104
33145
|
const rl = readline5.createInterface({ input: import_node_process3.stdin, output: import_node_process3.stdout });
|
|
33105
33146
|
while (true) {
|
|
33106
33147
|
try {
|
|
33107
|
-
const
|
|
33108
|
-
const FIXED_MARGIN = 3;
|
|
33109
|
-
const MIN_WIDTH = 40;
|
|
33110
|
-
const MAX_WIDTH = 120;
|
|
33111
|
-
const availableWidth = terminalWidth - FIXED_MARGIN * 2;
|
|
33112
|
-
const boxWidth = Math.min(Math.max(MIN_WIDTH, availableWidth), MAX_WIDTH);
|
|
33113
|
-
let leftPadding;
|
|
33114
|
-
if (boxWidth === MAX_WIDTH && terminalWidth > MAX_WIDTH + FIXED_MARGIN * 2) {
|
|
33115
|
-
const totalPadding = terminalWidth - boxWidth;
|
|
33116
|
-
leftPadding = " ".repeat(Math.floor(totalPadding / 2));
|
|
33117
|
-
} else {
|
|
33118
|
-
leftPadding = " ".repeat(FIXED_MARGIN);
|
|
33119
|
-
}
|
|
33120
|
-
const prompt = leftPadding + import_chalk18.default.white("\u2502 ") + import_chalk18.default.cyan("> ");
|
|
33148
|
+
const prompt = import_chalk18.default.gray("> ");
|
|
33121
33149
|
const line = await rl.question(prompt);
|
|
33122
|
-
const inputLength = line.length + 2;
|
|
33123
|
-
const remainingSpace = Math.max(0, boxWidth - inputLength - 4);
|
|
33124
|
-
process.stdout.write(" ".repeat(remainingSpace) + import_chalk18.default.white(" \u2502"));
|
|
33125
33150
|
console.log();
|
|
33126
33151
|
if (line.toLowerCase() === "exit" || line.toLowerCase() === "quit") {
|
|
33127
33152
|
await stop();
|