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
19 lines (18 loc) • 714 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/.
/**
* `usage` config section: how akm treats its own local data. Read before the
* config load, from the file itself (see `./peek.ts`).
*/
import { z } from "zod";
/**
* `usage.capture`: record local-only CLI usage counts in `metrics.db`. Default `true`.
* `usage.report`: send the daily usage report (docs/reference/data-and-telemetry.md). Default `true`.
*/
export const UsageConfigSchema = z
.object({
capture: z.boolean().optional(),
report: z.boolean().optional(),
})
.passthrough();