akm-cli
Version:
akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cur
30 lines (29 loc) • 1.53 kB
JavaScript
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
/**
* Shared type surface + constants for the `akm health` command modules.
* These interfaces are consumed across health/{improve-metrics,task-runs,
* windows,llm-usage,metrics,advisories}.ts, the report renderers, and the
* check registry.
*
* Chunk-9 WI-9.5d: this used to be one 690-line type dump. It is now a
* re-export barrel over cohesive per-domain modules (pure type move — zero
* runtime change, every existing `from "./types.js"` / `from "../health/types.js"`
* import site keeps working unchanged):
* - `./types-checks` — {@link HealthCheckResult}.
* - `./types-metrics` — {@link HealthMetrics} + the LLM usage aggregates.
* - `./types-improve` — the {@link ImproveHealthMetrics} accumulator and its
* WS-5 sub-rollups (coverage, perf telemetry, degradation, enrichment
* minting).
* - `./types-runs` — {@link ImproveRunSummary} (`--group-by run`).
* - `./types-windows` — {@link WindowSpec}/{@link WindowResult}/{@link DeltaEntry}
* (`--window-compare`/`--windows`).
* - `./types-result` — {@link AkmHealthResult}, the `akmHealth()` return type.
*/
export * from "./types-checks.js";
export * from "./types-improve.js";
export * from "./types-metrics.js";
export * from "./types-result.js";
export * from "./types-runs.js";
export * from "./types-windows.js";