feat(mcp): implement MCP infrastructure
- Add `mcp_settings` table to database schema - Enable internal MCP API endpoint via middleware header authentication - Introduce runtime log directory and capture utilities for diagnostics - Update build pipeline to capture build logs
This commit is contained in:
1 parent
ae9b554189
commit
b2669e2ad5
19 files changed
+3280
-20
No files matched your search
@@ -4,6 +4,17 @@ export async function register(): Promise<void> {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const {
|
||||
installRuntimeLogHook,
|
||||
syncStandaloneBuildArtifactsToLogsDir,
|
||||
} = await import("@/core/logs/runtimeLogCapture");
|
||||
installRuntimeLogHook("web");
|
||||
syncStandaloneBuildArtifactsToLogsDir();
|
||||
} catch {
|
||||
// Non-fatal if runtime log hook cannot initialize
|
||||
}
|
||||
|
||||
try {
|
||||
const { SettingsManager } = await import(
|
||||
"@/core/adminSettings/settingsManager"
|
||||
|
||||
Reference in new issue
Block a user