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
18 lines (17 loc) • 940 B
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/.
// Output shape registration for `akm log` (#204).
//
// R-060: renamed from `events-list` (the command group used to be `akm
// events`) to `log-list`, matching the current `akm log` command name
// (src/commands/observability-cli.ts). This string is an internal registry
// key only — `shapeEventsOutput` builds its own envelope and never stamps a
// `shape` field on the wire, so the rename does not require a schemaVersion
// bump.
//
// 0.9.0 CLI overhaul (S3): `log tail` (and its `log-tail` shape entry) was
// dropped along with the command.
import { shapeEventsOutput } from "./helpers.js";
const handler = (result, detail) => shapeEventsOutput(result, detail);
export const eventsShapes = [{ command: "log-list", handler }];