feat: add configuration backup, sync, and version checker services

- Implemented ConfigBackupService for backing up local configuration files.
- Added ConfigSyncService to download configuration files from GitHub with remote-first conflict resolution.
- Created VersionChecker to check application version against the latest GitHub release with caching.
- Introduced security validation utilities for input validation to prevent common vulnerabilities.
- Developed utility functions to start and stop Docusaurus documentation server.
This commit is contained in:
catlog22
2026-02-05 17:32:31 +08:00
parent 834951a08d
commit 5cfeb59124
265 changed files with 8714 additions and 1408 deletions

View File

@@ -2,6 +2,11 @@ import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
docs: [
{
type: 'doc',
id: 'index',
label: 'Home',
},
{
type: 'doc',
id: 'overview',
@@ -155,44 +160,6 @@ const sidebars: SidebarsConfig = {
},
],
},
{
type: 'category',
label: 'Memory Commands',
collapsible: true,
collapsed: false,
items: [
{
type: 'doc',
id: 'commands/memory/memory-update-full',
label: 'memory-update-full',
},
{
type: 'doc',
id: 'commands/memory/memory-update-related',
label: 'memory-update-related',
},
{
type: 'doc',
id: 'commands/memory/memory-load',
label: 'memory-load',
},
{
type: 'doc',
id: 'commands/memory/memory-docs-full-cli',
label: 'memory-docs-full-cli',
},
{
type: 'doc',
id: 'commands/memory/memory-docs-related-cli',
label: 'memory-docs-related-cli',
},
{
type: 'doc',
id: 'commands/memory/memory-compact',
label: 'memory-compact',
},
],
},
],
},
{