Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
export {
marshalRequest,
unmarshalResponse,
unmarshalRoutes,
} from "./abi-direct/marshal/index.js";
export {
allocBuffer,
classifyTrap,
freeBuffer,
readBytes,
type TrapKind,
unpackPointerLength,
writeBytes,
} from "./abi-direct/memory/index.js";
export {
REQUIRED_WASM_ABI_SYMBOLS,
type RequiredWasmAbiSymbol,
validateWasmAbi,
type WasmAbiExports,
} from "./abi-direct/wasm-abi/index.js";
export type { WasmAbiVariant } from "./bridge/index.js";
export {
type CreateSandboxedWasmPluginModuleOptions,
createSandboxedWasmPluginModule,
type SandboxedWasmPluginInstall,
type SandboxedWasmPluginModule,
} from "./bridge/index.js";
export {
SAND_WASM_BRIDGE_CODES,
SAND_WASM_BRIDGE_ERROR_NAME,
type SandboxWasmBridgeCode,
SandboxWasmBridgeError,
} from "./error-codes/index.js";
export {
createSandboxWasmBridgeInstruments,
SAND_WASM_BRIDGE_COUNTER_NAMES,
SAND_WASM_BRIDGE_HISTOGRAM_NAMES,
type SandboxWasmBridgeCounterName,
type SandboxWasmBridgeHistogramName,
type SandboxWasmBridgeInstruments,
type SandboxWasmBridgeInstrumentsConfig,
} from "./instruments/index.js";
export {
createIdempotentLifecycle,
type IdempotentLifecycle,
type IdempotentLifecycleDeps,
type LifecyclePhase,
} from "./lifecycle/index.js";
export { discoverRoutes } from "./route-discovery/index.js";
export {
decodeWasiStdioFrame,
encodeWasiStdioFrame,
MAX_WASI_STDIO_FRAME_BYTES,
PluginEnvelopeInSchema,
PluginEnvelopeOutSchema,
} from "./wasi-stdio/index.js";