@bonginkan/maria 4.2.30 → 4.2.31
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/README.md +5 -5
- package/dist/READY.manifest.json +1 -1
- package/dist/bin/maria.cjs +27 -7
- package/dist/bin/maria.cjs.map +1 -1
- package/dist/cli.cjs +27 -7
- package/dist/cli.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/server/express-server.cjs +2 -2
- package/dist/server/express-server.cjs.map +1 -1
- package/package.json +2 -2
- package/src/slash-commands/READY.manifest.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -1893,7 +1893,7 @@ var init_AuthenticationManager = __esm({
|
|
|
1893
1893
|
const response2 = await fetch(`${this.apiBase}/api/user/profile`, {
|
|
1894
1894
|
headers: {
|
|
1895
1895
|
"Authorization": `Bearer ${tokens.accessToken}`,
|
|
1896
|
-
"User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.2.
|
|
1896
|
+
"User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.2.31"}`
|
|
1897
1897
|
}
|
|
1898
1898
|
});
|
|
1899
1899
|
if (response2.status === 401) {
|
|
@@ -11010,13 +11010,16 @@ var init_manager = __esm({
|
|
|
11010
11010
|
if (h2.ok) return p;
|
|
11011
11011
|
}
|
|
11012
11012
|
const order = [
|
|
11013
|
+
// Prefer cloud OpenAI when configured
|
|
11013
11014
|
"openai",
|
|
11015
|
+
// Prioritize local providers next for offline/dev environments
|
|
11016
|
+
"lmstudio",
|
|
11017
|
+
"ollama",
|
|
11018
|
+
"vllm",
|
|
11019
|
+
// Other clouds after local options
|
|
11014
11020
|
"anthropic",
|
|
11015
11021
|
"google",
|
|
11016
11022
|
"grok",
|
|
11017
|
-
"ollama",
|
|
11018
|
-
"lmstudio",
|
|
11019
|
-
"vllm",
|
|
11020
11023
|
"groq"
|
|
11021
11024
|
];
|
|
11022
11025
|
for (const id of order) {
|
|
@@ -12428,6 +12431,17 @@ var init_ai_response_service = __esm({
|
|
|
12428
12431
|
try {
|
|
12429
12432
|
await this.providerManager.initialize();
|
|
12430
12433
|
this.initialized = true;
|
|
12434
|
+
try {
|
|
12435
|
+
const noOpenAI = !process.env.OPENAI_API_KEY;
|
|
12436
|
+
const isMac = process.platform === "darwin";
|
|
12437
|
+
if (isMac && noOpenAI) {
|
|
12438
|
+
const available = new Set(this.providerManager.getAvailableProviders());
|
|
12439
|
+
if (available.has("lmstudio")) {
|
|
12440
|
+
this.providerManager.setActiveProvider("lmstudio");
|
|
12441
|
+
}
|
|
12442
|
+
}
|
|
12443
|
+
} catch {
|
|
12444
|
+
}
|
|
12431
12445
|
} catch {
|
|
12432
12446
|
this.initialized = false;
|
|
12433
12447
|
}
|
|
@@ -12453,6 +12467,12 @@ var init_ai_response_service = __esm({
|
|
|
12453
12467
|
maxTokens = 32e3
|
|
12454
12468
|
} = opts;
|
|
12455
12469
|
try {
|
|
12470
|
+
if (provider) {
|
|
12471
|
+
try {
|
|
12472
|
+
this.providerManager.setCurrentProvider(provider);
|
|
12473
|
+
} catch {
|
|
12474
|
+
}
|
|
12475
|
+
}
|
|
12456
12476
|
const res = await this.providerManager.complete({
|
|
12457
12477
|
prompt: `${system}
|
|
12458
12478
|
|
|
@@ -19130,8 +19150,8 @@ var require_package = __commonJS({
|
|
|
19130
19150
|
"package.json"(exports, module) {
|
|
19131
19151
|
module.exports = {
|
|
19132
19152
|
name: "@bonginkan/maria",
|
|
19133
|
-
version: "4.2.
|
|
19134
|
-
description: "\u{1F680} MARIA v4.2.
|
|
19153
|
+
version: "4.2.31",
|
|
19154
|
+
description: "\u{1F680} MARIA v4.2.31 - Enterprise AI Development Platform with 100% Command Availability. Features 74 production-ready commands with comprehensive fallback implementation, local LLM support, and zero external dependencies. Includes natural language coding, AI safety evaluation, intelligent evolution system, episodic memory with PII masking, and real-time monitoring dashboard. Built with TypeScript AST-powered code generation, OAuth2.0 + PKCE authentication, quantum-resistant cryptography, and enterprise-grade performance.",
|
|
19135
19155
|
keywords: [
|
|
19136
19156
|
"ai",
|
|
19137
19157
|
"cli",
|
|
@@ -31592,7 +31612,7 @@ var init_about_command = __esm({
|
|
|
31592
31612
|
async execute(args2, context2) {
|
|
31593
31613
|
const output3 = [];
|
|
31594
31614
|
output3.push("");
|
|
31595
|
-
output3.push(chalk28__default.default.cyan.bold("\u{1F916} About MARIA v4.2.
|
|
31615
|
+
output3.push(chalk28__default.default.cyan.bold("\u{1F916} About MARIA v4.2.31"));
|
|
31596
31616
|
output3.push(chalk28__default.default.gray("\u2550".repeat(40)));
|
|
31597
31617
|
output3.push("");
|
|
31598
31618
|
output3.push(chalk28__default.default.white.bold("MARIA - Minimal API, Maximum Power"));
|