veryfront/extensions

Import

TypeScript
import {  assertImageOptimizationEngine,  assertSystemReadCapability,  auditCapabilities,  captureImageOptimizationEngine,  captureRedisRuntimeProvider,  composeAbortSignals,} from "veryfront/extensions";

Examples

TypeScript
import { orchestrateExtensions } from "veryfront/extensions"; const loader = await orchestrateExtensions({  projectDir: Deno.cwd(),  config,  logger,}); // Later, on shutdown:await loader.teardownAll();

Exports

Components

NameDescriptionSource
CIRCULAR_DEPENDENCY_ERRORShared circular dependency error value.source
EXTENSION_CONFLICT_ERRORShared extension conflict error value.source
EXTENSION_VALIDATION_ERRORShared extension validation error value.source
ImageOptimizationEngineNameRegistry name used for the image optimization extension contract.source
MAX_IMAGE_OPTIMIZATION_ENGINE_IDENTITY_CHARACTERSMaximum stable implementation identity accepted across the boundary.source
MISSING_EXTENSION_ERRORShared missing extension error value.source
RedisRuntimeProviderNameRegistry name used by the Redis runtime extension.source
SandboxShellToolsProviderNameRender sandbox shell tools provider name.source

Functions

NameDescriptionSource
assertImageOptimizationEngineValidate an implementation received through the dynamic contract registry.source
assertSystemReadCapabilityValidate the bounded scope required by a system:read capability.source
auditCapabilitiesLog capabilities for a named extension at startup.source
captureImageOptimizationEngineCapture dynamic properties once so one run cannot split across mutations.source
captureRedisRuntimeProviderValidate and snapshot a provider before core invokes extension-owned code. Accessors are rejected so registration cannot execute code during capture.source
composeAbortSignalsCompose cancellation sources without depending on a mutable host AbortSignal.any implementation. The first source to abort owns the exact propagated reason, and listeners on every remaining source are detached immediately.source
detectConflictsDetect contract conflicts between resolved extensions.source
detectProjectInstallTargetReturn the client the project at projectDirectory installs with, or undefined when no manifest is readable (a hosted render, a directory without read permission, a runtime with no synchronous filesystem).source
discoverLocalExtensionsFind *.extension.ts files in the project root.source
discoverPackageExtensionsDiscover auto-activated package extensions without exposing identity internals.source
discoverProjectExtensionsDiscover project extension paths without exposing identity internals.source
formatCapabilitiesFormat capabilities as human-readable strings for logging.source
formatInstallCommandReturn the command that installs packageName with target.source
getRecommendationReturn recommendation.source
isSupportedDenoSystemReadApisource
loadExtensionFactoryDynamically import an extension factory from path and resolve it.source
mapToDenoPermissionsMap capabilities to Deno CLI permission flags.source
mergeExtensionsMerge extensions from all four sources in priority order.source
orchestrateExtensionsRun the full extension pipeline against a resolved project config.source
parseExtensionManifestParse strict JSON or the hardened JSONC subset used for Deno manifests.source
parsePackageMetadataParse veryfront extension metadata from a package.json-like object.source
resolveResolve path segments to an absolute path.source
runtimeInstallTargetReturn the client that ships with runtime.source
tryResolveTry to resolve.source
validateExtensionValidate the shape of an extension object. Returns an array of issue descriptions (empty array = valid).source

Classes

NameDescriptionSource
ExtensionLoaderImplement extension loader.source

Types

NameDescriptionSource
CapabilityDeclares a system capability an extension requires. Object-based for extensibility -- scoping fields vary by type.source
ConflictInfoInformation about a contract conflict between extensions.source
CreateSandboxShellToolsInputInput payload for create sandbox shell tools.source
DiscoveredPackageExtensionA package extension whose manifest is bound to one physical import target.source
ExtensionPublic API contract for extension.source
ExtensionActivationModeControls whether installation alone may activate an extension package.source
ExtensionConfigEntryEntry shape for extension config.source
ExtensionContextContext for extension.source
ExtensionContractMetadataPublic API contract for extension contract metadata.source
ExtensionFactoryPublic API contract for extension factory.source
ExtensionLoggerPublic API contract for extension logger.source
ExtensionSourcePublic API contract for extension source.source
ImageOptimizationEngineImage decoder, resizer, and encoder implemented by an explicit extension.source
ImageOptimizationFormatFormats core can request from an image optimization engine.source
ImageOptimizationRequestImmutable byte-oriented request supplied by core.source
ImageOptimizationResultPortable result returned by an image optimization engine.source
ImageOptimizationVariantResultOne encoded output returned by an image optimization engine.source
InstallTargetPackage client that owns a project's dependencies.source
OrchestrateOptionsOptions for orchestrateExtensions.source
PackageMetadataMetadata extracted from a package.json that declares itself as a veryfront extension.source
RedisRuntimeProviderOptional Redis runtime implementation supplied by an extension.source
ResolvedExtensionPublic API contract for resolved extension.source
SandboxShellClientPublic API contract for sandbox shell client.source
SandboxShellToolDefinitionDefinition for sandbox shell tool.source
SandboxShellToolExecutePublic API contract for sandbox shell tool execute.source
SandboxShellToolSetPublic API contract for sandbox shell tool set.source
SandboxShellToolsProviderPublic API contract for sandbox shell tools provider.source

Deep imports

These import paths group focused functionality under this module. Each is a separate barrel; import only what you need.

veryfront/extensions/auth

Auth contracts, including the required generation-owned, fail-closed React Server Action authorization provider.

TypeScript
import {  createRscActionAuthorizationProvider,  RSC_ACTION_AUTHORIZATION_MAX_ARGUMENT_ARRAY_LENGTH,  snapshotRscActionAuthorizationProvider,} from "veryfront/extensions/auth";

Components

NameDescriptionSource
RSC_ACTION_AUTHORIZATION_MAX_ARGUMENT_ARRAY_LENGTHMaximum length of any one dense argument array: 50,000.source
RSC_ACTION_AUTHORIZATION_MAX_ARGUMENT_DEPTHMaximum nested container depth in the detached authorization argument graph: 64.source
RSC_ACTION_AUTHORIZATION_MAX_ARGUMENT_NODESMaximum values in the complete detached authorization argument graph: 50,000.source
RSC_ACTION_AUTHORIZATION_MAX_ARGUMENT_PROPERTIESMaximum aggregate array elements and record properties in the argument graph: 100,000.source
RSC_ACTION_AUTHORIZATION_TERMINATION_GRACE_MSCooperative-cancellation grace: 1,000 ms before a non-settling generation is quarantined.source
RSC_ACTION_AUTHORIZATION_TIMEOUT_MSDefault deadline for one asynchronous authorization decision: 30 seconds.source
RSC_ACTION_MAX_TOP_LEVEL_ARGUMENTSMaximum top-level arguments in one Server Action request: 50.source
RscActionAuthorizationProviderNameGeneration-owned contract name registered by an application-selected authorization extension.source

Functions

NameDescriptionSource
createRscActionAuthorizationProviderCreate immutable provider registration metadata from a standalone authorizer.source
snapshotRscActionAuthorizationProviderCapture an exact { authorize } extension registration without invoking accessors or retaining mutable provider metadata.source

Types

NameDescriptionSource
AuthProviderAuthProvider contract interface.source
RscActionAuthorizationArrayImmutable dense data-only array with stable index and iteration semantics.source
RscActionAuthorizationContextDetached immutable action metadata and bounded JSON-compatible arguments.source
RscActionAuthorizationHeadersImmutable null-prototype lowercase header snapshot; it contains no request body.source
RscActionAuthorizationProviderRequired generation-owned Server Action authorization contract. An absent, malformed, retiring, failed, or non-cooperative provider returns 503 with Cache-Control: no-store; core has no allow-all fallback.source
RscActionAuthorizationRecordImmutable null-prototype data-only record; absent properties resolve to undefined.source
RscActionAuthorizationRequestImmutable, bodyless request metadata detached from the mutable request object.source
RscActionAuthorizationValueJSON-compatible, data-only value domain; numbers are always finite.source
RscActionAuthorizeDecide one Server Action invocation. true invokes the action and false returns 403. Throwing, rejecting, timing out, or returning a non-boolean fails closed with 503; the action is never loaded before authorization.source
SignOptionsOptions for signing a token.source
TokenHeaderThe parsed, unverified header of a JWT.source
TokenPayloadPayload data stored within a signed token.source
VerifyOptionsOptions for verifying a token.source

veryfront/extensions/bundler

Bundler category barrel - Bundler contract, module lexer, and resolver helper.

TypeScript
import { build, context, getBundler } from "veryfront/extensions/bundler";

Functions

NameDescriptionSource
buildConvenience wrapper: bundler.bundle(opts).source
contextCreate an incremental build context (watch/rebuild mode).source
getBundlerResolve the registered Bundler contract. Throws if no extension provides it.source
readTypeScriptDecoratorOptionsResolve the two legacy-decorator flags from a TypeScript configuration.source
stopStop the bundler. Optional - extension teardown will also call this. Provided so tests that previously called esbuild.stop() keep working.source
transformConvenience wrapper that mirrors esbuild's transform(code, options) positional signature so call-sites migrating off esbuild keep their shape.source

Types

NameDescriptionSource
BuildContextIncremental/rebuild context produced by Bundler.context.source
BuildFailureFailure thrown by Bundler.bundle or Bundler.transform.source
BuildOptionsOptions passed to Bundler.bundle.source
BuildResultResult returned from Bundler.bundle.source
BundleOptionsOptions passed to Bundler.bundle.source
BundleOutputA single output file produced by a bundle operation.source
BundlerBundler contract interface.source
BundleResultResult returned from Bundler.bundle.source
BundlerMessageA diagnostic message (error or warning) from a bundler.source
BundlerMessageLocationLocation of an error or warning in source.source
BundlerPluginA bundler plugin that hooks into the build pipeline.source
BundlerPluginBuildBuild context exposed to bundler plugins.source
ImportSpecifierA single import specifier position record, matching the shape produced by es-module-lexer.source
LoaderLoader hint for source files. Mirrors esbuild's Loader type.source
MessageA diagnostic message (error or warning) from a bundler.source
MetafileDependency-graph metadata produced by a bundler when metafile: true.source
MetafileInputInput file entry in a Metafile.source
MetafileOutputOutput file entry in a Metafile.source
ModuleLexerModule lexer contract interface.source
OnLoadArgsArguments passed to an onLoad callback.source
OnLoadResultResult returned from an onLoad callback.source
OnResolveArgsArguments passed to an onResolve callback.source
OnResolveResultResult returned from an onResolve callback.source
PluginA bundler plugin that hooks into the build pipeline.source
PluginBuildBuild context exposed to bundler plugins.source
ReadTypeScriptDecoratorOptionsInputInput for readTypeScriptDecoratorOptions.source
ResolveOptionsOptions for resolving a module from inside a bundler plugin.source
ResolveResultResult returned from an onResolve callback.source
StdinOptionsIn-memory source input for BundleOptions.stdin.source
TransformOptionsOptions passed to Bundler.transform.source
TransformResultResult returned from Bundler.transform.source
TypeScriptDecoratorOptionsCompiler flags that control legacy TypeScript decorator transformation.source

veryfront/extensions/cache

Cache category barrel - generic cache and proxy-grade token cache.

TypeScript
import type { CacheStore, TokenCacheEntry, TokenCacheStats } from "veryfront/extensions/cache";

Types

NameDescriptionSource
CacheStoreCacheStore contract interface.source
TokenCacheEntryA cache entry stored by TokenCacheStore.source
TokenCacheStatsAggregate usage statistics for a TokenCacheStore.source
TokenCacheStoreTokenCacheStore contract interface.source

veryfront/extensions/compat

Compat category barrel - optional native runtime services.

TypeScript
import type {  DocumentExtractionOptions,  DocumentExtractionProgress,  DocumentExtractionProgressEvent,} from "veryfront/extensions/compat";

Types

NameDescriptionSource
DocumentExtractionOptionssource
DocumentExtractionProgresssource
DocumentExtractionProgressEventsource
DocumentExtractorDocument extraction contract.source
KreuzbergExtractorShape returned by the kreuzberg document-extraction module.source
SqliteDatabaseMinimal interface for a SQLite database connection, compatible with better-sqlite3's Database shape as consumed by SqliteKv.source
SqliteStatementMinimal interface for a prepared SQLite statement, compatible with better-sqlite3's Statement shape.source
SqliteStoreSQLite-backed storage contract.source

veryfront/extensions/content

Content category barrel for the MDX/Markdown content processor contract.

TypeScript
import type {  CompilationMode,  CompilationTarget,  ContentCompileOptions,} from "veryfront/extensions/content";

Types

NameDescriptionSource
CompilationModeCompilation mode. Dev surfaces extra diagnostics.source
CompilationTargetWhere the output is destined: server-side RSC or browser bundle.source
ContentCompileOptionsOptions for ContentProcessor.compileMdx and ContentProcessor.compileMarkdown.source
ContentPluginOpaque unified-compatible plugin entry. Kept as an unknown-typed value or tuple so the contract surface doesn't require consumers to depend on the unified package directly. Callers cast to the plugin-list shape they need.source
ContentProcessingResultProcessing result returned by the content pipeline.source
ContentProcessorContentProcessor contract for MDX/Markdown processing.source

veryfront/extensions/contracts

Contract registry - runtime resolution of extension-provided implementations.

TypeScript
import { register, reset, resolve } from "veryfront/extensions/contracts";

Functions

NameDescriptionSource
registerRegister.source
resetReset.source
resolveResolve path segments to an absolute path.source
tryResolveTry to resolve.source
unregisterUnregister.source

veryfront/extensions/css

CSS category barrel - CSS compilation and optimization contracts.

TypeScript
import {  assertCSSOptimizationEngine,  assertCSSProcessor,  assertCSSPurgingEngine,} from "veryfront/extensions/css";

Components

NameDescriptionSource
CSSOptimizationEngineNameRegistry name used for the CSS optimization extension contract.source
CSSProcessorNameRegistry name used for the CSS compiler extension contract.source
CSSPurgingEngineNamesource
MAX_CSS_OPTIMIZATION_ENGINE_IDENTITY_CHARACTERSMaximum stable implementation identity accepted across the runtime boundary.source
MAX_CSS_PROCESSOR_DEFAULT_STYLESHEET_CHARACTERSsource
MAX_CSS_PROCESSOR_IDENTITY_CHARACTERSsource
MAX_CSS_PURGING_ENGINE_IDENTITY_CHARACTERSsource

Functions

NameDescriptionSource
assertCSSOptimizationEngineValidate an implementation received through the dynamic contract registry.source
assertCSSProcessorValidate an implementation received through the dynamic extension registry.source
assertCSSPurgingEnginesource
captureCSSCompilerCapture a compiler method once so accessors and later mutation cannot redirect a build.source
captureCSSOptimizationEngineCapture dynamic properties once so later mutation or accessors cannot change the implementation that core invokes.source
captureCSSProcessorCapture the complete processor surface once. A registry or implementation mutation can therefore affect only a subsequently acquired operation.source
captureCSSPurgingEngineCapture identity and method once so registry mutation cannot split a run.source

Types

NameDescriptionSource
CSSCompilerStateful compiler returned by CSSProcessor.compile.source
CSSOptimizationEngineParser-backed CSS optimization contract.source
CSSOptimizationRequestImmutable optimization request supplied by core.source
CSSOptimizationResultPortable output returned by a CSS optimization engine.source
CSSProcessorCSSProcessor contract interface.source
CSSPurgeContentSourcesource
CSSPurgingEnginesource
CSSPurgingRequestsource
CSSPurgingResultsource

veryfront/extensions/database

Database category barrel - DatabaseClient contract.

TypeScript
import type { DatabaseClient, QueryResult } from "veryfront/extensions/database";

Types

NameDescriptionSource
DatabaseClientDatabaseClient contract interface.source
QueryResultResult returned from DatabaseClient.query.source

veryfront/extensions/dev-ui

Contracts and protocol constants for extension-owned local development UIs.

TypeScript
import {  createDevUiAssetProvider,  getDashboardSessionCookieName,  snapshotDevUiAssetProvider,} from "veryfront/extensions/dev-ui";

Components

NameDescriptionSource
DASHBOARD_CSRF_COOKIE_NAMEStable prefix for port-scoped privileged dashboard session cookies.source
DASHBOARD_CSRF_HEADER_NAMEShared request header carrying the shell's session-bound CSRF token.source
DASHBOARD_CSRF_META_NAMEShared metadata name used to pass the CSRF token into the extension UI.source
DASHBOARD_CSRF_TOKEN_PATTERNA 32-byte token encoded as unpadded base64url.source
DASHBOARD_SESSION_PATHAsset-independent endpoint used by trusted headless development clients.source
DEV_UI_KIND_ATTRIBUTEStable shell identity consumed by the extension-owned shared bundle.source
DevUiAssetProviderNamesource
MAX_DEV_UI_BUNDLE_BYTESsource

Functions

NameDescriptionSource
createDevUiAssetProvidersource
getDashboardSessionCookieNameDerive the host cookie name for one concrete development-server listener.source
snapshotDevUiAssetProvidersource
validateDevUiBundlesource

Types

NameDescriptionSource
DevUiAssetProviderOne self-contained browser bundle mounts dashboard or projects by shell identity.source
DevUiKindsource

veryfront/extensions/dev-ui/protocol

Stable prefix for port-scoped privileged dashboard session cookies.

TypeScript
import {  DASHBOARD_CSRF_COOKIE_NAME,  DASHBOARD_CSRF_HEADER_NAME,  getDashboardSessionCookieName,} from "veryfront/extensions/dev-ui/protocol";

Components

NameDescriptionSource
DASHBOARD_CSRF_COOKIE_NAMEStable prefix for port-scoped privileged dashboard session cookies.source
DASHBOARD_CSRF_HEADER_NAMEShared request header carrying the shell's session-bound CSRF token.source
DASHBOARD_CSRF_META_NAMEShared metadata name used to pass the CSRF token into the extension UI.source
DASHBOARD_CSRF_TOKEN_PATTERNA 32-byte token encoded as unpadded base64url.source
DASHBOARD_SESSION_PATHAsset-independent endpoint used by trusted headless development clients.source
DEV_UI_KIND_ATTRIBUTEStable shell identity consumed by the extension-owned shared bundle.source

Functions

NameDescriptionSource
getDashboardSessionCookieNameDerive the host cookie name for one concrete development-server listener.source

Types

NameDescriptionSource
DevUiKindsource

veryfront/extensions/distributed

Provider-neutral contracts for optional distributed runtime infrastructure.

TypeScript
import {  captureRedisRuntimeProvider,  RedisRuntimeProviderName,} from "veryfront/extensions/distributed";

Components

NameDescriptionSource
RedisRuntimeProviderNameRegistry name used by the Redis runtime extension.source

Functions

NameDescriptionSource
captureRedisRuntimeProviderValidate and snapshot a provider before core invokes extension-owned code. Accessors are rejected so registration cannot execute code during capture.source

Types

NameDescriptionSource
NodeRedisClientStructural node-redis client surface used by the platform adapter.source
NodeRedisModuleStructural module surface used by the platform Redis adapter.source
RedisClientStructural client surface used by core cache features.source
RedisClientHandleIndependently owned Redis connection returned to a core feature.source
RedisClientOptionsConnection options accepted by the stable core Redis client facade.source
RedisEventPublisherConfigRedis Pub/Sub publisher configuration.source
RedisEventPublisherImplementationRedis-backed event publisher/subscriber implementation.source
RedisRuntimeProviderOptional Redis runtime implementation supplied by an extension.source

veryfront/extensions/distributed/agent-memory-support

Provider-neutral agent-memory contracts shared with memory extensions.

TypeScript
import { estimateTokens } from "veryfront/extensions/distributed/agent-memory-support";

Functions

NameDescriptionSource
estimateTokenssource

Types

NameDescriptionSource
MemoryPublic API contract for memory.source
MemoryConfigBaseMemory retention settings shared by agent memory backends.source
MemoryStatsPublic API contract for memory stats.source
MinimalMessagesource

veryfront/extensions/distributed/cache-support

Provider-neutral cache helpers shared with distributed store extensions.

TypeScript
import {  assertCacheBatchSize,  assertCacheReadMaximumBytes,  assertCacheValueWithinLimit,} from "veryfront/extensions/distributed/cache-support";

Components

NameDescriptionSource
DEFAULT_CACHE_TTL_SECONDSShared default used when a CacheBackend caller omits a TTL.source
MAX_CACHE_REVISION_LENGTHMaximum number of code units in a cache revision identifier.source
MAX_REVISIONED_CACHE_SOURCE_KEY_LENGTHMaximum source-key length before the reserved namespace is added.source
REVISIONED_CACHE_KEY_PREFIXReserved logical-key namespace for revisioned Veryfront cache entries.source

Functions

NameDescriptionSource
assertCacheBatchSizeEnforce the cache subsystem's shared per-operation batch bound.source
assertCacheReadMaximumBytesValidate one caller-supplied cache payload byte ceiling.source
assertCacheValueWithinLimitVerify a string payload without allocating an encoded copy.source
buildBatchResultsBuild a Map of batch results by resolving each key in order.source
buildRevisionedCacheKeyAdd the reserved versioned namespace to one valid source key.source
escapeCacheGlobLiteralEscape the wildcard syntax shared by cache backend pattern operations.source
expiresImmediatelysource
isRevisionedCacheBackendTest whether a backend exposes the complete atomic revision capability.source
isRevisionedCacheKeyTest whether a key belongs to the valid revisioned-key builder image.source
parseSerializedCachePayloadReject oversized or malformed JSON before constructing an untrusted object graph.source
registerOwnedDistributedCacheKeyPrefixRegister an opaque namespace without making it eligible for project invalidation.source
registerRenderDistributedCacheNamespaceRegister a namespace containing render-cache keys.source
requireCacheExchangeResultValidate a provider-returned compare-exchange result.source
requirePositiveIntegerCacheTtlSecondsValidate a constructor-level TTL for whole-second cache protocols.source
resolveIntegerCacheTtlSecondsResolve a TTL for protocols that accept only whole seconds. Positive fractions round up so integer conversion never expires an entry earlier than requested; non-positive values retain their immediate-expiry meaning.source
serializeCachePayloadSerialize using the origin-compatible payload shape.source
snapshotCacheRevisionResultValidate and detach a provider-returned revision snapshot.source
stripOwnedDistributedCacheKeyPrefixsource
validateDistributedCacheKeyPrefixsource

Classes

NameDescriptionSource
CacheValueTooLargeErrorDeterministic overflow from an exact bounded cache read.source

Types

NameDescriptionSource
CacheBackendProvides storage operations for memory, disk, API, and extension-backed distributed caches. All cache backends must implement this interface.source
CachePayloadsource
CacheReadOptionsOptions for a single logical backend read.source
CacheRevisionMutationAtomic mutation applied when an expected cache revision still matches.source
CacheRevisionSnapshotSerialized logical value and the revision that observed it.source
CacheStoreStatssource
DistributedCacheAdministrationNarrow administrative surface used by cache diagnostics and invalidation.source
DistributedCacheKeyListingImmutable bounded cache listing with explicit completeness.source
DistributedCacheListOptionsBounded provider-neutral cache listing request.source
RenderCacheStoresource
ResolvedCacheAuthorityThe credential and project reference a cache backend read is made under.source
RevisionedCacheBackendCache backend with the complete atomic revision capability.source

veryfront/extensions/distributed/rate-limit-support

Provider-neutral rate-limit helpers shared with store extensions.

TypeScript
import {  requireRateLimitKey,  requireRateLimitWindowMs,  unrefTimer,} from "veryfront/extensions/distributed/rate-limit-support";

Components

NameDescriptionSource
MAX_RATE_LIMIT_KEY_LENGTHMaximum UTF-16 code units accepted by a rate-limit key.source
MAX_TIMER_DELAY_MSLargest delay supported consistently by JavaScript timer implementations.source
REDIS_RATE_LIMIT_INCREMENT_WITH_TTL_SCRIPTAtomic Redis script that increments a counter and assigns its TTL.source

Functions

NameDescriptionSource
requireRateLimitKeysource
requireRateLimitWindowMssource
unrefTimerUnreference a timer to prevent it from keeping the process alivesource

Types

NameDescriptionSource
RateLimitEntrysource
RateLimitStorePublic API contract for rate limit store.source

veryfront/extensions/distributed/routing-invalidation-support

Provider-neutral routing-invalidation primitives shared with extensions.

TypeScript
import {  createRoutingRedisClient,  hasProjectIdentityControlCharacters,  isCanonicalOpaqueProjectIdentifier,} from "veryfront/extensions/distributed/routing-invalidation-support";

Functions

NameDescriptionSource
createRoutingRedisClientKeep one bounded routing transport owner and refuse offline work.source
hasProjectIdentityControlCharactersWhether a string contains a Unicode Cc control code point.source
isCanonicalOpaqueProjectIdentifierWhether a value is a bounded, exact opaque identifier.source
parseProxyRoutingInvalidationEventsource

Types

NameDescriptionSource
ProxyRoutingInvalidationEventsource
ProxyRoutingInvalidationPublishersource
ProxyRoutingInvalidationPublishResultsource

veryfront/extensions/eval

Eval category barrel: eval report exporter contracts.

TypeScript
import {  createEvalReportExporterRegistry,  EvalReportExporterRegistryName,  redactEvalReportForExport,} from "veryfront/extensions/eval";

Components

NameDescriptionSource
EvalReportExporterRegistryNameContract name used for resolve() / provide().source
EvalReportRedactedValueSentinel used when record payload fields are removed for external export.source

Functions

NameDescriptionSource
createEvalReportExporterRegistryCreate an eval report exporter registry.source
redactEvalReportForExportCreate an eval report copy with external-export redaction applied.source

Types

NameDescriptionSource
EvalReportExportContextContext passed to eval report exporters.source
EvalReportExporterVendor or backend implementation that receives sanitized eval reports.source
EvalReportExporterRegistryRegistry contract. Single impl created at bootstrap.source
EvalReportExportFailureFailed exporter result. Failures are captured so later exporters still run.source
EvalReportExportReceiptOptional receipt returned by a vendor exporter.source
EvalReportExportRedactionRedaction policy applied before reports leave the process.source
EvalReportExportResultResult for one exporter invocation.source
EvalReportExportSuccessSuccessful exporter result.source
EvalReportExportTraceContextTrace correlation fields that connect eval exports to runtime spans.source

veryfront/extensions/first-party-import

Resolve first-party extension implementations without making the root npm package statically depend on every extension dependency. Source and compiled-binary builds can load the workspace extension sources. npm builds should load the separate @veryfront/ext-* packages installed by the consuming service or app.

TypeScript
import {  firstPartyExtensionSourceSpecifiers,  importFirstPartyExtensionModule,  isMissingFirstPartyExtensionModule,} from "veryfront/extensions/first-party-import";

Functions

NameDescriptionSource
firstPartyExtensionSourceSpecifierssource
importFirstPartyExtensionModulesource
isMissingFirstPartyExtensionModuleClassify a dynamic-import failure as "the extension module itself is not installed" as opposed to a real load failure inside an installed extension.source

Types

NameDescriptionSource
FirstPartyExtensionImportOptionsOptional non-root entry point for a first-party extension import.source

veryfront/extensions/image

Image extension contracts.

TypeScript
import {  assertImageOptimizationEngine,  captureImageOptimizationEngine,  ImageOptimizationEngineName,} from "veryfront/extensions/image";

Components

NameDescriptionSource
ImageOptimizationEngineNameRegistry name used for the image optimization extension contract.source
MAX_IMAGE_OPTIMIZATION_ENGINE_IDENTITY_CHARACTERSMaximum stable implementation identity accepted across the boundary.source

Functions

NameDescriptionSource
assertImageOptimizationEngineValidate an implementation received through the dynamic contract registry.source
captureImageOptimizationEngineCapture dynamic properties once so one run cannot split across mutations.source

Types

NameDescriptionSource
ImageOptimizationEngineImage decoder, resizer, and encoder implemented by an explicit extension.source
ImageOptimizationFormatFormats core can request from an image optimization engine.source
ImageOptimizationRequestImmutable byte-oriented request supplied by core.source
ImageOptimizationResultPortable result returned by an image optimization engine.source
ImageOptimizationVariantResultOne encoded output returned by an image optimization engine.source

veryfront/extensions/llm

LLM category barrel - provider, embedding, and registry contracts. Interfaces re-exported with export type { ... } because Deno --no-check transpiles each file in isolation and would otherwise emit a runtime value re-export that fails ESM resolution. Reserve plain export { ... } for runtime values.

TypeScript
import { createLLMProviderRegistry, LLMProviderRegistryName } from "veryfront/extensions/llm";

Components

NameDescriptionSource
LLMProviderRegistryNameContract name used for resolve() / provide().source

Functions

NameDescriptionSource
createLLMProviderRegistryCreate llmprovider registry.source

Types

NameDescriptionSource
EmbeddingOptionsOptions passed to EmbeddingProvider.embed.source
EmbeddingProviderEmbeddingProvider contract interface.source
EmbeddingResultResult returned from EmbeddingProvider.embed.source
LLMProviderAn LLM provider implementation. Extensions register one of these with the LLMProviderRegistry during setup(). createModel is required; createEmbedding and createResponses are optional and absent on providers that don't support them.source
LLMProviderConfigConfig passed to any provider's create* method.source
LLMProviderRegistryRegistry contract. Single impl created at bootstrap.source

veryfront/extensions/observability

Observability category barrel: tracing and Node telemetry contracts.

TypeScript
import {  ApplicationErrorReporterInitializerName,  NodeTelemetryProviderName,} from "veryfront/extensions/observability";

Components

NameDescriptionSource
ApplicationErrorReporterInitializerNameContract name used when an application composes a reporter through extensions.source
NodeTelemetryProviderNameContract interface for Node.js OpenTelemetry runtime bootstrap.source

Types

NameDescriptionSource
ApplicationErrorContextSanitized context attached when a runtime reports an application error.source
ApplicationErrorReporterProvider-neutral application error capture and flush interface.source
ApplicationErrorReporterInitializationContextRuntime context passed to an explicitly selected reporter initializer.source
ApplicationErrorReporterInitializerApplication-composition contract for an error-reporting implementation.source
ApplicationErrorReporterSessionReporter and cleanup ownership returned by an application-selected initializer.source
NodeTelemetryInitializeOptionsOptions accepted by node telemetry initialize.source
NodeTelemetryInstrumentationConfigConfiguration used by node telemetry instrumentation.source
NodeTelemetryLoggerPublic API contract for node telemetry logger.source
NodeTelemetryLogRecordStructured log record shape accepted by the telemetry provider.source
NodeTelemetryLogRecordEmitterEmits a structured logger record into the active telemetry pipeline.source
NodeTelemetryProcessTargetPublic API contract for node telemetry process target.source
NodeTelemetryProviderInitializes Node-specific OpenTelemetry SDK behavior.source
ProjectTraceProviderProject-owned SDK instance. It must not replace process-global telemetry.source
ProjectTraceProviderOptionsOptions passed by Veryfront when an extension creates a project trace provider.source
SpanDataData describing a single trace span.source
TracerProviderMinimal TracerProvider interface for the contract. Structurally compatible with both the core shim and the real OTel SDK.source
TracingExporterTracingExporter contract interface.source

veryfront/extensions/parser

Parser category barrel: CodeParser (AST traversal), SkillDocumentParser (Skill frontmatter decoding), and YamlParser (general YAML decoding) contracts.

TypeScript
import {  createSkillDocumentParserProvider,  createYamlParserProvider,  snapshotSkillDocumentParserProvider,} from "veryfront/extensions/parser";

Components

NameDescriptionSource
SkillDocumentParserProviderNameStable runtime identifier for the Skill document parser contract.source
YamlParserProviderNameStable runtime identifier for the general YAML parser contract.source

Functions

NameDescriptionSource
createSkillDocumentParserProviderCreate immutable provider registration metadata from a standalone parser.source
createYamlParserProviderCreate immutable provider registration metadata from a standalone parser.source
snapshotSkillDocumentParserProviderCapture one immutable provider generation without retaining its mutable registration object or invoking extension-owned accessors or Proxy traps.source
snapshotYamlParserProviderCapture one immutable provider generation.source

Types

NameDescriptionSource
ASTNodeA single node in an abstract syntax tree.source
CodeParserPublic API contract for code parser.source
FunctionDirectiveOptionsOptions for a parser-owned function directive check.source
GenerateOptionsOptions passed to CodeParser.generate.source
GenerateResultResult returned from CodeParser.generate.source
InjectJsxNodePositionsOptionsOptions for CodeParser.injectJsxNodePositions.source
NodePathWrapper providing traversal context for a visited node.source
ParseOptionsOptions passed to CodeParser.parse.source
SkillDocumentParserProviderDependency-free contract implemented by Skill YAML parser extensions.source
TraverseVisitorVisitor callbacks keyed by node type.source
YamlParseOptionsDecoding options, named after the @std/yaml options the framework's call sites already pass so that repointing a call site is a specifier change.source
YamlParserProviderDependency-free contract implemented by YAML parser extensions.source

veryfront/extensions/rendering

Contracts for extension-owned rendering implementations.

TypeScript
import {  createIsolatedSsrRendererProvider,  snapshotIsolatedSsrRendererProvider,  validateIsolatedSsrRendererModuleUrl,} from "veryfront/extensions/rendering";

Components

NameDescriptionSource
IsolatedSsrRendererProviderNamesource
MAX_ISOLATED_SSR_RENDERER_READ_ROOTSsource
MAX_ISOLATED_SSR_RENDERER_URL_CHARACTERSsource

Functions

NameDescriptionSource
createIsolatedSsrRendererProviderCreate immutable registration metadata for an extension factory.source
snapshotIsolatedSsrRendererProviderSnapshot an extension-owned provider without invoking accessors or retaining mutable provider metadata.source
validateIsolatedSsrRendererModuleUrlValidate one worker renderer module URL without resolving or importing it.source

Types

NameDescriptionSource
IsolatedSsrRenderersource
IsolatedSsrRendererModulesource
IsolatedSsrRendererProvidersource

veryfront/extensions/sandbox

Sandbox category barrel.

TypeScript
import { SandboxShellToolsProviderName } from "veryfront/extensions/sandbox";

Components

NameDescriptionSource
SandboxShellToolsProviderNameRender sandbox shell tools provider name.source

Types

NameDescriptionSource
CreateSandboxShellToolsInputInput payload for create sandbox shell tools.source
SandboxShellClientPublic API contract for sandbox shell client.source
SandboxShellToolDefinitionDefinition for sandbox shell tool.source
SandboxShellToolExecutePublic API contract for sandbox shell tool execute.source
SandboxShellToolSetPublic API contract for sandbox shell tool set.source
SandboxShellToolsProviderPublic API contract for sandbox shell tools provider.source

veryfront/extensions/schema

Schema category barrel - SchemaValidator contract and inference helpers.

TypeScript
import type { InferInput, InferSchema, InferShape } from "veryfront/extensions/schema";

Types

NameDescriptionSource
InferInputExtracts the inferred input type from a Schema<T>.source
InferSchemaExtracts the inferred output type T from a Schema<T>.source
InferShapeMaps a raw object shape to its inferred object type, preserving optionality.source
JsonSchemasource
JsonSchemaCompilationOptionsBounded instance budgets for one compiled JSON Schema validator.source
JsonSchemaValidationFailureFailed validation of an input against a compiled JSON Schema.source
JsonSchemaValidationFunctionCompiled, reusable JSON Schema validation function.source
JsonSchemaValidationIssueStable validation issue copied from a JSON Schema validator result.source
JsonSchemaValidationResultResult returned by a compiled JSON Schema validator.source
JsonSchemaValidationSuccessSuccessful validation of an input against a compiled JSON Schema.source
RefinementCtxContext passed to a superRefine callback. Provides addIssue to emit one or more validation issues and path to locate the current value.source
SchemaAn opaque schema definition that validates and infers type T.source
SchemaFactoryFactory type accepted by defineSchema.source
SchemaValidatorSchemaValidator contract interface.source
SchemaValidatorCoerceNamespace for coerce.* constructors - accepts input in any form and coerces to the target type before validation.source
ValidationFailureFailed validation outcome.source
ValidationIssueA single validation issue with location context.source
ValidationResultDiscriminated union of validation outcomes.source
ValidationSuccessSuccessful validation outcome.source

veryfront/extensions/types

Core types for the veryfront extension system.

TypeScript
import type { Capability, Extension, ExtensionConfigEntry } from "veryfront/extensions/types";

Types

NameDescriptionSource
CapabilityDeclares a system capability an extension requires. Object-based for extensibility -- scoping fields vary by type.source
ExtensionPublic API contract for extension.source
ExtensionConfigEntryEntry shape for extension config.source
ExtensionContextContext for extension.source
ExtensionContractMetadataPublic API contract for extension contract metadata.source
ExtensionFactoryPublic API contract for extension factory.source
ExtensionLoggerPublic API contract for extension logger.source
ExtensionSourcePublic API contract for extension source.source
PackageContractMetadatasource
ResolvedExtensionPublic API contract for resolved extension.source

veryfront/extensions/websocket

Contracts for extension-owned Node.js WebSocket implementations.

TypeScript
import {  captureNodeWebSocketServer,  createNodeWebSocketServerProvider,  snapshotNodeWebSocketServerProvider,} from "veryfront/extensions/websocket";

Components

NameDescriptionSource
NODE_WEBSOCKET_SERVER_PROVIDER_MISSING_MESSAGEsource
NODE_WEBSOCKET_SERVER_PROVIDER_PACKAGEsource
NodeWebSocketServerProviderNamesource

Functions

NameDescriptionSource
captureNodeWebSocketServerCapture one server instance without retaining mutable method lookups. The underlying implementation remains the receiver because protocol engines legitimately keep mutable transport state on their instance.source
createNodeWebSocketServerProviderCreate immutable registration metadata from a standalone factory.source
snapshotNodeWebSocketServerProviderCapture a provider generation without retaining its mutable registration object or invoking extension-owned accessors.source

Types

NameDescriptionSource
NodeWebSocketConnectionMinimal connection surface consumed by core's runtime-neutral adapter.source
NodeWebSocketMessageDatasource
NodeWebSocketServerMinimal server surface used by upgrade and shutdown ownership.source
NodeWebSocketServerOptionsExact no-server options supplied by core for an existing HTTP listener.source
NodeWebSocketServerProvidersource