docs: update architecture documentation and manifests

Refine technical documentation to reflect current architecture, component structure, and routing conventions for the vcon console.
This commit is contained in:
Team Dark Devil committed 2026-11-17 21:22:55 +06:00
1 parent bb938c33c0
commit 367dd819f8
64 files changed
+910 -2661

No files matched your search

+14
View File
@@ -18,6 +18,7 @@ interface BufferGlobalState {
type BufferGlobals = typeof globalThis & {
__dataStackBufferState?: BufferGlobalState;
__dataStackBufferShutdownRegistered?: boolean;
};
const globals = globalThis as BufferGlobals;
@@ -66,6 +67,19 @@ export class DataBufferEngine {
void this.flush();
}, state.batchFlushIntervalMs);
}
if (
typeof process !== 'undefined' &&
typeof process.on === 'function' &&
!globals.__dataStackBufferShutdownRegistered
) {
globals.__dataStackBufferShutdownRegistered = true;
const flushOnExit = () => {
void this.flush().catch(() => undefined);
};
process.on('SIGTERM', flushOnExit);
process.on('SIGINT', flushOnExit);
}
}
/**