@nhtio/adk/batteries/dev-tools
Typed development-editing pipeline contracts and factory.
Interfaces
| Interface | Description |
|---|---|
| CheckCapability | A checker capability declaration. |
| CheckRequest | Request passed to a checker. |
| DevCandidate | A candidate exposed to selection middleware. |
| DevCapabilityProbe | A synchronous declaration-only capability probe. |
| DevChain | Chainable development plan builder. |
| DevEngine | A self-declaring development engine. |
| DevFileAccess | Narrow filesystem façade granted to in-place capabilities. |
| DevGateCall | Description of the step presented to a gate. |
| DevGateContext | Context supplied to a development-tools gate. |
| DevPipeline | Development pipeline callable and its front ends. |
| DevPlan | Development plan. |
| DevResult | The composite result of a development-tools execution. |
| DevSelectionContext | Selection middleware context. |
| DevStep | Development plan step. |
| DevStepContext | Step middleware context. |
| DevWorkspace | Mutable workspace state passed to step middleware. |
| DevWorkspaceToken | Opaque provenance token for one workspace value. Tokens are runtime-minted and unique per execution and persistence point, so a short-circuit cannot restore a stale or foreign workspace. |
| Diagnostic | A diagnostic returned by the pipeline. |
| FileChangeSummary | A summary row for one final workspace change. |
| FormatCapability | A formatter capability declaration. |
| FormatRequest | Request passed to a formatter. |
| LintCapability | A linter capability declaration. |
| LintRequest | Request passed to a linter. |
| RawDiagnostic | A diagnostic returned by an engine before runtime provenance is added. |
| RunOptions | Execution options. |
| WorkspaceBounds | Workspace resource limits. |
| WorkspaceDelta | The common result of every engine capability. |
Type Aliases
| Type Alias | Description |
|---|---|
| DevGateFn | Gate callback used by the pipeline. |
| DevGateVerdict | Gate verdict; omission or approval permits the step. |
| DevOp | Operation-shaped plan input. |
| DevSelectionMiddlewareFn | Selection middleware callback. |
| DevStepMiddlewareFn | Step middleware callback. |
| Severity | Diagnostic severity, ordered from most to least serious. |
Variables
| Variable | Description |
|---|---|
| E_DEV_BAD_ARG | Invalid development-step argument. |
| E_DEV_ENGINE_REQUIRED | A requested engine capability is not configured. |
| E_DEV_GATE_DECLINED | A gate declined a step. |
| E_DEV_STEP_FAILED | A development step failed during execution or validation. |
| E_DEV_STEP_UNAVAILABLE | A step implementation is not available. |
| E_DEV_UNKNOWN_STEP | Unknown development step. |
| E_DEV_WORKSPACE_BOUNDS | Workspace bounds were exceeded. |
| E_INVALID_DEV_PIPELINE_CONFIG | Fatal configuration error for a development-tools pipeline. |
Functions
| Function | Description |
|---|---|
| createDevPipeline | Construct a development-editing pipeline. |