// The web runtime's core surface (docs/WEB-APP.md): everything the // SharedWorker needs, gathered in one importable module. This file is also // the browser-portability gate — `deno task check:web` bundles it with // --platform browser, so a Deno- or Node-only dependency sneaking into the // portable core fails the build instead of failing in someone's browser. export { MemoryFs, setZiranFs, zfs, type ZiranFs } from '../lib/zfs.ts'; export { passwordSession, rawCid, type SessionAuth, SpaceClient, XrpcError } from '../sync/spaces/client.ts'; export { type SpacesHost, SpacesProvider, type SpacesProviderOptions } from '../sync/spaces/provider.ts'; export { makeSessionFetch } from '../sync/spaces/session-fetch.ts'; export { LITERAL_SCOPES, ZIRAN_INBOX_TYPE, ZIRAN_PERMISSION_SET, ZIRAN_SCOPE, ZIRAN_SPACE_TYPE } from '../sync/spaces/scope.ts'; export { instantiateFromCheckpoint, publishCheckpoint } from '../sync/spaces/checkpoint.ts'; export { loadRegistry, saveRegistry } from '../sync/spaces/registry.ts'; export { docIdForPath, parseTile, readResource, readTileData, setTileAt, writeTile, writeTileData } from '../server/tilefile.ts'; export type { CollabProvider, ProviderSummary } from '../sync/provider.ts';