shell work, json deserializer working, not fully tested but should produce a correct base map

This commit is contained in:
2026-08-12 11:01:07 +02:00
parent 0149937526
commit 3ec3de71f4
8 changed files with 164 additions and 13 deletions
+7 -2
View File
@@ -1,5 +1,6 @@
import { FileSystem } from "@core/filesystem/filesystem";
import type { Result } from "@core/result";
import { type ShellState } from "@core/shell_state";
import { createInitialShellState, type ShellState } from "@core/shell_state";
import type { ShellError } from "@core/util/errors";
export class Shell {
@@ -19,7 +20,11 @@ export class Shell {
if (Shell.#promise) return Shell.#promise;
const state; //Create initial shell state,
const fs = FileSystem.init()
const users =
const sessionStack =
const state: ShellState = createInitialShellState(); //Create initial shell state,
Shell.#promise = (async () => {
try {