shell work, json deserializer working, not fully tested but should produce a correct base map
This commit is contained in:
+7
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user