Add Mode1Svelte - independent copy of Mode1 for future SvelteKit integration

- Created Mode1Svelte as complete standalone project
- Identical to Mode1 currently (Hono backend + Vite frontend)
- Separate auth-module copy (no dependencies on Mode1)
- Updated orchestrator to default to Mode1Svelte
- Both Mode1 and Mode1Svelte are independent and interchangeable via ModeSwitch
- Ready for gradual Svelte/SvelteKit migration while maintaining API compatibility
This commit is contained in:
2026-01-22 05:53:15 +00:00
parent 1fdc87f7f4
commit 5a4a3c51e9
12 changed files with 1967 additions and 1 deletions
+2 -1
View File
@@ -11,10 +11,11 @@ const ORCHESTRATOR_PORT = 3006; // Orchestrator API runs here
// Mode folder mappings - only Mode6Test exists currently
const MODE_FOLDERS: Record<string, string> = {
'Mode1': 'Mode1',
'Mode1Svelte': 'Mode1Svelte',
'Mode6Test': 'Mode6Test',
};
let currentMode: string = 'Mode6Test';
let currentMode: string = 'Mode1Svelte';
let currentProcess: any = null;
// Helper: Read active mode from config file