Skip to main content
Type contracts exported by this package: interfaces, type aliases, and enums.

TaskRecord

Task object as stored in task data.

MinimalTaskRecord

Minimal task representation for find results.

GatewayMetaRecord

GatewayMeta with an index signature for DomainResponse._meta compatibility. All domain handlers receive this from createGatewayMeta(). T4655

ShimOption

Parsed option definition.

ShimArg

Positional argument definition.

CommanderCompatOption

Commander-compatible option view for tests.

ActionHandler

Type for the action handler function - flexible to support various signatures

LafsShapeViolation

The minimum shape invariants for a LAFS envelope, compatible with both minimal ({ok, r, _m}) and full ({success, result, _meta}) formats.

CliOutputOptions

CliErrorDetails

Error details for structured error output.

Gateway

CQRS gateway: read-only queries vs state-modifying mutations.

Source

Where the request originated.

Tier

Progressive disclosure tier. 0 = tasks + session (80% of agents) 1 = + memory + check (15% of agents) 2 = + pipeline + orchestrate + tools + admin + nexus (5%)

ParamType

The concrete value types a parameter can carry at runtime. Drives JSON Schema type and Commander argument/option parsing.

ParamCliDef

CLI-specific decoration for a parameter. All fields are optional — omit the entire cli key for params with no CLI surface.

ParamDef

A fully-described parameter definition. One ParamDef entry drives Commander: .argument() (positional) or .option() (flag).

CanonicalDomain

DispatchRequest

Canonical request shape that the CLI adapter produces. The dispatcher validates this against the OperationRegistry before passing it through the middleware pipeline and into a DomainHandler.

RateLimitMeta

Rate limit metadata attached to every response.

DispatchError

Structured error shape (LAFS-compatible).

DispatchResponse

Canonical response shape returned by the dispatcher. The CLI adapter translates this into cliOutput() / cliError() + process.exit().

DomainHandler

Contract for domain handlers. Each of the 9 target domains (tasks, session, memory, check, pipeline, orchestrate, tools, admin, nexus) implements this interface.

DispatchNext

Async function that produces a DispatchResponse.

Middleware

Middleware function signature. Receives the request and a next continuation. Can short-circuit by returning early (e.g., rate-limit exceeded) or modify the request/response.

OperationDef

Definition of a single dispatchable operation.

Resolution

Resolution output for a dispatch request.

DispatcherConfig

ProviderMatrixEntry

Coverage summary for a single provider in the hook matrix.

HookMatrixResult

Full hook matrix result.

RuntimeData

DashboardData

Dashboard data shape returned by systemDash.

StatsData

Project statistics data shape returned by systemStats.

LogQueryData

Paginated operation log query result.

ContextData

Context window monitoring data.

SequenceData

Task ID sequence state.

RoadmapData

Project roadmap data with upcoming epics and release history.

ComplianceData

Compliance monitoring data.

HelpData

Help topic content and related commands.

SyncData

PathsData

Summary of all resolved CleoOS paths (project + global hub).

ScaffoldHubData

Result of scaffolding the CleoOS Hub.

SmokeProbe

Result for a single domain smoke probe.

SmokeResult

Aggregate smoke test result.

EngineResult

Engine result shape accepted by wrapResult. Matches the union of what all engine functions return.

JobStatus

Background job status

BackgroundJob

Background job representation

BackgroundJobManagerConfig

Configuration for BackgroundJobManager

SessionContext

Immutable snapshot of the bound session context.

RateLimitConfig

Per-category rate limit thresholds.

RateLimitingConfig

Full rate limiting configuration across all categories.

LifecycleEnforcementConfig

Lifecycle enforcement configuration (Section 12.2)

ProtocolValidationConfig

Protocol validation configuration (Section 12.3)

DispatchConfig

MCPConfig

Alias for DispatchConfig.

ProgressOptions

MviTier

Disclosure tier level for MVI (Minimum Viable Information) filtering.

ProjectionConfig

Configuration for a single MVI projection tier.

ProjectionContext