feat: enhance logging capabilities, implement runtime diagnostics, and update preinstalled skills metadata

This commit is contained in:
DEV_DSW
2026-04-27 17:00:51 +08:00
parent 90e02636c7
commit 2081f583e3
9 changed files with 354 additions and 24 deletions

View File

@@ -25,6 +25,8 @@ export async function handleLogRoutes(
try {
return ok({
content: await logManager.readRecentLogText(parseTailLines(url.searchParams.get('tailLines'))),
directory: logManager.getLogDirectoryPath(),
currentFile: logManager.getCurrentLogFilePath(),
});
} catch (error) {
return fail(500, error instanceof Error ? error.message : String(error));