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) • 983 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/.
export const ENGINE_NAME_PATTERN_SOURCE = "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
export const BUILTIN_IMPROVE_STRATEGY_NAMES = [
"default",
"quick",
"thorough",
"consolidate",
"catchup",
"reflect-distill",
"proactive-maintenance",
];
/**
* The improve processes that use an engine. Triage's engine is its judgment's;
* each of the others makes the process's own model calls.
*/
export const IMPROVE_ENGINE_PROCESSES = [
"reflect",
"distill",
"consolidate",
"memoryInference",
"extract",
"validation",
"triage",
];
/** Every improve process, in plan order: the engine processes and `proactiveMaintenance`, which uses none. */
export const IMPROVE_PROCESS_NAMES = [...IMPROVE_ENGINE_PROCESSES, "proactiveMaintenance"];