@bonginkan/maria 4.3.21 → 4.3.23
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 +4 -4
- package/dist/READY.manifest.json +1 -1
- package/dist/bin/maria.cjs +32 -6
- package/dist/bin/maria.cjs.map +1 -1
- package/dist/cli.cjs +32 -6
- 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 +1 -1
- package/dist/server/express-server.js +1 -1
- package/dist/server-express.cjs +1 -1
- package/dist/server-express.cjs.map +1 -1
- package/package.json +2 -2
- package/src/slash-commands/READY.manifest.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -1704,7 +1704,7 @@ var init_AuthenticationManager = __esm({
|
|
|
1704
1704
|
const response = await fetch(`${this.apiBase}/api/user/profile`, {
|
|
1705
1705
|
headers: {
|
|
1706
1706
|
"Authorization": `Bearer ${tokens2.accessToken}`,
|
|
1707
|
-
"User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.
|
|
1707
|
+
"User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.23"}`
|
|
1708
1708
|
}
|
|
1709
1709
|
});
|
|
1710
1710
|
if (response.status === 401) {
|
|
@@ -2407,7 +2407,7 @@ async function callApi(path60, init3 = {}) {
|
|
|
2407
2407
|
"Authorization": `Bearer ${token}`,
|
|
2408
2408
|
"X-Device-Id": getDeviceId(),
|
|
2409
2409
|
"X-Session-Id": getSessionId() || "",
|
|
2410
|
-
"User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.
|
|
2410
|
+
"User-Agent": `maria-cli/${process.env.CLI_VERSION || "4.3.23"}`,
|
|
2411
2411
|
"Content-Type": init3.headers?.["Content-Type"] || "application/json"
|
|
2412
2412
|
});
|
|
2413
2413
|
const doFetch = async (token) => {
|
|
@@ -14430,6 +14430,21 @@ var init_StatusCommand = __esm({
|
|
|
14430
14430
|
providers: dependencies.providers || []
|
|
14431
14431
|
});
|
|
14432
14432
|
}
|
|
14433
|
+
/**
|
|
14434
|
+
* Slash-commands adapter: map SystemCommandBase result to ISlashCommand result
|
|
14435
|
+
*/
|
|
14436
|
+
async execute(_args, _context) {
|
|
14437
|
+
const sys = await super.execute();
|
|
14438
|
+
const success = sys.endReason === "success";
|
|
14439
|
+
const data = sys.data;
|
|
14440
|
+
const message = typeof data?.output === "string" ? data.output : data?.format === "json" && data?.data ? JSON.stringify(data.data, null, 2) : "";
|
|
14441
|
+
return {
|
|
14442
|
+
success,
|
|
14443
|
+
message,
|
|
14444
|
+
data,
|
|
14445
|
+
metadata: { executionTime: sys.duration }
|
|
14446
|
+
};
|
|
14447
|
+
}
|
|
14433
14448
|
/**
|
|
14434
14449
|
* 内部実行処理
|
|
14435
14450
|
* 契約遵守・タイムアウト管理・メトリクス記録は基底クラスで実装済み
|
|
@@ -16106,8 +16121,8 @@ var require_package = __commonJS({
|
|
|
16106
16121
|
"package.json"(exports, module) {
|
|
16107
16122
|
module.exports = {
|
|
16108
16123
|
name: "@bonginkan/maria",
|
|
16109
|
-
version: "4.3.
|
|
16110
|
-
description: "\u{1F680} MARIA v4.3.
|
|
16124
|
+
version: "4.3.23",
|
|
16125
|
+
description: "\u{1F680} MARIA v4.3.23 - Enterprise AI Development Platform with identity system and character voice implementation. 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.",
|
|
16111
16126
|
keywords: [
|
|
16112
16127
|
"ai",
|
|
16113
16128
|
"cli",
|
|
@@ -23689,11 +23704,20 @@ var init_video_command = __esm({
|
|
|
23689
23704
|
model: cli.model,
|
|
23690
23705
|
seed: cli.seed
|
|
23691
23706
|
};
|
|
23692
|
-
const
|
|
23707
|
+
const resp = await callApi("/api/v1/video", {
|
|
23693
23708
|
method: "POST",
|
|
23694
23709
|
body: JSON.stringify(body),
|
|
23695
23710
|
headers: { "Content-Type": "application/json" }
|
|
23696
23711
|
});
|
|
23712
|
+
if (!resp.ok) {
|
|
23713
|
+
const data = await resp.json().catch(() => ({}));
|
|
23714
|
+
const code = data?.error ? String(data.error) : void 0;
|
|
23715
|
+
const msg = data?.message ? String(data.message) : `API error: ${resp.status}`;
|
|
23716
|
+
const hint = data?.hint ? String(data.hint) : "";
|
|
23717
|
+
const composed = hint ? `${msg} (${code || "error"}) \u2014 ${hint}` : code ? `${msg} (${code})` : msg;
|
|
23718
|
+
return this.error(composed);
|
|
23719
|
+
}
|
|
23720
|
+
const apiRes = await resp.json();
|
|
23697
23721
|
const filesInline = apiRes?.data?.filesInline || [];
|
|
23698
23722
|
if (filesInline.length > 0) {
|
|
23699
23723
|
const pathMod = await import('path');
|
|
@@ -23806,6 +23830,8 @@ var init_video_command = __esm({
|
|
|
23806
23830
|
}
|
|
23807
23831
|
return this.success(line);
|
|
23808
23832
|
} catch (e2) {
|
|
23833
|
+
const m2 = e2?.message ? String(e2.message) : String(e2);
|
|
23834
|
+
return this.error(m2.startsWith("ERROR:") ? m2 : `ERROR: ${m2}`);
|
|
23809
23835
|
}
|
|
23810
23836
|
}
|
|
23811
23837
|
const res = await runVideoPipeline({
|
|
@@ -25727,7 +25753,7 @@ var init_about_command = __esm({
|
|
|
25727
25753
|
async execute(args2, context2) {
|
|
25728
25754
|
const output3 = [];
|
|
25729
25755
|
output3.push("");
|
|
25730
|
-
output3.push(chalk40__default.default.cyan.bold("\u{1F916} About MARIA v4.3.
|
|
25756
|
+
output3.push(chalk40__default.default.cyan.bold("\u{1F916} About MARIA v4.3.23"));
|
|
25731
25757
|
output3.push(chalk40__default.default.gray("\u2550".repeat(40)));
|
|
25732
25758
|
output3.push("");
|
|
25733
25759
|
output3.push(chalk40__default.default.white.bold("MARIA - Minimal API, Maximum Power"));
|