WIP: CLI running of plugs
This commit is contained in:
@@ -8,7 +8,7 @@ import { createSandbox } from "../plugos/environments/webworker_sandbox.ts";
|
||||
|
||||
import assetSyscalls from "../plugos/syscalls/asset.ts";
|
||||
import { eventSyscalls } from "../plugos/syscalls/event.ts";
|
||||
import { storeSyscalls } from "../plugos/syscalls/store.dexie_browser.ts";
|
||||
import { storeSyscalls } from "../plugos/syscalls/store.ts";
|
||||
import { SysCallMapping, System } from "../plugos/system.ts";
|
||||
import type { Client } from "./client.ts";
|
||||
import { CodeWidgetHook } from "./hooks/code_widget.ts";
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@ import { EventEmitter } from "../plugos/event.ts";
|
||||
import { plugPrefix } from "../common/spaces/constants.ts";
|
||||
import { safeRun } from "../common/util.ts";
|
||||
import { AttachmentMeta, PageMeta } from "./types.ts";
|
||||
import { DexieKVStore } from "../plugos/lib/kv_store.dexie.ts";
|
||||
import { throttle } from "../common/async_util.ts";
|
||||
import { KVStore } from "../plugos/lib/kv_store.ts";
|
||||
|
||||
export type SpaceEvents = {
|
||||
pageCreated: (meta: PageMeta) => void;
|
||||
@@ -46,7 +46,7 @@ export class Space extends EventEmitter<SpaceEvents> {
|
||||
|
||||
constructor(
|
||||
readonly spacePrimitives: SpacePrimitives,
|
||||
private kvStore: DexieKVStore,
|
||||
private kvStore: KVStore,
|
||||
) {
|
||||
super();
|
||||
this.kvStore.get("imageHeightCache").then((cache) => {
|
||||
|
||||
Reference in New Issue
Block a user