/** * `@vendoai/apps` — the app engine, node-only. * * The package root is the 06 §1 public API and nothing else. Everything the * runtime uses to get its work done — the generation engine, interchange * plumbing, persistence — is internal and reachable only through AppsRuntime. * A comment below each export block says why that block is public, because * "why is this public?" is the only question this file cannot answer itself. * * The FORMAT this engine produces lives on the browser-safe sibling door, * `@vendoai/apps/contract`. Anything a surface needs to speak about an app — * the document, the dialects, the kit, the wire shapes — is there, not here. */ export { createApps, type AppsConfig, type AppsRuntime, type AuthoredAppResult, type AutomationAuthorResult, type BoxRequest, type BoxResponse, type EditFailure, type EditResult, type OpenSurface, type SeedFromInput, type PlacementEntry, type VersionEntry, } from "./runtime/runtime.js"; export type { SlotDescriptor, SlotEntry, SlotRegistry, } from "./persistence/slots.js"; export type { SandboxAdapter, SandboxMachine, SandboxResumePolicy } from "./escalation/sandbox.js"; export { shareSnapshotSchema, publishRecordSchema, type CloudAppsClient, type PublishRecord, type ShareSnapshot, } from "./persistence/cloud.js"; export { createAppHistory, type AppHistoryAccess } from "./persistence/history.js"; export { createAppSql, APP_SQL_MAX_ROWS, type AppSqlAccess, type AppSqlResult } from "./persistence/app-sql.js"; export { guardSql, mineTable, sharedTable, sqlRisk, type GuardedSql } from "./persistence/app-sql-guard.js"; export { appSqlDescriptor, runAppSql, VENDO_APPS_SQL_TOOL } from "./doors/sql-tool.js"; export { seedBaselineSchema, seedComponentName, seedDrift, type SeedBaseline, type SeedDrift, } from "../contract/index.js"; export type { HostToolInfo } from "./generation/engine.js"; export { planAutomation, type AutomationPlan, type AutomationPlanInput } from "./automation/plan.js"; export { acceptsSamplingParams, UNKNOWN_MODEL_MAX_OUTPUT_TOKENS, } from "./runtime/model-params.js"; export type { GenerationDependencies } from "./generation/engine.js"; export { agentToolDescriptors } from "./doors/agent-tools.js"; export { buildingAppsSkill } from "./skills/building-apps.js"; export { commitApp, readBundleBlob, sealBundleBlobs, type AppSourceSeam, } from "./persistence/app-source.js"; export { updateAppRow } from "./persistence/persistence.js"; export { buildFailureReason } from "./doors/build-messages.js"; export { BUNDLE_CSP, BUNDLE_HEADERS } from "./doors/build-door.js"; export { HOT_PATH_FILES, HOT_PATH_WATCH, hotPathAppId, paintedIn, unpaintedIn, viewForWrite, wrapWorkspaceForRender, type PaintAttempt, type RenderSeamOptions, type UnpaintedReason, } from "./generation/render-seam.js"; export { repairInstruction, validateWrittenApps, VALIDATE_TOOL, type AppValidationFailure, } from "./generation/validate-gate.js"; /** * Cross-block internals — NOT a host surface, and previously the * `@vendoai/apps/internal` subpath. The emitted-payload assembly and the field * stripping that goes with it; the render seam that consumes them lives in this * package and reaches them relatively. */ export { assembleTree } from "./runtime/runtime.js"; export { stripServerAuthoritativeFields } from "../contract/index.js"; /** * The checks floor, built (§7.1). Composition reaches it through * `AppsRuntime.floor(ctx)`, which is the supported path; this export exists so the * render seam's own tests can drive the REAL floor rather than a double of it — * the seam is a producer/consumer seam, and the repo's standing lesson is that a * harness which mocks its counterparty proves nothing. */ export { createAppFloor, type AppFloorOptions } from "./checking/floor.js"; /** * The screen toolchain (`AppsConfig.toolchain`) — the adapter slot the gauntlet * compiles, type-checks and paints through. Public because the implementation is * not always ours: a deployment whose checks run where esbuild, the `typescript` * package and the QuickJS build are not reachable writes its own, and it cannot * write one against an interface it cannot name. */ export { ScreenToolchainUnavailable, type ScreenPaintInput, type ScreenPaintResult, type ScreenToolchain, type ScreenTransform, type ScreenTypecheckInput, type ScreenTypecheckResult, } from "./checking/toolchain.js"; export type { ComponentScreenIssue } from "./checking/component-screen.js"; /** * The checks-floor gauntlet itself, exported for the same reason as the floor * above: the hand that SYNCS a ported component is not in this package, and a * port nothing checked is a port nobody can trust. */ export { PORTED_SCREEN_DIALECT, checkComponentScreen, type ComponentScreenCheck, type ComponentScreenOptions, } from "./checking/component-screen.js"; export { SCREEN_FILE } from "../contract/genui/component/index.js"; export { screenName } from "./checking/component-screen.js"; export { e2bInstalled, e2bSandbox, type E2BSandboxOptions } from "./escalation/e2b/index.js"; export { selectSandbox, type CloudSandboxRung, type SandboxSelection, type SandboxVenue, } from "./escalation/sandbox-ladder.js"; //# sourceMappingURL=index.d.ts.map