UNPKG

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

29 lines (28 loc) • 1.58 kB
// 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/. /** * The prepare seam's document vocabulary. * * `src` does not accept task v3 source — the v3 grammar (`parseTaskV3Yaml`, * `parseTaskV3Document`, `classifyTaskV3Uses`, and the GitHub Action locator * grammar) survives only vendored, frozen, in * `scripts/akm-migrate/migrate/task-source-v3-frozen.ts` — the ONE place * left that reads a v3 document, reachable only through `akm migrate apply` * / `akm-migrate`. * * This file's surviving purpose is the `TaskV3*` type family * `src/tasks/prepare/prepare.ts` (`prepareTaskV3Execution`) and its * supporting modules still take as their input shape — * `PreparableTaskDocument` (`src/tasks/prepare/prepared-execution.ts`) is a * name for `TaskV3SourceDocument` that is not version-bound. The type * family keeps its `TaskV3*` name; only task source v4 reaches this shape * now — `src/tasks/source/project-v4.ts`'s `projectTaskSourceV4()` is the only * producer. * */ import { TASK_V3_MAX_SCHEDULES } from "../core/asset/bounded-task-document.js"; // Re-exported at its existing name so no importer changes: the one name a // surviving `src` consumer still imports (task-source-v4.ts). export { TASK_V3_MAX_SCHEDULES }; /** Closed authoring vocabulary. Arbitrary GitHub `{0}` shell templates are not accepted. */ export const TASK_V3_HOST_SHELLS = ["bash", "sh", "zsh", "pwsh", "powershell", "cmd"];